(v||"true"===I.dataset.hasAlpha)||A?t.mutationService.measure((function(){var e=K(T,I,d,a,o,h,l,s,i.staticVideoUrl,c,u),r=e.videoSourceUrl,n=e.needsSrcUpdate,f=e.videoStyle;t.mutationService.mutate((function(){ee(_,A,T,f,y,r,n,p,u,b,m)}))})):requestAnimationFrame((function(){return e.reLayout()}))}else this.observeChildren(this)}},u.attributeChangedCallback=function(e,t){t&&this.reLayout()},o=a,c=[{key:"observedAttributes",get:function(){return["data-video-info"]}}],(s=null)&&ne(o.prototype,s),c&&ne(o,c),a}(e)};function oe(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function se(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function ce(e,t){void 0===customElements.get(e)&&customElements.define(e,t)}function ue(e,t,i){ce("wix-image",J(e,t,i))}function le(e,t,i){ce("wix-bg-image",m(e,t,i))}function he(e,t,i,r){ce("wix-bg-media",v(e,function(e){for(var t=1;t0?Math.floor(t.labelWidths[e+i+"label"]+n):0})),s=o.pop(),c=i.sameWidthButtons,u=i.stretchButtonsToMenuWidth,l=!1,h=t.menuItemContainerMargins,d=t.menuItemMarginForAllChildren,p=t.menuItemContainerExtraPixels,g=function(e){return e.reduce((function(e,t){return e>t?e:t}),-1/0)}(o),m=y(a,c,u,o,h,g,d,p);if(!m){for(var b=1;b<=o.length;b++)if(m=y(a,c,u,o.slice(0,-1*b).concat(s),h,g,d,p)){l=!0;break}m||(l=!0,m=[s])}if(l){var v=m[m.length-1];for(m=m.slice(0,-1);m.length