define("layout",["lodash","zepto","experiment","warmupUtils","warmupUtilsLib","image-client-api","santa-components-layout"],function(e,t,i,n,r,o,a){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=817)}({0:function(t,i){t.exports=e},11:function(e,t){e.exports=r},130:function(e,t,i){var n,r;n=[i(0),i(7),i(14),i(11),i(21),i(245)],void 0===(r=function(e,t,i,n,r,o){"use strict";var a=n.mediaConsts.balataConsts;function s(t,i,n,o,a,s){var u=a.mobile.getDevicePixelRatio(),c={width:o.width,height:o.height,alignment:i,htmlTag:s||"bg",pixelAspectRatio:u},d={id:n.uri,width:n.width,height:n.height},g=e.defaults({quality:85},n.quality||{});return r.getData(t,d,c,g,a.browser)}return i.registerRequestToMeasureChildren("wysiwyg.viewer.components.BgImageStrip",[["bg"]]),{measureLegacyBgImageStrip:function(e,i,n){var r=n[e+"bg"];r&&(i.custom[e]={fittingType:t(r).data("fittingType"),alignType:t(r).data("alignType")},o.cacheCssImageMeasureData(i.custom[e],r))},measureBgImageBalata:function(e,i,n){var r=e+a.MEDIA+a.IMAGE,s=t(n[r]).data("tiledImageInfo");s.imageData.displayMode=s.displayMode,i.custom[r]={type:a.BG_IMAGE,imageInfo:s},o.cacheCssImageMeasureData(i.custom[r],n[r])},patchBgImage:function(e,t,i,n,r){var a=n.custom[t].imageInfo,u=s(a.fittingType,a.alignType,a.imageData,{width:n.width[t],height:n.height[t]},r,"bg");o.patchCssImage(n.custom[t],t,i,u.css.container,u.uri,r)},patchLegacyBgImageStrip:function(e,t,i,r,a,u){var c,d=i.custom[e],g=e+"bg";if(d){var h=r.dataItem;if(!h||!(c=h.uri)||n.urlUtils.isExternalUrl(c))return;var l=s(d.fittingType,d.alignType,h,u,a);o.patchCssImage(d,g,t,l.css.container,l.uri,a)}}}}.apply(t,n))||(e.exports=r)},14:function(e,t,i){var n,r;function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t=10)return!0;var u=t.mapValues(e,function(e,t){return s.dataUtils.findCompInStructure(n.structure,r,function(e){var i=e.id;return t===i})});if(!t.every(u)||t.some(u,function(e){var t=e.componentType;return c.componentHasCustomMeasure(t)||c.componentHasCustomPatcher(t)}))return!0;var d,g,h,l=i.measureMap,p={pageBottomByComponents:{},collapsed:{},isHidden:{},height:{},width:{},availHeight:{},availWidth:{},innerWidth:{},innerHeight:{},custom:{},containerHeightMargin:{},minHeight:{},minWidth:{},top:{},left:{},absoluteTop:{},absoluteLeft:{},fixed:{},shownInFixed:{},zIndex:{},isDeadComp:{},clientWidth:0,skipPatch:{},shrinkableContainer:{},injectedAnchors:{}},m=n.getDomNodeFunc,f=n.pageId,w=H(i.siteId,e);return t.forEach(e,function(e,t){!function(e){var t=u[e],n=C(t,i,f);A(t,m,w),E(n,m,p,w,t,o({},e,!0),i)}(t)}),d=l,g=p,h=["top","height","width","left"],!t.every(a,function(e){return t.every(h,function(t){return d[t][e]===g[t][e]})})}function L(e,i,n){var r=t.last(e),o={};i[r.id]&&t.assign(o,function(e,i){var n=null,r=t.last(e);if(r&&e.length>1){var o=t.get(e,e.length-2);"wysiwyg.viewer.components.Group"===o.componentType&&((n={})[o.id]=!0)}return r&&M[r.componentType]?t.defaults({},n,M[r.componentType](e,i)):n}(e,n));var a=s.dataUtils.getChildrenData(r,n);return t.forEach(a,function(r){t.assign(o,L(e.concat([r]),i,n))}),o}function W(e,n,r,o,a){var u={};return t.assign(u,n,r,i.HARD_WIRED_COMPS_TO_RELAYOUT,s.arrayUtils.toTrueObj(o)),t.assign(u,function(e,i,n){var r={};return t.forOwn(i,function(i){t.assign(r,L([i.structure],e,n))}),r}(u,e,a)),u}function F(e){var i=t(e).values().flatMap(t.keys).value();return s.arrayUtils.toTrueObj(i)}var k=function(e){return!t.isEmpty(t.get(e,"inner.pageId"))||!t.isEmpty(e.pageId)};return{registerLayoutInnerCompsFirst:function(e,t,i){m[e]={measure:t,patch:i}},registerMeasureChildrenFirst:function(e,t){f[e]=t},registerPatcher:function(e,t){c.registerPatcher(e,t)},registerPatchers:function(e,t){c.registerPatchers(e,t)},registerCustomMeasure:function(e,t){c.registerCustomMeasure(e,t)},registerCustomLayoutFunction:function(e,t){c.registerCustomLayoutFunction(e,t)},registerCustomDomChangesFunction:c.registerCustomDomChangesFunction,registerAdditionalMeasureFunction:function(e,t,i){c.registerAdditionalMeasureFunction(e,t,i)},registerRequestToMeasureDom:function(e){c.registerRequestToMeasureDom(e)},registerPureDomWidthMeasure:c.registerPureDomWidthMeasure,registerPureDomHeightMeasure:c.registerPureDomHeightMeasure,registerRequestToMeasureChildren:function(e,t){c.registerRequestToMeasureChildren(e,t)},registerShapesMeasureFunction:function(e,i){t.forEach(e,function(e){return c.registerAdditionalMeasureFunction(e,i)})},updateBodyNodeStyle:d.updateBodyNodeStyle,reportPresetIframes:g.reportPresetIframes,reLayout:function(e,a,u,c,d){var m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t.noop,f=void 0,y=void 0,v=void 0,M=void 0,S=!0;if(d.measure(function(){r.loggingUtils.performance.start(w),window.document.body.offsetWidth;var g=d.isMobileView();if(d.isMesh){if(l.isOpen("bv_partialRelayoutOptimization")&&!(S=O(c,d,e.inner)))return;c=null}delete e[void 0],y=H(d.siteId,c),f=c?function(e,i){return t.forOwn(i,function(t,i){delete e.top[i],delete e.height[i],delete e.zIndex[i]}),e}(d.measureMap,t.assign(c,i.HARD_WIRED_COMPS_TO_RELAYOUT)):{pageBottomByComponents:{},collapsed:{},isHidden:{},height:{},width:{},availHeight:{},availWidth:{},innerWidth:{},innerHeight:{},custom:{},containerHeightMargin:{},minHeight:{},minWidth:{},top:{},left:{},absoluteTop:{},absoluteLeft:{},fixed:{},shownInFixed:{},zIndex:{},isDeadComp:{},clientWidth:0,skipPatch:{},shrinkableContainer:{},injectedAnchors:{}},B(d,f);var p=R(e,f,y,u,a,c,d);c&&(c=W(e,c,p,d.getAllRenderedRootIds(),g)),function(e,i,n,r,o){t.forOwn(e,function(e){T(e.structure,e.getDomNodeFunc,i,n,e.pageId,r,o)})}(e,f,y,c,d),function(e,i){var n=t.filter(t.values(i),k);t.forEach(n,function(t){var i=t.pageId||t.inner.pageId;e.shrinkableContainer[i]=!0,e.left[i]=0})}(f,e),v=h(d);var m=d.getLayoutMechanism()===s.siteConstants.LAYOUT_MECHANISMS.ANCHORS;M=m?n.enforceAllStructures(e,f,d,a,u,c):function(e,i,n){return t.mapValues(e,function(e){return function e(r,a){return t.has(i.height,a.id)?t.assign(o({},a.id,a),r,t.reduce(s.dataUtils.getChildrenData(a,n),e,{})):r}({},e.structure)})}(e,f,g),P(e,f,y,g)}),!S){var C={measureMap:f,reLayoutedCompsMap:{}};return g.setIframesSrc(d),m(C),C}return d.mutate(function(){b(e,f,y,M,d),d.imageLoader.loadAllImages(d),d.measureMap=f,g.setIframesSrc(d),v(),p[d.siteId]=y,r.loggingUtils.performance.finish(w,d.isViewerMode());var t={measureMap:f,reLayoutedCompsMap:F(M)};return m(t),t})},enforceAndPatch:function(e,t){var i=t.measureMap,r=n.enforceAllStructures(e,i,t,!1,null,{}),o=p[t.siteId];return P(e,i,o,t.isMobileView()),b(e,i,o,r,t),F(r)},enforceAnchors:i.enforceAnchors}}.apply(t,n))||(e.exports=r)},21:function(e,t){e.exports=o},242:function(e,t,i){var n,r;n=[i(0),i(818)],void 0===(r=function(e,t){"use strict";var i="BOTTOM_TOP",n="BOTTOM_PARENT",r=10,o=["Page","Document"],a={MOBILE:{"mobile.core.components.MasterPage":!0,"wysiwyg.viewer.components.HeaderContainer":!0,"wysiwyg.viewer.components.SiteRegionContainer":!0,"wysiwyg.viewer.components.PagesContainer":!0,"wysiwyg.viewer.components.PageGroup":!0,"wysiwyg.viewer.components.FooterContainer":!0,"wysiwyg.viewer.components.SiteBackground":!0},DESKTOP:{"mobile.core.components.MasterPage":!0,"wysiwyg.viewer.components.HeaderContainer":!0,"wysiwyg.viewer.components.PagesContainer":!0,"wysiwyg.viewer.components.PageGroup":!0,"wysiwyg.viewer.components.FooterContainer":!0,"wysiwyg.viewer.components.SiteBackground":!0}};function s(e,t){return(t?a.MOBILE:a.DESKTOP)[e.componentType]}var u={};function c(e,t,i,n){return t!==i&&(n.dirty[e]=!0,n.changedCompsMap[e]=n.flat[e]),n.dirty[e]}function d(t,i,n,r){var o=n[r.targetComponent],a=n[i];r.notEnforcingMinValue&&!e.isEmpty(a)&&(r.notEnforcingMinValue=!1),o[i]=t;var s=Math.max.apply(null,e.values(o));return r.notEnforcingMinValue&&delete o[i],s}function g(e,t,i,n,r){var o=e.targetComponent,a=t.valueForFirstLockedAnchor[o];a&&(e.locked||null===r?(a.pusherId&&(i[o]={},i[o][a.pusherId]=a.value),delete t.valueForFirstLockedAnchor[o]):(a.pusherId=n,a.value=Math.max(r,a.value)))}function h(e,t){return t-=(t-e)%1}function l(t,i){return e.has(t.currentHeight,i)}function p(t,r){return function(t,r){return e.get(t.collapsed,r.fromComp,!1)&&e.includes([i,n],r.type)}(t,r)?0:r.distance}function m(e,t,i,n){var o=void 0;return n.shrinkableContainer[i]?o=t:e.locked?o=t+p(n,e):(o=t+r,n.ignoreOriginalValue[i]||(o=Math.max(o,e.originalValue))),o}function f(t,i,n,r){var o=t;return e.isNumber(r.minHeight[i])&&t2&&void 0!==arguments[2]?arguments[2]:{},a=arguments[3],c=arguments[4],d=arguments[5],g=arguments[6],h=arguments[7],l=t.getDataForAnchorsAndSort(i,n,a),p=l.structureData,m=l.sortedIds,f=e.invert(m);p.dirty={},p.toTopAnchorsY={},p.toBottomAnchorsHeight={},p.locked=d,p.changedCompsMap=p.flat,p.ignoreBottomBottom=!!h,e.forEach(p.flat,function(e,t){p.dirty[t]=!0,p.toTopAnchorsY[t]={},p.toBottomAnchorsHeight[t]={}}),g&&(p.changedCompsMap=e.pick(p.flat,e.keys(g)));var w=function(t,i,n,r,o,a,c){var d=!1;function g(t){var g=function(e,t,i){return"masterPage"===e?[]:i.injectedAnchors[e]||t[e]||[]}(t,r,n),h=Number.MAX_VALUE;return!n.dirty[t]||o&&!s(n.flat[t],c)||e.forEach(g,function(e){if(u[e.type]&&n.flat[e.targetComponent]&&(!o||s(n.flat[e.targetComponent],c))){e.targetComponent===a&&(d=!0);var r=u[e.type](t,e,n)?i[e.targetComponent]:Number.MAX_VALUE;h=Math.min(r,h)}}),n.dirty[t]=!1,h}for(var h=t.length,l=0;l0&&void 0!==arguments[0]?arguments[0]:[],i=o.get(e)||[];o.set(e,i.concat(t))}}),y={};function v(e){return"fixed"===e.position}function M(t,i,n,r){var o=e.get(r,"layout.width",0);!function(e){return g[e.componentType]||a.isHorizontallyStretched(e.layout)}(r)?!function(e){return d[e.componentType]}(r)&&e.get(r,"layout.width")?t.width[i]=o:t.width[i]=Math.max(n.offsetWidth,o):t.width[i]=n.offsetWidth}function S(t,i,n,r){var o=e.get(r,"layout.height",0),s=e.get(r,"layout.aspectRatio",0);s&&(o=s*t.width[i]),!function(e){return h[e.componentType]||a.isVerticallyStretched(e.layout)}(r)?!function(e){return d[e.componentType]}(r)&&e.get(r,"layout.height")?t.height[i]=o:t.height[i]=Math.max(n.offsetHeight,o):t.height[i]=n.offsetHeight}function C(t,i,r,o,a){if(o.isDeadComp[t])!function(t,i,n,r){var o=e.get(r,"layout.width",0),a=e.get(r,"layout.height",0);t.width[i]=o,t.height[i]=a}(o,t,0,r);else{var s=window.getComputedStyle(i);!function(e,t,i,n){v(n)&&(e.fixed[t]=!0,e.top[t]=i.offsetTop,e.left[t]=i.offsetLeft)}(o,t,i,s),function(e,t,i){var n=i.zIndex;"auto"!==n&&(n=parseFloat(n),isNaN(n)||(e.zIndex[t]=n))}(o,t,s),M(o,t,i,r),S(o,t,i,r),a.getLayoutMechanism()===n.siteConstants.LAYOUT_MECHANISMS.MESH&&function(e,t,i){e.top[t]=i.offsetTop}(o,t,i),v(s)||(o.left[t]=function(t,i){var r=e.get(t,"layout.x",0),o=i.offsetLeft,a=n.contentAreaUtil.getContentAreaMarkerForElement(i);return a&&(o-=a.offsetLeft),Math.abs(r-o)<=.5?r:o}(r,i))}}function I(e){return e.getAttribute("data-dead-comp")}function b(e,t){if(!e)return!1;var i=t(e);return i||!1}var T=function(n,r,o){var a,s,u,c=w(r),d=i.constants.COMP_LAYOUT_OPTIONS.CHANGES_TYPES,g=[d.data];if(e.isFunction(o))c([o]);else if(e.isArray(o)){var h=e(o).reject(function(t){return e.isEmpty(t.changes)}).map(function(e){return e.id=e.node.getAttribute("id"),e}).value();a=h,s=Object.keys(d),u=a.map(function(i){var n=i.type,r=i.node,o=i.changes;if(!s.includes(n))throw new Error("can not use type "+n+" for patching. only types "+s+" are allowed");return g.includes(n)?function(){var i=t(r);e.forOwn(o,function(e,t){i[n](t,e)})}:function(){return t(r)[n](o)}}),c(u),function(t){var i,r={height:"height","min-height":"minHeight","min-width":"minWidth",width:"width",top:"top"},o=Object.keys(r);e(t).filter({type:d.css}).map(function(t){var i=t.id,n=t.changes,a=e.pick(n,o);return e(a).mapKeys(function(e,t){return r[t]}).transform(function(e,t,n){e[n]=e[n]||{},e[n][i]=t},{}).value()}).forEach((i=n,function(t){return e.merge(i,t)}))}(h)}};function A(e,t){y[e]&&console.warn(e+" is already registered to 'registerCustomLayoutFunction'"),y[e]=t}return{patchComponent:function(t,i,n,o,c){var d=c.getLayoutMechanism(),g=t.id,h=t.layout,l=t.type;if(d===f&&function(t,i,n,o,u){var c={};if(u){var d="wysiwyg.viewer.components.MediaContainer"!==i&&(!a.isVerticallyDocked(u)||a.isVerticallyStretchedToScreen(u));r.isOpen("tpaPopup_anchors")&&(d="wysiwyg.viewer.components.tpapps.TPAPopup"!==i&&d),d&&(c.top=s(o.top[t])),a.isVerticallyStretched(u)&&!a.isVerticallyStretchedToScreen(u)||(c.height=s(o.height[t])),e.isEmpty(c)||n.css(t,c)}}(g,l,i,o,h),r.isOpen("sv_noSpecificCompLayout",c))return!1;var p=n[t.id],w=m.get(p);e.forEach(w,function(e){return e(i)}),!o.isDeadComp[g]&&u[t.type]&&u[t.type](g,i,o,t,c)},measureComponent:function(i,n,r,o,a,s){var u=n.id,d=b(u,r);if(d&&(m.set(d,[]),a[u]=d,o.isDeadComp[u]=I(d),C(u,d,i,o,s),!o.isDeadComp[u]&&!s.isExperimentOpen("sv_noSpecificCompLayout"))){var g,h,l,f=e.get(i,["layout","docked"]),w=f&&f.right&&f.left;o.relativeToScreenOverrides&&o.relativeToScreenOverrides[u]&&delete o.relativeToScreenOverrides[u],w&&!function(t,i){return t.isMobileView()&&e.get(i,["layout","fixedPosition"])}(s,i)&&e.merge(o,{relativeToScreenOverrides:(g={},h=u,l={x:d.getBoundingClientRect().left},h in g?Object.defineProperty(g,h,{value:l,enumerable:!0,configurable:!0,writable:!0}):g[h]=l,g)}),c[n.type]&&c[n.type](u,o,a,n,s),function(t,i,n,r,o,a){if(p[t]){var s=p[t];e.isFunction(s)?s(i,n,r,o,a):e.isPlainObject(s)&&e.forEach(e.values(s),function(e){return e(i,n,r,o,a)})}}(n.type,u,o,a,s,n);var v=s.getLayoutFunc(d);v&&T(o,d,v(d,t)),y[n.type]&&T(o,d,y[n.type](u,a,o,s,n))}},measureComponentChildren:function(t,i,n,r,o){var a=t.id,s=b(a,i);if(s&&!I(s)&&l[t.type]){var u=l[t.type];"function"==typeof u&&(u=u(a,r,t,o)),e.forEach(u,function(s){var u=e.isPlainObject(s),d=u?s.pathArray:s,g=i.apply(void 0,[a].concat(d))||i.apply(void 0,[a,"component"].concat(d)),h=d.join(""),l=a+h;g?(r[l]=g,n.height[l]=g.offsetHeight,n.width[l]=g.offsetWidth,u&&c[s.type]&&c[s.type](l,n,r,t,o)):(delete n.height[l],delete n.width[l],delete n.custom[l],delete r[l])})}},isComponentDead:I,componentHasCustomMeasure:function(e){return!!c[e]},componentHasCustomPatcher:function(e){return!!u[e]},registerPatcher:function(e,t){u[e]=t},registerPatchers:function(t,i){u[t]=function(){var t=arguments;e.forEach(i,function(e){e.apply(null,t)})}},registerCustomMeasure:function(e,t){c[e]=t},registerCustomLayoutFunction:A,registerCustomDomChangesFunction:function(e,t){A(e,function(e,i){return t(i[e])})},registerRequestToMeasureDom:function(e){d[e]=!0},registerPureDomWidthMeasure:function(e){g[e]=!0},registerPureDomHeightMeasure:function(e){h[e]=!0},registerRequestToMeasureChildren:function(e,t){l[e]=t},registerAdditionalMeasureFunction:function(t,i,n){e.isString(n)&&!e.isEmpty(n)?(p[t]=e.isPlainObject(p[t])?p[t]:{},p[t][n]=i):p[t]=i}}}.apply(t,n))||(e.exports=r)},245:function(e,t,i){var n,r;n=[i(0),i(7),i(11)],void 0===(r=function(e,t,i){"use strict";var n=250,r=i.mediaConsts.balataConsts;function o(e,t,i,n){if(n===r.BG_IMAGE&&i){var o=new Image;o.onload=e.css.bind(null,t,{backgroundImage:'url("'+i+'")'}),o.src=i}else e.attr(t,{src:i})}return{cacheCssImageMeasureData:function(i,n){var r=t(n);i.type=i.type||r.data("type"),i.currentCss=r.data("image-css"),i.currentCss&&e.isString(i.currentCss)&&(i.currentCss=JSON.parse(i.currentCss)),i.previousBackgroundImageCssUrl=r.css("backgroundImage")},patchCssImage:function(t,r,a,s,u,c){if(function(t,i){return i&&(!t||e.some(i,function(e,i){return e!==t[i]}))}(t.currentCss,s)){a.css(r,s);var d=e.defaults(s,t.currentCss);a.data(r,{"image-css":JSON.stringify(d)})}var g,h,l=function(e,t){return e?i.urlUtils.isExternalUrl(e)?e:i.urlUtils.joinURL(t.getStaticMediaUrl(),e):""}(u,c);g=t.previousBackgroundImageCssUrl,h=l,e.includes(g,h)&&Boolean(g)===Boolean(h)||function(t,i,r,a,s){var u=r.previousBackgroundImageCssUrl;s.imageResizeHandlers=s.imageResizeHandlers||{},u&&a?(s.imageResizeHandlers[t]||(s.imageResizeHandlers[t]=e.debounce(o,n,{trailing:!0})),s.imageResizeHandlers[t](i,t,a,r.type)):o(i,t,a,r.type)}(r,a,t,l,c)}}}.apply(t,n))||(e.exports=r)},246:function(e,t,i){var n,r;function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}n=[i(0),i(21),i(11)],void 0===(r=function(e,t,i){"use strict";var n,r=i.mediaConsts.balataConsts.VIDEO,a=t.alignTypes,s=(o(n={},a.CENTER,function(e){return{left:e.horizontalMiddle,top:e.verticalMiddle}}),o(n,a.LEFT,function(e){return{left:0,top:e.verticalMiddle}}),o(n,a.RIGHT,function(e){return{left:e.horizontalRight,top:e.verticalMiddle}}),o(n,a.TOP,function(e){return{left:e.horizontalMiddle,top:0}}),o(n,a.BOTTOM,function(e){return{left:e.horizontalMiddle,top:e.verticalBottom}}),o(n,a.TOP_LEFT,function(){return{left:0,top:0}}),o(n,a.TOP_RIGHT,function(e){return{left:e.horizontalRight,top:0}}),o(n,a.BOTTOM_LEFT,function(e){return{left:0,top:e.verticalBottom}}),o(n,a.BOTTOM_RIGHT,function(e){return{left:e.horizontalRight,top:e.verticalBottom}}),n);function u(t,i,n){var r=e.uniqBy([].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);ti*n})||e.last(t)).quality}function c(e,t,i){"fade"===i&&(t.style.transition="opacity 1.6s ease-out"),t.style.opacity="0",e.style.opacity="1"}return{patchBgVideo:function(e,t,i,n,o){var a=n.custom[e],s=a.videoStyle,u=a.videoSourceUrl,d=a.videoNode,g=a.posterNode,h=a.isVideoDataExists,l=a.videoFormat,p=a.autoPlay,m=a.animatePoster,f=a.isEditorMode,w=a.needsSrcUpdate,y=a.hasRemovePosterHandler,v=!o&&a.autoPlay;if(h){var M=void 0!==n.width[t];i.attr(e+r,{width:s.width,height:s.height,autoplay:!(!v||M)||null}),i.css(e+r,s),M?i.css(t,s):function(e,t,i,n,r,o){o&&t.paused&&(i.style.opacity="1",t.style.opacity="0"),(e||o)&&(r?t.ontimeupdate=function(){t.currentTime>0&&(t.addEventListener("seeked",function e(){t.ontimeupdate=null,t.removeEventListener("seeked",e),c(t,i,n)}),t.currentTime=0)}:t.onplay=function(){t.onplay=null,c(t,i,n)})}(w||!y&&"hls"===l,d,g,m,p,f),function(e,t,i){e&&(t.src=i,t.load())}(w,d,u)}else!function(e,t){"mp4"===t&&(e.src="",e.load())}(d,l)},measureBgVideo:function(n,o,a,c,d){var g=d[o+r],h=d[a];c.custom[o]={};var l=JSON.parse(d[o].dataset.videoInfo),p=l.isVideoDataExists,m=l.videoWidth,f=l.videoHeight,w=l.qualities,y=l.staticVideoUrl,v=l.videoId,M=l.videoFormat,S=l.alignType,C=l.fittingType,I=l.hasBgScrollEffect,b=l.autoPlay,T=l.animatePoster,A=l.isEditorMode,x=l.isViewerMode;if(p){var E=I?c.width[n]:c.width[o],P=c.height[o],D=parseInt(m,10),R=parseInt(f,10),_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.fittingTypes.SCALE_TO_FILL,i=arguments[1],n=arguments[2],r=arguments[3],o=void 0;switch(e){case t.fittingTypes.SCALE_TO_FILL:o=Math.max(i.wScale,i.hScale);break;case t.fittingTypes.SCALE_TO_FIT:o=Math.min(i.wScale,i.hScale)}return{width:Math.round(n*o),height:Math.round(r*o)}}(C,function(e,t,i,n){return{wScale:e/i,hScale:t/n}}(E,P,D,R),D,R),B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.alignTypes.CENTER,i=arguments[1],n=arguments[2],r=n.width,o=n.height,a=i.width,u=i.height;return s[e]({verticalMiddle:Math.round((o-u)/2),horizontalMiddle:Math.round((r-a)/2),verticalBottom:o-u,horizontalRight:r-a})}(S,_,{width:E,height:P}),H=u(w,_.width,_.height),O={width:_.width,height:_.height,left:B.left,top:B.top},L=g.error&&g.networkState===g.NETWORK_NO_SOURCE&&!x,W=function(t,n,r,o,a){if("mp4"===a){var s=e.keyBy(t,"quality")[n];return s.url?i.urlUtils.joinURL(r,s.url):i.urlUtils.joinURL(r,o,n,"mp4","file.mp4")}return""}(w,H,y,v,M),F=function(e,t,i){var n=!e.currentSrc.endsWith(t);return t&&(n||i)}(g,W,L);c.custom[o]={hasRemovePosterHandler:!!g.ontimeupdate,isVideoDataExists:p,videoSourceUrl:W,needsSrcUpdate:F,videoNode:g,posterNode:h,videoFormat:M,autoPlay:b,animatePoster:T,videoStyle:O,isEditorMode:A}}else c.custom[o]={videoNode:g,isVideoDataExists:p}}}}.apply(t,n))||(e.exports=r)},247:function(e,t,i){var n,r;n=[i(14)],void 0===(r=function(e){"use strict";function t(e,t,n){t.left[e]=0,i(e,t,n)}function i(e,t,i){var n=t.height[e+"inlineContent"]||0;t.containerHeightMargin[e]=n?i[e].offsetHeight-n:0}var n="mobile.core.components.Container";return e.registerRequestToMeasureDom(n),e.registerRequestToMeasureChildren(n,[["inlineContent"]]),e.registerCustomMeasure(n,i),e.registerCustomMeasure("wysiwyg.viewer.components.ScreenWidthContainer",t),{measureContainer:i,measureScreenWidthContainer:t}}.apply(t,n))||(e.exports=r)},248:function(e){e.exports=JSON.parse('{"IMAGE_UPSCALING":{"eventId":348,"adapter":"ugc-viewer","params":{"ow":"originalWidth","oh":"originalHeight","tw":"targetWidth","th":"targetHeight","dpr":"devicePixelRatio","um":"upscaleMethod","url":"url"}},"SVG_NO_MEASURES":{"eventId":433,"adapter":"ugc-viewer","params":{"id":"svgId"}}}')},249:function(e,t,i){var n,r;n=[i(8)],void 0===(r=function(e){"use strict";function t(e){var t=parseInt(e,10);return isNaN(t)?0:t}return{getFirstUnoccupiedTopCoordinate:function(e){return t(e.height.WIX_ADStop)+t(e.top.WIX_ADStop)},getScreenHeightExcludingAds:function(i){var n=i.height.screen,r=t(i.height.WIX_ADStop)+t(i.top.WIX_ADStop);return e.isOpen("displayWixAdsNewVersion")?n-r:n-r-t(i.height.WIX_ADSbottom)}}}.apply(t,n))||(e.exports=r)},250:function(e,t,i){var n,r;n=[i(0),i(7),i(35)],void 0===(r=function(e,t,i){"use strict";function n(e,t){return"true"===e[t].getAttribute("data-is-logged-in")}function r(t){var i=e.get(t,"dataItem",null);if(i){if("LoginSocialBar"===i.type)return i;if(i.loginSocialBarRef)return i.loginSocialBarRef}return null}function o(t){var i=r(t);return e.get(i,"iconItemsRef.menuRef.items",null)}function a(t){var i=r(t);return"textOnly"!==e.get(i,"loggedInMember")}function s(t){return e.get(t.getSiteMemberDetails(),"attributes.imageUrl",null)}return{measure:function(i,r,o,a,s){var u=i+(s||"");r.custom[u]=e.merge(r.custom[u]||{},{dataStates:o[u].getAttribute("data-state")||"",isLoggedIn:n(o,u),iconSize:t(o[u]).data("iconSize")})},patch:function(t,n,r,u,c,d){var g=t+(d||"");!function(e,t,n,r,o){var u=e+"avatarimage",c=n.custom[e].iconSize;if(a(r)){var d=s(o);n.width[u]&&i.patchNodeImage(u,t,n,o,{uri:d},{width:c,height:c})}}(g,n,r,u,c),function(t,n,r,a,s){if(r.custom[t].isLoggedIn){var u=o(a)||[],c=r.custom[t].iconSize;e.forEach(u,function(e,o){var a=t+"button"+o+"iconimage",u=t+"button"+o+"iconsvg";e.iconRef&&(r.width[a]?i.patchNodeImage(a,n,r,s,e.iconRef,{width:c,height:c}):r.width[u])})}}(g,n,r,u,c)},getChildrenIdToMeasure:function(t,i,r,u,c){var d=[];if(a(u)&&n(r,i)&&s(t)&&d.push({pathArray:["avatar","image"],type:"core.components.Image"}),n(r,i)){var g=o(u);e.forEach(g,function(e,t){e.iconRef&&"Image"===e.iconRef.type&&d.push({pathArray:["button"+t,"icon","image"],type:"core.components.Image"})})}return c&&e.forEach(d,function(t){e.isArray(t.pathArray)&&t.pathArray.splice(0,0,c)}),d}}}.apply(t,n))||(e.exports=r)},251:function(e,t,i){var n,r,o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!t||i.length!==t);n=!0);}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n=[i(0),i(11),i(9),i(14),i(248),i(841),i(842)],void 0===(r=function(e,t,i,n,r,a,s){"use strict";var u=i.loggingUtils.logger.reportBI,c=e.debounce(function(e,t,i){u(e,t,{svgId:i})},300);function d(e,i,n,r){var u,c,d=e[i],g=e[i+"svg"],h=r?(u=r.split(" "),{x:(c=o(u,4))[0],y:c[1],width:c[2],height:c[3]}):g.getBBox();if(h){var l="stretch"!==d.getAttribute("data-display-mode"),p=parseInt(d.getAttribute("data-strokewidth"),10),m={width:d.offsetWidth,height:d.offsetHeight};return function(e,i){var n=t.svgFeatureDetection.flags().isVectorEffect;return e>0&&!i&&!n}(p,l)?(m.width-=p,m.height-=p,{polyfillScale:s.measure(i,e,m,p,l)}):{scale:a.getSvgScaleProps(h,p,m,l)}}}function g(t,i,n){var o=[],a={};return e.forEach(t,function(t){var s=t.getAttribute("id");i[s]=t,a[s]=function(t,i,n){if(i[t]){var o=i[t],a=o.dataset,s=a.svgId,u=a.preserveViewbox,g=e.last(o.querySelectorAll("svg"));if(g&&!g.getAttribute("data-bbox"))return c(n,r.SVG_NO_MEASURES,s),i[t+"svg"]=g,d(i,t,0,"preserve"===u?o.getAttribute("data-viewbox"):"")}}(s,i,n),o.push(s)}),function(t){e.forEach(o,function(i){return function(t,i,n){var r=e.get(n,"scale"),o=e.get(n,"polyfillScale");if(r){var a=r.strokeWidth,u=r.preserveAspectRatio,c=r.viewBox;a&&i.css(t+"svg",{strokeWidth:a}),i.attr(t+"svg",{preserveAspectRatio:u,viewBox:c})}else o&&s.patch(t,i,o)}(i,t,a[i])})}}function h(e,t,i,n){return t[e].getAttribute("data-svg-id")?g([t[e]],t,n):g(t[e].querySelectorAll("*[data-svg-id]"),t,n)}return n.registerCustomLayoutFunction("wysiwyg.viewer.components.VectorImage",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.svgshape.SvgShape",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.PopupCloseIconButton",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.MediaControls",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.mobile.TinyMenu",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.LoginSocialBar",h),n.registerCustomLayoutFunction("wysiwyg.viewer.components.BackToTopButton",h),{layoutShapeNodes:h}}.apply(t,n))||(e.exports=r)},252:function(e,t,i){var n,r;n=[i(0),i(14),i(43)],void 0===(r=function(e,t,i){"use strict";function n(t,n,r,o,a){if(e.get(a,"designDataItem.background")){i.measure(n,r,o,a),r.width[n]=a.layout.width||o[n].clientWidth||r.width[n];var s="true"===o[n].getAttribute("data-is-mesh"),u=o[n].parentElement&&o[n].parentElement.getAttribute("data-repeater-id");!s&&u&&"wysiwyg.viewer.components.MediaContainer"===t&&(r.left[n]=o[n].getBoundingClientRect().left-o[u].getBoundingClientRect().left)}}function r(t,n,r,o,a){e.get(o,"designDataItem.background")&&i.patch(t,n,r,o,a)}return e.forEach(["wysiwyg.viewer.components.MediaBox","wysiwyg.viewer.components.HoverBox","wysiwyg.viewer.components.MediaPlayer","wysiwyg.viewer.components.MediaContainer"],function(e){t.registerCustomMeasure(e,function(){for(var t=arguments.length,i=Array(t),r=0;ra&&(a=c);var d=i.dataUtils.getChildrenData(s,r);e.forEach(d,function(e){t(e,u+n.top[s.id])})}}(t),a||t.layout.y+t.layout.height}(s,t,r)}function u(t,i,n){return function(t,i){return e(i).map(function(e){return o(t,e.id)?function(e,t){return e.top[t]+e.height[t]}(t,e.id):0}).max()}(t,i)-t.top.PAGES_CONTAINER-n}function c(t,n,r,o,c){var d=function(t,n){var r=i.dataUtils.getChildrenData(t,n);return e.reject(r,function(t){return a[t.id]||e.get(t,["layout","fixedPosition"])})}(n,c);if(!e.isEmpty(d)){var g=e.get(o,["pagesToFooterGap"],0),h=u(t,d,g);h>t.height.PAGES_CONTAINER&&(t.height.PAGES_CONTAINER=h,t.height.SITE_PAGES=h,r&&(t.height[r.pageId]=h),t.top.SITE_FOOTER=t.top.PAGES_CONTAINER+h+g)}s(t,n,c)}function d(i,n){var r=t.DALFactory.getPointersInstance(n),o=t.DALFactory.getInstance(n),a=i&&o.get(r.data.getDataItem(i,n.MASTER_PAGE_ID));return e.get(a,"ignoreBottomBottomAnchors")}return{enforceStructure:r,enforceAllStructures:function(t,i,n,a,s,u){var g={},h=void 0,l=void 0;n.originalValuesMap=n.originalValuesMap||{};var p=n.isMobileView();return t.inner&&(l=e.get(t,"inner.structure.id"),h=d(l,n),g.inner=r(t.inner.structure,i,n.anchorsMap,n.originalValuesMap,p,a,s,u,h),i.height.SITE_PAGES&&(i.height.SITE_PAGES=i.height[t.inner.pageId])),e.forOwn(t,function(m,f){if("inner"!==f&&(l=e.get(m,["structure","id"]),h=d(l,n),g[f]=r(m.structure,i,n.anchorsMap,n.originalValuesMap,p,a,s,u,h)),"outer"===f&&!p&&!function(e){return!o(e,"SITE_HEADER")}(i)){var w=n.getMasterPageLayoutSettings();w.useDesktopSectionsLayout&&c(i,m.structure,t.inner,w,p)}}),g}}}.apply(t,n))||(e.exports=r)},820:function(e,t,i){var n,r;n=[i(7),i(0),i(8),i(9)],void 0===(r=function(e,t,i,n){"use strict";return{updateBodyNodeStyle:function(r){var o=e("body"),a=e("html");if(r.isQaMode()&&o.addClass("qa-mode"),i.isOpen("sv_noSpecificCompLayout")||o.attr("data-js-loaded",!0),r.isMobileView()?(o.addClass("device-mobile-optimized"),a.addClass("device-mobile-optimized")):r.isMobileDevice()||r.isTabletDevice()||n.mobileUtils.isIpadIOS13()?o.addClass("device-mobile-non-optimized"):(o.removeClass("device-mobile-optimized").removeClass("device-mobile-non-optimized"),a.removeClass("device-mobile-optimized")),r.isMobileDevice()){var s=t.assign({},r.os,r.browser),u=t(s).keys().filter(function(e){return!0===s[e]}).map(function(e){return"device-"+e}).join(" ");a.addClass(u)}var c=o.css("overflow"),d=r.renderFlags.allowSiteOverflow?null:"hidden";c!==d&&o.css("overflow",d)}}}.apply(t,n))||(e.exports=r)},821:function(e,t,i){var n,r,o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!t||i.length!==t);n=!0);}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n=[i(7),i(0),i(9),i(8)],void 0===(r=function(e,t,i,n){"use strict";var r=19e3,a={rootMargin:"50% 0px"},s=i.tpaWarmup,u=i.loggingUtils.performance;function c(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.attr("name");s.isTPAComp(t,n)&&s.reportWarmupPerformanceBiEvent(s.events.APP_IFRAME_START_LOADING,t,n,{lazyLoad:i})}function d(e,i,n){var r=s.getTemplateValuesFromUrl(i);if(e.isClientAfterSSR()&&!t.isEmpty(r)){var o=r[0],a=r[1],u=e.getClientSpecMap(),c=function(e,i,n){var r=t.get(n,i);return t.replace(e,"${"+i+"}",r)}(i.split("?")[1],a,u);return s.reportWarmupPerformanceBiEvent(s.events.FAILED_TO_LOAD_IFRAME_FROM_SSR_CACHE,e,n),t.get(u,o)+"?"+c}return i}return{setIframesSrc:function(i){function s(e,t){var n=t.dataSrc,r=t.lazyLoad;e.attr("src",n),c(e,i,r)}var u=e("#SITE_CONTAINER iframe[data-src]"),g=u.length;if(g>0){var h=function(t){var i=o(t,2),n=i[0],r=i[1];s(e(n),r),f.unobserve(n),0==--g&&(f.disconnect(),clearTimeout(w)),m.delete(n)},l="undefined"!=typeof window&&window.IntersectionObserver&&i.isViewerMode()&&n.isOpen("bv_lazyTPAs")?[new Map,new window.IntersectionObserver(function(e){var i=t.partition(e,function(e){var t=e.isIntersecting,i=e.target,n=i.offsetWidth,r=i.offsetHeight;return t||n<2||r<2}),n=o(i,2),r=n[0],a=n[1];t(r).map(function(e){var t=e.target;return[t,m.get(t)]}).forEach(h),t.forEach(a,function(e){var t=e.target;m.get(t).lazyLoad=!0})},a)]:[],p=o(l,2),m=p[0],f=p[1],w=f&&setTimeout(function(){t.forEach([].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t0?o:t.width[e],height:n>0?n:t.height[e]},s=t.custom[e].exactHeight-(t.custom[e].marginHeight||0);return i===r.fittingTypes.LEGACY_FIT_HEIGHT&&Math.ceil(s)===a.height&&(a.height=s),a}(e,s,w),{width:h.width,height:h.height},w),v=o.layoutUtils.isVerticallyStretched(u.layout),M={width:o.layoutUtils.isHorizontallyStretched(u.layout)?"":y.width+s.custom[e].marginWidth,height:v?"":y.height+s.custom[e].marginHeight},S={displayMode:w,crop:p||h.crop};if(t.defaults(S,h),f){var C=e+"img";n.patchNodeImage(C,i,s,c,S,y)}i.css(e,M),i.css(g,y)}var c={pathArray:["img"],type:"core.components.Image"};return i.registerRequestToMeasureDom("wysiwyg.viewer.components.WPhoto"),i.registerRequestToMeasureChildren("wysiwyg.viewer.components.WPhoto",[c,["link"]]),i.registerPatcher("wysiwyg.viewer.components.WPhoto",u),i.registerCustomMeasure("wysiwyg.viewer.components.WPhoto",s),i.registerRequestToMeasureDom("wysiwyg.viewer.components.ClipArt"),i.registerRequestToMeasureChildren("wysiwyg.viewer.components.ClipArt",[c,["link"]]),i.registerPatcher("wysiwyg.viewer.components.ClipArt",u),i.registerCustomMeasure("wysiwyg.viewer.components.ClipArt",s),{childImageComponent:c,patchNodePhoto:u,measurePhoto:s}}.apply(t,n))||(e.exports=r)},830:function(e,t,i){var n,r;n=[i(0),i(7),i(14)],void 0===(r=function(e,t,i){"use strict";i.registerCustomLayoutFunction("wysiwyg.viewer.components.inputs.Checkbox",function(e,i,n){var r=i[e];if(t(r).data("hasLabel"))return n.height[e]=r.offsetHeight,n.width[e]=r.offsetWidth,function(t){return t.css(e,{height:""})}})}.apply(t,n))||(e.exports=r)},831:function(e,t,i){var n,r;n=[i(0),i(14),i(7)],void 0===(r=function(e,t,i){"use strict";var n=function(e,t){return"true"===e.getAttribute("data-force-3d")?{transform:"rotate3d(0, 0, 1, "+t+"deg)"}:null};t.registerRequestToMeasureChildren("wysiwyg.viewer.components.FiveGridLine",[["line"]]),t.registerRequestToMeasureDom("wysiwyg.viewer.components.FiveGridLine"),t.registerCustomLayoutFunction("wysiwyg.viewer.components.FiveGridLine",function(t,r,o,a,s){var u=o.height[t+"line"]||0,c=r[t],d=parseInt(i(c).data("borderWidth"),10);return o.height[t]=Math.max(5,isNaN(d)?0:d,u),o.minHeight[t]=u,function(r){var o=i(c).data("legacyFullScreen"),a=e.get(s,"layout.rotationInDegrees");if(o&&r.css(t,{width:"100%",left:0,marginLeft:0}),a){var u=n(c,a);u&&r.css(t,u)}}})}.apply(t,n))||(e.exports=r)},832:function(e,t,i){var n,r;n=[i(14)],void 0===(r=function(e){"use strict";return e.registerRequestToMeasureDom("wysiwyg.common.components.pinterestpinit.viewer.PinterestPinIt"),e.registerRequestToMeasureDom("wysiwyg.common.components.spotifyfollow.viewer.SpotifyFollow"),e.registerRequestToMeasureDom("wysiwyg.common.components.spotifyplayer.viewer.SpotifyPlayer"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.Video"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.WTwitterTweet"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.SoundCloudWidget"),e.registerRequestToMeasureDom("wysiwyg.common.components.disquscomments.viewer.DisqusComments"),{}}.apply(t,n))||(e.exports=r)},833:function(e,t,i){var n,r;n=[i(0),i(9),i(14)],void 0===(r=function(e,t,i){"use strict";function n(t,n){e.get(n,"height",!0)&&i.registerPureDomHeightMeasure(t),e.get(n,"width",!0)&&i.registerPureDomWidthMeasure(t)}function r(e){i.registerAdditionalMeasureFunction(e,function(e,i,n){i.containerHeightMargin[e]=t.measurerUtils.getContainerVerticalMarginFromContent(e,n[e])},"containerHeightMargin")}var o;return n("wysiwyg.viewer.components.FlashComponent"),n("wysiwyg.viewer.components.ExpandableMenu"),n("wysiwyg.common.components.pinterestpinit.viewer.PinterestPinIt"),n("wysiwyg.viewer.components.WGooglePlusOne"),n("wysiwyg.viewer.components.LinkBar"),n("wysiwyg.common.components.singleaudioplayer.viewer.SingleAudioPlayer"),n("wysiwyg.common.components.facebooklikebox.viewer.FacebookLikeBox"),n("wysiwyg.viewer.components.PayPalButton"),n("wysiwyg.viewer.components.PinterestFollow"),n("wysiwyg.common.components.spotifyfollow.viewer.SpotifyFollow"),n("wysiwyg.viewer.components.FlickrBadgeWidget"),n("wysiwyg.viewer.components.WTwitterFollow"),n("wysiwyg.viewer.components.WTwitterTweet"),n("wysiwyg.viewer.components.LoginButton"),n("wysiwyg.viewer.components.AdminLoginButton"),n("wysiwyg.viewer.components.ItunesButton"),n("wysiwyg.viewer.components.WFacebookLike"),n("wysiwyg.viewer.components.VerticalLine",{width:!1}),n("wysiwyg.viewer.components.FlashComponent"),n("wysiwyg.viewer.components.FacebookShare"),n("wysiwyg.viewer.components.Group"),n("wysiwyg.common.components.skypecallbutton.viewer.SkypeCallButton"),n("platform.components.AppController"),n("wysiwyg.viewer.components.VKShareButton"),n("wysiwyg.common.components.youtubesubscribebutton.viewer.YouTubeSubscribeButton"),n("wysiwyg.viewer.components.inputs.RadioGroup"),n("wysiwyg.viewer.components.inputs.CheckboxGroup"),n("tpa.viewer.components.Impress"),n("tpa.viewer.components.Thumbnails"),n("tpa.viewer.components.Honeycomb"),n("tpa.viewer.components.Accordion"),n("wysiwyg.viewer.components.tpapps.TPA3DGallery"),n("wysiwyg.viewer.components.LanguageSelector"),n("tpa.viewer.components.Masonry"),n("tpa.viewer.components.Freestyle"),n("wysiwyg.viewer.components.tpapps.TPA3DCarousel"),n("wysiwyg.viewer.components.inputs.TextInput"),n("wysiwyg.viewer.components.inputs.TextAreaInput"),n("mobile.core.components.Page",{height:!1}),n("wixui.Tags",{width:!1}),n("wysiwyg.viewer.components.Repeater"),n("wysiwyg.viewer.components.StateBox"),n("wysiwyg.viewer.components.StateStrip"),o="mobile.core.components.Page",i.registerAdditionalMeasureFunction(o,function(e,t,i){var n=i[e];t.minHeight[e]=parseInt(n.style.minHeight,10)},"pageMinHeight"),n("wixui.Pagination"),n("wixui.RatingsDisplay"),n("wixui.RatingsInput"),r("wysiwyg.viewer.components.ScreenWidthContainer"),r("wysiwyg.viewer.components.HeaderContainer"),r("wysiwyg.viewer.components.FooterContainer"),r("mobile.core.components.Page"),n("tpa.viewer.components.Collage"),n("wysiwyg.viewer.components.tpapps.TPAWidget",{width:!1}),n("wysiwyg.viewer.components.tpapps.TPASection",{width:!1}),n("wysiwyg.viewer.components.tpapps.TPAMultiSection",{width:!1}),n("wysiwyg.viewer.components.tpapps.TPAGluedWidget",{width:!1}),n("wixui.LineShareButton"),{}}.apply(t,n))||(e.exports=r)},834:function(e,t,i){var n,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i(7),i(0),i(8),i(14),i(9),i(11)],void 0===(r=function(e,t,i,n,r,a){"use strict";var s=r.warmupMenuUtils,u="__more__",c="moreContainer";function d(e){return!isNaN(parseFloat(e))&&isFinite(e)}function g(e,i,n,r,o,a,s,u,c){var d=n.concat("__more__"),g=i.custom[e],h=g.realWidths,l=g.menuItemContainerExtraPixels,p=i.width[e];if(t.findIndex(d,function(e){return e===r})>=0&&h){var m=i.absoluteLeft[e],f=function(e,t,i,n,r,o,a,s,u){var c="0px",d="auto",g=o.left,h=o.width;"left"===t?c="left"===r?0:g+e.left+"px":"right"===t?(d="right"===r?0:n-g-h-e.right+"px",c="auto"):"left"===r?c=g+(h+e.left-i)/2+"px":"right"===r?(c="auto",d=(h+e.right-(i+e.width))/2+"px"):c=e.left+g+(h-(i+e.width))/2+"px";if("auto"!==c){var l=a+parseInt(c,10);c=l<0?0:c}if("auto"!==d){var p=s-parseInt(d,10);d=p>u?0:d}return{moreContainerLeft:c,moreContainerRight:d}}(l,s,c,p,o,u,m,m+p,i.clientWidth);return{left:f.moreContainerLeft,right:f.moreContainerRight,top:g.needToOpenMenuUp?"auto":a+"px",bottom:g.needToOpenMenuUp?a+"px":"auto"}}}function h(t){var i=t.lastChild;return(parseInt(e(i).css("margin-left"),10)||0)+(parseInt(e(i).css("margin-right"),10)||0)}function l(e){var t=parseFloat(e);return isFinite(t)?t:0}function p(i,n){var r=+e(n[i]).data("numItems");return!t.isFinite(r)||r<=0||r>Number.MAX_SAFE_INTEGER?[]:new Array(r).fill(0).map(function(e,t){return String(t)})}return i.isOpen("bv_wixDropdown")&&"object"===("undefined"==typeof window?"undefined":o(window))&&"bolt"===t.get(window,"wixBiSession.renderType")||(n.registerPatcher("wysiwyg.viewer.components.menus.DropDownMenu",function(e,i,n){i.css(e,{"overflow-x":"visible"});var r=n.custom[e],o=r.menuItemIds,a=n.height[e],s=o.concat("__more__");!function(e,t,i){t.data(e,{dropmode:i?"dropUp":"dropDown"})}(e,i,r.needToOpenMenuUp);var h=r.menuItemContainerExtraPixels,l=0;if(r.hoverState===u){var p=r.realWidths.indexOf(0),m=r.menuItems[t.findKey(r.menuItems,["menuIndex",p])],f=m.moreIndex,w=f===o.length-1;m.moreDOMid&&i.attr(m.moreDOMid,{"data-listposition":w?"dropLonely":"top"}),t(r.menuItems).filter(function(e){return!!e.moreDOMid}).forEach(function(e){if(e.moreIndex0,m=e+n[h];c=i.custom[e].linkIds[m],p?(s++,u=m,t.css(m,{width:l+"px",height:g+"px",position:"relative","box-sizing":"border-box",overflow:"visible"}),t.css(m+"label",{"line-height":d}),t.attr(m,{"aria-hidden":!1})):(t.css(m,{height:"0px",overflow:"hidden",position:"absolute"}),t.attr(m,{"aria-hidden":!0}),t.attr(c,{tabIndex:-1}))}1===s&&(t.data(e+"moreContainer",{listposition:"lonely"}),t.data(u,{listposition:"lonely"}))}(e,i,n,s,r.realWidths,a,h)}),n.registerCustomMeasure("wysiwyg.viewer.components.menus.DropDownMenu",function(i,n,r){var o,u,c,d,g,m,f,w,y=e(r[i]),v=e("#"+i+"itemsContainer")[0]||r[i+"itemsContainer"],M=v.childNodes,S=r[i+"moreContainer"],C=S.childNodes,I=y.data("stretchButtonsToMenuWidth"),b=y.data("sameWidthButtons"),T=n.custom[i]={alignButtons:y.data("dropalign"),hoverListPosition:y.data("drophposition"),menuBorderY:parseInt(y.data("menuborder-y"),10),ribbonExtra:parseInt(y.data("ribbon-extra"),10),ribbonEls:parseInt(y.data("ribbon-els"),10),labelPad:parseInt(y.data("label-pad"),10),menuButtonBorder:parseInt(y.data("menubtn-border"),10),menuItemContainerMargins:h(v),menuItemContainerExtraPixels:(u=v,c=!0,d=e(u).css(["border-top-width","border-bottom-width","border-left-width","border-right-width","padding-top","padding-bottom","padding-left","padding-right","margin-top","margin-bottom","margin-left","margin-right"]),g=l(d["border-top-width"])+l(d["padding-top"]),m=l(d["border-bottom-width"])+l(d["padding-bottom"]),f=l(d["border-left-width"])+l(d["padding-left"]),w=l(d["border-right-width"])+l(d["padding-right"]),c&&(g+=l(d["margin-top"]),m+=l(d["margin-bottom"]),f+=l(d["margin-left"]),w+=l(d["margin-right"])),{top:g,bottom:m,left:f,right:w,height:g+m,width:f+w}),needToOpenMenuUp:(o=r[i],o.getBoundingClientRect().top>window.innerHeight/2),menuItemMarginForAllChildren:!I||"false"!==v.getAttribute("data-marginAllChildren")};T.moreSubItem=[],T.lineHeight={},T.labelWidths={},T.linkIds={},T.parentId={},T.menuItems={},t.forEach(C,function(t,i){var o=e(t);T.parentId[t.id]=o.data("parent-id");var a=o.data("data-id");T.menuItems[a]={dataId:a,parentId:o.data("parent-id"),moreDOMid:t.id,moreIndex:i},r[t.id]=t;var s=e(t).find("p")[0];r[s.id]=s,n.width[s.id]=s.offsetWidth,n.height[s.id]=s.offsetHeight,n.left[s.id]=s.offsetLeft,T.lineHeight[s.id]=parseInt(window.getComputedStyle(s).fontSize,10),T.moreSubItem.push(t.id)}),t.forEach(M,function(t,i){var o=e(t).data("data-id");T.menuItems[o]=T.menuItems[o]||{},T.menuItems[o].menuIndex=i,T.menuItems[o].menuDOMid=t.id,n.left[t.id]=t.offsetLeft;var a=e(t).find("p")[0];r[a.id]=a,T.labelWidths[a.id]=function(e){var t=window.getComputedStyle(e);return parseInt(t.width,10)+parseInt(t.paddingLeft,10)+parseInt(t.paddingRight,10)}(a);var s=e(t).find("a")[0];r[s.id]=s,T.linkIds[t.id]=s.id});var A=n.height[i];T.lineHeight[i]=function(e,t){return a.style.unitize(e-t.menuBorderY-t.labelPad-t.ribbonEls-t.menuButtonBorder-t.ribbonExtra)}(A,T);var x=p(i,r),E=function(i,n,r,o,a){var u=n.width[i],c=n.custom[i];c.hasOriginalGapData={},c.originalGapBetweenTextAndBtn={};var d=t.map(a,function(r){var a=void 0,s=e(o[i+r]).data("originalGapBetweenTextAndBtn");return t.isUndefined(s)?(c.hasOriginalGapData[r]=!1,a=n.width[i+r]-c.labelWidths[i+r+"label"],c.originalGapBetweenTextAndBtn[i+r]=a):(c.hasOriginalGapData[r]=!0,a=parseInt(s,10)),n.width[i+r]>0?c.labelWidths[i+r+"label"]+a:0}),g=d.pop(),h=r.sameWidthButtons,l=r.stretchButtonsToMenuWidth,p=!1,m=c.menuItemContainerMargins,f=c.menuItemMarginForAllChildren,w=c.menuItemContainerExtraPixels,y=s.getMaxWidth(d),v=s.getDropDownWidthIfOk(u,h,l,d,m,y,f,w);if(!v){for(var M=1;M<=d.length;M++)if(v=s.getDropDownWidthIfOk(u,h,l,d.slice(0,-1*M).concat(g),m,y,f,w)){p=!0;break}v||(p=!0,v=[g])}if(p){var S=v[v.length-1];for(v=v.slice(0,-1);v.lengtht?"down":"up"}(n.screenHeight,r);i.attr(t,{"data-open-direction":o})}return t.registerRequestToMeasureChildren("wysiwyg.common.components.verticalmenu.viewer.VerticalMenu",[["menuContainer"]]),t.registerCustomMeasure("wysiwyg.common.components.verticalmenu.viewer.VerticalMenu",function(e,t,i,n,r){(0,r.isMobileView)()?(t.height[e+"menuContainer"]=t.height[e],t.width[e+"menuContainer"]=t.width[e]):function(e,t,i){var n=e+"menuContainer";i[n]&&(t.custom[e]={screenHeight:t.height.screen,pageYOffset:window.pageYOffset},t.width[e]=i[n].offsetWidth,t.height[e]=i[n].offsetHeight)}(e,t,i)}),t.registerPatcher("wysiwyg.common.components.verticalmenu.viewer.VerticalMenu",function(e,t,n,r,o){var a=e+"menuContainer";n.height[a]&&n.width[a]&&(o.isMobileView()?t.css(a,{height:n.height[a],width:n.width[a]}):i(n,e,t))}),{}}.apply(t,n))||(e.exports=r)},836:function(e,t,i){var n,r;n=[i(0),i(14),i(7),i(250)],void 0===(r=function(e,t,i,n){"use strict";var r="buttons",o="user",a="icon",s="text",u="arrow",c=60,d=14,g="login",h="dropdownMenu";function l(t,n,r,o){var a=r[t].getBoundingClientRect(),s=r[t+u],c=r[t+h],d=n.custom[t].borderWidth,g=c.offsetWidth,l={top:n.height[t]-d+"px"},p=void 0;if(s.children.length>0&&g>0){var m=(o?i("#SITE_ROOT")[0]:i("#SITE_CONTAINER")[0]).getBoundingClientRect(),f=s.children[0].getBoundingClientRect(),w=a.right-f.right-d,y=f.left-a.left-d;if(function(t,i,n){var r=function(e,t){return e[t].getAttribute("data-state")}(n,t);return r&&e.includes(r,"rtl")}(t,0,r)){var v=a.left+y+g-m.right;v>0&&(y-=v),p={left:y+"px",right:"initial"}}else{var M=m.left-a.right+w+g;M>0&&(w-=M),p={right:w+"px",left:"initial"}}}n.custom[t+h]=e.assign(l,p||{})}t.registerCustomMeasure("wysiwyg.viewer.components.LoginSocialBar",function(e,t,h,p,m){var f=m.isMobileView;t.custom[e]={dataStates:h[e].getAttribute("data-state")||"",borderWidth:parseInt(i(h[e]).css("border-width"),10)||0},function(e,t,i,n){var o=i[e+r],h=i[e+a],l=i[e+u],p=i[e+s],m=o.offsetWidth,f=h.offsetWidth,w=l.offsetWidth,y=p.offsetWidth,v=t.custom[e].borderWidth,M=i[e+g].offsetWidth,S=y>0&&0===m&&0===f?d:0,C=Math.max(m+f+w+S,M)+2*v,I=C;y>0&&(I+=c);var b=Math.max(I,n.layout.width),T=b-C;t.minWidth[e]=I,t.width[e]=b,t.custom[e+s]=T}(e,t,h,p),function(e,t,i,n){var a=i[e+r],s=i[e+o],u=i[e+g],c=a.offsetHeight,d=s.offsetHeight,h=u.offsetHeight,l=t.custom[e].borderWidth,p=Math.max(c,d,h)+2*l,m=Math.max(p,n.layout.height);t.minHeight[e]=p,t.height[e]=m}(e,t,h,p),l(e,t,h,f()),n.measure(e,t,h,p)}),t.registerPatcher("wysiwyg.viewer.components.LoginSocialBar",function(e,t,i,r,o){t.css(e,{width:i.width[e]+"px",minWidth:i.minWidth[e]+"px",minHeight:i.minHeight[e]+"px"}),t.css(e+s,{maxWidth:i.custom[e+s]+"px"}),t.css(e+h,i.custom[e+h]),n.patch(e,t,i,r,o)}),t.registerRequestToMeasureChildren("wysiwyg.viewer.components.LoginSocialBar",function(e,t,i,c){var d=[[r],[o],[a],[s],[u],[g],[h]],l=n.getChildrenIdToMeasure(c,e,t,i);return d=d.concat(l)})}.apply(t,n))||(e.exports=r)},837:function(e,t,i){var n,r;n=[i(0),i(14),i(249)],void 0===(r=function(e,t,i){"use strict";function n(e,t,n){var r=e+"dialog",o=n.height[r],a=n.height.screen,s=i.getFirstUnoccupiedTopCoordinate(n),u=i.getScreenHeightExcludingAds(n);t.css(e,{height:a+"px"});var c=(u-o)/2;t.css(r,{top:Math.max(c,20)+s+"px"})}e.forEach(["wysiwyg.viewer.components.dialogs.EnterPasswordDialog","wysiwyg.viewer.components.dialogs.NotificationDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.EmailVerificationDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.MemberLoginDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.NoPermissionsToPageDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.RequestPasswordResetDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.ResetPasswordDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.SentConfirmationEmailDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.SignUpDialog","wysiwyg.viewer.components.dialogs.siteMemberDialogs.WelcomeDialog"],function(e){t.registerRequestToMeasureChildren(e,[["dialog"]]),t.registerPatcher(e,n)})}.apply(t,n))||(e.exports=r)},838:function(e,t,i){var n,r;n=[i(0),i(7),i(14),i(21),i(246),i(245),i(8)],void 0===(r=function(e,t,i,n,r,o){"use strict";var a=1920,s=1e3,u="SITE_BACKGROUND",c="siteBackgroundcurrentImage",d="siteBackgroundcurrent",g="siteBackgroundprevious",h="currentVideo",l="poster";function p(e,t,i){var n={availWidth:e.width.screen,availHeight:e.height.screen,pixelAspectRatio:e.devicePixelRatio};if(t&&i){var r=Math.min(e.availWidth.device,e.availHeight.device),o=Math.max(e.availWidth.device,e.availHeight.device);n.availHeight=Math.round(n.availWidth*(o/r))}return n}function m(e,t,i){return i&&e.mediaRef&&"viewport"===t}function f(t,i,r,o,u){var c={},d=e.at(n.fittingTypes,["LEGACY_BG_NORMAL","LEGACY_BG_FIT_AND_TILE","LEGACY_BG_FIT_AND_TILE_HORIZONTAL","LEGACY_BG_FIT_AND_TILE_VERTICAL"]),g=e.includes(d,i.fittingType);if(o&&!g)c.width=r.availWidth,c.height=r.availHeight,c.pixelAspectRatio=r.pixelAspectRatio;else{var h=u?s:a;c.width=Math.min(h,t.width),c.height=Math.min(h,Math.round(c.width/(t.width/t.height)))}return c.htmlTag="bg",c.alignment=i.alignType,c}function w(t,i,r){var o=t.bgData,a=o.mediaRef,s={backgroundSize:"",backgroundPosition:"",backgroundRepeat:""},u="";if(a&&e.isUndefined(e.get(i.getRootNavigationInfo(),"pageBackgroundColorOverride"))){"WixVideo"===a.type&&(a=a.posterImageRef);var c=i.isMobileView(),d=p(r,c,i.isMobileDevice()),g=m(o,t.mediaSizing,c),h={id:a.uri,width:a.width,height:a.height},l=f(a,o,d,g,c),w=e.defaults({quality:85},a.quality||{}),y=n.getData(o.fittingType,h,l,w,i.browser);u=y.uri,s={backgroundSize:y.css.container.backgroundSize,backgroundPosition:y.css.container.backgroundPosition,backgroundRepeat:y.css.container.backgroundRepeat,height:t.currentImageHeight},g&&("fill"===o.fittingType&&(s.backgroundSize="auto 100%",s.height=d.availHeight),s.backgroundPosition=s.backgroundPosition.replace(/(center|bottom)$/,"top"))}return{css:s,uri:u}}return i.registerRequestToMeasureDom("wysiwyg.viewer.components.SiteBackground"),i.registerRequestToMeasureChildren("wysiwyg.viewer.components.SiteBackground",function(e,t,i,n){return[[n.getPrimaryPageId()]]}),i.registerPatcher("wysiwyg.viewer.components.SiteBackground",function(t,i,n,a,s){n.width[t]=function(e,t){var i=e.width[t.getStructureCompId()];return Math.ceil(Math.max(e.width.screen,i))}(n,s),n.height[t]=function(e,t){var i=e.height[t.getStructureCompId()],n=parseInt(e.height.WIX_ADStop,10)||0,r=e.height.screen-n;return Math.max(r,i)}(n,s),n.height.currentImage=n.height.masterPage,i.css(t,{height:n.height[t]+"px",width:n.width[t]+"px"});var u=n.custom[t],l=s.isMobileView(),m=s.isMobileDevice(),f={width:l?n.width.screen:"100%",height:l&&"fixed"===u.bgPosition?p(n,l,m).availHeight:"100%"};i.css(d,f),i.css(g,f);var y=w(u,s,n);o.patchCssImage(u,c,i,y.css,y.uri,s),n.custom[t].hasVideo&&!e.get(s.getRootNavigationInfo(),"pageBackgroundColorOverride")&&r.patchBgVideo(t+h,null,i,n,s.prefersReducedMotion)}),i.registerCustomMeasure("wysiwyg.viewer.components.SiteBackground",function(i,n,a,s,p){var f=p.getDataByQuery,w=p.isMobileView,y=p.primaryPageBackground,v=p.isTouchDevice,M=p.getPrimaryPageId;a[c]=window.document.querySelector("."+c),a[d]=window.document.querySelector("."+d),a[g]=window.document.querySelector("."+g);var S=M(),C=y||f(S,S).pageBackgrounds[w()?"mobile":"desktop"],I={bgData:C.ref||{},mediaSizing:C.mediaSizing};if(n.custom[i]={bgData:I.bgData,hasVideo:!1,mediaSizing:I.mediaSizing,currentImageHeight:t(a[c]).data("height")},m(I.bgData,I.mediaSizing,w())&&(n.custom[i].bgPosition=t(a[d]).data("position")),o.cacheCssImageMeasureData(n.custom[i],a[c]),"WixVideo"===e.get(I.bgData.mediaRef,"type")&&!v()){var b=window.document.querySelector("#"+(u+h));a[u+h]=b,a[""+u+h+"video"]=window.document.querySelector("#"+u+h+"video"),a[u+h+l]=window.document.querySelector("#"+(u+h+l)),n.width[u+h]=b.offsetWidth,n.height[u+h]=b.offsetHeight,n.custom[i].hasVideo=!0,r.measureBgVideo(i,i+h,i+h+l,n,a)}}),{testAPI:{getDeviceScreenDimensions:p,calculateTargetImageSize:f,getCssImageData:w}}}.apply(t,n))||(e.exports=r)},839:function(e,t,i){var n,r;n=[i(0),i(14),i(8)],void 0===(r=function(e,t,i){"use strict";t.registerRequestToMeasureChildren("wysiwyg.viewer.components.WixAds",[["top"],["bottom"]]),t.registerCustomMeasure("wysiwyg.viewer.components.WixAds",function(t,i,n,r,o){var a=o.isMobileView,s=o.isExperimentOpen,u=["height","width","top","left"],c=void 0;c=s("displayWixAdsNewVersion")?["top"]:a()?["top"]:["top","bottom"];var d=n.WIX_ADStop.getBoundingClientRect();i.height.WIX_ADStop=d.height,e.forEach(c,function(r){var o=t+r,a=n[o].getBoundingClientRect();i.custom[o]=a,e.forEach(u,function(e){i[e][o]=Math.ceil(a[e])})}),a()&&(i.top.WIX_ADStop=0)}),t.registerPatcher("wysiwyg.viewer.components.WixAds",function(e,t,n,r,o){i.isOpen("displayWixAdsNewVersion",o)||t.css(e,{visibility:""})})}.apply(t,n))||(e.exports=r)},840:function(e,t,i){var n,r;n=[i(7),i(0),i(14),i(21),i(35)],void 0===(r=function(e,t,i,n,r){"use strict";i.registerRequestToMeasureChildren("wysiwyg.viewer.components.documentmedia.DocumentMedia",[["label"],{pathArray:["img"],type:"core.components.Image"},["link"]]),i.registerCustomMeasure("wysiwyg.viewer.components.documentmedia.DocumentMedia",function(t,i,n){var r=e(n[t]),o=t+"label",a=i.width[o],s=i.height[o],u=Math.max(i.width[t],a),c=r.data("content-padding-left"),d=r.data("content-padding-right"),g=r.data("content-padding-top"),h=r.data("content-image-height"),l={width:u-c-d,height:Math.max(h-g-s,1)};i.custom[t]={containerSize:l},i.width[t]=u,i.minWidth[t]=a}),i.registerPatcher("wysiwyg.viewer.components.documentmedia.DocumentMedia",function(e,i,o,a,s){var u=t.defaults({displayMode:n.fittingTypes.LEGACY_FULL},a.dataItem);r.patchNodeImage(e+"img",i,o,s,u,o.custom[e].containerSize),i.css(e,{width:o.width[e]})})}.apply(t,n))||(e.exports=r)},841:function(e,t,i){var n,r;n=[i(0),i(11)],void 0===(r=function(e,t){"use strict";var i={width:1,height:1,x:0,y:0},n=function(e){return e.x+" "+e.y+" "+e.width+" "+e.height};return{getSvgScaleProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,r=arguments[1],o=arguments[2],a=arguments[3],s=a?"xMidYMid meet":"none",u=t.svgFeatureDetection.flags().isVectorEffect,c=r?function(e,t,i,n){var r=(i.width-t)/e.width,o=(i.height-t)/e.height,a=Math.min(r,o),s=i.width/(n?a:r),u=i.height/(n?a:o),c=e.x-(s-e.width)/2,d=e.y-(u-e.height)/2;return{width:s,height:u,x:c,y:d}}(e,r,o,a):e;return{viewBox:n(c),strokeWidth:r&&!u?function(e,t,i){var n=Math.min((i.width-t)/e.width,(i.height-t)/e.height);return t*(1/n)}(e,r,o):r,width:o.width,height:o.height,preserveAspectRatio:s}}}}.apply(t,n))||(e.exports=r)},842:function(e,t,i){var n,r;n=[i(0),i(76),i(843),i(845),i(847),i(848),i(849),i(850),i(852)],void 0===(r=function(e,t,i,n,r,o,a,s,u){"use strict";var c=["path","polygon","rect","circle","ellipse","polyline","line"];return{measure:function(d,g,h,l,p){var m=g[d+"svg"]=e.last(g[d].querySelectorAll("svg")),f=m?m.getBBox():{},w=function(e){var t=window.document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(m),y=g[d+"svg-g"]=m.getElementsByTagName("g")[0],v=e.pick(f,["width","height"]),M=e.pick(f,["x","y"]),S={path:i,polygon:n,rect:o,circle:r,ellipse:a,polyline:s,line:u};if(y){var C=function(e,i,n,r){var o=i.width/i.height,a=o>r,s=oo.descriptionHeightLimit){var d=e+s+"description";t.css(d,{height:o.descriptionHeightLimit}),t.data(d,{expandable:"true"}),t.css(d,{height:o.descriptionHeightLimit}),t.css(e+s+"ellipsis",{display:""})}}function g(e,i,n,r,o,s,u,c,d){var g,l,p=c(),m=d(p),f=!r&&o||s?a.getNonOptimizedViewDimensions:a.getDesktopViewDimensions,w=t(n[e]),y=t(n[e+"dialogBox"]),v=(l=h(g=y,"padding-bottom")+h(g,"padding-top"),{horizontal:h(g,"padding-right")+h(g,"padding-left"),vertical:l}),M=e+p+"panel",S={width:parseInt(w.data("width-spacer"),10),height:parseInt(w.data("height-spacer"),10)},C={isMobileDevice:o,isTabletDevice:s,siteWidth:u},I={width:i.width.screen,height:i.height.screen,innerHeight:i.innerHeight.screen};i.custom[e]=f(m,C,I,S,i.height[M],v),i.custom[e].hasPanel=Boolean(n[M])}function h(e,t){return e&&t&&parseInt(e.css(t),10)||0}function l(e,i,n,r,o,s){var u=o(),c=s(u),d=a.getMobileViewDimensions(c,r,i);!function(e,i){var n=t(i);if("none"!==n.css("display")){var r=parseInt(n.css("line-height"),10);e.showDescription=!0,e.descriptionHeight=n.height(),e.descriptionHeightLimit=Math.floor(3*r)}}(d,n[e+u+"description"]),i.custom[e]=d}i.registerCustomMeasure("wysiwyg.components.imageZoom",function(e,t,i,n,r){var o=r.isMobileView,a=r.isMobileDevice,u=r.isTabletDevice,c=r.siteWidth,d=r.getZoomedImageId,h=r.getZoomedImageCompData,p=s(n).id;o()?l(e+p,t,i,c,d,h):g(e+p,t,i,o(),a(),u(),c,d,h)}),i.registerPatcher("wysiwyg.components.imageZoom",function(e,t,i,n,r){var o=s(n).id;(r.isMobileView()?d:c)(e+o,t,i,n,r)}),i.registerRequestToMeasureChildren("wysiwyg.components.imageZoom",function(e,t,i,n){var r=s(i).id,o=u(n),a={pathArray:[r,o,"image"],type:"core.components.Image"};return n.isMobileView()?[[r],a,[r,"dialogBox"],[r,o,"description"],[r,o,"ellipsis"]]:[[r],a,[r,"dialogBox"],[r,"buttonPrev"],[r,"buttonNext"],[r,o,"panel"]]})}.apply(t,n))||(e.exports=r)},855:function(e,t,i){var n,r;n=[i(0),i(7),i(14)],void 0===(r=function(e,t,i){"use strict";function n(e,t){t.css(e,{left:0,width:"100%"}),t.css(e+"iframe",{width:"100%"})}i.registerCustomDomChangesFunction("tpa.viewer.components.Collage",function(e){var i=e.getAttribute("id"),n=e.querySelector("#"+i+"iframe"),r=t(e).data("isScreenWidth"),o=e.offsetWidth;return[{node:n,type:"css",changes:{width:r?"100%":o}}]}),i.registerRequestToMeasureChildren("tpa.viewer.components.Collage",[["iframe"]]),i.registerRequestToMeasureChildren("tpa.viewer.components.StripShowcase",[["iframe"]]),i.registerPatcher("tpa.viewer.components.StripShowcase",n),i.registerRequestToMeasureChildren("tpa.viewer.components.StripSlideshow",[["iframe"]]),i.registerPatcher("tpa.viewer.components.StripSlideshow",n)}.apply(t,n))||(e.exports=r)},856:function(e,t,i){var n,r;n=[i(14)],void 0===(r=function(e){"use strict";function t(e,t,i){!function(e,t){var i=t.height[e+"wrapper"];i&&(t.height[e]=i)}(e,t);t.width[e]=Math.max(t.width[e],180),t.minWidth[e]=180}["wysiwyg.viewer.components.ContactForm","wysiwyg.viewer.components.DynamicContactForm"].forEach(function(i){e.registerCustomMeasure(i,t),e.registerRequestToMeasureChildren(i,[["wrapper"]]),e.registerPatcher(i,function(e,t,i){var n;t.attr(e,{"data-dcf-columns":(n=i.width[e],n<240?1:n<365?2:n<490?3:4)})})}),e.registerRequestToMeasureDom("wysiwyg.common.components.subscribeform.viewer.SubscribeForm"),e.registerRequestToMeasureChildren("wysiwyg.common.components.subscribeform.viewer.SubscribeForm",[["wrapper"]]),e.registerCustomMeasure("wysiwyg.common.components.subscribeform.viewer.SubscribeForm",function(e,t){var i=t.height[e+"wrapper"];i&&(t.height[e]=i)})}.apply(t,n))||(e.exports=r)},857:function(e,t,i){var n,r;n=[i(7),i(14)],void 0===(r=function(e,t){"use strict";var i=void 0;function n(e,t){return e&&"WixSite"===t}function r(t,n){var r,o;i=i||(r=e("
").css({visibility:"hidden",width:100,overflow:"scroll"}).appendTo("body"),o=e("
").css({width:"100%"}).appendTo(r).width(),r.remove(),100-o);var a=window.document.body.clientWidth,s=window.innerWidth,u=a;s>a+i&&(u=s),t.body=window.document.body,n.width.body=u}t.registerCustomMeasure("mobile.core.components.MasterPage",function(e,t,i,o,a){var s=a.isTabletDevice,u=a.documentType;n(s(),u)&&r(i,t)}),t.registerPatcher("mobile.core.components.MasterPage",function(e,t,i,r,o){n(o.isTabletDevice(),o.rendererModel.siteInfo.documentType)&&function(e,t){e.css("body",{width:t.width.body})}(t,i)})}.apply(t,n))||(e.exports=r)},858:function(e,t,i){var n,r;n=[i(0),i(14)],void 0===(r=function(e,t){"use strict";var i=function(e,t){t.css(e,{height:""})},n=function(e,t){t.css(e,{width:"",height:""})};return t.registerPatcher("wysiwyg.viewer.components.FacebookShare",n),t.registerPatcher("wysiwyg.viewer.components.PinterestFollow",n),t.registerPatcher("wysiwyg.viewer.components.PayPalButton",n),t.registerPatcher("platform.components.AppController",n),t.registerPatcher("wysiwyg.viewer.components.inputs.RadioGroup",i),t.registerPatcher("wysiwyg.viewer.components.inputs.CheckboxGroup",i),t.registerPatcher("wysiwyg.viewer.components.LoginButton",i),t.registerPatcher("wixui.Pagination",i),t.registerPatcher("wixui.Tags",i),t.registerPatcher("wixui.LineShareButton",n),{}}.apply(t,n))||(e.exports=r)},859:function(e,t,i){var n,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=[i(0),i(8),i(14),i(35)],void 0===(r=function(e,t,i,n){"use strict";t.isOpen("bv_wixImagePhaseTwo")&&"object"===("undefined"==typeof window?"undefined":o(window))&&"bolt"===e.get(window,"wixBiSession.renderType")||i.registerCustomLayoutFunction("wysiwyg.common.components.imagebutton.viewer.ImageButton",n.layoutChildNodeImages)}.apply(t,n))||(e.exports=r)},860:function(e,t,i){var n,r;n=[i(0),i(7),i(14),i(43)],void 0===(r=function(e,t,i,n){"use strict";var r=50;i.registerCustomMeasure("wysiwyg.viewer.components.BoxSlideShow",function(e,t){t.height[e]=Math.max(r,t.height[e]),t.minHeight[e]=r}),i.registerCustomMeasure("wysiwyg.viewer.components.BoxSlideShowSlide",function(e,i,r,o){i.top[e]=0,i.left[e]=0;var a=t(r[e]),s=a.data("parent-id");i.minHeight[e]=a.data("min-height"),i.height[e]=i.height[s],o.designDataItem.background&&n.measure(e,i,r,o)}),i.registerRequestToMeasureDom("wysiwyg.viewer.components.BoxSlideShow"),i.registerRequestToMeasureDom("wysiwyg.viewer.components.BoxSlideShowSlide"),i.registerRequestToMeasureChildren("wysiwyg.viewer.components.BoxSlideShowSlide",[["inlineContentParent"],["inlineContent"]].concat(n.BALATA_PATHS_TO_REQUEST_MEASURE)),i.registerPatcher("wysiwyg.viewer.components.BoxSlideShowSlide",function(e,t,i,r,o){r.designDataItem.background&&n.patch(e,t,i,r,o)})}.apply(t,n))||(e.exports=r)},861:function(e,t,i){var n,r;n=[i(0),i(14),i(43),i(11)],void 0===(r=function(e,t,i,n){"use strict";var r=n.mediaConsts.balataConsts;function o(e,t,n,r){t.top[e]=0,r.designDataItem.background&&i.measure(e,t,n,r)}function a(e,t,n,r,o){t.css(e,{width:"100%"}),r.designDataItem.background&&i.patch(e,t,n,r,o)}t.registerCustomMeasure("wysiwyg.viewer.components.StateBox",function(t,i,o,a,s){var u=s.isMobileView,c=o[t];if(c){var d=c.dataset.currentslide,g=i.height[d]||i.height[""+d+r.BALATA],h=n.dataUtils.getChildrenData(a.structure,u()),l=e.map(h,"id");g&&(i.height[t]=g,e(l).without(d).forEach(function(e){i.injectedAnchors[e]=[]}),i.injectedAnchors[d]=[{fromComp:d,distance:0,topToTop:0,originalValue:0,type:"BOTTOM_PARENT",locked:!0,targetComponent:t}])}}),t.registerMeasureChildrenFirst("wysiwyg.viewer.components.StateBox",!0),t.registerRequestToMeasureDom("wysiwyg.viewer.components.StateBoxState"),t.registerRequestToMeasureChildren("wysiwyg.viewer.components.StateBoxState",[["inlineContentParent"],["inlineContent"]].concat(i.BALATA_PATHS_TO_REQUEST_MEASURE)),t.registerCustomMeasure("wysiwyg.viewer.components.StateBoxState",o),t.registerPatcher("wysiwyg.viewer.components.StateBoxState",a),t.registerCustomMeasure("wysiwyg.viewer.components.StateStripState",o),t.registerPatcher("wysiwyg.viewer.components.StateStripState",a),t.registerRequestToMeasureDom("wysiwyg.viewer.components.StateBoxFormState"),t.registerRequestToMeasureChildren("wysiwyg.viewer.components.StateBoxFormState",[["inlineContentParent"],["inlineContent"]].concat(i.BALATA_PATHS_TO_REQUEST_MEASURE)),t.registerCustomMeasure("wysiwyg.viewer.components.StateBoxFormState",o),t.registerPatcher("wysiwyg.viewer.components.StateBoxFormState",a)}.apply(t,n))||(e.exports=r)},862:function(e,t,i){var n,r;n=[i(0),i(14),i(863)],void 0===(r=function(e,t,i){"use strict";var n={width:[{min:0,max:350,name:"minimal"},{min:0,max:450,name:"small"},{min:450,max:1200,name:"normal"},{min:1200,max:1/0,name:"large"}]};t.registerPatcher("wysiwyg.viewer.components.MediaControls",function(e,t,r){t.attr(e,i(e,r,n))})}.apply(t,n))||(e.exports=r)},863:function(e,t,i){var n,r;n=[i(0)],void 0===(r=function(e){"use strict";return function(t,i,n){var r="data-element-query-",o={};return e.forEach(n,function(n,a){var s=e.get(i,[a,t]);s&&(o[r+a]="",e.forEach(n,function(e){e.mins&&(o[r+a]&&(o[r+a]+=" "),o[r+a]+=e.name)}))}),o}}.apply(t,n))||(e.exports=r)},864:function(e,t,i){var n,r;n=[i(0),i(14),i(251)],void 0===(r=function(e,t,i){"use strict";t.registerCustomLayoutFunction("wysiwyg.viewer.components.MediaOverlayControls",function(e,t){var n=e+"catcher",r=t[e].getAttribute("data-player-id");t[n]=t[e].querySelector("#"+n);var o=-t[e].offsetTop,a=-t[e].offsetLeft,s=t[r].offsetWidth,u=t[r].offsetHeight,c=i.layoutShapeNodes(e,t);return function(e){e.css(n,{top:o,left:a,width:s,height:u}),c(e)}})}.apply(t,n))||(e.exports=r)},865:function(e,t,i){var n,r;n=[i(0),i(7),i(11),i(14),i(43)],void 0===(r=function(e,t,i,n,r){"use strict";var o=i.mediaConsts.balataConsts;var a="wysiwyg.viewer.components.StripColumnsContainer",s="wysiwyg.viewer.components.Column";n.registerPureDomWidthMeasure(a),n.registerPureDomHeightMeasure(a),n.registerRequestToMeasureChildren(a,r.BALATA_PATHS_TO_REQUEST_MEASURE),n.registerCustomMeasure(a,function(n,a,s,u,c){var d=c.isMobileView;if(c.isMesh)return r.measure(n,a,s,u);var g=i.dataUtils.getChildrenData(u.structure,d()),h=e.map(g,"id"),l=t(s[n]).data("rowMargin"),p=t(s[n]).data("colMargin"),m=t(s[n]).data("isScreenWidth");if(a.custom[n]={fullWidth:m},d()){var f=2*l+(g.length-1)*p;e.forEach(h,function(e,t){f+=a.height[e],a.minHeight[e]=a.height[e];var i=0===t,r=t===h.length-1;i&&(a.top[e]=l),a.injectedAnchors[e]=r?[{fromComp:e,distance:l,topToTop:0,originalValue:0,type:"BOTTOM_PARENT",locked:!0,targetComponent:n}]:[{fromComp:e,distance:p,locked:!0,originalValue:0,targetComponent:h[t+1],topToTop:0,type:"BOTTOM_TOP"}]}),a.height[n]=f,a.height[n+o.BALATA]=f}else{var w=e(a.height).pick(h).values().max();e.forEach(h,function(e){a.top[e]=l,a.minHeight[e]=w,a.injectedAnchors[e]=[{fromComp:e,distance:0,originalValue:0,type:"BOTTOM_PARENT",locked:!0,targetComponent:n}]}),a.height[n]=w+2*l,a.containerHeightMargin[n]=l,a.height[n+o.BALATA]=w+2*l}r.measure(n,a,s,u)}),n.registerPatcher(a,function(t,i,n,o,a){if(a.isMesh)return r.patch(t,i,n,o,a);i.css(t,{height:n.height[t],left:0}),e.get(n,["custom",t,"fullWidth"],!1)&&i.css(t,{width:"100%"}),r.patch(t,i,n,o,a)}),n.registerPureDomWidthMeasure(s),n.registerPureDomHeightMeasure(s),n.registerRequestToMeasureChildren(s,r.BALATA_PATHS_TO_REQUEST_MEASURE),n.registerLayoutInnerCompsFirst(s,function(t,i,n,r,o,a,s){var u=t.structure,c=u.id;if(!o.isMesh){var d=n.height[c];a(u),n.minHeight[c]=0,n.height[c]=u.layout.height;var g=s(u);return o.isMobileView()&&(n.top[c]=r[c].offsetTop),d!==n.height[c]&&e.set(g,c,!0),{needsAdditionalInnerLayout:!1,needsParent:!0,changedCompsMap:e.mapValues(g,e.constant(!0))}}},e.noop),n.registerCustomMeasure(s,function(e,t,i,n,a){if(a.isMesh)return r.measure(e,t,i,n);var s=i[e]; //!!!should revisit!! - minHeight is set on pre-measure. mesh layout doesnt invoke pre-measure(anchor less). t.height[e]=t.minHeight[e]||t.height[e],t.width[e]=s.offsetWidth,r.measure(e,t,i,n),t.height[e+o.BALATA]=t.minHeight[e]}),n.registerPatcher(s,function(e,t,i,n,o){if(o.isMesh)return r.patch(e,t,i,n,o);t.css(e,{height:i.height[e]}),o.isMobileView()||t.css(e,{left:"",width:"",position:"relative"}),r.patch(e,t,i,n,o)})}.apply(t,n))||(e.exports=r)},866:function(e,t,i){var n,r;n=[i(0),i(7),i(14),i(867),i(247),i(43)],void 0===(r=function(e,t,i,n,r,o){"use strict";i.registerMeasureChildrenFirst("wysiwyg.viewer.components.PopupContainer",!0),i.registerRequestToMeasureChildren("wysiwyg.viewer.components.PopupContainer",[["inlineContent"]].concat(o.BALATA_PATHS_TO_REQUEST_MEASURE)),i.registerRequestToMeasureDom("wysiwyg.viewer.components.PopupContainer"),i.registerCustomMeasure("wysiwyg.viewer.components.PopupContainer",function(e,i,o,a,s){var u=s.siteWidth,c=s.siteX;r.measureContainer(e,i,o),n.measure(e,i,o,a,{siteWidth:u});var d="fullWidth"===t(o[e]).data("docking").alignmentType,g="ROOT_"+a.rootId;i.width[g]=i.width[e],i.left[g]=d?0:Math.floor(i.left[e]-c)}),i.registerPatcher("wysiwyg.viewer.components.PopupContainer",function(e,t,i,r,o){n.patch(e,t,i,r,o)})}.apply(t,n))||(e.exports=r)},867:function(e,t,i){var n,r;n=[i(0),i(7),i(43),i(75),i(9)],void 0===(r=function(e,t,i,n,r){"use strict";var o="fullHeight",a="fullWidth";function s(t){return e.get(t.designDataItem,"background",e.get(t.dataItem,"background"))}var u=function(t,n,r,o){e.set(n.custom,[t,"patchBaltaOnly"],!0),n.custom[t].docking.alignmentType!==a?i.measure(t,n,r,o):function(e,t,n,r){s(r)&&i.measure(e,t,n,r)}(t,n,r,o)},c=function(e,t,n,u,c){var d=c.siteWidth,g=t.custom[e].docking,h=void 0;g.alignmentType!==a?(g.alignmentType===o&&(t.minHeight[e]=t.innerHeight.screen,t.height[e]=Math.max(t.height[e],t.minHeight[e]),t.shrinkableContainer[e]=!0,h={top:0,left:0,width:t.width[e],height:t.innerHeight.screen}),t.left[e]=r.compAlignmentUtils.getLeft(g,t.width[e],t.width.screen,d),i.measure(e,t,n,u,h)):function(e,t,n,r){var o=t.height[e+"inlineContent"]||0;t.left[e]=0,t.width[e]=t.width.screen,t.containerHeightMargin[e]=o?n[e].offsetHeight-o:0,s(r)&&i.measure(e,t,n,r)}(e,t,n,u)},d=function(e,t,n,r,o){n.custom[e].docking.alignmentType===a?function(e,t,n,r,o){s(r)&&i.patch(e,t,n,r,o)}(e,t,n,r,o):i.patch(e,t,n,r,o)},g=function(t,o,u,c,d){var g=u.custom[t].docking,h=d.getCurrentPopupId(),l=r.compAlignmentUtils.getTop(g,u.height[t],u.innerHeight.screen),p=u.height[h]=e.max([u.height.screen,l+u.height[t]]);u.top[t]=l,o.css(h,{height:p}),o.css(t,{left:u.left[t],top:l,width:u.width[t],height:u.height[t]}),g.alignmentType===a?function(e,t,r,o,a){s(o)&&(t.css(e,{left:0,width:n.getRootWidth(a.getSiteWidth(),r,o.rootId)}),i.patch(e,t,r,o,a))}(t,o,u,c,d):i.patch(t,o,u,c,d)};return{measure:function(i,n,r,o,a){var s=a.siteWidth,d=t(r[i]).data("docking");return e.set(n.custom,[i,"docking"],d),"true"===r[i].getAttribute("data-is-mesh")?u(i,n,r,o):c(i,n,r,o,{siteWidth:s})},patch:function(t,i,n,r,o){return e.get(n,["custom",t,"patchBaltaOnly"],!1)?d(t,i,n,r,o):g(t,i,n,r,o)}}}.apply(t,n))||(e.exports=r)},868:function(e,t,i){var n,r;n=[i(0),i(14),i(35)],void 0===(r=function(e,t,i){"use strict";t.registerRequestToMeasureChildren("wysiwyg.common.components.rssbutton.viewer.RSSButton",function(t,i,n){return[{type:"core.components.Image",pathArray:[e.get(n,["dataItem","image","id"])]}]}),t.registerPatcher("wysiwyg.common.components.rssbutton.viewer.RSSButton",function(t,n,r,o,a){var s=e.get(o,"layout"),u=e.get(o,["dataItem","image"]);e.assign(u,{displayMode:"full"}),i.patchNodeImage(t+e.get(u,"id"),n,r,a,u,s)})}.apply(t,n))||(e.exports=r)},869:function(e,t,i){var n,r;n=[i(14)],void 0===(r=function(e){"use strict";e.registerRequestToMeasureDom("wysiwyg.viewer.components.tpapps.TPAWidget"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.tpapps.TPAGluedWidget"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.tpapps.TPASection"),e.registerRequestToMeasureDom("wysiwyg.viewer.components.tpapps.TPAMultiSection"),e.registerPatcher("wysiwyg.viewer.components.tpapps.TPAWidgetNative",function(e,t){t.css(e,{height:""})}),e.registerPureDomHeightMeasure("wysiwyg.viewer.components.tpapps.TPAWidgetNative")}.apply(t,n))||(e.exports=r)},870:function(e,t,i){var n,r;n=[i(0),i(14),i(252),i(43)],void 0===(r=function(e,t,i,n){"use strict";var r="inlineContentParent",o="inlineContent",a="overlay";function s(t){return e.has(t,"layout.docked.top")&&e.has(t,"layout.docked.bottom")}function u(t){return e.has(t,"layout.docked.left")&&e.has(t,"layout.docked.right")}function c(t,n,r,o){i.measure(t,n,r,o),function(e,t){e.shrinkableContainer[t]&&delete e.shrinkableContainer[t],e.minHeight[t]&&delete e.minHeight[t]}(n,t),s(o)&&(n.height[t]=n.minHeight[t]=n.height.screen,n.shrinkableContainer[t]=!0),u(o)&&(n.width[t]=r[t].clientWidth||n.width[t]),n.custom[t]=n.custom[t]||{},n.height[t]&&e.set(n,["relativeToScreenOverrides",t,"height"],n.height[t])}function d(t,n,c,d,g){var h=e.get(c,["height","WIX_ADStop"],0);i.patch(t,n,c,d,g),g.isMobileView()&&(n.css(t+a,{height:"100vh",width:c.width.screen,left:"calc((100% - "+c.width.screen+"px) / 2)"}),u(d)&&n.css(t,{left:"calc((100% - "+c.width.screen+"px) / 2)"})),s(d)&&(n.css(t+r,{height:c.height.screen-h}),n.css(t+o,{height:c.height[t]-h,marginTop:h+"px"}),n.css(t,{height:g.isMobileDevice()?"100vh":c.minHeight[t],top:0}))}e.forEach(["wysiwyg.viewer.components.MenuContainer"],function(e){t.registerCustomMeasure(e,c),t.registerPureDomHeightMeasure(e),t.registerRequestToMeasureChildren(e,n.BALATA_PATHS_TO_REQUEST_MEASURE.concat([["container"],[r],[o],[a]])),t.registerPatcher(e,d)})}.apply(t,n))||(e.exports=r)},871:function(e,t,i){var n,r;n=[i(0),i(14)],void 0===(r=function(e,t){"use strict";function i(e,t,i,n,r){n.layout.fixedPosition&&r.isMobileView()&&(t.top[e]=n.layout.y)}function n(t,i,n,r,o){var a=e.get(n,["height","WIX_ADStop"],0);r.layout.fixedPosition&&o.isMobileView()&&i.css(t,{marginTop:a+"px"})}e.forEach(["wysiwyg.viewer.components.InlinePopupToggle","wysiwyg.viewer.components.MenuToggle"],function(e){t.registerCustomMeasure(e,i),t.registerPatcher(e,n)})}.apply(t,n))||(e.exports=r)},872:function(e,t,i){var n,r;n=[i(0),i(14)],void 0===(r=function(e,t){"use strict";var i="wysiwyg.viewer.components.RefComponent";t.registerRequestToMeasureDom(i),t.registerCustomMeasure(i,function(t,i,n,r){i.shrinkableContainer[t]=!0;var o=e.get(r,["structure","components",0,"id"]);if(o&&n[o]){var a=n[o];i.height[t]=a.offsetHeight,i.width[t]=a.offsetWidth}})}.apply(t,n))||(e.exports=r)},873:function(e,t,i){var n,r;n=[i(0),i(11),i(75),i(14),i(130)],void 0===(r=function(e,t,i,n,r){"use strict";var o=t.layoutUtils.stretchInCenteredContainer;function a(t){return"Image"===e.get(t,["dataItem","type"])}n.registerCustomMeasure("wysiwyg.viewer.components.BgImageStrip",function(e,t,n,s,u){var c=function(e,t,n){var r=i.getRootWidth(t,e,n),a=Math.max(e.width.screen,r);return o(r,a)}(t,u.siteWidth,s.rootId),d=c.width,g=c.left;t.width[e]=d,t.left[e]=g,a(s)&&r.measureLegacyBgImageStrip(e,t,n)}),n.registerPatcher("wysiwyg.viewer.components.BgImageStrip",function(e,t,i,n,o){if(t.css(e,{width:i.width[e]+"px",left:i.left[e]+"px"}),a(n)){var s={width:i.width[e],height:i.height[e]};r.patchLegacyBgImageStrip(e,t,i,n,o,s)}else{var u=e+"bg";t.css(u,{backgroundImage:"none"})}})}.apply(t,n))||(e.exports=r)},874:function(e,t,i){var n,r;function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}n=[i(0),i(253),i(14)],void 0===(r=function(e,t,i){"use strict";var n="wysiwyg.viewer.components.HeaderContainer";i.registerRequestToMeasureDom(n),i.registerRequestToMeasureChildren(n,[["screenWidthBackground"],["inlineContent"]]),i.registerCustomLayoutFunction(n,function(i,n,r){var a=n[i];return e.merge(r,{left:o({},i,0),width:o({},i,parseInt(a.dataset.siteWidth,10)),top:o({},i,"fixed"===a.style.position?0:parseInt(a.style.top,10))}),t(i)})}.apply(t,n))||(e.exports=r)},875:function(e,t,i){var n,r;n=[i(9),i(14),i(253)],void 0===(r=function(e,t,i){"use strict";var n="wysiwyg.viewer.components.FooterContainer";t.registerRequestToMeasureDom(n),t.registerRequestToMeasureChildren(n,[["screenWidthBackground"],["inlineContent"]]),t.registerCustomLayoutFunction(n,function(t,n,r){var o=n[t],a="true"===o.getAttribute("data-fixedposition"),s=parseInt(o.dataset.siteWidth,10),u=e.measurerUtils.getSiteMarginBottom();r.left[t]=0,r.width[t]=s;var c=i(t);return function(e){c(),a&&e.css(t,{left:0,top:"auto",bottom:u})}})}.apply(t,n))||(e.exports=r)},876:function(e,t,i){var n,r;n=[i(0),i(11),i(14),i(35),i(43)],void 0===(r=function(e,t,i,n,r){"use strict";var o=t.mediaConsts.balataConsts.BALATA;function a(t,i,n){var r="true"===i[t].getAttribute("data-ismobile")?"mobile":"desktop";return e.get(n.dataItem,["pageBackgrounds",r,"ref"])}var s="mobile.core.components.Page";i.registerRequestToMeasureDom(s),i.registerMeasureChildrenFirst(s,!0),i.registerRequestToMeasureChildren(s,function(e,t){var i="true"===t[e].getAttribute("data-ispopup")?r.BALATA_PATHS_TO_REQUEST_MEASURE:[];return[["inlineContent"]].concat(function(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t