@bentoproject/dailymotion
Advanced tools
Comparing version 1.2202031816.0 to 1.2202042210.0
@@ -1,2 +0,2 @@ | ||
var n=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,i=function(n){return t(n,"__esModule",{value:!0})},a=function(a){return function(n,o,i){if(o&&"object"==typeof o||"function"==typeof o)for(var a,l=e(o),c=0,f=l.length;c<f;c++)a=l[c],u.call(n,a)||"default"===a||t(n,a,{get:function(n){return o[n]}.bind(null,a),enumerable:!(i=r(o,a))||i.enumerable});return n}(i(t(null!=a?n(o(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function l(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function c(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.push.apply(r,e)}return r}function f(n){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){l(n,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))}))}return n}function s(n,t){if(null==n)return{};var r,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)r=u[e],t.indexOf(r)>=0||(o[r]=n[r]);return o}!function(n,r){for(var e in i(n),r)t(n,e,{get:r[e],enumerable:!0})}(exports,{BentoDailymotion:function(){return Cn},BentoDailymotionWithRef:function(){return Sn}});var v=Array.isArray;function d(n){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(n,t):void 0}}function m(n,t){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(r)return(r=r.call(n)).next.bind(r);if(Array.isArray(n)||(r=y(n))||t&&n&&"number"==typeof n.length){r&&(n=r);var e=0;return function(){return e>=n.length?{done:!0}:{done:!1,value:n[e++]}}}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 b=Object.prototype;function g(n){var t=Object.create(null);return n&&Object.assign(t,n),t}b.hasOwnProperty,b.toString;var w={bubbles:!0,cancelable:!0};function h(n,t,r,e){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=e||w,a=i.bubbles,l=i.cancelable;u.initEvent(t,a,l),n.dispatchEvent(u)}var j=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function O(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}a(require("preact"));var S=a(require("preact")),C=a(require("preact/hooks"));function I(n){return n.children}var k,E=a(require("preact")),P=["ref"],R="undefined"!=typeof Symbol&&(null===(k=Symbol.for)||void 0===k?void 0:k.call(Symbol,"react.forward_ref"))||3911,A=E.options.__b;function M(n){function t(t){var r=t.ref,e=s(t,P);return n(e,r)}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=!0,t.v=!0,t}E.options.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==A||A(n)};var N,z=function(){var n=this;this.promise=new Promise((function(t,r){n.resolve=t,n.reject=r}))};function q(n){return new Promise((function(t){t(n())}))}function x(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,o,u=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(e=r.next()).done)&&(u.push(e.value),!t||u.length!==t);i=!0);}catch(n){a=!0,o=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return u}}(n,t)||y(n,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 T(n){var t=function(n,t){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var e=r.call(n,"string");if("object"!==d(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(t)?t:String(t)}var U,L=["auto","lazy","eager","unload"],F=(l(N={},"auto",0),l(N,"lazy",1),l(N,"eager",2),l(N,"unload",3),N);function _(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var r=n.message,e=n.stack,o=new Error(r);for(var u in n)o[u]=n[u];return o.stack=e,o}function B(n){for(var t,r=null,e="",o=m(arguments,!0);!(t=o()).done;){var u=t.value;u instanceof Error&&!r?r=_(u):(e&&(e+=" "),e+=u)}return r?e&&(r.message=e+": "+r.message):r=new Error(e),r}function D(n){var t,r;null===(t=(r=self).__AMP_REPORT_ERROR)||void 0===t||t.call(r,n)}function V(n){var t=B.apply(null,arguments);return t.expected=!0,t}var W,J=["Webkit","webkit","Moz","moz","ms","O","o"];function Y(n,t,r,e,o){var u=function(n,t,r){if($(t))return t;U||(U=g());var e=U[t];if(!e||r){if(e=t,void 0===n[t]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),u=function(n,t){for(var r=0;r<J.length;r++){var e=J[r]+t;if(void 0!==n[e])return e}return""}(n,o);void 0!==n[u]&&(e=u)}r||(U[t]=e)}return e}(n.style,t,o);if(u){var i=e?r+e:r;$(u)?n.style.setProperty(u,i):n.style[u]=i}}function $(n){return n.startsWith("--")}function H(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,r=n.document.createElement("video");return r.setAttribute("muted",""),r.setAttribute("playsinline",""),r.setAttribute("webkit-playsinline",""),r.setAttribute("height","0"),r.setAttribute("width","0"),r.muted=!0,r.playsInline=!0,r.playsinline=!0,r.webkitPlaysinline=!0,function(n,t){for(var r in t)Y(n,r,t[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=r,q((function(){return t.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}function Z(){var n=W||(W=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,C.useContext)(n)}var G=[null,"paint","layout","content","size","size paint","size layout","strict"],K={"position":"relative","width":"100%","height":"100%"},Q=M((function(n,t){var r="class",e=n.as,o=void 0===e?"div":e,u=n.children,i=n.contentAs,a=void 0===i?"div":i,l=n.contentClassName,c=n.contentProps,v=n.contentRef,d=n.contentStyle,p=n.layout,y=void 0!==p&&p,m=n.paint,b=void 0!==m&&m,g=n.size,w=void 0!==g&&g,h=n.style,j=n.wrapperClassName,O=n.wrapperStyle,C=n[r],I=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(T)),k=(w?4:0)+(y?2:0)+(b?1:0);return S.createElement(o,f(f({},I),{},{ref:t,class:"".concat(C||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:G[k]})}),S.createElement(a,f(f({},c),{},{ref:v,class:l,style:f(f({},w&&K),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function X(n){var t=(0,C.useRef)(null);return t.current=n,t}M((function(n,t){var r="class",e=n.as,o=void 0===e?"div":e,u=n.children,i=n.style,a=n.wrapperClassName,l=n.wrapperStyle,c=n[r],v=s(n,["as","children","style","wrapperClassName","wrapperStyle",r].map(T));return S.createElement(o,f(f({},v),{},{ref:t,class:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var nn=self.AMP_CONFIG||{},tn=("string"==typeof nn.thirdPartyFrameRegex?new RegExp(nn.thirdPartyFrameRegex):nn.thirdPartyFrameRegex,("string"==typeof nn.cdnProxyRegex?new RegExp(nn.cdnProxyRegex):nn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function rn(n){if(!self.document||!self.document.head)return null;if(self.location&&tn.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}nn.thirdPartyUrl,nn.thirdPartyFrameHost,nn.cdnUrl||rn("runtime-host"),nn.errorReportingUrl,nn.betaErrorReportingUrl,nn.localDev,nn.geoApiUrl||rn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var en={"title":"","artist":"","album":"","artwork":[{"src":""}]};function on(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var r=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(r&&r.image)return"string"==typeof r.image?r.image:r.image["@list"]&&"string"==typeof r.image["@list"][0]?r.image["@list"][0]:"string"==typeof r.image.url?r.image.url:"string"==typeof r.image[0]?r.image[0]:void 0}}function un(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function an(n){var t=n.displayIcon,r=n.displayOverlay,e=n.metadata,o=n.onOverlayClick,u=n.pause,i=n.play,a=n.playing,l=n.wrapperRef,c=Z().playable;return(0,C.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?i().catch((function(){})):u()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}u()}),[l,i,u,c]),S.createElement(I,null,t&&S.createElement("div",{class:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},S.createElement(sn,null)),r&&S.createElement("button",{"aria-label":e&&e.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var ln,cn,fn,sn=(ln=!1,cn=null,fn=function(){return[1,2,3,4].map((function(n){return S.createElement("div",{class:"eq-col-0be5b4b",key:n})}))},function(){if(!ln){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];cn=fn.apply(self,t),ln=!0,fn=null}return cn}),vn=M((function(n,t){var r,e="class",o=n.autoplay,u=void 0!==o&&o,i=n.component,a=void 0===i?"video":i,l=n.controls,c=void 0!==l&&l,v=n.loading,d=n.loop,p=void 0!==d&&d,y=n.mediasession,m=void 0===y||y,b=n.noaudio,g=void 0!==b&&b,w=n.onPlayingState,h=n.onReadyState,j=n.poster,O=n.sources,I=n.src,k=n.style,E=n[e],P=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",e].map(T));r=Z().notify,(0,C.useLayoutEffect)((function(){r&&r()}));var R=Z().playable,A=function(n){var t,r,e,o=Z().loading;return t=F[n]||0,r=F[o]||0,e=Math.max(t,r),L[e]}(v),M="unload"!==A,N=x((0,C.useState)(u),2),U=N[0],_=N[1],B=x((0,C.useState)(!1),2),W=B[0],J=B[1],Y=x((0,C.useState)(null),2),$=Y[0],H=Y[1],G=x((0,C.useState)(!u),2),K=G[0],nn=G[1],tn=(0,C.useRef)(null),rn=(0,C.useRef)(null),ln=(0,C.useMemo)((function(){return new z}),[]),cn=(0,C.useRef)("loading"),fn=X(h),sn=(0,C.useCallback)((function(n,t){if(n!==cn.current){cn.current=n;var r=fn.current;r&&r(n,t)}}),[fn]),vn=X(w),dn=(0,C.useCallback)((function(n){J(n);var t=vn.current;t&&t(n)}),[vn]);(0,C.useLayoutEffect)((function(){M||dn(!1)}),[M,dn]);var pn=(0,C.useCallback)((function(){return ln.promise.then((function(){return n=rn.current,(t=q((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),e=1;e<t;e++)r[e-1]=arguments[e];D(V.apply(null,r))}("TRYPLAY",n)})),t;var n,t}))}),[ln]),yn=(0,C.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=rn.current)||void 0===n?void 0:n.pause()}))}),[ln]),mn=(0,C.useCallback)((function(){return ln.promise.then((function(){return rn.current.requestFullscreen()}))}),[ln]),bn=(0,C.useCallback)((function(){_(!1),nn(!0)}),[]);return(0,C.useLayoutEffect)((function(){var n,t=null===(n=rn.current)||void 0===n?void 0:n.readyState;null!=t&&sn(t>0?"complete":"loading")}),[sn]),(0,C.useLayoutEffect)((function(){return m&&W&&$&&function(n,t,r,e){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(en),o.mediaSession.metadata=new n.MediaMetadata(t),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",e))}(window,$,pn,yn),function(){}}),[m,W,$,pn,yn]),(0,C.useEffect)((function(){R||yn()}),[R,yn]),(0,C.useImperativeHandle)(t,(function(){return{get readyState(){return cn.current},play:pn,pause:yn,requestFullscreen:mn,get currentTime(){return rn.current?rn.current.currentTime:0},get duration(){return rn.current?rn.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:bn,mute:function(){return _(!0)},unmute:function(){K&&_(!1)}}}),[pn,yn,mn,bn,K,u,c,p]),S.createElement(Q,{contentRef:tn,class:E,style:k,size:!0,layout:!0,paint:!0},M&&S.createElement(a,f(f({},P),{},{ref:rn,loading:A,muted:U,loop:p,controls:c&&(!u||K),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){m&&ln.promise.then((function(){var n,t,r,e;H((n=rn.current,f({"title":(t=P).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||on(document)||(r=document,e=r.querySelector('meta[property="og:image"]'),e?e.getAttribute("content"):void 0)||un(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return dn(!0)},onPause:function(){return dn(!1)},onEnded:function(){return dn(!1)},onError:function(n){sn("error",n),ln.reject(n)},class:"fill-stretch-c645120",src:I,poster:j}),O),u&&!K&&S.createElement(an,{metadata:$,playing:W,displayIcon:!g&&U,wrapperRef:tn,play:pn,pause:yn,displayOverlay:c,onOverlayClick:bn}))}));vn.displayName="VideoWrapper";var dn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],pn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function yn(n,t,r){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(r(),"*")}))}var mn=M((function(n,t){var r=n.loading,e=n.unloadOnPause,o=void 0!==e&&e,u=n.sandbox,i=void 0===u?pn:u,a=n.muted,l=void 0!==a&&a,c=n.controls,v=void 0!==c&&c,d=n.origin,p=n.onCanPlay,y=n.onMessage,m=n.playerStateRef,b=n.makeMethodMessage,g=n.makeFullscreenMessage,w=n.onIframeLoad,h=s(n,dn),j=(0,C.useRef)(null),O=(0,C.useMemo)((function(){return new z}),[]),I=(0,C.useRef)(b),k=(0,C.useCallback)((function(n){yn(null==j?void 0:j.current,O.promise,(function(){return I.current(n)}))}),[O.promise]),E=(0,C.useRef)(g),P=(0,C.useCallback)((function(){return yn(null==j?void 0:j.current,O.promise,E.current)}),[O.promise]);(0,C.useImperativeHandle)(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==m||null===(t=m.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==m||null===(t=m.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!E.current)return O.promise.then((function(){j.current.requestFullscreen()}));P()},play:function(){return k("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else k("pause")}}}),[m,k,P,O.promise,o]);var R=function(n){var t=(0,C.useRef)(null);return t.current=n,t}(y);return(0,C.useLayoutEffect)((function(){if(j.current){var n=j.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){R.current&&(d&&!d.test(n.origin)||n.source!=j.current.contentWindow||R.current({currentTarget:j.current,target:j.current,data:n.data}))}}),[d,R]),(0,C.useLayoutEffect)((function(){k(l?"mute":"unmute")}),[l,k]),(0,C.useLayoutEffect)((function(){k(v?"showControls":"hideControls")}),[v,k]),S.createElement("iframe",f(f({},h),{},{ref:j,allowfullscreen:!0,frameborder:"0",sandbox:i,loading:r,onCanPlay:function(){p&&O.promise.then(p),O.resolve()},onLoad:function(n){null==w||w(n)}}))}));mn.displayName="VideoIframeInternal";var bn=M((function(n,t){return S.createElement(vn,f(f({ref:t},n),{},{component:mn}))}));function gn(n,t){return function(n,t,r){if(!t)return n;var e=n.split("#",2),o=e[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(t):"?".concat(t))+(e[1]?"#".concat(e[1]):"")}(n,function(n){var t,r,e,o=[];for(var u in n){var i=n[u];if(null!=i){i=v(e=i)?e:[e];for(var a=0;a<i.length;a++)o.push((t=u,r=i[a],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(r))))}}return o.join("&")}(t))}function wn(n,t){return JSON.stringify({"command":n,"parameters":t})}bn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var hn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function jn(n){switch(n){case"mute":return wn("muted",[!0]);case"unmute":return wn("muted",[!1]);case"showControls":return wn("controls",[!0]);case"hideControls":return wn("controls",[!1]);default:return wn(n)}}function On(n){var t=n.currentTarget,r=function(n){var t,r=g();if(!n)return r;for(;t=j.exec(n);){var e=O(t[1],t[1]),o=t[2]?O(t[2].replace(/\+/g," "),t[2]):"";r[e]=o}return r}(n.data),e=null==r?void 0:r.event;"pause"===e?h(t,"pause"):"play"===e?h(t,"playing"):"end"===e?(h(t,"pause"),h(t,"end")):"apiready"===e&&h(t,"canplay")}function Sn(n,t){var r=n.autoplay,e=n.endscreenEnable,o=n.info,u=n.mute,i=n.sharingEnable,a=n.start,l=n.uiHighlight,c=n.uiLogo,v=n.videoId,d=s(n,hn),p=(0,C.useMemo)((function(){return function(n,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],a=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return gn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),f({"endscreen-enable":e?void 0:e,"info":o?void 0:o,"mute":u||r&&H(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c},s))}(window,v,r,e,o,u,i,a,l,c)}),[v,r,e,o,u,i,a,l,c]);return S.createElement(bn,f(f({autoplay:r,controls:!0,ref:t},d),{},{src:p,makeMethodMessage:jn,onMessage:On}))}var Cn=M(Sn);Cn.displayName="BentoDailymotion"; | ||
var n=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,e=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,i=function(n){return t(n,"__esModule",{value:!0})},a=function(a){return function(n,o,i){if(o&&"object"==typeof o||"function"==typeof o)for(var a,l=e(o),c=0,f=l.length;c<f;c++)a=l[c],u.call(n,a)||"default"===a||t(n,a,{get:function(n){return o[n]}.bind(null,a),enumerable:!(i=r(o,a))||i.enumerable});return n}(i(t(null!=a?n(o(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function l(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function c(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.push.apply(r,e)}return r}function f(n){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){l(n,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))}))}return n}function s(n,t){if(null==n)return{};var r,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)r=u[e],t.indexOf(r)>=0||(o[r]=n[r]);return o}!function(n,r){for(var e in i(n),r)t(n,e,{get:r[e],enumerable:!0})}(exports,{BentoDailymotion:function(){return Cn},BentoDailymotionWithRef:function(){return Sn}});var v=Array.isArray;function d(n){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(n,t):void 0}}function m(n,t){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(r)return(r=r.call(n)).next.bind(r);if(Array.isArray(n)||(r=y(n))||t&&n&&"number"==typeof n.length){r&&(n=r);var e=0;return function(){return e>=n.length?{done:!0}:{done:!1,value:n[e++]}}}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 b=Object.prototype;function g(n){var t=Object.create(null);return n&&Object.assign(t,n),t}b.hasOwnProperty,b.toString;var w={bubbles:!0,cancelable:!0};function h(n,t,r,e){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=e||w,a=i.bubbles,l=i.cancelable;u.initEvent(t,a,l),n.dispatchEvent(u)}var j=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function O(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}a(require("preact"));var S=a(require("preact")),C=a(require("preact/hooks"));function I(n){return n.children}var k,E=a(require("preact")),P=["ref"],R="undefined"!=typeof Symbol&&(null===(k=Symbol.for)||void 0===k?void 0:k.call(Symbol,"react.forward_ref"))||3911,A=E.options.__b;E.options.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==A||A(n)};var M,N=function(n){function t(t){var r=t.ref,e=s(t,P);return n(e,r)}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=!0,t.v=!0,t},z=function(){var n=this;this.promise=new Promise((function(t,r){n.resolve=t,n.reject=r}))};function q(n){return new Promise((function(t){t(n())}))}function x(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,o,u=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(e=r.next()).done)&&(u.push(e.value),!t||u.length!==t);i=!0);}catch(n){a=!0,o=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return u}}(n,t)||y(n,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 T(n){var t=function(n,t){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var e=r.call(n,"string");if("object"!==d(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(t)?t:String(t)}var U,L=["auto","lazy","eager","unload"],F=(l(M={},"auto",0),l(M,"lazy",1),l(M,"eager",2),l(M,"unload",3),M);function _(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var r=n.message,e=n.stack,o=new Error(r);for(var u in n)o[u]=n[u];return o.stack=e,o}function B(n){for(var t,r=null,e="",o=m(arguments,!0);!(t=o()).done;){var u=t.value;u instanceof Error&&!r?r=_(u):(e&&(e+=" "),e+=u)}return r?e&&(r.message=e+": "+r.message):r=new Error(e),r}function D(n){var t,r;null===(t=(r=self).__AMP_REPORT_ERROR)||void 0===t||t.call(r,n)}function V(n){var t=B.apply(null,arguments);return t.expected=!0,t}var W,J=["Webkit","webkit","Moz","moz","ms","O","o"];function Y(n,t,r,e,o){var u=function(n,t,r){if($(t))return t;U||(U=g());var e=U[t];if(!e||r){if(e=t,void 0===n[t]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),u=function(n,t){for(var r=0;r<J.length;r++){var e=J[r]+t;if(void 0!==n[e])return e}return""}(n,o);void 0!==n[u]&&(e=u)}r||(U[t]=e)}return e}(n.style,t,o);if(u){var i=e?r+e:r;$(u)?n.style.setProperty(u,i):n.style[u]=i}}function $(n){return n.startsWith("--")}function H(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,r=n.document.createElement("video");return r.setAttribute("muted",""),r.setAttribute("playsinline",""),r.setAttribute("webkit-playsinline",""),r.setAttribute("height","0"),r.setAttribute("width","0"),r.muted=!0,r.playsInline=!0,r.playsinline=!0,r.webkitPlaysinline=!0,function(n,t){for(var r in t)Y(n,r,t[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=r,q((function(){return t.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}function Z(){var n=W||(W=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,C.useContext)(n)}var G=[null,"paint","layout","content","size","size paint","size layout","strict"],K={"position":"relative","width":"100%","height":"100%"},Q=N((function(n,t){var r="class",e=n.as,o=void 0===e?"div":e,u=n.children,i=n.contentAs,a=void 0===i?"div":i,l=n.contentClassName,c=n.contentProps,v=n.contentRef,d=n.contentStyle,p=n.layout,y=void 0!==p&&p,m=n.paint,b=void 0!==m&&m,g=n.size,w=void 0!==g&&g,h=n.style,j=n.wrapperClassName,O=n.wrapperStyle,C=n[r],I=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(T)),k=(w?4:0)+(y?2:0)+(b?1:0);return S.createElement(o,f(f({},I),{},{ref:t,class:"".concat(C||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:G[k]})}),S.createElement(a,f(f({},c),{},{ref:v,class:l,style:f(f({},w&&K),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function X(n){var t=(0,C.useRef)(null);return t.current=n,t}N((function(n,t){var r="class",e=n.as,o=void 0===e?"div":e,u=n.children,i=n.style,a=n.wrapperClassName,l=n.wrapperStyle,c=n[r],v=s(n,["as","children","style","wrapperClassName","wrapperStyle",r].map(T));return S.createElement(o,f(f({},v),{},{ref:t,class:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var nn=self.AMP_CONFIG||{},tn=("string"==typeof nn.thirdPartyFrameRegex?new RegExp(nn.thirdPartyFrameRegex):nn.thirdPartyFrameRegex,("string"==typeof nn.cdnProxyRegex?new RegExp(nn.cdnProxyRegex):nn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function rn(n){if(!self.document||!self.document.head)return null;if(self.location&&tn.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}nn.thirdPartyUrl,nn.thirdPartyFrameHost,nn.cdnUrl||rn("runtime-host"),nn.errorReportingUrl,nn.betaErrorReportingUrl,nn.localDev,nn.geoApiUrl||rn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var en={"title":"","artist":"","album":"","artwork":[{"src":""}]};function on(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var r=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(r&&r.image)return"string"==typeof r.image?r.image:r.image["@list"]&&"string"==typeof r.image["@list"][0]?r.image["@list"][0]:"string"==typeof r.image.url?r.image.url:"string"==typeof r.image[0]?r.image[0]:void 0}}function un(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function an(n){var t=n.displayIcon,r=n.displayOverlay,e=n.metadata,o=n.onOverlayClick,u=n.pause,i=n.play,a=n.playing,l=n.wrapperRef,c=Z().playable;return(0,C.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?i().catch((function(){})):u()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}u()}),[l,i,u,c]),S.createElement(I,null,t&&S.createElement("div",{class:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},S.createElement(sn,null)),r&&S.createElement("button",{"aria-label":e&&e.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var ln,cn,fn,sn=(ln=!1,cn=null,fn=function(){return[1,2,3,4].map((function(n){return S.createElement("div",{class:"eq-col-0be5b4b",key:n})}))},function(){if(!ln){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];cn=fn.apply(self,t),ln=!0,fn=null}return cn}),vn=N((function(n,t){var r,e="class",o=n.autoplay,u=void 0!==o&&o,i=n.component,a=void 0===i?"video":i,l=n.controls,c=void 0!==l&&l,v=n.loading,d=n.loop,p=void 0!==d&&d,y=n.mediasession,m=void 0===y||y,b=n.noaudio,g=void 0!==b&&b,w=n.onPlayingState,h=n.onReadyState,j=n.poster,O=n.sources,I=n.src,k=n.style,E=n[e],P=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",e].map(T));r=Z().notify,(0,C.useLayoutEffect)((function(){r&&r()}));var R=Z().playable,A=function(n){var t,r,e,o,u,i=Z().loading;return e=F[null!=(t=n)?t:"auto"]||0,o=F[null!=(r=i)?r:"auto"]||0,u=Math.max(e,o),L[u]}(v),M="unload"!==A,N=x((0,C.useState)(u),2),U=N[0],_=N[1],B=x((0,C.useState)(!1),2),W=B[0],J=B[1],Y=x((0,C.useState)(null),2),$=Y[0],H=Y[1],G=x((0,C.useState)(!u),2),K=G[0],nn=G[1],tn=(0,C.useRef)(null),rn=(0,C.useRef)(null),ln=(0,C.useMemo)((function(){return new z}),[]),cn=(0,C.useRef)("loading"),fn=X(h),sn=(0,C.useCallback)((function(n,t){if(n!==cn.current){cn.current=n;var r=fn.current;r&&r(n,t)}}),[fn]),vn=X(w),dn=(0,C.useCallback)((function(n){J(n);var t=vn.current;t&&t(n)}),[vn]);(0,C.useLayoutEffect)((function(){M||dn(!1)}),[M,dn]);var pn=(0,C.useCallback)((function(){return ln.promise.then((function(){return n=rn.current,(t=q((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),e=1;e<t;e++)r[e-1]=arguments[e];D(V.apply(null,r))}("TRYPLAY",n)})),t;var n,t}))}),[ln]),yn=(0,C.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=rn.current)||void 0===n?void 0:n.pause()}))}),[ln]),mn=(0,C.useCallback)((function(){return ln.promise.then((function(){return rn.current.requestFullscreen()}))}),[ln]),bn=(0,C.useCallback)((function(){_(!1),nn(!0)}),[]);return(0,C.useLayoutEffect)((function(){var n,t=null===(n=rn.current)||void 0===n?void 0:n.readyState;null!=t&&sn(t>0?"complete":"loading")}),[sn]),(0,C.useLayoutEffect)((function(){return m&&W&&$&&function(n,t,r,e){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(en),o.mediaSession.metadata=new n.MediaMetadata(t),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",e))}(window,$,pn,yn),function(){}}),[m,W,$,pn,yn]),(0,C.useEffect)((function(){R||yn()}),[R,yn]),(0,C.useImperativeHandle)(t,(function(){return{get readyState(){return cn.current},play:pn,pause:yn,requestFullscreen:mn,get currentTime(){return rn.current?rn.current.currentTime:0},get duration(){return rn.current?rn.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:bn,mute:function(){return _(!0)},unmute:function(){K&&_(!1)}}}),[pn,yn,mn,bn,K,u,c,p]),S.createElement(Q,{contentRef:tn,class:E,style:k,size:!0,layout:!0,paint:!0},M&&S.createElement(a,f(f({},P),{},{ref:rn,loading:A,muted:U,loop:p,controls:c&&(!u||K),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){m&&ln.promise.then((function(){var n,t,r,e;H((n=rn.current,f({"title":(t=P).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||on(document)||(r=document,e=r.querySelector('meta[property="og:image"]'),e?e.getAttribute("content"):void 0)||un(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return dn(!0)},onPause:function(){return dn(!1)},onEnded:function(){return dn(!1)},onError:function(n){sn("error",n),ln.reject(n)},class:"fill-stretch-c645120",src:I,poster:j}),O),u&&!K&&S.createElement(an,{metadata:$,playing:W,displayIcon:!g&&U,wrapperRef:tn,play:pn,pause:yn,displayOverlay:c,onOverlayClick:bn}))}));vn.displayName="VideoWrapper";var dn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],pn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function yn(n,t,r){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(r(),"*")}))}var mn=N((function(n,t){var r=n.loading,e=n.unloadOnPause,o=void 0!==e&&e,u=n.sandbox,i=void 0===u?pn:u,a=n.muted,l=void 0!==a&&a,c=n.controls,v=void 0!==c&&c,d=n.origin,p=n.onCanPlay,y=n.onMessage,m=n.playerStateRef,b=n.makeMethodMessage,g=n.makeFullscreenMessage,w=n.onIframeLoad,h=s(n,dn),j=(0,C.useRef)(null),O=(0,C.useMemo)((function(){return new z}),[]),I=(0,C.useRef)(b),k=(0,C.useCallback)((function(n){yn(null==j?void 0:j.current,O.promise,(function(){return I.current(n)}))}),[O.promise]),E=(0,C.useRef)(g),P=(0,C.useCallback)((function(){return yn(null==j?void 0:j.current,O.promise,E.current)}),[O.promise]);(0,C.useImperativeHandle)(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==m||null===(t=m.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==m||null===(t=m.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!E.current)return O.promise.then((function(){j.current.requestFullscreen()}));P()},play:function(){return k("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else k("pause")}}}),[m,k,P,O.promise,o]);var R=function(n){var t=(0,C.useRef)(null);return t.current=n,t}(y);return(0,C.useLayoutEffect)((function(){if(j.current){var n=j.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){R.current&&(d&&!d.test(n.origin)||n.source!=j.current.contentWindow||R.current({currentTarget:j.current,target:j.current,data:n.data}))}}),[d,R]),(0,C.useLayoutEffect)((function(){k(l?"mute":"unmute")}),[l,k]),(0,C.useLayoutEffect)((function(){k(v?"showControls":"hideControls")}),[v,k]),S.createElement("iframe",f(f({},h),{},{ref:j,allowfullscreen:!0,frameborder:"0",sandbox:i,loading:r,onCanPlay:function(){p&&O.promise.then(p),O.resolve()},onLoad:function(n){null==w||w(n)}}))}));mn.displayName="VideoIframeInternal";var bn=N((function(n,t){return S.createElement(vn,f(f({ref:t},n),{},{component:mn}))}));function gn(n,t){return function(n,t,r){if(!t)return n;var e=n.split("#",2),o=e[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(t):"?".concat(t))+(e[1]?"#".concat(e[1]):"")}(n,function(n){var t,r,e,o=[];for(var u in n){var i=n[u];if(null!=i){i=v(e=i)?e:[e];for(var a=0;a<i.length;a++)o.push((t=u,r=i[a],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(r))))}}return o.join("&")}(t))}function wn(n,t){return JSON.stringify({"command":n,"parameters":t})}bn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var hn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function jn(n){switch(n){case"mute":return wn("muted",[!0]);case"unmute":return wn("muted",[!1]);case"showControls":return wn("controls",[!0]);case"hideControls":return wn("controls",[!1]);default:return wn(n)}}function On(n){var t=n.currentTarget,r=function(n){var t,r=g();if(!n)return r;for(;t=j.exec(n);){var e=O(t[1],t[1]),o=t[2]?O(t[2].replace(/\+/g," "),t[2]):"";r[e]=o}return r}(n.data),e=null==r?void 0:r.event;"pause"===e?h(t,"pause"):"play"===e?h(t,"playing"):"end"===e?(h(t,"pause"),h(t,"end")):"apiready"===e&&h(t,"canplay")}function Sn(n,t){var r=n.autoplay,e=n.endscreenEnable,o=n.info,u=n.mute,i=n.sharingEnable,a=n.start,l=n.uiHighlight,c=n.uiLogo,v=n.videoId,d=s(n,hn),p=(0,C.useMemo)((function(){return function(n,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],a=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return gn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),f({"endscreen-enable":e?void 0:e,"info":o?void 0:o,"mute":u||r&&H(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c},s))}(window,v,r,e,o,u,i,a,l,c)}),[v,r,e,o,u,i,a,l,c]);return S.createElement(bn,f(f({autoplay:r,controls:!0,ref:t},d),{},{src:p,makeMethodMessage:jn,onMessage:On}))}var Cn=N(Sn);Cn.displayName="BentoDailymotion"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -239,3 +239,3 @@ var __create = Object.create; | ||
} | ||
function forwardRef(Component) { | ||
var forwardRef = function forwardRef2(Component) { | ||
function Forward(props) { | ||
@@ -253,3 +253,3 @@ var ref = props.ref, clone = _objectWithoutPropertiesLoose(props, _excluded); | ||
return Forward; | ||
} | ||
}; | ||
@@ -303,4 +303,4 @@ // src/core/data-structures/promise.js | ||
function reducer(v1, v2) { | ||
var ordinal1 = MAP[v1] || 0; | ||
var ordinal2 = MAP[v2] || 0; | ||
var ordinal1 = MAP[v1 != null ? v1 : Loading_Enum.AUTO] || 0; | ||
var ordinal2 = MAP[v2 != null ? v2 : Loading_Enum.AUTO] || 0; | ||
var ordinal = Math.max(ordinal1, ordinal2); | ||
@@ -560,3 +560,3 @@ return ORDER[ordinal]; | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
function _extends() { | ||
@@ -563,0 +563,0 @@ _extends = Object.assign || function(target) { |
@@ -196,3 +196,3 @@ // src/core/mode/prod.js | ||
} | ||
function forwardRef(Component) { | ||
var forwardRef = function forwardRef2(Component) { | ||
function Forward(props) { | ||
@@ -212,3 +212,3 @@ const { | ||
return Forward; | ||
} | ||
}; | ||
@@ -267,4 +267,4 @@ // src/core/data-structures/promise.js | ||
function reducer(v1, v2) { | ||
const ordinal1 = MAP[v1] || 0; | ||
const ordinal2 = MAP[v2] || 0; | ||
const ordinal1 = MAP[v1 != null ? v1 : Loading_Enum.AUTO] || 0; | ||
const ordinal2 = MAP[v2 != null ? v2 : Loading_Enum.AUTO] || 0; | ||
const ordinal = Math.max(ordinal1, ordinal2); | ||
@@ -483,3 +483,3 @@ return ORDER[ordinal]; | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
function _extends() { | ||
@@ -486,0 +486,0 @@ _extends = Object.assign || function(target) { |
@@ -1,2 +0,2 @@ | ||
function n(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function e(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function r(n,e){if(null==n)return{};var t,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)t=a[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{isArray:o}=Array;function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function l(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=function(n,e){if(n){if("string"==typeof n)return a(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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{hasOwnProperty:i,toString:u}=Object.prototype;function s(n){const e=Object.create(null);return n&&Object.assign(e,n),e}var c={bubbles:!0,cancelable:!0};function f(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||c;a.initEvent(e,l,i),n.dispatchEvent(a)}var d=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function p(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as y,render as m}from"preact";import{createElement as v,cloneElement as b,createRef as g,createContext as w}from"preact";import{useState as h,useRef as S,useEffect as O,useLayoutEffect as j,useContext as C,useMemo as k,useCallback as I,useImperativeHandle as P}from"preact/hooks";function E(n){return n.children}import{options as M,toChildArray as R}from"preact";var N,$=["ref"],z="undefined"!=typeof Symbol&&(null===(N=Symbol.for)||void 0===N?void 0:N.call(Symbol,"react.forward_ref"))||3911,A=M.__b;function x(n){function e(e){const{ref:t}=e,o=r(e,$);return n(o,t)}return e.$$typeof=z,e.render=e,e.prototype.isReactComponent=!0,e.v=!0,e}M.__b=function(n){var e;null!==(e=n.type)&&void 0!==e&&e.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==A||A(n)};var L=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function T(n){return new Promise((e=>{e(n())}))}function U(n){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function q(n){var e=function(n,e){if("object"!==U(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==U(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===U(e)?e:String(e)}var F,V=["auto","lazy","eager","unload"],H={auto:0,lazy:1,eager:2,unload:3};function J(n){const e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;const{message:t,stack:r}=n,o=new Error(t);for(const e in n)o[e]=n[e];return o.stack=r,o}function W(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=J(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function _(n){const e=W.apply(null,arguments);return e.expected=!0,e}function B(n,...e){var t,r,o;t=_.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var D,Z=["Webkit","webkit","Moz","moz","ms","O","o"];function G(n,e,t,r,o){const a=function(n,e,t){if(K(e))return e;F||(F=s());let r=F[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<Z.length;t++){const r=Z[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(F[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;K(a)?n.style.setProperty(a,l):n.style[a]=l}function K(n){return n.startsWith("--")}function Q(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){const e=n.document.createElement("video");var t;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,e){for(const t in e)G(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,T((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}function X(){const n=D||(D=w({renderable:!0,playable:!0,loading:"auto"}));return C(n)}var Y=[null,"paint","layout","content","size","size paint","size layout","strict"],nn={"position":"relative","width":"100%","height":"100%"},en=x((function(n,e){let o="class",{as:a="div",children:l,contentAs:i="div",contentClassName:u,contentProps:s,contentRef:c,contentStyle:f,layout:d=!1,paint:p=!1,size:y=!1,"style":m,wrapperClassName:b,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(q));const S=(y?4:0)+(d?2:0)+(p?1:0);return v(a,t(t({},h),{},{ref:e,class:`${w||""} ${b||""}`.trim()||null,style:t(t(t({},m),g),{},{contain:Y[S]})}),v(i,t(t({},s),{},{ref:c,class:u,style:t(t({},y&&nn),{},{"overflow":p?"hidden":"visible"},f)}),l))}));function tn(n){const e=S(null);return e.current=n,e}x((function(n,e){let o="class",{as:a="div",children:l,"style":i,wrapperClassName:u,wrapperStyle:s,[o]:c}=n,f=r(n,["as","children","style","wrapperClassName","wrapperStyle",o].map(q));return v(a,t(t({},f),{},{ref:e,class:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var rn=self.AMP_CONFIG||{},on=("string"==typeof rn.thirdPartyFrameRegex?new RegExp(rn.thirdPartyFrameRegex):rn.thirdPartyFrameRegex,("string"==typeof rn.cdnProxyRegex?new RegExp(rn.cdnProxyRegex):rn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function an(n){if(!self.document||!self.document.head)return null;if(self.location&&on.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}rn.thirdPartyUrl,rn.thirdPartyFrameHost,rn.cdnUrl||an("runtime-host"),rn.errorReportingUrl,rn.betaErrorReportingUrl,rn.localDev,rn.geoApiUrl||an("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var ln={"title":"","artist":"","album":"","artwork":[{"src":""}]};function un(n){const e=n.querySelector('script[type="application/ld+json"]');if(!e)return;const t=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);return t&&t.image?"string"==typeof t.image?t.image:t.image["@list"]&&"string"==typeof t.image["@list"][0]?t.image["@list"][0]:"string"==typeof t.image.url?t.image.url:"string"==typeof t.image[0]?t.image[0]:void 0:void 0}function sn(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function cn(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function fn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=X();return O((()=>{if(!u)return void o();const n=new IntersectionObserver((n=>{n[n.length-1].isIntersecting?a().catch((()=>{})):o()}),{threshold:.5});return n.observe(i.current),()=>{n.disconnect()}}),[i,a,o,u]),v(E,null,n&&v("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},v(dn,null)),e&&v("button",{"aria-label":t&&t.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var dn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>v("div",{class:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),pn=x((function(n,e){let o="class",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:d,onReadyState:p,poster:y,sources:m,src:b,style:g,[o]:w}=n,C=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(q));!function(){const{notify:n}=X();j((()=>{n&&n()}))}();const{playable:E}=X(),M=function(n){const{loading:e}=X();return function(n,e){const t=H[n]||0,r=H[e]||0,o=Math.max(t,r);return V[o]}(n,e)}(u),R="unload"!==M,[N,$]=h(a),[z,A]=h(!1),[x,U]=h(null),[F,J]=h(!a),W=S(null),_=S(null),D=k((()=>new L),[]),Z=S("loading"),G=tn(p),K=I(((n,e)=>{if(n!==Z.current){Z.current=n;const t=G.current;t&&t(n,e)}}),[G]),Q=tn(d),Y=I((n=>{A(n);const e=Q.current;e&&e(n)}),[Q]);j((()=>{R||Y(!1)}),[R,Y]);const nn=I((()=>D.promise.then((()=>function(n,e){const t=T((()=>n.play(!1)));return t.catch((n=>{B(0,n)})),t}(_.current)))),[D]),rn=I((()=>{D.promise.then((()=>{var n;return null===(n=_.current)||void 0===n?void 0:n.pause()}))}),[D]),on=I((()=>D.promise.then((()=>_.current.requestFullscreen()))),[D]),an=I((()=>{$(!1),J(!0)}),[]);return j((()=>{var n;const e=null===(n=_.current)||void 0===n?void 0:n.readyState;null!=e&&K(e>0?"complete":"loading")}),[K]),j((()=>(c&&z&&x&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(ln),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,x,nn,rn),()=>{})),[c,z,x,nn,rn]),O((()=>{E||rn()}),[E,rn]),P(e,(()=>({get readyState(){return Z.current},play:nn,pause:rn,requestFullscreen:on,get currentTime(){return _.current?_.current.currentTime:0},get duration(){return _.current?_.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:an,mute:()=>$(!0),unmute:()=>{F&&$(!1)}})),[nn,rn,on,an,F,a,i,s]),v(en,{contentRef:W,class:w,style:g,size:!0,layout:!0,paint:!0},R&&v(l,t(t({},C),{},{ref:_,loading:M,muted:N,loop:s,controls:i&&(!a||F),onCanPlay:()=>{D.resolve(),K("complete")},onLoadedMetadata:()=>{c&&D.promise.then((()=>{var n,e;U((n=_.current,t({"title":(e=C).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||un(document)||sn(document)||cn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),K("complete")},onPlaying:()=>Y(!0),onPause:()=>Y(!1),onEnded:()=>Y(!1),onError:n=>{K("error",n),D.reject(n)},class:"fill-stretch-c645120",src:b,poster:y}),m),a&&!F&&v(fn,{metadata:x,playing:z,displayIcon:!f&&N,wrapperRef:W,play:nn,pause:rn,displayOverlay:i,onOverlayClick:an}))}));pn.displayName="VideoWrapper";var yn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function vn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var bn=x((function(n,e){let{loading:o,unloadOnPause:a=!1,sandbox:l=mn,muted:i=!1,controls:u=!1,origin:s,onCanPlay:c,onMessage:f,playerStateRef:d,makeMethodMessage:p,makeFullscreenMessage:y,onIframeLoad:m}=n,b=r(n,yn);const g=S(null),w=k((()=>new L),[]),h=S(p),O=I((n=>{vn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),C=S(y),E=I((()=>vn(null==g?void 0:g.current,w.promise,C.current)),[w.promise]);P(e,(()=>({get currentTime(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:()=>{if(!C.current)return w.promise.then((()=>{g.current.requestFullscreen()}));E()},play:()=>O("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else O("pause")}})),[d,O,E,w.promise,a]);const M=function(n){const e=S(null);return e.current=n,e}(f);return j((()=>{if(!g.current)return;function n(n){M.current&&(s&&!s.test(n.origin)||n.source!=g.current.contentWindow||M.current({currentTarget:g.current,target:g.current,data:n.data}))}const{defaultView:e}=g.current.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[s,M]),j((()=>{O(i?"mute":"unmute")}),[i,O]),j((()=>{O(u?"showControls":"hideControls")}),[u,O]),v("iframe",t(t({},b),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==m||m(n)}}))}));bn.displayName="VideoIframeInternal";var gn=x((function(n,e){return v(pn,t(t({ref:e},n),{},{component:bn}))}));function wn(n,e){return JSON.stringify({"command":n,"parameters":e})}gn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var hn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Sn(n){switch(n){case"mute":return wn("muted",[!0]);case"unmute":return wn("muted",[!1]);case"showControls":return wn("controls",[!0]);case"hideControls":return wn("controls",[!1]);default:return wn(n)}}function On({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=d.exec(n);){const n=p(t[1],t[1]),r=t[2]?p(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?f(n,"pause"):"play"===r?f(n,"playing"):"end"===r?(f(n,"pause"),f(n,"end")):"apiready"===r&&f(n,"canplay")}function jn(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:c,uiHighlight:f,uiLogo:d,videoId:p}=n,y=r(n,hn);const m=k((()=>function(n,e,r=!1,a=!0,l=!0,i=!1,u=!0,s,c,f=!0,d){return function(n,e,t){if(!e)return n;const r=n.split("#",2),o=r[0].split("?",2);let a=o[0]+(o[1]?`?${o[1]}&${e}`:`?${e}`);return a+=r[1]?`#${r[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(n){const e=[];for(const l in n){let i=n[l];if(null!=i){i=o(a=i)?a:[a];for(let n=0;n<i.length;n++)e.push((t=l,r=i[n],`${encodeURIComponent(t)}=${encodeURIComponent(r)}`))}}var t,r,a;return e.join("&")}(t({"endscreen-enable":a?void 0:a,"info":l?void 0:l,"mute":i||r&&Q(n)?1:void 0,"sharing-enable":u?void 0:u,"start":s,"ui-highlight":c,"ui-logo":f?void 0:f},d)))}(window,p,a,l,i,u,s,c,f,d)),[p,a,l,i,u,s,c,f,d]);return v(gn,t(t({autoplay:a,controls:!0,ref:e},y),{},{src:m,makeMethodMessage:Sn,onMessage:On}))}var Cn=x(jn);Cn.displayName="BentoDailymotion";export{Cn as BentoDailymotion,jn as BentoDailymotionWithRef}; | ||
function n(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function e(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function r(n,e){if(null==n)return{};var t,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)t=a[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{isArray:o}=Array;function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function l(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=function(n,e){if(n){if("string"==typeof n)return a(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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{hasOwnProperty:i,toString:u}=Object.prototype;function s(n){const e=Object.create(null);return n&&Object.assign(e,n),e}var c={bubbles:!0,cancelable:!0};function f(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||c;a.initEvent(e,l,i),n.dispatchEvent(a)}var d=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function p(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as y,render as m}from"preact";import{createElement as v,cloneElement as b,createRef as g,createContext as w}from"preact";import{useState as h,useRef as S,useEffect as O,useLayoutEffect as j,useContext as C,useMemo as k,useCallback as I,useImperativeHandle as P}from"preact/hooks";function E(n){return n.children}import{options as M,toChildArray as R}from"preact";var N,$=["ref"],z="undefined"!=typeof Symbol&&(null===(N=Symbol.for)||void 0===N?void 0:N.call(Symbol,"react.forward_ref"))||3911,A=M.__b;M.__b=function(n){var e;null!==(e=n.type)&&void 0!==e&&e.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==A||A(n)};var x=function(n){function e(e){const{ref:t}=e,o=r(e,$);return n(o,t)}return e.$$typeof=z,e.render=e,e.prototype.isReactComponent=!0,e.v=!0,e},L=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function T(n){return new Promise((e=>{e(n())}))}function U(n){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function q(n){var e=function(n,e){if("object"!==U(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==U(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===U(e)?e:String(e)}var F,V=["auto","lazy","eager","unload"],H={auto:0,lazy:1,eager:2,unload:3};function J(n){const e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;const{message:t,stack:r}=n,o=new Error(t);for(const e in n)o[e]=n[e];return o.stack=r,o}function W(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=J(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function _(n){const e=W.apply(null,arguments);return e.expected=!0,e}function B(n,...e){var t,r,o;t=_.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var D,Z=["Webkit","webkit","Moz","moz","ms","O","o"];function G(n,e,t,r,o){const a=function(n,e,t){if(K(e))return e;F||(F=s());let r=F[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<Z.length;t++){const r=Z[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(F[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;K(a)?n.style.setProperty(a,l):n.style[a]=l}function K(n){return n.startsWith("--")}function Q(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){const e=n.document.createElement("video");var t;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,e){for(const t in e)G(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,T((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}function X(){const n=D||(D=w({renderable:!0,playable:!0,loading:"auto"}));return C(n)}var Y=[null,"paint","layout","content","size","size paint","size layout","strict"],nn={"position":"relative","width":"100%","height":"100%"},en=x((function(n,e){let o="class",{as:a="div",children:l,contentAs:i="div",contentClassName:u,contentProps:s,contentRef:c,contentStyle:f,layout:d=!1,paint:p=!1,size:y=!1,"style":m,wrapperClassName:b,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(q));const S=(y?4:0)+(d?2:0)+(p?1:0);return v(a,t(t({},h),{},{ref:e,class:`${w||""} ${b||""}`.trim()||null,style:t(t(t({},m),g),{},{contain:Y[S]})}),v(i,t(t({},s),{},{ref:c,class:u,style:t(t({},y&&nn),{},{"overflow":p?"hidden":"visible"},f)}),l))}));function tn(n){const e=S(null);return e.current=n,e}x((function(n,e){let o="class",{as:a="div",children:l,"style":i,wrapperClassName:u,wrapperStyle:s,[o]:c}=n,f=r(n,["as","children","style","wrapperClassName","wrapperStyle",o].map(q));return v(a,t(t({},f),{},{ref:e,class:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var rn=self.AMP_CONFIG||{},on=("string"==typeof rn.thirdPartyFrameRegex?new RegExp(rn.thirdPartyFrameRegex):rn.thirdPartyFrameRegex,("string"==typeof rn.cdnProxyRegex?new RegExp(rn.cdnProxyRegex):rn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function an(n){if(!self.document||!self.document.head)return null;if(self.location&&on.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}rn.thirdPartyUrl,rn.thirdPartyFrameHost,rn.cdnUrl||an("runtime-host"),rn.errorReportingUrl,rn.betaErrorReportingUrl,rn.localDev,rn.geoApiUrl||an("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var ln={"title":"","artist":"","album":"","artwork":[{"src":""}]};function un(n){const e=n.querySelector('script[type="application/ld+json"]');if(!e)return;const t=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);return t&&t.image?"string"==typeof t.image?t.image:t.image["@list"]&&"string"==typeof t.image["@list"][0]?t.image["@list"][0]:"string"==typeof t.image.url?t.image.url:"string"==typeof t.image[0]?t.image[0]:void 0:void 0}function sn(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function cn(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function fn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=X();return O((()=>{if(!u)return void o();const n=new IntersectionObserver((n=>{n[n.length-1].isIntersecting?a().catch((()=>{})):o()}),{threshold:.5});return n.observe(i.current),()=>{n.disconnect()}}),[i,a,o,u]),v(E,null,n&&v("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},v(dn,null)),e&&v("button",{"aria-label":t&&t.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var dn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>v("div",{class:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),pn=x((function(n,e){let o="class",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:d,onReadyState:p,poster:y,sources:m,src:b,style:g,[o]:w}=n,C=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(q));!function(){const{notify:n}=X();j((()=>{n&&n()}))}();const{playable:E}=X(),M=function(n){const{loading:e}=X();return function(n,e){const t=H[null!=n?n:"auto"]||0,r=H[null!=e?e:"auto"]||0,o=Math.max(t,r);return V[o]}(n,e)}(u),R="unload"!==M,[N,$]=h(a),[z,A]=h(!1),[x,U]=h(null),[F,J]=h(!a),W=S(null),_=S(null),D=k((()=>new L),[]),Z=S("loading"),G=tn(p),K=I(((n,e)=>{if(n!==Z.current){Z.current=n;const t=G.current;t&&t(n,e)}}),[G]),Q=tn(d),Y=I((n=>{A(n);const e=Q.current;e&&e(n)}),[Q]);j((()=>{R||Y(!1)}),[R,Y]);const nn=I((()=>D.promise.then((()=>function(n,e){const t=T((()=>n.play(!1)));return t.catch((n=>{B(0,n)})),t}(_.current)))),[D]),rn=I((()=>{D.promise.then((()=>{var n;return null===(n=_.current)||void 0===n?void 0:n.pause()}))}),[D]),on=I((()=>D.promise.then((()=>_.current.requestFullscreen()))),[D]),an=I((()=>{$(!1),J(!0)}),[]);return j((()=>{var n;const e=null===(n=_.current)||void 0===n?void 0:n.readyState;null!=e&&K(e>0?"complete":"loading")}),[K]),j((()=>(c&&z&&x&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(ln),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,x,nn,rn),()=>{})),[c,z,x,nn,rn]),O((()=>{E||rn()}),[E,rn]),P(e,(()=>({get readyState(){return Z.current},play:nn,pause:rn,requestFullscreen:on,get currentTime(){return _.current?_.current.currentTime:0},get duration(){return _.current?_.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:an,mute:()=>$(!0),unmute:()=>{F&&$(!1)}})),[nn,rn,on,an,F,a,i,s]),v(en,{contentRef:W,class:w,style:g,size:!0,layout:!0,paint:!0},R&&v(l,t(t({},C),{},{ref:_,loading:M,muted:N,loop:s,controls:i&&(!a||F),onCanPlay:()=>{D.resolve(),K("complete")},onLoadedMetadata:()=>{c&&D.promise.then((()=>{var n,e;U((n=_.current,t({"title":(e=C).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||un(document)||sn(document)||cn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),K("complete")},onPlaying:()=>Y(!0),onPause:()=>Y(!1),onEnded:()=>Y(!1),onError:n=>{K("error",n),D.reject(n)},class:"fill-stretch-c645120",src:b,poster:y}),m),a&&!F&&v(fn,{metadata:x,playing:z,displayIcon:!f&&N,wrapperRef:W,play:nn,pause:rn,displayOverlay:i,onOverlayClick:an}))}));pn.displayName="VideoWrapper";var yn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function vn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var bn=x((function(n,e){let{loading:o,unloadOnPause:a=!1,sandbox:l=mn,muted:i=!1,controls:u=!1,origin:s,onCanPlay:c,onMessage:f,playerStateRef:d,makeMethodMessage:p,makeFullscreenMessage:y,onIframeLoad:m}=n,b=r(n,yn);const g=S(null),w=k((()=>new L),[]),h=S(p),O=I((n=>{vn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),C=S(y),E=I((()=>vn(null==g?void 0:g.current,w.promise,C.current)),[w.promise]);P(e,(()=>({get currentTime(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:()=>{if(!C.current)return w.promise.then((()=>{g.current.requestFullscreen()}));E()},play:()=>O("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else O("pause")}})),[d,O,E,w.promise,a]);const M=function(n){const e=S(null);return e.current=n,e}(f);return j((()=>{if(!g.current)return;function n(n){M.current&&(s&&!s.test(n.origin)||n.source!=g.current.contentWindow||M.current({currentTarget:g.current,target:g.current,data:n.data}))}const{defaultView:e}=g.current.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[s,M]),j((()=>{O(i?"mute":"unmute")}),[i,O]),j((()=>{O(u?"showControls":"hideControls")}),[u,O]),v("iframe",t(t({},b),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==m||m(n)}}))}));bn.displayName="VideoIframeInternal";var gn=x((function(n,e){return v(pn,t(t({ref:e},n),{},{component:bn}))}));function wn(n,e){return JSON.stringify({"command":n,"parameters":e})}gn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var hn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Sn(n){switch(n){case"mute":return wn("muted",[!0]);case"unmute":return wn("muted",[!1]);case"showControls":return wn("controls",[!0]);case"hideControls":return wn("controls",[!1]);default:return wn(n)}}function On({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=d.exec(n);){const n=p(t[1],t[1]),r=t[2]?p(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?f(n,"pause"):"play"===r?f(n,"playing"):"end"===r?(f(n,"pause"),f(n,"end")):"apiready"===r&&f(n,"canplay")}function jn(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:c,uiHighlight:f,uiLogo:d,videoId:p}=n,y=r(n,hn);const m=k((()=>function(n,e,r=!1,a=!0,l=!0,i=!1,u=!0,s,c,f=!0,d){return function(n,e,t){if(!e)return n;const r=n.split("#",2),o=r[0].split("?",2);let a=o[0]+(o[1]?`?${o[1]}&${e}`:`?${e}`);return a+=r[1]?`#${r[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(n){const e=[];for(const l in n){let i=n[l];if(null!=i){i=o(a=i)?a:[a];for(let n=0;n<i.length;n++)e.push((t=l,r=i[n],`${encodeURIComponent(t)}=${encodeURIComponent(r)}`))}}var t,r,a;return e.join("&")}(t({"endscreen-enable":a?void 0:a,"info":l?void 0:l,"mute":i||r&&Q(n)?1:void 0,"sharing-enable":u?void 0:u,"start":s,"ui-highlight":c,"ui-logo":f?void 0:f},d)))}(window,p,a,l,i,u,s,c,f,d)),[p,a,l,i,u,s,c,f,d]);return v(gn,t(t({autoplay:a,controls:!0,ref:e},y),{},{src:m,makeMethodMessage:Sn,onMessage:On}))}var Cn=x(jn);Cn.displayName="BentoDailymotion";export{Cn as BentoDailymotion,jn as BentoDailymotionWithRef}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -1,2 +0,2 @@ | ||
var n=Object.create,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,i=function(n){return e(n,"__esModule",{value:!0})},a=function(a){return function(n,o,i){if(o&&"object"==typeof o||"function"==typeof o)for(var a,l=t(o),c=0,f=l.length;c<f;c++)a=l[c],u.call(n,a)||"default"===a||e(n,a,{get:function(n){return o[n]}.bind(null,a),enumerable:!(i=r(o,a))||i.enumerable});return n}(i(e(null!=a?n(o(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function l(n,e,r){return e in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function c(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function f(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){l(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function s(n,e){if(null==n)return{};var r,t,o={},u=Object.keys(n);for(t=0;t<u.length;t++)r=u[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}!function(n,r){for(var t in i(n),r)e(n,t,{get:r[t],enumerable:!0})}(exports,{BentoDailymotion:function(){return On},BentoDailymotionWithRef:function(){return jn}});var v=Array.isArray;function d(n){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function m(n,e){if(n){if("string"==typeof n)return p(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(n,e):void 0}}function y(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(r)return(r=r.call(n)).next.bind(r);if(Array.isArray(n)||(r=m(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var t=0;return function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}}}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 b=Object.prototype;function g(n){var e=Object.create(null);return n&&Object.assign(e,n),e}b.hasOwnProperty,b.toString;var w={bubbles:!0,cancelable:!0};function h(n,e,r,t){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=t||w,a=i.bubbles,l=i.cancelable;u.initEvent(e,a,l),n.dispatchEvent(u)}var j=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function O(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return e}}a(require("react-dom"));var S=a(require("react")),N=a(require("react"));function I(n){return n.children}var C=a(require("react")),k=function(){var n=this;this.promise=new Promise((function(e,r){n.resolve=e,n.reject=r}))};function E(n){return new Promise((function(e){e(n())}))}var q,P=a(require("react"));function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,u=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(u.push(t.value),!e||u.length!==e);i=!0);}catch(n){a=!0,o=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return u}}(n,e)||m(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}var M,z=["auto","lazy","eager","unload"],x=(l(q={},"auto",0),l(q,"lazy",1),l(q,"eager",2),l(q,"unload",3),q);function T(n){var e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;var r=n.message,t=n.stack,o=new Error(r);for(var u in n)o[u]=n[u];return o.stack=t,o}function U(n){for(var e,r=null,t="",o=y(arguments,!0);!(e=o()).done;){var u=e.value;u instanceof Error&&!r?r=T(u):(t&&(t+=" "),t+=u)}return r?t&&(r.message=t+": "+r.message):r=new Error(t),r}function L(n){var e,r;null===(e=(r=self).__AMP_REPORT_ERROR)||void 0===e||e.call(r,n)}function F(n){var e=U.apply(null,arguments);return e.expected=!0,e}var B=["Webkit","webkit","Moz","moz","ms","O","o"];function D(n,e,r,t,o){var u=function(n,e,r){if(V(e))return e;M||(M=g());var t=M[e];if(!t||r){if(t=e,void 0===n[e]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),u=function(n,e){for(var r=0;r<B.length;r++){var t=B[r]+e;if(void 0!==n[t])return t}return""}(n,o);void 0!==n[u]&&(t=u)}r||(M[e]=t)}return t}(n.style,e,o);if(u){var i=t?r+t:r;V(u)?n.style.setProperty(u,i):n.style[u]=i}}function V(n){return n.startsWith("--")}function W(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var e,r=n.document.createElement("video");return r.setAttribute("muted",""),r.setAttribute("playsinline",""),r.setAttribute("webkit-playsinline",""),r.setAttribute("height","0"),r.setAttribute("width","0"),r.muted=!0,r.playsInline=!0,r.playsinline=!0,r.webkitPlaysinline=!0,function(n,e){for(var r in e)D(n,r,e[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),e=r,E((function(){return e.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}var _,J=a(require("react")),Y=a(require("react"));function $(){var n=_||(_=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,N.useContext)(n)}var H=[null,"paint","layout","content","size","size paint","size layout","strict"],Z={"position":"relative","width":"100%","height":"100%"},G=(0,Y.forwardRef)((function(n,e){var r="className",t=n.as,o=void 0===t?"div":t,u=n.children,i=n.contentAs,a=void 0===i?"div":i,l=n.contentClassName,c=n.contentProps,v=n.contentRef,d=n.contentStyle,p=n.layout,m=void 0!==p&&p,y=n.paint,b=void 0!==y&&y,g=n.size,w=void 0!==g&&g,h=n.style,j=n.wrapperClassName,O=n.wrapperStyle,N=n[r],I=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(A)),C=(w?4:0)+(m?2:0)+(b?1:0);return S.createElement(o,f(f({},I),{},{ref:e,className:"".concat(N||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:H[C]})}),S.createElement(a,f(f({},c),{},{ref:v,className:l,style:f(f({},w&&Z),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function K(n){var e=(0,N.useRef)(null);return e.current=n,e}(0,a(require("react")).forwardRef)((function(n,e){var r="className",t=n.as,o=void 0===t?"div":t,u=n.children,i=n.style,a=n.wrapperClassName,l=n.wrapperStyle,c=n[r],v=s(n,["as","children","style","wrapperClassName","wrapperStyle",r].map(A));return S.createElement(o,f(f({},v),{},{ref:e,className:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var Q=self.AMP_CONFIG||{},X=("string"==typeof Q.thirdPartyFrameRegex?new RegExp(Q.thirdPartyFrameRegex):Q.thirdPartyFrameRegex,("string"==typeof Q.cdnProxyRegex?new RegExp(Q.cdnProxyRegex):Q.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function nn(n){if(!self.document||!self.document.head)return null;if(self.location&&X.test(self.location.origin))return null;var e=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return e&&e.getAttribute("content")||null}Q.thirdPartyUrl,Q.thirdPartyFrameHost,Q.cdnUrl||nn("runtime-host"),Q.errorReportingUrl,Q.betaErrorReportingUrl,Q.localDev,Q.geoApiUrl||nn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var en={"title":"","artist":"","album":"","artwork":[{"src":""}]};function rn(n){var e=n.querySelector('script[type="application/ld+json"]');if(e){var r=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);if(r&&r.image)return"string"==typeof r.image?r.image:r.image["@list"]&&"string"==typeof r.image["@list"][0]?r.image["@list"][0]:"string"==typeof r.image.url?r.image.url:"string"==typeof r.image[0]?r.image[0]:void 0}}function tn(n){var e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function on(n){var e=n.displayIcon,r=n.displayOverlay,t=n.metadata,o=n.onOverlayClick,u=n.pause,i=n.play,a=n.playing,l=n.wrapperRef,c=$().playable;return(0,N.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?i().catch((function(){})):u()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}u()}),[l,i,u,c]),S.createElement(I,null,e&&S.createElement("div",{className:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},S.createElement(cn,null)),r&&S.createElement("button",{"aria-label":t&&t.title||"Unmute video",tabIndex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var un,an,ln,cn=(un=!1,an=null,ln=function(){return[1,2,3,4].map((function(n){return S.createElement("div",{className:"eq-col-0be5b4b",key:n})}))},function(){if(!un){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];an=ln.apply(self,e),un=!0,ln=null}return an}),fn=(0,J.forwardRef)((function(n,e){var r,t="className",o=n.autoplay,u=void 0!==o&&o,i=n.component,a=void 0===i?"video":i,l=n.controls,c=void 0!==l&&l,v=n.loading,d=n.loop,p=void 0!==d&&d,m=n.mediasession,y=void 0===m||m,b=n.noaudio,g=void 0!==b&&b,w=n.onPlayingState,h=n.onReadyState,j=n.poster,O=n.sources,I=n.src,C=n.style,q=n[t],P=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",t].map(A));r=$().notify,(0,N.useLayoutEffect)((function(){r&&r()}));var M=$().playable,T=function(n){var e,r,t,o=$().loading;return e=x[n]||0,r=x[o]||0,t=Math.max(e,r),z[t]}(v),U="unload"!==T,B=R((0,N.useState)(u),2),D=B[0],V=B[1],W=R((0,N.useState)(!1),2),_=W[0],J=W[1],Y=R((0,N.useState)(null),2),H=Y[0],Z=Y[1],Q=R((0,N.useState)(!u),2),X=Q[0],nn=Q[1],un=(0,N.useRef)(null),an=(0,N.useRef)(null),ln=(0,N.useMemo)((function(){return new k}),[]),cn=(0,N.useRef)("loading"),fn=K(h),sn=(0,N.useCallback)((function(n,e){if(n!==cn.current){cn.current=n;var r=fn.current;r&&r(n,e)}}),[fn]),vn=K(w),dn=(0,N.useCallback)((function(n){J(n);var e=vn.current;e&&e(n)}),[vn]);(0,N.useLayoutEffect)((function(){U||dn(!1)}),[U,dn]);var pn=(0,N.useCallback)((function(){return ln.promise.then((function(){return n=an.current,(e=E((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),t=1;t<e;t++)r[t-1]=arguments[t];L(F.apply(null,r))}("TRYPLAY",n)})),e;var n,e}))}),[ln]),mn=(0,N.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=an.current)||void 0===n?void 0:n.pause()}))}),[ln]),yn=(0,N.useCallback)((function(){return ln.promise.then((function(){return an.current.requestFullscreen()}))}),[ln]),bn=(0,N.useCallback)((function(){V(!1),nn(!0)}),[]);return(0,N.useLayoutEffect)((function(){var n,e=null===(n=an.current)||void 0===n?void 0:n.readyState;null!=e&&sn(e>0?"complete":"loading")}),[sn]),(0,N.useLayoutEffect)((function(){return y&&_&&H&&function(n,e,r,t){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(en),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",t))}(window,H,pn,mn),function(){}}),[y,_,H,pn,mn]),(0,N.useEffect)((function(){M||mn()}),[M,mn]),(0,N.useImperativeHandle)(e,(function(){return{get readyState(){return cn.current},play:pn,pause:mn,requestFullscreen:yn,get currentTime(){return an.current?an.current.currentTime:0},get duration(){return an.current?an.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:bn,mute:function(){return V(!0)},unmute:function(){X&&V(!1)}}}),[pn,mn,yn,bn,X,u,c,p]),S.createElement(G,{contentRef:un,className:q,style:C,size:!0,layout:!0,paint:!0},U&&S.createElement(a,f(f({},P),{},{ref:an,loading:T,muted:D,loop:p,controls:c&&(!u||X),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){y&&ln.promise.then((function(){var n,e,r,t;Z((n=an.current,f({"title":(e=P).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||rn(document)||(r=document,t=r.querySelector('meta[property="og:image"]'),t?t.getAttribute("content"):void 0)||tn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return dn(!0)},onPause:function(){return dn(!1)},onEnded:function(){return dn(!1)},onError:function(n){sn("error",n),ln.reject(n)},className:"fill-stretch-c645120",src:I,poster:j}),O),u&&!X&&S.createElement(on,{metadata:H,playing:_,displayIcon:!g&&D,wrapperRef:un,play:pn,pause:mn,displayOverlay:c,onOverlayClick:bn}))}));fn.displayName="VideoWrapper";var sn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],vn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function dn(n,e,r){n&&n.contentWindow&&e.then((function(){n.contentWindow.postMessage(r(),"*")}))}var pn=(0,P.forwardRef)((function(n,e){var r=n.loading,t=n.unloadOnPause,o=void 0!==t&&t,u=n.sandbox,i=void 0===u?vn:u,a=n.muted,l=void 0!==a&&a,c=n.controls,v=void 0!==c&&c,d=n.origin,p=n.onCanPlay,m=n.onMessage,y=n.playerStateRef,b=n.makeMethodMessage,g=n.makeFullscreenMessage,w=n.onIframeLoad,h=s(n,sn),j=(0,N.useRef)(null),O=(0,N.useMemo)((function(){return new k}),[]),I=(0,N.useRef)(b),C=(0,N.useCallback)((function(n){dn(null==j?void 0:j.current,O.promise,(function(){return I.current(n)}))}),[O.promise]),E=(0,N.useRef)(g),q=(0,N.useCallback)((function(){return dn(null==j?void 0:j.current,O.promise,E.current)}),[O.promise]);(0,N.useImperativeHandle)(e,(function(){return{get currentTime(){var n,e;return null!==(n=null==y||null===(e=y.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==y||null===(e=y.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!E.current)return O.promise.then((function(){j.current.requestFullscreen()}));q()},play:function(){return C("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else C("pause")}}}),[y,C,q,O.promise,o]);var P=function(n){var e=(0,N.useRef)(null);return e.current=n,e}(m);return(0,N.useLayoutEffect)((function(){if(j.current){var n=j.current.ownerDocument.defaultView;return n.addEventListener("message",e),function(){return n.removeEventListener("message",e)}}function e(n){P.current&&(d&&!d.test(n.origin)||n.source!=j.current.contentWindow||P.current({currentTarget:j.current,target:j.current,data:n.data}))}}),[d,P]),(0,N.useLayoutEffect)((function(){C(l?"mute":"unmute")}),[l,C]),(0,N.useLayoutEffect)((function(){C(v?"showControls":"hideControls")}),[v,C]),S.createElement("iframe",f(f({},h),{},{ref:j,allowfullscreen:!0,frameborder:"0",sandbox:i,loading:r,onCanPlay:function(){p&&O.promise.then(p),O.resolve()},onLoad:function(n){null==w||w(n)}}))}));pn.displayName="VideoIframeInternal";var mn=(0,P.forwardRef)((function(n,e){return S.createElement(fn,f(f({ref:e},n),{},{component:pn}))}));function yn(n,e){return function(n,e,r){if(!e)return n;var t=n.split("#",2),o=t[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(e):"?".concat(e))+(t[1]?"#".concat(t[1]):"")}(n,function(n){var e,r,t,o=[];for(var u in n){var i=n[u];if(null!=i){i=v(t=i)?t:[t];for(var a=0;a<i.length;a++)o.push((e=u,r=i[a],"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(r))))}}return o.join("&")}(e))}function bn(n,e){return JSON.stringify({"command":n,"parameters":e})}mn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var gn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function wn(n){switch(n){case"mute":return bn("muted",[!0]);case"unmute":return bn("muted",[!1]);case"showControls":return bn("controls",[!0]);case"hideControls":return bn("controls",[!1]);default:return bn(n)}}function hn(n){var e=n.currentTarget,r=function(n){var e,r=g();if(!n)return r;for(;e=j.exec(n);){var t=O(e[1],e[1]),o=e[2]?O(e[2].replace(/\+/g," "),e[2]):"";r[t]=o}return r}(n.data),t=null==r?void 0:r.event;"pause"===t?h(e,"pause"):"play"===t?h(e,"playing"):"end"===t?(h(e,"pause"),h(e,"end")):"apiready"===t&&h(e,"canplay")}function jn(n,e){var r=n.autoplay,t=n.endscreenEnable,o=n.info,u=n.mute,i=n.sharingEnable,a=n.start,l=n.uiHighlight,c=n.uiLogo,v=n.videoId,d=s(n,gn),p=(0,N.useMemo)((function(){return function(n,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],a=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return yn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(e),"?api=1&html=1&app=amp"),f({"endscreen-enable":t?void 0:t,"info":o?void 0:o,"mute":u||r&&W(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c},s))}(window,v,r,t,o,u,i,a,l,c)}),[v,r,t,o,u,i,a,l,c]);return S.createElement(mn,f(f({autoplay:r,controls:!0,ref:e},d),{},{src:p,makeMethodMessage:wn,onMessage:hn}))}var On=(0,C.forwardRef)(jn);On.displayName="BentoDailymotion"; | ||
var n=Object.create,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,i=function(n){return e(n,"__esModule",{value:!0})},a=function(a){return function(n,o,i){if(o&&"object"==typeof o||"function"==typeof o)for(var a,l=t(o),c=0,f=l.length;c<f;c++)a=l[c],u.call(n,a)||"default"===a||e(n,a,{get:function(n){return o[n]}.bind(null,a),enumerable:!(i=r(o,a))||i.enumerable});return n}(i(e(null!=a?n(o(a)):{},"default",a&&a.__esModule&&"default"in a?{get:function(){return a.default},enumerable:!0}:{value:a,enumerable:!0})),a)};function l(n,e,r){return e in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function c(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function f(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){l(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function s(n,e){if(null==n)return{};var r,t,o={},u=Object.keys(n);for(t=0;t<u.length;t++)r=u[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}!function(n,r){for(var t in i(n),r)e(n,t,{get:r[t],enumerable:!0})}(exports,{BentoDailymotion:function(){return On},BentoDailymotionWithRef:function(){return jn}});var v=Array.isArray;function d(n){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function m(n,e){if(n){if("string"==typeof n)return p(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(n,e):void 0}}function y(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(r)return(r=r.call(n)).next.bind(r);if(Array.isArray(n)||(r=m(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var t=0;return function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}}}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 b=Object.prototype;function g(n){var e=Object.create(null);return n&&Object.assign(e,n),e}b.hasOwnProperty,b.toString;var w={bubbles:!0,cancelable:!0};function h(n,e,r,t){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=t||w,a=i.bubbles,l=i.cancelable;u.initEvent(e,a,l),n.dispatchEvent(u)}var j=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function O(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return e}}a(require("react-dom"));var S=a(require("react")),N=a(require("react"));function I(n){return n.children}var C=a(require("react")),k=function(){var n=this;this.promise=new Promise((function(e,r){n.resolve=e,n.reject=r}))};function E(n){return new Promise((function(e){e(n())}))}var q,P=a(require("react"));function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,u=[],i=!0,a=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(u.push(t.value),!e||u.length!==e);i=!0);}catch(n){a=!0,o=n}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return u}}(n,e)||m(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}var M,z=["auto","lazy","eager","unload"],x=(l(q={},"auto",0),l(q,"lazy",1),l(q,"eager",2),l(q,"unload",3),q);function T(n){var e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;var r=n.message,t=n.stack,o=new Error(r);for(var u in n)o[u]=n[u];return o.stack=t,o}function U(n){for(var e,r=null,t="",o=y(arguments,!0);!(e=o()).done;){var u=e.value;u instanceof Error&&!r?r=T(u):(t&&(t+=" "),t+=u)}return r?t&&(r.message=t+": "+r.message):r=new Error(t),r}function L(n){var e,r;null===(e=(r=self).__AMP_REPORT_ERROR)||void 0===e||e.call(r,n)}function F(n){var e=U.apply(null,arguments);return e.expected=!0,e}var B=["Webkit","webkit","Moz","moz","ms","O","o"];function D(n,e,r,t,o){var u=function(n,e,r){if(V(e))return e;M||(M=g());var t=M[e];if(!t||r){if(t=e,void 0===n[e]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),u=function(n,e){for(var r=0;r<B.length;r++){var t=B[r]+e;if(void 0!==n[t])return t}return""}(n,o);void 0!==n[u]&&(t=u)}r||(M[e]=t)}return t}(n.style,e,o);if(u){var i=t?r+t:r;V(u)?n.style.setProperty(u,i):n.style[u]=i}}function V(n){return n.startsWith("--")}function W(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var e,r=n.document.createElement("video");return r.setAttribute("muted",""),r.setAttribute("playsinline",""),r.setAttribute("webkit-playsinline",""),r.setAttribute("height","0"),r.setAttribute("width","0"),r.muted=!0,r.playsInline=!0,r.playsinline=!0,r.webkitPlaysinline=!0,function(n,e){for(var r in e)D(n,r,e[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),e=r,E((function(){return e.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}var _,J=a(require("react")),Y=a(require("react"));function $(){var n=_||(_=(0,S.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,N.useContext)(n)}var H=[null,"paint","layout","content","size","size paint","size layout","strict"],Z={"position":"relative","width":"100%","height":"100%"},G=(0,Y.forwardRef)((function(n,e){var r="className",t=n.as,o=void 0===t?"div":t,u=n.children,i=n.contentAs,a=void 0===i?"div":i,l=n.contentClassName,c=n.contentProps,v=n.contentRef,d=n.contentStyle,p=n.layout,m=void 0!==p&&p,y=n.paint,b=void 0!==y&&y,g=n.size,w=void 0!==g&&g,h=n.style,j=n.wrapperClassName,O=n.wrapperStyle,N=n[r],I=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(A)),C=(w?4:0)+(m?2:0)+(b?1:0);return S.createElement(o,f(f({},I),{},{ref:e,className:"".concat(N||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:H[C]})}),S.createElement(a,f(f({},c),{},{ref:v,className:l,style:f(f({},w&&Z),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function K(n){var e=(0,N.useRef)(null);return e.current=n,e}(0,a(require("react")).forwardRef)((function(n,e){var r="className",t=n.as,o=void 0===t?"div":t,u=n.children,i=n.style,a=n.wrapperClassName,l=n.wrapperStyle,c=n[r],v=s(n,["as","children","style","wrapperClassName","wrapperStyle",r].map(A));return S.createElement(o,f(f({},v),{},{ref:e,className:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var Q=self.AMP_CONFIG||{},X=("string"==typeof Q.thirdPartyFrameRegex?new RegExp(Q.thirdPartyFrameRegex):Q.thirdPartyFrameRegex,("string"==typeof Q.cdnProxyRegex?new RegExp(Q.cdnProxyRegex):Q.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function nn(n){if(!self.document||!self.document.head)return null;if(self.location&&X.test(self.location.origin))return null;var e=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return e&&e.getAttribute("content")||null}Q.thirdPartyUrl,Q.thirdPartyFrameHost,Q.cdnUrl||nn("runtime-host"),Q.errorReportingUrl,Q.betaErrorReportingUrl,Q.localDev,Q.geoApiUrl||nn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var en={"title":"","artist":"","album":"","artwork":[{"src":""}]};function rn(n){var e=n.querySelector('script[type="application/ld+json"]');if(e){var r=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);if(r&&r.image)return"string"==typeof r.image?r.image:r.image["@list"]&&"string"==typeof r.image["@list"][0]?r.image["@list"][0]:"string"==typeof r.image.url?r.image.url:"string"==typeof r.image[0]?r.image[0]:void 0}}function tn(n){var e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function on(n){var e=n.displayIcon,r=n.displayOverlay,t=n.metadata,o=n.onOverlayClick,u=n.pause,i=n.play,a=n.playing,l=n.wrapperRef,c=$().playable;return(0,N.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?i().catch((function(){})):u()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}u()}),[l,i,u,c]),S.createElement(I,null,e&&S.createElement("div",{className:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},S.createElement(cn,null)),r&&S.createElement("button",{"aria-label":t&&t.title||"Unmute video",tabIndex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var un,an,ln,cn=(un=!1,an=null,ln=function(){return[1,2,3,4].map((function(n){return S.createElement("div",{className:"eq-col-0be5b4b",key:n})}))},function(){if(!un){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];an=ln.apply(self,e),un=!0,ln=null}return an}),fn=(0,J.forwardRef)((function(n,e){var r,t="className",o=n.autoplay,u=void 0!==o&&o,i=n.component,a=void 0===i?"video":i,l=n.controls,c=void 0!==l&&l,v=n.loading,d=n.loop,p=void 0!==d&&d,m=n.mediasession,y=void 0===m||m,b=n.noaudio,g=void 0!==b&&b,w=n.onPlayingState,h=n.onReadyState,j=n.poster,O=n.sources,I=n.src,C=n.style,q=n[t],P=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",t].map(A));r=$().notify,(0,N.useLayoutEffect)((function(){r&&r()}));var M=$().playable,T=function(n){var e,r,t,o,u,i=$().loading;return t=x[null!=(e=n)?e:"auto"]||0,o=x[null!=(r=i)?r:"auto"]||0,u=Math.max(t,o),z[u]}(v),U="unload"!==T,B=R((0,N.useState)(u),2),D=B[0],V=B[1],W=R((0,N.useState)(!1),2),_=W[0],J=W[1],Y=R((0,N.useState)(null),2),H=Y[0],Z=Y[1],Q=R((0,N.useState)(!u),2),X=Q[0],nn=Q[1],un=(0,N.useRef)(null),an=(0,N.useRef)(null),ln=(0,N.useMemo)((function(){return new k}),[]),cn=(0,N.useRef)("loading"),fn=K(h),sn=(0,N.useCallback)((function(n,e){if(n!==cn.current){cn.current=n;var r=fn.current;r&&r(n,e)}}),[fn]),vn=K(w),dn=(0,N.useCallback)((function(n){J(n);var e=vn.current;e&&e(n)}),[vn]);(0,N.useLayoutEffect)((function(){U||dn(!1)}),[U,dn]);var pn=(0,N.useCallback)((function(){return ln.promise.then((function(){return n=an.current,(e=E((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),t=1;t<e;t++)r[t-1]=arguments[t];L(F.apply(null,r))}("TRYPLAY",n)})),e;var n,e}))}),[ln]),mn=(0,N.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=an.current)||void 0===n?void 0:n.pause()}))}),[ln]),yn=(0,N.useCallback)((function(){return ln.promise.then((function(){return an.current.requestFullscreen()}))}),[ln]),bn=(0,N.useCallback)((function(){V(!1),nn(!0)}),[]);return(0,N.useLayoutEffect)((function(){var n,e=null===(n=an.current)||void 0===n?void 0:n.readyState;null!=e&&sn(e>0?"complete":"loading")}),[sn]),(0,N.useLayoutEffect)((function(){return y&&_&&H&&function(n,e,r,t){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(en),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",t))}(window,H,pn,mn),function(){}}),[y,_,H,pn,mn]),(0,N.useEffect)((function(){M||mn()}),[M,mn]),(0,N.useImperativeHandle)(e,(function(){return{get readyState(){return cn.current},play:pn,pause:mn,requestFullscreen:yn,get currentTime(){return an.current?an.current.currentTime:0},get duration(){return an.current?an.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:bn,mute:function(){return V(!0)},unmute:function(){X&&V(!1)}}}),[pn,mn,yn,bn,X,u,c,p]),S.createElement(G,{contentRef:un,className:q,style:C,size:!0,layout:!0,paint:!0},U&&S.createElement(a,f(f({},P),{},{ref:an,loading:T,muted:D,loop:p,controls:c&&(!u||X),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){y&&ln.promise.then((function(){var n,e,r,t;Z((n=an.current,f({"title":(e=P).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||rn(document)||(r=document,t=r.querySelector('meta[property="og:image"]'),t?t.getAttribute("content"):void 0)||tn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return dn(!0)},onPause:function(){return dn(!1)},onEnded:function(){return dn(!1)},onError:function(n){sn("error",n),ln.reject(n)},className:"fill-stretch-c645120",src:I,poster:j}),O),u&&!X&&S.createElement(on,{metadata:H,playing:_,displayIcon:!g&&D,wrapperRef:un,play:pn,pause:mn,displayOverlay:c,onOverlayClick:bn}))}));fn.displayName="VideoWrapper";var sn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],vn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function dn(n,e,r){n&&n.contentWindow&&e.then((function(){n.contentWindow.postMessage(r(),"*")}))}var pn=(0,P.forwardRef)((function(n,e){var r=n.loading,t=n.unloadOnPause,o=void 0!==t&&t,u=n.sandbox,i=void 0===u?vn:u,a=n.muted,l=void 0!==a&&a,c=n.controls,v=void 0!==c&&c,d=n.origin,p=n.onCanPlay,m=n.onMessage,y=n.playerStateRef,b=n.makeMethodMessage,g=n.makeFullscreenMessage,w=n.onIframeLoad,h=s(n,sn),j=(0,N.useRef)(null),O=(0,N.useMemo)((function(){return new k}),[]),I=(0,N.useRef)(b),C=(0,N.useCallback)((function(n){dn(null==j?void 0:j.current,O.promise,(function(){return I.current(n)}))}),[O.promise]),E=(0,N.useRef)(g),q=(0,N.useCallback)((function(){return dn(null==j?void 0:j.current,O.promise,E.current)}),[O.promise]);(0,N.useImperativeHandle)(e,(function(){return{get currentTime(){var n,e;return null!==(n=null==y||null===(e=y.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==y||null===(e=y.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!E.current)return O.promise.then((function(){j.current.requestFullscreen()}));q()},play:function(){return C("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else C("pause")}}}),[y,C,q,O.promise,o]);var P=function(n){var e=(0,N.useRef)(null);return e.current=n,e}(m);return(0,N.useLayoutEffect)((function(){if(j.current){var n=j.current.ownerDocument.defaultView;return n.addEventListener("message",e),function(){return n.removeEventListener("message",e)}}function e(n){P.current&&(d&&!d.test(n.origin)||n.source!=j.current.contentWindow||P.current({currentTarget:j.current,target:j.current,data:n.data}))}}),[d,P]),(0,N.useLayoutEffect)((function(){C(l?"mute":"unmute")}),[l,C]),(0,N.useLayoutEffect)((function(){C(v?"showControls":"hideControls")}),[v,C]),S.createElement("iframe",f(f({},h),{},{ref:j,allowfullscreen:!0,frameborder:"0",sandbox:i,loading:r,onCanPlay:function(){p&&O.promise.then(p),O.resolve()},onLoad:function(n){null==w||w(n)}}))}));pn.displayName="VideoIframeInternal";var mn=(0,P.forwardRef)((function(n,e){return S.createElement(fn,f(f({ref:e},n),{},{component:pn}))}));function yn(n,e){return function(n,e,r){if(!e)return n;var t=n.split("#",2),o=t[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(e):"?".concat(e))+(t[1]?"#".concat(t[1]):"")}(n,function(n){var e,r,t,o=[];for(var u in n){var i=n[u];if(null!=i){i=v(t=i)?t:[t];for(var a=0;a<i.length;a++)o.push((e=u,r=i[a],"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(r))))}}return o.join("&")}(e))}function bn(n,e){return JSON.stringify({"command":n,"parameters":e})}mn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var gn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function wn(n){switch(n){case"mute":return bn("muted",[!0]);case"unmute":return bn("muted",[!1]);case"showControls":return bn("controls",[!0]);case"hideControls":return bn("controls",[!1]);default:return bn(n)}}function hn(n){var e=n.currentTarget,r=function(n){var e,r=g();if(!n)return r;for(;e=j.exec(n);){var t=O(e[1],e[1]),o=e[2]?O(e[2].replace(/\+/g," "),e[2]):"";r[t]=o}return r}(n.data),t=null==r?void 0:r.event;"pause"===t?h(e,"pause"):"play"===t?h(e,"playing"):"end"===t?(h(e,"pause"),h(e,"end")):"apiready"===t&&h(e,"canplay")}function jn(n,e){var r=n.autoplay,t=n.endscreenEnable,o=n.info,u=n.mute,i=n.sharingEnable,a=n.start,l=n.uiHighlight,c=n.uiLogo,v=n.videoId,d=s(n,gn),p=(0,N.useMemo)((function(){return function(n,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],a=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return yn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(e),"?api=1&html=1&app=amp"),f({"endscreen-enable":t?void 0:t,"info":o?void 0:o,"mute":u||r&&W(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c},s))}(window,v,r,t,o,u,i,a,l,c)}),[v,r,t,o,u,i,a,l,c]);return S.createElement(mn,f(f({autoplay:r,controls:!0,ref:e},d),{},{src:p,makeMethodMessage:wn,onMessage:hn}))}var On=(0,C.forwardRef)(jn);On.displayName="BentoDailymotion"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -258,4 +258,4 @@ var __create = Object.create; | ||
function reducer(v1, v2) { | ||
var ordinal1 = MAP[v1] || 0; | ||
var ordinal2 = MAP[v2] || 0; | ||
var ordinal1 = MAP[v1 != null ? v1 : Loading_Enum.AUTO] || 0; | ||
var ordinal2 = MAP[v2 != null ? v2 : Loading_Enum.AUTO] || 0; | ||
var ordinal = Math.max(ordinal1, ordinal2); | ||
@@ -487,3 +487,3 @@ return ORDER[ordinal]; | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
var import_compat = __toModule(require("react")); | ||
@@ -519,3 +519,3 @@ | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
function _extends() { | ||
@@ -522,0 +522,0 @@ _extends = Object.assign || function(target) { |
@@ -220,4 +220,4 @@ // src/core/mode/minified.js | ||
function reducer(v1, v2) { | ||
const ordinal1 = MAP[v1] || 0; | ||
const ordinal2 = MAP[v2] || 0; | ||
const ordinal1 = MAP[v1 != null ? v1 : Loading_Enum.AUTO] || 0; | ||
const ordinal2 = MAP[v2 != null ? v2 : Loading_Enum.AUTO] || 0; | ||
const ordinal = Math.max(ordinal1, ordinal2); | ||
@@ -404,3 +404,3 @@ return ORDER[ordinal]; | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
import { forwardRef } from "react"; | ||
@@ -440,3 +440,3 @@ | ||
// src/preact/component/contain.js | ||
// src/preact/component/contain.jsx | ||
function _extends() { | ||
@@ -443,0 +443,0 @@ _extends = Object.assign || function(target) { |
@@ -1,2 +0,2 @@ | ||
function n(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function e(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function r(n,e){if(null==n)return{};var t,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)t=a[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{isArray:o}=Array;function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function l(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=function(n,e){if(n){if("string"==typeof n)return a(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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{hasOwnProperty:i,toString:u}=Object.prototype;function s(n){const e=Object.create(null);return n&&Object.assign(e,n),e}var c={bubbles:!0,cancelable:!0};function f(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||c;a.initEvent(e,l,i),n.dispatchEvent(a)}var d=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function p(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as m,render as y}from"react-dom";import{createElement as v,cloneElement as b,createRef as g,createContext as w}from"react";import{useState as h,useRef as O,useEffect as S,useLayoutEffect as j,useContext as N,useMemo as C,useCallback as I,useImperativeHandle as R}from"react";function k(n){return n.children}import{forwardRef as P}from"react";var E=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function M(n){return new Promise((e=>{e(n())}))}import{forwardRef as $}from"react";function z(n){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function A(n){var e=function(n,e){if("object"!==z(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===z(e)?e:String(e)}var x,L=["auto","lazy","eager","unload"],T={auto:0,lazy:1,eager:2,unload:3};function U(n){const e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;const{message:t,stack:r}=n,o=new Error(t);for(const e in n)o[e]=n[e];return o.stack=r,o}function q(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=U(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function F(n){const e=q.apply(null,arguments);return e.expected=!0,e}function V(n,...e){var t,r,o;t=F.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var H,J=["Webkit","webkit","Moz","moz","ms","O","o"];function W(n,e,t,r,o){const a=function(n,e,t){if(B(e))return e;x||(x=s());let r=x[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<J.length;t++){const r=J[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(x[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;B(a)?n.style.setProperty(a,l):n.style[a]=l}function B(n){return n.startsWith("--")}function D(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){const e=n.document.createElement("video");var t;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,e){for(const t in e)W(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,M((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}import{forwardRef as Z}from"react";import{forwardRef as _}from"react";function G(){const n=H||(H=w({renderable:!0,playable:!0,loading:"auto"}));return N(n)}var K=[null,"paint","layout","content","size","size paint","size layout","strict"],Q={"position":"relative","width":"100%","height":"100%"},X=_((function(n,e){let o="className",{as:a="div",children:l,contentAs:i="div",contentClassName:u,contentProps:s,contentRef:c,contentStyle:f,layout:d=!1,paint:p=!1,size:m=!1,"style":y,wrapperClassName:b,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(A));const O=(m?4:0)+(d?2:0)+(p?1:0);return v(a,t(t({},h),{},{ref:e,className:`${w||""} ${b||""}`.trim()||null,style:t(t(t({},y),g),{},{contain:K[O]})}),v(i,t(t({},s),{},{ref:c,className:u,style:t(t({},m&&Q),{},{"overflow":p?"hidden":"visible"},f)}),l))}));import{forwardRef as Y}from"react";function nn(n){const e=O(null);return e.current=n,e}Y((function(n,e){let o="className",{as:a="div",children:l,"style":i,wrapperClassName:u,wrapperStyle:s,[o]:c}=n,f=r(n,["as","children","style","wrapperClassName","wrapperStyle",o].map(A));return v(a,t(t({},f),{},{ref:e,className:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var en=self.AMP_CONFIG||{},tn=("string"==typeof en.thirdPartyFrameRegex?new RegExp(en.thirdPartyFrameRegex):en.thirdPartyFrameRegex,("string"==typeof en.cdnProxyRegex?new RegExp(en.cdnProxyRegex):en.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function rn(n){if(!self.document||!self.document.head)return null;if(self.location&&tn.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}en.thirdPartyUrl,en.thirdPartyFrameHost,en.cdnUrl||rn("runtime-host"),en.errorReportingUrl,en.betaErrorReportingUrl,en.localDev,en.geoApiUrl||rn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var on={"title":"","artist":"","album":"","artwork":[{"src":""}]};function an(n){const e=n.querySelector('script[type="application/ld+json"]');if(!e)return;const t=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);return t&&t.image?"string"==typeof t.image?t.image:t.image["@list"]&&"string"==typeof t.image["@list"][0]?t.image["@list"][0]:"string"==typeof t.image.url?t.image.url:"string"==typeof t.image[0]?t.image[0]:void 0:void 0}function ln(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function un(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function sn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=G();return S((()=>{if(!u)return void o();const n=new IntersectionObserver((n=>{n[n.length-1].isIntersecting?a().catch((()=>{})):o()}),{threshold:.5});return n.observe(i.current),()=>{n.disconnect()}}),[i,a,o,u]),v(k,null,n&&v("div",{className:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},v(cn,null)),e&&v("button",{"aria-label":t&&t.title||"Unmute video",tabIndex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var cn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>v("div",{className:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),fn=Z((function(n,e){let o="className",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:d,onReadyState:p,poster:m,sources:y,src:b,style:g,[o]:w}=n,N=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(A));!function(){const{notify:n}=G();j((()=>{n&&n()}))}();const{playable:k}=G(),P=function(n){const{loading:e}=G();return function(n,e){const t=T[n]||0,r=T[e]||0,o=Math.max(t,r);return L[o]}(n,e)}(u),$="unload"!==P,[z,x]=h(a),[U,q]=h(!1),[F,H]=h(null),[J,W]=h(!a),B=O(null),D=O(null),Z=C((()=>new E),[]),_=O("loading"),K=nn(p),Q=I(((n,e)=>{if(n!==_.current){_.current=n;const t=K.current;t&&t(n,e)}}),[K]),Y=nn(d),en=I((n=>{q(n);const e=Y.current;e&&e(n)}),[Y]);j((()=>{$||en(!1)}),[$,en]);const tn=I((()=>Z.promise.then((()=>function(n,e){const t=M((()=>n.play(!1)));return t.catch((n=>{V(0,n)})),t}(D.current)))),[Z]),rn=I((()=>{Z.promise.then((()=>{var n;return null===(n=D.current)||void 0===n?void 0:n.pause()}))}),[Z]),cn=I((()=>Z.promise.then((()=>D.current.requestFullscreen()))),[Z]),fn=I((()=>{x(!1),W(!0)}),[]);return j((()=>{var n;const e=null===(n=D.current)||void 0===n?void 0:n.readyState;null!=e&&Q(e>0?"complete":"loading")}),[Q]),j((()=>(c&&U&&F&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(on),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,F,tn,rn),()=>{})),[c,U,F,tn,rn]),S((()=>{k||rn()}),[k,rn]),R(e,(()=>({get readyState(){return _.current},play:tn,pause:rn,requestFullscreen:cn,get currentTime(){return D.current?D.current.currentTime:0},get duration(){return D.current?D.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:fn,mute:()=>x(!0),unmute:()=>{J&&x(!1)}})),[tn,rn,cn,fn,J,a,i,s]),v(X,{contentRef:B,className:w,style:g,size:!0,layout:!0,paint:!0},$&&v(l,t(t({},N),{},{ref:D,loading:P,muted:z,loop:s,controls:i&&(!a||J),onCanPlay:()=>{Z.resolve(),Q("complete")},onLoadedMetadata:()=>{c&&Z.promise.then((()=>{var n,e;H((n=D.current,t({"title":(e=N).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||an(document)||ln(document)||un(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),Q("complete")},onPlaying:()=>en(!0),onPause:()=>en(!1),onEnded:()=>en(!1),onError:n=>{Q("error",n),Z.reject(n)},className:"fill-stretch-c645120",src:b,poster:m}),y),a&&!J&&v(sn,{metadata:F,playing:U,displayIcon:!f&&z,wrapperRef:B,play:tn,pause:rn,displayOverlay:i,onOverlayClick:fn}))}));fn.displayName="VideoWrapper";var dn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],pn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function mn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var yn=$((function(n,e){let{loading:o,unloadOnPause:a=!1,sandbox:l=pn,muted:i=!1,controls:u=!1,origin:s,onCanPlay:c,onMessage:f,playerStateRef:d,makeMethodMessage:p,makeFullscreenMessage:m,onIframeLoad:y}=n,b=r(n,dn);const g=O(null),w=C((()=>new E),[]),h=O(p),S=I((n=>{mn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),N=O(m),k=I((()=>mn(null==g?void 0:g.current,w.promise,N.current)),[w.promise]);R(e,(()=>({get currentTime(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:()=>{if(!N.current)return w.promise.then((()=>{g.current.requestFullscreen()}));k()},play:()=>S("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else S("pause")}})),[d,S,k,w.promise,a]);const P=function(n){const e=O(null);return e.current=n,e}(f);return j((()=>{if(!g.current)return;function n(n){P.current&&(s&&!s.test(n.origin)||n.source!=g.current.contentWindow||P.current({currentTarget:g.current,target:g.current,data:n.data}))}const{defaultView:e}=g.current.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[s,P]),j((()=>{S(i?"mute":"unmute")}),[i,S]),j((()=>{S(u?"showControls":"hideControls")}),[u,S]),v("iframe",t(t({},b),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==y||y(n)}}))}));yn.displayName="VideoIframeInternal";var vn=$((function(n,e){return v(fn,t(t({ref:e},n),{},{component:yn}))}));function bn(n,e){return JSON.stringify({"command":n,"parameters":e})}vn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var gn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function wn(n){switch(n){case"mute":return bn("muted",[!0]);case"unmute":return bn("muted",[!1]);case"showControls":return bn("controls",[!0]);case"hideControls":return bn("controls",[!1]);default:return bn(n)}}function hn({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=d.exec(n);){const n=p(t[1],t[1]),r=t[2]?p(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?f(n,"pause"):"play"===r?f(n,"playing"):"end"===r?(f(n,"pause"),f(n,"end")):"apiready"===r&&f(n,"canplay")}function On(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:c,uiHighlight:f,uiLogo:d,videoId:p}=n,m=r(n,gn);const y=C((()=>function(n,e,r=!1,a=!0,l=!0,i=!1,u=!0,s,c,f=!0,d){return function(n,e,t){if(!e)return n;const r=n.split("#",2),o=r[0].split("?",2);let a=o[0]+(o[1]?`?${o[1]}&${e}`:`?${e}`);return a+=r[1]?`#${r[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(n){const e=[];for(const l in n){let i=n[l];if(null!=i){i=o(a=i)?a:[a];for(let n=0;n<i.length;n++)e.push((t=l,r=i[n],`${encodeURIComponent(t)}=${encodeURIComponent(r)}`))}}var t,r,a;return e.join("&")}(t({"endscreen-enable":a?void 0:a,"info":l?void 0:l,"mute":i||r&&D(n)?1:void 0,"sharing-enable":u?void 0:u,"start":s,"ui-highlight":c,"ui-logo":f?void 0:f},d)))}(window,p,a,l,i,u,s,c,f,d)),[p,a,l,i,u,s,c,f,d]);return v(vn,t(t({autoplay:a,controls:!0,ref:e},m),{},{src:y,makeMethodMessage:wn,onMessage:hn}))}var Sn=P(On);Sn.displayName="BentoDailymotion";export{Sn as BentoDailymotion,On as BentoDailymotionWithRef}; | ||
function n(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function e(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))}))}return t}function r(n,e){if(null==n)return{};var t,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)t=a[r],e.indexOf(t)>=0||(o[t]=n[t]);return o}var{isArray:o}=Array;function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function l(n,e){var t="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=function(n,e){if(n){if("string"==typeof n)return a(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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{hasOwnProperty:i,toString:u}=Object.prototype;function s(n){const e=Object.create(null);return n&&Object.assign(e,n),e}var c={bubbles:!0,cancelable:!0};function f(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||c;a.initEvent(e,l,i),n.dispatchEvent(a)}var d=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function p(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as m,render as y}from"react-dom";import{createElement as v,cloneElement as b,createRef as g,createContext as w}from"react";import{useState as h,useRef as O,useEffect as S,useLayoutEffect as j,useContext as N,useMemo as C,useCallback as I,useImperativeHandle as R}from"react";function k(n){return n.children}import{forwardRef as P}from"react";var E=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function M(n){return new Promise((e=>{e(n())}))}import{forwardRef as $}from"react";function z(n){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function A(n){var e=function(n,e){if("object"!==z(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===z(e)?e:String(e)}var x,L=["auto","lazy","eager","unload"],T={auto:0,lazy:1,eager:2,unload:3};function U(n){const e=Object.getOwnPropertyDescriptor(n,"message");if(null!=e&&e.writable)return n;const{message:t,stack:r}=n,o=new Error(t);for(const e in n)o[e]=n[e];return o.stack=r,o}function q(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=U(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function F(n){const e=q.apply(null,arguments);return e.expected=!0,e}function V(n,...e){var t,r,o;t=F.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var H,J=["Webkit","webkit","Moz","moz","ms","O","o"];function W(n,e,t,r,o){const a=function(n,e,t){if(B(e))return e;x||(x=s());let r=x[e];if(!r||t){if(r=e,void 0===n[e]){const t=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(e),o=function(n,e){for(let t=0;t<J.length;t++){const r=J[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(x[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;B(a)?n.style.setProperty(a,l):n.style[a]=l}function B(n){return n.startsWith("--")}function D(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){const e=n.document.createElement("video");var t;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,e){for(const t in e)W(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,M((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}import{forwardRef as Z}from"react";import{forwardRef as _}from"react";function G(){const n=H||(H=w({renderable:!0,playable:!0,loading:"auto"}));return N(n)}var K=[null,"paint","layout","content","size","size paint","size layout","strict"],Q={"position":"relative","width":"100%","height":"100%"},X=_((function(n,e){let o="className",{as:a="div",children:l,contentAs:i="div",contentClassName:u,contentProps:s,contentRef:c,contentStyle:f,layout:d=!1,paint:p=!1,size:m=!1,"style":y,wrapperClassName:b,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(A));const O=(m?4:0)+(d?2:0)+(p?1:0);return v(a,t(t({},h),{},{ref:e,className:`${w||""} ${b||""}`.trim()||null,style:t(t(t({},y),g),{},{contain:K[O]})}),v(i,t(t({},s),{},{ref:c,className:u,style:t(t({},m&&Q),{},{"overflow":p?"hidden":"visible"},f)}),l))}));import{forwardRef as Y}from"react";function nn(n){const e=O(null);return e.current=n,e}Y((function(n,e){let o="className",{as:a="div",children:l,"style":i,wrapperClassName:u,wrapperStyle:s,[o]:c}=n,f=r(n,["as","children","style","wrapperClassName","wrapperStyle",o].map(A));return v(a,t(t({},f),{},{ref:e,className:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var en=self.AMP_CONFIG||{},tn=("string"==typeof en.thirdPartyFrameRegex?new RegExp(en.thirdPartyFrameRegex):en.thirdPartyFrameRegex,("string"==typeof en.cdnProxyRegex?new RegExp(en.cdnProxyRegex):en.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function rn(n){if(!self.document||!self.document.head)return null;if(self.location&&tn.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}en.thirdPartyUrl,en.thirdPartyFrameHost,en.cdnUrl||rn("runtime-host"),en.errorReportingUrl,en.betaErrorReportingUrl,en.localDev,en.geoApiUrl||rn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var on={"title":"","artist":"","album":"","artwork":[{"src":""}]};function an(n){const e=n.querySelector('script[type="application/ld+json"]');if(!e)return;const t=function(n,e){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(e.textContent);return t&&t.image?"string"==typeof t.image?t.image:t.image["@list"]&&"string"==typeof t.image["@list"][0]?t.image["@list"][0]:"string"==typeof t.image.url?t.image.url:"string"==typeof t.image[0]?t.image[0]:void 0:void 0}function ln(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function un(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function sn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=G();return S((()=>{if(!u)return void o();const n=new IntersectionObserver((n=>{n[n.length-1].isIntersecting?a().catch((()=>{})):o()}),{threshold:.5});return n.observe(i.current),()=>{n.disconnect()}}),[i,a,o,u]),v(k,null,n&&v("div",{className:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},v(cn,null)),e&&v("button",{"aria-label":t&&t.title||"Unmute video",tabIndex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var cn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>v("div",{className:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),fn=Z((function(n,e){let o="className",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:d,onReadyState:p,poster:m,sources:y,src:b,style:g,[o]:w}=n,N=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(A));!function(){const{notify:n}=G();j((()=>{n&&n()}))}();const{playable:k}=G(),P=function(n){const{loading:e}=G();return function(n,e){const t=T[null!=n?n:"auto"]||0,r=T[null!=e?e:"auto"]||0,o=Math.max(t,r);return L[o]}(n,e)}(u),$="unload"!==P,[z,x]=h(a),[U,q]=h(!1),[F,H]=h(null),[J,W]=h(!a),B=O(null),D=O(null),Z=C((()=>new E),[]),_=O("loading"),K=nn(p),Q=I(((n,e)=>{if(n!==_.current){_.current=n;const t=K.current;t&&t(n,e)}}),[K]),Y=nn(d),en=I((n=>{q(n);const e=Y.current;e&&e(n)}),[Y]);j((()=>{$||en(!1)}),[$,en]);const tn=I((()=>Z.promise.then((()=>function(n,e){const t=M((()=>n.play(!1)));return t.catch((n=>{V(0,n)})),t}(D.current)))),[Z]),rn=I((()=>{Z.promise.then((()=>{var n;return null===(n=D.current)||void 0===n?void 0:n.pause()}))}),[Z]),cn=I((()=>Z.promise.then((()=>D.current.requestFullscreen()))),[Z]),fn=I((()=>{x(!1),W(!0)}),[]);return j((()=>{var n;const e=null===(n=D.current)||void 0===n?void 0:n.readyState;null!=e&&Q(e>0?"complete":"loading")}),[Q]),j((()=>(c&&U&&F&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(on),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,F,tn,rn),()=>{})),[c,U,F,tn,rn]),S((()=>{k||rn()}),[k,rn]),R(e,(()=>({get readyState(){return _.current},play:tn,pause:rn,requestFullscreen:cn,get currentTime(){return D.current?D.current.currentTime:0},get duration(){return D.current?D.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:fn,mute:()=>x(!0),unmute:()=>{J&&x(!1)}})),[tn,rn,cn,fn,J,a,i,s]),v(X,{contentRef:B,className:w,style:g,size:!0,layout:!0,paint:!0},$&&v(l,t(t({},N),{},{ref:D,loading:P,muted:z,loop:s,controls:i&&(!a||J),onCanPlay:()=>{Z.resolve(),Q("complete")},onLoadedMetadata:()=>{c&&Z.promise.then((()=>{var n,e;H((n=D.current,t({"title":(e=N).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||an(document)||ln(document)||un(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),Q("complete")},onPlaying:()=>en(!0),onPause:()=>en(!1),onEnded:()=>en(!1),onError:n=>{Q("error",n),Z.reject(n)},className:"fill-stretch-c645120",src:b,poster:m}),y),a&&!J&&v(sn,{metadata:F,playing:U,displayIcon:!f&&z,wrapperRef:B,play:tn,pause:rn,displayOverlay:i,onOverlayClick:fn}))}));fn.displayName="VideoWrapper";var dn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],pn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function mn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var yn=$((function(n,e){let{loading:o,unloadOnPause:a=!1,sandbox:l=pn,muted:i=!1,controls:u=!1,origin:s,onCanPlay:c,onMessage:f,playerStateRef:d,makeMethodMessage:p,makeFullscreenMessage:m,onIframeLoad:y}=n,b=r(n,dn);const g=O(null),w=C((()=>new E),[]),h=O(p),S=I((n=>{mn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),N=O(m),k=I((()=>mn(null==g?void 0:g.current,w.promise,N.current)),[w.promise]);R(e,(()=>({get currentTime(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:NaN},get duration(){var n,e;return null!==(n=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==n?n:NaN},requestFullscreen:()=>{if(!N.current)return w.promise.then((()=>{g.current.requestFullscreen()}));k()},play:()=>S("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else S("pause")}})),[d,S,k,w.promise,a]);const P=function(n){const e=O(null);return e.current=n,e}(f);return j((()=>{if(!g.current)return;function n(n){P.current&&(s&&!s.test(n.origin)||n.source!=g.current.contentWindow||P.current({currentTarget:g.current,target:g.current,data:n.data}))}const{defaultView:e}=g.current.ownerDocument;return e.addEventListener("message",n),()=>e.removeEventListener("message",n)}),[s,P]),j((()=>{S(i?"mute":"unmute")}),[i,S]),j((()=>{S(u?"showControls":"hideControls")}),[u,S]),v("iframe",t(t({},b),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==y||y(n)}}))}));yn.displayName="VideoIframeInternal";var vn=$((function(n,e){return v(fn,t(t({ref:e},n),{},{component:yn}))}));function bn(n,e){return JSON.stringify({"command":n,"parameters":e})}vn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var gn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function wn(n){switch(n){case"mute":return bn("muted",[!0]);case"unmute":return bn("muted",[!1]);case"showControls":return bn("controls",[!0]);case"hideControls":return bn("controls",[!1]);default:return bn(n)}}function hn({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=d.exec(n);){const n=p(t[1],t[1]),r=t[2]?p(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?f(n,"pause"):"play"===r?f(n,"playing"):"end"===r?(f(n,"pause"),f(n,"end")):"apiready"===r&&f(n,"canplay")}function On(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:c,uiHighlight:f,uiLogo:d,videoId:p}=n,m=r(n,gn);const y=C((()=>function(n,e,r=!1,a=!0,l=!0,i=!1,u=!0,s,c,f=!0,d){return function(n,e,t){if(!e)return n;const r=n.split("#",2),o=r[0].split("?",2);let a=o[0]+(o[1]?`?${o[1]}&${e}`:`?${e}`);return a+=r[1]?`#${r[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(n){const e=[];for(const l in n){let i=n[l];if(null!=i){i=o(a=i)?a:[a];for(let n=0;n<i.length;n++)e.push((t=l,r=i[n],`${encodeURIComponent(t)}=${encodeURIComponent(r)}`))}}var t,r,a;return e.join("&")}(t({"endscreen-enable":a?void 0:a,"info":l?void 0:l,"mute":i||r&&D(n)?1:void 0,"sharing-enable":u?void 0:u,"start":s,"ui-highlight":c,"ui-logo":f?void 0:f},d)))}(window,p,a,l,i,u,s,c,f,d)),[p,a,l,i,u,s,c,f,d]);return v(vn,t(t({autoplay:a,controls:!0,ref:e},m),{},{src:y,makeMethodMessage:wn,onMessage:hn}))}var Sn=P(On);Sn.displayName="BentoDailymotion";export{Sn as BentoDailymotion,On as BentoDailymotionWithRef}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -1,2 +0,2 @@ | ||
var n=Object.defineProperty;function t(n,i){return(t=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,i)}function i(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),i&&t(n,i)}function r(n){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function u(n,t){if(t&&("object"===e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(n)}function l(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,e=r(n);if(t){var o=r(this).constructor;i=Reflect.construct(e,arguments,o)}else i=e.apply(this,arguments);return u(this,i)}}function a(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function f(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function c(n){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach((function(t){a(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}))}return n}function s(n,t){if(null==n)return{};var i,r,e={},o=Object.keys(n);for(r=0;r<o.length;r++)i=o[r],t.indexOf(i)>=0||(e[i]=n[i]);return e}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return kr}});var v=Array.isArray;function h(n){return v(n)?n:[n]}function d(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function p(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function b(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function m(n,t){if(n){if("string"==typeof n)return b(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?b(n,t):void 0}}function y(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=m(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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 g,w=Object.prototype,k=w.hasOwnProperty;function j(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function O(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function S(n){return 1==(null==n?void 0:n.nodeType)}function _(n,t,i,r,e,o,u,l,a,f,c){return n}function x(n){return(n.ownerDocument||n).defaultView}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function A(n){_(/^[\w-]+$/.test(n))}function M(n,t){if(void 0!==g?g:g=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n))return n.querySelector(P(t,":scope"));var i=function(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var e=P(t,".".concat(r)),o=n.querySelectorAll(e);return i.remove(r),o}(n,t)[0];return void 0===i?null:i}function q(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function R(n,t){return A(t),M(n,"> [".concat(t,"]"))}function z(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)!C(r)&&i.push(r);return i}(n)}function C(n){return"string"==typeof(t=n)?i=t:S(t)&&(i=t.tagName),!(!i||!i.toLowerCase().startsWith("i-"))||n.nodeType===Node.ELEMENT_NODE&&(n.hasAttribute("placeholder")||n.hasAttribute("fallback")||n.hasAttribute("overflow"));var t,i}w.toString;var I={bubbles:!0,cancelable:!0};function T(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function E(n,t,i,r){var e=i||{};_(n.ownerDocument);var o=n.ownerDocument.createEvent("Event");o.data=e;var u=r||I,l=u.bubbles,a=u.cancelable;o.initEvent(t,l,a),n.dispatchEvent(o)}var N,L=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function F(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}function V(){return N||(N=Promise.resolve(void 0))}var $,B,U,W,D,H,Y,Z=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))};function J(n){return new Promise((function(t){t(n())}))}var G,K,Q,X={},nn=[],tn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rn(n,t){for(var i in t)n[i]=t[i];return n}function en(n){var t=n.parentNode;t&&t.removeChild(n)}function on(n,t,i){var r,e,o,u={};for(o in t)"key"==o?r=t[o]:"ref"==o?e=t[o]:u[o]=t[o];if(arguments.length>2&&(u.children=arguments.length>3?$.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(o in n.defaultProps)void 0===u[o]&&(u[o]=n.defaultProps[o]);return un(n,u,r,e,null)}function un(n,t,i,r,e){var o={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++U:e};return null==e&&null!=B.vnode&&B.vnode(o),o}function ln(n){return n.children}function an(n,t){this.props=n,this.context=t}function fn(n,t){if(null==t)return n.__?fn(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fn(n):null}function cn(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return cn(n)}}function sn(n){(!n.__d&&(n.__d=!0)&&W.push(n)&&!vn.__r++||H!==B.debounceRendering)&&((H=B.debounceRendering)||D)(vn)}function vn(){for(var n;vn.__r=W.length;)n=W.sort((function(n,t){return n.__v.__b-t.__v.__b})),W=[],n.some((function(n){var t,i,r,e,o,u;n.__d&&(o=(e=(t=n).__v).__e,(u=t.__P)&&(i=[],(r=rn({},e)).__v=e.__v+1,wn(u,e,r,t.__n,void 0!==u.ownerSVGElement,null!=e.__h?[o]:null,i,null==o?fn(e):o,e.__h),kn(i,e),e.__e!=o&&cn(e)))}))}function hn(n,t,i,r,e,o,u,l,a,f){var c,s,v,h,d,p,b,m=r&&r.__k||nn,y=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?un(null,h,null,null,h):Array.isArray(h)?un(ln,{children:h},null,null,null):h.__b>0?un(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<y;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}wn(n,h,v=v||X,e,o,u,l,a,f),d=h.__e,(s=h.ref)&&v.ref!=s&&(b||(b=[]),v.ref&&b.push(v.ref,null,h),b.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=a=dn(h,a,n):a=pn(n,h,v,m,d,a),"function"==typeof i.type&&(i.__d=a)):a&&v.__e==a&&a.parentNode!=n&&(a=fn(v))}for(i.__e=p,c=y;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=fn(r,c+1)),On(m[c],m[c]));if(b)for(c=0;c<b.length;c++)jn(b[c],b[++c],b[++c])}function dn(n,t,i){for(var r,e=n.__k,o=0;e&&o<e.length;o++)(r=e[o])&&(r.__=n,t="function"==typeof r.type?dn(r,t,i):pn(i,r,r,e,r.__e,t));return t}function pn(n,t,i,r,e,o){var u,l,a;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==i||e!=o||null==e.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(e),u=null;else{for(l=o,a=0;(l=l.nextSibling)&&a<r.length;a+=2)if(l==e)break n;n.insertBefore(e,o),u=o}return void 0!==u?u:e.nextSibling}function bn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||tn.test(t)?i:i+"px"}function mn(n,t,i,r,e){var o;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||bn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||bn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+o]=i,i?r||n.addEventListener(t,o?gn:yn,o):n.removeEventListener(t,o?gn:yn,o);else if("dangerouslySetInnerHTML"!==t){if(e)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function yn(n){this.l[n.type+!1](B.event?B.event(n):n)}function gn(n){this.l[n.type+!0](B.event?B.event(n):n)}function wn(n,t,i,r,e,o,u,l,a){var f,c,s,v,h,d,p,b,m,y,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(a=i.__h,l=t.__e=i.__e,t.__h=null,o=[l]),(f=B.__b)&&f(t);try{n:if("function"==typeof w){if(b=t.props,m=(f=w.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(b,y):(t.__c=c=new an(b,y),c.constructor=w,c.render=Sn),m&&m.sub(c),c.props=b,c.state||(c.state={}),c.context=y,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=rn({},c.__s)),rn(c.__s,w.getDerivedStateFromProps(b,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,y)||t.__v===i.__v){c.props=b,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&u.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,y),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=y,c.props=b,c.state=c.__s,(f=B.__r)&&f(t),c.__d=!1,c.__v=t,c.__P=n,f=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=rn(rn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=f&&f.type===ln&&null==f.key?f.props.children:f,hn(n,Array.isArray(g)?g:[g],t,i,r,e,o,u,l,a),c.base=t.__e,t.__h=null,c.__h.length&&u.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==o&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,e,o,u,l){var a,f,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(e=!0),null!=o)for(;d<o.length;d++)if((a=o[d])&&(a===n||(h?a.localName==h:3==a.nodeType))){n=a,o[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=e?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),o=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(o=o&&$.call(n.childNodes),f=(s=i.props||X).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=o)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||f)&&(c&&(f&&c.__html==f.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,e){var o;for(o in i)"children"===o||"key"===o||o in t||mn(n,o,null,i[o],r);for(o in t)e&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||i[o]===t[o]||mn(n,o,t[o],i[o],r)}(n,v,s,e,l),c)t.__k=[];else if(d=t.props.children,hn(n,Array.isArray(d)?d:[d],t,i,r,e&&"foreignObject"!==h,o,u,o?o[0]:i.__k&&fn(i,0),l),null!=o)for(d=o.length;d--;)null!=o[d]&&en(o[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&mn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&mn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,e,o,u,a);(f=B.diffed)&&f(t)}catch(n){t.__v=null,(a||null!=o)&&(t.__e=l,t.__h=!!a,o[o.indexOf(l)]=null),B.__e(n,t,i)}}function kn(n,t){B.__c&&B.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){B.__e(n,t.__v)}}))}function jn(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){B.__e(n,i)}}function On(n,t,i){var r,e;if(B.unmount&&B.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||jn(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){B.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(e=0;e<r.length;e++)r[e]&&On(r[e],t,"function"!=typeof n.type);i||null==n.__e||en(n.__e),n.__e=n.__d=void 0}function Sn(n,t,i){return this.constructor(n,i)}function _n(n,t,i){var r,e,o;B.__&&B.__(n,t),e=(r="function"==typeof i)?null:i&&i.__k||t.__k,o=[],wn(t,n=(!r&&i||t).__k=on(ln,null,[n]),e||X,X,void 0!==t.ownerSVGElement,!r&&i?[i]:e?null:t.firstChild?$.call(t.childNodes):null,o,!r&&i?i:e?e.__e:t.firstChild,r),kn(o,n)}function xn(n,t){_n(n,t,xn)}$=nn.slice,B={__e:function(n,t){for(var i,r,e;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),e=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),e=i.__d),e)return i.__E=i}catch(t){n=t}throw n}},U=0,an.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=rn({},this.state),"function"==typeof n&&(n=n(rn({},i),this.props)),n&&rn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),sn(this))},an.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),sn(this))},an.prototype.render=ln,W=[],D="function"==typeof Promise?Promise.prototype.then.bind(V()):setTimeout,vn.__r=0,Y=0;var Pn=0,An=[],Mn=B.__b,qn=B.__r,Rn=B.diffed,zn=B.__c,Cn=B.unmount;function In(n,t){B.__h&&B.__h(K,n,Pn||t),Pn=0;var i=K.__H||(K.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Tn(n){return Pn=1,function(n,t,i){var r=In(G++,2);return r.t=n,r.__c||(r.__=[Yn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=K),r.__}(Yn,n)}function En(n,t){var i=In(G++,3);!B.__s&&Hn(i.__H,t)&&(i.__=n,i.__H=t,K.__H.__h.push(i))}function Nn(n,t){var i=In(G++,4);!B.__s&&Hn(i.__H,t)&&(i.__=n,i.__H=t,K.__h.push(i))}function Ln(n){return Pn=5,Vn((function(){return{current:n}}),[])}function Fn(n,t,i){Pn=6,Nn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Vn(n,t){var i=In(G++,7);return Hn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function $n(n,t){return Pn=8,Vn((function(){return n}),t)}function Bn(){An.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Wn),n.__H.__h.forEach(Dn),n.__H.__h=[]}catch(t){n.__H.__h=[],B.__e(t,n.__v)}})),An=[]}B.__b=function(n){K=null,Mn&&Mn(n)},B.__r=function(n){qn&&qn(n),G=0;var t=(K=n.__c).__H;t&&(t.__h.forEach(Wn),t.__h.forEach(Dn),t.__h=[])},B.diffed=function(n){Rn&&Rn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==An.push(t)&&Q===B.requestAnimationFrame||((Q=B.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Un&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Un&&(t=requestAnimationFrame(i))})(Bn)),K=null},B.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Wn),n.__h=n.__h.filter((function(n){return!n.__||Dn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],B.__e(i,n.__v)}})),zn&&zn(n,t)},B.unmount=function(n){Cn&&Cn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Wn)}catch(n){B.__e(n,t.__v)}};var Un="function"==typeof requestAnimationFrame;function Wn(n){var t=K;"function"==typeof n.__c&&n.__c(),K=t}function Dn(n){var t=K;n.__c=n.__(),K=t}function Hn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Yn(n,t){return"function"==typeof t?t(n):t}function Zn(n){return n.children}var Jn,Gn,Kn=["ref"],Qn="undefined"!=typeof Symbol&&(null===(Jn=Symbol.for)||void 0===Jn?void 0:Jn.call(Symbol,"react.forward_ref"))||3911,Xn=B.__b;function nt(n){function t(t){var i=t.ref,r=s(t,Kn);return n(r,i)}return t.$$typeof=Qn,t.render=t,t.prototype.isReactComponent=!0,t.v=!0,t}function tt(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,e,o=[],u=!0,l=!1;try{for(i=i.call(n);!(u=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);u=!0);}catch(n){l=!0,e=n}finally{try{u||null==i.return||i.return()}finally{if(l)throw e}}return o}}(n,t)||m(n,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 it(n){var t=function(n,t){if("object"!==e(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===e(t)?t:String(t)}B.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Xn||Xn(n)};var rt,et=["auto","lazy","eager","unload"],ot=(a(Gn={},"auto",0),a(Gn,"lazy",1),a(Gn,"eager",2),a(Gn,"unload",3),Gn);function ut(n,t){var i=ot[n]||0,r=ot[t]||0,e=Math.max(i,r);return et[e]}function lt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,e=new Error(i);for(var o in n)e[o]=n[o];return e.stack=r,e}function at(n){for(var t,i=null,r="",e=y(arguments,!0);!(t=e()).done;){var o=t.value;o instanceof Error&&!i?i=lt(o):(r&&(r+=" "),r+=o)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function ft(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ct(n){var t=at.apply(null,arguments);setTimeout((function(){throw ft(t),t}))}function st(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){ct(n)}}function vt(n){var t=at.apply(null,arguments);return t.expected=!0,t}var ht,dt=["Webkit","webkit","Moz","moz","ms","O","o"],pt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function bt(n,t,i,r,e){var o=function(n,t,i){if(mt(t))return t;rt||(rt=j());var r=rt[t];if(!r||i){if(r=t,void 0===n[t]){var e=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),o=function(n,t){for(var i=0;i<dt.length;i++){var r=dt[i]+t;if(void 0!==n[r])return r}return""}(n,e);void 0!==n[o]&&(r=o)}i||(rt[t]=r)}return r}(n.style,t,e);if(o){var u=r?i+r:i;mt(o)?n.style.setProperty(o,u):n.style[o]=u}}function mt(n){return n.startsWith("--")}function yt(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,i=n.document.createElement("video");return i.setAttribute("muted",""),i.setAttribute("playsinline",""),i.setAttribute("webkit-playsinline",""),i.setAttribute("height","0"),i.setAttribute("width","0"),i.muted=!0,i.playsInline=!0,i.playsinline=!0,i.webkitPlaysinline=!0,function(n,t){for(var i in t)bt(n,i,t[i])}(i,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=i,J((function(){return t.play()})).catch((function(){})),Promise.resolve(!i.paused)}(n)),n.__AMP_AUTOPLAY}function gt(){return ht||(t={__c:n="__cC"+Y++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(n,t){return n.children(t)},Provider:function(t){var i,r;return this.getChildContext||(i=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(sn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),t.children}},ht=t.Provider.__=t.Consumer.contextType=t);var n,t}function wt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,e=n.notify,o=n.playable,u=void 0===o||o,l=n.renderable,a=void 0===l||l,f=kt(),c=a&&f.renderable,s=c&&u&&f.playable,v=ut(c?"auto":"lazy",ut(r,f.loading)),h=e||f.notify,d=Vn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return on(gt().Provider,{children:t,value:d})}function kt(){var n,t,i;return n=gt(),t=K.context[n.__c],(i=In(G++,9)).c=n,t?(null==i.__&&(i.__=!0,t.sub(K)),t.props.value):n.__}var jt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={"position":"relative","width":"100%","height":"100%"},St=nt((function(n,t){var i="class",r=n.as,e=void 0===r?"div":r,o=n.children,u=n.contentAs,l=void 0===u?"div":u,a=n.contentClassName,f=n.contentProps,v=n.contentRef,h=n.contentStyle,d=n.layout,p=void 0!==d&&d,b=n.paint,m=void 0!==b&&b,y=n.size,g=void 0!==y&&y,w=n.style,k=n.wrapperClassName,j=n.wrapperStyle,O=n[i],S=(g?4:0)+(p?2:0)+(m?1:0);return on(e,c(c({},s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(it))),{},{ref:t,class:"".concat(O||""," ").concat(k||"").trim()||null,style:c(c(c({},w),j),{},{contain:jt[S]})}),on(l,c(c({},f),{},{ref:v,class:a,style:c(c({},g&&Ot),{},{"overflow":m?"hidden":"visible"},h)}),o))}));function _t(n){var t=Ln(null);return t.current=n,t}nt((function(n,t){var i="class",r=n.as,e=void 0===r?"div":r,o=n.children,u=n.style,l=n.wrapperClassName,a=n.wrapperStyle,f=n[i];return on(e,c(c({},s(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(it))),{},{ref:t,class:"".concat(f||""," ").concat(l||"").trim()||null,style:c(c({},u),a)}),o)}));var xt=self.AMP_CONFIG||{},Pt=("string"==typeof xt.thirdPartyFrameRegex?new RegExp(xt.thirdPartyFrameRegex):xt.thirdPartyFrameRegex,("string"==typeof xt.cdnProxyRegex?new RegExp(xt.cdnProxyRegex):xt.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function At(n){if(!self.document||!self.document.head)return null;if(self.location&&Pt.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}xt.thirdPartyUrl,xt.thirdPartyFrameHost,xt.cdnUrl||At("runtime-host"),xt.errorReportingUrl,xt.betaErrorReportingUrl,xt.localDev,xt.geoApiUrl||At("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Mt={"title":"","artist":"","album":"","artwork":[{"src":""}]};function qt(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var i=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(i&&i.image)return"string"==typeof i.image?i.image:i.image["@list"]&&"string"==typeof i.image["@list"][0]?i.image["@list"][0]:"string"==typeof i.image.url?i.image.url:"string"==typeof i.image[0]?i.image[0]:void 0}}function Rt(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function zt(n){var t=n.displayIcon,i=n.displayOverlay,r=n.metadata,e=n.onOverlayClick,o=n.pause,u=n.play,l=n.playing,a=n.wrapperRef,f=kt().playable;return En((function(){if(f){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?u().catch((function(){})):o()}),{threshold:.5});return n.observe(a.current),function(){n.disconnect()}}o()}),[a,u,o,f]),on(Zn,null,t&&on("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},on(Et,null)),i&&on("button",{"aria-label":r&&r.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:e}))}var Ct,It,Tt,Et=(Ct=!1,It=null,Tt=function(){return[1,2,3,4].map((function(n){return on("div",{class:"eq-col-0be5b4b",key:n})}))},function(){if(!Ct){for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];It=Tt.apply(self,t),Ct=!0,Tt=null}return It}),Nt=nt((function(n,t){var i,r="class",e=n.autoplay,o=void 0!==e&&e,u=n.component,l=void 0===u?"video":u,a=n.controls,f=void 0!==a&&a,v=n.loading,h=n.loop,d=void 0!==h&&h,p=n.mediasession,b=void 0===p||p,m=n.noaudio,y=void 0!==m&&m,g=n.onPlayingState,w=n.onReadyState,k=n.poster,j=n.sources,O=n.src,S=n.style,_=n[r],x=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(it));i=kt().notify,Nn((function(){i&&i()}));var P=kt().playable,A=function(n){return ut(n,kt().loading)}(v),M="unload"!==A,q=tt(Tn(o),2),R=q[0],z=q[1],C=tt(Tn(!1),2),I=C[0],T=C[1],E=tt(Tn(null),2),N=E[0],L=E[1],F=tt(Tn(!o),2),V=F[0],$=F[1],B=Ln(null),U=Ln(null),W=Vn((function(){return new Z}),[]),D=Ln("loading"),H=_t(w),Y=$n((function(n,t){if(n!==D.current){D.current=n;var i=H.current;i&&i(n,t)}}),[H]),G=_t(g),K=$n((function(n){T(n);var t=G.current;t&&t(n)}),[G]);Nn((function(){M||K(!1)}),[M,K]);var Q=$n((function(){return W.promise.then((function(){return n=U.current,(t=J((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];ft(vt.apply(null,i))}("TRYPLAY",n)})),t;var n,t}))}),[W]),X=$n((function(){W.promise.then((function(){var n;return null===(n=U.current)||void 0===n?void 0:n.pause()}))}),[W]),nn=$n((function(){return W.promise.then((function(){return U.current.requestFullscreen()}))}),[W]),tn=$n((function(){z(!1),$(!0)}),[]);return Nn((function(){var n,t=null===(n=U.current)||void 0===n?void 0:n.readyState;null!=t&&Y(t>0?"complete":"loading")}),[Y]),Nn((function(){return b&&I&&N&&function(n,t,i,r){var e=n.navigator;"mediaSession"in e&&n.MediaMetadata&&(e.mediaSession.metadata=new n.MediaMetadata(Mt),e.mediaSession.metadata=new n.MediaMetadata(t),e.mediaSession.setActionHandler("play",i),e.mediaSession.setActionHandler("pause",r))}(window,N,Q,X),function(){}}),[b,I,N,Q,X]),En((function(){P||X()}),[P,X]),Fn(t,(function(){return{get readyState(){return D.current},play:Q,pause:X,requestFullscreen:nn,get currentTime(){return U.current?U.current.currentTime:0},get duration(){return U.current?U.current.duration:NaN},get autoplay(){return o},get controls(){return f},get loop(){return d},userInteracted:tn,mute:function(){return z(!0)},unmute:function(){V&&z(!1)}}}),[Q,X,nn,tn,V,o,f,d]),on(St,{contentRef:B,class:_,style:S,size:!0,layout:!0,paint:!0},M&&on(l,c(c({},x),{},{ref:U,loading:A,muted:R,loop:d,controls:f&&(!o||V),onCanPlay:function(){W.resolve(),Y("complete")},onLoadedMetadata:function(){b&&W.promise.then((function(){var n,t,i,r;L((n=U.current,c({"title":(t=x).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||qt(document)||(i=document,r=i.querySelector('meta[property="og:image"]'),r?r.getAttribute("content"):void 0)||Rt(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),Y("complete")},onPlaying:function(){return K(!0)},onPause:function(){return K(!1)},onEnded:function(){return K(!1)},onError:function(n){Y("error",n),W.reject(n)},class:"fill-stretch-c645120",src:O,poster:k}),j),o&&!V&&on(zt,{metadata:N,playing:I,displayIcon:!y&&R,wrapperRef:B,play:Q,pause:X,displayOverlay:f,onOverlayClick:tn}))}));Nt.displayName="VideoWrapper";var Lt=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Ft=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Vt(n,t,i){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(i(),"*")}))}var $t=nt((function(n,t){var i=n.loading,r=n.unloadOnPause,e=void 0!==r&&r,o=n.sandbox,u=void 0===o?Ft:o,l=n.muted,a=void 0!==l&&l,f=n.controls,v=void 0!==f&&f,h=n.origin,d=n.onCanPlay,p=n.onMessage,b=n.playerStateRef,m=n.makeMethodMessage,y=n.makeFullscreenMessage,g=n.onIframeLoad,w=s(n,Lt),k=Ln(null),j=Vn((function(){return new Z}),[]),O=Ln(m),S=$n((function(n){Vt(null==k?void 0:k.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),_=Ln(y),x=$n((function(){return Vt(null==k?void 0:k.current,j.promise,_.current)}),[j.promise]);Fn(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==b||null===(t=b.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==b||null===(t=b.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!_.current)return j.promise.then((function(){k.current.requestFullscreen()}));x()},play:function(){return S("play")},pause:function(){if(e){var n=k.current;n&&(n.src=n.src)}else S("pause")}}}),[b,S,x,j.promise,e]);var P=function(n){var t=Ln(null);return t.current=n,t}(p);return Nn((function(){if(k.current){var n=k.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){P.current&&(h&&!h.test(n.origin)||n.source!=k.current.contentWindow||P.current({currentTarget:k.current,target:k.current,data:n.data}))}}),[h,P]),Nn((function(){S(a?"mute":"unmute")}),[a,S]),Nn((function(){S(v?"showControls":"hideControls")}),[v,S]),on("iframe",c(c({},w),{},{ref:k,allowfullscreen:!0,frameborder:"0",sandbox:u,loading:i,onCanPlay:function(){d&&j.promise.then(d),j.resolve()},onLoad:function(n){null==g||g(n)}}))}));$t.displayName="VideoIframeInternal";var Bt=nt((function(n,t){return on(Nt,c(c({ref:t},n),{},{component:$t}))}));function Ut(n,t){return function(n,t,i){if(!t)return n;var r=n.split("#",2),e=r[0].split("?",2);return e[0]+(e[1]?"?".concat(e[1],"&").concat(t):"?".concat(t))+(r[1]?"#".concat(r[1]):"")}(n,function(n){var t,i,r=[];for(var e in n){var o=n[e];if(null!=o){o=h(o);for(var u=0;u<o.length;u++)r.push((t=e,i=o[u],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(i))))}}return r.join("&")}(t))}function Wt(n,t){return JSON.stringify({"command":n,"parameters":t})}Bt.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Dt=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Ht(n){switch(n){case"mute":return Wt("muted",[!0]);case"unmute":return Wt("muted",[!1]);case"showControls":return Wt("controls",[!0]);case"hideControls":return Wt("controls",[!1]);default:return Wt(n)}}function Yt(n){var t=n.currentTarget,i=function(n){var t,i=j();if(!n)return i;for(;t=L.exec(n);){var r=F(t[1],t[1]),e=t[2]?F(t[2].replace(/\+/g," "),t[2]):"";i[r]=e}return i}(n.data),r=null==i?void 0:i.event;"pause"===r?E(t,"pause"):"play"===r?E(t,"playing"):"end"===r?(E(t,"pause"),E(t,"end")):"apiready"===r&&E(t,"canplay")}var Zt=nt((function(n,t){var i=n.autoplay,r=n.endscreenEnable,e=n.info,o=n.mute,u=n.sharingEnable,l=n.start,a=n.uiHighlight,f=n.uiLogo,v=n.videoId,h=s(n,Dt),d=Vn((function(){return function(n,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],e=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],l=arguments.length>7?arguments[7]:void 0,a=arguments.length>8?arguments[8]:void 0,f=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return Ut("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),c({"endscreen-enable":r?void 0:r,"info":e?void 0:e,"mute":o||i&&yt(n)?1:void 0,"sharing-enable":u?void 0:u,"start":l,"ui-highlight":a,"ui-logo":f?void 0:f},s))}(window,v,i,r,e,o,u,l,a,f)}),[v,i,r,e,o,u,l,a,f]);return on(Bt,c(c({autoplay:i,controls:!0,ref:t},h),{},{src:d,makeMethodMessage:Ht,onMessage:Yt}))}));function Jt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function Gt(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],e=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(e){var o=t(n,i,r);o&&Gt(n,t,i,o,!1)}else if(n.children)for(var u,l=y(n.children,!0);!(u=l()).done;){var a=u.value;Gt(a,t,i,r,!0)}}Zt.displayName="BentoDailymotion";var Kt=[],Qt=function(){},Xt=function(){function n(n){this.Nh=n,this.m=null,this.iv=null,this.rv=Jt(this.rv.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){_(t),_(void 0!==i);var r=n.key,e=this.m||(this.m=new Map),o=e.get(r);o||(o={values:[],setters:[]},e.set(r,o));var u=o.setters.indexOf(t),l=-1==u||o.values[u]!==i;-1==u?(o.setters.push(t),o.values.push(i)):l&&(o.values[u]=i),l&&(this.ping(n,!1),ri(n)&&Gt(this.Nh,ni,n,!0,!1))},t.remove=function(n,t){_(t);var i=n.key,r=this.m,e=null==r?void 0:r.get(i);if(e){_(r);var o=e.setters.indexOf(t);-1!=o&&(e.setters.splice(o,1),e.values.splice(o,1),0==e.setters.length&&r.delete(i),Gt(this.Nh,ni,n))}},t.has=function(n){var t;return!(null===(t=this.m)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.ev(n);if(d(i.subscribers,t)){var r=i.value;ei(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.iv)||void 0===i?void 0:i.get(n.key);r&&p(r.subscribers,t)&&this.ov(r)},t.ping=function(n,t){var i,r;null===(i=this.iv)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&Gt(this.Nh,ti,void 0,Kt)},t.rootUpdated=function(){var n=this,t=this.iv;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){ri(t.prop)&&n.uv(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ri(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.iv;return r&&r.forEach((function(r){var e=r.prop,o=e.key;-1==(i||n).indexOf(o)&&(t.ping(e,!0),t.Nh.children&&t.has(e)&&(i||(i=n.slice(0)),i.push(o)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.ev=function(n){var t=this,i=n.deps,r=n.key,e=this.iv||(this.iv=new Map),o=e.get(r);return o||(o={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(Qt):Kt,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;o.pending=Math.max(o.pending,i),t.rv()}},pingDep:i.length>0?i.map((function(n,t){return function(n){o.depValues[t]=n,o.ping()}})):Kt,pingParent:ri(n)?function(n){o.parentValue=n,o.ping()}:null},e.set(r,o),i.forEach((function(n,i){return t.subscribe(n,o.pingDep[i])})),o.ping(!1)),o},t.ov=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,e=n.prop,o=e.deps,u=e.key;null===(t=this.iv)||void 0===t||t.delete(u),this.uv(n,null),o.length>0&&o.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.rv=function(){var n=this;if(this.Fi()){var t=this.iv;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return ct("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.lv(t)}}))}while(i>0)}}},t.lv=function(n){var t,i=2==n.pending;try{t=this.av(n,i)}catch(n){ct(n)}n.pending=0,this.fv(n,t)},t.fv=function(n,t){var i=n.prop,r=n.value,e=i.key,o=this.iv;if(r!==t&&n===(null==o?void 0:o.get(e))&&this.Fi()){n.value=t;for(var u,l=y(n.subscribers,!0);!(u=l()).done;)(0,u.value)(t)}},t.av=function(n,t){var i,r;_(this.Fi());var e=n.depValues,o=n.prop,u=o.compute,l=o.defaultValue,a=o.key,f=null===(i=this.m)||void 0===i||null===(r=i.get(a))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(o,f);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,ii,o,!1):null;this.uv(n,s)}var v=ei(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(e.every(ei)&&(!c||ei(v))){var d=this.Nh.node;f&&!u?h=f[0]:ri(o)?f||e.length>0?h=function(n,t,i,r,e){switch(e.length){case 0:return n(t,i,r);case 1:return n(t,i,r,e[0]);case 2:return n(t,i,r,e[0],e[1]);case 3:return n(t,i,r,e[0],e[1],e[2]);default:return n.apply(null,[t,i,r].concat(e))}}(u,d,f||Kt,v,e):ei(v)&&(h=v):u&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(u,d,f||Kt,e))}return h},t.uv=function(n,t){var i=n.parentContextNode,r=n.pingParent,e=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,_(r),i&&i.values.unsubscribe(e,r),t&&(_(r),t.values.subscribe(e,r)))},n}();function ni(n,t){return n.values.scan(t)}function ti(n,t,i){return n.values.scanAll(i)}function ii(n,t){return n.values.has(t)}function ri(n){return!!n.recursive}function ei(n){return void 0!==n}var oi=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new Xt(this),this.cv=null,this.sv=!1,this.vv=Jt(this.hv.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,e=t.target;e.assignedNodes().forEach(ui),null===(i=n.closest(e))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(li)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var e=r,o=e.nodeType;if(9==o||11==o||S(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var u=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=u||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,ui(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,ui(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(li)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.vv():this.name&&this.children&&this.children.forEach(li)},t.isDiscoverable=function(){return!this.isRoot&&!this.sv},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.dv(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){_(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.cv)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var e=this.groups||(this.groups=new Map),o=this.children,u=new n(this.node,t);return e.set(t,{cn:u,match:i,weight:r}),u.setParent(this),null==o||o.forEach(li),u},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,e=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var o=i.cn,u=i.match,l=i.weight;u(n,t.node)&&l>e&&(r=o,e=l)})),r},t.subscribe=function(n,t,i,r){var e=this.cv||(this.cv=new Map),o=e.get(n);o||(o=new t(this,i,r),e.set(n,o))},t.unsubscribe=function(n){var t=this.cv,i=null==t?void 0:t.get(n);i&&(i.dispose(),_(t),t.delete(n))},t.hv=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.dv(i,!1)}},t.dv=function(n,t){var i;this.sv=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(_(r.children),p(r.children,this)),n){var e=n.children||(n.children=[]);d(e,this);for(var o,u=y(e,!0);!(o=u()).done;){var l=o.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function ui(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=oi.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var e,o=y(r.children,!0);!(e=o()).done;){var u=e.value;n.contains(u.node)&&t(u)}}(n,li)}function li(n){n.discover()}var ai=[];function fi(n,t){var i=c({key:n,deps:ai,recursive:!1},t);return _(0==i.deps.length||i.compute),i}var ci=[],si=function(){};function vi(n,t,i){t=h(t);var r=i;oi.get(n).subscribe(r,hi,i,t)}var hi=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.pv=t,this.bv=i,this.mv=i.length>0?i.map(si):ci,this.yv=i.length>0?i.map((function(n,t){return function(n){r.mv[t]=n,r.gv()}})):ci,this.Yn=!1,this.wv=null,this.gv=Jt(this.gv.bind(this),setTimeout),i.length>0){var e=this.contextNode.values;i.forEach((function(n,t){return e.subscribe(n,r.yv[t])}))}this.Fi()&&this.gv()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.bv.length>0){var t=this.contextNode.values;this.bv.forEach((function(i,r){return t.unsubscribe(i,n.yv[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.gv()},t.Fi=function(){return!!this.contextNode.root},t.gv=function(){this.Fi()&&(this.mv.every(di)?(this.Yn=!0,this.kv()):this.Yn&&(this.Yn=!1,this.Se()))},t.kv=function(){this.Se();var n=this.pv;this.wv=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.mv)},t.Se=function(){this.wv&&(st(this.wv),this.wv=null)},n}();function di(n){return void 0!==n}function pi(n){oi.get(n).discover()}function bi(n,t,i,r){oi.get(n).values.set(t,i,r)}function mi(n,t,i){oi.get(n).values.remove(t,i)}var yi=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,gi,"1")},t.resolveListQuery=function(n){return this.kt(n,wi,"")},t.complete=function(){for(var n in this._t)n in this.St||ki(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)ki(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(_(this._t),r=this._t[n]),r||ki(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,e=i.value;if(!r||r.matches)return e}return""}(r)},n}();function gi(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function wi(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,e;if(")"==t.charAt(t.length-1)){var o=1;for(e=t.length-2;e>=0;e--){var u=t.charAt(e);if("("==u?o--:")"==u&&o++,0==o)break}var l=e-1;if(e>0)for(e--;e>=0;e--){var a=t.charAt(e);if(!("%"==a||"-"==a||"_"==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}if(e>=l)return null}else for(e=t.length-2;e>=0;e--){var f=t.charAt(e);if(!("%"==f||"."==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}return e>=0?(i=t.substring(0,e+1).trim(),r=t.substring(e+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function ki(n,t,i){for(var r=0;r<n.length;r++){var e=n[r].query;e&&(void 0!==e.onchange?e.onchange=i?t:null:i?e.addListener(t):e.removeListener(t))}}var ji=/vertical/,Oi=new WeakMap,Si=new WeakMap,_i=new WeakMap;function xi(n){var t=Oi.get(n);return t||(t=new n.ResizeObserver(Pi),Oi.set(n,t)),t}function Pi(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],e=r.target;if(!t.has(e)){t.add(e);var o=Si.get(e);if(o){_i.set(e,r);for(var u=0;u<o.length;u++){var l=o[u],a=l.callback;Ai(l.type,a,r)}}}}}function Ai(n,t,i){if(0==n){var r=i.contentRect,e=r.height;st(t,{width:r.width,height:e})}else if(1==n){var o,u=i.borderBoxSize;if(u)o=u.length>0?u[0]:{inlineSize:0,blockSize:0};else{var l,a,f=i.target,c=x(f),s=ji.test(function(n,t){return n.getComputedStyle(t)||pt}(c,f).writingMode),v=f,h=v.offsetHeight,d=v.offsetWidth;s?(a=d,l=h):(l=d,a=h),o={inlineSize:l,blockSize:a}}st(t,o)}}var Mi,qi,Ri,zi=function(){function n(n){this.p=n,this.jc=!1,this.kc=!1,this.Oc=this.Oc.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.jc&&(this.jc=n,n?(this.kc=!1,function(n,t){!function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var e=Si.get(n);if(e||(e=[],Si.set(n,e),xi(r).observe(n)),!e.some((function(n){return n.callback===i&&1===n.type}))){e.push({type:1,callback:i});var o=_i.get(n);o&&setTimeout((function(){return Ai(1,i,o)}))}}}(n,0,t)}(this.p,this.Oc)):function(n,t){!function(n,t,i){var r=Si.get(n);if(r&&(function(n,t){for(var r=[],e=0,o=0;o<n.length;o++){var u=n[o];(l=u).callback===i&&1===l.type?r.push(u):(e<o&&(n[e]=u),e++)}var l;e<n.length&&(n.length=e)}(r),0==r.length)){Si.delete(n),_i.delete(n);var e=n.ownerDocument.defaultView;e&&xi(e).unobserve(n)}}(n,0,t)}(this.p,this.Oc))},t.Oc=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.kc){this.kc=i;var r=this.p;i||r.pause()}},n}();function Ci(n){if("object"!==("undefined"==typeof Reflect?"undefined":e(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}function Ii(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:self;return qi&&Ri===t||(qi=Ci((Ri=t).HTMLElement)),function(t){i(e,qi);var r=l(e);function e(){var t;return(t=r.call(this)).implementation=new n(o(t)),t}var u=e.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},e}()}Mi="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=x(n)}var t=n.prototype;return t.mutateElement=function(n){V().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var Ti=fi("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(Li)},compute:function(n,t,i){return i&&t.reduce(Li,!0)||!1}}),Ei=fi("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(Li)},deps:[Ti],compute:function(n,t,i,r){return r&&i&&t.reduce(Li,!0)||!1}}),Ni=fi("Loading",{defaultValue:"auto",recursive:!0,deps:[Ti],compute:function(n,t,i,r){return ut(r?"auto":"lazy",ut(i||"auto",t.reduce(ut,"auto")))}}),Li=function(n,t){return n&&t},Fi=function(n){return n.ensureLoaded()},Vi=function(n){return n.pause()},$i=function(n){return n.unmount()};function Bi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!1,Fi)}function Ui(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Vi)}function Wi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,$i)}function Di(n,t,i,r){for(var e=h(n),o=0;o<e.length;o++)Hi(e[o],t,i,r)}function Hi(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var e=n;if(st(r,e),!i){var o=e.getPlaceholder();return void(o&&Hi(o,!0,!1,r))}}for(var u=n.getElementsByClassName("i-amphtml-element"),l=null,a=0;a<u.length;a++){var f=u[a];if(i)st(r,f);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(f)){c=!0;break}c||(l.push(f),st(r,f))}}}var Yi={},Zi=new WeakMap;function Ji(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!r)return on(Gi,c(c({},i||Yi),{},{name:t}));var e=Zi.get(n);if(e&&O(e.oldProps,i))return e.component;function o(n){return on(Gi,c(c({},i||Yi),{},{name:t},n))}return Zi.set(n,{oldProps:i,component:o}),o}function Gi(n){var t=Ln(null);return function(n,t){var i=null==t?void 0:t.loading,r=kt();Nn((function(){var t=n.current;return _(S(t)),bi(t,Ti,Gi,r.renderable),bi(t,Ei,Gi,r.playable),bi(t,Ni,Gi,r.loading),r.playable||Ki(t,Ui,!0),function(){var n;mi(t,Ti,Gi),mi(t,Ei,Gi),mi(t,Ni,Gi),n=t,oi.rediscoverChildren(n)}}),[n,r]),Nn((function(){var t=n.current;return _(S(t)),"lazy"!=i&&Ki(t,Bi,!0),function(){Ki(t,Wi,!1)}}),[n,i])}(t,n),En((function(){n.postRender&&n.postRender()})),on("slot",c(c({},n),{},{ref:t}))}function Ki(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var e=n.ownerDocument.defaultView;e&&(e.requestIdleCallback||e.setTimeout)((function(){return t(r)}))}else t(r)}var Qi,Xi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},nr=(Qi=0,function(){return String(++Qi)});function tr(n,t){return Object.values(n).some(t)}var ir=function(n){return"string"==typeof n||!!n.selector},rr=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function er(n,t,i,r,e){var o=n.layoutSizeDefined,u=n.lightDomTag,l=n.props;e&&e.start();var a=c(c({},r),{},{ref:i});return u&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=u),o&&(n.usesShadowDom?a.style=Xi:a.class="i-amphtml-fill-content"),or(n,a,l,t,e),e&&e.complete(),a}function or(n,t,i,r,e){if(tr(i,ir))for(var o=function(n){return function(n,t){for(var i=[],r=n.firstElementChild;r;r=r.nextElementSibling)!C(r)&&i.push(r);return i}(n)}(r),u=0;u<o.length;u++){var l=o[u],a=lr(l,i);if(a){var f=i[a],c=f.as,s=void 0!==c&&c,v=f.single,h=f.name,d=void 0===h?a:h,p=f.clone,b=f.props,m=void 0===b?{}:b;_(p||n.usesShadowDom);var y={};if(or(n,y,m,l,e),v)t[d]=Ji(l,l.getAttribute("slot")||"i-amphtml-".concat(d),y,s);else{var g=t[d]||(t[d]=[]);_(!s),g.push(p?ur(l):Ji(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(nr()),y))}}}for(var w in i){var k=i[w];_([k.attr,k.attrs,k.attrMatches,k.selector,k.passthrough,k.passthroughNonEmpty].filter(Boolean).length<=1);var j=void 0;if(k.passthrough?(_(n.usesShadowDom),j=[on(Gi,{loading:"lazy"})]):k.passthroughNonEmpty?(_(n.usesShadowDom),j=z(r).every(rr)?null:[on(Gi,{loading:"lazy"})]):k.attr?(j=r.getAttribute(k.attr),k.media&&null!=j&&(_(e),j=e.resolveListQuery(String(j)))):k.parseAttrs&&(_(k.attrs||k.attrMatches),j=k.parseAttrs(r)),null==j)null!=k.default&&(t[w]=k.default);else{var O="number"==k.type?parseFloat(j):"boolean"==k.type?null==(S=j)?void 0:"false"!==S:j;t[w]=O}}var S}function ur(n){for(var t={"key":n},i=n.attributes,r=n.localName,e=i.length,o=0;o<e;o++){var u=i[o],l=u.name,a=u.value;t[l]=a}return on(r,t)}function lr(n,t){for(var i in t){var r=t[i],e="string"==typeof r?r:r.selector;if(e&&q(n,e))return i}return null}var ar={childList:!0},fr={childList:!0,characterData:!0},cr={childList:!0},sr={"style":"display: contents; background: inherit;","part":"c"},vr={"name":"i-amphtml-svc"},hr={"i-amphtml-rendered":""},dr=function(){return!0},pr=function(n){return!!n.media},br=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},mr=function(n){i(e,n);var t=l(e);e.R1=function(){return!0},e.requiresShadowDom=function(){return this.usesShadowDom},e.usesLoading=function(){return this.loadable},e.prerenderAllowed=function(){return!this.usesLoading()},e.Component=function(){_(!1)};var r=e.prototype;function e(n){var i;return(i=t.call(this,n)).jv=i.getDefaultProps(),i.Ov={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Sv=!1,i._v=null,i.xv=null,i.Pv=function(n){null!==n&&(i._v?i.Av(n):i.Mv(n)),i.xv=n,i.qv()},i.Rv=null,i.zv=null,i.Cv=null,i.Iv=!1,i.Tv=null,i.Ev=function(){i.Iv=!1,i.Nv()},i.Lv=!1,i.Bi=!1,i.observer=null,i.Ql=new zi(n),i.un=null,i}return r.getDefaultProps=function(){var n=this;return{"loading":"auto","onReadyState":function(t,i){n.Fv(t,i)},"onPlayingState":function(t){n.Vv(t)}}},r.init=function(){},r.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},r.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.$v(t)}));var i=t.props,r=tr(i,ir)?ar:null,e=tr(i,br)?fr:null,o=t.usesTemplate?cr:null;this.observer.observe(this.element,c(c(c({attributes:!0},r),e),o)),this.un=tr(i,pr)?new yi(this.win,(function(){return n.Bv()})):null;var u=t.staticProps,l=this.init();Object.assign(this.jv,u,l),this.checkPropsPostMutations(),vi(this.element,[],(function(){return function(){n.Bi=!1,n.Cv&&_n(null,n.Cv)}})),vi(this.element,[Ti,Ei,Ni],(function(t,i,r){n.Ov.renderable=t,n.Ov.playable=i,n.Ov.loading=r,n.Bi=!0,n.Bv()}));var a,f=t.useContexts;return 0!=f.length&&vi(this.element,f,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.zv=i,n.Bv()})),this.Tv=new Z,this.Bv(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.qv(),this.Tv.promise},r.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Sv=!0)},r.mountCallback=function(){pi(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Sv=!1)},r.unmountCallback=function(){var n;pi(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Vv(!1),null===(n=this.un)||void 0===n||n.dispose()},r.mutateProps=function(n){Object.assign(this.jv,n),this.Bv()},r.api=function(){var n=this.xv;return _(n),n},r.mutationObserverCallback=function(n){},r.checkPropsPostMutations=function(){},r.updatePropsForRendering=function(n){},r.isReady=function(n){return!0},r.$v=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var e in r){var o,u,l=r[e],a=t.attributeName;if(_(a),a==l.attr||null!==(o=l.attrs)&&void 0!==o&&o.includes(a)||null!==(u=l.attrMatches)&&void 0!==u&&u.call(l,a))return!0}return!1}return"childList"==i&&(yr(t.addedNodes)||yr(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.Bv())},r.Bv=function(){this.Iv||(this.Iv=!0,this.mutateElement(this.Ev))},r.qv=function(){var n=this.xv,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Fv(t)},r.Fv=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Vv("complete"==n),this.Sv&&(this.Sv=!1,this.mutateProps({"loading":"auto"}))},r.Nv=function(){var n,t,i,r=this;if(this.Bi){var e,o=this.constructor,u=o.detached,l=o.usesShadowDom,a=l?null:o.lightDomTag;if(!this.Cv){var f=this.win.document;if(l){_(!u);var s=this.element.shadowRoot,v=s&&(e=s,A("c"),M(e,"> ".concat("c")));if(v)this.Lv=!0;else{var h,d,p,b,m,y;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,e=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==e.CSSStyleSheet.prototype.replaceSync){var o=e.__AMP_SHADOW_CSS||(e.__AMP_SHADOW_CSS={}),u=o[t];u||(_((u=new e.CSSStyleSheet).replaceSync),u.replaceSync(i),o[t]=u),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(u)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=T(f,"c",sr),s.appendChild(v);var w=T(f,"slot",vr);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(b=p.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(y=m.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc")}this.Cv=v,_(s),function(n,t){oi.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;oi.get(n).addGroup(t,i,r)}(this.element,"unslotted",dr,-1),n=this.element,t=Ti,this,null===(i=oi.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var k=this.element;this.Cv=k;var j=R(k,"i-amphtml-rendered")||T(f,a,hr);j.__AMP_RENDERED=!0,o.layoutSizeDefined&&j.classList.add("i-amphtml-fill-content"),this.Cv.appendChild(j)}else{var O=f.createElement("i-amphtml-c");this.Cv=O,O.classList.add("i-amphtml-fill-content"),u||this.element.appendChild(O)}}var S=this.Cv;_(S);var x=o.useContexts,P=this.zv;if(0==x.length||null!=P){var q=er(o,this.element,this.Pv,this.jv,this.un);if(this.updatePropsForRendering(q),this.isReady(q)){for(var z=on(o.Component,q),C=0;C<x.length;C++){_(P);var I=x[C].type,N=P[C];N&&(z=on(I.Provider,{value:N},z))}var L=on(wt,c({},this.Ov),z);try{if(this.Lv)this.Lv=!1,xn(L,S);else{var F=a?R(S,"i-amphtml-rendered"):null;F&&(F.__AMP_RENDERED=!0),_n(L,S,null!=F?F:void 0)}}catch(n){var V;throw null===(V=this.Tv)||void 0===V||V.reject(n),n}l||u||this.mutateElement((function(){return E(r.element,"amp:dom-update",void 0)})),this.Tv&&(this.Tv.resolve(void 0),this.Tv=null)}}}},r.getProp=function(n,t){return i=this.jv,r=n,k.call(i,r)?this.jv[n]:t;var i,r},r.getApi=function(){var n=this._v;return n?Promise.resolve(n):(this.Rv||(this.Rv=new Z),this.Rv.promise)},r.Mv=function(n){for(var t=j(),i=Object.keys(n),r=0;r<i.length;r++){var e=i[r];this.Uv(t,e)}this._v=t,this.Rv&&(this.Rv.resolve(t),this.Rv=null)},r.Av=function(n){},r.triggerEvent=function(n,t,i){E(n,t,i)},r.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Sv=!0;else{var n,t=this.xv;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},r.Vv=function(n){this.Ql.updatePlaying(n)},r.Uv=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.xv;return _(n),n[t]},set:function(n){var r=i.xv;_(r),r[t]=n}})},e}(Mi);function yr(n){for(var t=0;t<n.length;t++){var i=n[t];if(S(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}mr.staticProps=void 0,mr.useContexts=[],mr.loadable=!1,mr.unloadOnPause=!1,mr.layoutSizeDefined=!1,mr.lightDomTag="",mr.usesTemplate=!1,mr.shadowCss=null,mr.usesShadowDom=!1,mr.detached=!1,mr.delegatesFocus=!1,mr.props={};var gr=function(n){i(r,mr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();gr.Component=Nt,gr.loadable=!0,gr.layoutSizeDefined=!0,gr.staticProps,gr.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},gr.shadowCss='.fill-stretch-c645120{width:100%;height:100%;position:relative}.fill-content-overlay-c645120{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-0be5b4b{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-0be5b4b{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-0be5b4b>div:after,.eq-playing-0be5b4b>div:before{animation-play-state:running}.eq-col-0be5b4b{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-0be5b4b:after,.eq-col-0be5b4b:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-0be5b4b 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-0be5b4b:nth-child(4):before{animation-duration:0.4s}.eq-col-0be5b4b:nth-child(4):after{animation-duration:0.25s}.eq-col-0be5b4b:nth-child(3):before{animation-duration:0.3s}.eq-col-0be5b4b:nth-child(3):after{animation-duration:0.35s}.eq-col-0be5b4b:nth-child(2):before{animation-duration:0.5s}.eq-col-0be5b4b:nth-child(2):after{animation-duration:0.4s}.eq-col-0be5b4b:first-child:before{animation-duration:0.3s}.eq-col-0be5b4b:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-0be5b4b{0%{transform:translateY(100%)}to{transform:translateY(0)}}',gr.usesShadowDom=!0;var wr=function(n){i(r,gr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();function kr(){!function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:self;i.customElements.define(n,Ii(t,i))}("bento-dailymotion",wr)} | ||
var n=Object.defineProperty;function t(n,i){return(t=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,i)}function i(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(i&&i.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),i&&t(n,i)}function r(n){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function e(n){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function u(n,t){if(t&&("object"===e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(n)}function l(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,e=r(n);if(t){var o=r(this).constructor;i=Reflect.construct(e,arguments,o)}else i=e.apply(this,arguments);return u(this,i)}}function a(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function f(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function c(n){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach((function(t){a(n,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}))}return n}function s(n,t){if(null==n)return{};var i,r,e={},o=Object.keys(n);for(r=0;r<o.length;r++)i=o[r],t.indexOf(i)>=0||(e[i]=n[i]);return e}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return kr}});var v=Array.isArray;function h(n){return v(n)?n:[n]}function d(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function p(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function b(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function m(n,t){if(n){if("string"==typeof n)return b(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?b(n,t):void 0}}function y(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=m(n))||t&&n&&"number"==typeof n.length){i&&(n=i);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[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 g,w=Object.prototype,k=w.hasOwnProperty;function j(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function O(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function S(n){return 1==(null==n?void 0:n.nodeType)}function _(n,t,i,r,e,o,u,l,a,f,c){return n}function x(n){return(n.ownerDocument||n).defaultView}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function A(n){_(/^[\w-]+$/.test(n))}function M(n,t){if(void 0!==g?g:g=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n))return n.querySelector(P(t,":scope"));var i=function(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var e=P(t,".".concat(r)),o=n.querySelectorAll(e);return i.remove(r),o}(n,t)[0];return void 0===i?null:i}function q(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function R(n,t){return A(t),M(n,"> [".concat(t,"]"))}function z(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)!C(r)&&i.push(r);return i}(n)}function C(n){return"string"==typeof(t=n)?i=t:S(t)&&(i=t.tagName),!(!i||!i.toLowerCase().startsWith("i-"))||n.nodeType===Node.ELEMENT_NODE&&(n.hasAttribute("placeholder")||n.hasAttribute("fallback")||n.hasAttribute("overflow"));var t,i}w.toString;var I={bubbles:!0,cancelable:!0};function T(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function E(n,t,i,r){var e=i||{};_(n.ownerDocument);var o=n.ownerDocument.createEvent("Event");o.data=e;var u=r||I,l=u.bubbles,a=u.cancelable;o.initEvent(t,l,a),n.dispatchEvent(o)}var N,L=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function F(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}function V(){return N||(N=Promise.resolve(void 0))}var $,B,U,W,D,H,Y,Z=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))};function J(n){return new Promise((function(t){t(n())}))}var G,K,Q,X={},nn=[],tn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rn(n,t){for(var i in t)n[i]=t[i];return n}function en(n){var t=n.parentNode;t&&t.removeChild(n)}function on(n,t,i){var r,e,o,u={};for(o in t)"key"==o?r=t[o]:"ref"==o?e=t[o]:u[o]=t[o];if(arguments.length>2&&(u.children=arguments.length>3?$.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(o in n.defaultProps)void 0===u[o]&&(u[o]=n.defaultProps[o]);return un(n,u,r,e,null)}function un(n,t,i,r,e){var o={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++U:e};return null==e&&null!=B.vnode&&B.vnode(o),o}function ln(n){return n.children}function an(n,t){this.props=n,this.context=t}function fn(n,t){if(null==t)return n.__?fn(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fn(n):null}function cn(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return cn(n)}}function sn(n){(!n.__d&&(n.__d=!0)&&W.push(n)&&!vn.__r++||H!==B.debounceRendering)&&((H=B.debounceRendering)||D)(vn)}function vn(){for(var n;vn.__r=W.length;)n=W.sort((function(n,t){return n.__v.__b-t.__v.__b})),W=[],n.some((function(n){var t,i,r,e,o,u;n.__d&&(o=(e=(t=n).__v).__e,(u=t.__P)&&(i=[],(r=rn({},e)).__v=e.__v+1,wn(u,e,r,t.__n,void 0!==u.ownerSVGElement,null!=e.__h?[o]:null,i,null==o?fn(e):o,e.__h),kn(i,e),e.__e!=o&&cn(e)))}))}function hn(n,t,i,r,e,o,u,l,a,f){var c,s,v,h,d,p,b,m=r&&r.__k||nn,y=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?un(null,h,null,null,h):Array.isArray(h)?un(ln,{children:h},null,null,null):h.__b>0?un(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<y;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}wn(n,h,v=v||X,e,o,u,l,a,f),d=h.__e,(s=h.ref)&&v.ref!=s&&(b||(b=[]),v.ref&&b.push(v.ref,null,h),b.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=a=dn(h,a,n):a=pn(n,h,v,m,d,a),"function"==typeof i.type&&(i.__d=a)):a&&v.__e==a&&a.parentNode!=n&&(a=fn(v))}for(i.__e=p,c=y;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=fn(r,c+1)),On(m[c],m[c]));if(b)for(c=0;c<b.length;c++)jn(b[c],b[++c],b[++c])}function dn(n,t,i){for(var r,e=n.__k,o=0;e&&o<e.length;o++)(r=e[o])&&(r.__=n,t="function"==typeof r.type?dn(r,t,i):pn(i,r,r,e,r.__e,t));return t}function pn(n,t,i,r,e,o){var u,l,a;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==i||e!=o||null==e.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(e),u=null;else{for(l=o,a=0;(l=l.nextSibling)&&a<r.length;a+=2)if(l==e)break n;n.insertBefore(e,o),u=o}return void 0!==u?u:e.nextSibling}function bn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||tn.test(t)?i:i+"px"}function mn(n,t,i,r,e){var o;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||bn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||bn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+o]=i,i?r||n.addEventListener(t,o?gn:yn,o):n.removeEventListener(t,o?gn:yn,o);else if("dangerouslySetInnerHTML"!==t){if(e)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function yn(n){this.l[n.type+!1](B.event?B.event(n):n)}function gn(n){this.l[n.type+!0](B.event?B.event(n):n)}function wn(n,t,i,r,e,o,u,l,a){var f,c,s,v,h,d,p,b,m,y,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(a=i.__h,l=t.__e=i.__e,t.__h=null,o=[l]),(f=B.__b)&&f(t);try{n:if("function"==typeof w){if(b=t.props,m=(f=w.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(b,y):(t.__c=c=new an(b,y),c.constructor=w,c.render=Sn),m&&m.sub(c),c.props=b,c.state||(c.state={}),c.context=y,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=rn({},c.__s)),rn(c.__s,w.getDerivedStateFromProps(b,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,y)||t.__v===i.__v){c.props=b,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&u.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,y),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=y,c.props=b,c.state=c.__s,(f=B.__r)&&f(t),c.__d=!1,c.__v=t,c.__P=n,f=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=rn(rn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=f&&f.type===ln&&null==f.key?f.props.children:f,hn(n,Array.isArray(g)?g:[g],t,i,r,e,o,u,l,a),c.base=t.__e,t.__h=null,c.__h.length&&u.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==o&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,e,o,u,l){var a,f,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(e=!0),null!=o)for(;d<o.length;d++)if((a=o[d])&&(a===n||(h?a.localName==h:3==a.nodeType))){n=a,o[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=e?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),o=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(o=o&&$.call(n.childNodes),f=(s=i.props||X).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=o)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||f)&&(c&&(f&&c.__html==f.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,e){var o;for(o in i)"children"===o||"key"===o||o in t||mn(n,o,null,i[o],r);for(o in t)e&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||i[o]===t[o]||mn(n,o,t[o],i[o],r)}(n,v,s,e,l),c)t.__k=[];else if(d=t.props.children,hn(n,Array.isArray(d)?d:[d],t,i,r,e&&"foreignObject"!==h,o,u,o?o[0]:i.__k&&fn(i,0),l),null!=o)for(d=o.length;d--;)null!=o[d]&&en(o[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&mn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&mn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,e,o,u,a);(f=B.diffed)&&f(t)}catch(n){t.__v=null,(a||null!=o)&&(t.__e=l,t.__h=!!a,o[o.indexOf(l)]=null),B.__e(n,t,i)}}function kn(n,t){B.__c&&B.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){B.__e(n,t.__v)}}))}function jn(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){B.__e(n,i)}}function On(n,t,i){var r,e;if(B.unmount&&B.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||jn(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){B.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(e=0;e<r.length;e++)r[e]&&On(r[e],t,"function"!=typeof n.type);i||null==n.__e||en(n.__e),n.__e=n.__d=void 0}function Sn(n,t,i){return this.constructor(n,i)}function _n(n,t,i){var r,e,o;B.__&&B.__(n,t),e=(r="function"==typeof i)?null:i&&i.__k||t.__k,o=[],wn(t,n=(!r&&i||t).__k=on(ln,null,[n]),e||X,X,void 0!==t.ownerSVGElement,!r&&i?[i]:e?null:t.firstChild?$.call(t.childNodes):null,o,!r&&i?i:e?e.__e:t.firstChild,r),kn(o,n)}function xn(n,t){_n(n,t,xn)}$=nn.slice,B={__e:function(n,t){for(var i,r,e;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),e=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),e=i.__d),e)return i.__E=i}catch(t){n=t}throw n}},U=0,an.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=rn({},this.state),"function"==typeof n&&(n=n(rn({},i),this.props)),n&&rn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),sn(this))},an.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),sn(this))},an.prototype.render=ln,W=[],D="function"==typeof Promise?Promise.prototype.then.bind(V()):setTimeout,vn.__r=0,Y=0;var Pn=0,An=[],Mn=B.__b,qn=B.__r,Rn=B.diffed,zn=B.__c,Cn=B.unmount;function In(n,t){B.__h&&B.__h(K,n,Pn||t),Pn=0;var i=K.__H||(K.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Tn(n){return Pn=1,function(n,t,i){var r=In(G++,2);return r.t=n,r.__c||(r.__=[Yn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=K),r.__}(Yn,n)}function En(n,t){var i=In(G++,3);!B.__s&&Hn(i.__H,t)&&(i.__=n,i.__H=t,K.__H.__h.push(i))}function Nn(n,t){var i=In(G++,4);!B.__s&&Hn(i.__H,t)&&(i.__=n,i.__H=t,K.__h.push(i))}function Ln(n){return Pn=5,Vn((function(){return{current:n}}),[])}function Fn(n,t,i){Pn=6,Nn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Vn(n,t){var i=In(G++,7);return Hn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function $n(n,t){return Pn=8,Vn((function(){return n}),t)}function Bn(){An.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Wn),n.__H.__h.forEach(Dn),n.__H.__h=[]}catch(t){n.__H.__h=[],B.__e(t,n.__v)}})),An=[]}B.__b=function(n){K=null,Mn&&Mn(n)},B.__r=function(n){qn&&qn(n),G=0;var t=(K=n.__c).__H;t&&(t.__h.forEach(Wn),t.__h.forEach(Dn),t.__h=[])},B.diffed=function(n){Rn&&Rn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==An.push(t)&&Q===B.requestAnimationFrame||((Q=B.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Un&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Un&&(t=requestAnimationFrame(i))})(Bn)),K=null},B.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Wn),n.__h=n.__h.filter((function(n){return!n.__||Dn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],B.__e(i,n.__v)}})),zn&&zn(n,t)},B.unmount=function(n){Cn&&Cn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Wn)}catch(n){B.__e(n,t.__v)}};var Un="function"==typeof requestAnimationFrame;function Wn(n){var t=K;"function"==typeof n.__c&&n.__c(),K=t}function Dn(n){var t=K;n.__c=n.__(),K=t}function Hn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Yn(n,t){return"function"==typeof t?t(n):t}function Zn(n){return n.children}var Jn,Gn=["ref"],Kn="undefined"!=typeof Symbol&&(null===(Jn=Symbol.for)||void 0===Jn?void 0:Jn.call(Symbol,"react.forward_ref"))||3911,Qn=B.__b;B.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.v&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Qn||Qn(n)};var Xn,nt=function(n){function t(t){var i=t.ref,r=s(t,Gn);return n(r,i)}return t.$$typeof=Kn,t.render=t,t.prototype.isReactComponent=!0,t.v=!0,t};function tt(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,e,o=[],u=!0,l=!1;try{for(i=i.call(n);!(u=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);u=!0);}catch(n){l=!0,e=n}finally{try{u||null==i.return||i.return()}finally{if(l)throw e}}return o}}(n,t)||m(n,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 it(n){var t=function(n,t){if("object"!==e(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===e(t)?t:String(t)}var rt,et=["auto","lazy","eager","unload"],ot=(a(Xn={},"auto",0),a(Xn,"lazy",1),a(Xn,"eager",2),a(Xn,"unload",3),Xn);function ut(n,t){var i=ot[null!=n?n:"auto"]||0,r=ot[null!=t?t:"auto"]||0,e=Math.max(i,r);return et[e]}function lt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,e=new Error(i);for(var o in n)e[o]=n[o];return e.stack=r,e}function at(n){for(var t,i=null,r="",e=y(arguments,!0);!(t=e()).done;){var o=t.value;o instanceof Error&&!i?i=lt(o):(r&&(r+=" "),r+=o)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function ft(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ct(n){var t=at.apply(null,arguments);setTimeout((function(){throw ft(t),t}))}function st(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){ct(n)}}function vt(n){var t=at.apply(null,arguments);return t.expected=!0,t}var ht,dt=["Webkit","webkit","Moz","moz","ms","O","o"],pt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function bt(n,t,i,r,e){var o=function(n,t,i){if(mt(t))return t;rt||(rt=j());var r=rt[t];if(!r||i){if(r=t,void 0===n[t]){var e=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),o=function(n,t){for(var i=0;i<dt.length;i++){var r=dt[i]+t;if(void 0!==n[r])return r}return""}(n,e);void 0!==n[o]&&(r=o)}i||(rt[t]=r)}return r}(n.style,t,e);if(o){var u=r?i+r:i;mt(o)?n.style.setProperty(o,u):n.style[o]=u}}function mt(n){return n.startsWith("--")}function yt(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,i=n.document.createElement("video");return i.setAttribute("muted",""),i.setAttribute("playsinline",""),i.setAttribute("webkit-playsinline",""),i.setAttribute("height","0"),i.setAttribute("width","0"),i.muted=!0,i.playsInline=!0,i.playsinline=!0,i.webkitPlaysinline=!0,function(n,t){for(var i in t)bt(n,i,t[i])}(i,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=i,J((function(){return t.play()})).catch((function(){})),Promise.resolve(!i.paused)}(n)),n.__AMP_AUTOPLAY}function gt(){return ht||(t={__c:n="__cC"+Y++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(n,t){return n.children(t)},Provider:function(t){var i,r;return this.getChildContext||(i=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(sn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),t.children}},ht=t.Provider.__=t.Consumer.contextType=t);var n,t}function wt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,e=n.notify,o=n.playable,u=void 0===o||o,l=n.renderable,a=void 0===l||l,f=kt(),c=a&&f.renderable,s=c&&u&&f.playable,v=ut(c?"auto":"lazy",ut(r,f.loading)),h=e||f.notify,d=Vn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return on(gt().Provider,{children:t,value:d})}function kt(){var n,t,i;return n=gt(),t=K.context[n.__c],(i=In(G++,9)).c=n,t?(null==i.__&&(i.__=!0,t.sub(K)),t.props.value):n.__}var jt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={"position":"relative","width":"100%","height":"100%"},St=nt((function(n,t){var i="class",r=n.as,e=void 0===r?"div":r,o=n.children,u=n.contentAs,l=void 0===u?"div":u,a=n.contentClassName,f=n.contentProps,v=n.contentRef,h=n.contentStyle,d=n.layout,p=void 0!==d&&d,b=n.paint,m=void 0!==b&&b,y=n.size,g=void 0!==y&&y,w=n.style,k=n.wrapperClassName,j=n.wrapperStyle,O=n[i],S=(g?4:0)+(p?2:0)+(m?1:0);return on(e,c(c({},s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(it))),{},{ref:t,class:"".concat(O||""," ").concat(k||"").trim()||null,style:c(c(c({},w),j),{},{contain:jt[S]})}),on(l,c(c({},f),{},{ref:v,class:a,style:c(c({},g&&Ot),{},{"overflow":m?"hidden":"visible"},h)}),o))}));function _t(n){var t=Ln(null);return t.current=n,t}nt((function(n,t){var i="class",r=n.as,e=void 0===r?"div":r,o=n.children,u=n.style,l=n.wrapperClassName,a=n.wrapperStyle,f=n[i];return on(e,c(c({},s(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(it))),{},{ref:t,class:"".concat(f||""," ").concat(l||"").trim()||null,style:c(c({},u),a)}),o)}));var xt=self.AMP_CONFIG||{},Pt=("string"==typeof xt.thirdPartyFrameRegex?new RegExp(xt.thirdPartyFrameRegex):xt.thirdPartyFrameRegex,("string"==typeof xt.cdnProxyRegex?new RegExp(xt.cdnProxyRegex):xt.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function At(n){if(!self.document||!self.document.head)return null;if(self.location&&Pt.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}xt.thirdPartyUrl,xt.thirdPartyFrameHost,xt.cdnUrl||At("runtime-host"),xt.errorReportingUrl,xt.betaErrorReportingUrl,xt.localDev,xt.geoApiUrl||At("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Mt={"title":"","artist":"","album":"","artwork":[{"src":""}]};function qt(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var i=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(i&&i.image)return"string"==typeof i.image?i.image:i.image["@list"]&&"string"==typeof i.image["@list"][0]?i.image["@list"][0]:"string"==typeof i.image.url?i.image.url:"string"==typeof i.image[0]?i.image[0]:void 0}}function Rt(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function zt(n){var t=n.displayIcon,i=n.displayOverlay,r=n.metadata,e=n.onOverlayClick,o=n.pause,u=n.play,l=n.playing,a=n.wrapperRef,f=kt().playable;return En((function(){if(f){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?u().catch((function(){})):o()}),{threshold:.5});return n.observe(a.current),function(){n.disconnect()}}o()}),[a,u,o,f]),on(Zn,null,t&&on("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},on(Et,null)),i&&on("button",{"aria-label":r&&r.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:e}))}var Ct,It,Tt,Et=(Ct=!1,It=null,Tt=function(){return[1,2,3,4].map((function(n){return on("div",{class:"eq-col-0be5b4b",key:n})}))},function(){if(!Ct){for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];It=Tt.apply(self,t),Ct=!0,Tt=null}return It}),Nt=nt((function(n,t){var i,r="class",e=n.autoplay,o=void 0!==e&&e,u=n.component,l=void 0===u?"video":u,a=n.controls,f=void 0!==a&&a,v=n.loading,h=n.loop,d=void 0!==h&&h,p=n.mediasession,b=void 0===p||p,m=n.noaudio,y=void 0!==m&&m,g=n.onPlayingState,w=n.onReadyState,k=n.poster,j=n.sources,O=n.src,S=n.style,_=n[r],x=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(it));i=kt().notify,Nn((function(){i&&i()}));var P=kt().playable,A=function(n){return ut(n,kt().loading)}(v),M="unload"!==A,q=tt(Tn(o),2),R=q[0],z=q[1],C=tt(Tn(!1),2),I=C[0],T=C[1],E=tt(Tn(null),2),N=E[0],L=E[1],F=tt(Tn(!o),2),V=F[0],$=F[1],B=Ln(null),U=Ln(null),W=Vn((function(){return new Z}),[]),D=Ln("loading"),H=_t(w),Y=$n((function(n,t){if(n!==D.current){D.current=n;var i=H.current;i&&i(n,t)}}),[H]),G=_t(g),K=$n((function(n){T(n);var t=G.current;t&&t(n)}),[G]);Nn((function(){M||K(!1)}),[M,K]);var Q=$n((function(){return W.promise.then((function(){return n=U.current,(t=J((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];ft(vt.apply(null,i))}("TRYPLAY",n)})),t;var n,t}))}),[W]),X=$n((function(){W.promise.then((function(){var n;return null===(n=U.current)||void 0===n?void 0:n.pause()}))}),[W]),nn=$n((function(){return W.promise.then((function(){return U.current.requestFullscreen()}))}),[W]),tn=$n((function(){z(!1),$(!0)}),[]);return Nn((function(){var n,t=null===(n=U.current)||void 0===n?void 0:n.readyState;null!=t&&Y(t>0?"complete":"loading")}),[Y]),Nn((function(){return b&&I&&N&&function(n,t,i,r){var e=n.navigator;"mediaSession"in e&&n.MediaMetadata&&(e.mediaSession.metadata=new n.MediaMetadata(Mt),e.mediaSession.metadata=new n.MediaMetadata(t),e.mediaSession.setActionHandler("play",i),e.mediaSession.setActionHandler("pause",r))}(window,N,Q,X),function(){}}),[b,I,N,Q,X]),En((function(){P||X()}),[P,X]),Fn(t,(function(){return{get readyState(){return D.current},play:Q,pause:X,requestFullscreen:nn,get currentTime(){return U.current?U.current.currentTime:0},get duration(){return U.current?U.current.duration:NaN},get autoplay(){return o},get controls(){return f},get loop(){return d},userInteracted:tn,mute:function(){return z(!0)},unmute:function(){V&&z(!1)}}}),[Q,X,nn,tn,V,o,f,d]),on(St,{contentRef:B,class:_,style:S,size:!0,layout:!0,paint:!0},M&&on(l,c(c({},x),{},{ref:U,loading:A,muted:R,loop:d,controls:f&&(!o||V),onCanPlay:function(){W.resolve(),Y("complete")},onLoadedMetadata:function(){b&&W.promise.then((function(){var n,t,i,r;L((n=U.current,c({"title":(t=x).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||qt(document)||(i=document,r=i.querySelector('meta[property="og:image"]'),r?r.getAttribute("content"):void 0)||Rt(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),Y("complete")},onPlaying:function(){return K(!0)},onPause:function(){return K(!1)},onEnded:function(){return K(!1)},onError:function(n){Y("error",n),W.reject(n)},class:"fill-stretch-c645120",src:O,poster:k}),j),o&&!V&&on(zt,{metadata:N,playing:I,displayIcon:!y&&R,wrapperRef:B,play:Q,pause:X,displayOverlay:f,onOverlayClick:tn}))}));Nt.displayName="VideoWrapper";var Lt=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Ft=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Vt(n,t,i){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(i(),"*")}))}var $t=nt((function(n,t){var i=n.loading,r=n.unloadOnPause,e=void 0!==r&&r,o=n.sandbox,u=void 0===o?Ft:o,l=n.muted,a=void 0!==l&&l,f=n.controls,v=void 0!==f&&f,h=n.origin,d=n.onCanPlay,p=n.onMessage,b=n.playerStateRef,m=n.makeMethodMessage,y=n.makeFullscreenMessage,g=n.onIframeLoad,w=s(n,Lt),k=Ln(null),j=Vn((function(){return new Z}),[]),O=Ln(m),S=$n((function(n){Vt(null==k?void 0:k.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),_=Ln(y),x=$n((function(){return Vt(null==k?void 0:k.current,j.promise,_.current)}),[j.promise]);Fn(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==b||null===(t=b.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==b||null===(t=b.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!_.current)return j.promise.then((function(){k.current.requestFullscreen()}));x()},play:function(){return S("play")},pause:function(){if(e){var n=k.current;n&&(n.src=n.src)}else S("pause")}}}),[b,S,x,j.promise,e]);var P=function(n){var t=Ln(null);return t.current=n,t}(p);return Nn((function(){if(k.current){var n=k.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){P.current&&(h&&!h.test(n.origin)||n.source!=k.current.contentWindow||P.current({currentTarget:k.current,target:k.current,data:n.data}))}}),[h,P]),Nn((function(){S(a?"mute":"unmute")}),[a,S]),Nn((function(){S(v?"showControls":"hideControls")}),[v,S]),on("iframe",c(c({},w),{},{ref:k,allowfullscreen:!0,frameborder:"0",sandbox:u,loading:i,onCanPlay:function(){d&&j.promise.then(d),j.resolve()},onLoad:function(n){null==g||g(n)}}))}));$t.displayName="VideoIframeInternal";var Bt=nt((function(n,t){return on(Nt,c(c({ref:t},n),{},{component:$t}))}));function Ut(n,t){return function(n,t,i){if(!t)return n;var r=n.split("#",2),e=r[0].split("?",2);return e[0]+(e[1]?"?".concat(e[1],"&").concat(t):"?".concat(t))+(r[1]?"#".concat(r[1]):"")}(n,function(n){var t,i,r=[];for(var e in n){var o=n[e];if(null!=o){o=h(o);for(var u=0;u<o.length;u++)r.push((t=e,i=o[u],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(i))))}}return r.join("&")}(t))}function Wt(n,t){return JSON.stringify({"command":n,"parameters":t})}Bt.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Dt=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Ht(n){switch(n){case"mute":return Wt("muted",[!0]);case"unmute":return Wt("muted",[!1]);case"showControls":return Wt("controls",[!0]);case"hideControls":return Wt("controls",[!1]);default:return Wt(n)}}function Yt(n){var t=n.currentTarget,i=function(n){var t,i=j();if(!n)return i;for(;t=L.exec(n);){var r=F(t[1],t[1]),e=t[2]?F(t[2].replace(/\+/g," "),t[2]):"";i[r]=e}return i}(n.data),r=null==i?void 0:i.event;"pause"===r?E(t,"pause"):"play"===r?E(t,"playing"):"end"===r?(E(t,"pause"),E(t,"end")):"apiready"===r&&E(t,"canplay")}var Zt=nt((function(n,t){var i=n.autoplay,r=n.endscreenEnable,e=n.info,o=n.mute,u=n.sharingEnable,l=n.start,a=n.uiHighlight,f=n.uiLogo,v=n.videoId,h=s(n,Dt),d=Vn((function(){return function(n,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],e=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],l=arguments.length>7?arguments[7]:void 0,a=arguments.length>8?arguments[8]:void 0,f=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],s=arguments.length>10?arguments[10]:void 0;return Ut("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),c({"endscreen-enable":r?void 0:r,"info":e?void 0:e,"mute":o||i&&yt(n)?1:void 0,"sharing-enable":u?void 0:u,"start":l,"ui-highlight":a,"ui-logo":f?void 0:f},s))}(window,v,i,r,e,o,u,l,a,f)}),[v,i,r,e,o,u,l,a,f]);return on(Bt,c(c({autoplay:i,controls:!0,ref:t},h),{},{src:d,makeMethodMessage:Ht,onMessage:Yt}))}));function Jt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function Gt(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],e=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(e){var o=t(n,i,r);o&&Gt(n,t,i,o,!1)}else if(n.children)for(var u,l=y(n.children,!0);!(u=l()).done;){var a=u.value;Gt(a,t,i,r,!0)}}Zt.displayName="BentoDailymotion";var Kt=[],Qt=function(){},Xt=function(){function n(n){this.Nh=n,this.m=null,this.iv=null,this.rv=Jt(this.rv.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){_(t),_(void 0!==i);var r=n.key,e=this.m||(this.m=new Map),o=e.get(r);o||(o={values:[],setters:[]},e.set(r,o));var u=o.setters.indexOf(t),l=-1==u||o.values[u]!==i;-1==u?(o.setters.push(t),o.values.push(i)):l&&(o.values[u]=i),l&&(this.ping(n,!1),ri(n)&&Gt(this.Nh,ni,n,!0,!1))},t.remove=function(n,t){_(t);var i=n.key,r=this.m,e=null==r?void 0:r.get(i);if(e){_(r);var o=e.setters.indexOf(t);-1!=o&&(e.setters.splice(o,1),e.values.splice(o,1),0==e.setters.length&&r.delete(i),Gt(this.Nh,ni,n))}},t.has=function(n){var t;return!(null===(t=this.m)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.ev(n);if(d(i.subscribers,t)){var r=i.value;ei(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.iv)||void 0===i?void 0:i.get(n.key);r&&p(r.subscribers,t)&&this.ov(r)},t.ping=function(n,t){var i,r;null===(i=this.iv)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&Gt(this.Nh,ti,void 0,Kt)},t.rootUpdated=function(){var n=this,t=this.iv;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){ri(t.prop)&&n.uv(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ri(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.iv;return r&&r.forEach((function(r){var e=r.prop,o=e.key;-1==(i||n).indexOf(o)&&(t.ping(e,!0),t.Nh.children&&t.has(e)&&(i||(i=n.slice(0)),i.push(o)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.ev=function(n){var t=this,i=n.deps,r=n.key,e=this.iv||(this.iv=new Map),o=e.get(r);return o||(o={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(Qt):Kt,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;o.pending=Math.max(o.pending,i),t.rv()}},pingDep:i.length>0?i.map((function(n,t){return function(n){o.depValues[t]=n,o.ping()}})):Kt,pingParent:ri(n)?function(n){o.parentValue=n,o.ping()}:null},e.set(r,o),i.forEach((function(n,i){return t.subscribe(n,o.pingDep[i])})),o.ping(!1)),o},t.ov=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,e=n.prop,o=e.deps,u=e.key;null===(t=this.iv)||void 0===t||t.delete(u),this.uv(n,null),o.length>0&&o.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.rv=function(){var n=this;if(this.Fi()){var t=this.iv;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return ct("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.lv(t)}}))}while(i>0)}}},t.lv=function(n){var t,i=2==n.pending;try{t=this.av(n,i)}catch(n){ct(n)}n.pending=0,this.fv(n,t)},t.fv=function(n,t){var i=n.prop,r=n.value,e=i.key,o=this.iv;if(r!==t&&n===(null==o?void 0:o.get(e))&&this.Fi()){n.value=t;for(var u,l=y(n.subscribers,!0);!(u=l()).done;)(0,u.value)(t)}},t.av=function(n,t){var i,r;_(this.Fi());var e=n.depValues,o=n.prop,u=o.compute,l=o.defaultValue,a=o.key,f=null===(i=this.m)||void 0===i||null===(r=i.get(a))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(o,f);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,ii,o,!1):null;this.uv(n,s)}var v=ei(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(e.every(ei)&&(!c||ei(v))){var d=this.Nh.node;f&&!u?h=f[0]:ri(o)?f||e.length>0?h=function(n,t,i,r,e){switch(e.length){case 0:return n(t,i,r);case 1:return n(t,i,r,e[0]);case 2:return n(t,i,r,e[0],e[1]);case 3:return n(t,i,r,e[0],e[1],e[2]);default:return n.apply(null,[t,i,r].concat(e))}}(u,d,f||Kt,v,e):ei(v)&&(h=v):u&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(u,d,f||Kt,e))}return h},t.uv=function(n,t){var i=n.parentContextNode,r=n.pingParent,e=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,_(r),i&&i.values.unsubscribe(e,r),t&&(_(r),t.values.subscribe(e,r)))},n}();function ni(n,t){return n.values.scan(t)}function ti(n,t,i){return n.values.scanAll(i)}function ii(n,t){return n.values.has(t)}function ri(n){return!!n.recursive}function ei(n){return void 0!==n}var oi=function(){function n(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new Xt(this),this.cv=null,this.sv=!1,this.vv=Jt(this.hv.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,e=t.target;e.assignedNodes().forEach(ui),null===(i=n.closest(e))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(li)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var e=r,o=e.nodeType;if(9==o||11==o||S(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var u=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=u||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,ui(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,ui(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(li)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.vv():this.name&&this.children&&this.children.forEach(li)},t.isDiscoverable=function(){return!this.isRoot&&!this.sv},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.dv(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){_(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.cv)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var e=this.groups||(this.groups=new Map),o=this.children,u=new n(this.node,t);return e.set(t,{cn:u,match:i,weight:r}),u.setParent(this),null==o||o.forEach(li),u},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,e=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var o=i.cn,u=i.match,l=i.weight;u(n,t.node)&&l>e&&(r=o,e=l)})),r},t.subscribe=function(n,t,i,r){var e=this.cv||(this.cv=new Map),o=e.get(n);o||(o=new t(this,i,r),e.set(n,o))},t.unsubscribe=function(n){var t=this.cv,i=null==t?void 0:t.get(n);i&&(i.dispose(),_(t),t.delete(n))},t.hv=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.dv(i,!1)}},t.dv=function(n,t){var i;this.sv=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(_(r.children),p(r.children,this)),n){var e=n.children||(n.children=[]);d(e,this);for(var o,u=y(e,!0);!(o=u()).done;){var l=o.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function ui(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=oi.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var e,o=y(r.children,!0);!(e=o()).done;){var u=e.value;n.contains(u.node)&&t(u)}}(n,li)}function li(n){n.discover()}var ai=[];function fi(n,t){var i=c({key:n,deps:ai,recursive:!1},t);return _(0==i.deps.length||i.compute),i}var ci=[],si=function(){};function vi(n,t,i){t=h(t);var r=i;oi.get(n).subscribe(r,hi,i,t)}var hi=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.pv=t,this.bv=i,this.mv=i.length>0?i.map(si):ci,this.yv=i.length>0?i.map((function(n,t){return function(n){r.mv[t]=n,r.gv()}})):ci,this.Yn=!1,this.wv=null,this.gv=Jt(this.gv.bind(this),setTimeout),i.length>0){var e=this.contextNode.values;i.forEach((function(n,t){return e.subscribe(n,r.yv[t])}))}this.Fi()&&this.gv()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.bv.length>0){var t=this.contextNode.values;this.bv.forEach((function(i,r){return t.unsubscribe(i,n.yv[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.gv()},t.Fi=function(){return!!this.contextNode.root},t.gv=function(){this.Fi()&&(this.mv.every(di)?(this.Yn=!0,this.kv()):this.Yn&&(this.Yn=!1,this.Se()))},t.kv=function(){this.Se();var n=this.pv;this.wv=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.mv)},t.Se=function(){this.wv&&(st(this.wv),this.wv=null)},n}();function di(n){return void 0!==n}function pi(n){oi.get(n).discover()}function bi(n,t,i,r){oi.get(n).values.set(t,i,r)}function mi(n,t,i){oi.get(n).values.remove(t,i)}var yi=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,gi,"1")},t.resolveListQuery=function(n){return this.kt(n,wi,"")},t.complete=function(){for(var n in this._t)n in this.St||ki(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)ki(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(_(this._t),r=this._t[n]),r||ki(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,e=i.value;if(!r||r.matches)return e}return""}(r)},n}();function gi(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function wi(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,e;if(")"==t.charAt(t.length-1)){var o=1;for(e=t.length-2;e>=0;e--){var u=t.charAt(e);if("("==u?o--:")"==u&&o++,0==o)break}var l=e-1;if(e>0)for(e--;e>=0;e--){var a=t.charAt(e);if(!("%"==a||"-"==a||"_"==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}if(e>=l)return null}else for(e=t.length-2;e>=0;e--){var f=t.charAt(e);if(!("%"==f||"."==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}return e>=0?(i=t.substring(0,e+1).trim(),r=t.substring(e+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function ki(n,t,i){for(var r=0;r<n.length;r++){var e=n[r].query;e&&(void 0!==e.onchange?e.onchange=i?t:null:i?e.addListener(t):e.removeListener(t))}}var ji=/vertical/,Oi=new WeakMap,Si=new WeakMap,_i=new WeakMap;function xi(n){var t=Oi.get(n);return t||(t=new n.ResizeObserver(Pi),Oi.set(n,t)),t}function Pi(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],e=r.target;if(!t.has(e)){t.add(e);var o=Si.get(e);if(o){_i.set(e,r);for(var u=0;u<o.length;u++){var l=o[u],a=l.callback;Ai(l.type,a,r)}}}}}function Ai(n,t,i){if(0==n){var r=i.contentRect,e=r.height;st(t,{width:r.width,height:e})}else if(1==n){var o,u=i.borderBoxSize;if(u)o=u.length>0?u[0]:{inlineSize:0,blockSize:0};else{var l,a,f=i.target,c=x(f),s=ji.test(function(n,t){return n.getComputedStyle(t)||pt}(c,f).writingMode),v=f,h=v.offsetHeight,d=v.offsetWidth;s?(a=d,l=h):(l=d,a=h),o={inlineSize:l,blockSize:a}}st(t,o)}}var Mi,qi,Ri,zi=function(){function n(n){this.p=n,this.jc=!1,this.kc=!1,this.Oc=this.Oc.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.jc&&(this.jc=n,n?(this.kc=!1,function(n,t){!function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var e=Si.get(n);if(e||(e=[],Si.set(n,e),xi(r).observe(n)),!e.some((function(n){return n.callback===i&&1===n.type}))){e.push({type:1,callback:i});var o=_i.get(n);o&&setTimeout((function(){return Ai(1,i,o)}))}}}(n,0,t)}(this.p,this.Oc)):function(n,t){!function(n,t,i){var r=Si.get(n);if(r&&(function(n,t){for(var r=[],e=0,o=0;o<n.length;o++){var u=n[o];(l=u).callback===i&&1===l.type?r.push(u):(e<o&&(n[e]=u),e++)}var l;e<n.length&&(n.length=e)}(r),0==r.length)){Si.delete(n),_i.delete(n);var e=n.ownerDocument.defaultView;e&&xi(e).unobserve(n)}}(n,0,t)}(this.p,this.Oc))},t.Oc=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.kc){this.kc=i;var r=this.p;i||r.pause()}},n}();function Ci(n){if("object"!==("undefined"==typeof Reflect?"undefined":e(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}function Ii(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:self;return qi&&Ri===t||(qi=Ci((Ri=t).HTMLElement)),function(t){i(e,qi);var r=l(e);function e(){var t;return(t=r.call(this)).implementation=new n(o(t)),t}var u=e.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},e}()}Mi="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=x(n)}var t=n.prototype;return t.mutateElement=function(n){V().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var Ti=fi("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(Li)},compute:function(n,t,i){return i&&t.reduce(Li,!0)||!1}}),Ei=fi("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(Li)},deps:[Ti],compute:function(n,t,i,r){return r&&i&&t.reduce(Li,!0)||!1}}),Ni=fi("Loading",{defaultValue:"auto",recursive:!0,deps:[Ti],compute:function(n,t,i,r){return ut(r?"auto":"lazy",ut(i||"auto",t.reduce(ut,"auto")))}}),Li=function(n,t){return n&&t},Fi=function(n){return n.ensureLoaded()},Vi=function(n){return n.pause()},$i=function(n){return n.unmount()};function Bi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!1,Fi)}function Ui(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Vi)}function Wi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,$i)}function Di(n,t,i,r){for(var e=h(n),o=0;o<e.length;o++)Hi(e[o],t,i,r)}function Hi(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var e=n;if(st(r,e),!i){var o=e.getPlaceholder();return void(o&&Hi(o,!0,!1,r))}}for(var u=n.getElementsByClassName("i-amphtml-element"),l=null,a=0;a<u.length;a++){var f=u[a];if(i)st(r,f);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(f)){c=!0;break}c||(l.push(f),st(r,f))}}}var Yi={},Zi=new WeakMap;function Ji(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!r)return on(Gi,c(c({},i||Yi),{},{name:t}));var e=Zi.get(n);if(e&&O(e.oldProps,i))return e.component;function o(n){return on(Gi,c(c({},i||Yi),{},{name:t},n))}return Zi.set(n,{oldProps:i,component:o}),o}function Gi(n){var t=Ln(null);return function(n,t){var i=null==t?void 0:t.loading,r=kt();Nn((function(){var t=n.current;return _(S(t)),bi(t,Ti,Gi,r.renderable),bi(t,Ei,Gi,r.playable),bi(t,Ni,Gi,r.loading),r.playable||Ki(t,Ui,!0),function(){var n;mi(t,Ti,Gi),mi(t,Ei,Gi),mi(t,Ni,Gi),n=t,oi.rediscoverChildren(n)}}),[n,r]),Nn((function(){var t=n.current;return _(S(t)),"lazy"!=i&&Ki(t,Bi,!0),function(){Ki(t,Wi,!1)}}),[n,i])}(t,n),En((function(){n.postRender&&n.postRender()})),on("slot",c(c({},n),{},{ref:t}))}function Ki(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var e=n.ownerDocument.defaultView;e&&(e.requestIdleCallback||e.setTimeout)((function(){return t(r)}))}else t(r)}var Qi,Xi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},nr=(Qi=0,function(){return String(++Qi)});function tr(n,t){return Object.values(n).some(t)}var ir=function(n){return"string"==typeof n||!!n.selector},rr=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function er(n,t,i,r,e){var o=n.layoutSizeDefined,u=n.lightDomTag,l=n.props;e&&e.start();var a=c(c({},r),{},{ref:i});return u&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=u),o&&(n.usesShadowDom?a.style=Xi:a.class="i-amphtml-fill-content"),or(n,a,l,t,e),e&&e.complete(),a}function or(n,t,i,r,e){if(tr(i,ir))for(var o=function(n){return function(n,t){for(var i=[],r=n.firstElementChild;r;r=r.nextElementSibling)!C(r)&&i.push(r);return i}(n)}(r),u=0;u<o.length;u++){var l=o[u],a=lr(l,i);if(a){var f=i[a],c=f.as,s=void 0!==c&&c,v=f.single,h=f.name,d=void 0===h?a:h,p=f.clone,b=f.props,m=void 0===b?{}:b;_(p||n.usesShadowDom);var y={};if(or(n,y,m,l,e),v)t[d]=Ji(l,l.getAttribute("slot")||"i-amphtml-".concat(d),y,s);else{var g=t[d]||(t[d]=[]);_(!s),g.push(p?ur(l):Ji(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(nr()),y))}}}for(var w in i){var k=i[w];_([k.attr,k.attrs,k.attrMatches,k.selector,k.passthrough,k.passthroughNonEmpty].filter(Boolean).length<=1);var j=void 0;if(k.passthrough?(_(n.usesShadowDom),j=[on(Gi,{loading:"lazy"})]):k.passthroughNonEmpty?(_(n.usesShadowDom),j=z(r).every(rr)?null:[on(Gi,{loading:"lazy"})]):k.attr?(j=r.getAttribute(k.attr),k.media&&null!=j&&(_(e),j=e.resolveListQuery(String(j)))):k.parseAttrs&&(_(k.attrs||k.attrMatches),j=k.parseAttrs(r)),null==j)null!=k.default&&(t[w]=k.default);else{var O="number"==k.type?parseFloat(j):"boolean"==k.type?null==(S=j)?void 0:"false"!==S:j;t[w]=O}}var S}function ur(n){for(var t={"key":n},i=n.attributes,r=n.localName,e=i.length,o=0;o<e;o++){var u=i[o],l=u.name,a=u.value;t[l]=a}return on(r,t)}function lr(n,t){for(var i in t){var r=t[i],e="string"==typeof r?r:r.selector;if(e&&q(n,e))return i}return null}var ar={childList:!0},fr={childList:!0,characterData:!0},cr={childList:!0},sr={"style":"display: contents; background: inherit;","part":"c"},vr={"name":"i-amphtml-svc"},hr={"i-amphtml-rendered":""},dr=function(){return!0},pr=function(n){return!!n.media},br=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},mr=function(n){i(e,n);var t=l(e);e.R1=function(){return!0},e.requiresShadowDom=function(){return this.usesShadowDom},e.usesLoading=function(){return this.loadable},e.prerenderAllowed=function(){return!this.usesLoading()},e.Component=function(){_(!1)};var r=e.prototype;function e(n){var i;return(i=t.call(this,n)).jv=i.getDefaultProps(),i.Ov={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Sv=!1,i._v=null,i.xv=null,i.Pv=function(n){null!==n&&(i._v?i.Av(n):i.Mv(n)),i.xv=n,i.qv()},i.Rv=null,i.zv=null,i.Cv=null,i.Iv=!1,i.Tv=null,i.Ev=function(){i.Iv=!1,i.Nv()},i.Lv=!1,i.Bi=!1,i.observer=null,i.Ql=new zi(n),i.un=null,i}return r.getDefaultProps=function(){var n=this;return{"loading":"auto","onReadyState":function(t,i){n.Fv(t,i)},"onPlayingState":function(t){n.Vv(t)}}},r.init=function(){},r.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},r.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.$v(t)}));var i=t.props,r=tr(i,ir)?ar:null,e=tr(i,br)?fr:null,o=t.usesTemplate?cr:null;this.observer.observe(this.element,c(c(c({attributes:!0},r),e),o)),this.un=tr(i,pr)?new yi(this.win,(function(){return n.Bv()})):null;var u=t.staticProps,l=this.init();Object.assign(this.jv,u,l),this.checkPropsPostMutations(),vi(this.element,[],(function(){return function(){n.Bi=!1,n.Cv&&_n(null,n.Cv)}})),vi(this.element,[Ti,Ei,Ni],(function(t,i,r){n.Ov.renderable=t,n.Ov.playable=i,n.Ov.loading=r,n.Bi=!0,n.Bv()}));var a,f=t.useContexts;return 0!=f.length&&vi(this.element,f,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.zv=i,n.Bv()})),this.Tv=new Z,this.Bv(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.qv(),this.Tv.promise},r.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Sv=!0)},r.mountCallback=function(){pi(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Sv=!1)},r.unmountCallback=function(){var n;pi(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Vv(!1),null===(n=this.un)||void 0===n||n.dispose()},r.mutateProps=function(n){Object.assign(this.jv,n),this.Bv()},r.api=function(){var n=this.xv;return _(n),n},r.mutationObserverCallback=function(n){},r.checkPropsPostMutations=function(){},r.updatePropsForRendering=function(n){},r.isReady=function(n){return!0},r.$v=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var e in r){var o,u,l=r[e],a=t.attributeName;if(_(a),a==l.attr||null!==(o=l.attrs)&&void 0!==o&&o.includes(a)||null!==(u=l.attrMatches)&&void 0!==u&&u.call(l,a))return!0}return!1}return"childList"==i&&(yr(t.addedNodes)||yr(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.Bv())},r.Bv=function(){this.Iv||(this.Iv=!0,this.mutateElement(this.Ev))},r.qv=function(){var n=this.xv,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Fv(t)},r.Fv=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Vv("complete"==n),this.Sv&&(this.Sv=!1,this.mutateProps({"loading":"auto"}))},r.Nv=function(){var n,t,i,r=this;if(this.Bi){var e,o=this.constructor,u=o.detached,l=o.usesShadowDom,a=l?null:o.lightDomTag;if(!this.Cv){var f=this.win.document;if(l){_(!u);var s=this.element.shadowRoot,v=s&&(e=s,A("c"),M(e,"> ".concat("c")));if(v)this.Lv=!0;else{var h,d,p,b,m,y;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,e=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==e.CSSStyleSheet.prototype.replaceSync){var o=e.__AMP_SHADOW_CSS||(e.__AMP_SHADOW_CSS={}),u=o[t];u||(_((u=new e.CSSStyleSheet).replaceSync),u.replaceSync(i),o[t]=u),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(u)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=T(f,"c",sr),s.appendChild(v);var w=T(f,"slot",vr);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(b=p.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(y=m.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc")}this.Cv=v,_(s),function(n,t){oi.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;oi.get(n).addGroup(t,i,r)}(this.element,"unslotted",dr,-1),n=this.element,t=Ti,this,null===(i=oi.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var k=this.element;this.Cv=k;var j=R(k,"i-amphtml-rendered")||T(f,a,hr);j.__AMP_RENDERED=!0,o.layoutSizeDefined&&j.classList.add("i-amphtml-fill-content"),this.Cv.appendChild(j)}else{var O=f.createElement("i-amphtml-c");this.Cv=O,O.classList.add("i-amphtml-fill-content"),u||this.element.appendChild(O)}}var S=this.Cv;_(S);var x=o.useContexts,P=this.zv;if(0==x.length||null!=P){var q=er(o,this.element,this.Pv,this.jv,this.un);if(this.updatePropsForRendering(q),this.isReady(q)){for(var z=on(o.Component,q),C=0;C<x.length;C++){_(P);var I=x[C].type,N=P[C];N&&(z=on(I.Provider,{value:N},z))}var L=on(wt,c({},this.Ov),z);try{if(this.Lv)this.Lv=!1,xn(L,S);else{var F=a?R(S,"i-amphtml-rendered"):null;F&&(F.__AMP_RENDERED=!0),_n(L,S,null!=F?F:void 0)}}catch(n){var V;throw null===(V=this.Tv)||void 0===V||V.reject(n),n}l||u||this.mutateElement((function(){return E(r.element,"amp:dom-update",void 0)})),this.Tv&&(this.Tv.resolve(void 0),this.Tv=null)}}}},r.getProp=function(n,t){return i=this.jv,r=n,k.call(i,r)?this.jv[n]:t;var i,r},r.getApi=function(){var n=this._v;return n?Promise.resolve(n):(this.Rv||(this.Rv=new Z),this.Rv.promise)},r.Mv=function(n){for(var t=j(),i=Object.keys(n),r=0;r<i.length;r++){var e=i[r];this.Uv(t,e)}this._v=t,this.Rv&&(this.Rv.resolve(t),this.Rv=null)},r.Av=function(n){},r.triggerEvent=function(n,t,i){E(n,t,i)},r.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Sv=!0;else{var n,t=this.xv;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},r.Vv=function(n){this.Ql.updatePlaying(n)},r.Uv=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.xv;return _(n),n[t]},set:function(n){var r=i.xv;_(r),r[t]=n}})},e}(Mi);function yr(n){for(var t=0;t<n.length;t++){var i=n[t];if(S(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}mr.staticProps=void 0,mr.useContexts=[],mr.loadable=!1,mr.unloadOnPause=!1,mr.layoutSizeDefined=!1,mr.lightDomTag="",mr.usesTemplate=!1,mr.shadowCss=null,mr.usesShadowDom=!1,mr.detached=!1,mr.delegatesFocus=!1,mr.props={};var gr=function(n){i(r,mr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();gr.Component=Nt,gr.loadable=!0,gr.layoutSizeDefined=!0,gr.staticProps,gr.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},gr.shadowCss='.fill-stretch-c645120{width:100%;height:100%;position:relative}.fill-content-overlay-c645120{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-0be5b4b{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-0be5b4b{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-0be5b4b>div:after,.eq-playing-0be5b4b>div:before{animation-play-state:running}.eq-col-0be5b4b{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-0be5b4b:after,.eq-col-0be5b4b:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-0be5b4b 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-0be5b4b:nth-child(4):before{animation-duration:0.4s}.eq-col-0be5b4b:nth-child(4):after{animation-duration:0.25s}.eq-col-0be5b4b:nth-child(3):before{animation-duration:0.3s}.eq-col-0be5b4b:nth-child(3):after{animation-duration:0.35s}.eq-col-0be5b4b:nth-child(2):before{animation-duration:0.5s}.eq-col-0be5b4b:nth-child(2):after{animation-duration:0.4s}.eq-col-0be5b4b:first-child:before{animation-duration:0.3s}.eq-col-0be5b4b:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-0be5b4b{0%{transform:translateY(100%)}to{transform:translateY(0)}}',gr.usesShadowDom=!0;var wr=function(n){i(r,gr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();function kr(){!function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:self;i.customElements.define(n,Ii(t,i))}("bento-dailymotion",wr)} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */wr.Component=Zt,wr.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},wr.layoutSizeDefined=!0,wr.usesShadowDom=!0; |
@@ -1,2 +0,2 @@ | ||
function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function e(e){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(t,n){if(null==t)return{};var e,i,o={},r=Object.keys(t);for(i=0;i<r.length;i++)e=r[i],n.indexOf(e)>=0||(o[e]=t[e]);return o}var{isArray:o}=Array;function r(t){return o(t)?t:[t]}function l(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const e=t.indexOf(n);return-1!=e&&(t.splice(e,1),!0)}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function a(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return u(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[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{hasOwnProperty:c,toString:f}=Object.prototype;function h(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function d(t){return 1==(null==t?void 0:t.nodeType)}function p(t,n,e,i,o,r,l,s,u,a,c){return t}function v(t){return(t.ownerDocument||t).defaultView}function y(t){p(/^[\w-]+$/.test(t))}function b(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function m(t,n){const e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!e&&e.call(t,n)}function g(t,n){return y(n),b(t,`> [${n}]`)}function w(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!_(n)&&e.push(n);return e}(t)}function _(t){return!!function(t){let n;return"string"==typeof t?n=t:d(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var P={bubbles:!0,cancelable:!0};function k(t,n,e){return function(t,n){for(const e in n)t.setAttribute(e,n[e]);return t}(t.createElement(n),e)}function A(t,n,e,i){const o=e||{};p(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:l,cancelable:s}=i||P;r.initEvent(n,l,s),t.dispatchEvent(r)}var M,R=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function S(t,n=""){try{return decodeURIComponent(t)}catch(t){return n}}function I(){return M||(M=Promise.resolve(void 0))}var C,T,E,x,O,V,j,q=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};function z(t){return new Promise((n=>{n(t())}))}var $,N,L,U={},F=[],D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(t,n){for(var e in n)t[e]=n[e];return t}function H(t){var n=t.parentNode;n&&n.removeChild(t)}function B(t,n,e){var i,o,r,l={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:l[r]=n[r];if(arguments.length>2&&(l.children=arguments.length>3?C.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===l[r]&&(l[r]=t.defaultProps[r]);return Z(t,l,i,o,null)}function Z(t,n,e,i,o){var r={type:t,props:n,key:e,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++E:o};return null==o&&null!=T.vnode&&T.vnode(r),r}function G(t){return t.children}function J(t,n){this.props=t,this.context=n}function Q(t,n){if(null==n)return t.__?Q(t.__,t.__.__k.indexOf(t)+1):null;for(var e;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof t.type?Q(t):null}function Y(t){var n,e;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e){t.__e=t.__c.base=e.__e;break}return Y(t)}}function K(t){(!t.__d&&(t.__d=!0)&&x.push(t)&&!X.__r++||V!==T.debounceRendering)&&((V=T.debounceRendering)||O)(X)}function X(){for(var t;X.__r=x.length;)t=x.sort((function(t,n){return t.__v.__b-n.__v.__b})),x=[],t.some((function(t){var n,e,i,o,r,l;t.__d&&(r=(o=(n=t).__v).__e,(l=n.__P)&&(e=[],(i=W({},o)).__v=o.__v+1,st(l,o,i,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,e,null==r?Q(o):r,o.__h),ut(e,o),o.__e!=r&&Y(o)))}))}function tt(t,n,e,i,o,r,l,s,u,a){var c,f,h,d,p,v,y,b=i&&i.__k||F,m=b.length;for(e.__k=[],c=0;c<n.length;c++)if(null!=(d=e.__k[c]=null==(d=n[c])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?Z(null,d,null,null,d):Array.isArray(d)?Z(G,{children:d},null,null,null):d.__b>0?Z(d.type,d.props,d.key,null,d.__v):d)){if(d.__=e,d.__b=e.__b+1,null===(h=b[c])||h&&d.key==h.key&&d.type===h.type)b[c]=void 0;else for(f=0;f<m;f++){if((h=b[f])&&d.key==h.key&&d.type===h.type){b[f]=void 0;break}h=null}st(t,d,h=h||U,o,r,l,s,u,a),p=d.__e,(f=d.ref)&&h.ref!=f&&(y||(y=[]),h.ref&&y.push(h.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=nt(d,u,t):u=et(t,d,h,b,p,u),"function"==typeof e.type&&(e.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=Q(h))}for(e.__e=v,c=m;c--;)null!=b[c]&&("function"==typeof e.type&&null!=b[c].__e&&b[c].__e==e.__d&&(e.__d=Q(i,c+1)),ct(b[c],b[c]));if(y)for(c=0;c<y.length;c++)at(y[c],y[++c],y[++c])}function nt(t,n,e){for(var i,o=t.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=t,n="function"==typeof i.type?nt(i,n,e):et(e,i,i,o,i.__e,n));return n}function et(t,n,e,i,o,r){var l,s,u;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==e||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),l=null;else{for(s=r,u=0;(s=s.nextSibling)&&u<i.length;u+=2)if(s==o)break t;t.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function it(t,n,e){"-"===n[0]?t.setProperty(n,e):t[n]=null==e?"":"number"!=typeof e||D.test(n)?e:e+"px"}function ot(t,n,e,i,o){var r;t:if("style"===n)if("string"==typeof e)t.style.cssText=e;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(n in i)e&&n in e||it(t.style,n,"");if(e)for(n in e)i&&e[n]===i[n]||it(t.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=e,e?i||t.addEventListener(n,r?lt:rt,r):t.removeEventListener(n,r?lt:rt,r);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==e?"":e;break t}catch(t){}"function"==typeof e||(null!=e&&(!1!==e||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,e):t.removeAttribute(n))}}function rt(t){this.l[t.type+!1](T.event?T.event(t):t)}function lt(t){this.l[t.type+!0](T.event?T.event(t):t)}function st(t,n,e,i,o,r,l,s,u){var a,c,f,h,d,p,v,y,b,m,g,w=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(u=e.__h,s=n.__e=e.__e,n.__h=null,r=[s]),(a=T.__b)&&a(n);try{t:if("function"==typeof w){if(y=n.props,b=(a=w.contextType)&&i[a.__c],m=a?b?b.props.value:a.__:i,e.__c?v=(c=n.__c=e.__c).__=c.__E:("prototype"in w&&w.prototype.render?n.__c=c=new w(y,m):(n.__c=c=new J(y,m),c.constructor=w,c.render=ft),b&&b.sub(c),c.props=y,c.state||(c.state={}),c.context=m,c.__n=i,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=W({},c.__s)),W(c.__s,w.getDerivedStateFromProps(y,c.__s))),h=c.props,d=c.state,f)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==h&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,m),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,m)||n.__v===e.__v){c.props=y,c.state=c.__s,n.__v!==e.__v&&(c.__d=!1),c.__v=n,n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(t){t&&(t.__=n)})),c.__h.length&&l.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,m),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(h,d,p)}))}c.context=m,c.props=y,c.state=c.__s,(a=T.__r)&&a(n),c.__d=!1,c.__v=n,c.__P=t,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(i=W(W({},i),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(p=c.getSnapshotBeforeUpdate(h,d)),g=null!=a&&a.type===G&&null==a.key?a.props.children:a,tt(t,Array.isArray(g)?g:[g],n,e,i,o,r,l,s,u),c.base=n.__e,n.__h=null,c.__h.length&&l.push(c),v&&(c.__E=c.__=null),c.__e=!1}else null==r&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=function(t,n,e,i,o,r,l,s){var u,a,c,f=e.props,h=n.props,d=n.type,p=0;if("svg"===d&&(o=!0),null!=r)for(;p<r.length;p++)if((u=r[p])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,r[p]=null;break}if(null==t){if(null===d)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),r=null,s=!1}if(null===d)f===h||s&&t.data===h||(t.data=h);else{if(r=r&&C.call(t.childNodes),a=(f=e.props||U).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!s){if(null!=r)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(function(t,n,e,i,o){var r;for(r in e)"children"===r||"key"===r||r in n||ot(t,r,null,e[r],i);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||e[r]===n[r]||ot(t,r,n[r],e[r],i)}(t,h,f,o,s),c)n.__k=[];else if(p=n.props.children,tt(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==d,r,l,r?r[0]:e.__k&&Q(e,0),s),null!=r)for(p=r.length;p--;)null!=r[p]&&H(r[p]);s||("value"in h&&void 0!==(p=h.value)&&(p!==t.value||"progress"===d&&!p)&&ot(t,"value",p,f.value,!1),"checked"in h&&void 0!==(p=h.checked)&&p!==t.checked&&ot(t,"checked",p,f.checked,!1))}return t}(e.__e,n,e,i,o,r,l,u);(a=T.diffed)&&a(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=s,n.__h=!!u,r[r.indexOf(s)]=null),T.__e(t,n,e)}}function ut(t,n){T.__c&&T.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){T.__e(t,n.__v)}}))}function at(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){T.__e(t,e)}}function ct(t,n,e){var i,o;if(T.unmount&&T.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||at(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){T.__e(t,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&ct(i[o],n,"function"!=typeof t.type);e||null==t.__e||H(t.__e),t.__e=t.__d=void 0}function ft(t,n,e){return this.constructor(t,e)}function ht(t,n,e){var i,o,r;T.__&&T.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],st(n,t=(!i&&e||n).__k=B(G,null,[t]),o||U,U,void 0!==n.ownerSVGElement,!i&&e?[e]:o?null:n.firstChild?C.call(n.childNodes):null,r,!i&&e?e:o?o.__e:n.firstChild,i),ut(r,t)}function dt(t,n){ht(t,n,dt)}C=F.slice,T={__e:function(t,n){for(var e,i,o;n=n.__;)if((e=n.__c)&&!e.__)try{if((i=e.constructor)&&null!=i.getDerivedStateFromError&&(e.setState(i.getDerivedStateFromError(t)),o=e.__d),null!=e.componentDidCatch&&(e.componentDidCatch(t),o=e.__d),o)return e.__E=e}catch(n){t=n}throw t}},E=0,J.prototype.setState=function(t,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof t&&(t=t(W({},e),this.props)),t&&W(e,t),null!=t&&this.__v&&(n&&this.__h.push(n),K(this))},J.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),K(this))},J.prototype.render=G,x=[],O="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,X.__r=0,j=0;var pt=0,vt=[],yt=T.__b,bt=T.__r,mt=T.diffed,gt=T.__c,wt=T.unmount;function _t(t,n){T.__h&&T.__h(N,t,pt||n),pt=0;var e=N.__H||(N.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function Pt(t){return pt=1,function(t,n,e){var i=_t($++,2);return i.t=t,i.__c||(i.__=[Vt(void 0,n),function(t){var n=i.t(i.__[0],t);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=N),i.__}(Vt,t)}function kt(t,n){var e=_t($++,3);!T.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,N.__H.__h.push(e))}function At(t,n){var e=_t($++,4);!T.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,N.__h.push(e))}function Mt(t){return pt=5,St((function(){return{current:t}}),[])}function Rt(t,n,e){pt=6,At((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==e?e:e.concat(t))}function St(t,n){var e=_t($++,7);return Ot(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function It(t,n){return pt=8,St((function(){return t}),n)}function Ct(){vt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Et),t.__H.__h.forEach(xt),t.__H.__h=[]}catch(n){t.__H.__h=[],T.__e(n,t.__v)}})),vt=[]}T.__b=function(t){N=null,yt&&yt(t)},T.__r=function(t){bt&&bt(t),$=0;var n=(N=t.__c).__H;n&&(n.__h.forEach(Et),n.__h.forEach(xt),n.__h=[])},T.diffed=function(t){mt&&mt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&L===T.requestAnimationFrame||((L=T.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),Tt&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);Tt&&(n=requestAnimationFrame(e))})(Ct)),N=null},T.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Et),t.__h=t.__h.filter((function(t){return!t.__||xt(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],T.__e(e,t.__v)}})),gt&>(t,n)},T.unmount=function(t){wt&&wt(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Et)}catch(t){T.__e(t,n.__v)}};var Tt="function"==typeof requestAnimationFrame;function Et(t){var n=N;"function"==typeof t.__c&&t.__c(),N=n}function xt(t){var n=N;t.__c=t.__(),N=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,e){return n!==t[e]}))}function Vt(t,n){return"function"==typeof n?n(t):n}function jt(t){return t.children}var qt,zt=["ref"],$t="undefined"!=typeof Symbol&&(null===(qt=Symbol.for)||void 0===qt?void 0:qt.call(Symbol,"react.forward_ref"))||3911,Nt=T.__b;function Lt(t){function n(n){const{ref:e}=n,o=i(n,zt);return t(o,e)}return n.$$typeof=$t,n.render=n,n.prototype.isReactComponent=!0,n.v=!0,n}function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t){var n=function(t,n){if("object"!==Ut(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!==Ut(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ut(n)?n:String(n)}T.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n.v&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==Nt||Nt(t)};var Dt,Wt=["auto","lazy","eager","unload"],Ht={auto:0,lazy:1,eager:2,unload:3};function Bt(t,n){const e=Ht[t]||0,i=Ht[n]||0,o=Math.max(e,i);return Wt[o]}function Zt(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:e,stack:i}=t,o=new Error(e);for(const n in t)o[n]=t[n];return o.stack=i,o}function Gt(t){let n=null,e="";for(var i,o=a(arguments,!0);!(i=o()).done;){const t=i.value;t instanceof Error&&!n?n=Zt(t):(e&&(e+=" "),e+=t)}return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function Jt(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function Qt(t){const n=Gt.apply(null,arguments);setTimeout((()=>{throw Jt(n),n}))}function Yt(t,...n){try{return t.apply(null,n)}catch(t){Qt(t)}}function Kt(t){const n=Gt.apply(null,arguments);return n.expected=!0,n}function Xt(t,...n){Jt(Kt.apply(null,n))}var tn,nn=["Webkit","webkit","Moz","moz","ms","O","o"],en={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function on(t,n,e,i,o){const r=function(t,n,e){if(rn(n))return n;Dt||(Dt=h());let i=Dt[n];if(!i||e){if(i=n,void 0===t[n]){const e=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),o=function(t,n){for(let e=0;e<nn.length;e++){const i=nn[e]+n;if(void 0!==t[i])return i}return""}(t,e);void 0!==t[o]&&(i=o)}e||(Dt[n]=i)}return i}(t.style,n,o);if(!r)return;const l=i?e+i:e;rn(r)?t.style.setProperty(r,l):t.style[r]=l}function rn(t){return t.startsWith("--")}function ln(t){return null==t.__AMP_AUTOPLAY&&(t.__AMP_AUTOPLAY=function(t){const n=t.document.createElement("video");var e;return n.setAttribute("muted",""),n.setAttribute("playsinline",""),n.setAttribute("webkit-playsinline",""),n.setAttribute("height","0"),n.setAttribute("width","0"),n.muted=!0,n.playsInline=!0,n.playsinline=!0,n.webkitPlaysinline=!0,function(t,n){for(const e in n)on(t,e,n[e])}(n,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),e=n,z((()=>e.play())).catch((()=>{})),Promise.resolve(!n.paused)}(t)),t.__AMP_AUTOPLAY}function sn(){return tn||(n={__c:t="__cC"+j++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(t,n){return t.children(n)},Provider:function(n){var e,i;return this.getChildContext||(e=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&e.some(K)},this.sub=function(t){e.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){e.splice(e.indexOf(t),1),n&&n.call(t)}}),n.children}},tn=n.Provider.__=n.Consumer.contextType=n);var t,n}function un({children:t,loading:n="auto",notify:e,playable:i=!0,renderable:o=!0}){const r=an(),l=o&&r.renderable,s=l&&i&&r.playable,u=Bt(l?"auto":"lazy",Bt(n,r.loading)),a=e||r.notify,c=St((()=>({renderable:l,playable:s,loading:u,notify:a})),[l,s,u,a]);return B(sn().Provider,{children:t,value:c})}function an(){return t=sn(),n=N.context[t.__c],(e=_t($++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub(N)),n.props.value):t.__;var t,n,e}var cn=[null,"paint","layout","content","size","size paint","size layout","strict"],fn={"position":"relative","width":"100%","height":"100%"},hn=Lt((function(t,n){let o="class",{as:r="div",children:l,contentAs:s="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:p=!1,"style":v,wrapperClassName:y,wrapperStyle:b,[o]:m}=t;const g=(p?4:0)+(h?2:0)+(d?1:0);return B(r,e(e({},i(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(Ft))),{},{ref:n,class:`${m||""} ${y||""}`.trim()||null,style:e(e(e({},v),b),{},{contain:cn[g]})}),B(s,e(e({},a),{},{ref:c,class:u,style:e(e({},p&&fn),{},{"overflow":d?"hidden":"visible"},f)}),l))}));function dn(t){const n=Mt(null);return n.current=t,n}Lt((function(t,n){let o="class",{as:r="div",children:l,"style":s,wrapperClassName:u,wrapperStyle:a,[o]:c}=t;return B(r,e(e({},i(t,["as","children","style","wrapperClassName","wrapperStyle",o].map(Ft))),{},{ref:n,class:`${c||""} ${u||""}`.trim()||null,style:e(e({},s),a)}),l)}));var pn=self.AMP_CONFIG||{},vn=("string"==typeof pn.thirdPartyFrameRegex?new RegExp(pn.thirdPartyFrameRegex):pn.thirdPartyFrameRegex,("string"==typeof pn.cdnProxyRegex?new RegExp(pn.cdnProxyRegex):pn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function yn(t){if(!self.document||!self.document.head)return null;if(self.location&&vn.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}pn.thirdPartyUrl,pn.thirdPartyFrameHost,pn.cdnUrl||yn("runtime-host"),pn.errorReportingUrl,pn.betaErrorReportingUrl,pn.localDev,pn.geoApiUrl||yn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var bn={"title":"","artist":"","album":"","artwork":[{"src":""}]};function mn(t){const n=t.querySelector('script[type="application/ld+json"]');if(!n)return;const e=function(t,n){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null}}(n.textContent);return e&&e.image?"string"==typeof e.image?e.image:e.image["@list"]&&"string"==typeof e.image["@list"][0]?e.image["@list"][0]:"string"==typeof e.image.url?e.image.url:"string"==typeof e.image[0]?e.image[0]:void 0:void 0}function gn(t){const n=t.querySelector('meta[property="og:image"]');return n?n.getAttribute("content"):void 0}function wn(t){const n=t.querySelector('link[rel="shortcut icon"]')||t.querySelector('link[rel="icon"]');return n?n.getAttribute("href"):void 0}function _n({displayIcon:t,displayOverlay:n,metadata:e,onOverlayClick:i,pause:o,play:r,playing:l,wrapperRef:s}){const{playable:u}=an();return kt((()=>{if(!u)return void o();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?r().catch((()=>{})):o()}),{threshold:.5});return t.observe(s.current),()=>{t.disconnect()}}),[s,r,o,u]),B(jt,null,t&&B("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},B(Pn,null)),n&&B("button",{"aria-label":e&&e.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:i}))}var Pn=function(t){let n=!1,e=null,i=()=>[1,2,3,4].map((t=>B("div",{class:"eq-col-0be5b4b",key:t})));return(...t)=>(n||(e=i.apply(self,t),n=!0,i=null),e)}(),kn=Lt((function(t,n){let o="class",{autoplay:r=!1,component:l="video",controls:s=!1,loading:u,loop:a=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:h,onReadyState:d,poster:p,sources:v,src:y,style:b,[o]:m}=t,g=i(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(Ft));!function(){const{notify:t}=an();At((()=>{t&&t()}))}();const{playable:w}=an(),_=function(t){const{loading:n}=an();return Bt(t,n)}(u),P="unload"!==_,[k,A]=Pt(r),[M,R]=Pt(!1),[S,I]=Pt(null),[C,T]=Pt(!r),E=Mt(null),x=Mt(null),O=St((()=>new q),[]),V=Mt("loading"),j=dn(d),$=It(((t,n)=>{if(t!==V.current){V.current=t;const e=j.current;e&&e(t,n)}}),[j]),N=dn(h),L=It((t=>{R(t);const n=N.current;n&&n(t)}),[N]);At((()=>{P||L(!1)}),[P,L]);const U=It((()=>O.promise.then((()=>function(t,n){const e=z((()=>t.play(!1)));return e.catch((t=>{Xt(0,t)})),e}(x.current)))),[O]),F=It((()=>{O.promise.then((()=>{var t;return null===(t=x.current)||void 0===t?void 0:t.pause()}))}),[O]),D=It((()=>O.promise.then((()=>x.current.requestFullscreen()))),[O]),W=It((()=>{A(!1),T(!0)}),[]);return At((()=>{var t;const n=null===(t=x.current)||void 0===t?void 0:t.readyState;null!=n&&$(n>0?"complete":"loading")}),[$]),At((()=>(c&&M&&S&&function(t,n,e,i){const{navigator:o}=t;"mediaSession"in o&&t.MediaMetadata&&(o.mediaSession.metadata=new t.MediaMetadata(bn),o.mediaSession.metadata=new t.MediaMetadata(n),o.mediaSession.setActionHandler("play",e),o.mediaSession.setActionHandler("pause",i))}(window,S,U,F),()=>{})),[c,M,S,U,F]),kt((()=>{w||F()}),[w,F]),Rt(n,(()=>({get readyState(){return V.current},play:U,pause:F,requestFullscreen:D,get currentTime(){return x.current?x.current.currentTime:0},get duration(){return x.current?x.current.duration:NaN},get autoplay(){return r},get controls(){return s},get loop(){return a},userInteracted:W,mute:()=>A(!0),unmute:()=>{C&&A(!1)}})),[U,F,D,W,C,r,s,a]),B(hn,{contentRef:E,class:m,style:b,size:!0,layout:!0,paint:!0},P&&B(l,e(e({},g),{},{ref:x,loading:_,muted:k,loop:a,controls:s&&(!r||C),onCanPlay:()=>{O.resolve(),$("complete")},onLoadedMetadata:()=>{c&&O.promise.then((()=>{var t,n;I((t=x.current,e({"title":(n=g).title||n["aria-label"]||document.title,"artist":n.artist||"","album":n.album||"","artwork":[{"src":n.artwork||n.poster||mn(document)||gn(document)||wn(document)||""}]},t&&t.getMetadata?t.getMetadata():Object.create(null))))})),$("complete")},onPlaying:()=>L(!0),onPause:()=>L(!1),onEnded:()=>L(!1),onError:t=>{$("error",t),O.reject(t)},class:"fill-stretch-c645120",src:y,poster:p}),v),r&&!C&&B(_n,{metadata:S,playing:M,displayIcon:!f&&k,wrapperRef:E,play:U,pause:F,displayOverlay:s,onOverlayClick:W}))}));kn.displayName="VideoWrapper";var An=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Rn(t,n,e){t&&t.contentWindow&&n.then((()=>{t.contentWindow.postMessage(e(),"*")}))}var Sn=Lt((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:l=Mn,muted:s=!1,controls:u=!1,origin:a,onCanPlay:c,onMessage:f,playerStateRef:h,makeMethodMessage:d,makeFullscreenMessage:p,onIframeLoad:v}=t,y=i(t,An);const b=Mt(null),m=St((()=>new q),[]),g=Mt(d),w=It((t=>{Rn(null==b?void 0:b.current,m.promise,(()=>g.current(t)))}),[m.promise]),_=Mt(p),P=It((()=>Rn(null==b?void 0:b.current,m.promise,_.current)),[m.promise]);Rt(n,(()=>({get currentTime(){var t,n;return null!==(t=null==h||null===(n=h.current)||void 0===n?void 0:n.currentTime)&&void 0!==t?t:NaN},get duration(){var t,n;return null!==(t=null==h||null===(n=h.current)||void 0===n?void 0:n.duration)&&void 0!==t?t:NaN},requestFullscreen:()=>{if(!_.current)return m.promise.then((()=>{b.current.requestFullscreen()}));P()},play:()=>w("play"),pause:()=>{if(r){const t=b.current;t&&(t.src=t.src)}else w("pause")}})),[h,w,P,m.promise,r]);const k=function(t){const n=Mt(null);return n.current=t,n}(f);return At((()=>{if(!b.current)return;function t(t){k.current&&(a&&!a.test(t.origin)||t.source!=b.current.contentWindow||k.current({currentTarget:b.current,target:b.current,data:t.data}))}const{defaultView:n}=b.current.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[a,k]),At((()=>{w(s?"mute":"unmute")}),[s,w]),At((()=>{w(u?"showControls":"hideControls")}),[u,w]),B("iframe",e(e({},y),{},{ref:b,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&m.promise.then(c),m.resolve()},onLoad:t=>{null==v||v(t)}}))}));Sn.displayName="VideoIframeInternal";var In=Lt((function(t,n){return B(kn,e(e({ref:n},t),{},{component:Sn}))}));function Cn(t,n){return JSON.stringify({"command":t,"parameters":n})}In.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Tn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function En(t){switch(t){case"mute":return Cn("muted",[!0]);case"unmute":return Cn("muted",[!1]);case"showControls":return Cn("controls",[!0]);case"hideControls":return Cn("controls",[!1]);default:return Cn(t)}}function xn({currentTarget:t,data:n}){const e=function(t){const n=h();if(!t)return n;let e;for(;e=R.exec(t);){const t=S(e[1],e[1]),i=e[2]?S(e[2].replace(/\+/g," "),e[2]):"";n[t]=i}return n}(n),i=null==e?void 0:e.event;"pause"===i?A(t,"pause"):"play"===i?A(t,"playing"):"end"===i?(A(t,"pause"),A(t,"end")):"apiready"===i&&A(t,"canplay")}var On=Lt((function(t,n){let{autoplay:o,endscreenEnable:l,info:s,mute:u,sharingEnable:a,start:c,uiHighlight:f,uiLogo:h,videoId:d}=t,p=i(t,Tn);const v=St((()=>function(t,n,i=!1,o=!0,l=!0,s=!1,u=!0,a,c,f=!0,h){return function(t,n,e){if(!n)return t;const i=t.split("#",2),o=i[0].split("?",2);let r=o[0]+(o[1]?`?${o[1]}&${n}`:`?${n}`);return r+=i[1]?`#${i[1]}`:"",r}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(n)}?api=1&html=1&app=amp`,function(t){const n=[];for(const o in t){let l=t[o];if(null!=l){l=r(l);for(let t=0;t<l.length;t++)n.push((e=o,i=l[t],`${encodeURIComponent(e)}=${encodeURIComponent(i)}`))}}var e,i;return n.join("&")}(e({"endscreen-enable":o?void 0:o,"info":l?void 0:l,"mute":s||i&&ln(t)?1:void 0,"sharing-enable":u?void 0:u,"start":a,"ui-highlight":c,"ui-logo":f?void 0:f},h)))}(window,d,o,l,s,u,a,c,f,h)),[d,o,l,s,u,a,c,f,h]);return B(In,e(e({autoplay:o,controls:!0,ref:n},p),{},{src:v,makeMethodMessage:En,onMessage:xn}))}));function Vn(t,n){let e=!1;const i=()=>{e=!1,t()};return t=>{e||(e=!0,(t||n)(i))}}function jn(t,n,e,i=!0,o=!0){if(o){const o=n(t,e,i);o&&jn(t,n,e,o,!1)}else if(t.children)for(var r,l=a(t.children,!0);!(r=l()).done;)jn(r.value,n,e,i,!0)}On.displayName="BentoDailymotion";var qn=[],zn=()=>{};function $n(t,n){return t.values.scan(n)}function Nn(t,n,e){return t.values.scanAll(e)}function Ln(t,n){return t.values.has(n)}function Un(t){return!!t.recursive}function Fn(t){return void 0!==t}var Dn=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Dn(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let e=t;for(;e;){if(e!=t||n){if(e.__AMP_NODE)return e.__AMP_NODE;const{nodeType:t}=e;if(9==t||11==t||d(e)&&e.tagName.startsWith("AMP-"))return Dn.get(e)}e=e.__AMP_ASSIGNED_SLOT||e.assignedSlot||e.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,Wn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Wn(t))}static rediscoverChildren(t){var n;const e=t.__AMP_NODE;null==e||null===(n=e.children)||void 0===n||n.forEach(Hn)}constructor(t,n){this.node=t,this.name=n,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.Ze=t,this.m=null,this.zf=null,this.Nf=Vn(this.Nf.bind(this),setTimeout)}set(t,n,e){p(n),p(void 0!==e);const{key:i}=t,o=this.m||(this.m=new Map);let r=o.get(i);r||(r={values:[],setters:[]},o.set(i,r));const l=r.setters.indexOf(n),s=-1==l||r.values[l]!==e;-1==l?(r.setters.push(n),r.values.push(e)):s&&(r.values[l]=e),s&&(this.ping(t,!1),Un(t)&&jn(this.Ze,$n,t,!0,!1))}remove(t,n){p(n);const{key:e}=t,i=this.m,o=null==i?void 0:i.get(e);if(o){p(i);const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&i.delete(e),jn(this.Ze,$n,t))}}has(t){var n;return!(null===(n=this.m)||void 0===n||!n.has(t.key))}subscribe(t,n){const e=this.Lf(t);if(!l(e.subscribers,n))return;const i=e.value;Fn(i)&&this.hi()&&n(i)}unsubscribe(t,n){var e;const i=null===(e=this.zf)||void 0===e?void 0:e.get(t.key);i&&s(i.subscribers,n)&&this.Uf(i)}ping(t,n){var e,i;null===(e=this.zf)||void 0===e||null===(i=e.get(t.key))||void 0===i||i.ping(n)}parentUpdated(){this.hi()&&jn(this.Ze,Nn,void 0,qn)}rootUpdated(){const t=this.zf;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Un(n)&&this.Df(t,null)})))}scan(t){return this.ping(t,!0),!!Un(t)&&!this.has(t)}scanAll(t){let n=null;const e=this.zf;return e&&e.forEach((e=>{const{prop:i}=e,{key:o}=i;-1==(n||t).indexOf(o)&&(this.ping(i,!0),this.Ze.children&&this.has(i)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}hi(){return!!this.Ze.root}Lf(t){const{deps:n,key:e}=t,i=this.zf||(this.zf=new Map);let o=i.get(e);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(zn):qn,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.Nf()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):qn,pingParent:Un(t)?t=>{o.parentValue=t,o.ping()}:null},i.set(e,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}Uf(t){var n;if(t.subscribers.length>0)return;const{pingDep:e,prop:i}=t,{deps:o,key:r}=i;null===(n=this.zf)||void 0===n||n.delete(r),this.Df(t,null),o.length>0&&o.forEach(((t,n)=>{this.unsubscribe(t,e[n])}))}Nf(){if(!this.hi())return;const t=this.zf;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:e}=t.prop;if(t.counter++,t.counter>5)return Qt(`cyclical prop: ${e}`),void(t.pending=0);n++,this.Wf(t)}}))}while(n>0)}Wf(t){const n=2==t.pending;let e;try{e=this.Hf(t,n)}catch(t){Qt(t)}t.pending=0,this.Bf(t,e)}Bf(t,n){const{prop:e,value:i}=t,{key:o}=e,r=this.zf;if(i===n||t!==(null==r?void 0:r.get(o))||!this.hi())return;t.value=n;const{subscribers:l}=t;for(var s,u=a(l,!0);!(s=u()).done;)(0,s.value)(n)}Hf(t,n){var e,i;p(this.hi());const{depValues:o,prop:r}=t,{compute:l,defaultValue:s,key:u}=r,a=null===(e=this.m)||void 0===e||null===(i=e.get(u))||void 0===i?void 0:i.values,c=function(t,n){const{compute:e,recursive:i}=t;return"function"==typeof i?!n||i(n):!(i&&n&&!e)&&i}(r,a);if(n||c!=Boolean(t.parentContextNode)){const n=c?function(t,n,e,i=!0){for(let o=i?t:t.parent;o;o=o.parent)if(n(o,e))return o;return null}(this.Ze,Ln,r,!1):null;this.Df(t,n)}const f=Fn(t.parentValue)?t.parentValue:c&&!t.parentContextNode?s:void 0;let h;if(o.every(Fn)&&(!c||Fn(f))){const{node:t}=this.Ze;a&&!l?h=a[0]:Un(r)?a||o.length>0?h=function(t,n,e,i,o){switch(o.length){case 0:return t(n,e,i);case 1:return t(n,e,i,o[0]);case 2:return t(n,e,i,o[0],o[1]);case 3:return t(n,e,i,o[0],o[1],o[2]);default:return t.apply(null,[n,e,i].concat(o))}}(l,t,a||qn,f,o):Fn(f)&&(h=f):l&&(h=function(t,n,e,i){switch(i.length){case 0:return t(n,e);case 1:return t(n,e,i[0]);case 2:return t(n,e,i[0],i[1]);case 3:return t(n,e,i[0],i[1],i[2]);default:return t.apply(null,[n,e].concat(i))}}(l,t,a||qn,o))}return h}Df(t,n){const{parentContextNode:e,pingParent:i,prop:o}=t;n!=e&&(t.parentContextNode=n,t.parentValue=void 0,p(i),e&&e.values.unsubscribe(o,i),n&&(p(i),n.values.subscribe(o,i)))}}(this),this.Zf=null,this.Gf=!1,this.Jf=Vn(this.Qf.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,e;const i=t.target;i.assignedNodes().forEach(Wn),null===(n=Dn.closest(i))||void 0===n||null===(e=n.children)||void 0===e||e.forEach(Hn)})),this.discover()}discover(){this.isDiscoverable()?this.Jf():this.name&&this.children&&this.children.forEach(Hn)}isDiscoverable(){return!this.isRoot&&!this.Gf}setParent(t){const n=null!=t&&t.nodeType?Dn.get(t):t;this.Yf(n,null!=t)}setIsRoot(t){var n,e;this.isRoot=t;const i=t?this:null!==(n=null===(e=this.parent)||void 0===e?void 0:e.root)&&void 0!==n?n:null;this.updateRoot(i)}updateRoot(t){p(!t||t.isRoot);const n=this.root;var e,i;t!=n&&(this.root=t,this.values.rootUpdated(),null===(e=this.Zf)||void 0===e||e.forEach((t=>t.rootUpdated())),null===(i=this.children)||void 0===i||i.forEach((n=>n.updateRoot(t))))}addGroup(t,n,e){const i=this.groups||(this.groups=new Map),{children:o,node:r}=this,l=new Dn(r,t);return i.set(t,{cn:l,match:n,weight:e}),l.setParent(this),null==o||o.forEach(Hn),l}group(t){var n,e;return(null===(n=this.groups)||void 0===n||null===(e=n.get(t))||void 0===e?void 0:e.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let e=null,i=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:o,weight:r})=>{o(t,this.node)&&r>i&&(e=n,i=r)})),e}subscribe(t,n,e,i){const o=this.Zf||(this.Zf=new Map);let r=o.get(t);r||(r=new n(this,e,i),o.set(t,r))}unsubscribe(t){const n=this.Zf,e=null==n?void 0:n.get(t);e&&(e.dispose(),p(n),n.delete(t))}Qf(){if(!this.isDiscoverable())return;const t=Dn.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.Yf(n,!1)}Yf(t,n){var e;this.Gf=n;const i=this.parent;if(t!=i){if(this.parent=t,null!=i&&i.children&&(p(i.children),s(i.children,this)),t){const n=t.children||(t.children=[]);l(n,this);for(var o,r=a(n,!0);!(o=r()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function Wn(t){!function(t,n,e=!0){const i=Dn.closest(t,e);if(i)if(i.node==t)n(i);else if(i.children)for(var o,r=a(i.children,!0);!(o=r()).done;){const e=o.value;t.contains(e.node)&&n(e)}}(t,Hn)}function Hn(t){t.discover()}var Bn=[];function Zn(t,n){const i=e({key:t,deps:Bn,recursive:!1},n);return p(0==i.deps.length||i.compute),i}var Gn=[],Jn=()=>{};function Qn(t,n,e){n=r(n);const i=e;Dn.get(t).subscribe(i,Yn,e,n)}var Yn=class{constructor(t,n,e){if(this.contextNode=t,this.Kf=n,this.Xf=e,this.td=e.length>0?e.map(Jn):Gn,this.nd=e.length>0?e.map(((t,n)=>t=>{this.td[n]=t,this.ed()})):Gn,this._s=!1,this.od=null,this.ed=Vn(this.ed.bind(this),setTimeout),e.length>0){const{values:t}=this.contextNode;e.forEach(((n,e)=>t.subscribe(n,this.nd[e])))}this.hi()&&this.ed()}dispose(){if(this.Xf.length>0){const{values:t}=this.contextNode;this.Xf.forEach(((n,e)=>t.unsubscribe(n,this.nd[e])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.ed()}hi(){return!!this.contextNode.root}ed(){this.hi()&&(this.td.every(Kn)?(this._s=!0,this.rd()):this._s&&(this._s=!1,this.de()))}rd(){this.de();const t=this.Kf;this.od=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.td)}de(){this.od&&(Yt(this.od),this.od=null)}};function Kn(t){return void 0!==t}function Xn(t){Dn.get(t).discover()}function te(t,n,e,i){Dn.get(t).values.set(n,e,i)}function ne(t,n,e){Dn.get(t).values.remove(n,e)}function ee(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function ie(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let e,i,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const e=n.charAt(o);if("("==e?t--:")"==e&&t++,0==t)break}const e=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=e)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(e=n.substring(0,o+1).trim(),i=n.substring(o+1).trim()):(i=n,e=void 0),i?{query:e?t.matchMedia(e):null,value:i}:null})).filter(Boolean)}function oe(t,n,e){for(let i=0;i<t.length;i++){const{query:o}=t[i];o&&(void 0!==o.onchange?o.onchange=e?n:null:e?o.addListener(n):o.removeListener(n))}}var re,le,se,ue=/vertical/,ae=new WeakMap,ce=new WeakMap,fe=new WeakMap;function he(t){let n=ae.get(t);return n||(n=new t.ResizeObserver(de),ae.set(t,n)),n}function de(t){const n=new Set;for(let e=t.length-1;e>=0;e--){const i=t[e],{target:o}=i;if(n.has(o))continue;n.add(o);const r=ce.get(o);if(r){fe.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];pe(e,n,i)}}}}function pe(t,n,e){if(0==t){const{contentRect:t}=e,{height:i,width:o}=t;Yt(n,{width:o,height:i})}else if(1==t){const{borderBoxSize:t}=e;let i;if(t)i=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=e,n=v(t),o=ue.test(function(t,n){return t.getComputedStyle(n)||en}(n,t).writingMode),{offsetHeight:r,offsetWidth:l}=t;let s,u;o?(u=l,s=r):(s=l,u=r),i={inlineSize:s,blockSize:u}}Yt(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)re=AMP.BaseElement;else{class t{constructor(t){this.element=t,this.win=v(t)}mutateElement(t){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}re=t}var ve=Zn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(me),compute:(t,n,e)=>e&&n.reduce(me,!0)||!1}),ye=Zn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(me),deps:[ve],compute:(t,n,e,i)=>i&&e&&n.reduce(me,!0)||!1}),be=Zn("Loading",{defaultValue:"auto",recursive:!0,deps:[ve],compute:(t,n,e,i)=>Bt(i?"auto":"lazy",Bt(e||"auto",n.reduce(Bt,"auto")))}),me=(t,n)=>t&&n,ge=t=>t.ensureLoaded(),we=t=>t.pause(),_e=t=>t.unmount();function Pe(t,n=!0){Me(t,n,!1,ge)}function ke(t,n=!0){Me(t,n,!0,we)}function Ae(t,n=!0){Me(t,n,!0,_e)}function Me(t,n,e,i){const o=r(t);for(let t=0;t<o.length;t++)Re(o[t],n,e,i)}function Re(t,n,e,i){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(Yt(i,n),!e){const t=n.getPlaceholder();return void(t&&Re(t,!0,!1,i))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(e)Yt(i,n);else{r=r||[];let t=!1;for(let e=0;e<r.length;e++)if(r[e].contains(n)){t=!0;break}t||(r.push(n),Yt(i,n))}}}var Se={},Ie=new WeakMap;function Ce(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return B(Te,e(e({},i||Se),{},{name:n}));const r=Ie.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const e in t)if(t[e]!==n[e])return!1;for(const e in n)if(n[e]!==t[e])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return B(Te,e(e({},i||Se),{},{name:n},t))}return Ie.set(t,{oldProps:i,component:l}),l}function Te(t){const n=Mt(null);return function(t,n){const e=null==n?void 0:n.loading,i=an();At((()=>{const n=t.current;return p(d(n)),te(n,ve,Te,i.renderable),te(n,ye,Te,i.playable),te(n,be,Te,i.loading),i.playable||Ee(n,ke,!0),()=>{var t;ne(n,ve,Te),ne(n,ye,Te),ne(n,be,Te),t=n,Dn.rediscoverChildren(t)}}),[t,i]),At((()=>{const n=t.current;return p(d(n)),"lazy"!=e&&Ee(n,Pe,!0),()=>{Ee(n,Ae,!1)}}),[t,e])}(n,t),kt((()=>{t.postRender&&t.postRender()})),B("slot",e(e({},t),{},{ref:n}))}function Ee(t,n,e){const i=t.assignedElements?t.assignedElements():t;if(Array.isArray(i)&&0==i.length)return;if(!e)return void n(i);const o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(i)))}var xe={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Oe=function(){let t=0;return()=>String(++t)}();function Ve(t,n){return Object.values(t).some(n)}var je=t=>"string"==typeof t||!!t.selector,qe=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function ze(t,n,i,o,r){const{"layoutSizeDefined":l,"lightDomTag":s,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return s&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=s),l&&(t.usesShadowDom?a.style=xe:a.class="i-amphtml-fill-content"),$e(t,a,u,n,r),r&&r.complete(),a}function $e(t,n,e,i,o){if(Ve(e,je)){const r=function(t){return function(t,n){const e=[];for(let n=t.firstElementChild;n;n=n.nextElementSibling)!_(n)&&e.push(n);return e}(t)}(i);for(let i=0;i<r.length;i++){const l=r[i],s=Le(l,e);if(!s)continue;const u=e[s],{as:a=!1,single:c,name:f=s,clone:h,props:d={}}=u;p(h||t.usesShadowDom);const v={};if($e(t,v,d,l,o),c)n[f]=Ce(l,l.getAttribute("slot")||`i-amphtml-${f}`,v,a);else{const t=n[f]||(n[f]=[]);p(!a),t.push(h?Ne(l):Ce(l,l.getAttribute("slot")||`i-amphtml-${f}-${Oe()}`,v))}}}for(const l in e){const s=e[l];let u;if(p([s.attr,s.attrs,s.attrMatches,s.selector,s.passthrough,s.passthroughNonEmpty].filter(Boolean).length<=1),s.passthrough?(p(t.usesShadowDom),u=[B(Te,{loading:"lazy"})]):s.passthroughNonEmpty?(p(t.usesShadowDom),u=w(i).every(qe)?null:[B(Te,{loading:"lazy"})]):s.attr?(u=i.getAttribute(s.attr),s.media&&null!=u&&(p(o),u=o.resolveListQuery(String(u)))):s.parseAttrs&&(p(s.attrs||s.attrMatches),u=s.parseAttrs(i)),null==u)null!=s.default&&(n[l]=s.default);else{const t="number"==s.type?parseFloat(u):"boolean"==s.type?null==(r=u)?void 0:"false"!==r:u;n[l]=t}}var r}function Ne(t){const n={"key":t},{attributes:e,localName:i}=t,{length:o}=e;for(let t=0;t<o;t++){const{name:i,value:o}=e[t];n[i]=o}return B(i,n)}function Le(t,n){for(const e in n){const i=n[e],o="string"==typeof i?i:i.selector;if(o&&m(t,o))return e}return null}var Ue={childList:!0},Fe={childList:!0,characterData:!0},De={childList:!0},We={"style":"display: contents; background: inherit;","part":"c"},He={"name":"i-amphtml-svc"},Be={"i-amphtml-rendered":""},Ze=()=>!0,Ge=t=>!!t.media,Je=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Qe=class extends re{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){p(!1)}getDefaultProps(){return{"loading":"auto","onReadyState":(t,n)=>{this.ld(t,n)},"onPlayingState":t=>{this.sd(t)}}}constructor(t){super(t),this.ud=this.getDefaultProps(),this.ad={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.fd=!1,this.hd=null,this.dd=null,this.pd=t=>{null!==t&&(this.hd?this.vd(t):this.yd(t)),this.dd=t,this.bd()},this.md=null,this.gd=null,this.wd=null,this._d=!1,this.Pd=null,this.kd=()=>{this._d=!1,this.Ad()},this.Md=!1,this.ui=!1,this.observer=null,this.Of=new class{constructor(t){this.xf=t,this.Wa=!1,this.Cf=!1,this.jf=this.jf.bind(this)}updatePlaying(t){t!==this.Wa&&(this.Wa=t,t?(this.Cf=!1,function(t,n){!function(t,n,e){const i=t.ownerDocument.defaultView;if(!i)return;let o=ce.get(t);if(o||(o=[],ce.set(t,o),he(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=fe.get(t);n&&setTimeout((()=>pe(1,e,n)))}}(t,0,n)}(this.xf,this.jf)):function(t,n){!function(t,n,e){const i=ce.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const l=t[n];(r=l).callback===e&&1===r.type?i.push(l):(o<n&&(t[o]=l),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){ce.delete(t),fe.delete(t);const n=t.ownerDocument.defaultView;n&&he(n).unobserve(t)}}(t,0,n)}(this.xf,this.jf))}jf({blockSize:t,inlineSize:n}){const e=n>0&&t>0;if(e===this.Cf)return;this.Cf=e;const i=this.xf;e||i.pause()}}(t),this.Ti=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.Rd(t)));const{props:n}=t,i=Ve(n,je)?Ue:null,o=Ve(n,Je)?Fe:null,r=t.usesTemplate?De:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.Ti=Ve(n,Ge)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,ee,"1")}resolveListQuery(t){return this.$i(t,ie,"")}complete(){for(const t in this.Ui)t in this.Li||oe(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)oe(this.Li[t],this.o,!1);this.Li={}}$i(t,n,e){if(!t.trim())return e;let i=this.Li[t];return i||(p(this.Ui),i=this.Ui[t]),i||(i=n(this.Wt,t),oe(i,this.o,!0)),this.Li[t]=i,function(t){for(let n=0;n<t.length;n++){const{query:e,value:i}=t[n];if(!e||e.matches)return i}return""}(i)}}(this.win,(()=>this.Sd())):null;const{staticProps:l}=t,s=this.init();Object.assign(this.ud,l,s),this.checkPropsPostMutations(),Qn(this.element,[],(()=>()=>{this.ui=!1,this.wd&&ht(null,this.wd)})),Qn(this.element,[ve,ye,be],((t,n,e)=>{this.ad.renderable=t,this.ad.playable=n,this.ad.loading=e,this.ui=!0,this.Sd()}));const{useContexts:u}=t;var a;return 0!=u.length&&Qn(this.element,u,((...t)=>{this.gd=t,this.Sd()})),this.Pd=new q,this.Sd(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.bd(),this.Pd.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.fd=!0)}mountCallback(){Xn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.fd=!1)}unmountCallback(){var t;Xn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.sd(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutateProps(t){Object.assign(this.ud,t),this.Sd()}api(){const t=this.dd;return p(t),t}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}Rd(t){const n=this.constructor;this.mutationObserverCallback(t);const e=t.some((t=>function(t,n){const{type:e}=n;if("attributes"==e){if(t.usesTemplate&&"template"==n.attributeName)return!0;const{props:e}=t;for(const t in e){var i,o;const r=e[t],l=n.attributeName;if(p(l),l==r.attr||null!==(i=r.attrs)&&void 0!==i&&i.includes(l)||null!==(o=r.attrMatches)&&void 0!==o&&o.call(r,l))return!0}return!1}return"childList"==e&&(Ye(n.addedNodes)||Ye(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Sd())}Sd(){this._d||(this._d=!0,this.mutateElement(this.kd))}bd(){const{dd:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.ld(n)}ld(t,n){var e;null===(e=this.setReadyState)||void 0===e||e.call(this,t,n),this.constructor.unloadOnPause&&this.sd("complete"==t),this.fd&&(this.fd=!1,this.mutateProps({"loading":"auto"}))}Ad(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:i}=t,o=i?null:t.lightDomTag;if(!this.wd){const e=this.win.document;if(i){p(!n);let{shadowRoot:i}=this.element,o=i&&(v=i,y("c"),b(v,"> c"));if(o)this.Md=!0;else{var r,l,s,u,a,c;i=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,e){const i=t.ownerDocument,o=i.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const i=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=i[n];r||(r=new o.CSSStyleSheet,p(r.replaceSync),r.replaceSync(e),i[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=i.createElement("style");o.setAttribute("data-name",n),o.textContent=e,t.appendChild(o)}}(i,this.element.tagName,n),o=k(e,"c",We),i.appendChild(o);const f=k(e,"slot",He);i.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(s=this.getFallback)||void 0===s||null===(u=s.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(a=this.getOverflowElement)||void 0===a||null===(c=a.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.wd=o,p(i),function(t,n){Dn.get(t).setParent(n)}(i,this.element),function(t,n,e,i=0){Dn.get(t).addGroup(n,e,i)}(this.element,"unslotted",Ze,-1),f=this.element,h=ve,null===(d=Dn.get(f).group("unslotted"))||void 0===d||d.values.set(h,this,!1)}else if(o){const n=this.element;this.wd=n;const i=g(n,"i-amphtml-rendered")||k(e,o,Be);i.__AMP_RENDERED=!0,t.layoutSizeDefined&&i.classList.add("i-amphtml-fill-content"),this.wd.appendChild(i)}else{const t=e.createElement("i-amphtml-c");this.wd=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var f,h,d,v;const m=this.wd;p(m);const{useContexts:w}=t,_=this.gd;if(0!=w.length&&null==_)return;const P=ze(t,this.element,this.pd,this.ud,this.Ti);if(this.updatePropsForRendering(P),!this.isReady(P))return;let M=B(t.Component,P);for(let t=0;t<w.length;t++){p(_);const n=w[t].type,e=_[t];e&&(M=B(n.Provider,{value:e},M))}const R=B(un,e({},this.ad),M);try{if(this.Md)this.Md=!1,dt(R,m);else{const t=o?g(m,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ht(R,m,null!=t?t:void 0)}}catch(t){var S;throw null===(S=this.Pd)||void 0===S||S.reject(t),t}i||n||this.mutateElement((()=>A(this.element,"amp:dom-update",void 0))),this.Pd&&(this.Pd.resolve(void 0),this.Pd=null)}getProp(t,n){return e=this.ud,i=t,c.call(e,i)?this.ud[t]:n;var e,i}getApi(){const t=this.hd;return t?Promise.resolve(t):(this.md||(this.md=new q),this.md.promise)}yd(t){const n=h(),e=Object.keys(t);for(let t=0;t<e.length;t++){const i=e[t];this.Id(n,i)}this.hd=n,this.md&&(this.md.resolve(n),this.md=null)}vd(t){}triggerEvent(t,n,e){A(t,n,e)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.fd=!0;else{var t;const{dd:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}sd(t){this.Of.updatePlaying(t)}Id(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.dd;return p(t),t[n]},set:t=>{const e=this.dd;p(e),e[n]=t}})}};function Ye(t){for(let n=0;n<t.length;n++){const e=t[n];if(d(e)){if(e.__AMP_RENDERED||e.tagName.startsWith("I-")||"i-amphtml-svc"==e.getAttribute("slot"))continue;return!0}if(3==e.nodeType)return!0}return!1}Qe.staticProps=void 0,Qe.useContexts=[],Qe.loadable=!1,Qe.unloadOnPause=!1,Qe.layoutSizeDefined=!1,Qe.lightDomTag="",Qe.usesTemplate=!1,Qe.shadowCss=null,Qe.usesShadowDom=!1,Qe.detached=!1,Qe.delegatesFocus=!1,Qe.props={};var Ke=class extends Qe{};Ke.Component=kn,Ke.loadable=!0,Ke.layoutSizeDefined=!0,Ke.staticProps,Ke.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},Ke.shadowCss='.fill-stretch-c645120{width:100%;height:100%;position:relative}.fill-content-overlay-c645120{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-0be5b4b{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-0be5b4b{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-0be5b4b>div:after,.eq-playing-0be5b4b>div:before{animation-play-state:running}.eq-col-0be5b4b{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-0be5b4b:after,.eq-col-0be5b4b:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-0be5b4b 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-0be5b4b:nth-child(4):before{animation-duration:0.4s}.eq-col-0be5b4b:nth-child(4):after{animation-duration:0.25s}.eq-col-0be5b4b:nth-child(3):before{animation-duration:0.3s}.eq-col-0be5b4b:nth-child(3):after{animation-duration:0.35s}.eq-col-0be5b4b:nth-child(2):before{animation-duration:0.5s}.eq-col-0be5b4b:nth-child(2):after{animation-duration:0.4s}.eq-col-0be5b4b:first-child:before{animation-duration:0.3s}.eq-col-0be5b4b:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-0be5b4b{0%{transform:translateY(100%)}to{transform:translateY(0)}}',Ke.usesShadowDom=!0;var Xe=class extends Ke{};function ti(){!function(t,n,e=self){e.customElements.define(t,function(t,n=self){return le&&se===n||(le=(se=n).HTMLElement),class extends le{constructor(){super(),this.implementation=new t(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}(n,e))}("bento-dailymotion",Xe)}Xe.Component=On,Xe.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},Xe.layoutSizeDefined=!0,Xe.usesShadowDom=!0;export{ti as defineElement}; | ||
function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function e(e){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%2?n(Object(o),!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(t,n){if(null==t)return{};var e,i,o={},r=Object.keys(t);for(i=0;i<r.length;i++)e=r[i],n.indexOf(e)>=0||(o[e]=t[e]);return o}var{isArray:o}=Array;function r(t){return o(t)?t:[t]}function l(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const e=t.indexOf(n);return-1!=e&&(t.splice(e,1),!0)}function u(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function a(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return u(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[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{hasOwnProperty:c,toString:f}=Object.prototype;function h(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function d(t){return 1==(null==t?void 0:t.nodeType)}function p(t,n,e,i,o,r,l,s,u,a,c){return t}function v(t){return(t.ownerDocument||t).defaultView}function y(t){p(/^[\w-]+$/.test(t))}function b(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function m(t,n){const e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!e&&e.call(t,n)}function g(t,n){return y(n),b(t,`> [${n}]`)}function w(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!_(n)&&e.push(n);return e}(t)}function _(t){return!!function(t){let n;return"string"==typeof t?n=t:d(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(t)||t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute("placeholder")||t.hasAttribute("fallback")||t.hasAttribute("overflow"))}var P={bubbles:!0,cancelable:!0};function k(t,n,e){return function(t,n){for(const e in n)t.setAttribute(e,n[e]);return t}(t.createElement(n),e)}function A(t,n,e,i){const o=e||{};p(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:l,cancelable:s}=i||P;r.initEvent(n,l,s),t.dispatchEvent(r)}var M,R=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function S(t,n=""){try{return decodeURIComponent(t)}catch(t){return n}}function I(){return M||(M=Promise.resolve(void 0))}var C,T,E,x,O,V,j,q=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};function z(t){return new Promise((n=>{n(t())}))}var $,N,L,U={},F=[],D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(t,n){for(var e in n)t[e]=n[e];return t}function H(t){var n=t.parentNode;n&&n.removeChild(t)}function B(t,n,e){var i,o,r,l={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:l[r]=n[r];if(arguments.length>2&&(l.children=arguments.length>3?C.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===l[r]&&(l[r]=t.defaultProps[r]);return Z(t,l,i,o,null)}function Z(t,n,e,i,o){var r={type:t,props:n,key:e,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++E:o};return null==o&&null!=T.vnode&&T.vnode(r),r}function G(t){return t.children}function J(t,n){this.props=t,this.context=n}function Q(t,n){if(null==n)return t.__?Q(t.__,t.__.__k.indexOf(t)+1):null;for(var e;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof t.type?Q(t):null}function Y(t){var n,e;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(e=t.__k[n])&&null!=e.__e){t.__e=t.__c.base=e.__e;break}return Y(t)}}function K(t){(!t.__d&&(t.__d=!0)&&x.push(t)&&!X.__r++||V!==T.debounceRendering)&&((V=T.debounceRendering)||O)(X)}function X(){for(var t;X.__r=x.length;)t=x.sort((function(t,n){return t.__v.__b-n.__v.__b})),x=[],t.some((function(t){var n,e,i,o,r,l;t.__d&&(r=(o=(n=t).__v).__e,(l=n.__P)&&(e=[],(i=W({},o)).__v=o.__v+1,st(l,o,i,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[r]:null,e,null==r?Q(o):r,o.__h),ut(e,o),o.__e!=r&&Y(o)))}))}function tt(t,n,e,i,o,r,l,s,u,a){var c,f,h,d,p,v,y,b=i&&i.__k||F,m=b.length;for(e.__k=[],c=0;c<n.length;c++)if(null!=(d=e.__k[c]=null==(d=n[c])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?Z(null,d,null,null,d):Array.isArray(d)?Z(G,{children:d},null,null,null):d.__b>0?Z(d.type,d.props,d.key,null,d.__v):d)){if(d.__=e,d.__b=e.__b+1,null===(h=b[c])||h&&d.key==h.key&&d.type===h.type)b[c]=void 0;else for(f=0;f<m;f++){if((h=b[f])&&d.key==h.key&&d.type===h.type){b[f]=void 0;break}h=null}st(t,d,h=h||U,o,r,l,s,u,a),p=d.__e,(f=d.ref)&&h.ref!=f&&(y||(y=[]),h.ref&&y.push(h.ref,null,d),y.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=nt(d,u,t):u=et(t,d,h,b,p,u),"function"==typeof e.type&&(e.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=Q(h))}for(e.__e=v,c=m;c--;)null!=b[c]&&("function"==typeof e.type&&null!=b[c].__e&&b[c].__e==e.__d&&(e.__d=Q(i,c+1)),ct(b[c],b[c]));if(y)for(c=0;c<y.length;c++)at(y[c],y[++c],y[++c])}function nt(t,n,e){for(var i,o=t.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=t,n="function"==typeof i.type?nt(i,n,e):et(e,i,i,o,i.__e,n));return n}function et(t,n,e,i,o,r){var l,s,u;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==e||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),l=null;else{for(s=r,u=0;(s=s.nextSibling)&&u<i.length;u+=2)if(s==o)break t;t.insertBefore(o,r),l=r}return void 0!==l?l:o.nextSibling}function it(t,n,e){"-"===n[0]?t.setProperty(n,e):t[n]=null==e?"":"number"!=typeof e||D.test(n)?e:e+"px"}function ot(t,n,e,i,o){var r;t:if("style"===n)if("string"==typeof e)t.style.cssText=e;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(n in i)e&&n in e||it(t.style,n,"");if(e)for(n in e)i&&e[n]===i[n]||it(t.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=e,e?i||t.addEventListener(n,r?lt:rt,r):t.removeEventListener(n,r?lt:rt,r);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==e?"":e;break t}catch(t){}"function"==typeof e||(null!=e&&(!1!==e||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,e):t.removeAttribute(n))}}function rt(t){this.l[t.type+!1](T.event?T.event(t):t)}function lt(t){this.l[t.type+!0](T.event?T.event(t):t)}function st(t,n,e,i,o,r,l,s,u){var a,c,f,h,d,p,v,y,b,m,g,w=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(u=e.__h,s=n.__e=e.__e,n.__h=null,r=[s]),(a=T.__b)&&a(n);try{t:if("function"==typeof w){if(y=n.props,b=(a=w.contextType)&&i[a.__c],m=a?b?b.props.value:a.__:i,e.__c?v=(c=n.__c=e.__c).__=c.__E:("prototype"in w&&w.prototype.render?n.__c=c=new w(y,m):(n.__c=c=new J(y,m),c.constructor=w,c.render=ft),b&&b.sub(c),c.props=y,c.state||(c.state={}),c.context=m,c.__n=i,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=W({},c.__s)),W(c.__s,w.getDerivedStateFromProps(y,c.__s))),h=c.props,d=c.state,f)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==h&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,m),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,m)||n.__v===e.__v){c.props=y,c.state=c.__s,n.__v!==e.__v&&(c.__d=!1),c.__v=n,n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(t){t&&(t.__=n)})),c.__h.length&&l.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,m),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(h,d,p)}))}c.context=m,c.props=y,c.state=c.__s,(a=T.__r)&&a(n),c.__d=!1,c.__v=n,c.__P=t,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(i=W(W({},i),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(p=c.getSnapshotBeforeUpdate(h,d)),g=null!=a&&a.type===G&&null==a.key?a.props.children:a,tt(t,Array.isArray(g)?g:[g],n,e,i,o,r,l,s,u),c.base=n.__e,n.__h=null,c.__h.length&&l.push(c),v&&(c.__E=c.__=null),c.__e=!1}else null==r&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=function(t,n,e,i,o,r,l,s){var u,a,c,f=e.props,h=n.props,d=n.type,p=0;if("svg"===d&&(o=!0),null!=r)for(;p<r.length;p++)if((u=r[p])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,r[p]=null;break}if(null==t){if(null===d)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),r=null,s=!1}if(null===d)f===h||s&&t.data===h||(t.data=h);else{if(r=r&&C.call(t.childNodes),a=(f=e.props||U).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!s){if(null!=r)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(function(t,n,e,i,o){var r;for(r in e)"children"===r||"key"===r||r in n||ot(t,r,null,e[r],i);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||e[r]===n[r]||ot(t,r,n[r],e[r],i)}(t,h,f,o,s),c)n.__k=[];else if(p=n.props.children,tt(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==d,r,l,r?r[0]:e.__k&&Q(e,0),s),null!=r)for(p=r.length;p--;)null!=r[p]&&H(r[p]);s||("value"in h&&void 0!==(p=h.value)&&(p!==t.value||"progress"===d&&!p)&&ot(t,"value",p,f.value,!1),"checked"in h&&void 0!==(p=h.checked)&&p!==t.checked&&ot(t,"checked",p,f.checked,!1))}return t}(e.__e,n,e,i,o,r,l,u);(a=T.diffed)&&a(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=s,n.__h=!!u,r[r.indexOf(s)]=null),T.__e(t,n,e)}}function ut(t,n){T.__c&&T.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){T.__e(t,n.__v)}}))}function at(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){T.__e(t,e)}}function ct(t,n,e){var i,o;if(T.unmount&&T.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||at(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){T.__e(t,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&ct(i[o],n,"function"!=typeof t.type);e||null==t.__e||H(t.__e),t.__e=t.__d=void 0}function ft(t,n,e){return this.constructor(t,e)}function ht(t,n,e){var i,o,r;T.__&&T.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],st(n,t=(!i&&e||n).__k=B(G,null,[t]),o||U,U,void 0!==n.ownerSVGElement,!i&&e?[e]:o?null:n.firstChild?C.call(n.childNodes):null,r,!i&&e?e:o?o.__e:n.firstChild,i),ut(r,t)}function dt(t,n){ht(t,n,dt)}C=F.slice,T={__e:function(t,n){for(var e,i,o;n=n.__;)if((e=n.__c)&&!e.__)try{if((i=e.constructor)&&null!=i.getDerivedStateFromError&&(e.setState(i.getDerivedStateFromError(t)),o=e.__d),null!=e.componentDidCatch&&(e.componentDidCatch(t),o=e.__d),o)return e.__E=e}catch(n){t=n}throw t}},E=0,J.prototype.setState=function(t,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof t&&(t=t(W({},e),this.props)),t&&W(e,t),null!=t&&this.__v&&(n&&this.__h.push(n),K(this))},J.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),K(this))},J.prototype.render=G,x=[],O="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,X.__r=0,j=0;var pt=0,vt=[],yt=T.__b,bt=T.__r,mt=T.diffed,gt=T.__c,wt=T.unmount;function _t(t,n){T.__h&&T.__h(N,t,pt||n),pt=0;var e=N.__H||(N.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function Pt(t){return pt=1,function(t,n,e){var i=_t($++,2);return i.t=t,i.__c||(i.__=[Vt(void 0,n),function(t){var n=i.t(i.__[0],t);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=N),i.__}(Vt,t)}function kt(t,n){var e=_t($++,3);!T.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,N.__H.__h.push(e))}function At(t,n){var e=_t($++,4);!T.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,N.__h.push(e))}function Mt(t){return pt=5,St((function(){return{current:t}}),[])}function Rt(t,n,e){pt=6,At((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==e?e:e.concat(t))}function St(t,n){var e=_t($++,7);return Ot(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function It(t,n){return pt=8,St((function(){return t}),n)}function Ct(){vt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Et),t.__H.__h.forEach(xt),t.__H.__h=[]}catch(n){t.__H.__h=[],T.__e(n,t.__v)}})),vt=[]}T.__b=function(t){N=null,yt&&yt(t)},T.__r=function(t){bt&&bt(t),$=0;var n=(N=t.__c).__H;n&&(n.__h.forEach(Et),n.__h.forEach(xt),n.__h=[])},T.diffed=function(t){mt&&mt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&L===T.requestAnimationFrame||((L=T.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),Tt&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);Tt&&(n=requestAnimationFrame(e))})(Ct)),N=null},T.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Et),t.__h=t.__h.filter((function(t){return!t.__||xt(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],T.__e(e,t.__v)}})),gt&>(t,n)},T.unmount=function(t){wt&&wt(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Et)}catch(t){T.__e(t,n.__v)}};var Tt="function"==typeof requestAnimationFrame;function Et(t){var n=N;"function"==typeof t.__c&&t.__c(),N=n}function xt(t){var n=N;t.__c=t.__(),N=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,e){return n!==t[e]}))}function Vt(t,n){return"function"==typeof n?n(t):n}function jt(t){return t.children}var qt,zt=["ref"],$t="undefined"!=typeof Symbol&&(null===(qt=Symbol.for)||void 0===qt?void 0:qt.call(Symbol,"react.forward_ref"))||3911,Nt=T.__b;T.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n.v&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==Nt||Nt(t)};var Lt=function(t){function n(n){const{ref:e}=n,o=i(n,zt);return t(o,e)}return n.$$typeof=$t,n.render=n,n.prototype.isReactComponent=!0,n.v=!0,n};function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t){var n=function(t,n){if("object"!==Ut(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!==Ut(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ut(n)?n:String(n)}var Dt,Wt=["auto","lazy","eager","unload"],Ht={auto:0,lazy:1,eager:2,unload:3};function Bt(t,n){const e=Ht[null!=t?t:"auto"]||0,i=Ht[null!=n?n:"auto"]||0,o=Math.max(e,i);return Wt[o]}function Zt(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:e,stack:i}=t,o=new Error(e);for(const n in t)o[n]=t[n];return o.stack=i,o}function Gt(t){let n=null,e="";for(var i,o=a(arguments,!0);!(i=o()).done;){const t=i.value;t instanceof Error&&!n?n=Zt(t):(e&&(e+=" "),e+=t)}return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function Jt(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function Qt(t){const n=Gt.apply(null,arguments);setTimeout((()=>{throw Jt(n),n}))}function Yt(t,...n){try{return t.apply(null,n)}catch(t){Qt(t)}}function Kt(t){const n=Gt.apply(null,arguments);return n.expected=!0,n}function Xt(t,...n){Jt(Kt.apply(null,n))}var tn,nn=["Webkit","webkit","Moz","moz","ms","O","o"],en={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function on(t,n,e,i,o){const r=function(t,n,e){if(rn(n))return n;Dt||(Dt=h());let i=Dt[n];if(!i||e){if(i=n,void 0===t[n]){const e=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),o=function(t,n){for(let e=0;e<nn.length;e++){const i=nn[e]+n;if(void 0!==t[i])return i}return""}(t,e);void 0!==t[o]&&(i=o)}e||(Dt[n]=i)}return i}(t.style,n,o);if(!r)return;const l=i?e+i:e;rn(r)?t.style.setProperty(r,l):t.style[r]=l}function rn(t){return t.startsWith("--")}function ln(t){return null==t.__AMP_AUTOPLAY&&(t.__AMP_AUTOPLAY=function(t){const n=t.document.createElement("video");var e;return n.setAttribute("muted",""),n.setAttribute("playsinline",""),n.setAttribute("webkit-playsinline",""),n.setAttribute("height","0"),n.setAttribute("width","0"),n.muted=!0,n.playsInline=!0,n.playsinline=!0,n.webkitPlaysinline=!0,function(t,n){for(const e in n)on(t,e,n[e])}(n,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),e=n,z((()=>e.play())).catch((()=>{})),Promise.resolve(!n.paused)}(t)),t.__AMP_AUTOPLAY}function sn(){return tn||(n={__c:t="__cC"+j++,__:{renderable:!0,playable:!0,loading:"auto"},Consumer:function(t,n){return t.children(n)},Provider:function(n){var e,i;return this.getChildContext||(e=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&e.some(K)},this.sub=function(t){e.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){e.splice(e.indexOf(t),1),n&&n.call(t)}}),n.children}},tn=n.Provider.__=n.Consumer.contextType=n);var t,n}function un({children:t,loading:n="auto",notify:e,playable:i=!0,renderable:o=!0}){const r=an(),l=o&&r.renderable,s=l&&i&&r.playable,u=Bt(l?"auto":"lazy",Bt(n,r.loading)),a=e||r.notify,c=St((()=>({renderable:l,playable:s,loading:u,notify:a})),[l,s,u,a]);return B(sn().Provider,{children:t,value:c})}function an(){return t=sn(),n=N.context[t.__c],(e=_t($++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub(N)),n.props.value):t.__;var t,n,e}var cn=[null,"paint","layout","content","size","size paint","size layout","strict"],fn={"position":"relative","width":"100%","height":"100%"},hn=Lt((function(t,n){let o="class",{as:r="div",children:l,contentAs:s="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:p=!1,"style":v,wrapperClassName:y,wrapperStyle:b,[o]:m}=t;const g=(p?4:0)+(h?2:0)+(d?1:0);return B(r,e(e({},i(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(Ft))),{},{ref:n,class:`${m||""} ${y||""}`.trim()||null,style:e(e(e({},v),b),{},{contain:cn[g]})}),B(s,e(e({},a),{},{ref:c,class:u,style:e(e({},p&&fn),{},{"overflow":d?"hidden":"visible"},f)}),l))}));function dn(t){const n=Mt(null);return n.current=t,n}Lt((function(t,n){let o="class",{as:r="div",children:l,"style":s,wrapperClassName:u,wrapperStyle:a,[o]:c}=t;return B(r,e(e({},i(t,["as","children","style","wrapperClassName","wrapperStyle",o].map(Ft))),{},{ref:n,class:`${c||""} ${u||""}`.trim()||null,style:e(e({},s),a)}),l)}));var pn=self.AMP_CONFIG||{},vn=("string"==typeof pn.thirdPartyFrameRegex?new RegExp(pn.thirdPartyFrameRegex):pn.thirdPartyFrameRegex,("string"==typeof pn.cdnProxyRegex?new RegExp(pn.cdnProxyRegex):pn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function yn(t){if(!self.document||!self.document.head)return null;if(self.location&&vn.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}pn.thirdPartyUrl,pn.thirdPartyFrameHost,pn.cdnUrl||yn("runtime-host"),pn.errorReportingUrl,pn.betaErrorReportingUrl,pn.localDev,pn.geoApiUrl||yn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var bn={"title":"","artist":"","album":"","artwork":[{"src":""}]};function mn(t){const n=t.querySelector('script[type="application/ld+json"]');if(!n)return;const e=function(t,n){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null}}(n.textContent);return e&&e.image?"string"==typeof e.image?e.image:e.image["@list"]&&"string"==typeof e.image["@list"][0]?e.image["@list"][0]:"string"==typeof e.image.url?e.image.url:"string"==typeof e.image[0]?e.image[0]:void 0:void 0}function gn(t){const n=t.querySelector('meta[property="og:image"]');return n?n.getAttribute("content"):void 0}function wn(t){const n=t.querySelector('link[rel="shortcut icon"]')||t.querySelector('link[rel="icon"]');return n?n.getAttribute("href"):void 0}function _n({displayIcon:t,displayOverlay:n,metadata:e,onOverlayClick:i,pause:o,play:r,playing:l,wrapperRef:s}){const{playable:u}=an();return kt((()=>{if(!u)return void o();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?r().catch((()=>{})):o()}),{threshold:.5});return t.observe(s.current),()=>{t.disconnect()}}),[s,r,o,u]),B(jt,null,t&&B("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},B(Pn,null)),n&&B("button",{"aria-label":e&&e.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:i}))}var Pn=function(t){let n=!1,e=null,i=()=>[1,2,3,4].map((t=>B("div",{class:"eq-col-0be5b4b",key:t})));return(...t)=>(n||(e=i.apply(self,t),n=!0,i=null),e)}(),kn=Lt((function(t,n){let o="class",{autoplay:r=!1,component:l="video",controls:s=!1,loading:u,loop:a=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:h,onReadyState:d,poster:p,sources:v,src:y,style:b,[o]:m}=t,g=i(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(Ft));!function(){const{notify:t}=an();At((()=>{t&&t()}))}();const{playable:w}=an(),_=function(t){const{loading:n}=an();return Bt(t,n)}(u),P="unload"!==_,[k,A]=Pt(r),[M,R]=Pt(!1),[S,I]=Pt(null),[C,T]=Pt(!r),E=Mt(null),x=Mt(null),O=St((()=>new q),[]),V=Mt("loading"),j=dn(d),$=It(((t,n)=>{if(t!==V.current){V.current=t;const e=j.current;e&&e(t,n)}}),[j]),N=dn(h),L=It((t=>{R(t);const n=N.current;n&&n(t)}),[N]);At((()=>{P||L(!1)}),[P,L]);const U=It((()=>O.promise.then((()=>function(t,n){const e=z((()=>t.play(!1)));return e.catch((t=>{Xt(0,t)})),e}(x.current)))),[O]),F=It((()=>{O.promise.then((()=>{var t;return null===(t=x.current)||void 0===t?void 0:t.pause()}))}),[O]),D=It((()=>O.promise.then((()=>x.current.requestFullscreen()))),[O]),W=It((()=>{A(!1),T(!0)}),[]);return At((()=>{var t;const n=null===(t=x.current)||void 0===t?void 0:t.readyState;null!=n&&$(n>0?"complete":"loading")}),[$]),At((()=>(c&&M&&S&&function(t,n,e,i){const{navigator:o}=t;"mediaSession"in o&&t.MediaMetadata&&(o.mediaSession.metadata=new t.MediaMetadata(bn),o.mediaSession.metadata=new t.MediaMetadata(n),o.mediaSession.setActionHandler("play",e),o.mediaSession.setActionHandler("pause",i))}(window,S,U,F),()=>{})),[c,M,S,U,F]),kt((()=>{w||F()}),[w,F]),Rt(n,(()=>({get readyState(){return V.current},play:U,pause:F,requestFullscreen:D,get currentTime(){return x.current?x.current.currentTime:0},get duration(){return x.current?x.current.duration:NaN},get autoplay(){return r},get controls(){return s},get loop(){return a},userInteracted:W,mute:()=>A(!0),unmute:()=>{C&&A(!1)}})),[U,F,D,W,C,r,s,a]),B(hn,{contentRef:E,class:m,style:b,size:!0,layout:!0,paint:!0},P&&B(l,e(e({},g),{},{ref:x,loading:_,muted:k,loop:a,controls:s&&(!r||C),onCanPlay:()=>{O.resolve(),$("complete")},onLoadedMetadata:()=>{c&&O.promise.then((()=>{var t,n;I((t=x.current,e({"title":(n=g).title||n["aria-label"]||document.title,"artist":n.artist||"","album":n.album||"","artwork":[{"src":n.artwork||n.poster||mn(document)||gn(document)||wn(document)||""}]},t&&t.getMetadata?t.getMetadata():Object.create(null))))})),$("complete")},onPlaying:()=>L(!0),onPause:()=>L(!1),onEnded:()=>L(!1),onError:t=>{$("error",t),O.reject(t)},class:"fill-stretch-c645120",src:y,poster:p}),v),r&&!C&&B(_n,{metadata:S,playing:M,displayIcon:!f&&k,wrapperRef:E,play:U,pause:F,displayOverlay:s,onOverlayClick:W}))}));kn.displayName="VideoWrapper";var An=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Rn(t,n,e){t&&t.contentWindow&&n.then((()=>{t.contentWindow.postMessage(e(),"*")}))}var Sn=Lt((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:l=Mn,muted:s=!1,controls:u=!1,origin:a,onCanPlay:c,onMessage:f,playerStateRef:h,makeMethodMessage:d,makeFullscreenMessage:p,onIframeLoad:v}=t,y=i(t,An);const b=Mt(null),m=St((()=>new q),[]),g=Mt(d),w=It((t=>{Rn(null==b?void 0:b.current,m.promise,(()=>g.current(t)))}),[m.promise]),_=Mt(p),P=It((()=>Rn(null==b?void 0:b.current,m.promise,_.current)),[m.promise]);Rt(n,(()=>({get currentTime(){var t,n;return null!==(t=null==h||null===(n=h.current)||void 0===n?void 0:n.currentTime)&&void 0!==t?t:NaN},get duration(){var t,n;return null!==(t=null==h||null===(n=h.current)||void 0===n?void 0:n.duration)&&void 0!==t?t:NaN},requestFullscreen:()=>{if(!_.current)return m.promise.then((()=>{b.current.requestFullscreen()}));P()},play:()=>w("play"),pause:()=>{if(r){const t=b.current;t&&(t.src=t.src)}else w("pause")}})),[h,w,P,m.promise,r]);const k=function(t){const n=Mt(null);return n.current=t,n}(f);return At((()=>{if(!b.current)return;function t(t){k.current&&(a&&!a.test(t.origin)||t.source!=b.current.contentWindow||k.current({currentTarget:b.current,target:b.current,data:t.data}))}const{defaultView:n}=b.current.ownerDocument;return n.addEventListener("message",t),()=>n.removeEventListener("message",t)}),[a,k]),At((()=>{w(s?"mute":"unmute")}),[s,w]),At((()=>{w(u?"showControls":"hideControls")}),[u,w]),B("iframe",e(e({},y),{},{ref:b,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&m.promise.then(c),m.resolve()},onLoad:t=>{null==v||v(t)}}))}));Sn.displayName="VideoIframeInternal";var In=Lt((function(t,n){return B(kn,e(e({ref:n},t),{},{component:Sn}))}));function Cn(t,n){return JSON.stringify({"command":t,"parameters":n})}In.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Tn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function En(t){switch(t){case"mute":return Cn("muted",[!0]);case"unmute":return Cn("muted",[!1]);case"showControls":return Cn("controls",[!0]);case"hideControls":return Cn("controls",[!1]);default:return Cn(t)}}function xn({currentTarget:t,data:n}){const e=function(t){const n=h();if(!t)return n;let e;for(;e=R.exec(t);){const t=S(e[1],e[1]),i=e[2]?S(e[2].replace(/\+/g," "),e[2]):"";n[t]=i}return n}(n),i=null==e?void 0:e.event;"pause"===i?A(t,"pause"):"play"===i?A(t,"playing"):"end"===i?(A(t,"pause"),A(t,"end")):"apiready"===i&&A(t,"canplay")}var On=Lt((function(t,n){let{autoplay:o,endscreenEnable:l,info:s,mute:u,sharingEnable:a,start:c,uiHighlight:f,uiLogo:h,videoId:d}=t,p=i(t,Tn);const v=St((()=>function(t,n,i=!1,o=!0,l=!0,s=!1,u=!0,a,c,f=!0,h){return function(t,n,e){if(!n)return t;const i=t.split("#",2),o=i[0].split("?",2);let r=o[0]+(o[1]?`?${o[1]}&${n}`:`?${n}`);return r+=i[1]?`#${i[1]}`:"",r}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(n)}?api=1&html=1&app=amp`,function(t){const n=[];for(const o in t){let l=t[o];if(null!=l){l=r(l);for(let t=0;t<l.length;t++)n.push((e=o,i=l[t],`${encodeURIComponent(e)}=${encodeURIComponent(i)}`))}}var e,i;return n.join("&")}(e({"endscreen-enable":o?void 0:o,"info":l?void 0:l,"mute":s||i&&ln(t)?1:void 0,"sharing-enable":u?void 0:u,"start":a,"ui-highlight":c,"ui-logo":f?void 0:f},h)))}(window,d,o,l,s,u,a,c,f,h)),[d,o,l,s,u,a,c,f,h]);return B(In,e(e({autoplay:o,controls:!0,ref:n},p),{},{src:v,makeMethodMessage:En,onMessage:xn}))}));function Vn(t,n){let e=!1;const i=()=>{e=!1,t()};return t=>{e||(e=!0,(t||n)(i))}}function jn(t,n,e,i=!0,o=!0){if(o){const o=n(t,e,i);o&&jn(t,n,e,o,!1)}else if(t.children)for(var r,l=a(t.children,!0);!(r=l()).done;)jn(r.value,n,e,i,!0)}On.displayName="BentoDailymotion";var qn=[],zn=()=>{};function $n(t,n){return t.values.scan(n)}function Nn(t,n,e){return t.values.scanAll(e)}function Ln(t,n){return t.values.has(n)}function Un(t){return!!t.recursive}function Fn(t){return void 0!==t}var Dn=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Dn(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let e=t;for(;e;){if(e!=t||n){if(e.__AMP_NODE)return e.__AMP_NODE;const{nodeType:t}=e;if(9==t||11==t||d(e)&&e.tagName.startsWith("AMP-"))return Dn.get(e)}e=e.__AMP_ASSIGNED_SLOT||e.assignedSlot||e.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,Wn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Wn(t))}static rediscoverChildren(t){var n;const e=t.__AMP_NODE;null==e||null===(n=e.children)||void 0===n||n.forEach(Hn)}constructor(t,n){this.node=t,this.name=n,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.Ze=t,this.m=null,this.zf=null,this.Nf=Vn(this.Nf.bind(this),setTimeout)}set(t,n,e){p(n),p(void 0!==e);const{key:i}=t,o=this.m||(this.m=new Map);let r=o.get(i);r||(r={values:[],setters:[]},o.set(i,r));const l=r.setters.indexOf(n),s=-1==l||r.values[l]!==e;-1==l?(r.setters.push(n),r.values.push(e)):s&&(r.values[l]=e),s&&(this.ping(t,!1),Un(t)&&jn(this.Ze,$n,t,!0,!1))}remove(t,n){p(n);const{key:e}=t,i=this.m,o=null==i?void 0:i.get(e);if(o){p(i);const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&i.delete(e),jn(this.Ze,$n,t))}}has(t){var n;return!(null===(n=this.m)||void 0===n||!n.has(t.key))}subscribe(t,n){const e=this.Lf(t);if(!l(e.subscribers,n))return;const i=e.value;Fn(i)&&this.hi()&&n(i)}unsubscribe(t,n){var e;const i=null===(e=this.zf)||void 0===e?void 0:e.get(t.key);i&&s(i.subscribers,n)&&this.Uf(i)}ping(t,n){var e,i;null===(e=this.zf)||void 0===e||null===(i=e.get(t.key))||void 0===i||i.ping(n)}parentUpdated(){this.hi()&&jn(this.Ze,Nn,void 0,qn)}rootUpdated(){const t=this.zf;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Un(n)&&this.Df(t,null)})))}scan(t){return this.ping(t,!0),!!Un(t)&&!this.has(t)}scanAll(t){let n=null;const e=this.zf;return e&&e.forEach((e=>{const{prop:i}=e,{key:o}=i;-1==(n||t).indexOf(o)&&(this.ping(i,!0),this.Ze.children&&this.has(i)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}hi(){return!!this.Ze.root}Lf(t){const{deps:n,key:e}=t,i=this.zf||(this.zf=new Map);let o=i.get(e);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(zn):qn,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.Nf()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):qn,pingParent:Un(t)?t=>{o.parentValue=t,o.ping()}:null},i.set(e,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}Uf(t){var n;if(t.subscribers.length>0)return;const{pingDep:e,prop:i}=t,{deps:o,key:r}=i;null===(n=this.zf)||void 0===n||n.delete(r),this.Df(t,null),o.length>0&&o.forEach(((t,n)=>{this.unsubscribe(t,e[n])}))}Nf(){if(!this.hi())return;const t=this.zf;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:e}=t.prop;if(t.counter++,t.counter>5)return Qt(`cyclical prop: ${e}`),void(t.pending=0);n++,this.Wf(t)}}))}while(n>0)}Wf(t){const n=2==t.pending;let e;try{e=this.Hf(t,n)}catch(t){Qt(t)}t.pending=0,this.Bf(t,e)}Bf(t,n){const{prop:e,value:i}=t,{key:o}=e,r=this.zf;if(i===n||t!==(null==r?void 0:r.get(o))||!this.hi())return;t.value=n;const{subscribers:l}=t;for(var s,u=a(l,!0);!(s=u()).done;)(0,s.value)(n)}Hf(t,n){var e,i;p(this.hi());const{depValues:o,prop:r}=t,{compute:l,defaultValue:s,key:u}=r,a=null===(e=this.m)||void 0===e||null===(i=e.get(u))||void 0===i?void 0:i.values,c=function(t,n){const{compute:e,recursive:i}=t;return"function"==typeof i?!n||i(n):!(i&&n&&!e)&&i}(r,a);if(n||c!=Boolean(t.parentContextNode)){const n=c?function(t,n,e,i=!0){for(let o=i?t:t.parent;o;o=o.parent)if(n(o,e))return o;return null}(this.Ze,Ln,r,!1):null;this.Df(t,n)}const f=Fn(t.parentValue)?t.parentValue:c&&!t.parentContextNode?s:void 0;let h;if(o.every(Fn)&&(!c||Fn(f))){const{node:t}=this.Ze;a&&!l?h=a[0]:Un(r)?a||o.length>0?h=function(t,n,e,i,o){switch(o.length){case 0:return t(n,e,i);case 1:return t(n,e,i,o[0]);case 2:return t(n,e,i,o[0],o[1]);case 3:return t(n,e,i,o[0],o[1],o[2]);default:return t.apply(null,[n,e,i].concat(o))}}(l,t,a||qn,f,o):Fn(f)&&(h=f):l&&(h=function(t,n,e,i){switch(i.length){case 0:return t(n,e);case 1:return t(n,e,i[0]);case 2:return t(n,e,i[0],i[1]);case 3:return t(n,e,i[0],i[1],i[2]);default:return t.apply(null,[n,e].concat(i))}}(l,t,a||qn,o))}return h}Df(t,n){const{parentContextNode:e,pingParent:i,prop:o}=t;n!=e&&(t.parentContextNode=n,t.parentValue=void 0,p(i),e&&e.values.unsubscribe(o,i),n&&(p(i),n.values.subscribe(o,i)))}}(this),this.Zf=null,this.Gf=!1,this.Jf=Vn(this.Qf.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,e;const i=t.target;i.assignedNodes().forEach(Wn),null===(n=Dn.closest(i))||void 0===n||null===(e=n.children)||void 0===e||e.forEach(Hn)})),this.discover()}discover(){this.isDiscoverable()?this.Jf():this.name&&this.children&&this.children.forEach(Hn)}isDiscoverable(){return!this.isRoot&&!this.Gf}setParent(t){const n=null!=t&&t.nodeType?Dn.get(t):t;this.Yf(n,null!=t)}setIsRoot(t){var n,e;this.isRoot=t;const i=t?this:null!==(n=null===(e=this.parent)||void 0===e?void 0:e.root)&&void 0!==n?n:null;this.updateRoot(i)}updateRoot(t){p(!t||t.isRoot);const n=this.root;var e,i;t!=n&&(this.root=t,this.values.rootUpdated(),null===(e=this.Zf)||void 0===e||e.forEach((t=>t.rootUpdated())),null===(i=this.children)||void 0===i||i.forEach((n=>n.updateRoot(t))))}addGroup(t,n,e){const i=this.groups||(this.groups=new Map),{children:o,node:r}=this,l=new Dn(r,t);return i.set(t,{cn:l,match:n,weight:e}),l.setParent(this),null==o||o.forEach(Hn),l}group(t){var n,e;return(null===(n=this.groups)||void 0===n||null===(e=n.get(t))||void 0===e?void 0:e.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let e=null,i=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:o,weight:r})=>{o(t,this.node)&&r>i&&(e=n,i=r)})),e}subscribe(t,n,e,i){const o=this.Zf||(this.Zf=new Map);let r=o.get(t);r||(r=new n(this,e,i),o.set(t,r))}unsubscribe(t){const n=this.Zf,e=null==n?void 0:n.get(t);e&&(e.dispose(),p(n),n.delete(t))}Qf(){if(!this.isDiscoverable())return;const t=Dn.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.Yf(n,!1)}Yf(t,n){var e;this.Gf=n;const i=this.parent;if(t!=i){if(this.parent=t,null!=i&&i.children&&(p(i.children),s(i.children,this)),t){const n=t.children||(t.children=[]);l(n,this);for(var o,r=a(n,!0);!(o=r()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function Wn(t){!function(t,n,e=!0){const i=Dn.closest(t,e);if(i)if(i.node==t)n(i);else if(i.children)for(var o,r=a(i.children,!0);!(o=r()).done;){const e=o.value;t.contains(e.node)&&n(e)}}(t,Hn)}function Hn(t){t.discover()}var Bn=[];function Zn(t,n){const i=e({key:t,deps:Bn,recursive:!1},n);return p(0==i.deps.length||i.compute),i}var Gn=[],Jn=()=>{};function Qn(t,n,e){n=r(n);const i=e;Dn.get(t).subscribe(i,Yn,e,n)}var Yn=class{constructor(t,n,e){if(this.contextNode=t,this.Kf=n,this.Xf=e,this.td=e.length>0?e.map(Jn):Gn,this.nd=e.length>0?e.map(((t,n)=>t=>{this.td[n]=t,this.ed()})):Gn,this._s=!1,this.od=null,this.ed=Vn(this.ed.bind(this),setTimeout),e.length>0){const{values:t}=this.contextNode;e.forEach(((n,e)=>t.subscribe(n,this.nd[e])))}this.hi()&&this.ed()}dispose(){if(this.Xf.length>0){const{values:t}=this.contextNode;this.Xf.forEach(((n,e)=>t.unsubscribe(n,this.nd[e])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.ed()}hi(){return!!this.contextNode.root}ed(){this.hi()&&(this.td.every(Kn)?(this._s=!0,this.rd()):this._s&&(this._s=!1,this.de()))}rd(){this.de();const t=this.Kf;this.od=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.td)}de(){this.od&&(Yt(this.od),this.od=null)}};function Kn(t){return void 0!==t}function Xn(t){Dn.get(t).discover()}function te(t,n,e,i){Dn.get(t).values.set(n,e,i)}function ne(t,n,e){Dn.get(t).values.remove(n,e)}function ee(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function ie(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let e,i,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const e=n.charAt(o);if("("==e?t--:")"==e&&t++,0==t)break}const e=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=e)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(e=n.substring(0,o+1).trim(),i=n.substring(o+1).trim()):(i=n,e=void 0),i?{query:e?t.matchMedia(e):null,value:i}:null})).filter(Boolean)}function oe(t,n,e){for(let i=0;i<t.length;i++){const{query:o}=t[i];o&&(void 0!==o.onchange?o.onchange=e?n:null:e?o.addListener(n):o.removeListener(n))}}var re,le,se,ue=/vertical/,ae=new WeakMap,ce=new WeakMap,fe=new WeakMap;function he(t){let n=ae.get(t);return n||(n=new t.ResizeObserver(de),ae.set(t,n)),n}function de(t){const n=new Set;for(let e=t.length-1;e>=0;e--){const i=t[e],{target:o}=i;if(n.has(o))continue;n.add(o);const r=ce.get(o);if(r){fe.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];pe(e,n,i)}}}}function pe(t,n,e){if(0==t){const{contentRect:t}=e,{height:i,width:o}=t;Yt(n,{width:o,height:i})}else if(1==t){const{borderBoxSize:t}=e;let i;if(t)i=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=e,n=v(t),o=ue.test(function(t,n){return t.getComputedStyle(n)||en}(n,t).writingMode),{offsetHeight:r,offsetWidth:l}=t;let s,u;o?(u=l,s=r):(s=l,u=r),i={inlineSize:s,blockSize:u}}Yt(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)re=AMP.BaseElement;else{class t{constructor(t){this.element=t,this.win=v(t)}mutateElement(t){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}re=t}var ve=Zn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(me),compute:(t,n,e)=>e&&n.reduce(me,!0)||!1}),ye=Zn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(me),deps:[ve],compute:(t,n,e,i)=>i&&e&&n.reduce(me,!0)||!1}),be=Zn("Loading",{defaultValue:"auto",recursive:!0,deps:[ve],compute:(t,n,e,i)=>Bt(i?"auto":"lazy",Bt(e||"auto",n.reduce(Bt,"auto")))}),me=(t,n)=>t&&n,ge=t=>t.ensureLoaded(),we=t=>t.pause(),_e=t=>t.unmount();function Pe(t,n=!0){Me(t,n,!1,ge)}function ke(t,n=!0){Me(t,n,!0,we)}function Ae(t,n=!0){Me(t,n,!0,_e)}function Me(t,n,e,i){const o=r(t);for(let t=0;t<o.length;t++)Re(o[t],n,e,i)}function Re(t,n,e,i){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(Yt(i,n),!e){const t=n.getPlaceholder();return void(t&&Re(t,!0,!1,i))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(e)Yt(i,n);else{r=r||[];let t=!1;for(let e=0;e<r.length;e++)if(r[e].contains(n)){t=!0;break}t||(r.push(n),Yt(i,n))}}}var Se={},Ie=new WeakMap;function Ce(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return B(Te,e(e({},i||Se),{},{name:n}));const r=Ie.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const e in t)if(t[e]!==n[e])return!1;for(const e in n)if(n[e]!==t[e])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return B(Te,e(e({},i||Se),{},{name:n},t))}return Ie.set(t,{oldProps:i,component:l}),l}function Te(t){const n=Mt(null);return function(t,n){const e=null==n?void 0:n.loading,i=an();At((()=>{const n=t.current;return p(d(n)),te(n,ve,Te,i.renderable),te(n,ye,Te,i.playable),te(n,be,Te,i.loading),i.playable||Ee(n,ke,!0),()=>{var t;ne(n,ve,Te),ne(n,ye,Te),ne(n,be,Te),t=n,Dn.rediscoverChildren(t)}}),[t,i]),At((()=>{const n=t.current;return p(d(n)),"lazy"!=e&&Ee(n,Pe,!0),()=>{Ee(n,Ae,!1)}}),[t,e])}(n,t),kt((()=>{t.postRender&&t.postRender()})),B("slot",e(e({},t),{},{ref:n}))}function Ee(t,n,e){const i=t.assignedElements?t.assignedElements():t;if(Array.isArray(i)&&0==i.length)return;if(!e)return void n(i);const o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(i)))}var xe={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Oe=function(){let t=0;return()=>String(++t)}();function Ve(t,n){return Object.values(t).some(n)}var je=t=>"string"==typeof t||!!t.selector,qe=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function ze(t,n,i,o,r){const{"layoutSizeDefined":l,"lightDomTag":s,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return s&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=s),l&&(t.usesShadowDom?a.style=xe:a.class="i-amphtml-fill-content"),$e(t,a,u,n,r),r&&r.complete(),a}function $e(t,n,e,i,o){if(Ve(e,je)){const r=function(t){return function(t,n){const e=[];for(let n=t.firstElementChild;n;n=n.nextElementSibling)!_(n)&&e.push(n);return e}(t)}(i);for(let i=0;i<r.length;i++){const l=r[i],s=Le(l,e);if(!s)continue;const u=e[s],{as:a=!1,single:c,name:f=s,clone:h,props:d={}}=u;p(h||t.usesShadowDom);const v={};if($e(t,v,d,l,o),c)n[f]=Ce(l,l.getAttribute("slot")||`i-amphtml-${f}`,v,a);else{const t=n[f]||(n[f]=[]);p(!a),t.push(h?Ne(l):Ce(l,l.getAttribute("slot")||`i-amphtml-${f}-${Oe()}`,v))}}}for(const l in e){const s=e[l];let u;if(p([s.attr,s.attrs,s.attrMatches,s.selector,s.passthrough,s.passthroughNonEmpty].filter(Boolean).length<=1),s.passthrough?(p(t.usesShadowDom),u=[B(Te,{loading:"lazy"})]):s.passthroughNonEmpty?(p(t.usesShadowDom),u=w(i).every(qe)?null:[B(Te,{loading:"lazy"})]):s.attr?(u=i.getAttribute(s.attr),s.media&&null!=u&&(p(o),u=o.resolveListQuery(String(u)))):s.parseAttrs&&(p(s.attrs||s.attrMatches),u=s.parseAttrs(i)),null==u)null!=s.default&&(n[l]=s.default);else{const t="number"==s.type?parseFloat(u):"boolean"==s.type?null==(r=u)?void 0:"false"!==r:u;n[l]=t}}var r}function Ne(t){const n={"key":t},{attributes:e,localName:i}=t,{length:o}=e;for(let t=0;t<o;t++){const{name:i,value:o}=e[t];n[i]=o}return B(i,n)}function Le(t,n){for(const e in n){const i=n[e],o="string"==typeof i?i:i.selector;if(o&&m(t,o))return e}return null}var Ue={childList:!0},Fe={childList:!0,characterData:!0},De={childList:!0},We={"style":"display: contents; background: inherit;","part":"c"},He={"name":"i-amphtml-svc"},Be={"i-amphtml-rendered":""},Ze=()=>!0,Ge=t=>!!t.media,Je=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Qe=class extends re{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){p(!1)}getDefaultProps(){return{"loading":"auto","onReadyState":(t,n)=>{this.ld(t,n)},"onPlayingState":t=>{this.sd(t)}}}constructor(t){super(t),this.ud=this.getDefaultProps(),this.ad={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.fd=!1,this.hd=null,this.dd=null,this.pd=t=>{null!==t&&(this.hd?this.vd(t):this.yd(t)),this.dd=t,this.bd()},this.md=null,this.gd=null,this.wd=null,this._d=!1,this.Pd=null,this.kd=()=>{this._d=!1,this.Ad()},this.Md=!1,this.ui=!1,this.observer=null,this.Of=new class{constructor(t){this.xf=t,this.Wa=!1,this.Cf=!1,this.jf=this.jf.bind(this)}updatePlaying(t){t!==this.Wa&&(this.Wa=t,t?(this.Cf=!1,function(t,n){!function(t,n,e){const i=t.ownerDocument.defaultView;if(!i)return;let o=ce.get(t);if(o||(o=[],ce.set(t,o),he(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=fe.get(t);n&&setTimeout((()=>pe(1,e,n)))}}(t,0,n)}(this.xf,this.jf)):function(t,n){!function(t,n,e){const i=ce.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const l=t[n];(r=l).callback===e&&1===r.type?i.push(l):(o<n&&(t[o]=l),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){ce.delete(t),fe.delete(t);const n=t.ownerDocument.defaultView;n&&he(n).unobserve(t)}}(t,0,n)}(this.xf,this.jf))}jf({blockSize:t,inlineSize:n}){const e=n>0&&t>0;if(e===this.Cf)return;this.Cf=e;const i=this.xf;e||i.pause()}}(t),this.Ti=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.Rd(t)));const{props:n}=t,i=Ve(n,je)?Ue:null,o=Ve(n,Je)?Fe:null,r=t.usesTemplate?De:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.Ti=Ve(n,Ge)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,ee,"1")}resolveListQuery(t){return this.$i(t,ie,"")}complete(){for(const t in this.Ui)t in this.Li||oe(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)oe(this.Li[t],this.o,!1);this.Li={}}$i(t,n,e){if(!t.trim())return e;let i=this.Li[t];return i||(p(this.Ui),i=this.Ui[t]),i||(i=n(this.Wt,t),oe(i,this.o,!0)),this.Li[t]=i,function(t){for(let n=0;n<t.length;n++){const{query:e,value:i}=t[n];if(!e||e.matches)return i}return""}(i)}}(this.win,(()=>this.Sd())):null;const{staticProps:l}=t,s=this.init();Object.assign(this.ud,l,s),this.checkPropsPostMutations(),Qn(this.element,[],(()=>()=>{this.ui=!1,this.wd&&ht(null,this.wd)})),Qn(this.element,[ve,ye,be],((t,n,e)=>{this.ad.renderable=t,this.ad.playable=n,this.ad.loading=e,this.ui=!0,this.Sd()}));const{useContexts:u}=t;var a;return 0!=u.length&&Qn(this.element,u,((...t)=>{this.gd=t,this.Sd()})),this.Pd=new q,this.Sd(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.bd(),this.Pd.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.fd=!0)}mountCallback(){Xn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.fd=!1)}unmountCallback(){var t;Xn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.sd(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutateProps(t){Object.assign(this.ud,t),this.Sd()}api(){const t=this.dd;return p(t),t}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}Rd(t){const n=this.constructor;this.mutationObserverCallback(t);const e=t.some((t=>function(t,n){const{type:e}=n;if("attributes"==e){if(t.usesTemplate&&"template"==n.attributeName)return!0;const{props:e}=t;for(const t in e){var i,o;const r=e[t],l=n.attributeName;if(p(l),l==r.attr||null!==(i=r.attrs)&&void 0!==i&&i.includes(l)||null!==(o=r.attrMatches)&&void 0!==o&&o.call(r,l))return!0}return!1}return"childList"==e&&(Ye(n.addedNodes)||Ye(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Sd())}Sd(){this._d||(this._d=!0,this.mutateElement(this.kd))}bd(){const{dd:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.ld(n)}ld(t,n){var e;null===(e=this.setReadyState)||void 0===e||e.call(this,t,n),this.constructor.unloadOnPause&&this.sd("complete"==t),this.fd&&(this.fd=!1,this.mutateProps({"loading":"auto"}))}Ad(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:i}=t,o=i?null:t.lightDomTag;if(!this.wd){const e=this.win.document;if(i){p(!n);let{shadowRoot:i}=this.element,o=i&&(v=i,y("c"),b(v,"> c"));if(o)this.Md=!0;else{var r,l,s,u,a,c;i=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,e){const i=t.ownerDocument,o=i.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const i=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=i[n];r||(r=new o.CSSStyleSheet,p(r.replaceSync),r.replaceSync(e),i[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=i.createElement("style");o.setAttribute("data-name",n),o.textContent=e,t.appendChild(o)}}(i,this.element.tagName,n),o=k(e,"c",We),i.appendChild(o);const f=k(e,"slot",He);i.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(s=this.getFallback)||void 0===s||null===(u=s.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(a=this.getOverflowElement)||void 0===a||null===(c=a.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.wd=o,p(i),function(t,n){Dn.get(t).setParent(n)}(i,this.element),function(t,n,e,i=0){Dn.get(t).addGroup(n,e,i)}(this.element,"unslotted",Ze,-1),f=this.element,h=ve,null===(d=Dn.get(f).group("unslotted"))||void 0===d||d.values.set(h,this,!1)}else if(o){const n=this.element;this.wd=n;const i=g(n,"i-amphtml-rendered")||k(e,o,Be);i.__AMP_RENDERED=!0,t.layoutSizeDefined&&i.classList.add("i-amphtml-fill-content"),this.wd.appendChild(i)}else{const t=e.createElement("i-amphtml-c");this.wd=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var f,h,d,v;const m=this.wd;p(m);const{useContexts:w}=t,_=this.gd;if(0!=w.length&&null==_)return;const P=ze(t,this.element,this.pd,this.ud,this.Ti);if(this.updatePropsForRendering(P),!this.isReady(P))return;let M=B(t.Component,P);for(let t=0;t<w.length;t++){p(_);const n=w[t].type,e=_[t];e&&(M=B(n.Provider,{value:e},M))}const R=B(un,e({},this.ad),M);try{if(this.Md)this.Md=!1,dt(R,m);else{const t=o?g(m,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ht(R,m,null!=t?t:void 0)}}catch(t){var S;throw null===(S=this.Pd)||void 0===S||S.reject(t),t}i||n||this.mutateElement((()=>A(this.element,"amp:dom-update",void 0))),this.Pd&&(this.Pd.resolve(void 0),this.Pd=null)}getProp(t,n){return e=this.ud,i=t,c.call(e,i)?this.ud[t]:n;var e,i}getApi(){const t=this.hd;return t?Promise.resolve(t):(this.md||(this.md=new q),this.md.promise)}yd(t){const n=h(),e=Object.keys(t);for(let t=0;t<e.length;t++){const i=e[t];this.Id(n,i)}this.hd=n,this.md&&(this.md.resolve(n),this.md=null)}vd(t){}triggerEvent(t,n,e){A(t,n,e)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.fd=!0;else{var t;const{dd:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}sd(t){this.Of.updatePlaying(t)}Id(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.dd;return p(t),t[n]},set:t=>{const e=this.dd;p(e),e[n]=t}})}};function Ye(t){for(let n=0;n<t.length;n++){const e=t[n];if(d(e)){if(e.__AMP_RENDERED||e.tagName.startsWith("I-")||"i-amphtml-svc"==e.getAttribute("slot"))continue;return!0}if(3==e.nodeType)return!0}return!1}Qe.staticProps=void 0,Qe.useContexts=[],Qe.loadable=!1,Qe.unloadOnPause=!1,Qe.layoutSizeDefined=!1,Qe.lightDomTag="",Qe.usesTemplate=!1,Qe.shadowCss=null,Qe.usesShadowDom=!1,Qe.detached=!1,Qe.delegatesFocus=!1,Qe.props={};var Ke=class extends Qe{};Ke.Component=kn,Ke.loadable=!0,Ke.layoutSizeDefined=!0,Ke.staticProps,Ke.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},Ke.shadowCss='.fill-stretch-c645120{width:100%;height:100%;position:relative}.fill-content-overlay-c645120{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-0be5b4b{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-0be5b4b{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-0be5b4b>div:after,.eq-playing-0be5b4b>div:before{animation-play-state:running}.eq-col-0be5b4b{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-0be5b4b:after,.eq-col-0be5b4b:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-0be5b4b 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-0be5b4b:nth-child(4):before{animation-duration:0.4s}.eq-col-0be5b4b:nth-child(4):after{animation-duration:0.25s}.eq-col-0be5b4b:nth-child(3):before{animation-duration:0.3s}.eq-col-0be5b4b:nth-child(3):after{animation-duration:0.35s}.eq-col-0be5b4b:nth-child(2):before{animation-duration:0.5s}.eq-col-0be5b4b:nth-child(2):after{animation-duration:0.4s}.eq-col-0be5b4b:first-child:before{animation-duration:0.3s}.eq-col-0be5b4b:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-0be5b4b{0%{transform:translateY(100%)}to{transform:translateY(0)}}',Ke.usesShadowDom=!0;var Xe=class extends Ke{};function ti(){!function(t,n,e=self){e.customElements.define(t,function(t,n=self){return le&&se===n||(le=(se=n).HTMLElement),class extends le{constructor(){super(),this.implementation=new t(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}(n,e))}("bento-dailymotion",Xe)}Xe.Component=On,Xe.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},Xe.layoutSizeDefined=!0,Xe.usesShadowDom=!0;export{ti as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
{ | ||
"name": "@bentoproject/dailymotion", | ||
"version": "1.2202031816.0", | ||
"version": "1.2202042210.0", | ||
"description": "Bento dailymotion Component", | ||
@@ -5,0 +5,0 @@ "author": "Bento Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1237355