@bentoproject/dailymotion
Advanced tools
Comparing version 1.2112231523.2 to 1.2201071715.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 In}});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}function w(n){return n||{}}b.hasOwnProperty,b.toString;var h={bubbles:!0,cancelable:!0};function j(n,t,r,e){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=e||h,a=i.bubbles,l=i.cancelable;u.initEvent(t,a,l),n.dispatchEvent(u)}var O=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function S(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}a(require("preact"));var I=a(require("preact")),C=a(require("preact/hooks"));function k(n){return n.children}var E,P=a(require("preact")),R=["ref"],A="undefined"!=typeof Symbol&&(null===(E=Symbol.for)||void 0===E?void 0:E.call(Symbol,"react.forward_ref"))||3911,M=P.options.__b;function N(n){function t(t){var r=t.ref,e=s(t,R);return n(e,r)}return t.$$typeof=A,t.render=t,t.prototype.isReactComponent=!0,t.v=!0,t}P.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==M||M(n)};var z,q=function(){var n=this;this.promise=new Promise((function(t,r){n.resolve=t,n.reject=r}))};function x(n){return new Promise((function(t){t(n())}))}function T(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 U(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 L,F=["auto","lazy","eager","unload"],_=(l(z={},"auto",0),l(z,"lazy",1),l(z,"eager",2),l(z,"unload",3),z);function B(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 D(n){for(var t,r=null,e="",o=m(arguments,!0);!(t=o()).done;){var u=t.value;u instanceof Error&&!r?r=B(u):(e&&(e+=" "),e+=u)}return r?e&&(r.message=e+": "+r.message):r=new Error(e),r}function V(n){var t,r;null===(t=(r=self).__AMP_REPORT_ERROR)||void 0===t||t.call(r,n)}function W(n){var t=D.apply(null,arguments);return t.expected=!0,t}var J,Y=["Webkit","webkit","Moz","moz","ms","O","o"];function $(n,t,r,e,o){var u=function(n,t,r){if(H(t))return t;L||(L=g());var e=L[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<Y.length;r++){var e=Y[r]+t;if(void 0!==n[e])return e}return""}(n,o);void 0!==n[u]&&(e=u)}r||(L[t]=e)}return e}(n.style,t,o);if(u){var i=e?r+e:r;H(u)?n.style.setProperty(u,i):n.style[u]=i}}function H(n){return n.startsWith("--")}function Z(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)$(n,r,t[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=r,x((function(){return t.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}function G(){var n=J||(J=(0,I.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,C.useContext)(n)}var K=[null,"paint","layout","content","size","size paint","size layout","strict"],Q={"position":"relative","width":"100%","height":"100%"},X=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,S=n[r],C=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(U)),k=(w?4:0)+(y?2:0)+(b?1:0);return I.createElement(o,f(f({},C),{},{ref:t,class:"".concat(S||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:K[k]})}),I.createElement(a,f(f({},c),{},{ref:v,class:l,style:f(f({},w&&Q),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function nn(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(U));return I.createElement(o,f(f({},v),{},{ref:t,class:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var tn=self.AMP_CONFIG||{},rn=("string"==typeof tn.thirdPartyFrameRegex?new RegExp(tn.thirdPartyFrameRegex):tn.thirdPartyFrameRegex,("string"==typeof tn.cdnProxyRegex?new RegExp(tn.cdnProxyRegex):tn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function en(n){if(!self.document||!self.document.head)return null;if(self.location&&rn.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}tn.thirdPartyUrl,tn.thirdPartyFrameHost,tn.cdnUrl||en("runtime-host"),tn.errorReportingUrl,tn.betaErrorReportingUrl,tn.localDev,tn.geoApiUrl||en("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 un(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 an(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function ln(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=G().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]),I.createElement(k,null,t&&I.createElement("div",{class:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},I.createElement(vn,null)),r&&I.createElement("button",{"aria-label":e&&e.title||"Unmute video",tabIndex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var cn,fn,sn,vn=(cn=!1,fn=null,sn=function(){return[1,2,3,4].map((function(n){return I.createElement("div",{class:"eq-col-0be5b4b",key:n})}))},function(){if(!cn){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];fn=sn.apply(self,t),cn=!0,sn=null}return fn}),dn=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,h=n.onPlayingState,j=n.onReadyState,O=n.poster,S=n.sources,k=n.src,E=n.style,P=n[e],R=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",e].map(U));r=G().notify,(0,C.useLayoutEffect)((function(){r&&r()}));var A=G().playable,M=function(n){var t,r,e,o=G().loading;return t=_[n]||0,r=_[o]||0,e=Math.max(t,r),F[e]}(v),N="unload"!==M,z=T((0,C.useState)(u),2),L=z[0],B=z[1],D=T((0,C.useState)(!1),2),J=D[0],Y=D[1],$=T((0,C.useState)(null),2),H=$[0],Z=$[1],K=T((0,C.useState)(!u),2),Q=K[0],tn=K[1],rn=(0,C.useRef)(null),en=(0,C.useRef)(null),cn=(0,C.useMemo)((function(){return new q}),[]),fn=(0,C.useRef)("loading"),sn=nn(j),vn=(0,C.useCallback)((function(n,t){if(n!==fn.current){fn.current=n;var r=sn.current;r&&r(n,t)}}),[sn]),dn=nn(h),pn=(0,C.useCallback)((function(n){Y(n);var t=dn.current;t&&t(n)}),[dn]);(0,C.useLayoutEffect)((function(){N||pn(!1)}),[N,pn]);var yn=(0,C.useCallback)((function(){return cn.promise.then((function(){return n=en.current,(t=x((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];V(W.apply(null,r))}("TRYPLAY",n)})),t;var n,t}))}),[cn]),mn=(0,C.useCallback)((function(){cn.promise.then((function(){var n;return null===(n=en.current)||void 0===n?void 0:n.pause()}))}),[cn]),bn=(0,C.useCallback)((function(){return cn.promise.then((function(){return en.current.requestFullscreen()}))}),[cn]),gn=(0,C.useCallback)((function(){B(!1),tn(!0)}),[]);return(0,C.useLayoutEffect)((function(){var n,t=null===(n=en.current)||void 0===n?void 0:n.readyState;null!=t&&vn(t>0?"complete":"loading")}),[vn]),(0,C.useLayoutEffect)((function(){return m&&J&&H&&function(n,t,r,e){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(on),o.mediaSession.metadata=new n.MediaMetadata(t),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",e))}(window,H,yn,mn),function(){}}),[m,J,H,yn,mn]),(0,C.useEffect)((function(){A||mn()}),[A,mn]),(0,C.useImperativeHandle)(t,(function(){return{get readyState(){return fn.current},play:yn,pause:mn,requestFullscreen:bn,get currentTime(){return en.current?en.current.currentTime:0},get duration(){return en.current?en.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:gn,mute:function(){return B(!0)},unmute:function(){Q&&B(!1)}}}),[yn,mn,bn,gn,Q,u,c,p]),I.createElement(X,{contentRef:rn,class:P,style:E,size:!0,layout:!0,paint:!0},N&&I.createElement(a,f(f({},R),{},{ref:en,loading:M,muted:L,loop:p,controls:c&&(!u||Q),onCanPlay:function(){cn.resolve(),vn("complete")},onLoadedMetadata:function(){m&&cn.promise.then((function(){var n,t,r,e;Z((n=en.current,t=R,Object.assign(w({"title":t.title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||un(document)||(r=document,e=r.querySelector('meta[property="og:image"]'),e?e.getAttribute("content"):void 0)||an(document)||""}]}),n&&n.getMetadata?n.getMetadata():Object.create(null))))})),vn("complete")},onPlaying:function(){return pn(!0)},onPause:function(){return pn(!1)},onEnded:function(){return pn(!1)},onError:function(n){vn("error",n),cn.reject(n)},class:"fill-stretch-c645120",src:k,poster:O}),S),u&&!Q&&I.createElement(ln,{metadata:H,playing:J,displayIcon:!g&&L,wrapperRef:rn,play:yn,pause:mn,displayOverlay:c,onOverlayClick:gn}))}));dn.displayName="VideoWrapper";var pn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],yn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function mn(n,t,r){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(r(),"*")}))}var bn=N((function(n,t){var r=n.loading,e=n.unloadOnPause,o=void 0!==e&&e,u=n.sandbox,i=void 0===u?yn: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,pn),j=(0,C.useRef)(null),O=(0,C.useMemo)((function(){return new q}),[]),S=(0,C.useRef)(b),k=(0,C.useCallback)((function(n){mn(null==j?void 0:j.current,O.promise,(function(){return S.current(n)}))}),[O.promise]),E=(0,C.useRef)(g),P=(0,C.useCallback)((function(){return mn(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]),I.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)}}))}));bn.displayName="VideoIframeInternal";var gn=N((function(n,t){return I.createElement(dn,f(f({ref:t},n),{},{component:bn}))}));function wn(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 hn(n,t){return JSON.stringify(w({"command":n,"parameters":t}))}gn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var jn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function On(n){switch(n){case"mute":return hn("muted",[!0]);case"unmute":return hn("muted",[!1]);case"showControls":return hn("controls",[!0]);case"hideControls":return hn("controls",[!1]);default:return hn(n)}}function Sn(n){var t=n.currentTarget,r=function(n){var t,r=g();if(!n)return r;for(;t=O.exec(n);){var e=S(t[1],t[1]),o=t[2]?S(t[2].replace(/\+/g," "),t[2]):"";r[e]=o}return r}(n.data),e=null==r?void 0:r.event;"pause"===e?j(t,"pause"):"play"===e?j(t,"playing"):"end"===e?(j(t,"pause"),j(t,"end")):"apiready"===e&&j(t,"canplay")}function In(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,jn),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],f=arguments.length>10?arguments[10]:void 0;return wn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),Object.assign(w({"endscreen-enable":e?void 0:e,"info":o?void 0:o,"mute":u||r&&Z(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c}),f))}(window,v,r,e,o,u,i,a,l,c)}),[v,r,e,o,u,i,a,l,c]);return I.createElement(gn,f(f({autoplay:r,controls:!0,ref:t},d),{},{src:p,makeMethodMessage:On,onMessage:Sn}))}var Cn=N(In);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 In},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")),I=a(require("preact/hooks"));function C(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,I.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,I=n[r],C=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({},C),{},{ref:t,class:"".concat(I||""," ").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,I.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,I.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(C,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,C=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,I.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,I.useState)(u),2),U=N[0],_=N[1],B=x((0,I.useState)(!1),2),W=B[0],J=B[1],Y=x((0,I.useState)(null),2),$=Y[0],H=Y[1],G=x((0,I.useState)(!u),2),K=G[0],nn=G[1],tn=(0,I.useRef)(null),rn=(0,I.useRef)(null),ln=(0,I.useMemo)((function(){return new z}),[]),cn=(0,I.useRef)("loading"),fn=X(h),sn=(0,I.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,I.useCallback)((function(n){J(n);var t=vn.current;t&&t(n)}),[vn]);(0,I.useLayoutEffect)((function(){M||dn(!1)}),[M,dn]);var pn=(0,I.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,I.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=rn.current)||void 0===n?void 0:n.pause()}))}),[ln]),mn=(0,I.useCallback)((function(){return ln.promise.then((function(){return rn.current.requestFullscreen()}))}),[ln]),bn=(0,I.useCallback)((function(){_(!1),nn(!0)}),[]);return(0,I.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,I.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,I.useEffect)((function(){R||yn()}),[R,yn]),(0,I.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:C,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,I.useRef)(null),O=(0,I.useMemo)((function(){return new z}),[]),C=(0,I.useRef)(b),k=(0,I.useCallback)((function(n){yn(null==j?void 0:j.current,O.promise,(function(){return C.current(n)}))}),[O.promise]),E=(0,I.useRef)(g),P=(0,I.useCallback)((function(){return yn(null==j?void 0:j.current,O.promise,E.current)}),[O.promise]);(0,I.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,I.useRef)(null);return t.current=n,t}(y);return(0,I.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,I.useLayoutEffect)((function(){k(l?"mute":"unmute")}),[l,k]),(0,I.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,I.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 In=M(Sn);In.displayName="BentoDailymotion"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -90,5 +90,2 @@ var __create = Object.create; | ||
} | ||
function dict(opt_initial) { | ||
return opt_initial || {}; | ||
} | ||
@@ -232,4 +229,5 @@ // src/core/types/index.js | ||
var REACT_FORWARD_SYMBOL = typeof Symbol !== "undefined" && (Symbol.for == null ? void 0 : Symbol.for("react.forward_ref")) || 3911; | ||
var oldDiff = import_preact2.options["__b"]; | ||
import_preact2.options["__b"] = newDiff; | ||
var diffKey = "__b"; | ||
var oldDiff = import_preact2.options[diffKey]; | ||
import_preact2.options[diffKey] = newDiff; | ||
function newDiff(vnode) { | ||
@@ -798,16 +796,2 @@ var _vnode$type; | ||
// extensions/amp-video/1.0/component.js | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose4(source, excluded) { | ||
@@ -843,4 +827,18 @@ if (source == null) | ||
} | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
var getMetadata = function getMetadata2(player, props) { | ||
return Object.assign(dict({ | ||
return _extends3({ | ||
"title": props.title || props["aria-label"] || document.title, | ||
@@ -852,3 +850,3 @@ "artist": props.artist || "", | ||
}] | ||
}), player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}, player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}; | ||
@@ -1261,2 +1259,16 @@ function VideoWrapperWithRef(_ref, ref) { | ||
// extensions/amp-dailymotion/dailymotion-api.js | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
} | ||
function getDailymotionIframeSrc(win, videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo, implicitParams) { | ||
@@ -1281,3 +1293,3 @@ if (autoplay === void 0) { | ||
} | ||
return addParamsToUrl("https://www.dailymotion.com/embed/video/" + encodeURIComponent(videoId) + "?api=1&html=1&app=amp", Object.assign(dict({ | ||
return addParamsToUrl("https://www.dailymotion.com/embed/video/" + encodeURIComponent(videoId) + "?api=1&html=1&app=amp", _extends5({ | ||
"endscreen-enable": !endscreenEnable ? endscreenEnable : void 0, | ||
@@ -1290,9 +1302,9 @@ "info": !info ? info : void 0, | ||
"ui-logo": !uiLogo ? uiLogo : void 0 | ||
}), implicitParams)); | ||
}, implicitParams)); | ||
} | ||
function makeDailymotionMessage(command, param) { | ||
return JSON.stringify(dict({ | ||
return JSON.stringify({ | ||
"command": command, | ||
"parameters": param | ||
})); | ||
}); | ||
} | ||
@@ -1319,4 +1331,4 @@ var DailymotionEvents = { | ||
var _excluded3 = ["autoplay", "endscreenEnable", "info", "mute", "sharingEnable", "start", "uiHighlight", "uiLogo", "videoId"]; | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
function _extends6() { | ||
_extends6 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -1332,3 +1344,3 @@ var source = arguments[i]; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
return _extends6.apply(this, arguments); | ||
} | ||
@@ -1383,3 +1395,3 @@ function _objectWithoutPropertiesLoose6(source, excluded) { | ||
}, [videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo]); | ||
return import_preact.createElement(VideoIframe, _extends5({ | ||
return import_preact.createElement(VideoIframe, _extends6({ | ||
autoplay: autoplay, | ||
@@ -1386,0 +1398,0 @@ controls: true, |
@@ -52,5 +52,2 @@ // src/core/mode/prod.js | ||
} | ||
function dict(opt_initial) { | ||
return opt_initial || {}; | ||
} | ||
@@ -189,4 +186,5 @@ // src/core/types/index.js | ||
var REACT_FORWARD_SYMBOL = typeof Symbol !== "undefined" && (Symbol.for == null ? void 0 : Symbol.for("react.forward_ref")) || 3911; | ||
var oldDiff = options["__b"]; | ||
options["__b"] = newDiff; | ||
var diffKey = "__b"; | ||
var oldDiff = options[diffKey]; | ||
options[diffKey] = newDiff; | ||
function newDiff(vnode) { | ||
@@ -745,16 +743,2 @@ var _vnode$type; | ||
// extensions/amp-video/1.0/component.js | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose4(source, excluded) { | ||
@@ -790,3 +774,17 @@ if (source == null) | ||
} | ||
var getMetadata = (player, props) => Object.assign(dict({ | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
var getMetadata = (player, props) => _extends3({ | ||
"title": props.title || props["aria-label"] || document.title, | ||
@@ -798,3 +796,3 @@ "artist": props.artist || "", | ||
}] | ||
}), player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}, player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
function VideoWrapperWithRef(_ref, ref) { | ||
@@ -1223,4 +1221,18 @@ let _propName = propName("class"), { | ||
// extensions/amp-dailymotion/dailymotion-api.js | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
} | ||
function getDailymotionIframeSrc(win, videoId, autoplay = false, endscreenEnable = true, info = true, mute = false, sharingEnable = true, start, uiHighlight, uiLogo = true, implicitParams) { | ||
return addParamsToUrl(`https://www.dailymotion.com/embed/video/${encodeURIComponent(videoId)}?api=1&html=1&app=amp`, Object.assign(dict({ | ||
return addParamsToUrl(`https://www.dailymotion.com/embed/video/${encodeURIComponent(videoId)}?api=1&html=1&app=amp`, _extends5({ | ||
"endscreen-enable": !endscreenEnable ? endscreenEnable : void 0, | ||
@@ -1233,9 +1245,9 @@ "info": !info ? info : void 0, | ||
"ui-logo": !uiLogo ? uiLogo : void 0 | ||
}), implicitParams)); | ||
}, implicitParams)); | ||
} | ||
function makeDailymotionMessage(command, param) { | ||
return JSON.stringify(dict({ | ||
return JSON.stringify({ | ||
"command": command, | ||
"parameters": param | ||
})); | ||
}); | ||
} | ||
@@ -1262,4 +1274,4 @@ var DailymotionEvents = { | ||
var _excluded3 = ["autoplay", "endscreenEnable", "info", "mute", "sharingEnable", "start", "uiHighlight", "uiLogo", "videoId"]; | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
function _extends6() { | ||
_extends6 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -1275,3 +1287,3 @@ var source = arguments[i]; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
return _extends6.apply(this, arguments); | ||
} | ||
@@ -1336,3 +1348,3 @@ function _objectWithoutPropertiesLoose6(source, excluded) { | ||
const src = useMemo(() => getDailymotionIframeSrc(window, videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo), [videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo]); | ||
return createElement(VideoIframe, _extends5({ | ||
return createElement(VideoIframe, _extends6({ | ||
autoplay, | ||
@@ -1339,0 +1351,0 @@ controls: true, |
@@ -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}function c(n){return n||{}}var f={bubbles:!0,cancelable:!0};function d(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||f;a.initEvent(e,l,i),n.dispatchEvent(a)}var p=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function y(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as m,render as v}from"preact";import{createElement as b,cloneElement as g,createRef as w,createContext as h}from"preact";import{useState as O,useRef as S,useEffect as j,useLayoutEffect as C,useContext as k,useMemo as I,useCallback as P,useImperativeHandle as E}from"preact/hooks";function M(n){return n.children}import{options as R,toChildArray as N}from"preact";var $,z=["ref"],A="undefined"!=typeof Symbol&&(null===($=Symbol.for)||void 0===$?void 0:$.call(Symbol,"react.forward_ref"))||3911,x=R.__b;function L(n){function e(e){const{ref:t}=e,o=r(e,z);return n(o,t)}return e.$$typeof=A,e.render=e,e.prototype.isReactComponent=!0,e.v=!0,e}R.__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==x||x(n)};var T=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function U(n){return new Promise((e=>{e(n())}))}function q(n){return(q="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 F(n){var e=function(n,e){if("object"!==q(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===q(e)?e:String(e)}var V,H=["auto","lazy","eager","unload"],J={auto:0,lazy:1,eager:2,unload:3};function W(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 _(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=W(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function B(n){const e=_.apply(null,arguments);return e.expected=!0,e}function D(n,...e){var t,r,o;t=B.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var Z,G=["Webkit","webkit","Moz","moz","ms","O","o"];function K(n,e,t,r,o){const a=function(n,e,t){if(Q(e))return e;V||(V=s());let r=V[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<G.length;t++){const r=G[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(V[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;Q(a)?n.style.setProperty(a,l):n.style[a]=l}function Q(n){return n.startsWith("--")}function X(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)K(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,U((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}function Y(){const n=Z||(Z=h({renderable:!0,playable:!0,loading:"auto"}));return k(n)}var nn=[null,"paint","layout","content","size","size paint","size layout","strict"],en={"position":"relative","width":"100%","height":"100%"},tn=L((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:v,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(F));const O=(y?4:0)+(d?2:0)+(p?1:0);return b(a,t(t({},h),{},{ref:e,class:`${w||""} ${v||""}`.trim()||null,style:t(t(t({},m),g),{},{contain:nn[O]})}),b(i,t(t({},s),{},{ref:c,class:u,style:t(t({},y&&en),{},{"overflow":p?"hidden":"visible"},f)}),l))}));function rn(n){const e=S(null);return e.current=n,e}L((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(F));return b(a,t(t({},f),{},{ref:e,class:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var on=self.AMP_CONFIG||{},an=("string"==typeof on.thirdPartyFrameRegex?new RegExp(on.thirdPartyFrameRegex):on.thirdPartyFrameRegex,("string"==typeof on.cdnProxyRegex?new RegExp(on.cdnProxyRegex):on.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function ln(n){if(!self.document||!self.document.head)return null;if(self.location&&an.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}on.thirdPartyUrl,on.thirdPartyFrameHost,on.cdnUrl||ln("runtime-host"),on.errorReportingUrl,on.betaErrorReportingUrl,on.localDev,on.geoApiUrl||ln("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var un={"title":"","artist":"","album":"","artwork":[{"src":""}]};function sn(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 cn(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function fn(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function dn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=Y();return j((()=>{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]),b(M,null,n&&b("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},b(pn,null)),e&&b("button",{"aria-label":t&&t.title||"Unmute video",tabIndex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var pn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>b("div",{class:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),yn=L((function(n,e){let o="class",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:f=!0,noaudio:d=!1,onPlayingState:p,onReadyState:y,poster:m,sources:v,src:g,style:w,[o]:h}=n,k=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(F));!function(){const{notify:n}=Y();C((()=>{n&&n()}))}();const{playable:M}=Y(),R=function(n){const{loading:e}=Y();return function(n,e){const t=J[n]||0,r=J[e]||0,o=Math.max(t,r);return H[o]}(n,e)}(u),N="unload"!==R,[$,z]=O(a),[A,x]=O(!1),[L,q]=O(null),[V,W]=O(!a),_=S(null),B=S(null),Z=I((()=>new T),[]),G=S("loading"),K=rn(y),Q=P(((n,e)=>{if(n!==G.current){G.current=n;const t=K.current;t&&t(n,e)}}),[K]),X=rn(p),nn=P((n=>{x(n);const e=X.current;e&&e(n)}),[X]);C((()=>{N||nn(!1)}),[N,nn]);const en=P((()=>Z.promise.then((()=>function(n,e){const t=U((()=>n.play(!1)));return t.catch((n=>{D(0,n)})),t}(B.current)))),[Z]),on=P((()=>{Z.promise.then((()=>{var n;return null===(n=B.current)||void 0===n?void 0:n.pause()}))}),[Z]),an=P((()=>Z.promise.then((()=>B.current.requestFullscreen()))),[Z]),ln=P((()=>{z(!1),W(!0)}),[]);return C((()=>{var n;const e=null===(n=B.current)||void 0===n?void 0:n.readyState;null!=e&&Q(e>0?"complete":"loading")}),[Q]),C((()=>(f&&A&&L&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(un),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,L,en,on),()=>{})),[f,A,L,en,on]),j((()=>{M||on()}),[M,on]),E(e,(()=>({get readyState(){return G.current},play:en,pause:on,requestFullscreen:an,get currentTime(){return B.current?B.current.currentTime:0},get duration(){return B.current?B.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:ln,mute:()=>z(!0),unmute:()=>{V&&z(!1)}})),[en,on,an,ln,V,a,i,s]),b(tn,{contentRef:_,class:h,style:w,size:!0,layout:!0,paint:!0},N&&b(l,t(t({},k),{},{ref:B,loading:R,muted:$,loop:s,controls:i&&(!a||V),onCanPlay:()=>{Z.resolve(),Q("complete")},onLoadedMetadata:()=>{f&&Z.promise.then((()=>{var n,e;q((n=B.current,e=k,Object.assign(c({"title":e.title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||sn(document)||cn(document)||fn(document)||""}]}),n&&n.getMetadata?n.getMetadata():Object.create(null))))})),Q("complete")},onPlaying:()=>nn(!0),onPause:()=>nn(!1),onEnded:()=>nn(!1),onError:n=>{Q("error",n),Z.reject(n)},class:"fill-stretch-c645120",src:g,poster:m}),v),a&&!V&&b(dn,{metadata:L,playing:A,displayIcon:!d&&$,wrapperRef:_,play:en,pause:on,displayOverlay:i,onOverlayClick:ln}))}));yn.displayName="VideoWrapper";var mn=["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 bn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var gn=L((function(n,e){let{loading:o,unloadOnPause:a=!1,sandbox:l=vn,muted:i=!1,controls:u=!1,origin:s,onCanPlay:c,onMessage:f,playerStateRef:d,makeMethodMessage:p,makeFullscreenMessage:y,onIframeLoad:m}=n,v=r(n,mn);const g=S(null),w=I((()=>new T),[]),h=S(p),O=P((n=>{bn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),j=S(y),k=P((()=>bn(null==g?void 0:g.current,w.promise,j.current)),[w.promise]);E(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(!j.current)return w.promise.then((()=>{g.current.requestFullscreen()}));k()},play:()=>O("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else O("pause")}})),[d,O,k,w.promise,a]);const M=function(n){const e=S(null);return e.current=n,e}(f);return C((()=>{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]),C((()=>{O(i?"mute":"unmute")}),[i,O]),C((()=>{O(u?"showControls":"hideControls")}),[u,O]),b("iframe",t(t({},v),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==m||m(n)}}))}));gn.displayName="VideoIframeInternal";var wn=L((function(n,e){return b(yn,t(t({ref:e},n),{},{component:gn}))}));function hn(n,e){return JSON.stringify(c({"command":n,"parameters":e}))}wn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var On=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Sn(n){switch(n){case"mute":return hn("muted",[!0]);case"unmute":return hn("muted",[!1]);case"showControls":return hn("controls",[!0]);case"hideControls":return hn("controls",[!1]);default:return hn(n)}}function jn({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=p.exec(n);){const n=y(t[1],t[1]),r=t[2]?y(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?d(n,"pause"):"play"===r?d(n,"playing"):"end"===r?(d(n,"pause"),d(n,"end")):"apiready"===r&&d(n,"canplay")}function Cn(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:f,uiHighlight:d,uiLogo:p,videoId:y}=n,m=r(n,On);const v=I((()=>function(n,e,t=!1,r=!0,a=!0,l=!1,i=!0,u,s,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("&")}(Object.assign(c({"endscreen-enable":r?void 0:r,"info":a?void 0:a,"mute":l||t&&X(n)?1:void 0,"sharing-enable":i?void 0:i,"start":u,"ui-highlight":s,"ui-logo":f?void 0:f}),d)))}(window,y,a,l,i,u,s,f,d,p)),[y,a,l,i,u,s,f,d,p]);return b(wn,t(t({autoplay:a,controls:!0,ref:e},m),{},{src:v,makeMethodMessage:Sn,onMessage:jn}))}var kn=L(Cn);kn.displayName="BentoDailymotion";export{kn as BentoDailymotion,Cn 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;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}; | ||
/*! 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 Sn},BentoDailymotionWithRef:function(){return On}});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}function w(n){return n||{}}b.hasOwnProperty,b.toString;var h={bubbles:!0,cancelable:!0};function j(n,e,r,t){var o=r||{};n.ownerDocument;var u=n.ownerDocument.createEvent("Event");u.data=o;var i=t||h,a=i.bubbles,l=i.cancelable;u.initEvent(e,a,l),n.dispatchEvent(u)}var O=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function S(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 N=a(require("react")),C=a(require("react"));function I(n){return n.children}var k=a(require("react")),E=function(){var n=this;this.promise=new Promise((function(e,r){n.resolve=e,n.reject=r}))};function q(n){return new Promise((function(e){e(n())}))}var P,R=a(require("react"));function A(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 M(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 z,x=["auto","lazy","eager","unload"],T=(l(P={},"auto",0),l(P,"lazy",1),l(P,"eager",2),l(P,"unload",3),P);function U(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 L(n){for(var e,r=null,t="",o=y(arguments,!0);!(e=o()).done;){var u=e.value;u instanceof Error&&!r?r=U(u):(t&&(t+=" "),t+=u)}return r?t&&(r.message=t+": "+r.message):r=new Error(t),r}function F(n){var e,r;null===(e=(r=self).__AMP_REPORT_ERROR)||void 0===e||e.call(r,n)}function B(n){var e=L.apply(null,arguments);return e.expected=!0,e}var D=["Webkit","webkit","Moz","moz","ms","O","o"];function V(n,e,r,t,o){var u=function(n,e,r){if(W(e))return e;z||(z=g());var t=z[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<D.length;r++){var t=D[r]+e;if(void 0!==n[t])return t}return""}(n,o);void 0!==n[u]&&(t=u)}r||(z[e]=t)}return t}(n.style,e,o);if(u){var i=t?r+t:r;W(u)?n.style.setProperty(u,i):n.style[u]=i}}function W(n){return n.startsWith("--")}function _(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)V(n,r,e[r])}(r,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),e=r,q((function(){return e.play()})).catch((function(){})),Promise.resolve(!r.paused)}(n)),n.__AMP_AUTOPLAY}var J,Y=a(require("react")),$=a(require("react"));function H(){var n=J||(J=(0,N.createContext)({renderable:!0,playable:!0,loading:"auto"}));return(0,C.useContext)(n)}var Z=[null,"paint","layout","content","size","size paint","size layout","strict"],G={"position":"relative","width":"100%","height":"100%"},K=(0,$.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,S=n[r],C=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(M)),I=(w?4:0)+(m?2:0)+(b?1:0);return N.createElement(o,f(f({},C),{},{ref:e,className:"".concat(S||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:Z[I]})}),N.createElement(a,f(f({},c),{},{ref:v,className:l,style:f(f({},w&&G),{},{"overflow":b?"hidden":"visible"},d)}),u))}));function Q(n){var e=(0,C.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(M));return N.createElement(o,f(f({},v),{},{ref:e,className:"".concat(c||""," ").concat(a||"").trim()||null,style:f(f({},i),l)}),u)}));var X=self.AMP_CONFIG||{},nn=("string"==typeof X.thirdPartyFrameRegex?new RegExp(X.thirdPartyFrameRegex):X.thirdPartyFrameRegex,("string"==typeof X.cdnProxyRegex?new RegExp(X.cdnProxyRegex):X.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function en(n){if(!self.document||!self.document.head)return null;if(self.location&&nn.test(self.location.origin))return null;var e=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return e&&e.getAttribute("content")||null}X.thirdPartyUrl,X.thirdPartyFrameHost,X.cdnUrl||en("runtime-host"),X.errorReportingUrl,X.betaErrorReportingUrl,X.localDev,X.geoApiUrl||en("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var rn={"title":"","artist":"","album":"","artwork":[{"src":""}]};function tn(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 on(n){var e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function un(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=H().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]),N.createElement(I,null,e&&N.createElement("div",{className:"eq-0be5b4b"+(a?" eq-playing-0be5b4b":"")},N.createElement(fn,null)),r&&N.createElement("button",{"aria-label":t&&t.title||"Unmute video",tabindex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:o}))}var an,ln,cn,fn=(an=!1,ln=null,cn=function(){return[1,2,3,4].map((function(n){return N.createElement("div",{className:"eq-col-0be5b4b",key:n})}))},function(){if(!an){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];ln=cn.apply(self,e),an=!0,cn=null}return ln}),sn=(0,Y.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,h=n.onPlayingState,j=n.onReadyState,O=n.poster,S=n.sources,I=n.src,k=n.style,P=n[t],R=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",t].map(M));r=H().notify,(0,C.useLayoutEffect)((function(){r&&r()}));var z=H().playable,U=function(n){var e,r,t,o=H().loading;return e=T[n]||0,r=T[o]||0,t=Math.max(e,r),x[t]}(v),L="unload"!==U,D=A((0,C.useState)(u),2),V=D[0],W=D[1],_=A((0,C.useState)(!1),2),J=_[0],Y=_[1],$=A((0,C.useState)(null),2),Z=$[0],G=$[1],X=A((0,C.useState)(!u),2),nn=X[0],en=X[1],an=(0,C.useRef)(null),ln=(0,C.useRef)(null),cn=(0,C.useMemo)((function(){return new E}),[]),fn=(0,C.useRef)("loading"),sn=Q(j),vn=(0,C.useCallback)((function(n,e){if(n!==fn.current){fn.current=n;var r=sn.current;r&&r(n,e)}}),[sn]),dn=Q(h),pn=(0,C.useCallback)((function(n){Y(n);var e=dn.current;e&&e(n)}),[dn]);(0,C.useLayoutEffect)((function(){L||pn(!1)}),[L,pn]);var mn=(0,C.useCallback)((function(){return cn.promise.then((function(){return n=ln.current,(e=q((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];F(B.apply(null,r))}("TRYPLAY",n)})),e;var n,e}))}),[cn]),yn=(0,C.useCallback)((function(){cn.promise.then((function(){var n;return null===(n=ln.current)||void 0===n?void 0:n.pause()}))}),[cn]),bn=(0,C.useCallback)((function(){return cn.promise.then((function(){return ln.current.requestFullscreen()}))}),[cn]),gn=(0,C.useCallback)((function(){W(!1),en(!0)}),[]);return(0,C.useLayoutEffect)((function(){var n,e=null===(n=ln.current)||void 0===n?void 0:n.readyState;null!=e&&vn(e>0?"complete":"loading")}),[vn]),(0,C.useLayoutEffect)((function(){return y&&J&&Z&&function(n,e,r,t){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(rn),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",r),o.mediaSession.setActionHandler("pause",t))}(window,Z,mn,yn),function(){}}),[y,J,Z,mn,yn]),(0,C.useEffect)((function(){z||yn()}),[z,yn]),(0,C.useImperativeHandle)(e,(function(){return{get readyState(){return fn.current},play:mn,pause:yn,requestFullscreen:bn,get currentTime(){return ln.current?ln.current.currentTime:0},get duration(){return ln.current?ln.current.duration:NaN},get autoplay(){return u},get controls(){return c},get loop(){return p},userInteracted:gn,mute:function(){return W(!0)},unmute:function(){nn&&W(!1)}}}),[mn,yn,bn,gn,nn,u,c,p]),N.createElement(K,{contentRef:an,className:P,style:k,size:!0,layout:!0,paint:!0},L&&N.createElement(a,f(f({},R),{},{ref:ln,loading:U,muted:V,loop:p,controls:c&&(!u||nn),onCanPlay:function(){cn.resolve(),vn("complete")},onLoadedMetadata:function(){y&&cn.promise.then((function(){var n,e,r,t;G((n=ln.current,e=R,Object.assign(w({"title":e.title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||tn(document)||(r=document,t=r.querySelector('meta[property="og:image"]'),t?t.getAttribute("content"):void 0)||on(document)||""}]}),n&&n.getMetadata?n.getMetadata():Object.create(null))))})),vn("complete")},onPlaying:function(){return pn(!0)},onPause:function(){return pn(!1)},onEnded:function(){return pn(!1)},onError:function(n){vn("error",n),cn.reject(n)},className:"fill-stretch-c645120",src:I,poster:O}),S),u&&!nn&&N.createElement(un,{metadata:Z,playing:J,displayIcon:!g&&V,wrapperRef:an,play:mn,pause:yn,displayOverlay:c,onOverlayClick:gn}))}));sn.displayName="VideoWrapper";var vn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],dn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function pn(n,e,r){n&&n.contentWindow&&e.then((function(){n.contentWindow.postMessage(r(),"*")}))}var mn=(0,R.forwardRef)((function(n,e){var r=n.loading,t=n.unloadOnPause,o=void 0!==t&&t,u=n.sandbox,i=void 0===u?dn: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,vn),j=(0,C.useRef)(null),O=(0,C.useMemo)((function(){return new E}),[]),S=(0,C.useRef)(b),I=(0,C.useCallback)((function(n){pn(null==j?void 0:j.current,O.promise,(function(){return S.current(n)}))}),[O.promise]),k=(0,C.useRef)(g),q=(0,C.useCallback)((function(){return pn(null==j?void 0:j.current,O.promise,k.current)}),[O.promise]);(0,C.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(!k.current)return O.promise.then((function(){j.current.requestFullscreen()}));q()},play:function(){return I("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else I("pause")}}}),[y,I,q,O.promise,o]);var P=function(n){var e=(0,C.useRef)(null);return e.current=n,e}(m);return(0,C.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,C.useLayoutEffect)((function(){I(l?"mute":"unmute")}),[l,I]),(0,C.useLayoutEffect)((function(){I(v?"showControls":"hideControls")}),[v,I]),N.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 yn=(0,R.forwardRef)((function(n,e){return N.createElement(sn,f(f({ref:e},n),{},{component:mn}))}));function bn(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 gn(n,e){return JSON.stringify(w({"command":n,"parameters":e}))}yn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var wn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function hn(n){switch(n){case"mute":return gn("muted",[!0]);case"unmute":return gn("muted",[!1]);case"showControls":return gn("controls",[!0]);case"hideControls":return gn("controls",[!1]);default:return gn(n)}}function jn(n){var e=n.currentTarget,r=function(n){var e,r=g();if(!n)return r;for(;e=O.exec(n);){var t=S(e[1],e[1]),o=e[2]?S(e[2].replace(/\+/g," "),e[2]):"";r[t]=o}return r}(n.data),t=null==r?void 0:r.event;"pause"===t?j(e,"pause"):"play"===t?j(e,"playing"):"end"===t?(j(e,"pause"),j(e,"end")):"apiready"===t&&j(e,"canplay")}function On(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,wn),p=(0,C.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],f=arguments.length>10?arguments[10]:void 0;return bn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(e),"?api=1&html=1&app=amp"),Object.assign(w({"endscreen-enable":t?void 0:t,"info":o?void 0:o,"mute":u||r&&_(n)?1:void 0,"sharing-enable":i?void 0:i,"start":a,"ui-highlight":l,"ui-logo":c?void 0:c}),f))}(window,v,r,t,o,u,i,a,l,c)}),[v,r,t,o,u,i,a,l,c]);return N.createElement(yn,f(f({autoplay:r,controls:!0,ref:e},d),{},{src:p,makeMethodMessage:hn,onMessage:jn}))}var Sn=(0,k.forwardRef)(On);Sn.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 C(n){return n.children}var I=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],C=s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",r].map(A)),I=(w?4:0)+(m?2:0)+(b?1:0);return S.createElement(o,f(f({},C),{},{ref:e,className:"".concat(N||""," ").concat(j||"").trim()||null,style:f(f(f({},h),O),{},{contain:H[I]})}),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(C,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,C=n.src,I=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:I,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:C,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}),[]),C=(0,N.useRef)(b),I=(0,N.useCallback)((function(n){dn(null==j?void 0:j.current,O.promise,(function(){return C.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 I("play")},pause:function(){if(o){var n=j.current;n&&(n.src=n.src)}else I("pause")}}}),[y,I,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(){I(l?"mute":"unmute")}),[l,I]),(0,N.useLayoutEffect)((function(){I(v?"showControls":"hideControls")}),[v,I]),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,I.forwardRef)(jn);On.displayName="BentoDailymotion"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
@@ -85,5 +85,2 @@ var __create = Object.create; | ||
} | ||
function dict(opt_initial) { | ||
return opt_initial || {}; | ||
} | ||
@@ -759,16 +756,2 @@ // src/core/types/index.js | ||
// extensions/amp-video/1.0/component.js | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose3(source, excluded) { | ||
@@ -804,4 +787,18 @@ if (source == null) | ||
} | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
var getMetadata = function getMetadata2(player, props) { | ||
return Object.assign(dict({ | ||
return _extends3({ | ||
"title": props.title || props["aria-label"] || document.title, | ||
@@ -813,3 +810,3 @@ "artist": props.artist || "", | ||
}] | ||
}), player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}, player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}; | ||
@@ -1222,2 +1219,16 @@ function VideoWrapperWithRef(_ref, ref) { | ||
// extensions/amp-dailymotion/dailymotion-api.js | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
} | ||
function getDailymotionIframeSrc(win, videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo, implicitParams) { | ||
@@ -1242,3 +1253,3 @@ if (autoplay === void 0) { | ||
} | ||
return addParamsToUrl("https://www.dailymotion.com/embed/video/" + encodeURIComponent(videoId) + "?api=1&html=1&app=amp", Object.assign(dict({ | ||
return addParamsToUrl("https://www.dailymotion.com/embed/video/" + encodeURIComponent(videoId) + "?api=1&html=1&app=amp", _extends5({ | ||
"endscreen-enable": !endscreenEnable ? endscreenEnable : void 0, | ||
@@ -1251,9 +1262,9 @@ "info": !info ? info : void 0, | ||
"ui-logo": !uiLogo ? uiLogo : void 0 | ||
}), implicitParams)); | ||
}, implicitParams)); | ||
} | ||
function makeDailymotionMessage(command, param) { | ||
return JSON.stringify(dict({ | ||
return JSON.stringify({ | ||
"command": command, | ||
"parameters": param | ||
})); | ||
}); | ||
} | ||
@@ -1280,4 +1291,4 @@ var DailymotionEvents = { | ||
var _excluded2 = ["autoplay", "endscreenEnable", "info", "mute", "sharingEnable", "start", "uiHighlight", "uiLogo", "videoId"]; | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
function _extends6() { | ||
_extends6 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -1293,3 +1304,3 @@ var source = arguments[i]; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
return _extends6.apply(this, arguments); | ||
} | ||
@@ -1344,3 +1355,3 @@ function _objectWithoutPropertiesLoose5(source, excluded) { | ||
}, [videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo]); | ||
return import_preact.createElement(VideoIframe, _extends5({ | ||
return import_preact.createElement(VideoIframe, _extends6({ | ||
autoplay: autoplay, | ||
@@ -1347,0 +1358,0 @@ controls: true, |
@@ -47,5 +47,2 @@ // src/core/mode/minified.js | ||
} | ||
function dict(opt_initial) { | ||
return opt_initial || {}; | ||
} | ||
@@ -704,16 +701,2 @@ // src/core/types/index.js | ||
// extensions/amp-video/1.0/component.js | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose3(source, excluded) { | ||
@@ -749,3 +732,17 @@ if (source == null) | ||
} | ||
var getMetadata = (player, props) => Object.assign(dict({ | ||
function _extends3() { | ||
_extends3 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends3.apply(this, arguments); | ||
} | ||
var getMetadata = (player, props) => _extends3({ | ||
"title": props.title || props["aria-label"] || document.title, | ||
@@ -757,3 +754,3 @@ "artist": props.artist || "", | ||
}] | ||
}), player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
}, player && player.getMetadata ? player.getMetadata() : Object.create(null)); | ||
function VideoWrapperWithRef(_ref, ref) { | ||
@@ -1182,4 +1179,18 @@ let _propName = "className", { | ||
// extensions/amp-dailymotion/dailymotion-api.js | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
} | ||
function getDailymotionIframeSrc(win, videoId, autoplay = false, endscreenEnable = true, info = true, mute = false, sharingEnable = true, start, uiHighlight, uiLogo = true, implicitParams) { | ||
return addParamsToUrl(`https://www.dailymotion.com/embed/video/${encodeURIComponent(videoId)}?api=1&html=1&app=amp`, Object.assign(dict({ | ||
return addParamsToUrl(`https://www.dailymotion.com/embed/video/${encodeURIComponent(videoId)}?api=1&html=1&app=amp`, _extends5({ | ||
"endscreen-enable": !endscreenEnable ? endscreenEnable : void 0, | ||
@@ -1192,9 +1203,9 @@ "info": !info ? info : void 0, | ||
"ui-logo": !uiLogo ? uiLogo : void 0 | ||
}), implicitParams)); | ||
}, implicitParams)); | ||
} | ||
function makeDailymotionMessage(command, param) { | ||
return JSON.stringify(dict({ | ||
return JSON.stringify({ | ||
"command": command, | ||
"parameters": param | ||
})); | ||
}); | ||
} | ||
@@ -1221,4 +1232,4 @@ var DailymotionEvents = { | ||
var _excluded2 = ["autoplay", "endscreenEnable", "info", "mute", "sharingEnable", "start", "uiHighlight", "uiLogo", "videoId"]; | ||
function _extends5() { | ||
_extends5 = Object.assign || function(target) { | ||
function _extends6() { | ||
_extends6 = Object.assign || function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -1234,3 +1245,3 @@ var source = arguments[i]; | ||
}; | ||
return _extends5.apply(this, arguments); | ||
return _extends6.apply(this, arguments); | ||
} | ||
@@ -1295,3 +1306,3 @@ function _objectWithoutPropertiesLoose5(source, excluded) { | ||
const src = useMemo(() => getDailymotionIframeSrc(window, videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo), [videoId, autoplay, endscreenEnable, info, mute, sharingEnable, start, uiHighlight, uiLogo]); | ||
return createElement(VideoIframe, _extends5({ | ||
return createElement(VideoIframe, _extends6({ | ||
autoplay, | ||
@@ -1298,0 +1309,0 @@ controls: true, |
@@ -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}function c(n){return n||{}}var f={bubbles:!0,cancelable:!0};function d(n,e,t,r){const o=t||{};n.ownerDocument;const a=n.ownerDocument.createEvent("Event");a.data=o;const{bubbles:l,cancelable:i}=r||f;a.initEvent(e,l,i),n.dispatchEvent(a)}var p=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function m(n,e=""){try{return decodeURIComponent(n)}catch(n){return e}}import{hydrate as y,render as v}from"react-dom";import{createElement as b,cloneElement as g,createRef as w,createContext as h}from"react";import{useState as O,useRef as S,useEffect as j,useLayoutEffect as N,useContext as C,useMemo as R,useCallback as k,useImperativeHandle as I}from"react";function P(n){return n.children}import{forwardRef as E}from"react";var M=class{constructor(){this.promise=new Promise(((n,e)=>{this.resolve=n,this.reject=e}))}};function $(n){return new Promise((e=>{e(n())}))}import{forwardRef as z}from"react";function A(n){return(A="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 x(n){var e=function(n,e){if("object"!==A(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,"string");if("object"!==A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===A(e)?e:String(e)}var L,T=["auto","lazy","eager","unload"],U={auto:0,lazy:1,eager:2,unload:3};function q(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 F(n){let e=null,t="";for(var r,o=l(arguments,!0);!(r=o()).done;){const n=r.value;n instanceof Error&&!e?e=q(n):(t&&(t+=" "),t+=n)}return e?t&&(e.message=t+": "+e.message):e=new Error(t),e}function V(n){const e=F.apply(null,arguments);return e.expected=!0,e}function H(n,...e){var t,r,o;t=V.apply(null,e),null===(r=(o=self).__AMP_REPORT_ERROR)||void 0===r||r.call(o,t)}var J,W=["Webkit","webkit","Moz","moz","ms","O","o"];function B(n,e,t,r,o){const a=function(n,e,t){if(D(e))return e;L||(L=s());let r=L[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<W.length;t++){const r=W[t]+e;if(void 0!==n[r])return r}return""}(n,t);void 0!==n[o]&&(r=o)}t||(L[e]=r)}return r}(n.style,e,o);if(!a)return;const l=r?t+r:t;D(a)?n.style.setProperty(a,l):n.style[a]=l}function D(n){return n.startsWith("--")}function Z(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)B(n,t,e[t])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,$((()=>t.play())).catch((()=>{})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}import{forwardRef as _}from"react";import{forwardRef as G}from"react";function K(){const n=J||(J=h({renderable:!0,playable:!0,loading:"auto"}));return C(n)}var Q=[null,"paint","layout","content","size","size paint","size layout","strict"],X={"position":"relative","width":"100%","height":"100%"},Y=G((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:v,wrapperStyle:g,[o]:w}=n,h=r(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(x));const O=(m?4:0)+(d?2:0)+(p?1:0);return b(a,t(t({},h),{},{ref:e,className:`${w||""} ${v||""}`.trim()||null,style:t(t(t({},y),g),{},{contain:Q[O]})}),b(i,t(t({},s),{},{ref:c,className:u,style:t(t({},m&&X),{},{"overflow":p?"hidden":"visible"},f)}),l))}));import{forwardRef as nn}from"react";function en(n){const e=S(null);return e.current=n,e}nn((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(x));return b(a,t(t({},f),{},{ref:e,className:`${c||""} ${u||""}`.trim()||null,style:t(t({},i),s)}),l)}));var tn=self.AMP_CONFIG||{},rn=("string"==typeof tn.thirdPartyFrameRegex?new RegExp(tn.thirdPartyFrameRegex):tn.thirdPartyFrameRegex,("string"==typeof tn.cdnProxyRegex?new RegExp(tn.cdnProxyRegex):tn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function on(n){if(!self.document||!self.document.head)return null;if(self.location&&rn.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${n}"]`);return e&&e.getAttribute("content")||null}tn.thirdPartyUrl,tn.thirdPartyFrameHost,tn.cdnUrl||on("runtime-host"),tn.errorReportingUrl,tn.betaErrorReportingUrl,tn.localDev,tn.geoApiUrl||on("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var an={"title":"","artist":"","album":"","artwork":[{"src":""}]};function ln(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 un(n){const e=n.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function sn(n){const e=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function cn({displayIcon:n,displayOverlay:e,metadata:t,onOverlayClick:r,pause:o,play:a,playing:l,wrapperRef:i}){const{playable:u}=K();return j((()=>{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]),b(P,null,n&&b("div",{className:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},b(fn,null)),e&&b("button",{"aria-label":t&&t.title||"Unmute video",tabindex:"0",className:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:r}))}var fn=function(n){let e=!1,t=null,r=()=>[1,2,3,4].map((n=>b("div",{className:"eq-col-0be5b4b",key:n})));return(...n)=>(e||(t=r.apply(self,n),e=!0,r=null),t)}(),dn=_((function(n,e){let o="className",{autoplay:a=!1,component:l="video",controls:i=!1,loading:u,loop:s=!1,mediasession:f=!0,noaudio:d=!1,onPlayingState:p,onReadyState:m,poster:y,sources:v,src:g,style:w,[o]:h}=n,C=r(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(x));!function(){const{notify:n}=K();N((()=>{n&&n()}))}();const{playable:P}=K(),E=function(n){const{loading:e}=K();return function(n,e){const t=U[n]||0,r=U[e]||0,o=Math.max(t,r);return T[o]}(n,e)}(u),z="unload"!==E,[A,L]=O(a),[q,F]=O(!1),[V,J]=O(null),[W,B]=O(!a),D=S(null),Z=S(null),_=R((()=>new M),[]),G=S("loading"),Q=en(m),X=k(((n,e)=>{if(n!==G.current){G.current=n;const t=Q.current;t&&t(n,e)}}),[Q]),nn=en(p),tn=k((n=>{F(n);const e=nn.current;e&&e(n)}),[nn]);N((()=>{z||tn(!1)}),[z,tn]);const rn=k((()=>_.promise.then((()=>function(n,e){const t=$((()=>n.play(!1)));return t.catch((n=>{H(0,n)})),t}(Z.current)))),[_]),on=k((()=>{_.promise.then((()=>{var n;return null===(n=Z.current)||void 0===n?void 0:n.pause()}))}),[_]),fn=k((()=>_.promise.then((()=>Z.current.requestFullscreen()))),[_]),dn=k((()=>{L(!1),B(!0)}),[]);return N((()=>{var n;const e=null===(n=Z.current)||void 0===n?void 0:n.readyState;null!=e&&X(e>0?"complete":"loading")}),[X]),N((()=>(f&&q&&V&&function(n,e,t,r){const{navigator:o}=n;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(an),o.mediaSession.metadata=new n.MediaMetadata(e),o.mediaSession.setActionHandler("play",t),o.mediaSession.setActionHandler("pause",r))}(window,V,rn,on),()=>{})),[f,q,V,rn,on]),j((()=>{P||on()}),[P,on]),I(e,(()=>({get readyState(){return G.current},play:rn,pause:on,requestFullscreen:fn,get currentTime(){return Z.current?Z.current.currentTime:0},get duration(){return Z.current?Z.current.duration:NaN},get autoplay(){return a},get controls(){return i},get loop(){return s},userInteracted:dn,mute:()=>L(!0),unmute:()=>{W&&L(!1)}})),[rn,on,fn,dn,W,a,i,s]),b(Y,{contentRef:D,className:h,style:w,size:!0,layout:!0,paint:!0},z&&b(l,t(t({},C),{},{ref:Z,loading:E,muted:A,loop:s,controls:i&&(!a||W),onCanPlay:()=>{_.resolve(),X("complete")},onLoadedMetadata:()=>{f&&_.promise.then((()=>{var n,e;J((n=Z.current,e=C,Object.assign(c({"title":e.title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||ln(document)||un(document)||sn(document)||""}]}),n&&n.getMetadata?n.getMetadata():Object.create(null))))})),X("complete")},onPlaying:()=>tn(!0),onPause:()=>tn(!1),onEnded:()=>tn(!1),onError:n=>{X("error",n),_.reject(n)},className:"fill-stretch-c645120",src:g,poster:y}),v),a&&!W&&b(cn,{metadata:V,playing:q,displayIcon:!d&&A,wrapperRef:D,play:rn,pause:on,displayOverlay:i,onOverlayClick:dn}))}));dn.displayName="VideoWrapper";var pn=["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 yn(n,e,t){n&&n.contentWindow&&e.then((()=>{n.contentWindow.postMessage(t(),"*")}))}var vn=z((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:m,onIframeLoad:y}=n,v=r(n,pn);const g=S(null),w=R((()=>new M),[]),h=S(p),O=k((n=>{yn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),j=S(m),C=k((()=>yn(null==g?void 0:g.current,w.promise,j.current)),[w.promise]);I(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(!j.current)return w.promise.then((()=>{g.current.requestFullscreen()}));C()},play:()=>O("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else O("pause")}})),[d,O,C,w.promise,a]);const P=function(n){const e=S(null);return e.current=n,e}(f);return N((()=>{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]),N((()=>{O(i?"mute":"unmute")}),[i,O]),N((()=>{O(u?"showControls":"hideControls")}),[u,O]),b("iframe",t(t({},v),{},{ref:g,allowfullscreen:!0,frameborder:"0",sandbox:l,loading:o,onCanPlay:()=>{c&&w.promise.then(c),w.resolve()},onLoad:n=>{null==y||y(n)}}))}));vn.displayName="VideoIframeInternal";var bn=z((function(n,e){return b(dn,t(t({ref:e},n),{},{component:vn}))}));function gn(n,e){return JSON.stringify(c({"command":n,"parameters":e}))}bn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var wn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function hn(n){switch(n){case"mute":return gn("muted",[!0]);case"unmute":return gn("muted",[!1]);case"showControls":return gn("controls",[!0]);case"hideControls":return gn("controls",[!1]);default:return gn(n)}}function On({currentTarget:n,data:e}){const t=function(n){const e=s();if(!n)return e;let t;for(;t=p.exec(n);){const n=m(t[1],t[1]),r=t[2]?m(t[2].replace(/\+/g," "),t[2]):"";e[n]=r}return e}(e),r=null==t?void 0:t.event;"pause"===r?d(n,"pause"):"play"===r?d(n,"playing"):"end"===r?(d(n,"pause"),d(n,"end")):"apiready"===r&&d(n,"canplay")}function Sn(n,e){let{autoplay:a,endscreenEnable:l,info:i,mute:u,sharingEnable:s,start:f,uiHighlight:d,uiLogo:p,videoId:m}=n,y=r(n,wn);const v=R((()=>function(n,e,t=!1,r=!0,a=!0,l=!1,i=!0,u,s,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("&")}(Object.assign(c({"endscreen-enable":r?void 0:r,"info":a?void 0:a,"mute":l||t&&Z(n)?1:void 0,"sharing-enable":i?void 0:i,"start":u,"ui-highlight":s,"ui-logo":f?void 0:f}),d)))}(window,m,a,l,i,u,s,f,d,p)),[m,a,l,i,u,s,f,d,p]);return b(bn,t(t({autoplay:a,controls:!0,ref:e},y),{},{src:v,makeMethodMessage:hn,onMessage:On}))}var jn=E(Sn);jn.displayName="BentoDailymotion";export{jn as BentoDailymotion,Sn 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 R,useImperativeHandle as k}from"react";function I(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(I,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:I}=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=R(((n,e)=>{if(n!==_.current){_.current=n;const t=K.current;t&&t(n,e)}}),[K]),Y=nn(d),en=R((n=>{q(n);const e=Y.current;e&&e(n)}),[Y]);j((()=>{$||en(!1)}),[$,en]);const tn=R((()=>Z.promise.then((()=>function(n,e){const t=M((()=>n.play(!1)));return t.catch((n=>{V(0,n)})),t}(D.current)))),[Z]),rn=R((()=>{Z.promise.then((()=>{var n;return null===(n=D.current)||void 0===n?void 0:n.pause()}))}),[Z]),cn=R((()=>Z.promise.then((()=>D.current.requestFullscreen()))),[Z]),fn=R((()=>{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((()=>{I||rn()}),[I,rn]),k(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=R((n=>{mn(null==g?void 0:g.current,w.promise,(()=>h.current(n)))}),[w.promise]),N=O(m),I=R((()=>mn(null==g?void 0:g.current,w.promise,N.current)),[w.promise]);k(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()}));I()},play:()=>S("play"),pause:()=>{if(a){const n=g.current;n&&(n.src=n.src)}else S("pause")}})),[d,S,I,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 yr}});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){return n||{}}function S(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 P(n){return 1==(null==n?void 0:n.nodeType)}function x(n,t,i,r,e,o,u,l,a,f,c){return n}function _(n){return(n.ownerDocument||n).defaultView}function M(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function q(n){x(/^[\w-]+$/.test(n))}function A(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(M(t,":scope"));var i=function(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var e=M(t,".".concat(r)),o=n.querySelectorAll(e);return i.remove(r),o}(n,t)[0];return void 0===i?null:i}function z(n,t){return q(t),A(n,"> [".concat(t,"]"))}function C(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)o=void 0,u=void 0,"string"==typeof(o=e=r)?u=o:P(o)&&(u=o.tagName),!(u&&u.toLowerCase().startsWith("i-")||e.nodeType===Node.ELEMENT_NODE&&(e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(r);var e,o,u;return i}(n)}w.toString;var R={bubbles:!0,cancelable:!0};function I(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function T(n,t,i,r){var e=i||{};x(n.ownerDocument);var o=n.ownerDocument.createEvent("Event");o.data=e;var u=r||R,l=u.bubbles,a=u.cancelable;o.initEvent(t,l,a),n.dispatchEvent(o)}var E,N=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function L(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}function F(){return E||(E=Promise.resolve(void 0))}var V,D,$,U,W,B,H,Y=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))};function Z(n){return new Promise((function(t){t(n())}))}var J,G,K,Q={},X=[],nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function tn(n,t){for(var i in t)n[i]=t[i];return n}function rn(n){var t=n.parentNode;t&&t.removeChild(n)}function en(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?V.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 on(n,u,r,e,null)}function on(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?++$:e};return null==e&&null!=D.vnode&&D.vnode(o),o}function un(n){return n.children}function ln(n,t){this.props=n,this.context=t}function an(n,t){if(null==t)return n.__?an(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?an(n):null}function fn(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 fn(n)}}function cn(n){(!n.__d&&(n.__d=!0)&&U.push(n)&&!sn.__r++||B!==D.debounceRendering)&&((B=D.debounceRendering)||W)(sn)}function sn(){for(var n;sn.__r=U.length;)n=U.sort((function(n,t){return n.__v.__b-t.__v.__b})),U=[],n.some((function(n){var t,i,r,e,o,u;n.__d&&(o=(e=(t=n).__v).__e,(u=t.__P)&&(i=[],(r=tn({},e)).__v=e.__v+1,gn(u,e,r,t.__n,void 0!==u.ownerSVGElement,null!=e.__h?[o]:null,i,null==o?an(e):o,e.__h),wn(i,e),e.__e!=o&&fn(e)))}))}function vn(n,t,i,r,e,o,u,l,a,f){var c,s,v,h,d,p,b,m=r&&r.__k||X,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?on(null,h,null,null,h):Array.isArray(h)?on(un,{children:h},null,null,null):h.__b>0?on(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}gn(n,h,v=v||Q,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=hn(h,a,n):a=dn(n,h,v,m,d,a),"function"==typeof i.type&&(i.__d=a)):a&&v.__e==a&&a.parentNode!=n&&(a=an(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=an(r,c+1)),jn(m[c],m[c]));if(b)for(c=0;c<b.length;c++)kn(b[c],b[++c],b[++c])}function hn(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?hn(r,t,i):dn(i,r,r,e,r.__e,t));return t}function dn(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 pn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||nn.test(t)?i:i+"px"}function bn(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||pn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||pn(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?yn:mn,o):n.removeEventListener(t,o?yn:mn,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 mn(n){this.l[n.type+!1](D.event?D.event(n):n)}function yn(n){this.l[n.type+!0](D.event?D.event(n):n)}function gn(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=D.__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 ln(b,y),c.constructor=w,c.render=On),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=tn({},c.__s)),tn(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=D.__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=tn(tn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=f&&f.type===un&&null==f.key?f.props.children:f,vn(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&&V.call(n.childNodes),f=(s=i.props||Q).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||bn(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]||bn(n,o,t[o],i[o],r)}(n,v,s,e,l),c)t.__k=[];else if(d=t.props.children,vn(n,Array.isArray(d)?d:[d],t,i,r,e&&"foreignObject"!==h,o,u,o?o[0]:i.__k&&an(i,0),l),null!=o)for(d=o.length;d--;)null!=o[d]&&rn(o[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&bn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&bn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,e,o,u,a);(f=D.diffed)&&f(t)}catch(n){t.__v=null,(a||null!=o)&&(t.__e=l,t.__h=!!a,o[o.indexOf(l)]=null),D.__e(n,t,i)}}function wn(n,t){D.__c&&D.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){D.__e(n,t.__v)}}))}function kn(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){D.__e(n,i)}}function jn(n,t,i){var r,e;if(D.unmount&&D.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||kn(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){D.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(e=0;e<r.length;e++)r[e]&&jn(r[e],t,"function"!=typeof n.type);i||null==n.__e||rn(n.__e),n.__e=n.__d=void 0}function On(n,t,i){return this.constructor(n,i)}function Sn(n,t,i){var r,e,o;D.__&&D.__(n,t),e=(r="function"==typeof i)?null:i&&i.__k||t.__k,o=[],gn(t,n=(!r&&i||t).__k=en(un,null,[n]),e||Q,Q,void 0!==t.ownerSVGElement,!r&&i?[i]:e?null:t.firstChild?V.call(t.childNodes):null,o,!r&&i?i:e?e.__e:t.firstChild,r),wn(o,n)}function Pn(n,t){Sn(n,t,Pn)}V=X.slice,D={__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}},$=0,ln.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=tn({},this.state),"function"==typeof n&&(n=n(tn({},i),this.props)),n&&tn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),cn(this))},ln.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),cn(this))},ln.prototype.render=un,U=[],W="function"==typeof Promise?Promise.prototype.then.bind(F()):setTimeout,sn.__r=0,H=0;var xn=0,_n=[],Mn=D.__b,qn=D.__r,An=D.diffed,zn=D.__c,Cn=D.unmount;function Rn(n,t){D.__h&&D.__h(G,n,xn||t),xn=0;var i=G.__H||(G.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function In(n){return xn=1,function(n,t,i){var r=Rn(J++,2);return r.t=n,r.__c||(r.__=[Hn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=G),r.__}(Hn,n)}function Tn(n,t){var i=Rn(J++,3);!D.__s&&Bn(i.__H,t)&&(i.__=n,i.__H=t,G.__H.__h.push(i))}function En(n,t){var i=Rn(J++,4);!D.__s&&Bn(i.__H,t)&&(i.__=n,i.__H=t,G.__h.push(i))}function Nn(n){return xn=5,Fn((function(){return{current:n}}),[])}function Ln(n,t,i){xn=6,En((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Fn(n,t){var i=Rn(J++,7);return Bn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function Vn(n,t){return xn=8,Fn((function(){return n}),t)}function Dn(){_n.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Un),n.__H.__h.forEach(Wn),n.__H.__h=[]}catch(t){n.__H.__h=[],D.__e(t,n.__v)}})),_n=[]}D.__b=function(n){G=null,Mn&&Mn(n)},D.__r=function(n){qn&&qn(n),J=0;var t=(G=n.__c).__H;t&&(t.__h.forEach(Un),t.__h.forEach(Wn),t.__h=[])},D.diffed=function(n){An&&An(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==_n.push(t)&&K===D.requestAnimationFrame||((K=D.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),$n&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);$n&&(t=requestAnimationFrame(i))})(Dn)),G=null},D.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Un),n.__h=n.__h.filter((function(n){return!n.__||Wn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],D.__e(i,n.__v)}})),zn&&zn(n,t)},D.unmount=function(n){Cn&&Cn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Un)}catch(n){D.__e(n,t.__v)}};var $n="function"==typeof requestAnimationFrame;function Un(n){var t=G;"function"==typeof n.__c&&n.__c(),G=t}function Wn(n){var t=G;n.__c=n.__(),G=t}function Bn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Hn(n,t){return"function"==typeof t?t(n):t}function Yn(n){return n.children}var Zn,Jn,Gn=["ref"],Kn="undefined"!=typeof Symbol&&(null===(Zn=Symbol.for)||void 0===Zn?void 0:Zn.call(Symbol,"react.forward_ref"))||3911,Qn=D.__b;function Xn(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 nt(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 tt(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)}D.__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 it,rt=["auto","lazy","eager","unload"],et=(a(Jn={},"auto",0),a(Jn,"lazy",1),a(Jn,"eager",2),a(Jn,"unload",3),Jn);function ot(n,t){var i=et[n]||0,r=et[t]||0,e=Math.max(i,r);return rt[e]}function ut(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 lt(n){for(var t,i=null,r="",e=y(arguments,!0);!(t=e()).done;){var o=t.value;o instanceof Error&&!i?i=ut(o):(r&&(r+=" "),r+=o)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function at(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ft(n){var t=lt.apply(null,arguments);setTimeout((function(){throw at(t),t}))}function ct(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){ft(n)}}function st(n){var t=lt.apply(null,arguments);return t.expected=!0,t}var vt,ht=["Webkit","webkit","Moz","moz","ms","O","o"],dt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function pt(n,t,i,r,e){var o=function(n,t,i){if(bt(t))return t;it||(it=j());var r=it[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<ht.length;i++){var r=ht[i]+t;if(void 0!==n[r])return r}return""}(n,e);void 0!==n[o]&&(r=o)}i||(it[t]=r)}return r}(n.style,t,e);if(o){var u=r?i+r:i;bt(o)?n.style.setProperty(o,u):n.style[o]=u}}function bt(n){return n.startsWith("--")}function mt(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)pt(n,i,t[i])}(i,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=i,Z((function(){return t.play()})).catch((function(){})),Promise.resolve(!i.paused)}(n)),n.__AMP_AUTOPLAY}function yt(){return vt||(t={__c:n="__cC"+H++,__:{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(cn)},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}},vt=t.Provider.__=t.Consumer.contextType=t);var n,t}function gt(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=wt(),c=a&&f.renderable,s=c&&u&&f.playable,v=ot(c?"auto":"lazy",ot(r,f.loading)),h=e||f.notify,d=Fn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return en(yt().Provider,{children:t,value:d})}function wt(){var n,t,i;return n=yt(),t=G.context[n.__c],(i=Rn(J++,9)).c=n,t?(null==i.__&&(i.__=!0,t.sub(G)),t.props.value):n.__}var kt=[null,"paint","layout","content","size","size paint","size layout","strict"],jt={"position":"relative","width":"100%","height":"100%"},Ot=Xn((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 en(e,c(c({},s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(tt))),{},{ref:t,class:"".concat(O||""," ").concat(k||"").trim()||null,style:c(c(c({},w),j),{},{contain:kt[S]})}),en(l,c(c({},f),{},{ref:v,class:a,style:c(c({},g&&jt),{},{"overflow":m?"hidden":"visible"},h)}),o))}));function St(n){var t=Nn(null);return t.current=n,t}Xn((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 en(e,c(c({},s(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(tt))),{},{ref:t,class:"".concat(f||""," ").concat(l||"").trim()||null,style:c(c({},u),a)}),o)}));var Pt=self.AMP_CONFIG||{},xt=("string"==typeof Pt.thirdPartyFrameRegex?new RegExp(Pt.thirdPartyFrameRegex):Pt.thirdPartyFrameRegex,("string"==typeof Pt.cdnProxyRegex?new RegExp(Pt.cdnProxyRegex):Pt.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function _t(n){if(!self.document||!self.document.head)return null;if(self.location&&xt.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Pt.thirdPartyUrl,Pt.thirdPartyFrameHost,Pt.cdnUrl||_t("runtime-host"),Pt.errorReportingUrl,Pt.betaErrorReportingUrl,Pt.localDev,Pt.geoApiUrl||_t("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 At(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=wt().playable;return Tn((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]),en(Yn,null,t&&en("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},en(Tt,null)),i&&en("button",{"aria-label":r&&r.title||"Unmute video",tabIndex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:e}))}var Ct,Rt,It,Tt=(Ct=!1,Rt=null,It=function(){return[1,2,3,4].map((function(n){return en("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];Rt=It.apply(self,t),Ct=!0,It=null}return Rt}),Et=Xn((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,S=n.src,P=n.style,x=n[r],_=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(tt));i=wt().notify,En((function(){i&&i()}));var M=wt().playable,q=function(n){return ot(n,wt().loading)}(v),A="unload"!==q,z=nt(In(o),2),C=z[0],R=z[1],I=nt(In(!1),2),T=I[0],E=I[1],N=nt(In(null),2),L=N[0],F=N[1],V=nt(In(!o),2),D=V[0],$=V[1],U=Nn(null),W=Nn(null),B=Fn((function(){return new Y}),[]),H=Nn("loading"),J=St(w),G=Vn((function(n,t){if(n!==H.current){H.current=n;var i=J.current;i&&i(n,t)}}),[J]),K=St(g),Q=Vn((function(n){E(n);var t=K.current;t&&t(n)}),[K]);En((function(){A||Q(!1)}),[A,Q]);var X=Vn((function(){return B.promise.then((function(){return n=W.current,(t=Z((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];at(st.apply(null,i))}("TRYPLAY",n)})),t;var n,t}))}),[B]),nn=Vn((function(){B.promise.then((function(){var n;return null===(n=W.current)||void 0===n?void 0:n.pause()}))}),[B]),tn=Vn((function(){return B.promise.then((function(){return W.current.requestFullscreen()}))}),[B]),rn=Vn((function(){R(!1),$(!0)}),[]);return En((function(){var n,t=null===(n=W.current)||void 0===n?void 0:n.readyState;null!=t&&G(t>0?"complete":"loading")}),[G]),En((function(){return b&&T&&L&&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,L,X,nn),function(){}}),[b,T,L,X,nn]),Tn((function(){M||nn()}),[M,nn]),Ln(t,(function(){return{get readyState(){return H.current},play:X,pause:nn,requestFullscreen:tn,get currentTime(){return W.current?W.current.currentTime:0},get duration(){return W.current?W.current.duration:NaN},get autoplay(){return o},get controls(){return f},get loop(){return d},userInteracted:rn,mute:function(){return R(!0)},unmute:function(){D&&R(!1)}}}),[X,nn,tn,rn,D,o,f,d]),en(Ot,{contentRef:U,class:x,style:P,size:!0,layout:!0,paint:!0},A&&en(l,c(c({},_),{},{ref:W,loading:q,muted:C,loop:d,controls:f&&(!o||D),onCanPlay:function(){B.resolve(),G("complete")},onLoadedMetadata:function(){b&&B.promise.then((function(){var n,t,i,r;F((n=W.current,t=_,Object.assign(O({"title":t.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)||At(document)||""}]}),n&&n.getMetadata?n.getMetadata():Object.create(null))))})),G("complete")},onPlaying:function(){return Q(!0)},onPause:function(){return Q(!1)},onEnded:function(){return Q(!1)},onError:function(n){G("error",n),B.reject(n)},class:"fill-stretch-c645120",src:S,poster:k}),j),o&&!D&&en(zt,{metadata:L,playing:T,displayIcon:!y&&C,wrapperRef:U,play:X,pause:nn,displayOverlay:f,onOverlayClick:rn}))}));Et.displayName="VideoWrapper";var Nt=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Lt=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Ft(n,t,i){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(i(),"*")}))}var Vt=Xn((function(n,t){var i=n.loading,r=n.unloadOnPause,e=void 0!==r&&r,o=n.sandbox,u=void 0===o?Lt: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,Nt),k=Nn(null),j=Fn((function(){return new Y}),[]),O=Nn(m),S=Vn((function(n){Ft(null==k?void 0:k.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),P=Nn(y),x=Vn((function(){return Ft(null==k?void 0:k.current,j.promise,P.current)}),[j.promise]);Ln(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(!P.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 _=function(n){var t=Nn(null);return t.current=n,t}(p);return En((function(){if(k.current){var n=k.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){_.current&&(h&&!h.test(n.origin)||n.source!=k.current.contentWindow||_.current({currentTarget:k.current,target:k.current,data:n.data}))}}),[h,_]),En((function(){S(a?"mute":"unmute")}),[a,S]),En((function(){S(v?"showControls":"hideControls")}),[v,S]),en("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)}}))}));Vt.displayName="VideoIframeInternal";var Dt=Xn((function(n,t){return en(Et,c(c({ref:t},n),{},{component:Vt}))}));function $t(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 Ut(n,t){return JSON.stringify(O({"command":n,"parameters":t}))}Dt.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Wt=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Bt(n){switch(n){case"mute":return Ut("muted",[!0]);case"unmute":return Ut("muted",[!1]);case"showControls":return Ut("controls",[!0]);case"hideControls":return Ut("controls",[!1]);default:return Ut(n)}}function Ht(n){var t=n.currentTarget,i=function(n){var t,i=j();if(!n)return i;for(;t=N.exec(n);){var r=L(t[1],t[1]),e=t[2]?L(t[2].replace(/\+/g," "),t[2]):"";i[r]=e}return i}(n.data),r=null==i?void 0:i.event;"pause"===r?T(t,"pause"):"play"===r?T(t,"playing"):"end"===r?(T(t,"pause"),T(t,"end")):"apiready"===r&&T(t,"canplay")}var Yt=Xn((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,Wt),d=Fn((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],c=arguments.length>10?arguments[10]:void 0;return $t("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),Object.assign(O({"endscreen-enable":r?void 0:r,"info":e?void 0:e,"mute":o||i&&mt(n)?1:void 0,"sharing-enable":u?void 0:u,"start":l,"ui-highlight":a,"ui-logo":f?void 0:f}),c))}(window,v,i,r,e,o,u,l,a,f)}),[v,i,r,e,o,u,l,a,f]);return en(Dt,c(c({autoplay:i,controls:!0,ref:t},h),{},{src:d,makeMethodMessage:Bt,onMessage:Ht}))}));function Zt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function Jt(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&&Jt(n,t,i,o,!1)}else if(n.children)for(var u,l=y(n.children,!0);!(u=l()).done;){var a=u.value;Jt(a,t,i,r,!0)}}Yt.displayName="BentoDailymotion";var Gt=[],Kt=function(){},Qt=function(){function n(n){this.Nh=n,this.m=null,this.iv=null,this.rv=Zt(this.rv.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){x(t),x(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),ii(n)&&Jt(this.Nh,Xt,n,!0,!1))},t.remove=function(n,t){x(t);var i=n.key,r=this.m,e=null==r?void 0:r.get(i);if(e){x(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),Jt(this.Nh,Xt,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;ri(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()&&Jt(this.Nh,ni,void 0,Gt)},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){ii(t.prop)&&n.uv(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ii(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(Kt):Gt,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()}})):Gt,pingParent:ii(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 ft("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){ft(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;x(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,ti,o,!1):null;this.uv(n,s)}var v=ri(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(e.every(ri)&&(!c||ri(v))){var d=this.Nh.node;f&&!u?h=f[0]:ii(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||Gt,v,e):ri(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||Gt,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,x(r),i&&i.values.unsubscribe(e,r),t&&(x(r),t.values.subscribe(e,r)))},n}();function Xt(n,t){return n.values.scan(t)}function ni(n,t,i){return n.values.scanAll(i)}function ti(n,t){return n.values.has(t)}function ii(n){return!!n.recursive}function ri(n){return void 0!==n}var ei=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 Qt(this),this.cv=null,this.sv=!1,this.vv=Zt(this.hv.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,e=t.target;e.assignedNodes().forEach(oi),null===(i=n.closest(e))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(ui)})),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||P(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,oi(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,oi(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(ui)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.vv():this.name&&this.children&&this.children.forEach(ui)},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){x(!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(ui),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(),x(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&&(x(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 oi(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=ei.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,ui)}function ui(n){n.discover()}var li=[];function ai(n,t){var i=c({key:n,deps:li,recursive:!1},t);return x(0==i.deps.length||i.compute),i}var fi=[],ci=function(){};function si(n,t,i){t=h(t);var r=i;ei.get(n).subscribe(r,vi,i,t)}var vi=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(ci):fi,this.yv=i.length>0?i.map((function(n,t){return function(n){r.mv[t]=n,r.gv()}})):fi,this.Yn=!1,this.wv=null,this.gv=Zt(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(hi)?(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&&(ct(this.wv),this.wv=null)},n}();function hi(n){return void 0!==n}function di(n){ei.get(n).discover()}function pi(n,t,i,r){ei.get(n).values.set(t,i,r)}function bi(n,t,i){ei.get(n).values.remove(t,i)}var mi=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,yi,"1")},t.resolveListQuery=function(n){return this.kt(n,gi,"")},t.complete=function(){for(var n in this._t)n in this.St||wi(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)wi(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||(x(this._t),r=this._t[n]),r||wi(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 yi(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function gi(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 wi(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 ki=/vertical/,ji=new WeakMap,Oi=new WeakMap,Si=new WeakMap;function Pi(n){var t=ji.get(n);return t||(t=new n.ResizeObserver(xi),ji.set(n,t)),t}function xi(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=Oi.get(e);if(o){Si.set(e,r);for(var u=0;u<o.length;u++){var l=o[u],a=l.callback;_i(l.type,a,r)}}}}}function _i(n,t,i){if(0==n){var r=i.contentRect,e=r.height;ct(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=_(f),s=ki.test(function(n,t){return n.getComputedStyle(t)||dt}(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}}ct(t,o)}}var Mi,qi,Ai=function(){function n(n){this.p=n,this.kc=!1,this.qc=!1,this.jc=this.jc.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.kc&&(this.kc=n,n?(this.qc=!1,function(n,t){!function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var e=Oi.get(n);if(e||(e=[],Oi.set(n,e),Pi(r).observe(n)),!e.some((function(n){return n.callback===i&&1===n.type}))){e.push({type:1,callback:i});var o=Si.get(n);o&&setTimeout((function(){return _i(1,i,o)}))}}}(n,0,t)}(this.p,this.jc)):function(n,t){!function(n,t,i){var r=Oi.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)){Oi.delete(n),Si.delete(n);var e=n.ownerDocument.defaultView;e&&Pi(e).unobserve(n)}}(n,0,t)}(this.p,this.jc))},t.jc=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.qc){this.qc=i;var r=this.p;i||r.pause()}},n}();Mi="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=_(n)}n.CustomElement=function(n){return qi||(qi=function(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)}(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}()};var t=n.prototype;return t.mutateElement=function(n){F().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var zi=ai("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(Ii)},compute:function(n,t,i){return i&&t.reduce(Ii,!0)||!1}}),Ci=ai("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(Ii)},deps:[zi],compute:function(n,t,i,r){return r&&i&&t.reduce(Ii,!0)||!1}}),Ri=ai("Loading",{defaultValue:"auto",recursive:!0,deps:[zi],compute:function(n,t,i,r){return ot(r?"auto":"lazy",ot(i||"auto",t.reduce(ot,"auto")))}}),Ii=function(n,t){return n&&t},Ti=function(n){return n.ensureLoaded()},Ei=function(n){return n.pause()},Ni=function(n){return n.unmount()};function Li(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!1,Ti)}function Fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Ei)}function Vi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Ni)}function Di(n,t,i,r){for(var e=h(n),o=0;o<e.length;o++)$i(e[o],t,i,r)}function $i(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var e=n;if(ct(r,e),!i){var o=e.getPlaceholder();return void(o&&$i(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)ct(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),ct(r,f))}}}var Ui={},Wi=new WeakMap;function Bi(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!r)return en(Hi,c(c({},i||Ui),{},{name:t}));var e=Wi.get(n);if(e&&S(e.oldProps,i))return e.component;function o(n){return en(Hi,c(c({},i||Ui),{},{name:t},n))}return Wi.set(n,{oldProps:i,component:o}),o}function Hi(n){var t=Nn(null);return function(n,t){var i=(t||Ui).loading,r=wt();En((function(){var t=n.current;return x(P(t)),pi(t,zi,Hi,r.renderable),pi(t,Ci,Hi,r.playable),pi(t,Ri,Hi,r.loading),r.playable||Yi(t,Fi,!0),function(){var n;bi(t,zi,Hi),bi(t,Ci,Hi),bi(t,Ri,Hi),n=t,ei.rediscoverChildren(n)}}),[n,r]),En((function(){var t=n.current;return x(P(t)),"lazy"!=i&&Yi(t,Li,!0),function(){Yi(t,Vi,!1)}}),[n,i])}(t,n),Tn((function(){n.postRender&&n.postRender()})),en("slot",c(c({},n),{},{ref:t}))}function Yi(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 Zi,Ji={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Gi=(Zi=0,function(){return String(++Zi)});function Ki(n,t){return Object.values(n).some(t)}var Qi=function(n){return"string"==typeof n||!!n.selector},Xi=function(n){return 3===n.nodeType&&0===n.nodeValue.trim().length};function nr(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=Ji:a.class="i-amphtml-fill-content"),tr(n,a,l,t,e),e&&e.complete(),a}function tr(n,t,i,r,e){if(Ki(i,Qi))for(var o=C(r),u=0;u<o.length;u++){var l=o[u],a=rr(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;x(p||n.usesShadowDom);var y={};if(tr(n,y,m,l,e),v)t[d]=Bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d),y,s);else{var g=t[d]||(t[d]=[]);x(!s),g.push(p?ir(l):Bi(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(Gi()),y))}}}for(var w in i){var k=i[w];x(!!k.attr+!!k.attrs+!!k.attrMatches+!!k.selector+!!k.passthrough+!!k.passthroughNonEmpty<=1);var j=void 0;if(k.passthrough?(x(n.usesShadowDom),j=[en(Hi,{loading:"lazy"})]):k.passthroughNonEmpty?(x(n.usesShadowDom),j=C(r).every(Xi)?null:[en(Hi,{loading:"lazy"})]):k.attr?(j=r.getAttribute(k.attr),k.media&&null!=j&&(j=e.resolveListQuery(String(j)))):k.parseAttrs&&(x(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 ir(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 en(r,t)}function rr(n,t){for(var i in t){var r=t[i];if(e=n,o="string"==typeof r?r:r.selector,u=void 0,(u=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector)&&u.call(e,o))return i}var e,o,u;return null}var er={childList:!0},or={childList:!0,characterData:!0},ur={childList:!0},lr=O({"style":"display: contents; background: inherit;","part":"c"}),ar=O({"name":"i-amphtml-svc"}),fr=O({"i-amphtml-rendered":""}),cr=function(){return!0},sr=function(n){return!!n.media},vr=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},hr=function(n){i(r,n);var t=l(r);function r(n){var i;return(i=t.call(this,n)).jv=O({"loading":"auto","onReadyState":function(n,t){i.Ov(n,t)},"onPlayingState":function(n){i.Sv(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}}),i.Pv={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.xv=!1,i._v=null,i.Mv=null,i.qv=function(n){null!==n&&(i._v?i.Av(n):i.zv(n)),i.Mv=n,i.Cv()},i.Rv=null,i.Iv=null,i.Tv=null,i.Ev=!1,i.Nv=null,i.Lv=function(){i.Ev=!1,i.Fv()},i.Vv=!1,i.Bi=!1,i.observer=null,i.Ql=new Ai(n),i.un=null,i}r.R1=function(){return!0},r.requiresShadowDom=function(){return this.usesShadowDom},r.usesLoading=function(){return this.loadable},r.prerenderAllowed=function(){return!this.usesLoading()},r.Component=function(){x(!1)};var e=r.prototype;return e.init=function(){},e.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)},e.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.Dv(t)}));var i=t.props,r=Ki(i,Qi)?er:null,e=Ki(i,vr)?or:null,o=t.usesTemplate?ur:null;this.observer.observe(this.element,c(c(c({attributes:!0},r),e),o)),this.un=Ki(i,sr)?new mi(this.win,(function(){return n.$v()})):null;var u=t.staticProps,l=this.init();Object.assign(this.jv,u,l),this.checkPropsPostMutations(),si(this.element,[],(function(){return function(){n.Bi=!1,n.Tv&&Sn(null,n.Tv)}})),si(this.element,[zi,Ci,Ri],(function(t,i,r){n.Pv.renderable=t,n.Pv.playable=i,n.Pv.loading=r,n.Bi=!0,n.$v()}));var a,f=t.useContexts;return 0!=f.length&&si(this.element,f,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Iv=i,n.$v()})),this.Nv=new Y,this.$v(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Cv(),this.Nv.promise},e.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(O({"loading":"eager"})),this.xv=!0)},e.mountCallback=function(){di(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.xv=!1)},e.unmountCallback=function(){var n;di(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Sv(!1),null===(n=this.un)||void 0===n||n.dispose()},e.mutatedAttributesCallback=function(){this.Tv&&this.$v()},e.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},e.mutateProps=function(n){Object.assign(this.jv,n),this.$v()},e.api=function(){return x(this.Mv)},e.registerApiAction=function(n,t){var i,r=this,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){return t(r.api(),n)}),e)},e.mutationObserverCallback=function(n){},e.checkPropsPostMutations=function(){},e.updatePropsForRendering=function(n){},e.isReady=function(n){return!0},e.Dv=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=r[e];if(t.attributeName==u.attr||u.attrs&&u.attrs.includes(x(t.attributeName))||null!==(o=u.attrMatches)&&void 0!==o&&o.call(u,t.attributeName))return!0}return!1}return"childList"==i&&(dr(t.addedNodes)||dr(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.$v())},e.$v=function(){this.Ev||(this.Ev=!0,this.mutateElement(this.Lv))},e.Cv=function(){var n=this.Mv,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Ov(t)},e.Ov=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Sv("complete"==n),this.xv&&(this.xv=!1,this.mutateProps({"loading":"auto"}))},e.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},e.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},e.handleOnError=function(){var n,t,i,r,e;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!0)},e.Fv=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.Tv){var f=this.win.document;if(l){x(!u);var s=this.element.shadowRoot,v=s&&(e=s,q("c"),A(e,"> ".concat("c")));if(v)this.Vv=!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||(x((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=I(f,"c",lr),s.appendChild(v);var w=I(f,"slot",ar);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.Tv=v,function(n,t){ei.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;ei.get(n).addGroup(t,i,r)}(this.element,"unslotted",cr,-1),n=this.element,t=zi,this,null===(i=ei.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){this.Tv=this.element;var k=z(this.Tv,"i-amphtml-rendered")||I(f,a,fr);k.__AMP_RENDERED=!0,o.layoutSizeDefined&&k.classList.add("i-amphtml-fill-content"),this.Tv.appendChild(k)}else{var j=f.createElement("i-amphtml-c");this.Tv=j,j.classList.add("i-amphtml-fill-content"),u||this.element.appendChild(j)}}var O=o.useContexts,S=this.Iv;if(0==O.length||null!=S){var P=nr(o,this.element,this.qv,this.jv,this.un);if(this.updatePropsForRendering(P),this.isReady(P)){for(var _=en(o.Component,P),M=0;M<O.length;M++){var C=O[M].type,R=S[M];R&&(_=en(C.Provider,{value:R},_))}var E=en(gt,c({},this.Pv),_);if(this.Vv)this.Vv=!1,Pn(E,this.Tv);else{var N=a?z(this.Tv,"i-amphtml-rendered"):null;N&&(N.__AMP_RENDERED=!0),Sn(E,this.Tv,N)}l||u||this.mutateElement((function(){return T(r.element,"amp:dom-update",null)})),this.Nv&&(this.Nv.resolve(),this.Nv=null)}}}},e.getProp=function(n,t){return i=this.jv,r=n,k.call(i,r)?this.jv[n]:t;var i,r},e.getApi=function(){var n=this._v;return n?Promise.resolve(n):(this.Rv||(this.Rv=new Y),this.Rv.promise)},e.zv=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)},e.Av=function(n){},e.triggerEvent=function(n,t,i){T(n,t,i)},e.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(O({"loading":"unload"})),this.xv=!0;else{var n,t=this.Mv;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},e.Sv=function(n){this.Ql.updatePlaying(n)},e.Uv=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){return i.Mv[t]},set:function(n){i.Mv[t]=n}})},r}(Mi);function dr(n){for(var t=0;t<n.length;t++){var i=n[t];if(P(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}a(hr,"staticProps",void 0),a(hr,"useContexts",[]),a(hr,"loadable",!1),a(hr,"unloadOnPause",!1),a(hr,"layoutSizeDefined",!1),a(hr,"lightDomTag",""),a(hr,"usesTemplate",!1),a(hr,"shadowCss",null),a(hr,"usesShadowDom",!1),a(hr,"detached",!1),a(hr,"delegatesFocus",!1),a(hr,"props",{});var pr=function(n){i(r,hr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();pr.Component=Et,pr.loadable=!0,pr.layoutSizeDefined=!0,pr.staticProps,pr.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}},pr.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)}}',pr.usesShadowDom=!0;var br=function(n){i(r,pr);var t=l(r);function r(){return t.apply(this,arguments)}var e=r.prototype;return e.init=function(){this.Wv("play",(function(n){return n.play()})),this.Wv("pause",(function(n){return n.pause()})),this.Wv("mute",(function(n){return n.mute()})),this.Wv("unmute",(function(n){return n.unmute()}));var n=function(n){return n.requestFullscreen()};this.Wv("requestFullscreen",n),this.Wv("fullscreenenter",n),this.Wv("fullscreen",n)},e.Wv=function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;this.registerApiAction(n,(function(n,i){i.trust>=3&&n.userInteracted(),t(n,i)}),i)},r}(),mr=function(n){i(r,br);var t=l(r);function r(){return t.apply(this,arguments)}return r}();function yr(){customElements.define("bento-dailymotion",mr.CustomElement(mr))} | ||
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 yr}});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 P(n,t,i,r,e,o,u,l,a,f,c){return n}function x(n){return(n.ownerDocument||n).defaultView}function _(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function M(n){P(/^[\w-]+$/.test(n))}function q(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(_(t,":scope"));var i=function(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var e=_(t,".".concat(r)),o=n.querySelectorAll(e);return i.remove(r),o}(n,t)[0];return void 0===i?null:i}function A(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function z(n,t){return M(t),q(n,"> [".concat(t,"]"))}function C(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)o=void 0,u=void 0,"string"==typeof(o=e=r)?u=o:S(o)&&(u=o.tagName),!(u&&u.toLowerCase().startsWith("i-")||e.nodeType===Node.ELEMENT_NODE&&(e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(r);var e,o,u;return i}(n)}w.toString;var R={bubbles:!0,cancelable:!0};function I(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function T(n,t,i,r){var e=i||{};P(n.ownerDocument);var o=n.ownerDocument.createEvent("Event");o.data=e;var u=r||R,l=u.bubbles,a=u.cancelable;o.initEvent(t,l,a),n.dispatchEvent(o)}var E,N=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function L(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}function F(){return E||(E=Promise.resolve(void 0))}var V,D,$,B,U,W,H,Y=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))};function Z(n){return new Promise((function(t){t(n())}))}var J,G,K,Q={},X=[],nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function tn(n,t){for(var i in t)n[i]=t[i];return n}function rn(n){var t=n.parentNode;t&&t.removeChild(n)}function en(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?V.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 on(n,u,r,e,null)}function on(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?++$:e};return null==e&&null!=D.vnode&&D.vnode(o),o}function un(n){return n.children}function ln(n,t){this.props=n,this.context=t}function an(n,t){if(null==t)return n.__?an(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?an(n):null}function fn(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 fn(n)}}function cn(n){(!n.__d&&(n.__d=!0)&&B.push(n)&&!sn.__r++||W!==D.debounceRendering)&&((W=D.debounceRendering)||U)(sn)}function sn(){for(var n;sn.__r=B.length;)n=B.sort((function(n,t){return n.__v.__b-t.__v.__b})),B=[],n.some((function(n){var t,i,r,e,o,u;n.__d&&(o=(e=(t=n).__v).__e,(u=t.__P)&&(i=[],(r=tn({},e)).__v=e.__v+1,gn(u,e,r,t.__n,void 0!==u.ownerSVGElement,null!=e.__h?[o]:null,i,null==o?an(e):o,e.__h),wn(i,e),e.__e!=o&&fn(e)))}))}function vn(n,t,i,r,e,o,u,l,a,f){var c,s,v,h,d,p,b,m=r&&r.__k||X,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?on(null,h,null,null,h):Array.isArray(h)?on(un,{children:h},null,null,null):h.__b>0?on(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}gn(n,h,v=v||Q,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=hn(h,a,n):a=dn(n,h,v,m,d,a),"function"==typeof i.type&&(i.__d=a)):a&&v.__e==a&&a.parentNode!=n&&(a=an(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=an(r,c+1)),jn(m[c],m[c]));if(b)for(c=0;c<b.length;c++)kn(b[c],b[++c],b[++c])}function hn(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?hn(r,t,i):dn(i,r,r,e,r.__e,t));return t}function dn(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 pn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||nn.test(t)?i:i+"px"}function bn(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||pn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||pn(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?yn:mn,o):n.removeEventListener(t,o?yn:mn,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 mn(n){this.l[n.type+!1](D.event?D.event(n):n)}function yn(n){this.l[n.type+!0](D.event?D.event(n):n)}function gn(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=D.__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 ln(b,y),c.constructor=w,c.render=On),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=tn({},c.__s)),tn(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=D.__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=tn(tn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=f&&f.type===un&&null==f.key?f.props.children:f,vn(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&&V.call(n.childNodes),f=(s=i.props||Q).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||bn(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]||bn(n,o,t[o],i[o],r)}(n,v,s,e,l),c)t.__k=[];else if(d=t.props.children,vn(n,Array.isArray(d)?d:[d],t,i,r,e&&"foreignObject"!==h,o,u,o?o[0]:i.__k&&an(i,0),l),null!=o)for(d=o.length;d--;)null!=o[d]&&rn(o[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&bn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&bn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,e,o,u,a);(f=D.diffed)&&f(t)}catch(n){t.__v=null,(a||null!=o)&&(t.__e=l,t.__h=!!a,o[o.indexOf(l)]=null),D.__e(n,t,i)}}function wn(n,t){D.__c&&D.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){D.__e(n,t.__v)}}))}function kn(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){D.__e(n,i)}}function jn(n,t,i){var r,e;if(D.unmount&&D.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||kn(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){D.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(e=0;e<r.length;e++)r[e]&&jn(r[e],t,"function"!=typeof n.type);i||null==n.__e||rn(n.__e),n.__e=n.__d=void 0}function On(n,t,i){return this.constructor(n,i)}function Sn(n,t,i){var r,e,o;D.__&&D.__(n,t),e=(r="function"==typeof i)?null:i&&i.__k||t.__k,o=[],gn(t,n=(!r&&i||t).__k=en(un,null,[n]),e||Q,Q,void 0!==t.ownerSVGElement,!r&&i?[i]:e?null:t.firstChild?V.call(t.childNodes):null,o,!r&&i?i:e?e.__e:t.firstChild,r),wn(o,n)}function Pn(n,t){Sn(n,t,Pn)}V=X.slice,D={__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}},$=0,ln.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=tn({},this.state),"function"==typeof n&&(n=n(tn({},i),this.props)),n&&tn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),cn(this))},ln.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),cn(this))},ln.prototype.render=un,B=[],U="function"==typeof Promise?Promise.prototype.then.bind(F()):setTimeout,sn.__r=0,H=0;var xn=0,_n=[],Mn=D.__b,qn=D.__r,An=D.diffed,zn=D.__c,Cn=D.unmount;function Rn(n,t){D.__h&&D.__h(G,n,xn||t),xn=0;var i=G.__H||(G.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function In(n){return xn=1,function(n,t,i){var r=Rn(J++,2);return r.t=n,r.__c||(r.__=[Hn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=G),r.__}(Hn,n)}function Tn(n,t){var i=Rn(J++,3);!D.__s&&Wn(i.__H,t)&&(i.__=n,i.__H=t,G.__H.__h.push(i))}function En(n,t){var i=Rn(J++,4);!D.__s&&Wn(i.__H,t)&&(i.__=n,i.__H=t,G.__h.push(i))}function Nn(n){return xn=5,Fn((function(){return{current:n}}),[])}function Ln(n,t,i){xn=6,En((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Fn(n,t){var i=Rn(J++,7);return Wn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function Vn(n,t){return xn=8,Fn((function(){return n}),t)}function Dn(){_n.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Bn),n.__H.__h.forEach(Un),n.__H.__h=[]}catch(t){n.__H.__h=[],D.__e(t,n.__v)}})),_n=[]}D.__b=function(n){G=null,Mn&&Mn(n)},D.__r=function(n){qn&&qn(n),J=0;var t=(G=n.__c).__H;t&&(t.__h.forEach(Bn),t.__h.forEach(Un),t.__h=[])},D.diffed=function(n){An&&An(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==_n.push(t)&&K===D.requestAnimationFrame||((K=D.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),$n&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);$n&&(t=requestAnimationFrame(i))})(Dn)),G=null},D.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter((function(n){return!n.__||Un(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],D.__e(i,n.__v)}})),zn&&zn(n,t)},D.unmount=function(n){Cn&&Cn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Bn)}catch(n){D.__e(n,t.__v)}};var $n="function"==typeof requestAnimationFrame;function Bn(n){var t=G;"function"==typeof n.__c&&n.__c(),G=t}function Un(n){var t=G;n.__c=n.__(),G=t}function Wn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Hn(n,t){return"function"==typeof t?t(n):t}function Yn(n){return n.children}var Zn,Jn,Gn=["ref"],Kn="undefined"!=typeof Symbol&&(null===(Zn=Symbol.for)||void 0===Zn?void 0:Zn.call(Symbol,"react.forward_ref"))||3911,Qn=D.__b;function Xn(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 nt(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 tt(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)}D.__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 it,rt=["auto","lazy","eager","unload"],et=(a(Jn={},"auto",0),a(Jn,"lazy",1),a(Jn,"eager",2),a(Jn,"unload",3),Jn);function ot(n,t){var i=et[n]||0,r=et[t]||0,e=Math.max(i,r);return rt[e]}function ut(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 lt(n){for(var t,i=null,r="",e=y(arguments,!0);!(t=e()).done;){var o=t.value;o instanceof Error&&!i?i=ut(o):(r&&(r+=" "),r+=o)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function at(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ft(n){var t=lt.apply(null,arguments);setTimeout((function(){throw at(t),t}))}function ct(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){ft(n)}}function st(n){var t=lt.apply(null,arguments);return t.expected=!0,t}var vt,ht=["Webkit","webkit","Moz","moz","ms","O","o"],dt={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function pt(n,t,i,r,e){var o=function(n,t,i){if(bt(t))return t;it||(it=j());var r=it[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<ht.length;i++){var r=ht[i]+t;if(void 0!==n[r])return r}return""}(n,e);void 0!==n[o]&&(r=o)}i||(it[t]=r)}return r}(n.style,t,e);if(o){var u=r?i+r:i;bt(o)?n.style.setProperty(o,u):n.style[o]=u}}function bt(n){return n.startsWith("--")}function mt(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)pt(n,i,t[i])}(i,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=i,Z((function(){return t.play()})).catch((function(){})),Promise.resolve(!i.paused)}(n)),n.__AMP_AUTOPLAY}function yt(){return vt||(t={__c:n="__cC"+H++,__:{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(cn)},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}},vt=t.Provider.__=t.Consumer.contextType=t);var n,t}function gt(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=wt(),c=a&&f.renderable,s=c&&u&&f.playable,v=ot(c?"auto":"lazy",ot(r,f.loading)),h=e||f.notify,d=Fn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return en(yt().Provider,{children:t,value:d})}function wt(){var n,t,i;return n=yt(),t=G.context[n.__c],(i=Rn(J++,9)).c=n,t?(null==i.__&&(i.__=!0,t.sub(G)),t.props.value):n.__}var kt=[null,"paint","layout","content","size","size paint","size layout","strict"],jt={"position":"relative","width":"100%","height":"100%"},Ot=Xn((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 en(e,c(c({},s(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(tt))),{},{ref:t,class:"".concat(O||""," ").concat(k||"").trim()||null,style:c(c(c({},w),j),{},{contain:kt[S]})}),en(l,c(c({},f),{},{ref:v,class:a,style:c(c({},g&&jt),{},{"overflow":m?"hidden":"visible"},h)}),o))}));function St(n){var t=Nn(null);return t.current=n,t}Xn((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 en(e,c(c({},s(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(tt))),{},{ref:t,class:"".concat(f||""," ").concat(l||"").trim()||null,style:c(c({},u),a)}),o)}));var Pt=self.AMP_CONFIG||{},xt=("string"==typeof Pt.thirdPartyFrameRegex?new RegExp(Pt.thirdPartyFrameRegex):Pt.thirdPartyFrameRegex,("string"==typeof Pt.cdnProxyRegex?new RegExp(Pt.cdnProxyRegex):Pt.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function _t(n){if(!self.document||!self.document.head)return null;if(self.location&&xt.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Pt.thirdPartyUrl,Pt.thirdPartyFrameHost,Pt.cdnUrl||_t("runtime-host"),Pt.errorReportingUrl,Pt.betaErrorReportingUrl,Pt.localDev,Pt.geoApiUrl||_t("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 At(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=wt().playable;return Tn((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]),en(Yn,null,t&&en("div",{class:"eq-0be5b4b"+(l?" eq-playing-0be5b4b":"")},en(Tt,null)),i&&en("button",{"aria-label":r&&r.title||"Unmute video",tabIndex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:e}))}var Ct,Rt,It,Tt=(Ct=!1,Rt=null,It=function(){return[1,2,3,4].map((function(n){return en("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];Rt=It.apply(self,t),Ct=!0,It=null}return Rt}),Et=Xn((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,P=n[r],x=s(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(tt));i=wt().notify,En((function(){i&&i()}));var _=wt().playable,M=function(n){return ot(n,wt().loading)}(v),q="unload"!==M,A=nt(In(o),2),z=A[0],C=A[1],R=nt(In(!1),2),I=R[0],T=R[1],E=nt(In(null),2),N=E[0],L=E[1],F=nt(In(!o),2),V=F[0],D=F[1],$=Nn(null),B=Nn(null),U=Fn((function(){return new Y}),[]),W=Nn("loading"),H=St(w),J=Vn((function(n,t){if(n!==W.current){W.current=n;var i=H.current;i&&i(n,t)}}),[H]),G=St(g),K=Vn((function(n){T(n);var t=G.current;t&&t(n)}),[G]);En((function(){q||K(!1)}),[q,K]);var Q=Vn((function(){return U.promise.then((function(){return n=B.current,(t=Z((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];at(st.apply(null,i))}("TRYPLAY",n)})),t;var n,t}))}),[U]),X=Vn((function(){U.promise.then((function(){var n;return null===(n=B.current)||void 0===n?void 0:n.pause()}))}),[U]),nn=Vn((function(){return U.promise.then((function(){return B.current.requestFullscreen()}))}),[U]),tn=Vn((function(){C(!1),D(!0)}),[]);return En((function(){var n,t=null===(n=B.current)||void 0===n?void 0:n.readyState;null!=t&&J(t>0?"complete":"loading")}),[J]),En((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]),Tn((function(){_||X()}),[_,X]),Ln(t,(function(){return{get readyState(){return W.current},play:Q,pause:X,requestFullscreen:nn,get currentTime(){return B.current?B.current.currentTime:0},get duration(){return B.current?B.current.duration:NaN},get autoplay(){return o},get controls(){return f},get loop(){return d},userInteracted:tn,mute:function(){return C(!0)},unmute:function(){V&&C(!1)}}}),[Q,X,nn,tn,V,o,f,d]),en(Ot,{contentRef:$,class:P,style:S,size:!0,layout:!0,paint:!0},q&&en(l,c(c({},x),{},{ref:B,loading:M,muted:z,loop:d,controls:f&&(!o||V),onCanPlay:function(){U.resolve(),J("complete")},onLoadedMetadata:function(){b&&U.promise.then((function(){var n,t,i,r;L((n=B.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)||At(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),J("complete")},onPlaying:function(){return K(!0)},onPause:function(){return K(!1)},onEnded:function(){return K(!1)},onError:function(n){J("error",n),U.reject(n)},class:"fill-stretch-c645120",src:O,poster:k}),j),o&&!V&&en(zt,{metadata:N,playing:I,displayIcon:!y&&z,wrapperRef:$,play:Q,pause:X,displayOverlay:f,onOverlayClick:tn}))}));Et.displayName="VideoWrapper";var Nt=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],Lt=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Ft(n,t,i){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(i(),"*")}))}var Vt=Xn((function(n,t){var i=n.loading,r=n.unloadOnPause,e=void 0!==r&&r,o=n.sandbox,u=void 0===o?Lt: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,Nt),k=Nn(null),j=Fn((function(){return new Y}),[]),O=Nn(m),S=Vn((function(n){Ft(null==k?void 0:k.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),P=Nn(y),x=Vn((function(){return Ft(null==k?void 0:k.current,j.promise,P.current)}),[j.promise]);Ln(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(!P.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 _=function(n){var t=Nn(null);return t.current=n,t}(p);return En((function(){if(k.current){var n=k.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){_.current&&(h&&!h.test(n.origin)||n.source!=k.current.contentWindow||_.current({currentTarget:k.current,target:k.current,data:n.data}))}}),[h,_]),En((function(){S(a?"mute":"unmute")}),[a,S]),En((function(){S(v?"showControls":"hideControls")}),[v,S]),en("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)}}))}));Vt.displayName="VideoIframeInternal";var Dt=Xn((function(n,t){return en(Et,c(c({ref:t},n),{},{component:Vt}))}));function $t(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 Bt(n,t){return JSON.stringify({"command":n,"parameters":t})}Dt.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Ut=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Wt(n){switch(n){case"mute":return Bt("muted",[!0]);case"unmute":return Bt("muted",[!1]);case"showControls":return Bt("controls",[!0]);case"hideControls":return Bt("controls",[!1]);default:return Bt(n)}}function Ht(n){var t=n.currentTarget,i=function(n){var t,i=j();if(!n)return i;for(;t=N.exec(n);){var r=L(t[1],t[1]),e=t[2]?L(t[2].replace(/\+/g," "),t[2]):"";i[r]=e}return i}(n.data),r=null==i?void 0:i.event;"pause"===r?T(t,"pause"):"play"===r?T(t,"playing"):"end"===r?(T(t,"pause"),T(t,"end")):"apiready"===r&&T(t,"canplay")}var Yt=Xn((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,Ut),d=Fn((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 $t("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&&mt(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 en(Dt,c(c({autoplay:i,controls:!0,ref:t},h),{},{src:d,makeMethodMessage:Wt,onMessage:Ht}))}));function Zt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function Jt(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&&Jt(n,t,i,o,!1)}else if(n.children)for(var u,l=y(n.children,!0);!(u=l()).done;){var a=u.value;Jt(a,t,i,r,!0)}}Yt.displayName="BentoDailymotion";var Gt=[],Kt=function(){},Qt=function(){function n(n){this.Nh=n,this.m=null,this.iv=null,this.rv=Zt(this.rv.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){P(t),P(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),ii(n)&&Jt(this.Nh,Xt,n,!0,!1))},t.remove=function(n,t){P(t);var i=n.key,r=this.m,e=null==r?void 0:r.get(i);if(e){P(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),Jt(this.Nh,Xt,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;ri(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()&&Jt(this.Nh,ni,void 0,Gt)},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){ii(t.prop)&&n.uv(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ii(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(Kt):Gt,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()}})):Gt,pingParent:ii(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 ft("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){ft(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;P(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,ti,o,!1):null;this.uv(n,s)}var v=ri(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(e.every(ri)&&(!c||ri(v))){var d=this.Nh.node;f&&!u?h=f[0]:ii(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||Gt,v,e):ri(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||Gt,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,P(r),i&&i.values.unsubscribe(e,r),t&&(P(r),t.values.subscribe(e,r)))},n}();function Xt(n,t){return n.values.scan(t)}function ni(n,t,i){return n.values.scanAll(i)}function ti(n,t){return n.values.has(t)}function ii(n){return!!n.recursive}function ri(n){return void 0!==n}var ei=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 Qt(this),this.cv=null,this.sv=!1,this.vv=Zt(this.hv.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,e=t.target;e.assignedNodes().forEach(oi),null===(i=n.closest(e))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(ui)})),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,oi(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,oi(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(ui)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.vv():this.name&&this.children&&this.children.forEach(ui)},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){P(!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(ui),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(),P(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&&(P(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 oi(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=ei.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,ui)}function ui(n){n.discover()}var li=[];function ai(n,t){var i=c({key:n,deps:li,recursive:!1},t);return P(0==i.deps.length||i.compute),i}var fi=[],ci=function(){};function si(n,t,i){t=h(t);var r=i;ei.get(n).subscribe(r,vi,i,t)}var vi=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(ci):fi,this.yv=i.length>0?i.map((function(n,t){return function(n){r.mv[t]=n,r.gv()}})):fi,this.Yn=!1,this.wv=null,this.gv=Zt(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(hi)?(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&&(ct(this.wv),this.wv=null)},n}();function hi(n){return void 0!==n}function di(n){ei.get(n).discover()}function pi(n,t,i,r){ei.get(n).values.set(t,i,r)}function bi(n,t,i){ei.get(n).values.remove(t,i)}var mi=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,yi,"1")},t.resolveListQuery=function(n){return this.kt(n,gi,"")},t.complete=function(){for(var n in this._t)n in this.St||wi(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)wi(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||(P(this._t),r=this._t[n]),r||wi(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 yi(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function gi(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 wi(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 ki=/vertical/,ji=new WeakMap,Oi=new WeakMap,Si=new WeakMap;function Pi(n){var t=ji.get(n);return t||(t=new n.ResizeObserver(xi),ji.set(n,t)),t}function xi(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=Oi.get(e);if(o){Si.set(e,r);for(var u=0;u<o.length;u++){var l=o[u],a=l.callback;_i(l.type,a,r)}}}}}function _i(n,t,i){if(0==n){var r=i.contentRect,e=r.height;ct(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=ki.test(function(n,t){return n.getComputedStyle(t)||dt}(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}}ct(t,o)}}var Mi,qi,Ai=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=Oi.get(n);if(e||(e=[],Oi.set(n,e),Pi(r).observe(n)),!e.some((function(n){return n.callback===i&&1===n.type}))){e.push({type:1,callback:i});var o=Si.get(n);o&&setTimeout((function(){return _i(1,i,o)}))}}}(n,0,t)}(this.p,this.Oc)):function(n,t){!function(n,t,i){var r=Oi.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)){Oi.delete(n),Si.delete(n);var e=n.ownerDocument.defaultView;e&&Pi(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}();Mi="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=x(n)}n.CustomElement=function(n){return qi||(qi=function(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)}(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}()};var t=n.prototype;return t.mutateElement=function(n){F().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var zi=ai("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(Ii)},compute:function(n,t,i){return i&&t.reduce(Ii,!0)||!1}}),Ci=ai("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(Ii)},deps:[zi],compute:function(n,t,i,r){return r&&i&&t.reduce(Ii,!0)||!1}}),Ri=ai("Loading",{defaultValue:"auto",recursive:!0,deps:[zi],compute:function(n,t,i,r){return ot(r?"auto":"lazy",ot(i||"auto",t.reduce(ot,"auto")))}}),Ii=function(n,t){return n&&t},Ti=function(n){return n.ensureLoaded()},Ei=function(n){return n.pause()},Ni=function(n){return n.unmount()};function Li(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!1,Ti)}function Fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Ei)}function Vi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Di(n,t,!0,Ni)}function Di(n,t,i,r){for(var e=h(n),o=0;o<e.length;o++)$i(e[o],t,i,r)}function $i(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var e=n;if(ct(r,e),!i){var o=e.getPlaceholder();return void(o&&$i(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)ct(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),ct(r,f))}}}var Bi={},Ui=new WeakMap;function Wi(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!r)return en(Hi,c(c({},i||Bi),{},{name:t}));var e=Ui.get(n);if(e&&O(e.oldProps,i))return e.component;function o(n){return en(Hi,c(c({},i||Bi),{},{name:t},n))}return Ui.set(n,{oldProps:i,component:o}),o}function Hi(n){var t=Nn(null);return function(n,t){var i=null==t?void 0:t.loading,r=wt();En((function(){var t=n.current;return P(S(t)),pi(t,zi,Hi,r.renderable),pi(t,Ci,Hi,r.playable),pi(t,Ri,Hi,r.loading),r.playable||Yi(t,Fi,!0),function(){var n;bi(t,zi,Hi),bi(t,Ci,Hi),bi(t,Ri,Hi),n=t,ei.rediscoverChildren(n)}}),[n,r]),En((function(){var t=n.current;return P(S(t)),"lazy"!=i&&Yi(t,Li,!0),function(){Yi(t,Vi,!1)}}),[n,i])}(t,n),Tn((function(){n.postRender&&n.postRender()})),en("slot",c(c({},n),{},{ref:t}))}function Yi(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 Zi,Ji={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Gi=(Zi=0,function(){return String(++Zi)});function Ki(n,t){return Object.values(n).some(t)}var Qi=function(n){return"string"==typeof n||!!n.selector},Xi=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function nr(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=Ji:a.class="i-amphtml-fill-content"),tr(n,a,l,t,e),e&&e.complete(),a}function tr(n,t,i,r,e){if(Ki(i,Qi))for(var o=C(r),u=0;u<o.length;u++){var l=o[u],a=rr(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(p||n.usesShadowDom);var y={};if(tr(n,y,m,l,e),v)t[d]=Wi(l,l.getAttribute("slot")||"i-amphtml-".concat(d),y,s);else{var g=t[d]||(t[d]=[]);P(!s),g.push(p?ir(l):Wi(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(Gi()),y))}}}for(var w in i){var k=i[w];P([k.attr,k.attrs,k.attrMatches,k.selector,k.passthrough,k.passthroughNonEmpty].filter(Boolean).length<=1);var j=void 0;if(k.passthrough?(P(n.usesShadowDom),j=[en(Hi,{loading:"lazy"})]):k.passthroughNonEmpty?(P(n.usesShadowDom),j=C(r).every(Xi)?null:[en(Hi,{loading:"lazy"})]):k.attr?(j=r.getAttribute(k.attr),k.media&&null!=j&&(P(e),j=e.resolveListQuery(String(j)))):k.parseAttrs&&(P(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 ir(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 en(r,t)}function rr(n,t){for(var i in t){var r=t[i],e="string"==typeof r?r:r.selector;if(e&&A(n,e))return i}return null}var er={childList:!0},or={childList:!0,characterData:!0},ur={childList:!0},lr={"style":"display: contents; background: inherit;","part":"c"},ar={"name":"i-amphtml-svc"},fr={"i-amphtml-rendered":""},cr=function(){return!0},sr=function(n){return!!n.media},vr=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},hr=function(n){i(r,n);var t=l(r);function r(n){var i;return(i=t.call(this,n)).jv={"loading":"auto","onReadyState":function(n,t){i.Ov(n,t)},"onPlayingState":function(n){i.Sv(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}},i.Pv={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.xv=!1,i._v=null,i.Mv=null,i.qv=function(n){null!==n&&(i._v?i.Av(n):i.zv(n)),i.Mv=n,i.Cv()},i.Rv=null,i.Iv=null,i.Tv=null,i.Ev=!1,i.Nv=null,i.Lv=function(){i.Ev=!1,i.Fv()},i.Vv=!1,i.Bi=!1,i.observer=null,i.Ql=new Ai(n),i.un=null,i}r.R1=function(){return!0},r.requiresShadowDom=function(){return this.usesShadowDom},r.usesLoading=function(){return this.loadable},r.prerenderAllowed=function(){return!this.usesLoading()},r.Component=function(){P(!1)};var e=r.prototype;return e.init=function(){},e.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)},e.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.Dv(t)}));var i=t.props,r=Ki(i,Qi)?er:null,e=Ki(i,vr)?or:null,o=t.usesTemplate?ur:null;this.observer.observe(this.element,c(c(c({attributes:!0},r),e),o)),this.un=Ki(i,sr)?new mi(this.win,(function(){return n.$v()})):null;var u=t.staticProps,l=this.init();Object.assign(this.jv,u,l),this.checkPropsPostMutations(),si(this.element,[],(function(){return function(){n.Bi=!1,n.Tv&&Sn(null,n.Tv)}})),si(this.element,[zi,Ci,Ri],(function(t,i,r){n.Pv.renderable=t,n.Pv.playable=i,n.Pv.loading=r,n.Bi=!0,n.$v()}));var a,f=t.useContexts;return 0!=f.length&&si(this.element,f,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Iv=i,n.$v()})),this.Nv=new Y,this.$v(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Cv(),this.Nv.promise},e.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.xv=!0)},e.mountCallback=function(){di(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.xv=!1)},e.unmountCallback=function(){var n;di(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Sv(!1),null===(n=this.un)||void 0===n||n.dispose()},e.mutatedAttributesCallback=function(){this.Tv&&this.$v()},e.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},e.mutateProps=function(n){Object.assign(this.jv,n),this.$v()},e.api=function(){var n=this.Mv;return P(n),n},e.registerApiAction=function(n,t){var i,r=this,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){t(r.api(),n)}),e)},e.mutationObserverCallback=function(n){},e.checkPropsPostMutations=function(){},e.updatePropsForRendering=function(n){},e.isReady=function(n){return!0},e.Dv=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(P(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&&(dr(t.addedNodes)||dr(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.$v())},e.$v=function(){this.Ev||(this.Ev=!0,this.mutateElement(this.Lv))},e.Cv=function(){var n=this.Mv,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Ov(t)},e.Ov=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.Sv("complete"==n),this.xv&&(this.xv=!1,this.mutateProps({"loading":"auto"}))},e.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},e.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},e.handleOnError=function(){var n,t,i,r,e;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!0)},e.Fv=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.Tv){var f=this.win.document;if(l){P(!u);var s=this.element.shadowRoot,v=s&&(e=s,M("c"),q(e,"> ".concat("c")));if(v)this.Vv=!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||(P((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=I(f,"c",lr),s.appendChild(v);var w=I(f,"slot",ar);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.Tv=v,P(s),function(n,t){ei.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;ei.get(n).addGroup(t,i,r)}(this.element,"unslotted",cr,-1),n=this.element,t=zi,this,null===(i=ei.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var k=this.element;this.Tv=k;var j=z(k,"i-amphtml-rendered")||I(f,a,fr);j.__AMP_RENDERED=!0,o.layoutSizeDefined&&j.classList.add("i-amphtml-fill-content"),this.Tv.appendChild(j)}else{var O=f.createElement("i-amphtml-c");this.Tv=O,O.classList.add("i-amphtml-fill-content"),u||this.element.appendChild(O)}}var S=this.Tv;P(S);var x=o.useContexts,_=this.Iv;if(0==x.length||null!=_){var A=nr(o,this.element,this.qv,this.jv,this.un);if(this.updatePropsForRendering(A),this.isReady(A)){for(var C=en(o.Component,A),R=0;R<x.length;R++){P(_);var E=x[R].type,N=_[R];N&&(C=en(E.Provider,{value:N},C))}var L=en(gt,c({},this.Pv),C);if(this.Vv)this.Vv=!1,Pn(L,S);else{var F=a?z(S,"i-amphtml-rendered"):null;F&&(F.__AMP_RENDERED=!0),Sn(L,S,null!=F?F:void 0)}l||u||this.mutateElement((function(){return T(r.element,"amp:dom-update",void 0)})),this.Nv&&(this.Nv.resolve(void 0),this.Nv=null)}}}},e.getProp=function(n,t){return i=this.jv,r=n,k.call(i,r)?this.jv[n]:t;var i,r},e.getApi=function(){var n=this._v;return n?Promise.resolve(n):(this.Rv||(this.Rv=new Y),this.Rv.promise)},e.zv=function(n){for(var t=j(),i=Object.keys(n),r=0;r<i.length;r++){var e=i[r];this.Bv(t,e)}this._v=t,this.Rv&&(this.Rv.resolve(t),this.Rv=null)},e.Av=function(n){},e.triggerEvent=function(n,t,i){T(n,t,i)},e.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.xv=!0;else{var n,t=this.Mv;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},e.Sv=function(n){this.Ql.updatePlaying(n)},e.Bv=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.Mv;return P(n),n[t]},set:function(n){var r=i.Mv;P(r),r[t]=n}})},r}(Mi);function dr(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}a(hr,"staticProps",void 0),a(hr,"useContexts",[]),a(hr,"loadable",!1),a(hr,"unloadOnPause",!1),a(hr,"layoutSizeDefined",!1),a(hr,"lightDomTag",""),a(hr,"usesTemplate",!1),a(hr,"shadowCss",null),a(hr,"usesShadowDom",!1),a(hr,"detached",!1),a(hr,"delegatesFocus",!1),a(hr,"props",{});var pr=function(n){i(r,hr);var t=l(r);function r(){return t.apply(this,arguments)}return r}();pr.Component=Et,pr.loadable=!0,pr.layoutSizeDefined=!0,pr.staticProps,pr.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}},pr.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)}}',pr.usesShadowDom=!0;var br=function(n){i(r,pr);var t=l(r);function r(){return t.apply(this,arguments)}var e=r.prototype;return e.init=function(){this.Uv("play",(function(n){return n.play()})),this.Uv("pause",(function(n){return n.pause()})),this.Uv("mute",(function(n){return n.mute()})),this.Uv("unmute",(function(n){return n.unmute()}));var n=function(n){return n.requestFullscreen()};this.Uv("requestFullscreen",n),this.Uv("fullscreenenter",n),this.Uv("fullscreen",n)},e.Uv=function(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;this.registerApiAction(n,(function(n,i){i.trust>=3&&n.userInteracted(),t(n,i)}),i)},r}(),mr=function(n){i(r,br);var t=l(r);function r(){return t.apply(this,arguments)}return r}();function yr(){customElements.define("bento-dailymotion",mr.CustomElement(mr))} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */mr.Component=Yt,mr.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},mr.layoutSizeDefined=!0,mr.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 s(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function l(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 t||{}}function p(t){return 1==(null==t?void 0:t.nodeType)}function v(t,n,e,i,o,r,s,l,u,a,c){return t}function m(t){return(t.ownerDocument||t).defaultView}function b(t){v(/^[\w-]+$/.test(t))}function y(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function g(t,n){const e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!e&&e.call(t,n)}function w(t,n){return b(n),y(t,`> [${n}]`)}function _(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:p(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(i=n)||i.nodeType===Node.ELEMENT_NODE&&(i.hasAttribute("placeholder")||i.hasAttribute("fallback")||i.hasAttribute("overflow")))&&e.push(n);var i;return e}(t)}var P={bubbles:!0,cancelable:!0};function A(t,n,e){return function(t,n){for(const e in n)t.setAttribute(e,n[e]);return t}(t.createElement(n),e)}function k(t,n,e,i){const o=e||{};v(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:s,cancelable:l}=i||P;r.initEvent(n,s,l),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,E,T,O,x,V,j,z=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};function q(t){return new Promise((n=>{n(t())}))}var $,L,N,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,s={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:s[r]=n[r];if(arguments.length>2&&(s.children=arguments.length>3?C.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===s[r]&&(s[r]=t.defaultProps[r]);return Z(t,s,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?++T:o};return null==o&&null!=E.vnode&&E.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)&&O.push(t)&&!X.__r++||V!==E.debounceRendering)&&((V=E.debounceRendering)||x)(X)}function X(){for(var t;X.__r=O.length;)t=O.sort((function(t,n){return t.__v.__b-n.__v.__b})),O=[],t.some((function(t){var n,e,i,o,r,s;t.__d&&(r=(o=(n=t).__v).__e,(s=n.__P)&&(e=[],(i=W({},o)).__v=o.__v+1,lt(s,o,i,n.__n,void 0!==s.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,s,l,u,a){var c,f,h,d,p,v,m,b=i&&i.__k||F,y=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<y;f++){if((h=b[f])&&d.key==h.key&&d.type===h.type){b[f]=void 0;break}h=null}lt(t,d,h=h||U,o,r,s,l,u,a),p=d.__e,(f=d.ref)&&h.ref!=f&&(m||(m=[]),h.ref&&m.push(h.ref,null,d),m.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=y;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(m)for(c=0;c<m.length;c++)at(m[c],m[++c],m[++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 s,l,u;if(void 0!==n.__d)s=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),s=null;else{for(l=r,u=0;(l=l.nextSibling)&&u<i.length;u+=2)if(l==o)break t;t.insertBefore(o,r),s=r}return void 0!==s?s: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?st:rt,r):t.removeEventListener(n,r?st: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](E.event?E.event(t):t)}function st(t){this.l[t.type+!0](E.event?E.event(t):t)}function lt(t,n,e,i,o,r,s,l,u){var a,c,f,h,d,p,v,m,b,y,g,w=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(u=e.__h,l=n.__e=e.__e,n.__h=null,r=[l]),(a=E.__b)&&a(n);try{t:if("function"==typeof w){if(m=n.props,b=(a=w.contextType)&&i[a.__c],y=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(m,y):(n.__c=c=new J(m,y),c.constructor=w,c.render=ft),b&&b.sub(c),c.props=m,c.state||(c.state={}),c.context=y,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(m,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&&m!==h&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,y)||n.__v===e.__v){c.props=m,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&&s.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,y),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(h,d,p)}))}c.context=y,c.props=m,c.state=c.__s,(a=E.__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,s,l,u),c.base=n.__e,n.__h=null,c.__h.length&&s.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,s,l){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,l=!1}if(null===d)f===h||l&&t.data===h||(t.data=h);else{if(r=r&&C.call(t.childNodes),a=(f=e.props||U).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!l){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,l),c)n.__k=[];else if(p=n.props.children,tt(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==d,r,s,r?r[0]:e.__k&&Q(e,0),l),null!=r)for(p=r.length;p--;)null!=r[p]&&H(r[p]);l||("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,s,u);(a=E.diffed)&&a(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=l,n.__h=!!u,r[r.indexOf(l)]=null),E.__e(t,n,e)}}function ut(t,n){E.__c&&E.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){E.__e(t,n.__v)}}))}function at(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){E.__e(t,e)}}function ct(t,n,e){var i,o;if(E.unmount&&E.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){E.__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;E.__&&E.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],lt(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,E={__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}},T=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,O=[],x="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,X.__r=0,j=0;var pt=0,vt=[],mt=E.__b,bt=E.__r,yt=E.diffed,gt=E.__c,wt=E.unmount;function _t(t,n){E.__h&&E.__h(L,t,pt||n),pt=0;var e=L.__H||(L.__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=L),i.__}(Vt,t)}function At(t,n){var e=_t($++,3);!E.__s&&xt(e.__H,n)&&(e.__=t,e.__H=n,L.__H.__h.push(e))}function kt(t,n){var e=_t($++,4);!E.__s&&xt(e.__H,n)&&(e.__=t,e.__H=n,L.__h.push(e))}function Mt(t){return pt=5,St((function(){return{current:t}}),[])}function Rt(t,n,e){pt=6,kt((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 xt(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(Tt),t.__H.__h.forEach(Ot),t.__H.__h=[]}catch(n){t.__H.__h=[],E.__e(n,t.__v)}})),vt=[]}E.__b=function(t){L=null,mt&&mt(t)},E.__r=function(t){bt&&bt(t),$=0;var n=(L=t.__c).__H;n&&(n.__h.forEach(Tt),n.__h.forEach(Ot),n.__h=[])},E.diffed=function(t){yt&&yt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&N===E.requestAnimationFrame||((N=E.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),Et&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);Et&&(n=requestAnimationFrame(e))})(Ct)),L=null},E.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Tt),t.__h=t.__h.filter((function(t){return!t.__||Ot(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],E.__e(e,t.__v)}})),gt&>(t,n)},E.unmount=function(t){wt&&wt(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Tt)}catch(t){E.__e(t,n.__v)}};var Et="function"==typeof requestAnimationFrame;function Tt(t){var n=L;"function"==typeof t.__c&&t.__c(),L=n}function Ot(t){var n=L;t.__c=t.__(),L=n}function xt(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 zt,qt=["ref"],$t="undefined"!=typeof Symbol&&(null===(zt=Symbol.for)||void 0===zt?void 0:zt.call(Symbol,"react.forward_ref"))||3911,Lt=E.__b;function Nt(t){function n(n){const{ref:e}=n,o=i(n,qt);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)}E.__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==Lt||Lt(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 s=i?e+i:e;rn(r)?t.style.setProperty(r,s):t.style[r]=s}function rn(t){return t.startsWith("--")}function sn(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,q((()=>e.play())).catch((()=>{})),Promise.resolve(!n.paused)}(t)),t.__AMP_AUTOPLAY}function ln(){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(),s=o&&r.renderable,l=s&&i&&r.playable,u=Bt(s?"auto":"lazy",Bt(n,r.loading)),a=e||r.notify,c=St((()=>({renderable:s,playable:l,loading:u,notify:a})),[s,l,u,a]);return B(ln().Provider,{children:t,value:c})}function an(){return t=ln(),n=L.context[t.__c],(e=_t($++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub(L)),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=Nt((function(t,n){let o="class",{as:r="div",children:s,contentAs:l="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:p=!1,"style":v,wrapperClassName:m,wrapperStyle:b,[o]:y}=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:`${y||""} ${m||""}`.trim()||null,style:e(e(e({},v),b),{},{contain:cn[g]})}),B(l,e(e({},a),{},{ref:c,class:u,style:e(e({},p&&fn),{},{"overflow":d?"hidden":"visible"},f)}),s))}));function dn(t){const n=Mt(null);return n.current=t,n}Nt((function(t,n){let o="class",{as:r="div",children:s,"style":l,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({},l),a)}),s)}));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 mn(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||mn("runtime-host"),pn.errorReportingUrl,pn.betaErrorReportingUrl,pn.localDev,pn.geoApiUrl||mn("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 yn(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:s,wrapperRef:l}){const{playable:u}=an();return At((()=>{if(!u)return void o();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?r().catch((()=>{})):o()}),{threshold:.5});return t.observe(l.current),()=>{t.disconnect()}}),[l,r,o,u]),B(jt,null,t&&B("div",{class:"eq-0be5b4b"+(s?" 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)}(),An=Nt((function(t,n){let o="class",{autoplay:r=!1,component:s="video",controls:l=!1,loading:u,loop:a=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:h,onReadyState:p,poster:v,sources:m,src:b,style:y,[o]:g}=t,w=i(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(Ft));!function(){const{notify:t}=an();kt((()=>{t&&t()}))}();const{playable:_}=an(),P=function(t){const{loading:n}=an();return Bt(t,n)}(u),A="unload"!==P,[k,M]=Pt(r),[R,S]=Pt(!1),[I,C]=Pt(null),[E,T]=Pt(!r),O=Mt(null),x=Mt(null),V=St((()=>new z),[]),j=Mt("loading"),$=dn(p),L=It(((t,n)=>{if(t!==j.current){j.current=t;const e=$.current;e&&e(t,n)}}),[$]),N=dn(h),U=It((t=>{S(t);const n=N.current;n&&n(t)}),[N]);kt((()=>{A||U(!1)}),[A,U]);const F=It((()=>V.promise.then((()=>function(t,n){const e=q((()=>t.play(!1)));return e.catch((t=>{Xt(0,t)})),e}(x.current)))),[V]),D=It((()=>{V.promise.then((()=>{var t;return null===(t=x.current)||void 0===t?void 0:t.pause()}))}),[V]),W=It((()=>V.promise.then((()=>x.current.requestFullscreen()))),[V]),H=It((()=>{M(!1),T(!0)}),[]);return kt((()=>{var t;const n=null===(t=x.current)||void 0===t?void 0:t.readyState;null!=n&&L(n>0?"complete":"loading")}),[L]),kt((()=>(c&&R&&I&&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,I,F,D),()=>{})),[c,R,I,F,D]),At((()=>{_||D()}),[_,D]),Rt(n,(()=>({get readyState(){return j.current},play:F,pause:D,requestFullscreen:W,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 l},get loop(){return a},userInteracted:H,mute:()=>M(!0),unmute:()=>{E&&M(!1)}})),[F,D,W,H,E,r,l,a]),B(hn,{contentRef:O,class:g,style:y,size:!0,layout:!0,paint:!0},A&&B(s,e(e({},w),{},{ref:x,loading:P,muted:k,loop:a,controls:l&&(!r||E),onCanPlay:()=>{V.resolve(),L("complete")},onLoadedMetadata:()=>{c&&V.promise.then((()=>{var t,n;C((t=x.current,n=w,Object.assign(d({"title":n.title||n["aria-label"]||document.title,"artist":n.artist||"","album":n.album||"","artwork":[{"src":n.artwork||n.poster||yn(document)||gn(document)||wn(document)||""}]}),t&&t.getMetadata?t.getMetadata():Object.create(null))))})),L("complete")},onPlaying:()=>U(!0),onPause:()=>U(!1),onEnded:()=>U(!1),onError:t=>{L("error",t),V.reject(t)},class:"fill-stretch-c645120",src:b,poster:v}),m),r&&!E&&B(_n,{metadata:I,playing:R,displayIcon:!f&&k,wrapperRef:O,play:F,pause:D,displayOverlay:l,onOverlayClick:H}))}));An.displayName="VideoWrapper";var kn=["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=Nt((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:s=Mn,muted:l=!1,controls:u=!1,origin:a,onCanPlay:c,onMessage:f,playerStateRef:h,makeMethodMessage:d,makeFullscreenMessage:p,onIframeLoad:v}=t,m=i(t,kn);const b=Mt(null),y=St((()=>new z),[]),g=Mt(d),w=It((t=>{Rn(null==b?void 0:b.current,y.promise,(()=>g.current(t)))}),[y.promise]),_=Mt(p),P=It((()=>Rn(null==b?void 0:b.current,y.promise,_.current)),[y.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 y.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,y.promise,r]);const A=function(t){const n=Mt(null);return n.current=t,n}(f);return kt((()=>{if(!b.current)return;function t(t){A.current&&(a&&!a.test(t.origin)||t.source!=b.current.contentWindow||A.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,A]),kt((()=>{w(l?"mute":"unmute")}),[l,w]),kt((()=>{w(u?"showControls":"hideControls")}),[u,w]),B("iframe",e(e({},m),{},{ref:b,allowfullscreen:!0,frameborder:"0",sandbox:s,loading:o,onCanPlay:()=>{c&&y.promise.then(c),y.resolve()},onLoad:t=>{null==v||v(t)}}))}));Sn.displayName="VideoIframeInternal";var In=Nt((function(t,n){return B(An,e(e({ref:n},t),{},{component:Sn}))}));function Cn(t,n){return JSON.stringify(d({"command":t,"parameters":n}))}In.displayName="VideoIframe",new Set(["c","v","a","ad"]);var En=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function Tn(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 On({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?k(t,"pause"):"play"===i?k(t,"playing"):"end"===i?(k(t,"pause"),k(t,"end")):"apiready"===i&&k(t,"canplay")}var xn=Nt((function(t,n){let{autoplay:o,endscreenEnable:s,info:l,mute:u,sharingEnable:a,start:c,uiHighlight:f,uiLogo:h,videoId:p}=t,v=i(t,En);const m=St((()=>function(t,n,e=!1,i=!0,o=!0,s=!1,l=!0,u,a,c=!0,f){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 s=t[o];if(null!=s){s=r(s);for(let t=0;t<s.length;t++)n.push((e=o,i=s[t],`${encodeURIComponent(e)}=${encodeURIComponent(i)}`))}}var e,i;return n.join("&")}(Object.assign(d({"endscreen-enable":i?void 0:i,"info":o?void 0:o,"mute":s||e&&sn(t)?1:void 0,"sharing-enable":l?void 0:l,"start":u,"ui-highlight":a,"ui-logo":c?void 0:c}),f)))}(window,p,o,s,l,u,a,c,f,h)),[p,o,s,l,u,a,c,f,h]);return B(In,e(e({autoplay:o,controls:!0,ref:n},v),{},{src:m,makeMethodMessage:Tn,onMessage:On}))}));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,s=a(t.children,!0);!(r=s()).done;)jn(r.value,n,e,i,!0)}xn.displayName="BentoDailymotion";var zn=[],qn=()=>{};function $n(t,n){return t.values.scan(n)}function Ln(t,n,e){return t.values.scanAll(e)}function Nn(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||p(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.tf=null,this.nf=Vn(this.nf.bind(this),setTimeout)}set(t,n,e){v(n),v(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 s=r.setters.indexOf(n),l=-1==s||r.values[s]!==e;-1==s?(r.setters.push(n),r.values.push(e)):l&&(r.values[s]=e),l&&(this.ping(t,!1),Un(t)&&jn(this.Ze,$n,t,!0,!1))}remove(t,n){v(n);const{key:e}=t,i=this.m,o=null==i?void 0:i.get(e);if(o){v(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.ef(t);if(!s(e.subscribers,n))return;const i=e.value;Fn(i)&&this.hi()&&n(i)}unsubscribe(t,n){var e;const i=null===(e=this.tf)||void 0===e?void 0:e.get(t.key);i&&l(i.subscribers,n)&&this.if(i)}ping(t,n){var e,i;null===(e=this.tf)||void 0===e||null===(i=e.get(t.key))||void 0===i||i.ping(n)}parentUpdated(){this.hi()&&jn(this.Ze,Ln,void 0,zn)}rootUpdated(){const t=this.tf;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Un(n)&&this.rf(t,null)})))}scan(t){return this.ping(t,!0),!!Un(t)&&!this.has(t)}scanAll(t){let n=null;const e=this.tf;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}ef(t){const{deps:n,key:e}=t,i=this.tf||(this.tf=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(qn):zn,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()})):zn,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}if(t){var n;if(t.subscribers.length>0)return;const{pingDep:e,prop:i}=t,{deps:o,key:r}=i;null===(n=this.tf)||void 0===n||n.delete(r),this.rf(t,null),o.length>0&&o.forEach(((t,n)=>{this.unsubscribe(t,e[n])}))}nf(){if(!this.hi())return;const t=this.tf;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.sf(t)}}))}while(n>0)}sf(t){const n=2==t.pending;let e;try{e=this.lf(t,n)}catch(t){Qt(t)}t.pending=0,this.uf(t,e)}uf(t,n){const{prop:e,value:i}=t,{key:o}=e,r=this.tf;if(i===n||t!==(null==r?void 0:r.get(o))||!this.hi())return;t.value=n;const{subscribers:s}=t;for(var l,u=a(s,!0);!(l=u()).done;)(0,l.value)(n)}lf(t,n){var e,i;v(this.hi());const{depValues:o,prop:r}=t,{compute:s,defaultValue:l,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,Nn,r,!1):null;this.rf(t,n)}const f=Fn(t.parentValue)?t.parentValue:c&&!t.parentContextNode?l:void 0;let h;if(o.every(Fn)&&(!c||Fn(f))){const{node:t}=this.Ze;a&&!s?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))}}(s,t,a||zn,f,o):Fn(f)&&(h=f):s&&(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))}}(s,t,a||zn,o))}return h}rf(t,n){const{parentContextNode:e,pingParent:i,prop:o}=t;n!=e&&(t.parentContextNode=n,t.parentValue=void 0,v(i),e&&e.values.unsubscribe(o,i),n&&(v(i),n.values.subscribe(o,i)))}}(this),this.af=null,this.cf=!1,this.ff=Vn(this.hf.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.ff():this.name&&this.children&&this.children.forEach(Hn)}isDiscoverable(){return!this.isRoot&&!this.cf}setParent(t){const n=null!=t&&t.nodeType?Dn.get(t):t;this.df(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){v(!t||t.isRoot);const n=this.root;var e,i;t!=n&&(this.root=t,this.values.rootUpdated(),null===(e=this.af)||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,s=new Dn(r,t);return i.set(t,{cn:s,match:n,weight:e}),s.setParent(this),null==o||o.forEach(Hn),s}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.af||(this.af=new Map);let r=o.get(t);r||(r=new n(this,e,i),o.set(t,r))}unsubscribe(t){const n=this.af,e=null==n?void 0:n.get(t);e&&(e.dispose(),v(n),n.delete(t))}hf(){if(!this.isDiscoverable())return;const t=Dn.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.df(n,!1)}df(t,n){var e;this.cf=n;const i=this.parent;if(t!=i){if(this.parent=t,null!=i&&i.children&&(v(i.children),l(i.children,this)),t){const n=t.children||(t.children=[]);s(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 v(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.pf=n,this.vf=e,this.mf=e.length>0?e.map(Jn):Gn,this.bf=e.length>0?e.map(((t,n)=>t=>{this.mf[n]=t,this.yf()})):Gn,this._s=!1,this.gf=null,this.yf=Vn(this.yf.bind(this),setTimeout),e.length>0){const{values:t}=this.contextNode;e.forEach(((n,e)=>t.subscribe(n,this.bf[e])))}this.hi()&&this.yf()}dispose(){if(this.vf.length>0){const{values:t}=this.contextNode;this.vf.forEach(((n,e)=>t.unsubscribe(n,this.bf[e])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.yf()}hi(){return!!this.contextNode.root}yf(){this.hi()&&(this.mf.every(Kn)?(this._s=!0,this.wf()):this._s&&(this._s=!1,this.de()))}wf(){this.de();const t=this.pf;this.gf=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.mf)}de(){this.gf&&(Yt(this.gf),this.gf=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,se=/vertical/,le=new WeakMap,ue=new WeakMap,ae=new WeakMap;function ce(t){let n=le.get(t);return n||(n=new t.ResizeObserver(fe),le.set(t,n)),n}function fe(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=ue.get(o);if(r){ae.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];he(e,n,i)}}}}function he(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=m(t),o=se.test(function(t,n){return t.getComputedStyle(n)||en}(n,t).writingMode),{offsetHeight:r,offsetWidth:s}=t;let l,u;o?(u=s,l=r):(l=s,u=r),i={inlineSize:l,blockSize:u}}Yt(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)re=AMP.BaseElement;else{let t;class n{constructor(t){this.element=t,this.win=m(t)}static"CustomElement"(n){return t||(t=HTMLElement),class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}re=n}var de=Zn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(me),compute:(t,n,e)=>e&&n.reduce(me,!0)||!1}),pe=Zn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(me),deps:[de],compute:(t,n,e,i)=>i&&e&&n.reduce(me,!0)||!1}),ve=Zn("Loading",{defaultValue:"auto",recursive:!0,deps:[de],compute:(t,n,e,i)=>Bt(i?"auto":"lazy",Bt(e||"auto",n.reduce(Bt,"auto")))}),me=(t,n)=>t&&n,be=t=>t.ensureLoaded(),ye=t=>t.pause(),ge=t=>t.unmount();function we(t,n=!0){Ae(t,n,!1,be)}function _e(t,n=!0){Ae(t,n,!0,ye)}function Pe(t,n=!0){Ae(t,n,!0,ge)}function Ae(t,n,e,i){const o=r(t);for(let t=0;t<o.length;t++)ke(o[t],n,e,i)}function ke(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&&ke(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 Me={},Re=new WeakMap;function Se(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return B(Ie,e(e({},i||Me),{},{name:n}));const r=Re.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 s(t){return B(Ie,e(e({},i||Me),{},{name:n},t))}return Re.set(t,{oldProps:i,component:s}),s}function Ie(t){const n=Mt(null);return function(t,n){const{"loading":e}=n||Me,i=an();kt((()=>{const n=t.current;return v(p(n)),te(n,de,Ie,i.renderable),te(n,pe,Ie,i.playable),te(n,ve,Ie,i.loading),i.playable||Ce(n,_e,!0),()=>{var t;ne(n,de,Ie),ne(n,pe,Ie),ne(n,ve,Ie),t=n,Dn.rediscoverChildren(t)}}),[t,i]),kt((()=>{const n=t.current;return v(p(n)),"lazy"!=e&&Ce(n,we,!0),()=>{Ce(n,Pe,!1)}}),[t,e])}(n,t),At((()=>{t.postRender&&t.postRender()})),B("slot",e(e({},t),{},{ref:n}))}function Ce(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 Ee={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Te=function(){let t=0;return()=>String(++t)}();function Oe(t,n){return Object.values(t).some(n)}var xe=t=>"string"==typeof t||!!t.selector,Ve=t=>3===t.nodeType&&0===t.nodeValue.trim().length;function je(t,n,i,o,r){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),s&&(t.usesShadowDom?a.style=Ee:a.class="i-amphtml-fill-content"),ze(t,a,u,n,r),r&&r.complete(),a}function ze(t,n,e,i,o){if(Oe(e,xe)){const r=_(i);for(let i=0;i<r.length;i++){const s=r[i],l=$e(s,e);if(!l)continue;const u=e[l],{as:a=!1,single:c,name:f=l,clone:h,props:d={}}=u;v(h||t.usesShadowDom);const p={};if(ze(t,p,d,s,o),c)n[f]=Se(s,s.getAttribute("slot")||`i-amphtml-${f}`,p,a);else{const t=n[f]||(n[f]=[]);v(!a),t.push(h?qe(s):Se(s,s.getAttribute("slot")||`i-amphtml-${f}-${Te()}`,p))}}}for(const s in e){const l=e[s];let u;if(v(!!l.attr+!!l.attrs+!!l.attrMatches+!!l.selector+!!l.passthrough+!!l.passthroughNonEmpty<=1),l.passthrough?(v(t.usesShadowDom),u=[B(Ie,{loading:"lazy"})]):l.passthroughNonEmpty?(v(t.usesShadowDom),u=_(i).every(Ve)?null:[B(Ie,{loading:"lazy"})]):l.attr?(u=i.getAttribute(l.attr),l.media&&null!=u&&(u=o.resolveListQuery(String(u)))):l.parseAttrs&&(v(l.attrs||l.attrMatches),u=l.parseAttrs(i)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(r=u)?void 0:"false"!==r:u;n[s]=t}}var r}function qe(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 $e(t,n){for(const e in n){const i=n[e];if(g(t,"string"==typeof i?i:i.selector))return e}return null}var Le={childList:!0},Ne={childList:!0,characterData:!0},Ue={childList:!0},Fe=d({"style":"display: contents; background: inherit;","part":"c"}),De=d({"name":"i-amphtml-svc"}),We=d({"i-amphtml-rendered":""}),He=()=>!0,Be=t=>!!t.media,Ze=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Ge=class extends re{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){v(!1)}constructor(t){super(t),this._f=d({"loading":"auto","onReadyState":(t,n)=>{this.Pf(t,n)},"onPlayingState":t=>{this.Af(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.kf={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Mf=!1,this.Rf=null,this.Sf=null,this.If=t=>{null!==t&&(this.Rf?this.Cf(t):this.Ef(t)),this.Sf=t,this.Tf()},this.Of=null,this.xf=null,this.Vf=null,this.jf=!1,this.zf=null,this.qf=()=>{this.jf=!1,this.$f()},this.Lf=!1,this.ui=!1,this.observer=null,this.Cd=new class{constructor(t){this.qd=t,this.Wa=!1,this.Od=!1,this.$d=this.$d.bind(this)}updatePlaying(t){t!==this.Wa&&(this.Wa=t,t?(this.Od=!1,function(t,n){!function(t,n,e){const i=t.ownerDocument.defaultView;if(!i)return;let o=ue.get(t);if(o||(o=[],ue.set(t,o),ce(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=ae.get(t);n&&setTimeout((()=>he(1,e,n)))}}(t,0,n)}(this.qd,this.$d)):function(t,n){!function(t,n,e){const i=ue.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const s=t[n];(r=s).callback===e&&1===r.type?i.push(s):(o<n&&(t[o]=s),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){ue.delete(t),ae.delete(t);const n=t.ownerDocument.defaultView;n&&ce(n).unobserve(t)}}(t,0,n)}(this.qd,this.$d))}$d({blockSize:t,inlineSize:n}){const e=n>0&&t>0;if(e===this.Od)return;this.Od=e;const i=this.qd;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.Nf(t)));const{props:n}=t,i=Oe(n,xe)?Le:null,o=Oe(n,Ze)?Ne:null,r=t.usesTemplate?Ue:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.Ti=Oe(n,Be)?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||(v(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.Uf())):null;const{staticProps:s}=t,l=this.init();Object.assign(this._f,s,l),this.checkPropsPostMutations(),Qn(this.element,[],(()=>()=>{this.ui=!1,this.Vf&&ht(null,this.Vf)})),Qn(this.element,[de,pe,ve],((t,n,e)=>{this.kf.renderable=t,this.kf.playable=n,this.kf.loading=e,this.ui=!0,this.Uf()}));const{useContexts:u}=t;var a;return 0!=u.length&&Qn(this.element,u,((...t)=>{this.xf=t,this.Uf()})),this.zf=new z,this.Uf(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Tf(),this.zf.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(d({"loading":"eager"})),this.Mf=!0)}mountCallback(){Xn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Mf=!1)}unmountCallback(){var t;Xn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Af(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.Vf&&this.Uf()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this._f,t),this.Uf()}api(){return v(this.Sf)}registerApiAction(t,n,e=2){var i;null===(i=this.registerAction)||void 0===i||i.call(this,t,(t=>n(this.api(),t)),e)}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}Nf(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;const o=e[t];if(n.attributeName==o.attr||o.attrs&&o.attrs.includes(v(n.attributeName))||null!==(i=o.attrMatches)&&void 0!==i&&i.call(o,n.attributeName))return!0}return!1}return"childList"==e&&(Je(n.addedNodes)||Je(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Uf())}Uf(){this.jf||(this.jf=!0,this.mutateElement(this.qf))}Tf(){const{Sf:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.Pf(n)}Pf(t,n){var e;null===(e=this.setReadyState)||void 0===e||e.call(this,t,n),this.constructor.unloadOnPause&&this.Af("complete"==t),this.Mf&&(this.Mf=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,e;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,e,i,o;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(e=this.toggleFallback)||void 0===e||e.call(this,!0),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)):null===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}$f(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:i}=t,o=i?null:t.lightDomTag;if(!this.Vf){const e=this.win.document;if(i){v(!n);let{shadowRoot:i}=this.element,o=i&&(p=i,b("c"),y(p,"> c"));if(o)this.Lf=!0;else{var r,s,l,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,v(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=A(e,"c",Fe),i.appendChild(o);const f=A(e,"slot",De);i.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(s=r.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.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.Vf=o,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",He,-1),f=this.element,h=de,null===(d=Dn.get(f).group("unslotted"))||void 0===d||d.values.set(h,this,!1)}else if(o){this.Vf=this.element;const n=w(this.Vf,"i-amphtml-rendered")||A(e,o,We);n.__AMP_RENDERED=!0,t.layoutSizeDefined&&n.classList.add("i-amphtml-fill-content"),this.Vf.appendChild(n)}else{const t=e.createElement("i-amphtml-c");this.Vf=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var f,h,d,p;const{useContexts:m}=t,g=this.xf;if(0!=m.length&&null==g)return;const _=je(t,this.element,this.If,this._f,this.Ti);if(this.updatePropsForRendering(_),!this.isReady(_))return;let P=B(t.Component,_);for(let t=0;t<m.length;t++){const n=m[t].type,e=g[t];e&&(P=B(n.Provider,{value:e},P))}const M=B(un,e({},this.kf),P);if(this.Lf)this.Lf=!1,dt(M,this.Vf);else{const t=o?w(this.Vf,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ht(M,this.Vf,t)}i||n||this.mutateElement((()=>k(this.element,"amp:dom-update",null))),this.zf&&(this.zf.resolve(),this.zf=null)}getProp(t,n){return e=this._f,i=t,c.call(e,i)?this._f[t]:n;var e,i}getApi(){const t=this.Rf;return t?Promise.resolve(t):(this.Of||(this.Of=new z),this.Of.promise)}Ef(t){const n=h(),e=Object.keys(t);for(let t=0;t<e.length;t++){const i=e[t];this.Ff(n,i)}this.Rf=n,this.Of&&(this.Of.resolve(n),this.Of=null)}Cf(t){}triggerEvent(t,n,e){k(t,n,e)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(d({"loading":"unload"})),this.Mf=!0;else{var t;const{Sf:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}Af(t){this.Cd.updatePlaying(t)}Ff(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>this.Sf[n],set:t=>{this.Sf[n]=t}})}};function Je(t){for(let n=0;n<t.length;n++){const e=t[n];if(p(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}t(Ge,"staticProps",void 0),t(Ge,"useContexts",[]),t(Ge,"loadable",!1),t(Ge,"unloadOnPause",!1),t(Ge,"layoutSizeDefined",!1),t(Ge,"lightDomTag",""),t(Ge,"usesTemplate",!1),t(Ge,"shadowCss",null),t(Ge,"usesShadowDom",!1),t(Ge,"detached",!1),t(Ge,"delegatesFocus",!1),t(Ge,"props",{});var Qe=class extends Ge{};Qe.Component=An,Qe.loadable=!0,Qe.layoutSizeDefined=!0,Qe.staticProps,Qe.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}},Qe.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)}}',Qe.usesShadowDom=!0;var Ye=class extends Qe{init(){this.Df("play",(t=>t.play())),this.Df("pause",(t=>t.pause())),this.Df("mute",(t=>t.mute())),this.Df("unmute",(t=>t.unmute()));const t=t=>t.requestFullscreen();this.Df("requestFullscreen",t),this.Df("fullscreenenter",t),this.Df("fullscreen",t)}Df(t,n,e=3){this.registerApiAction(t,((t,e)=>{e.trust>=3&&t.userInteracted(),n(t,e)}),e)}},Ke=class extends Ye{};function Xe(){customElements.define("bento-dailymotion",Ke.CustomElement(Ke))}Ke.Component=xn,Ke.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},Ke.layoutSizeDefined=!0,Ke.usesShadowDom=!0;export{Xe 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 s(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function l(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,s,l,u,a,c){return t}function v(t){return(t.ownerDocument||t).defaultView}function m(t){p(/^[\w-]+$/.test(t))}function b(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function y(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 m(n),b(t,`> [${n}]`)}function w(t){return function(t,n){const e=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:d(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(i=n)||i.nodeType===Node.ELEMENT_NODE&&(i.hasAttribute("placeholder")||i.hasAttribute("fallback")||i.hasAttribute("overflow")))&&e.push(n);var i;return e}(t)}var _={bubbles:!0,cancelable:!0};function P(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:s,cancelable:l}=i||_;r.initEvent(n,s,l),t.dispatchEvent(r)}var k,M=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function R(t,n=""){try{return decodeURIComponent(t)}catch(t){return n}}function S(){return k||(k=Promise.resolve(void 0))}var I,C,E,T,O,x,V,j=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}};function z(t){return new Promise((n=>{n(t())}))}var q,$,L,N={},U=[],F=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function D(t,n){for(var e in n)t[e]=n[e];return t}function W(t){var n=t.parentNode;n&&n.removeChild(t)}function H(t,n,e){var i,o,r,s={};for(r in n)"key"==r?i=n[r]:"ref"==r?o=n[r]:s[r]=n[r];if(arguments.length>2&&(s.children=arguments.length>3?I.call(arguments,2):e),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===s[r]&&(s[r]=t.defaultProps[r]);return B(t,s,i,o,null)}function B(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!=C.vnode&&C.vnode(r),r}function Z(t){return t.children}function G(t,n){this.props=t,this.context=n}function J(t,n){if(null==n)return t.__?J(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?J(t):null}function Q(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 Q(t)}}function Y(t){(!t.__d&&(t.__d=!0)&&T.push(t)&&!K.__r++||x!==C.debounceRendering)&&((x=C.debounceRendering)||O)(K)}function K(){for(var t;K.__r=T.length;)t=T.sort((function(t,n){return t.__v.__b-n.__v.__b})),T=[],t.some((function(t){var n,e,i,o,r,s;t.__d&&(r=(o=(n=t).__v).__e,(s=n.__P)&&(e=[],(i=D({},o)).__v=o.__v+1,st(s,o,i,n.__n,void 0!==s.ownerSVGElement,null!=o.__h?[r]:null,e,null==r?J(o):r,o.__h),lt(e,o),o.__e!=r&&Q(o)))}))}function X(t,n,e,i,o,r,s,l,u,a){var c,f,h,d,p,v,m,b=i&&i.__k||U,y=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?B(null,d,null,null,d):Array.isArray(d)?B(Z,{children:d},null,null,null):d.__b>0?B(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<y;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||N,o,r,s,l,u,a),p=d.__e,(f=d.ref)&&h.ref!=f&&(m||(m=[]),h.ref&&m.push(h.ref,null,d),m.push(f,d.__c||p,d)),null!=p?(null==v&&(v=p),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=tt(d,u,t):u=nt(t,d,h,b,p,u),"function"==typeof e.type&&(e.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=J(h))}for(e.__e=v,c=y;c--;)null!=b[c]&&("function"==typeof e.type&&null!=b[c].__e&&b[c].__e==e.__d&&(e.__d=J(i,c+1)),at(b[c],b[c]));if(m)for(c=0;c<m.length;c++)ut(m[c],m[++c],m[++c])}function tt(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?tt(i,n,e):nt(e,i,i,o,i.__e,n));return n}function nt(t,n,e,i,o,r){var s,l,u;if(void 0!==n.__d)s=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),s=null;else{for(l=r,u=0;(l=l.nextSibling)&&u<i.length;u+=2)if(l==o)break t;t.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function et(t,n,e){"-"===n[0]?t.setProperty(n,e):t[n]=null==e?"":"number"!=typeof e||F.test(n)?e:e+"px"}function it(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||et(t.style,n,"");if(e)for(n in e)i&&e[n]===i[n]||et(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?rt:ot,r):t.removeEventListener(n,r?rt:ot,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 ot(t){this.l[t.type+!1](C.event?C.event(t):t)}function rt(t){this.l[t.type+!0](C.event?C.event(t):t)}function st(t,n,e,i,o,r,s,l,u){var a,c,f,h,d,p,v,m,b,y,g,w=n.type;if(void 0!==n.constructor)return null;null!=e.__h&&(u=e.__h,l=n.__e=e.__e,n.__h=null,r=[l]),(a=C.__b)&&a(n);try{t:if("function"==typeof w){if(m=n.props,b=(a=w.contextType)&&i[a.__c],y=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(m,y):(n.__c=c=new G(m,y),c.constructor=w,c.render=ct),b&&b.sub(c),c.props=m,c.state||(c.state={}),c.context=y,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=D({},c.__s)),D(c.__s,w.getDerivedStateFromProps(m,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&&m!==h&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,y),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,y)||n.__v===e.__v){c.props=m,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&&s.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,y),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(h,d,p)}))}c.context=y,c.props=m,c.state=c.__s,(a=C.__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=D(D({},i),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(p=c.getSnapshotBeforeUpdate(h,d)),g=null!=a&&a.type===Z&&null==a.key?a.props.children:a,X(t,Array.isArray(g)?g:[g],n,e,i,o,r,s,l,u),c.base=n.__e,n.__h=null,c.__h.length&&s.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,s,l){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,l=!1}if(null===d)f===h||l&&t.data===h||(t.data=h);else{if(r=r&&I.call(t.childNodes),a=(f=e.props||N).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!l){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||it(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]||it(t,r,n[r],e[r],i)}(t,h,f,o,l),c)n.__k=[];else if(p=n.props.children,X(t,Array.isArray(p)?p:[p],n,e,i,o&&"foreignObject"!==d,r,s,r?r[0]:e.__k&&J(e,0),l),null!=r)for(p=r.length;p--;)null!=r[p]&&W(r[p]);l||("value"in h&&void 0!==(p=h.value)&&(p!==t.value||"progress"===d&&!p)&&it(t,"value",p,f.value,!1),"checked"in h&&void 0!==(p=h.checked)&&p!==t.checked&&it(t,"checked",p,f.checked,!1))}return t}(e.__e,n,e,i,o,r,s,u);(a=C.diffed)&&a(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=l,n.__h=!!u,r[r.indexOf(l)]=null),C.__e(t,n,e)}}function lt(t,n){C.__c&&C.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){C.__e(t,n.__v)}}))}function ut(t,n,e){try{"function"==typeof t?t(n):t.current=n}catch(t){C.__e(t,e)}}function at(t,n,e){var i,o;if(C.unmount&&C.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||ut(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){C.__e(t,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&at(i[o],n,"function"!=typeof t.type);e||null==t.__e||W(t.__e),t.__e=t.__d=void 0}function ct(t,n,e){return this.constructor(t,e)}function ft(t,n,e){var i,o,r;C.__&&C.__(t,n),o=(i="function"==typeof e)?null:e&&e.__k||n.__k,r=[],st(n,t=(!i&&e||n).__k=H(Z,null,[t]),o||N,N,void 0!==n.ownerSVGElement,!i&&e?[e]:o?null:n.firstChild?I.call(n.childNodes):null,r,!i&&e?e:o?o.__e:n.firstChild,i),lt(r,t)}function ht(t,n){ft(t,n,ht)}I=U.slice,C={__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,G.prototype.setState=function(t,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=D({},this.state),"function"==typeof t&&(t=t(D({},e),this.props)),t&&D(e,t),null!=t&&this.__v&&(n&&this.__h.push(n),Y(this))},G.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Y(this))},G.prototype.render=Z,T=[],O="function"==typeof Promise?Promise.prototype.then.bind(S()):setTimeout,K.__r=0,V=0;var dt=0,pt=[],vt=C.__b,mt=C.__r,bt=C.diffed,yt=C.__c,gt=C.unmount;function wt(t,n){C.__h&&C.__h($,t,dt||n),dt=0;var e=$.__H||($.__H={__:[],__h:[]});return t>=e.__.length&&e.__.push({}),e.__[t]}function _t(t){return dt=1,function(t,n,e){var i=wt(q++,2);return i.t=t,i.__c||(i.__=[xt(void 0,n),function(t){var n=i.t(i.__[0],t);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=$),i.__}(xt,t)}function Pt(t,n){var e=wt(q++,3);!C.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,$.__H.__h.push(e))}function At(t,n){var e=wt(q++,4);!C.__s&&Ot(e.__H,n)&&(e.__=t,e.__H=n,$.__h.push(e))}function kt(t){return dt=5,Rt((function(){return{current:t}}),[])}function Mt(t,n,e){dt=6,At((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==e?e:e.concat(t))}function Rt(t,n){var e=wt(q++,7);return Ot(e.__H,n)&&(e.__=t(),e.__H=n,e.__h=t),e.__}function St(t,n){return dt=8,Rt((function(){return t}),n)}function It(){pt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Et),t.__H.__h.forEach(Tt),t.__H.__h=[]}catch(n){t.__H.__h=[],C.__e(n,t.__v)}})),pt=[]}C.__b=function(t){$=null,vt&&vt(t)},C.__r=function(t){mt&&mt(t),q=0;var n=($=t.__c).__H;n&&(n.__h.forEach(Et),n.__h.forEach(Tt),n.__h=[])},C.diffed=function(t){bt&&bt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==pt.push(n)&&L===C.requestAnimationFrame||((L=C.requestAnimationFrame)||function(t){var n,e=function(){clearTimeout(i),Ct&&cancelAnimationFrame(n),setTimeout(t)},i=setTimeout(e,100);Ct&&(n=requestAnimationFrame(e))})(It)),$=null},C.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Et),t.__h=t.__h.filter((function(t){return!t.__||Tt(t)}))}catch(e){n.some((function(t){t.__h&&(t.__h=[])})),n=[],C.__e(e,t.__v)}})),yt&&yt(t,n)},C.unmount=function(t){gt&>(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Et)}catch(t){C.__e(t,n.__v)}};var Ct="function"==typeof requestAnimationFrame;function Et(t){var n=$;"function"==typeof t.__c&&t.__c(),$=n}function Tt(t){var n=$;t.__c=t.__(),$=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,e){return n!==t[e]}))}function xt(t,n){return"function"==typeof n?n(t):n}function Vt(t){return t.children}var jt,zt=["ref"],qt="undefined"!=typeof Symbol&&(null===(jt=Symbol.for)||void 0===jt?void 0:jt.call(Symbol,"react.forward_ref"))||3911,$t=C.__b;function Lt(t){function n(n){const{ref:e}=n,o=i(n,zt);return t(o,e)}return n.$$typeof=qt,n.render=n,n.prototype.isReactComponent=!0,n.v=!0,n}function Nt(t){return(Nt="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 Ut(t){var n=function(t,n){if("object"!==Nt(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!==Nt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Nt(n)?n:String(n)}C.__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==$t||$t(t)};var Ft,Dt=["auto","lazy","eager","unload"],Wt={auto:0,lazy:1,eager:2,unload:3};function Ht(t,n){const e=Wt[t]||0,i=Wt[n]||0,o=Math.max(e,i);return Dt[o]}function Bt(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 Zt(t){let n=null,e="";for(var i,o=a(arguments,!0);!(i=o()).done;){const t=i.value;t instanceof Error&&!n?n=Bt(t):(e&&(e+=" "),e+=t)}return n?e&&(n.message=e+": "+n.message):n=new Error(e),n}function Gt(t){var n,e;null===(n=(e=self).__AMP_REPORT_ERROR)||void 0===n||n.call(e,t)}function Jt(t){const n=Zt.apply(null,arguments);setTimeout((()=>{throw Gt(n),n}))}function Qt(t,...n){try{return t.apply(null,n)}catch(t){Jt(t)}}function Yt(t){const n=Zt.apply(null,arguments);return n.expected=!0,n}function Kt(t,...n){Gt(Yt.apply(null,n))}var Xt,tn=["Webkit","webkit","Moz","moz","ms","O","o"],nn={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function en(t,n,e,i,o){const r=function(t,n,e){if(on(n))return n;Ft||(Ft=h());let i=Ft[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<tn.length;e++){const i=tn[e]+n;if(void 0!==t[i])return i}return""}(t,e);void 0!==t[o]&&(i=o)}e||(Ft[n]=i)}return i}(t.style,n,o);if(!r)return;const s=i?e+i:e;on(r)?t.style.setProperty(r,s):t.style[r]=s}function on(t){return t.startsWith("--")}function rn(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)en(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 Xt||(n={__c:t="__cC"+V++,__:{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(Y)},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}},Xt=n.Provider.__=n.Consumer.contextType=n);var t,n}function ln({children:t,loading:n="auto",notify:e,playable:i=!0,renderable:o=!0}){const r=un(),s=o&&r.renderable,l=s&&i&&r.playable,u=Ht(s?"auto":"lazy",Ht(n,r.loading)),a=e||r.notify,c=Rt((()=>({renderable:s,playable:l,loading:u,notify:a})),[s,l,u,a]);return H(sn().Provider,{children:t,value:c})}function un(){return t=sn(),n=$.context[t.__c],(e=wt(q++,9)).c=t,n?(null==e.__&&(e.__=!0,n.sub($)),n.props.value):t.__;var t,n,e}var an=[null,"paint","layout","content","size","size paint","size layout","strict"],cn={"position":"relative","width":"100%","height":"100%"},fn=Lt((function(t,n){let o="class",{as:r="div",children:s,contentAs:l="div",contentClassName:u,contentProps:a,contentRef:c,contentStyle:f,layout:h=!1,paint:d=!1,size:p=!1,"style":v,wrapperClassName:m,wrapperStyle:b,[o]:y}=t;const g=(p?4:0)+(h?2:0)+(d?1:0);return H(r,e(e({},i(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",o].map(Ut))),{},{ref:n,class:`${y||""} ${m||""}`.trim()||null,style:e(e(e({},v),b),{},{contain:an[g]})}),H(l,e(e({},a),{},{ref:c,class:u,style:e(e({},p&&cn),{},{"overflow":d?"hidden":"visible"},f)}),s))}));function hn(t){const n=kt(null);return n.current=t,n}Lt((function(t,n){let o="class",{as:r="div",children:s,"style":l,wrapperClassName:u,wrapperStyle:a,[o]:c}=t;return H(r,e(e({},i(t,["as","children","style","wrapperClassName","wrapperStyle",o].map(Ut))),{},{ref:n,class:`${c||""} ${u||""}`.trim()||null,style:e(e({},l),a)}),s)}));var dn=self.AMP_CONFIG||{},pn=("string"==typeof dn.thirdPartyFrameRegex?new RegExp(dn.thirdPartyFrameRegex):dn.thirdPartyFrameRegex,("string"==typeof dn.cdnProxyRegex?new RegExp(dn.cdnProxyRegex):dn.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function vn(t){if(!self.document||!self.document.head)return null;if(self.location&&pn.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}dn.thirdPartyUrl,dn.thirdPartyFrameHost,dn.cdnUrl||vn("runtime-host"),dn.errorReportingUrl,dn.betaErrorReportingUrl,dn.localDev,dn.geoApiUrl||vn("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var mn={"title":"","artist":"","album":"","artwork":[{"src":""}]};function bn(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 yn(t){const n=t.querySelector('meta[property="og:image"]');return n?n.getAttribute("content"):void 0}function gn(t){const n=t.querySelector('link[rel="shortcut icon"]')||t.querySelector('link[rel="icon"]');return n?n.getAttribute("href"):void 0}function wn({displayIcon:t,displayOverlay:n,metadata:e,onOverlayClick:i,pause:o,play:r,playing:s,wrapperRef:l}){const{playable:u}=un();return Pt((()=>{if(!u)return void o();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?r().catch((()=>{})):o()}),{threshold:.5});return t.observe(l.current),()=>{t.disconnect()}}),[l,r,o,u]),H(Vt,null,t&&H("div",{class:"eq-0be5b4b"+(s?" eq-playing-0be5b4b":"")},H(_n,null)),n&&H("button",{"aria-label":e&&e.title||"Unmute video",tabIndex:"0",class:"autoplay-mask-button-0be5b4b fill-content-overlay-c645120",onClick:i}))}var _n=function(t){let n=!1,e=null,i=()=>[1,2,3,4].map((t=>H("div",{class:"eq-col-0be5b4b",key:t})));return(...t)=>(n||(e=i.apply(self,t),n=!0,i=null),e)}(),Pn=Lt((function(t,n){let o="class",{autoplay:r=!1,component:s="video",controls:l=!1,loading:u,loop:a=!1,mediasession:c=!0,noaudio:f=!1,onPlayingState:h,onReadyState:d,poster:p,sources:v,src:m,style:b,[o]:y}=t,g=i(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",o].map(Ut));!function(){const{notify:t}=un();At((()=>{t&&t()}))}();const{playable:w}=un(),_=function(t){const{loading:n}=un();return Ht(t,n)}(u),P="unload"!==_,[A,k]=_t(r),[M,R]=_t(!1),[S,I]=_t(null),[C,E]=_t(!r),T=kt(null),O=kt(null),x=Rt((()=>new j),[]),V=kt("loading"),q=hn(d),$=St(((t,n)=>{if(t!==V.current){V.current=t;const e=q.current;e&&e(t,n)}}),[q]),L=hn(h),N=St((t=>{R(t);const n=L.current;n&&n(t)}),[L]);At((()=>{P||N(!1)}),[P,N]);const U=St((()=>x.promise.then((()=>function(t,n){const e=z((()=>t.play(!1)));return e.catch((t=>{Kt(0,t)})),e}(O.current)))),[x]),F=St((()=>{x.promise.then((()=>{var t;return null===(t=O.current)||void 0===t?void 0:t.pause()}))}),[x]),D=St((()=>x.promise.then((()=>O.current.requestFullscreen()))),[x]),W=St((()=>{k(!1),E(!0)}),[]);return At((()=>{var t;const n=null===(t=O.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(mn),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]),Pt((()=>{w||F()}),[w,F]),Mt(n,(()=>({get readyState(){return V.current},play:U,pause:F,requestFullscreen:D,get currentTime(){return O.current?O.current.currentTime:0},get duration(){return O.current?O.current.duration:NaN},get autoplay(){return r},get controls(){return l},get loop(){return a},userInteracted:W,mute:()=>k(!0),unmute:()=>{C&&k(!1)}})),[U,F,D,W,C,r,l,a]),H(fn,{contentRef:T,class:y,style:b,size:!0,layout:!0,paint:!0},P&&H(s,e(e({},g),{},{ref:O,loading:_,muted:A,loop:a,controls:l&&(!r||C),onCanPlay:()=>{x.resolve(),$("complete")},onLoadedMetadata:()=>{c&&x.promise.then((()=>{var t,n;I((t=O.current,e({"title":(n=g).title||n["aria-label"]||document.title,"artist":n.artist||"","album":n.album||"","artwork":[{"src":n.artwork||n.poster||bn(document)||yn(document)||gn(document)||""}]},t&&t.getMetadata?t.getMetadata():Object.create(null))))})),$("complete")},onPlaying:()=>N(!0),onPause:()=>N(!1),onEnded:()=>N(!1),onError:t=>{$("error",t),x.reject(t)},class:"fill-stretch-c645120",src:m,poster:p}),v),r&&!C&&H(wn,{metadata:S,playing:M,displayIcon:!f&&A,wrapperRef:T,play:U,pause:F,displayOverlay:l,onOverlayClick:W}))}));Pn.displayName="VideoWrapper";var An=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],kn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function Mn(t,n,e){t&&t.contentWindow&&n.then((()=>{t.contentWindow.postMessage(e(),"*")}))}var Rn=Lt((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:s=kn,muted:l=!1,controls:u=!1,origin:a,onCanPlay:c,onMessage:f,playerStateRef:h,makeMethodMessage:d,makeFullscreenMessage:p,onIframeLoad:v}=t,m=i(t,An);const b=kt(null),y=Rt((()=>new j),[]),g=kt(d),w=St((t=>{Mn(null==b?void 0:b.current,y.promise,(()=>g.current(t)))}),[y.promise]),_=kt(p),P=St((()=>Mn(null==b?void 0:b.current,y.promise,_.current)),[y.promise]);Mt(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 y.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,y.promise,r]);const A=function(t){const n=kt(null);return n.current=t,n}(f);return At((()=>{if(!b.current)return;function t(t){A.current&&(a&&!a.test(t.origin)||t.source!=b.current.contentWindow||A.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,A]),At((()=>{w(l?"mute":"unmute")}),[l,w]),At((()=>{w(u?"showControls":"hideControls")}),[u,w]),H("iframe",e(e({},m),{},{ref:b,allowfullscreen:!0,frameborder:"0",sandbox:s,loading:o,onCanPlay:()=>{c&&y.promise.then(c),y.resolve()},onLoad:t=>{null==v||v(t)}}))}));Rn.displayName="VideoIframeInternal";var Sn=Lt((function(t,n){return H(Pn,e(e({ref:n},t),{},{component:Rn}))}));function In(t,n){return JSON.stringify({"command":t,"parameters":n})}Sn.displayName="VideoIframe",new Set(["c","v","a","ad"]);var Cn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function En(t){switch(t){case"mute":return In("muted",[!0]);case"unmute":return In("muted",[!1]);case"showControls":return In("controls",[!0]);case"hideControls":return In("controls",[!1]);default:return In(t)}}function Tn({currentTarget:t,data:n}){const e=function(t){const n=h();if(!t)return n;let e;for(;e=M.exec(t);){const t=R(e[1],e[1]),i=e[2]?R(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:s,info:l,mute:u,sharingEnable:a,start:c,uiHighlight:f,uiLogo:h,videoId:d}=t,p=i(t,Cn);const v=Rt((()=>function(t,n,i=!1,o=!0,s=!0,l=!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 s=t[o];if(null!=s){s=r(s);for(let t=0;t<s.length;t++)n.push((e=o,i=s[t],`${encodeURIComponent(e)}=${encodeURIComponent(i)}`))}}var e,i;return n.join("&")}(e({"endscreen-enable":o?void 0:o,"info":s?void 0:s,"mute":l||i&&rn(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,s,l,u,a,c,f,h)),[d,o,s,l,u,a,c,f,h]);return H(Sn,e(e({autoplay:o,controls:!0,ref:n},p),{},{src:v,makeMethodMessage:En,onMessage:Tn}))}));function xn(t,n){let e=!1;const i=()=>{e=!1,t()};return t=>{e||(e=!0,(t||n)(i))}}function Vn(t,n,e,i=!0,o=!0){if(o){const o=n(t,e,i);o&&Vn(t,n,e,o,!1)}else if(t.children)for(var r,s=a(t.children,!0);!(r=s()).done;)Vn(r.value,n,e,i,!0)}On.displayName="BentoDailymotion";var jn=[],zn=()=>{};function qn(t,n){return t.values.scan(n)}function $n(t,n,e){return t.values.scanAll(e)}function Ln(t,n){return t.values.has(n)}function Nn(t){return!!t.recursive}function Un(t){return void 0!==t}var Fn=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Fn(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 Fn.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,Dn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Dn(t))}static rediscoverChildren(t){var n;const e=t.__AMP_NODE;null==e||null===(n=e.children)||void 0===n||n.forEach(Wn)}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.Lf=xn(this.Lf.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 s=r.setters.indexOf(n),l=-1==s||r.values[s]!==e;-1==s?(r.setters.push(n),r.values.push(e)):l&&(r.values[s]=e),l&&(this.ping(t,!1),Nn(t)&&Vn(this.Ze,qn,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),Vn(this.Ze,qn,t))}}has(t){var n;return!(null===(n=this.m)||void 0===n||!n.has(t.key))}subscribe(t,n){const e=this.Nf(t);if(!s(e.subscribers,n))return;const i=e.value;Un(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&&l(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()&&Vn(this.Ze,$n,void 0,jn)}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;Nn(n)&&this.Df(t,null)})))}scan(t){return this.ping(t,!0),!!Nn(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}Nf(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):jn,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.Lf()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):jn,pingParent:Nn(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])}))}Lf(){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 Jt(`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){Jt(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:s}=t;for(var l,u=a(s,!0);!(l=u()).done;)(0,l.value)(n)}Hf(t,n){var e,i;p(this.hi());const{depValues:o,prop:r}=t,{compute:s,defaultValue:l,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=Un(t.parentValue)?t.parentValue:c&&!t.parentContextNode?l:void 0;let h;if(o.every(Un)&&(!c||Un(f))){const{node:t}=this.Ze;a&&!s?h=a[0]:Nn(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))}}(s,t,a||jn,f,o):Un(f)&&(h=f):s&&(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))}}(s,t,a||jn,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=xn(this.Qf.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,e;const i=t.target;i.assignedNodes().forEach(Dn),null===(n=Fn.closest(i))||void 0===n||null===(e=n.children)||void 0===e||e.forEach(Wn)})),this.discover()}discover(){this.isDiscoverable()?this.Jf():this.name&&this.children&&this.children.forEach(Wn)}isDiscoverable(){return!this.isRoot&&!this.Gf}setParent(t){const n=null!=t&&t.nodeType?Fn.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,s=new Fn(r,t);return i.set(t,{cn:s,match:n,weight:e}),s.setParent(this),null==o||o.forEach(Wn),s}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=Fn.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),l(i.children,this)),t){const n=t.children||(t.children=[]);s(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 Dn(t){!function(t,n,e=!0){const i=Fn.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,Wn)}function Wn(t){t.discover()}var Hn=[];function Bn(t,n){const i=e({key:t,deps:Hn,recursive:!1},n);return p(0==i.deps.length||i.compute),i}var Zn=[],Gn=()=>{};function Jn(t,n,e){n=r(n);const i=e;Fn.get(t).subscribe(i,Qn,e,n)}var Qn=class{constructor(t,n,e){if(this.contextNode=t,this.Kf=n,this.Xf=e,this.td=e.length>0?e.map(Gn):Zn,this.nd=e.length>0?e.map(((t,n)=>t=>{this.td[n]=t,this.ed()})):Zn,this._s=!1,this.od=null,this.ed=xn(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(Yn)?(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&&(Qt(this.od),this.od=null)}};function Yn(t){return void 0!==t}function Kn(t){Fn.get(t).discover()}function Xn(t,n,e,i){Fn.get(t).values.set(n,e,i)}function te(t,n,e){Fn.get(t).values.remove(n,e)}function ne(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function ee(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 ie(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 oe,re=/vertical/,se=new WeakMap,le=new WeakMap,ue=new WeakMap;function ae(t){let n=se.get(t);return n||(n=new t.ResizeObserver(ce),se.set(t,n)),n}function ce(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=le.get(o);if(r){ue.set(o,i);for(let t=0;t<r.length;t++){const{callback:n,type:e}=r[t];fe(e,n,i)}}}}function fe(t,n,e){if(0==t){const{contentRect:t}=e,{height:i,width:o}=t;Qt(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=re.test(function(t,n){return t.getComputedStyle(n)||nn}(n,t).writingMode),{offsetHeight:r,offsetWidth:s}=t;let l,u;o?(u=s,l=r):(l=s,u=r),i={inlineSize:l,blockSize:u}}Qt(n,i)}}if("undefined"!=typeof AMP&&.BaseElement)oe=AMP.BaseElement;else{let t;class n{constructor(t){this.element=t,this.win=v(t)}static"CustomElement"(n){return t||(t=HTMLElement),class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){S().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}oe=n}var he=Bn("CanRender",{defaultValue:!0,recursive:t=>t.reduce(ve),compute:(t,n,e)=>e&&n.reduce(ve,!0)||!1}),de=Bn("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(ve),deps:[he],compute:(t,n,e,i)=>i&&e&&n.reduce(ve,!0)||!1}),pe=Bn("Loading",{defaultValue:"auto",recursive:!0,deps:[he],compute:(t,n,e,i)=>Ht(i?"auto":"lazy",Ht(e||"auto",n.reduce(Ht,"auto")))}),ve=(t,n)=>t&&n,me=t=>t.ensureLoaded(),be=t=>t.pause(),ye=t=>t.unmount();function ge(t,n=!0){Pe(t,n,!1,me)}function we(t,n=!0){Pe(t,n,!0,be)}function _e(t,n=!0){Pe(t,n,!0,ye)}function Pe(t,n,e,i){const o=r(t);for(let t=0;t<o.length;t++)Ae(o[t],n,e,i)}function Ae(t,n,e,i){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(Qt(i,n),!e){const t=n.getPlaceholder();return void(t&&Ae(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)Qt(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),Qt(i,n))}}}var ke={},Me=new WeakMap;function Re(t,n,i,o=!1){if(t.setAttribute("slot",n),!o)return H(Se,e(e({},i||ke),{},{name:n}));const r=Me.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 s(t){return H(Se,e(e({},i||ke),{},{name:n},t))}return Me.set(t,{oldProps:i,component:s}),s}function Se(t){const n=kt(null);return function(t,n){const e=null==n?void 0:n.loading,i=un();At((()=>{const n=t.current;return p(d(n)),Xn(n,he,Se,i.renderable),Xn(n,de,Se,i.playable),Xn(n,pe,Se,i.loading),i.playable||Ie(n,we,!0),()=>{var t;te(n,he,Se),te(n,de,Se),te(n,pe,Se),t=n,Fn.rediscoverChildren(t)}}),[t,i]),At((()=>{const n=t.current;return p(d(n)),"lazy"!=e&&Ie(n,ge,!0),()=>{Ie(n,_e,!1)}}),[t,e])}(n,t),Pt((()=>{t.postRender&&t.postRender()})),H("slot",e(e({},t),{},{ref:n}))}function Ie(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 Ce={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Ee=function(){let t=0;return()=>String(++t)}();function Te(t,n){return Object.values(t).some(n)}var Oe=t=>"string"==typeof t||!!t.selector,xe=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function Ve(t,n,i,o,r){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;r&&r.start();const a=e(e({},o),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),s&&(t.usesShadowDom?a.style=Ce:a.class="i-amphtml-fill-content"),je(t,a,u,n,r),r&&r.complete(),a}function je(t,n,e,i,o){if(Te(e,Oe)){const r=w(i);for(let i=0;i<r.length;i++){const s=r[i],l=qe(s,e);if(!l)continue;const u=e[l],{as:a=!1,single:c,name:f=l,clone:h,props:d={}}=u;p(h||t.usesShadowDom);const v={};if(je(t,v,d,s,o),c)n[f]=Re(s,s.getAttribute("slot")||`i-amphtml-${f}`,v,a);else{const t=n[f]||(n[f]=[]);p(!a),t.push(h?ze(s):Re(s,s.getAttribute("slot")||`i-amphtml-${f}-${Ee()}`,v))}}}for(const s in e){const l=e[s];let u;if(p([l.attr,l.attrs,l.attrMatches,l.selector,l.passthrough,l.passthroughNonEmpty].filter(Boolean).length<=1),l.passthrough?(p(t.usesShadowDom),u=[H(Se,{loading:"lazy"})]):l.passthroughNonEmpty?(p(t.usesShadowDom),u=w(i).every(xe)?null:[H(Se,{loading:"lazy"})]):l.attr?(u=i.getAttribute(l.attr),l.media&&null!=u&&(p(o),u=o.resolveListQuery(String(u)))):l.parseAttrs&&(p(l.attrs||l.attrMatches),u=l.parseAttrs(i)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(r=u)?void 0:"false"!==r:u;n[s]=t}}var r}function ze(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 H(i,n)}function qe(t,n){for(const e in n){const i=n[e],o="string"==typeof i?i:i.selector;if(o&&y(t,o))return e}return null}var $e={childList:!0},Le={childList:!0,characterData:!0},Ne={childList:!0},Ue={"style":"display: contents; background: inherit;","part":"c"},Fe={"name":"i-amphtml-svc"},De={"i-amphtml-rendered":""},We=()=>!0,He=t=>!!t.media,Be=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Ze=class extends oe{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){p(!1)}constructor(t){super(t),this.sd={"loading":"auto","onReadyState":(t,n)=>{this.ld(t,n)},"onPlayingState":t=>{this.ud(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}},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.md(t)),this.dd=t,this.bd()},this.yd=null,this.gd=null,this.wd=null,this._d=!1,this.Pd=null,this.Ad=()=>{this._d=!1,this.kd()},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=le.get(t);if(o||(o=[],le.set(t,o),ae(i).observe(t)),!o.some((t=>t.callback===e&&1===t.type))){o.push({type:1,callback:e});const n=ue.get(t);n&&setTimeout((()=>fe(1,e,n)))}}(t,0,n)}(this.xf,this.jf)):function(t,n){!function(t,n,e){const i=le.get(t);if(i&&(function(t,n){const i=[];let o=0;for(let n=0;n<t.length;n++){const s=t[n];(r=s).callback===e&&1===r.type?i.push(s):(o<n&&(t[o]=s),o++)}var r;o<t.length&&(t.length=o)}(i),0==i.length)){le.delete(t),ue.delete(t);const n=t.ownerDocument.defaultView;n&&ae(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=Te(n,Oe)?$e:null,o=Te(n,Be)?Le:null,r=t.usesTemplate?Ne:null;this.observer.observe(this.element,e(e(e({attributes:!0},i),o),r)),this.Ti=Te(n,He)?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,ne,"1")}resolveListQuery(t){return this.$i(t,ee,"")}complete(){for(const t in this.Ui)t in this.Li||ie(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)ie(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),ie(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:s}=t,l=this.init();Object.assign(this.sd,s,l),this.checkPropsPostMutations(),Jn(this.element,[],(()=>()=>{this.ui=!1,this.wd&&ft(null,this.wd)})),Jn(this.element,[he,de,pe],((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&&Jn(this.element,u,((...t)=>{this.gd=t,this.Sd()})),this.Pd=new j,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(){Kn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.fd=!1)}unmountCallback(){var t;Kn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.ud(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.wd&&this.Sd()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this.sd,t),this.Sd()}api(){const t=this.dd;return p(t),t}registerApiAction(t,n,e=2){var i;null===(i=this.registerAction)||void 0===i||i.call(this,t,(t=>{n(this.api(),t)}),e)}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],s=n.attributeName;if(p(s),s==r.attr||null!==(i=r.attrs)&&void 0!==i&&i.includes(s)||null!==(o=r.attrMatches)&&void 0!==o&&o.call(r,s))return!0}return!1}return"childList"==e&&(Ge(n.addedNodes)||Ge(n.removedNodes))}(n,t)));e&&(this.checkPropsPostMutations(),this.Sd())}Sd(){this._d||(this._d=!0,this.mutateElement(this.Ad))}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.ud("complete"==t),this.fd&&(this.fd=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,e;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,e,i,o;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(e=this.toggleFallback)||void 0===e||e.call(this,!0),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)):null===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}kd(){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,m("c"),b(v,"> c"));if(o)this.Md=!0;else{var r,s,l,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=P(e,"c",Ue),i.appendChild(o);const f=P(e,"slot",Fe);i.appendChild(f),null===(r=this.getPlaceholder)||void 0===r||null===(s=r.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.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){Fn.get(t).setParent(n)}(i,this.element),function(t,n,e,i=0){Fn.get(t).addGroup(n,e,i)}(this.element,"unslotted",We,-1),f=this.element,h=he,null===(d=Fn.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")||P(e,o,De);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 y=this.wd;p(y);const{useContexts:w}=t,_=this.gd;if(0!=w.length&&null==_)return;const k=Ve(t,this.element,this.pd,this.sd,this.Ti);if(this.updatePropsForRendering(k),!this.isReady(k))return;let M=H(t.Component,k);for(let t=0;t<w.length;t++){p(_);const n=w[t].type,e=_[t];e&&(M=H(n.Provider,{value:e},M))}const R=H(ln,e({},this.ad),M);if(this.Md)this.Md=!1,ht(R,y);else{const t=o?g(y,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ft(R,y,null!=t?t:void 0)}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.sd,i=t,c.call(e,i)?this.sd[t]:n;var e,i}getApi(){const t=this.hd;return t?Promise.resolve(t):(this.yd||(this.yd=new j),this.yd.promise)}md(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.yd&&(this.yd.resolve(n),this.yd=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)}}ud(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 Ge(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}t(Ze,"staticProps",void 0),t(Ze,"useContexts",[]),t(Ze,"loadable",!1),t(Ze,"unloadOnPause",!1),t(Ze,"layoutSizeDefined",!1),t(Ze,"lightDomTag",""),t(Ze,"usesTemplate",!1),t(Ze,"shadowCss",null),t(Ze,"usesShadowDom",!1),t(Ze,"detached",!1),t(Ze,"delegatesFocus",!1),t(Ze,"props",{});var Je=class extends Ze{};Je.Component=Pn,Je.loadable=!0,Je.layoutSizeDefined=!0,Je.staticProps,Je.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}},Je.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)}}',Je.usesShadowDom=!0;var Qe=class extends Je{init(){this.Cd("play",(t=>t.play())),this.Cd("pause",(t=>t.pause())),this.Cd("mute",(t=>t.mute())),this.Cd("unmute",(t=>t.unmute()));const t=t=>t.requestFullscreen();this.Cd("requestFullscreen",t),this.Cd("fullscreenenter",t),this.Cd("fullscreen",t)}Cd(t,n,e=3){this.registerApiAction(t,((t,e)=>{e.trust>=3&&t.userInteracted(),n(t,e)}),e)}},Ye=class extends Qe{};function Ke(){customElements.define("bento-dailymotion",Ye.CustomElement(Ye))}Ye.Component=On,Ye.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},Ye.layoutSizeDefined=!0,Ye.usesShadowDom=!0;export{Ke as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
{ | ||
"name": "@bentoproject/dailymotion", | ||
"version": "1.2112231523.2", | ||
"version": "1.2201071715.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
1249486
14884