"use strict";define("page",["lodash","santaProps","mediaCommon","containerCommon"],function(i,e,s,o){var p=o.mixins.containerMixin;return{displayName:"WixPage",mixins:[s.mediaLogicMixins.fill,p],propTypes:{id:e.Types.Component.id,compData:e.Types.Component.compData,compDesign:e.Types.Media.Popup.data,compStaticBehaviors:e.Types.Component.compStaticBehaviors,isMobileView:e.Types.isMobileView.isRequired,isMobileDevice:e.Types.Device.isMobileDevice.isRequired,closePopupPage:e.Types.popupPage.close,siteScrollingBlocker:e.Types.SiteAspects.siteScrollingBlocker.isRequired,markVisitedPage:e.Types.Page.markVisitedPage,mediaQuality:e.Types.Media.Popup.mediaQuality},statics:{useSantaTypes:!0,behaviors:s.mediaBehaviors.fill},componentDidMount:function(){this.props.compData.isPopup&&this.props.isMobileView&&this.props.isMobileDevice&&this.props.siteScrollingBlocker.setSiteScrollingBlocked(this,!0),this.props.markVisitedPage&&this.props.markVisitedPage(this.props.id)},componentWillUnmount:function(){this.props.compData.isPopup&&this.props.isMobileView&&this.props.isMobileDevice&&this.props.siteScrollingBlocker.setSiteScrollingBlocked(this,!1)},shouldCloseOverlay:function(e){return i.get(this.props,["compProp",e,"popup","closeOnOverlayClick"])},getBalataProps:function(){var i=this.props.isMobileView?"mobile":"desktop";return{id:this.props.id,onClick:this.shouldCloseOverlay(i)?this.props.closePopupPage:null,bgStyle:s.popupMediaStyle}},getSkinProperties:function(){return this.props.compData.isPopup?{"":{style:{position:"relative"}},inlineContent:{children:this.props.children,style:{pointerEvents:"none"}},bg:this.createFillLayers(this.getBalataProps())}:{inlineContent:{children:this.props.children}}}}}); //# sourceMappingURL=page.min.js.map