/*! This minified app bundle contains open source software from several third party developers. Please review CREDITS.md in the root directory or LICENSE.md in the current directory for complete licensing, copyright and patent information. This bundle.js file and the included code may not be redistributed without the attributions listed in LICENSE.md, including associate copyright notices and licensing information. */ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,o,a=t[0],i=t[1],s=0,l=[];s3&&void 0!==arguments[3]?arguments[3]:300;window.wpCookies.set(this.getName(e,t),p()(n)?t:n,o,this.path,!1,this.secure)}},{key:"get",value:function(e,t){return window.wpCookies.get(this.getName(e,t))}},{key:"remove",value:function(e,t){window.wpCookies.remove(this.getName(e,t),this.path,!1,this.secure)}}]),e}()),Se=window,Te=Se.document,xe=null;e(window).on("et_fb_init",function(){Se=window.ET_Builder.Frames.app,Te=Se.document});var Ae={applyMixinsSafely:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o=t?"":new Array(1+t-e.length>>>0).join(n);return o?e+r:r+e},r=function(e,t,n,r,a){var i=r-e.length;return i>0&&(e=n||"0"!==a?o(e,r,a,n):[e.slice(0,t.length),o("",i,"0",!0),e.slice(t.length)].join("")),e},a=function(e,t,n,a,i,s){return e=o((e>>>0).toString(t),i||0,"0",!1),r(e,"",n,a,s)},i=function(e,t,n,o,a){return null!==o&&void 0!==o&&(e=e.slice(0,o)),r(e,"",t,n,a)};try{return n.replace(/%%|%(?:(\d+)\$)?((?:[-+#0 ]|'[\s\S])*)(\d+)?(?:\.(\d*))?([\s\S])/g,function(n,s,l,u,d,c){var p,f,h,_,m;if("%%"===n)return"%";var b,g,v=" ",y=!1,w="";for(b=0,g=l.length;b-1?6:void 0,s&&0==+s)throw new Error("Argument number must be greater than zero");if(s&&+s>=e.length)throw new Error("Too few arguments");switch(m=s?e[+s]:e[t++],c){case"%":return"%";case"s":return i(m+"",y,u,d,v);case"c":return i(String.fromCharCode(+m),y,u,d,v);case"b":return a(m,2,y,u,d,v);case"o":return a(m,8,y,u,d,v);case"x":return a(m,16,y,u,d,v);case"X":return a(m,16,y,u,d,v).toUpperCase();case"u":return a(m,10,y,u,d,v);case"i":case"d":return p=+m||0,m=(f=(p=Math.round(p-p%1))<0?"-":w)+o(String(Math.abs(p)),d,"0",!1),y&&"0"===v&&(v=" "),r(m,f,y,u,v);case"e":case"E":case"f":case"F":case"g":case"G":return f=(p=+m)<0?"-":w,h=["toExponential","toFixed","toPrecision"]["efg".indexOf(c.toLowerCase())],_=["toString","toUpperCase"]["eEfFgG".indexOf(c)%2],m=f+Math.abs(p)[h](d),r(m,f,y,u,v)[_]();default:return""}})}catch(e){return!1}},isJson:function(e){try{return g()(JSON.parse(e))}catch(e){return!1}},isValidHtml:function(e){var t=["area","base","br","col","embed","hr","img","input","link","menuitem","meta","param","source","track","wbr","!--"].join("|"),n=new RegExp("<("+t+").*?>","gi"),o=e.replace(n,""),r=o.match(/<[^\/].*?>/g)||[],a=o.match(/<\/.+?>/g)||[];return r.length===a.length},getOS:function(){if(!p()(window.navigator)){if(-1!=navigator.appVersion.toLocaleLowerCase().indexOf("win"))return"Windows";if(-1!=navigator.appVersion.toLocaleLowerCase().indexOf("mac"))return"MacOS";if(-1!=navigator.appVersion.toLocaleLowerCase().indexOf("x11"))return"UNIX";if(-1!=navigator.appVersion.toLocaleLowerCase().indexOf("linux"))return"Linux"}return"Unknown"},isModuleLocked:function(e,t){var n=e.props||e,o=d()(n,"address"),r=Ae.isOn(d()(n,"attrs.locked"))||d()(n,"lockedParent");if(!r){var a=o.split("."),i=R()(a).map(function(e){return z()(a,parseInt(e,10)+1).join(".")});C()(i,function(e){var n=H()(t,{address:e});if(Ae.isOn(d()(n,"attrs.locked"))||d()(n,"lockedParent"))return r=!0,!1})}return r},getModuleSectionType:function(e,t){var n=e.props||e,o=q()(d()(n,"address").split(".")),r=H()(t,{address:o});return Ae.isOn(d()(r,"attrs.fullwidth"))?"fullwidth":Ae.isOn(d()(r,"attrs.specialty"))?"specialty":"regular"},getModuleAncestor:function(e,t,n){var o=void 0,r=t.props||t,a=Ae.getModuleSectionType(r,n),i=d()(r,"address","").split("."),s=R()(i).map(function(e){return z()(i,parseInt(e,10)+1)});return C()(s,function(t){var r=H()(n,{address:t.join(".")}),i=d()(r,"type","");switch(a){case"specialty":0===i.replace("et_pb_","").indexOf(e)&&(o=r);break;default:i.replace("et_pb_","")===e&&(o=r)}}),o},isOn:function(e){return"on"===e},isOff:function(e){return"off"===e},isOnOff:function(e){return M()(["on","off"],e)},isYes:function(e){return"yes"===e},isNo:function(e){return"no"===e},isDefault:function(e){return"default"===e},isMobileDevice:function(){if(null===xe)try{document.createEvent("TouchEvent"),xe=this.$appWindow().width()<=1024}catch(e){xe=!1}return xe},isFileExtension:function(e,t){return t===q()(Y()(e.split(".")).split("?"))},isIEOrEdge:function(){return document.documentMode||window.StyleMedia},isIE:function(){return this.$appWindow("body").hasClass("ie")},getConditionalDefault:function(e,t,n,o){if(!y()(e)||!g()(d()(e,"1")))return e;var r=we(e,2),a=r[0],i=r[1];o&&(a=ge.a.getHoverField(a));var s=n?n.resolve(a):d()(t,a);return p()(s)&&(s=R()(i)[0]),d()(i,s)},getValueOrConditionalDefault:function(e,t,n){var o=d()(t,e);return p()(o)||""===o?Ae.getConditionalDefault(d()(n,e),t):o},condition:function(e){return ETBuilderBackend.conditionalTags[e]},hasNumericValue:function(e){return!A()(e)&&""!==e&&void 0!==e},hasValue:function(e){return""!==e&&void 0!==e&&!1!==e},get:function(e,t){return this.hasValue(e)?e:t},getResponsiveStatus:function(e){var t=m()(e)?e.split("|"):["off","desktop"];return!p()(t[0])&&this.isOn(t[0])},getResponsiveLastMode:function(e){var t=m()(e)?e.split("|"):["off","desktop"];return d()(t,[1],"desktop")},parseShortcode:function(t,n,o){var r=this,a=document.documentMode,i="et-fb-preview-"+T()()+"-"+Math.floor(1e3*Math.random()+1),s=ETBuilderBackend.site_url+"/?et_pb_preview=true&et_pb_preview_nonce="+ETBuilderBackend.nonces.preview+"&iframe_id="+i;setTimeout(function(){var l=e('*[data-shortcode-id="'+o+'"]'),u=l.length?l.width()+"px":"100%",d=e("

'})),e):""},_handleModification:function(){this.setState({hasChanges:!0})},_onNodeChange:function(e,t){if(!1!==this.state.showPopover){this.setState({editor:t});var n={active:!0,hasChanges:this.state.hasChanges,editor:t,module:this,posX:this.state.posX,posY:this.state.posY,viewportX:this.state.viewportX,viewportY:this.state.viewportY,selection:t.selection.getNode()};s.b.updateInlineEditorProps(n)}},_onMouseUp:function(t,n){var o=this;if(2!==t.button){if(!1===this.state.showPopover&&(e(n.bodyElement).prop("contentEditable",!0),e(n.bodyElement).focus(),setTimeout(function(){return s.b.setEditedModule(o,!0)},0),!E()(this.state.shortcodeHTML)&&!this.state.shortcodesDecoded)){var r=this.getContent();n.setContent(r,{format:"raw"})}this.setState({showPopover:!0,shortcodesDecoded:!0,editor:n,posX:t.pageX,posY:t.pageY,viewportX:t.screenX,viewportY:t.screenY});var a={active:!0,hasChanges:this.state.hasChanges,posX:t.pageX,posY:t.pageY,viewportX:t.screenX,viewportY:t.screenY,editor:n,module:this,selection:n.selection.getNode()};s.b.updateInlineEditorProps(a,!1,!0)}},_onFocusout:function(e,t){if(l.a.getInlineEditorLastClick())return this.buttonClicked=!0,void e.preventDefault();this.buttonClicked=!1,this.disablePopup(t)},_onFocus:function(e,t){this.editor=t,this.props.rawContentProcessor&&this.local_version++},_onBlur:function(e,t){this.buttonClicked?e.preventDefault():this.disablePopup(t)},_onContextMenu:function(){this.setState({rightClick:!0})}});t.a=K}).call(this,n(26))},function(e,t){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n1&&void 0!==arguments[1]&&arguments[1];if(!$()(e,"css.important"))return!1;var n=W()(e,"css.important");if("all"===n||this.isLimitedMode&&"plugin_only"===n)return!0;if(O()(n)){if(this.isLimitedMode&&P()(n,"plugin_all"))return!0;if(!1!==t&&P()(n,t))return!0}return!1}},{key:"getDeclaration",value:function(e,t,n,o){var r=e?e+"_":"",a=function(e){return r+"text_shadow_"+e};return"text-shadow: "+ie.map(function(e){return d.a.getValueOnHover(""+a(e),n)||function(e){return u.default.getValueOrConditionalDefault(d.a.getHoverFieldOnHover(""+a(e),n),n,o)}(e)}).join(" ")+(t?"!important":"")+";"}},{key:"updateStyles",value:function(e,t,n){var o=ae(e.props.type),r=W()(o,"advanced_defaults",{}),a=e.getMainElementSelector(),i=e.props.all_attrs,s=this.isLimitedMode&&$()(n,"css.limited_main")?"css.limited_main":"css.main",l=W()(n,"css.text_shadow",W()(n,s,a)),u=this.getDeclaration(t,this.getImportant(n,"text-shadow"),i,r);O()(l)?_()(l,function(t){return e.updateStylesArray(t,u)}):e.updateStylesArray(l,u)}},{key:"getValue",value:function(e,t,n){var o=s.a.getHoverMode(),r=o?d.a.hoverSuffix():"";return W()(t,""+e+r,o?W()(t,e,n):n)}},{key:"processAdvancedCSS",value:function(e){var t=this,n=ae(e.props.type),o=e.props.all_attrs,r=W()(n,"advanced_common",n);if($()(r,"fonts")&&_()(r.fonts,function(n,r){"none"!==t.getValue(r+"_text_shadow_style",o,"none")&&t.updateStyles(e,r,n)}),$()(r,"text")&&"none"!==this.getValue("text_shadow_style",o,"none")){var a=W()(r,"text");this.updateStyles(e,"",a)}if($()(r,"fields")&&"none"!==this.getValue("fields_text_shadow_style",o,"none")){var i=W()(r,"fields");this.updateStyles(e,"fields",i)}$()(r,"button")&&_()(r.button,function(n,r){var a="custom_"+r;if(u.default.isOn(W()(o,a))&&"none"!==t.getValue(r+"_text_shadow_style",o,"none")){var i=W()(n,"css.main",e.getMainElementSelector()+" .et_pb_button");G()(n,"css.text_shadow",i),t.updateStyles(e,r,n)}})}}]),e}()),le=(n(51),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];if(!$()(e,"css.important"))return!1;var n=W()(e,"css.important");if("all"===n||this.isLimitedMode&&"plugin_only"===n)return!0;if(O()(n)){if(this.isLimitedMode&&P()(n,"plugin_all"))return!0;if(!1!==t&&P()(n,t))return!0}return!1}},{key:"getDeclaration",value:function(e,t,n,o,r){var a=e?e+"_":"",i=de.map(function(e){var t=a+"filter_"+e,i=e.replace("_","-"),s=d.a.getHoverOrNormalOnHover(t,n),l=W()(o,d.a.getHoverFieldOnHover(t,n));return s!==l&&(s&&r&&ce.includes(e)?i+"("+l+")":s?i+"("+s+")":void 0)}).filter(Boolean);return i.length<1?"":"filter: "+i.join(" ")+(t?"!important":"")+"; backface-visibility:hidden;"}},{key:"updateStyles",value:function(e,t,n){var o=ue(e.props.type),r=W()(o,"advanced_defaults",{}),a=e.getMainElementSelector(),i=e.props.all_attrs,s=this.isLimitedMode&&$()(n,"css.limited_main")?"css.limited_main":"css.main",l=W()(n,"css.filters",W()(n,s,a)),u="string"==typeof l?l.split(","):l,d=this.getDeclaration(t,this.getImportant(n,"filters"),i,r,!1);if(d.length){var c=this.getDeclaration(t,this.getImportant(n,"filters"),i,r,!0),p=/%%placeholder%%/gi,f="html:not(.et_fb_edit_enabled) #et-fb-app %%placeholder%%:hover";O()(u)?_()(u,function(t){e.updateStylesArray(t,d),c.length&&e.updateStylesArray(f.replace(p,t),c)}):(e.updateStylesArray(u,d),c.length&&e.updateStylesArray(f.replace(p,u),c))}}},{key:"processAdvancedCSS",value:function(e){var t=ue(e.props.type),n=(e.props.all_attrs,W()(t,"advanced_common",t));$()(n,"filters")&&this.updateStyles(e,"",n.filters),$()(n,"image")&&this.updateStyles(e,"child",n.image),$()(n,"icon_settings")&&this.updateStyles(e,"child",n.icon_settings),$()(n,"child_filters")&&this.updateStyles(e,"child",n.child_filters)}}]),e}()),fe=function(){function e(e,t){for(var n=0;n'}return o+='',o+=this.getSVGPath(n),o+="",o+=""}},{key:"processAdvancedCSS",value:function(e){var t=this,n=e.props.all_attrs,o=s.a.getPreviewMode(),r=P()(["tablet","phone"],o),a=u.default.get(W()(e,"props.all_attrs.background_color"),"et_pb_section"===e.props.type?this.getDefaultSectionBackgroundColor():""),i=u.default.moduleHasBackground(W()(e,"props.all_attrs",{}),["gradient","image","video"]);_()(["top","bottom"],function(s){var l="%%order_class%%.section_has_divider .et_pb_"+s+"_inside_divider";if(!E()(n[s+"_divider_style"])){var c="",p=n[s+"_divider_style"]+"-"+s,f=t.getAdjacentSectionBackgroundColor(e,s),h=n[s+"_divider_color"]?n[s+"_divider_color"]:f,_=d.a.getHoverOrNormal(s+"_divider_height",n)||"100px",m=n[s+"_divider_repeat"]?parseFloat(n[s+"_divider_repeat"]):1,b=n[s+"_divider_flip"]?n[s+"_divider_flip"].split("|"):[],g=n[s+"_divider_arrangement"];if(r){var y=u.default.getResponsiveStatus(W()(n,[s+"_divider_height_last_edited"])),w=W()(n,s+"_divider_height_"+o);y&&u.default.hasValue(w)&&(_=w);var k=u.default.getResponsiveStatus(W()(n,[s+"_divider_repeat_last_edited"])),C=W()(n,s+"_divider_repeat_"+o);k&&u.default.hasValue(C)&&(m=parseFloat(C))}if(c=a!==f||i||u.default.hasValue(W()(n,s+"_divider_color"))?h:"#000",P()(b,"vertical"))switch(s){case"top":p=n[s+"_divider_style"]+"-bottom";break;case"bottom":p=n[s+"_divider_style"]+"-top"}var O="background-image: url( data:image/svg+xml;base64,"+u.default.appWindow().btoa(t.getSVG(c,_,p))+")",M="background-size: "+100/m+"% "+_;switch(-1<_.indexOf("%")&&(M="background-size: "+100/m+"% 100%"),p){case"clouds-top":case"clouds2-top":M="background-size: cover; background-position: center "+("top"===s||"vertical"===b?"top":"bottom");break;case"clouds-bottom":case"clouds2-bottom":M="background-size: cover; background-position: center "+("top"===s||"vertical"!==b?"top":"bottom");break;case"triangle-top":case"triangle-bottom":M="background-size: cover; background-position-x: center"}e.updateStylesArray(""+l,s+": 0"),"on"===n.fullwidth||"above_content"===g?e.updateStylesArray(""+l,"z-index: 10"):e.updateStylesArray(""+l,"z-index: 1");var S=[];P()(b,"horizontal")&&S.push("rotateY(180deg)"),P()(b,"vertical")&&S.push("rotateX(180deg)"),v()(S)||e.updateStylesArray(""+l,"transform: "+S.join(" ")),e.updateStylesArray(""+l,O+"; "+M),e.updateStylesArray(""+l,"height: "+_)}})}}]),e}()),_e=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];if(!$()(e,"css.important"))return!1;var n=W()(e,"css.important");if("all"===n||this.isLimitedMode&&"plugin_only"===n)return!0;if(O()(n)){if(this.isLimitedMode&&P()(n,"plugin_all"))return!0;if(!1!==t&&P()(n,t))return!0}return!1}},{key:"getDeclaration",value:function(e,t,n,o){var r=e?e+"_":"";return"mix-blend-mode: "+u.default.getValueOrConditionalDefault(r+"mix_blend_mode",n,o)+(t?" !important":"")+"; backface-visibility:hidden;"}},{key:"updateStyles",value:function(e,t,n){var o=me(e.props.type),r=W()(o,"advanced_defaults",{}),a=e.getMainElementSelector(),i=e.props.all_attrs,s=this.isLimitedMode&&$()(n,"css.limited_main")?"css.limited_main":"css.main",l=W()(n,"css.mix_blend_mode",W()(n,s,a)),u=this.getDeclaration(t,this.getImportant(n,"mix-blend-mode"),i,r);O()(l)?_()(l,function(t){return e.updateStylesArray(t,u)}):e.updateStylesArray(l,u)}},{key:"processAdvancedCSS",value:function(e){var t=me(e.props.type),n=e.props.all_attrs,o=W()(t,"advanced_common",t);$()(o,"filters")&&"normal"!==W()(n,"mix_blend_mode","normal")&&this.updateStyles(e,"",o.filters),$()(o,"image")&&"normal"!==W()(n,"child_mix_blend_mode","normal")&&this.updateStyles(e,"child",o.image),$()(o,"icon_settings")&&"normal"!==W()(n,"child_mix_blend_mode","normal")&&this.updateStyles(e,"child",o.icon_settings),$()(o,"child_filters")&&"normal"!==W()(n,"child_mix_blend_mode","normal")&&this.updateStyles(e,"child",o.child_filters)}}]),e}()),ge=n(243),ve=n(44),ye=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),we=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],w=W()(r,l);if(w){var k=y||l,C=W()(w,"css.important",""),M="all"===C||"plugin_only"===C&&u.default.condition("et_is_builder_plugin_active")||W()(w,"css.important",!1),S=M?" !important":"",T=void 0!==w.css&&void 0!==w.css.main&&""!==w.css.main?w.css.main:p;switch(k){case"border":var x=l.replace("border",""),A="border_radii"+x,N="border_styles"+x,L=String(d.a.getSplitValueOnHover(A,a)||a[A]),I=W()(T,"border_styles",p);if(I=I.replace(/%%parent_class%%/g,"."+t.props.type.replace("_item","")),f._isDependsShowAllowed(W()(w,A),a)&&u.default.hasValue(L)&&L!==W()(r,"border"+x+"."+A+".default")){var j=L.split("|"),D="border-radius: "+u.default.get(j[1],"0")+" "+u.default.get(j[2],"0")+" "+u.default.get(j[3],"0")+" "+u.default.get(j[4],"0")+S,R=E()(T.border_radii)||v()(T.border_radii)?p:T.border_radii;R=R.replace(/%%parent_class%%/g,"."+t.props.type.replace("_item","")),"et_pb_video"===W()(f,"props.type")&&(R+=" .et_pb_with_border",I+=" .et_pb_with_border",f.updateStylesArray(R,"position: relative")),f.updateStylesArray(R,D),P()(["et_pb_social_media_follow","et_pb_social_media_follow_network"],W()(f,"props.type"))||f.updateStylesArray(R,"overflow: hidden");u.default.isOn(W()(a,"parallax"))&&P()(["et_pb_audio","et_pb_blurb","et_pb_cta","et_pb_circle_counter","et_pb_countdown_timer","et_pb_signup","et_pb_login","et_pb_number_counter","et_pb_team_member","et_pb_post_title","et_pb_search","et_pb_shop","et_pb_sidebar","et_pb_tabs","et_pb_testimonial","et_pb_text","et_pb_toggle"],W()(f,"props.type"))&&f.updateStylesArray("%%order_class%% > .et_parallax_bg_wrap",D)}if(t._isDependsShowAllowed(W()(w,N),a)){var U=["width","style","color"],F={};if(!W()(r,"border"+x+".border_styles"+x+".composite_structure"))return;_()(["top","right","bottom","left"],function(e){_()(U,function(t){var n=function(e,t){var n="border_"+t+"_all"+x,o="border_"+t+"_"+e+x,r=d.a.getHoverOrNormalOnHover(n,a);return d.a.getValueOnHover(o,a)||a[o]||r}(e,t);n&&("color"===t&&"off"===n||("width"===t&&(n=u.default.processRangeValue(n)),G()(F,[t,e],n)))})});var H=void 0;_()(F,function(e,n){var o=K()(e),r=4===o.length;r&&1===Q()(o).length?H="border-"+n+":"+o[0]+S+";":r&&e.top===e.bottom&&e.left===e.right?H="border-"+n+":"+e.top+" "+e.left+S+";":r?H="border-"+n+":"+e.top+" "+e.right+" "+e.bottom+" "+e.left+S+";":(H="",_()(e,function(e,t){return H+="border-"+t+"-"+n+":"+e+S+";"})),t.updateStylesArray(I,H)})}break;case"text":var z=W()(w,"css.text_orientation");if(u.default.hasValue(z)){var q=u.default.getTextOrientation(W()(i,"text_orientation","")),Y=u.default.getTextOrientation(a.text_orientation);u.default.hasValue(Y)&&q!==Y&&f.updateStylesArray(z,"text-align: "+Y)}break;case"max_width":var X=!1;if(W()(r,"max_width.use_max_width",!0)){var Z=W()(w,"css.main","%%order_class%%"),J={desktop:d.a.getHoverOrNormalOnHover("max_width",a)},ee=$()(w,"css.important")?" !important":"",te=u.default.getResponsiveStatus(a.max_width_last_edited);te&&(J.tablet=W()(a,"max_width_tablet",""),J.phone=W()(a,"max_width_phone","")),_()(J,function(e,t){u.default.hasValue(e)&&(!X&&("100%"!==e||"desktop"===t&&d.a.isEnabled("max_width",a))&&(X=!0),"desktop"===t&&te&&(t="desktop_only"),X&&f.updateStylesArray(Z,"max-width: "+e+ee+";",f.getBreakpointByDevice(t)))})}if(W()(r,"max_width.use_module_alignment",!0)){var ne=W()(w,"css.module_alignment","%%order_class%%.et_pb_module"),oe={left:"margin-left: 0px !important; margin-right: auto !important;",center:"margin-left: auto !important; margin-right: auto !important;",right:"margin-left: auto !important; margin-right: 0px !important;"};(X||!W()(r,"max_width.use_max_width",!0))&&u.default.hasValue(a.module_alignment)&&$()(oe,a.module_alignment)&&f.updateStylesArray(ne,W()(oe,a.module_alignment))}if(d.a.isHoverMode()&&d.a.isEnabled("module_alignment",a)){var re=W()(w,"css.module_alignment","%%order_class%%.et_pb_module"),ae={left:"margin-left: 0px !important; margin-right: auto !important;",center:"margin-left: auto !important; margin-right: auto !important;",right:"margin-left: auto !important; margin-right: 0px !important;"};(X||!W()(r,"max_width_hover.use_max_width",!0))&&u.default.hasValue(a.module_alignment_hover)&&$()(ae,a.module_alignment_hover)&&f.updateStylesArray(re,W()(ae,a.module_alignment_hover))}break;case"margin_padding":if(""!==a.custom_margin||""!==a.custom_padding||""!==a.custom_padding_tablet||""!==a.custom_padding_phone||""!==a.custom_margin_tablet||""!==a.custom_margin_phone){var ie={margin:{},padding:{}},se=["top","right","bottom","left"],le=M&&"all"===w.css.important,ue="",de="",ce=["top","right","bottom","left"],pe="et_pb_image"===n.props.type,fe=u.default.isOn(n.props.all_attrs.always_center_on_mobile);V()({},t.props.all_attrs);ie.margin.desktop=String(d.a.getSplitValueOnHover("custom_margin",a,"|")||a.custom_margin).split("|"),u.default.getResponsiveStatus(a.custom_margin_last_edited)&&(ie.margin.tablet=void 0!==a.custom_margin_tablet&&""!==a.custom_margin_tablet?a.custom_margin_tablet.split("|"):"",ie.margin.phone=void 0!==a.custom_margin_phone&&""!==a.custom_margin_phone?a.custom_margin_phone.split("|"):""),ie.padding.desktop=String(d.a.getSplitValueOnHover("custom_padding",a,"|")||a.custom_padding).split("|"),u.default.getResponsiveStatus(a.custom_padding_last_edited)&&(ie.padding.tablet=void 0!==a.custom_padding_tablet&&""!==a.custom_padding_tablet?a.custom_padding_tablet.split("|"):"",ie.padding.phone=void 0!==a.custom_padding_phone&&""!==a.custom_padding_phone?a.custom_padding_phone.split("|"):""),_()(["margin","padding"],function(e,t){de=M&&!le?-1!==b()(w.css.important,"custom_"+e)?" !important":"":S,v()(ie[e])||_()(ie[e],function(t,n){if(!v()(t)){"padding"===e&&!u.default.getResponsiveStatus(a.custom_padding_last_edited)&&"desktop"===n&&u.default.hasValue(a.padding_mobile)&&u.default.isOff(a.padding_mobile)&&(n="desktop_only");var o=f.getBreakpointByDevice(n);O()(t)&&2===B()(t)&&(t=[t[0],"",t[1],""]);var r=T,i=W()(w,"css.margin",!1),s=W()(w,"css.padding",!1);_()(t,function(t,n){if(""!==t){var a=P()([1,3],n);pe&&fe&&a&&(r=".et_always_center_on_mobile"+T+", "+T,i&&(i=".et_always_center_on_mobile"+i+", "+i),s&&(s=".et_always_center_on_mobile"+s+", "+s));var l=c.a.isAcceptableCSSStringValue(e,t)?t:u.default.processRangeValue(t);if(!W()(se,n))return;ue=e+"-"+se[n]+":"+l+de,$()(w,["css",e+"-"+ce[n]])&&f.updateStylesArray(W()(w,["css",e+"-"+ce[n]]),e+"-"+ce[n]+": "+t+de+";",o),"margin"===e&&i?f.updateStylesArray(i,ue,o):"padding"===e&&s?f.updateStylesArray(s,ue,o):f.updateStylesArray(r,ue,o)}})}})})}break;case"background":P()(ETBuilderBackend.modulesFeaturedImageBackground,W()(n,"props.type"))&&u.default.isOn(a.featured_image)&&"background"===a.featured_placement&&u.default.hasValue(ETBuilderBackend.currentPage.thumbnailUrl)&&(e=ETBuilderBackend.currentPage.thumbnailUrl);var he=d.a.getCompositeValueOnHover("background_color","background",a)||a.background_color;if(u.default.hasValue(he)||u.default.hasValue(e)||u.default.isOn(a.use_background_color_gradient)){var _e,me=u.default.isOff(a.use_background_color),be=W()(w,"use_background_color_gradient",!1),ge=W()(w,"use_background_image",!1),ve=W()(w,"use_background_color",!1),ye=[],we=!1,ke=!1,Ee=!1;if(be&&"fields_only"!==be&&u.default.isOn(a.use_background_color_gradient)){ke=!0;var Ce=u.default.getGradient({type:a.background_color_gradient_type,direction:a.background_color_gradient_direction,radialDirection:a.background_color_gradient_direction_radial,colorStart:a.background_color_gradient_start,colorEnd:a.background_color_gradient_end,startPosition:a.background_color_gradient_start_position,endPosition:a.background_color_gradient_end_position});ye.push(Ce)}ge&&"fields_only"!==ge&&u.default.hasValue(e)&&!u.default.isOn(a.parallax)&&(we=!0,ye.push("url("+e+")"),u.default.hasValue(a.background_size)&&a.background_size!==W()(o,"background_size.default")&&f.updateStylesArray(T,"background-size: "+a.background_size),u.default.hasValue(a.background_position)&&a.background_position!==W()(o,"background_position.default")&&f.updateStylesArray(T,"background-position: "+a.background_position.replace("_"," ")),u.default.hasValue(a.background_repeat)&&a.background_repeat!==W()(o,"background_repeat.default")&&f.updateStylesArray(T,"background-repeat: "+a.background_repeat),u.default.hasValue(a.background_blend)&&a.background_blend!==W()(o,"background_blend.default")&&(f.updateStylesArray(T,"background-blend-mode: "+a.background_blend),(Ee=!0===ke&&!0===we)&&f.updateStylesArray(T,"background-color: initial"+S+";"))),ye.length>0&&(u.default.isOn(a.background_color_gradient_overlays_image)||ye.reverse(),ye=ye.join(", "),f.updateStylesArray(T,"background-image: "+ye+S+";")),ve&&"fields_only"!==ve&&u.default.hasValue(he)&&!me&&!Ee&&(_e="background-color:"+he+S+";",f.updateStylesArray(T,_e))}break;case"fonts":var Oe=["font","font_size","text_color","text_align","letter_spacing","line_height","all_caps"];_()(w,function(e,t){M=!(void 0===e.css||!e.css.important&&!e.css.use_important),S=M?" !important":"";var o=E()(e.css)||E()(e.css.main)?T:e.css.main;u.default.condition("et_is_builder_plugin_active")&&W()(e,"css.limited_main",!1)&&(o=e.css.limited_main),_()(Oe,function(r,i){var s=t+"_"+r;if(-1!==g.indexOf(s)){var l=r.replace("_","-"),c={},p=void 0!==e.css&&void 0!==e.css[n._prepareSlug(r)]?e.css[n._prepareSlug(r)]:o,m=void 0!==e.css&&void 0!==e.css.placeholder,v="",y=W()(e,"css.important",""),w="all"===y||("plugin_only"===y||O()(y)&&P()(y,"plugin_all"))&&u.default.condition("et_is_builder_plugin_active"),k=!1,E="",C=function t(n){switch(n){case"phone":return W()(c,"tablet",t("tablet"));case"tablet":return W()(c,"desktop",t());default:return W()(e,[r,"default"],W()(h,s,""))}};c.desktop=d.a.getHoverOrNormalOnHover(s,a)||"",u.default.getResponsiveStatus(a[s+"_last_edited"])&&(c.tablet=W()(a,s+"_tablet",""),c.phone=W()(a,s+"_phone","")),""===c.desktop&&""===c.tablet&&""===c.phone||_()(c,function(i,s){if("text-color"===l&&i===C(s)){var d=W()(e,"text_color.old_option_ref","");i=""!==d&&W()(n.props.all_attrs,d,!1)?W()(n.props.all_attrs,d,""):""}if("text-color"===l&&""===i&&""!==C(s)&&(i=C(s)),"text-align"===l&&(i=u.default.getTextOrientation(i)),""!==i&&(C(s)!==i||"text-color"===l)){var c=f.getBreakpointByDevice(s);if(M){var h=r;switch(r){case"font_size":h="size";break;case"letter_spacing":case"line_height":h=l}k=!(!w&&-1===b()(e.css.important,h)),E=k?" !important":""}if("text_color"===r&&(E=" !important"),"font"===r){v=u.default.setElementFont(i,k,"||||")}else"all_caps"===r?u.default.isOn(a[t+"_all_caps"])&&(v="text-transform: uppercase"+E+";"):("text-color"===l&&(l="color"),P()(["font_size","letter_spacing","line_height"],r)&&(i=u.default.processRangeValue(i,r)),v=l+":"+i+E+";");"line_height"===r&&p!==o&&f.updateStylesArray(o,v,c),Array.isArray(p)?_()(p,function(e,t){f.updateStylesArray(e,v,c)}):(f.updateStylesArray(p,v,c),m&&_()(["::-webkit-input-placeholder","::-moz-placeholder","::-ms-input-placeholder"],function(e,t){f.updateStylesArray(p+e,v,c)}))}})}})});break;case"button":_()(w,function(e,t){if(W()(e,"use_alignment",!1)){var n=W()(e,"css.alignment",""),r=W()(a,t+"_alignment","");u.default.hasValue(n)&&u.default.hasValue(n)&&f.updateStylesArray(n,"text-align: "+r+";")}if("on"===a["custom_"+t]){var i=["text_size","text_color","bg_color","border_width","border_color","border_radius","font","use_icon","icon","icon_color","icon_placement","on_hover",d.a.getHoverField("text_size"),d.a.getHoverField("text_color"),d.a.getHoverField("bg_color"),d.a.getHoverField("border_color"),d.a.getHoverField("border_width"),d.a.getHoverField("border_radius")],l=["text_size","letter_spacing",d.a.getHoverField("letter_spacing")],p=s.a.getHoverMode()&&d.a.isEnabled(t+"_text_size",a)?d.a.hoverSuffix():"",m=W()(a,t+"_text_size"+p)||"20px",b="",g=E()(e.css)||E()(e.css.main)?T+" .et_pb_button":e.css.main,y=ETBuilderBackend.builderOptions.all_buttons_icon,w="left"===a[t+"_icon_placement"],k=w?":before":":after",C=u.default.condition("is_bfb");u.default.condition("et_is_builder_plugin_active")&&W()(e,"css.limited_main",!1)&&(g=e.css.limited_main);var O=g;u.default.condition("et_is_builder_plugin_active")||(O="body #page-container"+(C?"-bfb":"")+" "+O),_()(i,function(e){var n=a[t+"_"+e],r="",i="",l="",c="";switch(e){case"text_color":r="color",i=" !important";break;case"text_size":r="font-size",i=" !important";break;case"bg_color":r="background-color",u.default.condition("et_is_builder_plugin_active")&&(i=" !important");break;case"use_icon":case"icon":case"icon_color":case"icon_placement":case"on_hover":n="";break;case d.a.getHoverField("text_size"):case d.a.getHoverField("text_color"):case d.a.getHoverField("bg_color"):case d.a.getHoverField("border_color"):case d.a.getHoverField("border_radius"):case d.a.getHoverField("border_width"):if(!d.a.isEnabled(t+"_"+e,a))break;d.a.getHoverField("text_size")===e?(r="font-size",i=" !important"):d.a.getHoverField("text_color")===e?(r="color",i=" !important"):d.a.getHoverField("bg_color")===e?(r="background-color",i=" !important"):(r=e.replace(d.a.hoverSuffix(),"").replace("_","-"),i=d.a.getHoverField("border_color")===e?" !important":""),c=s.a.getHoverMode()?"":":hover";break;default:r=e.replace("_","-"),d.a.getHoverField("border_width")===e&&(i=" !important")}if((!E()(n)&&""!==n&&""!==r||"font"===e)&&W()(h,t+"_"+e,"")!==n){""!==n&&P()([d.a.getHoverField("border_radius"),"border_radius"],e)&&u.default.condition("et_is_builder_plugin_active")&&(i=" !important"),l="font"===e?u.default.setElementFont(n,!0):""!==l||isNaN(parseFloat(n))?r+":"+n+i:r+":"+u.default.processRangeValue(n)+i,f.updateStylesArray(O+c,l);var p=t+"_bg",_=W()(a,p+"_image"),m=[],b=!1,g=!1;if(u.default.isOn(W()(a,p+"_use_color_gradient"))){g=!0;var v=u.default.getGradient({type:W()(a,p+"_color_gradient_type"),direction:W()(a,p+"_color_gradient_direction"),radialDirection:W()(a,p+"_color_gradient_direction_radial"),colorStart:W()(a,p+"_color_gradient_start"),colorEnd:W()(a,p+"_color_gradient_end"),startPosition:W()(a,p+"_color_gradient_start_position"),endPosition:W()(a,p+"_color_gradient_end_position")});m.push(v)}u.default.hasValue(_)&&!u.default.isOn(W()(a,p+"_parallax"))&&(b=!0,m.push("url("+_+")"),u.default.hasValue(W()(a,p+"_size"))&&W()(a,p+"_size")!==W()(o,p+"_size.default")&&f.updateStylesArray(O+c,"background-size: "+W()(a,p+"_size")),u.default.hasValue(W()(a,p+"_position"))&&W()(a,p+"_position")!==W()(o,p+"_position.default")&&f.updateStylesArray(O+c,"background-position: "+W()(a,p+"_position","").replace("_"," ")),u.default.hasValue(W()(a,p+"_repeat"))&&W()(a,p+"_repeat")!==W()(o,p+"_repeat.default")&&f.updateStylesArray(O+c,"background-repeat: "+W()(a,p+"_repeat")),u.default.hasValue(W()(a,p+"_blend"))&&W()(a,p+"_blend")!==W()(o,p+"_blend.default")&&f.updateStylesArray(O+c,"background-blend-mode: "+W()(a,p+"_blend"))),m.length>0&&(u.default.isOn(W()(a,p+"_color_gradient_overlays_image"))||m.reverse(),m=m.join(", "),f.updateStylesArray(O+c,"background-image: "+m+";")),!0===g&&!0===b&&f.updateStylesArray(O+c,"background-color: initial"+S+";")}}),_()(l,function(e){var n=a[t+"_"+e+"_last_edited"],o=u.default.getResponsiveStatus(n)?["desktop","tablet","phone"]:["desktop"];_()(o,function(n){var o,r=a[t+"_"+e+("desktop"===n?"":"_"+n)],i=f.getBreakpointByDevice(n),l="",p="",_="";if("text_size"===e&&"desktop"===n&&(r=m),""!==r&&r!==W()(h,t+"_"+e,"")){switch(e){case"text_size":l="font-size",p=" !important";break;case d.a.getHoverField("letter_spacing"):if(!d.a.isEnabled(t+"_letter_spacing",a))break;l="letter-spacing",_=s.a.getHoverMode()?"":":hover";break;default:l=e.replace("_","-")}P()(["border_width","border_radius"],e)&&(r=u.default.processRangeValue(r)),P()(["letter_spacing",d.a.getHoverField("letter_spacing")],e)&&(r=c.a.sanitizeInputUnit(r)),r!==W()(h,t+"_"+e,"")&&(o=l+":"+r+p,f.updateStylesArray(O+_,o,i),":hover"!==_&&f.updateStylesArray(O+k,o,i))}})}),b="off"===a[t+"_on_hover"]?"":":hover";var M=w?"2em":"0.7em",x=w?"0.7em":"2em",A=!u.default.isOff(a.button_use_icon)&&u.default.isNo(y)?" !important":"";if("default"===a[t+"_use_icon"]&&u.default.isNo(y)||f.updateStylesArray(O+b,"padding-left: "+M+A+"; padding-right: "+x+A+";"),"off"===a[t+"_use_icon"])f.updateStylesArray(g,"padding: 0.3em 1em !important;"),f.updateStylesArray(g+":hover","padding: 0.3em 1em !important;"),f.updateStylesArray(O+":after","display:none !important;");else{var N=void 0!==a[t+"_icon"]&&""!==a[t+"_icon"]?u.default.processFontIcon(a[t+"_icon"]):"35",L="",I="",B="";""!==m&&(B="35"!==N?"1em":"1.6em");var j=d.a.getHoverOrNormalOnHover(t+"_icon_color",a);if(L+=v()(j)?"":"color: "+j+";",""!==N){var D="35"!==N?"1.7em":"1em",R=w?"margin-right":"margin-left",V=w?"right":"left",U=u.default.isOn(a.button_on_hover)?"0.3em":"0";if(L+="line-height:"+D+";",L+="font-size:"+B+" !important;","off"!==a[t+"_on_hover"])L+="margin-left: "+(w?"-1.3em":"-1em")+"; "+(w?"right":"left")+": auto;";I+=R+": "+U+"; "+V+": auto;"}if(w){var F="35"!==N?"content: attr(data-icon);":"";f.updateStylesArray(O+":after","display: none;"),f.updateStylesArray(O+":before",F+' font-family: "ETmodules" !important;'),u.default.condition("et_is_builder_plugin_active")&&f.updateStylesArray(".et_pb_row "+O+":hover","padding-right: 1em; padding-left: 2em;")}if("off"===a[t+"_on_hover"])L+="margin-left: "+(w?"-1.3em":".3em")+"; "+(w?"right":"left")+": auto;";if(L+="off"!==a[t+"_on_hover"]?"opacity:0;":"opacity:1;",L+="display: inline-block;",I+="off"!==a[t+"_on_hover"]?"opacity: 1;":"",void 0!==a[t+"_icon"]&&""!==a[t+"_icon"]){var H=m;L+="font-size:1.6em;",f.updateStylesArray("body.et_button_custom_icon #page-container "+O+k,"font-size:"+H+";")}f.updateStylesArray(""+O+k,L),"default"===a[t+"_use_icon"]&&u.default.isNo(y)||f.updateStylesArray(O+":hover"+k,I)}}})}m.push(l)}};y("fonts"),y("text_shadow"),y("background"),y("text"),_()(W()(r,"borders",{}),function(e,t){y("default"===t?"border":"border_"+t,"border")}),y("filters"),y("max_width"),y("margin_padding"),y("button"),y("box_shadow"),y("animation");var w=J()(r,m);_()(w,function(e,t){y(t)});var k=V()({},this.props);if($()(k,"module_class")&&"none"!==W()(k,"all_attrs.animation_style","none")){var C="."+W()(k,"module_class")+".et_animated",M="animation-duration: "+W()(k,"all_attrs.animation_duration","1000ms");f.updateStylesArray(C,M);var S="animation-timing-function: "+W()(k,"all_attrs.animation_speed_curve","ease-in-out");if(f.updateStylesArray(C,S),W()(k,"all_attrs.animation_delay")!==W()(i,"animation_delay")){var T="animation-delay: "+W()(k,"all_attrs.animation_delay");f.updateStylesArray(C,T)}for(var x=W()(k,"all_attrs.animation_style","none"),A=W()(k,"all_attrs.animation_intensity_"+x,50),N={},L=isNaN(parseInt(A))?50:parseInt(A),I=["slide","zoom","flip","fold","roll"],j=!1,D=!1,R=0;R2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=r?"!important":"",u=Object(ge.a)(t,a,n),d=e.getOrderClass(),c=o.split(",").map(function(e){return e.trim()}).map(function(e){return e.replace("%%order_class%%",d)}),p=u.search("inset")>-1,f=c.map(function(e){return e+">.box-shadow-overlay, "+e+".et-box-shadow-no-overlay"}).join(", "),h=!v()(t.background_video_mp4)||!v()(t.background_video_webm);v()(u)||"none"===u||(!s&&(p||i)||h?(setTimeout(function(e){return c.map(et_pb_box_shadow_apply_overlay)},0),e.updateStylesArray(o,"box-shadow: none "+l+";"),e.updateStylesArray(f,"box-shadow: "+u+" "+l+";")):(e.updateStylesArray(f,"box-shadow: none "+l+";"),e.updateStylesArray(o,"box-shadow: "+u+" "+l+";")))};switch(this.props.type){case"et_pb_section":var a=Object(ge.a)(t);if(v()(a)||"none"===a)break;a.search("inset")<0&&this.updateStylesArray("%%order_class%%","z-index: 10;"),r("%%order_class%%",!1,void 0,void 0,!0);break;case"et_pb_accordion_item":o("%%order_class%%",!0);break;case"et_pb_video_slider":r("%%order_class%%>.et_pb_slider, %%order_class%%>.et_pb_carousel .et_pb_carousel_item");break;case"et_pb_counter":r("%%order_class%% .et_pb_counter_container",!0);break;case"et_pb_tabs":var i=Object(ge.a)(t);if(v()(i)||"none"===i)break;var s=i.search("inset")>-1?"%%order_class%% .et-pb-active-slide, %%order_class%% .et_pb_active_content":"%%order_class%%";this.updateStylesArray(s,"box-shadow: "+i+";");break;case"et_pb_blog":"off"===W()(t,"fullwidth")?r("%%order_class%% article.et_pb_post"):r("%%order_class%%");break;default:var u=W()(Ce(this.props.type),"advanced_common.box_shadow");u&&_()(u,function(n,a){var i="default"===a?"":"_"+a,s=W()(n,"css.main","%%order_class%%"),u=W()(n,"css.important",!1),d=W()(n,"show_if",{}),c=W()(n,"show_if_not",{}),p=l.a.getDefaults(e.props.type);if(!v()(d)){var f=!1;if(_()(d,function(e,n){W()(t,n,W()(p,n,""))===e||(f=!0)}),f)return}if(!v()(c)){var h=!1;if(_()(c,function(e,n){W()(t,n,W()(p,n,""))!==e||(h=!0)}),h)return}P()(["always","inset"],W()(n,"css.overlay"))?r(s,u,i):o(s,u,i)})}}},{key:"processHoverTransitions",value:function(){var e=this.props,t=e.type,n=e.all_attrs;if(-1!==this.allAttrsJson.indexOf(d.a.hoverSuffix())){var o=V()({},n)||{},r=W()(ETBuilderBackend,"transitionsMap."+t,{}),a=[],i=[];_()(r,function(e,t){var n=t.replace("{prefix}",".*?"),r=new RegExp(""+n+d.a.enabledSuffix()),s=!1,l=te()(o);_()(l,function(e){if(e.match(r))return s=e,!1}),s&&"on"===o[s]&&(a=Q()([].concat(ke(a),ke(te()(e)))),i=Q()([].concat(ke(i),ke(D()(K()(e))))))});var s=W()(o,"hover_transition_duration","300ms"),l=W()(o,"hover_transition_speed_curve","ease"),u=W()(o,"hover_transition_delay","0ms");s="300ms"===s?W()(this.props,"parentAttrs.hover_transition_duration","300ms"):s,l="ease"===l?W()(this.props,"parentAttrs.hover_transition_speed_curve","ease"):l,u="0ms"===u?W()(this.props,"parentAttrs.hover_transition_delay","0ms"):u;var c="transition: "+a.reduce(function(e,t){return[].concat(ke(e),[t+" "+s+" "+l+" "+u])},[]).join(", ")+";";this.updateStylesArray(i.join(", "),c)}}},{key:"setElementFont",value:function(e,t,n){var o="";if(""===e||E()(e))return"";var r=e.split("|"),a=(void 0===n?"||||||||":n).split("|");if(!v()(r)){var i=r[0],s=""!==r[1]?r[1]:"",l="on"===r[2],d="on"===r[3],c="on"===r[4],p="on"===r[5],f="on"===r[6],h=E()(r[7])?"":r[7],_=E()(r[8])?"":r[8],m=""!==a[1]?a[1]:"",b="on"===a[2],g="on"===a[3],y="on"===a[4],w="on"===a[5],k="on"===a[6];s="on"===s?"700":s,m="on"===m?"700":m,""!==i&&"Default"!==i&&(u.default.maybeRequestFont(i),o+=this.setElementFontFamily(i,t)),o+=this.setElementFontStyle("font-weight",""!==m,""!==s,"normal",s,t),o+=this.setElementFontStyle("font-style",b,l,"none","italic",t),o+=this.setElementFontStyle("text-transform",g,d,"none","uppercase",t),o+=this.setElementFontStyle("text-decoration",y,c,"none","underline",t),o+=this.setElementFontStyle("font-variant",w,p,"none","small-caps",t),o+=this.setElementFontStyle("text-decoration",k,f,"none","line-through",t),o+=this.setElementFontStyle("text-decoration-style",!1,""!==_,"solid",_,t),o+=this.setElementFontStyle("-webkit-text-decoration-color",!1,""!==h,"",h,t),o=(o+=this.setElementFontStyle("text-decoration-color",!1,""!==h,"",h,t)).trim()}return o}},{key:"setElementFontStyle",value:function(e,t,n,o,r,a){var i="",s=a?" !important":"";return n&&!t?i=e+":"+r+s+";":!n&&t&&(i=e+":"+o+s+";"),i}},{key:"setElementFontFamily",value:function(e,t){var n,o=$()(ETBuilderBackend.customFonts,e,!1)?ETBuilderBackend.customFonts:ETBuilderBackend.et_builder_fonts_data,r=t?" !important":"",a=ETBuilderBackend.removedFonts,i="",s="";return n=void 0!==o[e]&&void 0!==o[e].add_ms_version?"'"+e+" MS', ":"",W()(a,e,!1)&&(i=a[e].styles,e=a[e].parent_font),""!==i&&(s=" font-weight:"+i+";"),"font-family:'"+e+"',"+n+(void 0!==o[e]?this.getWebsafeFontStack(o[e].type):"serif")+r+";"+s}},{key:"getWebsafeFontStack",value:function(e){var t=void 0!==e?e:"sans-serif",n=t;switch(t){case"sans-serif":n="Helvetica, Arial, Lucida, sans-serif";break;case"serif":n='Georgia, "Times New Roman", serif';break;case"cursive":n="cursive"}return n}},{key:"processAdditionalCSS",value:function(){if(void 0!==this.props.additional_css&&!v()(this.props.additional_css)){var e=this.props.additional_css,t=this;_()(e,function(e,n){v()(e)||_()(e,function(e,n){if(void 0!==e.selector&&void 0!==e.declaration){var o=E()(e.declaration)?"":e.declaration.split("||").join("");t.updateStylesArray(e.selector,o,t.getBreakpointByDevice(e.device))}})})}}},{key:"getBreakpointByDevice",value:function(e){switch(e){case"desktop_only":return"min_width_981";case"tablet":return"max_width_980";case"tablet_only":return"768_980";case"phone":return"max_width_767";default:return"general"}}},{key:"maybeWrapStyleSelector",value:function(e){if(!u.default.condition("is_custom_post_type")&&!u.default.isLimitedMode())return e;var t=e.match(/^(html[^ ]*)?(?: *)(body[^ ]*)?(?: *)(.*?)(?: *)([^ ]*\.et[_-](?:pb|fb)[_-].+)/);if(!t)return e;var n=ye(t,5),o=(n[0],n[1]),r=n[2],a=n[3],i=n[4];return r||(r=""),".et-fb"===a&&(r+=a,a=""),f()([o,r+".et-db",a,"#et-boc",i]).join(" ")}},{key:"updateStylesArray",value:function(e,t,n){var o=this;c.a.sanitizeCSSSelector(e).map(function(e){return o.updateStyles(e,t,n)})}},{key:"updateStyles",value:function(e,t,n){var o=this;if(!E()(e)){n=void 0!==n?n:"general";var r=this.getOrderClass();if(e=e.replace(/%%order_class%%/g,r),u.default.condition("is_wrapped_styles")&&!E()(e)){var a=e.split(",");e=F()(a,function(e){return e=x()(e),o.maybeWrapStyleSelector(e)}).join(", ")}void 0===this.processed_css_object[n]&&(this.processed_css_object[n]={}),void 0===this.processed_css_object[n][e]?this.processed_css_object[n][e]=[t]:this.processed_css_object[n][e].push(t)}}},{key:"constructCSSString",value:function(e){var t="";if(se.processAdvancedCSS(this),this.processAdvancedCSS(e),pe.processAdvancedCSS(this),he.processAdvancedCSS(this),be.processAdvancedCSS(this),this.processCustomCSS(),this.processAdditionalCSS(),!v()(this.processed_css_object)){var n=this.processed_css_object;_()(Me,function(e,o){void 0!==n[e[0]]&&("general"!==e[0]&&(t+=e[1]+"{"),_()(n[e[0]],function(e,n){v()(e)||(t+=n+"{",_()(e,function(e,n){void 0!==e&&(e=e.trim(),t+=e,e.length-1!==e.lastIndexOf(";")&&(t+=";"))}),t+="}")}),"general"!==e[0]&&(t+="} "))},this)}var o=s.a.getPreviewMode(),r=u.default.condition("is_bfb");if(o&&"wireframe"!==o&&(r||!r&&"desktop"!==o)&&xe.test(t)){var a=u.default.$topWindow().height()/100;t=t.replace(xe,function(e){var t=parseFloat(e);return w()(t)?t*a+"px":e})}return t}},{key:"render",value:function(){this.processed_css_object={},this.allAttrsJson=JSON.stringify(this.props.all_attrs);var e=this.constructCSSString(this.props.dynamic.background_image.value);return v()(e)?null:r.a.createElement("style",{type:"text/css",className:"et-fb-custom-css-output"},e)}}]),t}();Ae.propTypes=Te,Ae.defaultProps=Se;t.a=Object(ve.a)({background_image:{attribute:"background_image",type:"image"}},function(e){return e.all_attrs||Se.all_attrs})(Ae)},function(e,t,n){var o=n(264),r=n(337);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},function(e,t,n){var o=n(80),r=n(60),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(303),r=n(28);e.exports=function(e){return null==e?[]:o(e,r(e))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var o=n(113),r=n(208),a=n(734),i=n(733),s=n(207),l=n(27),u=/^\s+|\s+$/g;e.exports=function(e,t,n){if((e=l(e))&&(n||void 0===t))return e.replace(u,"");if(!e||!(t=o(t)))return e;var d=s(e),c=s(t),p=i(d,c),f=a(d,c)+1;return r(d,p,f).join("")}},function(e,t,n){var o=n(92),r=1/0;e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}},function(e,t,n){var o=n(59);e.exports=function(){return o.Date.now()}},function(e,t,n){var o=n(126),r=n(170),a=n(55);e.exports=function(e,t){var n={};return t=a(t,3),r(e,function(e,r,a){o(n,r,t(e,r,a))}),n}},function(e,t,n){var o=n(27);e.exports=function(){var e=arguments,t=o(e[0]);return e.length<3?t:t.replace(e[1],e[2])}},function(e,t,n){"use strict";n(36);var o=n(27),r=n.n(o),a=n(9),i=n.n(a),s=n(4),l=n.n(s),u=n(2),d=n.n(u),c=n(198),p=n.n(c),f=n(162),h=n.n(f),_=n(23),m=n(0),b=n(283),g=Object.assign||function(e){for(var t=1;t0&&a(d)?n>1?e(d,n-1,a,i,s):o(s,d):i||(s[s.length]=d)}return s}},function(e,t,n){var o=n(19),r=n(193),a=n(257),i=n(27);e.exports=function(e,t){return o(e)?e:r(e,t)?[e]:a(i(e))}},function(e,t){var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e=0&&e.slice(n,l)==t}},function(e,t,n){var o=n(290),r=n(104),a=n(58),i=n(115),s=a(function(e,t){return i(e)?o(e,r(t,1,i,!0)):[]});e.exports=s},function(e,t,n){"use strict";(function(e,o){var r=n(666),a=n(24),i=n(0),s=n(3),l=n(37),u=n(369),d=Object.assign||function(e){for(var t=1;tu?0:200)}else t._scrollIntoView(t.$in_viewport[0],{scrollMode:"if-needed"});if(t._isModalSnapped("bottom"))if(i.default.$topWindow().innerWidth()<=x.width()&&Object(a.i)(x.offset(),"left",0)>0)x.css("transform","");else{var d=i.default.parseInlineCssIntoObject(x.attr("style")),c="translate("+Object(a.i)(t,"animation_config.to.iframe_translate_x")+"px, "+Object(a.i)(t,"animation_config.to.iframe_translate_y")+"px)";c!==d.transform&&x.css("transform",c)}}t.$in_viewport=o()},this._animationEnabled=function(){return s.a.getAppPreference("builder_animation")},this._isBFBMobile=function(){return w&&i.default.$topWindow().innerWidth()130},this._isModalSnapped=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=s.a.isSettingsModalOpen("settings")&&s.a.getAppPreference("modal_snap");return e?t&&e===s.a.getAppPreference("modal_snap_location"):t},this._repositionPublishMbox=function(){"top"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top")?(N=b.closest(".ui-sortable").attr("id"),L=b.index(),b.insertAfter(_),i.default.$topWindow(".meta-box-sortables").sortable("refreshPositions")):N&&!1!==L&&(i.default.$topWindow("#"+N+" .postbox").size()<=L?b.appendTo("#"+N):b.insertBefore(i.default.$topWindow("#"+N+" .postbox").eq(L)),i.default.$topWindow(".meta-box-sortables").sortable("refreshPositions"),N=!1,L=!1)},this._maybeToggleDistractionFreeMode=function(e){!t.is_DFM||"wireframe"!==t.current_mode&&"open"!==e?t.is_DFM||"wireframe"===t.current_mode&&"folded"!==e||(t.is_DFM=!0,g.addClass("folded"),g.addClass("et-bfb-distraction-free-mode"),t._repositionPublishMbox("top")):(t.is_DFM=!1,t.bfbAdminMenuManuallyFolded||g.removeClass("folded"),g.removeClass("et-bfb-distraction-free-mode"),t._repositionPublishMbox("original"))},this._toggleStyleOverrides=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t.is_mobile_preview||t.is_zoom)w||(A.css("overflow","hidden").parent().css("overflow","hidden"),g.parent().css("overflow-y","auto").css("overflow-x","hidden"));else if(w)x.parents("#et_pb_layout").width("");else if((e||t._is_using_wheel)&&(A.css("overflow","").parent().css("overflow",""),g.css("overflow","").parent().css("overflow-y","").css("overflow-x",""),e))if(t._isModalSnapped()){var n=function(){return x.width(i.default.$topWindow().width()-t.mode_widths.modal)};n(),setTimeout(n,100)}else x.width("")},this._updateDOMForCurrentMode=function(){Object(a.h)([m,v],function(e){e.removeClass(function(e,t){var n=t.match(/et-fb-preview--\w+/);return n?n.shift():""}),e.addClass(t.mode_class)}),"desktop"!==t.current_mode?k&&!w&&0===g.find(".et-fb-preview__overlay").length&&(g.append('
'),g.addClass("et_pb_3rd_party_theme")):g.hasClass("et_divi_theme")||g.find(".et-fb-preview__overlay").remove()},this._updateProperties=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];x||(x=i.default.$topWindow(window.frameElement),A=x.contents().find("body")),t.previous_mode=t.current_mode,t.current_mode=e,t.mode_widths=t.modeWidths(),t.current_mode_width=t.mode_widths[e],t.is_zoom="zoom"===t.current_mode,t.was_zoom="zoom"===t.previous_mode,t.is_mobile_preview=Object(a.j)(["tablet","phone"],t.current_mode),t.was_mobile_preview=Object(a.j)(["tablet","phone"],t.previous_mode),t.is_modal_snapped=t._isModalSnapped();var s="wireframe"!==t.current_mode,l=Object(a.n)(t.previous_mode);t.animate_admin=(s!==t.is_DFM||Object(a.j)([t.current_mode,t.previous_mode],"wireframe"))&&!t._isBFBMobile();var u=d({iframe_width:x.width()||x.parent().width(),iframe_scale:t.was_zoom?.5:1},t.current_translate);if(w&&t.is_mobile_preview){var c=i.default.$topWindow("#et_pb_layout").width();t.current_mode_width=t.current_mode_width>c?c:t.current_mode_width}w&&!s&&t.was_mobile_preview&&Object(a.a)(u,{iframe_width:_.width()});var f=d({iframe_width:t.current_mode_width,iframe_scale:t.is_zoom?.5:1},t.cssTranslate());w&&t.animate_admin&&(t.$admin_menu=i.default.$topWindow("#adminmenuback, #adminmenuwrap, #adminmenu"),t.$admin_sidebar=i.default.$topWindow("#postbox-container-1"),t.$admin_content=i.default.$topWindow("#wpcontent"),t.$admin_menu_names=i.default.$topWindow("#adminmenu .wp-menu-name, #collapse-button .collapse-button-label"),Object(a.a)(u,p({admin_menu_width:t.$admin_menu.width(),postbox_margin:parseInt(y.css("margin-right"))},O,s||l?0:-124)),Object(a.a)(f,p({admin_menu_width:s||t.bfbAdminMenuManuallyFolded?36:160,postbox_margin:s||t.is_modal_snapped||S()?0:300},O,s?-124:0)));var h=n&&t._animationEnabled();t.animation_config={from:u,to:f,ease:r.easing.cubicBezier(.23,1,.32,1),duration:h?400:0};var m=t.was_mobile_preview||t.was_zoom?i.default.$topWindow().scrollTop():i.default.$appWindow().scrollTop();if(t.keep_module_in_viewport=0!==m,t.$in_viewport=o(),t.keep_module_in_viewport){var b=i.default.$appWindow(".et_pb_module").removeClass("et-pb-in-viewport");t.$in_viewport=o(Object(a.g)(b,function(e){return i.default.isElementInViewport(e)})).addClass("et-pb-in-viewport")}},this._scrollIntoView=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(C){var r=!w&&Object(a.j)(["wireframe","desktop"],t.current_mode)?"app":"top",s=t.is_zoom?.5:t.was_zoom?2:1,l=i.default.topWindow().innerHeight,u="app"===r?i.default.appWindow().pageYOffset:i.default.topWindow().pageYOffset,d=u+l,c=.3*l,p=e(n).offset().top*s,f=p+e(n).height()*s;if(!(p<=u&&f>=d||p>=u+c&&p<=d-c))("app"===r?i.default.appWindow():i.default.topWindow()).scrollTo({top:p-l/2})}else n.scrollIntoView(o)},this.activate=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.current_mode===e&&!o)return t.current_mode_width;t._updateProperties(e,s),i.default.$topWindow("#collapse-menu").toggleClass("et_pb_hidden","wireframe"!==t.current_mode),n||(t.animation_config.to.iframe_width=t.animation_config.from.iframe_width,t.animation_config.to.iframe_translate_x=t.animation_config.from.iframe_translate_x,t.animation_config.to.iframe_translate_y=t.animation_config.from.iframe_translate_y);var l=t._isLargeLayout(),u=s&&t._animationEnabled();if(v.toggleClass("et-fb-large-layout",l).toggleClass("et-fb-animation-disabled",!u),w&&"wireframe"!==e){var d=i.default.$topWindow("#postbox-container-2"),c=_.offset().top-parseInt(_.css("margin-top"),10);I=d.offset().top!==c}if(!w){if(Object(a.j)(["tablet","phone"],e)){var p=i.default.$topWindow("#wpadminbar");32===(p.length>0?p.height():0)&&f.addClass("et_fb_thin_admin_bar")}else f.removeClass("et_fb_thin_admin_bar");Object(a.j)(["zoom","desktop"],e)&&i.default.$appWindow().trigger("resize")}if(t._maybeToggleDistractionFreeMode(),t._updateDOMForCurrentMode(),I){var m=_.offset().top-parseInt(_.css("margin-top"),10);v.animate({scrollTop:m-20},300)}return u&&!l?(t._toggleStyleOverrides(),t.$in_viewport[0]&&!w&&t._scrollIntoView(t.$in_viewport[0]),t.is_animating=t._is_animating=!0,t._isBFBMobile()||(v.addClass("et-fb-preview--animating"),h.addClass("et-fb-preview--animating")),setTimeout(function(){return t.is_animating=!1},t.animation_config.duration),t._is_using_wheel=!1,Object(r.tween)(t.animation_config).start({update:t._animate,complete:t._complete})):(t._animate(t.animation_config.to),t._is_using_wheel=!1,t._complete(),t._toggleStyleOverrides(!0)),t.current_mode_width},this.cssTranslate=function(e,n,o,r){e=Object(a.n)(e)?t.is_modal_snapped:e,n=n||t.current_mode_width,o=o||t.mode_widths.modal,r=r||s.a.getAppPreference("modal_snap_location");var l={iframe_translate_x:0,iframe_translate_y:0};if(e&&(t.is_mobile_preview||t.is_zoom)&&!w){var u=i.default.$topWindow().width(),d=0;t.is_mobile_preview&&(d=u-n,"bottom"!==r&&(d-=o),d&&(d/=2),"left"===r?l.iframe_translate_x=d>0?-d:d:"right"!==r&&"bottom"!==r||(l.iframe_translate_x=d))}return l},this.getViewModeByWidth=function(e){var t="desktop";return e<=T.phone?t="phone":e<=T.tablet&&(t="tablet"),t},this.handleTopWindowResize=function(e){if(t.$admin_content&&0!==t.$admin_content.length){i.default.$topWindow().width()>Object(a.i)(u.a,"wpAdmin.mobileAdminBar")?t.$admin_content.css("margin-left",t.$admin_menu.width()):t.$admin_content.css("margin-left","");var n="0px"===x.parents("#post-body").css("margin-"+M);t._isBFBMobile()&&"wireframe"===t.current_mode&&!n&&x.parents("#post-body").css("margin-"+M,"")}},this.handleTopDocumentColumnChange=function(e){"wireframe"===t.current_mode&&t._repositionPublishMbox(S()?"top":"original")},this.handleBFBAdminMenuManuallyFoldedChange=function(e){t.bfbAdminMenuManuallyFolded=i.default.$topWindow("body").hasClass("folded"),g.toggleClass("et-manually-folded",t.bfbAdminMenuManuallyFolded)},this.initialize=function(e){return t.preview_mode=e,t._updateDOMForCurrentMode(),w&&t.handleBFBAdminMenuManuallyFoldedChange(),t.activate(e,!0,!0,!g.hasClass("folded")||"wireframe"!==e),w&&("wireframe"===e&&t.handleTopDocumentColumnChange(),i.default.$topWindow().on("resize",t.handleTopWindowResize),i.default.$topDocument().on("postboxes-columnchange",t.handleTopDocumentColumnChange),i.default.$topWindow("#collapse-button").on("click",t.handleBFBAdminMenuManuallyFoldedChange)),i.default.$appWindow().off("wheel.ETBuilderPreviewModes"),i.default.$topWindow().off("wheel.ETBuilderPreviewModes"),i.default.$appWindow().on("wheel.ETBuilderPreviewModes",t.onWheel),i.default.$topWindow().on("wheel.ETBuilderPreviewModes",t.onWheel),t},this.isAnimating=function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?t.is_animating:t._is_animating},this.onWheel=function(e){return t._is_using_wheel=!0},this.setContainerStyle=function(e,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o||(t.is_animating=t._is_animating=!0),e.css(n);var r=680+g.find("#adminmenu").width();g.toggleClass("et-bfb-small-screen",n.width&&n.width<=r),o||(t.is_animating=t._is_animating=!1)},this.waitForAnimation=function(){return t._is_animating?new Promise(function(e){var n=setInterval(function(){t._is_animating||(clearInterval(n),e())},100)}):Promise.resolve()}};t.a=B}).call(this,n(26),n(26))},,function(e,t,n){var o=n(212);e.exports=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var o=n(291);e.exports=function(e,t){return null==e||o(e,t)}},function(e,t,n){"use strict";var o=n(2),r=n.n(o),a=n(4),i=n.n(a),s=n(7),l=n.n(s),u=n(9),d=n.n(u),c=n(28),p=n.n(c),f=n(65),h=n.n(f),_=n(71),m=n.n(_),b=n(67),g=n.n(b),v=n(11),y=n.n(v),w=n(54),k=n.n(w),E=n(35),C=n.n(E),O=n(43),M=n.n(O),S=n(75),T=n.n(S),x=n(23),A=function(){function e(e,t){for(var n=0;n.5?c/(2-i-s):c/(i+s),i){case o:l=(r-a)/c+(r1&&(n-=1),6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}},{key:"hslToRgb",value:function(e,t,n){var o=e/360,r=t/100,a=n/100,i=a,s=a,l=a;if(0!==r){var u=a<.5?a*(1+r):a+r-a*r,d=2*a-u;i=this._adjustHslValue(u,d,o+1/3),s=this._adjustHslValue(u,d,o),l=this._adjustHslValue(u,d,o-1/3)}return[Math.round(255*i),Math.round(255*s),Math.round(255*l)]}},{key:"hexToRgb",value:function(e){var t=void 0,n=e.replace("#",""),o=new RegExp("(.{"+n.length/3+"})","g");if(n=n.match(o),!i()(n)){for(var r=0;r-1&&e%1==0&&e<=n}},function(e,t,n){"use strict";var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(18),l=n.n(s),u=n(7),d=n.n(u),c=n(39),p=n.n(c),f=n(49),h=n.n(f),_=n(154),m=n.n(_),b=n(44),g=n(22),v=n(0),y=Object.assign||function(e){for(var t=1;tr?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++o=0||g()(e,"image_max_width_tablet","").indexOf("px")>=0||g()(e,"image_max_width_phone","").indexOf("px")>=0)&&o.push(O.default.generateResponsiveCss({desktop:e.image_max_width,tablet:e.image_max_width_tablet,phone:e.image_max_width_phone},"%%order_class%% .et_pb_main_blurb_image","width")),O.default.getResponsiveStatus(e.content_max_width_last_edited)&&(O.default.hasValue(e.content_max_width_tablet)||O.default.hasValue(e.content_max_width_phone)||O.default.hasValue(e.content_max_width))){var c={desktop:e.content_max_width,tablet:e.content_max_width_tablet,phone:e.content_max_width_phone};o.push(O.default.generateResponsiveCss(c,"%%order_class%% .et_pb_blurb_content","max-width"))}else o.push([{selector:"%%order_class%% .et_pb_blurb_content",declaration:"max-width: "+e.content_max_width}]);this.addModuleClassName("et_pb_bg_layout_"+M.a.getHoverOrNormalOnHover("background_layout",e)),this.addModuleClassName("et_pb_blurb_position_"+i),O.default.hasValue(t)&&this.addModuleClassName("et_pb_section_video"),O.default.isOn(e.parallax)&&this.addModuleClassName("et_pb_section_parallax");var p=h()({additional_css:o,moduleClassName:this.moduleClassNameArray()},this.props);return r.a.createElement(k.a,p,n,t,r.a.createElement("div",{className:"et_pb_blurb_content"},this._renderBlurbImage(),r.a.createElement("div",{className:"et_pb_blurb_container"},this._renderBlurbTitle(),r.a.createElement("div",{className:"et_pb_blurb_description"},this._renderContent()))))}}]),t}();R.propTypes=S.a;var V=Object(I.a)(function(e){return{title:{attribute:"title"},url:{attribute:"url",type:"url"},image:{attribute:"image",type:"image"},alt:{attribute:"alt"},content:{attribute:"content",value:e.content}}})(R),U=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return N+L*(e?1.5:2)}function V(){L=0,clearInterval(P),P=!1}function U(t,n){var s=k()(n,"wireframeMode",!1),u=e("#et_pb_layout"),c=a.default.$appWindow("html"),f=a.default.$topWindow("#et-bfb-app-frame");a.default.$appWindow("body");if(a.default.isMobileDevice())return!1;if(!r.a.isAllowedAction("move_module"))return!1;if(r.a.getModuleDragging())return!1;if(l()(t.data()))return!1;if(!l()(t.data().uiSortable)&&!n.force)return!1;var _=function(t,p){if(x=0,B=0,j=0,v)return v=!1,o.b.multiSelectReset(!1),o.b.cancelDraggingModule(),!1;if(e("body").removeClass("et-fb-body--drag"),a.default.$appWindow(".et_pb_drag_over").removeClass("et_pb_drag_over"),a.default.condition("is_bfb")&&s){var _=c.hasClass("et_bfb_module_drag");f.removeClass("et_bfb_module_drag--start et_bfb_module_drag"),c.removeClass("et_bfb_module_drag--start et_bfb_module_drag"),_&&(c.addClass("et_bfb_module_drop"),c.hasClass("et_bfb_module_drag--responsive")&&c.addClass("et_bfb_module_drop--responsive"))}var m,g=e(t.target),w=g.hasClass("et-fb-skeleton__content")?g.parent(".et-fb-skeleton").parent():g,O=w.data("address");l()(O)&&(O="root");var M=e(p.item[0]).data("address"),A=M,P=!1,N=[],L=r.a.isMultiItemSelected(M);if(L){var I=i.a.getDraggedInfo(M,n);(P=I.shouldMultiUpdate)&&!d()(I)&&(N=I.$itemTarget,M=I.draggedAddress)}var D=w.data("dragOptions"),R=k()(D,"child","");if(L&&P){var V=h()(R,".");N.removeClass(V),p.item.addClass(V)}g.find("> "+R).each(function(t){var n=e(this),o=e(this).data("address"),r="root"==O?t:O+"."+t;if(C()(o)===C()(A))return m=r,y()(ETBuilderBackend.modulesShowOnCancelDropClassname,function(e){n.hasClass(e)&&setTimeout(function(){n.show()},1e3)}),!1}),e(t.target).hasClass("et_fb_uneditable_module")&&(m=void 0);var U=L?b.$items:p.item;if(l()(m))return r.a.getModuleDropping()?(e(U).stop().css({display:"",height:"",opacity:""}),o.b.multiSelectReset(!1),!1):(e(U).stop().css({display:"none",height:"",opacity:""}),setTimeout(function(){e(U).css({display:""})},1e3),o.b.cancelDraggingModule(),!1);e(p.placeholder).stop().show();var F=function(){if(e(p.placeholder).hide(),e(U).stop().css({display:"",height:"",opacity:"",position:"",left:"",top:""}),r.a.isProductTourActive()){var t=r.a.getProductTourDropAddress();if("not_set"!==t&&t!==m)return o.b.cancelDraggingModule(),o.b.multiSelectReset(!1),!1}p.sender&&e(p.sender[0]).sortable("cancel");var n=M==m,a=E.hasClass("et_pb_fullwidth_section")&&!n;if(n||E.sortable("cancel"),0===e('[data-address="'+M+'"]').length&&e(p.sender).append(p.item),P||a){var s=P?N:E;i.a.handleMissingOriginalItem(C()(A),s,p.item)}p.sender&&e(p.sender[0]).sortable("destroy"),E.sortable("destroy"),e(p.item).hasClass("et_pb_section")&&e(".et_pb_section:ui-sortable").sortable("destroy"),e(".et_fb_invisible_empty_col_placeholder").remove(),n?(o.b.cancelDraggingModule(M),o.b.multiSelectReset(!0),P&&i.a.handleMissingOriginalItem(C()(A),N,p.item,!0)):L?o.b.multiSelectEndDraggingItems(M,m):o.b.endDraggingModule(M,m),et_reinit_waypoint_modules()};if(s){e(p.item).removeClass("et-wireframe-dragged-item"),e(p.item).is(".et_pb_row")&&e(p.item).children(".et-fb-skeleton").css({width:""}),u.length&&u.css({position:"","z-index":""}),T.length&&(T.closest(".et_pb_row").css("z-index",""),T=!1),S.length&&S.css("z-index","");var H=a.default.$appWindow(t.target).closest(".et-fb-skeleton__content"),W=H.outerHeight();H.css("minHeight",W),setTimeout(function(){a.default.$appWindow(t.target).closest(".et-fb-skeleton__content").css("minHeight",""),F()},50)}else e(p.placeholder).stop().animate({height:0,opacity:0},{duration:500,easing:"easeOutCubic",complete:F})},b={},v=!1,w=0,E=l()(n.parent)?t:t.find(n.parent);l()(n.preSortableInit)||n.preSortableInit(E,n,t),l()(n.update)&&(n.update=m.a);var O=E.hasClass("et-fb-skeleton__content")?E.parent(".et-fb-skeleton").parent():E;E.hasClass("et-fb-skeleton__content")?O.data("dragOptions",g()(n)):E.data("dragOptions",g()(n)),E.sortable({start:function(t,l){if(a.default.condition("is_bfb")&&s){var d=f.width();c.addClass("et_bfb_module_drag--start"),d<768&&c.addClass("et_bfb_module_drag--responsive")}e("body").addClass("et-fb-body--drag");var p=e(l.item[0]).data("address"),h=r.a.isMultiItemSelected(p);if(t.altKey&&!h&&o.b.copyDraggedModule(p),b.$items=l.item,h){var _=i.a.generateObjectItemsSelector(p),m=_.generatedString,g=_.generatedSelector;b.$items=g,h&&e(m).css({height:0,opacity:0,display:"none"})}else o.b.multiSelectReset(!1);var v=e(l.item[0]);if(s){e(l.item).addClass("et-wireframe-dragged-item");var y=e(l.item).is(".et_pb_module")||!e(l.item).children(".et-fb-skeleton").length?e(l.item):e(l.item).children(".et-fb-skeleton"),w=!A&&x>0?x:y.height(),k=(y.width(),y.css("marginBottom"));if(e(l.item).is(".et_pb_row")&&y.width(e(l.placeholder).outerWidth()),e(l.placeholder).css({height:w,marginBottom:k}),e(":ui-sortable").sortable("refreshPositions"),u.length&&u.css({position:"relative","z-index":20}),y.closest(".et_pb_row").length&&(T=y.closest(".et_pb_row")).css("z-index",30),y.closest(".et_pb_section").length&&(S=y.closest(".et_pb_section")).css("z-index",50),!a.default.condition("is_bfb")&&y.hasClass("et-fb-skeleton--section")){var E=y.closest(".et_pb_section").width(),C=y.closest(".et-fb-post-content").width();l.helper.closest(".et_pb_section").css({marginLeft:(C-E)/2})}}else v.show(),v.data("orig-height",v.innerHeight()),v.slideUp({start:function(){v.css({opacity:1})},duration:500,easing:"easeOutCubic",progress:function(e,t,n){v.css({opacity:1-t})},complete:function(){v.css({height:0,opacity:0}),e(l.placeholder[0]).animate({height:n.placeholderHeight||"20px",opacity:1},{duration:500,easing:"easeOutCubic"}),e(":ui-sortable").sortable("refreshPositions")}});return D=!0,o.b.startDraggingModule(),!0},sort:function(t,n){var o=M()(["zoom","tablet","phone"],r.a.getPreviewMode())||A,i=o?a.default.$topWindow("html, body"):a.default.$appWindow("html, body"),l=o?a.default.$topWindow():a.default.$appWindow(),u=l.scrollTop(),d="zoom"===r.a.getPreviewMode(),c=d?k()(n,"offset.top",0)/2:k()(n,"offset.top",0),h=a.default.$topWindow().innerHeight(),_=h-80,m=A&&s?c-u:c+k()(f.offset(),"top",0)-l.scrollTop(),b=void 0,g=A&&s?n.item:n.helper,v=!A||!s||f.width()+2==a.default.$topWindow("body").width()&&f.hasClass("et_bfb_module_drag"),y=a.default.$topWindow("#wpadminbar").height();v&&m<=80?(L=80-m,P||(0,P=setInterval(function(){0;var e=R(s);u-=e,b=parseInt(g.css("top"));var t=function(){return A?s?0-(k()(g.parent().offset(),"top",0)-y):0:d?2*y:y},n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=b-e;return n>t()?n:t()};i.stop().animate({scrollTop:u},{duration:.5*I,easing:"linear",progress:function(t,o,r){var a=o*e*(d?2:1);g.css({top:n(a)})},always:function(){var t=e*(d?2:1);g.css({top:n(t)})}})},I))):v&&m>=_?(L=m-_,P||(0,P=setInterval(function(){0;var e=R(s),t=a.default.$topWindow("#et_pb_layout");b=parseInt(g.css("top"));var n=function(){return A?s?a.default.$topWindow("#wpwrap").height()-k()(g.parent().offset(),"top",0)-g.height():t.height()+k()(t.offset(),"top",0)-h:a.default.$appWindow("html").height()-g.height()},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=b+e;return t "+n.child,cancel:".et-fb-padding-indicator, .et-fb-editable-element, .et-fb-popover-tinymce, .et-fb-draggable-handle, .gm-style, .et_fb_locked_module, .et_fb_uninteractable_module, input, textarea",connectWith:n.connectWith,handle:n.isItemsMixed?n.handle:n.handle+", > *",forcePlaceholderSize:!0,tolerance:"intersect",delay:100,placeholder:{element:function(t){var n=e(this),o=(n.hasClass("et-fb-skeleton__content")?n.parent(".et-fb-skeleton").parent():n).data("dragOptions"),r=s?"et-fb-wireframe":"et-fb",a=[r+"-sortable-placeholder",r+"-sortable-placeholder--"+o.childSlug];return t.hasClass("et_pb_fullwidth_section")&&a.push(r+"-sortable-placeholder--"+o.childSlug+"-fullwidth"),t.hasClass("et_section_specialty")&&a.push(r+"-sortable-placeholder--"+o.childSlug+"-specialty"),e('
')[0]},update:function(t,n){if(s&&!a.default.condition("is_bfb")){var o=k()(t,["currentItem",0]);if(o){var r=x>0?x:e(o).height();n[0].style.minHeight=r+"px"}}}},helper:function(t,n){if(s){if(a.default.condition("is_bfb"))return n;var o=n.is(".et_pb_module")||!n.children(".et-fb-skeleton").length?n:n.children(".et-fb-skeleton");return x=o.height(),n.clone().css("position","absolute").addClass("et-wireframe-dragged-item")}var r=e(this),i=(r.hasClass("et-fb-skeleton__content")?r.parent(".et-fb-skeleton").parent():r).data("dragOptions"),l="";return 1===r.find("> "+i.child).length&&e('
').css({visibility:"hidden",height:"1px"}).appendTo(r),"section"===i.childSlug&&(n.hasClass("et_pb_fullwidth_section")?l=" et-fb-sortable-helper--section--fullwidth":n.hasClass("et_section_specialty")&&(l=" et-fb-sortable-helper--section--specialty")),e('
')},change:function(e,t){n.isItemsMixed&&(t.placeholder.parent().hasClass("et_fb_container_mixed")?t.placeholder.css("display","none"):t.placeholder.css("display",""))},beforeStop:function(e,t){if(n.isItemsMixed){var o=t.placeholder.parent();v=!!o.hasClass("et_fb_container_mixed")}V()},forceHelperSize:!0,cursorAt:s?{}:{left:20,top:20},appendTo:"#et-fb-app",scroll:!1,refreshPositions:!0,containment:!s&&"#et-fb-app",zIndex:999999,over:function(e,t){a.default.$appWindow(".et_pb_drag_over").removeClass("et_pb_drag_over"),a.default.$appWindow(e.target).addClass("et_pb_drag_over")}})}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",function(){return $}),n.d(t,"b",function(){return z});var o=n(12),r=n.n(o),a=n(54),i=n.n(a),s=n(11),l=n.n(s),u=n(2),d=n.n(u),c=(n(30),n(7)),p=n.n(c),f=n(38),h=n.n(f),_=n(19),m=n.n(_),b=n(4),g=n.n(b),v=n(88),y=n.n(v),w=(n(35),n(75)),k=n.n(w),E=n(182),C=n.n(E),O=n(82),M=n.n(O),S=n(65),T=n.n(S),x=n(45),A=n.n(x),P=n(41),N=n.n(P),L=n(9),I=n.n(L),B=n(0),j=n(3),D=n(23),R=n(683),V=n(682),U=Object.assign||function(e){for(var t=1;t0&&c.contains(t.class)?(s=n,!0):h===t.tag?i()(t.parent)||i()(e.parentElement)?!!(c.length>0&&c.contains(t.class)||l()(t.class))&&(s=n,!0):(e=e.parentElement,!!((f=e.classList).length>0&&f.contains(t.parent))&&(s=n,!0)):void 0});i()(_);){if(e=e.parentElement,l()(e)){_=null;break}c=e.classList,h=e.tagName,_=p()(d,function(e,t){return l()(e.tag)&&c.length>0&&c.contains(e.class)?(s=t,!0):h===e.tag?i()(e.parent)?!!(c.length>0&&c.contains(e.class)||l()(e.class))&&(s=t,!0):!!(c.length>0&&c.contains(e.parent))&&(s=t,!0):void 0})}return i()(_)||r()(_)||(o=_.id,a=i()(_.subId)?null:_.subId),i()(g.e[o])||(o=g.e[o]),{quickAccessId:o,quickAccessSubId:a,quickAccessOrder:s,quickAccessEditable:!1,quickAccessAddress:u,quickAccessKey:null,newEl:e}},getCorrectEditToggleId:function(e){if(r()(e))return"";var t=e,n=b.a.getModuleEdit();if(!n)return t;var o=n.props,a=o.child_slug,s=o.is_module_child,l=o.type;if(r()(a)){if(s||"et_pb_toggle"===l){var u=e.split("-");t=i()(u[1])?t:u[1]}}else t=e.split("-")[0];return t},getCorrectModuleToggleId:function(e,t){if(r()(t))return"";var n=t;if(r()(e.child_slug)){if(e.is_module_child){var o=t.split("-");n=i()(o[1])?n:o[1]}}else n=t.split("-")[0];return n},getTextElementIndex:function(e){e.tagName;var t=e.parentElement,n=m()(t.children,e),o=n,a="",i="",s=!1;(t.hasAttribute("data-quickaccess-editable")||t.hasAttribute("contenteditable"))&&(s=!0);for(var l=t;(t=t.parentElement)&&!s;){var u=m()(t.children,l);if(t.hasAttribute("data-quickaccess-editable")||t.hasAttribute("contenteditable")){s=!0,a=u+"-"+(r()(a)?"":a)+n,i=u.toString()+"."+i+o.toString()}else{r()(a);a=u+"-"+a,i=u.toString()+i}l=t}return{id:n=r()(a)?n:a,index:o=r()(i)?o:i}},shouldQuickAccessDisplayed:function(e){var t=e.loading,n=e.wireframeMode,o=e.is_official_module;return!(t||n||!o)},shouldQuickAccessActive:function(e,t,n){var o=b.a.getModuleEdit();if(!o)return!1;var a=h()(o,"props.address");if("listener"!==n&&b.a.isMultiItemSelected(a)&&b.a.isMultiItemSelected(e.address)&&(o=b.a.getMultiSelectItemsData(e.address)),!v.shouldQuickAccessDisplayed(e))return!1;var i=b.a.getActiveQuickAccess();if(r()(i))return!1;var s=h()(o,"props.address"),l=h()(o,"props.type");if(d()(g.l,l)){var u=s.slice(0,-2);s=h()(o,"props.parent_address",u)}return!t||s===e.address}};v.getElementProps,v.getPropsText,v.getPropsTag,v.getPropsRegular,v.getTextElementIndex,v.shouldQuickAccessActive,v.shouldQuickAccessDisplayed;t.a=v},function(e,t,n){"use strict";n.d(t,"c",function(){return c}),n.d(t,"b",function(){return p}),n.d(t,"a",function(){return f});var o=n(3),r=n(148),a=(n(36),n(7)),i=n.n(a),s=(n(4),n(283)),l=ETBuilderBackend.currentPage.id,u=ETBuilderBackend.postType,d=JSON.stringify,c=function(){return s({post_id:l||0,content:o.a.getSections()||"",builder_settings:o.a.getSyncSettings(),post_type:u})},p=function(){var e=c();return d(Object(r.a)(e.content))},f=function(){var e=c(),t=p();return i()(e.builder_settings)||(t+=d(e.builder_settings)),t}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return d});var o=n(1),r=n(69),a=n.n(r),i=function(){function e(e,t){for(var n=0;n0?this.show():this.hide()}}]),t}()),u=function(e){function t(){return s(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),i(t,[{key:"componentDidMount",value:function(){l.add()}},{key:"componentWillUnmount",value:function(){l.remove()}},{key:"render",value:function(){return null}}]),t}(),d=function(e){var t={LoadingComponent:u};return e&&(t.exportPicker=function(t){return t[e]}),t}}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setConfiguration=t.ImportedStream=t.loadableResource=t.ComponentLoader=t.assignImportedComponents=t.dryRender=t.whenComponentsReady=t.rehydrateMarks=t.drainHydrateMarks=t.printDrainHydrateMarks=void 0;var o=d(n(901)),r=n(441),a=n(440),i=d(a),s=n(712),l=d(s),u=n(710);function d(e){return e&&e.__esModule?e:{default:e}}t.printDrainHydrateMarks=r.printDrainHydrateMarks,t.drainHydrateMarks=r.drainHydrateMarks,t.rehydrateMarks=r.rehydrateMarks,t.whenComponentsReady=a.done,t.dryRender=a.dryRender,t.assignImportedComponents=a.assignImportedComponents,t.ComponentLoader=l.default,t.loadableResource=i.default,t.ImportedStream=u.ImportedStream,t.setConfiguration=function(e){return Object.assign(s.settings,e)},t.default=o.default},function(e,t,n){var o=n(962),r=n(960);e.exports=function(e,t,n){return o(r,e,t,n)}},function(e,t,n){e.exports=n(963)},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t,n){var o=n(170),r=n(259)(o);e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++nm.EOF;){try{switch(n){case m.MEDIA_SYM:this._media(),this._skipCruft();break;case m.PAGE_SYM:this._page(),this._skipCruft();break;case m.FONT_FACE_SYM:this._font_face(),this._skipCruft();break;case m.KEYFRAMES_SYM:this._keyframes(),this._skipCruft();break;case m.VIEWPORT_SYM:this._viewport(),this._skipCruft();break;case m.DOCUMENT_SYM:this._document(),this._skipCruft();break;case m.SUPPORTS_SYM:this._supports(),this._skipCruft();break;case m.UNKNOWN_SYM:if(o.get(),this.options.strict)throw new r("Unknown @ rule.",o.LT(0).startLine,o.LT(0).startCol);for(this.fire({type:"error",error:null,message:"Unknown @ rule: "+o.LT(0).value+".",line:o.LT(0).startLine,col:o.LT(0).startCol}),e=0;o.advance([m.LBRACE,m.RBRACE])===m.LBRACE;)e++;for(;e;)o.advance([m.RBRACE]),e--;break;case m.S:this._readWhitespace();break;default:if(!this._ruleset())switch(n){case m.CHARSET_SYM:throw t=o.LT(1),this._charset(!1),new r("@charset not allowed here.",t.startLine,t.startCol);case m.IMPORT_SYM:throw t=o.LT(1),this._import(!1),new r("@import not allowed here.",t.startLine,t.startCol);case m.NAMESPACE_SYM:throw t=o.LT(1),this._namespace(!1),new r("@namespace not allowed here.",t.startLine,t.startCol);default:o.get(),this._unexpectedToken(o.token())}}}catch(e){if(!(e instanceof r)||this.options.strict)throw e;this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col})}n=o.peek()}n!==m.EOF&&this._unexpectedToken(o.token()),this.fire("endstylesheet")},_charset:function(e){var t,n,o,r=this._tokenStream;r.match(m.CHARSET_SYM)&&(n=r.token().startLine,o=r.token().startCol,this._readWhitespace(),r.mustMatch(m.STRING),t=r.token().value,this._readWhitespace(),r.mustMatch(m.SEMICOLON),!1!==e&&this.fire({type:"charset",charset:t,line:n,col:o}))},_import:function(e){var t,n,o,r=this._tokenStream;r.mustMatch(m.IMPORT_SYM),n=r.token(),this._readWhitespace(),r.mustMatch([m.STRING,m.URI]),t=r.token().value.replace(/^(?:url\()?["']?([^"']+?)["']?\)?$/,"$1"),this._readWhitespace(),o=this._media_query_list(),r.mustMatch(m.SEMICOLON),this._readWhitespace(),!1!==e&&this.fire({type:"import",uri:t,media:o,line:n.startLine,col:n.startCol})},_namespace:function(e){var t,n,o,r,a=this._tokenStream;a.mustMatch(m.NAMESPACE_SYM),t=a.token().startLine,n=a.token().startCol,this._readWhitespace(),a.match(m.IDENT)&&(o=a.token().value,this._readWhitespace()),a.mustMatch([m.STRING,m.URI]),r=a.token().value.replace(/(?:url\()?["']([^"']+)["']\)?/,"$1"),this._readWhitespace(),a.mustMatch(m.SEMICOLON),this._readWhitespace(),!1!==e&&this.fire({type:"namespace",prefix:o,uri:r,line:t,col:n})},_supports:function(e){var t,n,o=this._tokenStream;if(o.match(m.SUPPORTS_SYM)){for(t=o.token().startLine,n=o.token().startCol,this._readWhitespace(),this._supports_condition(),this._readWhitespace(),o.mustMatch(m.LBRACE),this._readWhitespace(),!1!==e&&this.fire({type:"startsupports",line:t,col:n});this._ruleset(););o.mustMatch(m.RBRACE),this._readWhitespace(),this.fire({type:"endsupports",line:t,col:n})}},_supports_condition:function(){var e,t=this._tokenStream;if(t.match(m.IDENT))"not"===(e=t.token().value.toLowerCase())?(t.mustMatch(m.S),this._supports_condition_in_parens()):t.unget();else for(this._supports_condition_in_parens(),this._readWhitespace();t.peek()===m.IDENT;)"and"!==(e=t.LT(1).value.toLowerCase())&&"or"!==e||(t.mustMatch(m.IDENT),this._readWhitespace(),this._supports_condition_in_parens(),this._readWhitespace())},_supports_condition_in_parens:function(){var e=this._tokenStream;e.match(m.LPAREN)?(this._readWhitespace(),e.match(m.IDENT)?"not"===e.token().value.toLowerCase()?(this._readWhitespace(),this._supports_condition(),this._readWhitespace(),e.mustMatch(m.RPAREN)):(e.unget(),this._supports_declaration_condition(!1)):(this._supports_condition(),this._readWhitespace(),e.mustMatch(m.RPAREN))):this._supports_declaration_condition()},_supports_declaration_condition:function(e){var t=this._tokenStream;!1!==e&&t.mustMatch(m.LPAREN),this._readWhitespace(),this._declaration(),t.mustMatch(m.RPAREN)},_media:function(){var e,t,n,o=this._tokenStream;for(o.mustMatch(m.MEDIA_SYM),e=o.token().startLine,t=o.token().startCol,this._readWhitespace(),n=this._media_query_list(),o.mustMatch(m.LBRACE),this._readWhitespace(),this.fire({type:"startmedia",media:n,line:e,col:t});;)if(o.peek()===m.PAGE_SYM)this._page();else if(o.peek()===m.FONT_FACE_SYM)this._font_face();else if(o.peek()===m.VIEWPORT_SYM)this._viewport();else if(o.peek()===m.DOCUMENT_SYM)this._document();else if(o.peek()===m.SUPPORTS_SYM)this._supports();else if(o.peek()===m.MEDIA_SYM)this._media();else if(!this._ruleset())break;o.mustMatch(m.RBRACE),this._readWhitespace(),this.fire({type:"endmedia",media:n,line:e,col:t})},_media_query_list:function(){var e=this._tokenStream,t=[];for(this._readWhitespace(),e.peek()!==m.IDENT&&e.peek()!==m.LPAREN||t.push(this._media_query());e.match(m.COMMA);)this._readWhitespace(),t.push(this._media_query());return t},_media_query:function(){var e=this._tokenStream,t=null,n=null,o=null,r=[];if(e.match(m.IDENT)&&("only"!==(n=e.token().value.toLowerCase())&&"not"!==n?(e.unget(),n=null):o=e.token()),this._readWhitespace(),e.peek()===m.IDENT?(t=this._media_type(),null===o&&(o=e.token())):e.peek()===m.LPAREN&&(null===o&&(o=e.LT(1)),r.push(this._media_expression())),null===t&&0===r.length)return null;for(this._readWhitespace();e.match(m.IDENT);)"and"!==e.token().value.toLowerCase()&&this._unexpectedToken(e.token()),this._readWhitespace(),r.push(this._media_expression());return new l(n,t,r,o.startLine,o.startCol)},_media_type:function(){return this._media_feature()},_media_expression:function(){var e,t,n=this._tokenStream,o=null;return n.mustMatch(m.LPAREN),e=this._media_feature(),this._readWhitespace(),n.match(m.COLON)&&(this._readWhitespace(),t=n.LT(1),o=this._expression()),n.mustMatch(m.RPAREN),this._readWhitespace(),new s(e,o?new a(o,t.startLine,t.startCol):null)},_media_feature:function(){var e=this._tokenStream;return this._readWhitespace(),e.mustMatch(m.IDENT),a.fromToken(e.token())},_page:function(){var e,t,n=this._tokenStream,o=null,r=null;n.mustMatch(m.PAGE_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),n.match(m.IDENT)&&"auto"===(o=n.token().value).toLowerCase()&&this._unexpectedToken(n.token()),n.peek()===m.COLON&&(r=this._pseudo_page()),this._readWhitespace(),this.fire({type:"startpage",id:o,pseudo:r,line:e,col:t}),this._readDeclarations(!0,!0),this.fire({type:"endpage",id:o,pseudo:r,line:e,col:t})},_margin:function(){var e,t,n=this._tokenStream,o=this._margin_sym();return!!o&&(e=n.token().startLine,t=n.token().startCol,this.fire({type:"startpagemargin",margin:o,line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endpagemargin",margin:o,line:e,col:t}),!0)},_margin_sym:function(){var e=this._tokenStream;return e.match([m.TOPLEFTCORNER_SYM,m.TOPLEFT_SYM,m.TOPCENTER_SYM,m.TOPRIGHT_SYM,m.TOPRIGHTCORNER_SYM,m.BOTTOMLEFTCORNER_SYM,m.BOTTOMLEFT_SYM,m.BOTTOMCENTER_SYM,m.BOTTOMRIGHT_SYM,m.BOTTOMRIGHTCORNER_SYM,m.LEFTTOP_SYM,m.LEFTMIDDLE_SYM,m.LEFTBOTTOM_SYM,m.RIGHTTOP_SYM,m.RIGHTMIDDLE_SYM,m.RIGHTBOTTOM_SYM])?a.fromToken(e.token()):null},_pseudo_page:function(){var e=this._tokenStream;return e.mustMatch(m.COLON),e.mustMatch(m.IDENT),e.token().value},_font_face:function(){var e,t,n=this._tokenStream;n.mustMatch(m.FONT_FACE_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),this.fire({type:"startfontface",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endfontface",line:e,col:t})},_viewport:function(){var e,t,n=this._tokenStream;n.mustMatch(m.VIEWPORT_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),this.fire({type:"startviewport",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endviewport",line:e,col:t})},_document:function(){var e,t=this._tokenStream,n=[],o="";for(t.mustMatch(m.DOCUMENT_SYM),e=t.token(),/^@\-([^\-]+)\-/.test(e.value)&&(o=RegExp.$1),this._readWhitespace(),n.push(this._document_function());t.match(m.COMMA);)this._readWhitespace(),n.push(this._document_function());t.mustMatch(m.LBRACE),this._readWhitespace(),this.fire({type:"startdocument",functions:n,prefix:o,line:e.startLine,col:e.startCol});for(var r=!0;r;)switch(t.peek()){case m.PAGE_SYM:this._page();break;case m.FONT_FACE_SYM:this._font_face();break;case m.VIEWPORT_SYM:this._viewport();break;case m.MEDIA_SYM:this._media();break;case m.KEYFRAMES_SYM:this._keyframes();break;case m.DOCUMENT_SYM:this._document();break;default:r=Boolean(this._ruleset())}t.mustMatch(m.RBRACE),e=t.token(),this._readWhitespace(),this.fire({type:"enddocument",functions:n,prefix:o,line:e.startLine,col:e.startCol})},_document_function:function(){var e,t=this._tokenStream;return t.match(m.URI)?(e=t.token().value,this._readWhitespace()):e=this._function(),e},_operator:function(e){var t=this._tokenStream,n=null;return(t.match([m.SLASH,m.COMMA])||e&&t.match([m.PLUS,m.STAR,m.MINUS]))&&(n=t.token(),this._readWhitespace()),n?c.fromToken(n):null},_combinator:function(){var e,t=this._tokenStream,n=null;return t.match([m.PLUS,m.GREATER,m.TILDE])&&(e=t.token(),n=new i(e.value,e.startLine,e.startCol),this._readWhitespace()),n},_unary_operator:function(){var e=this._tokenStream;return e.match([m.MINUS,m.PLUS])?e.token().value:null},_property:function(){var e,t,n,o,r=this._tokenStream,a=null,i=null;return r.peek()===m.STAR&&this.options.starHack&&(r.get(),i=(t=r.token()).value,n=t.startLine,o=t.startCol),r.match(m.IDENT)&&("_"===(e=(t=r.token()).value).charAt(0)&&this.options.underscoreHack&&(i="_",e=e.substring(1)),a=new u(e,i,n||t.startLine,o||t.startCol),this._readWhitespace()),a},_ruleset:function(){var e,t=this._tokenStream;try{e=this._selectors_group()}catch(e){if(!(e instanceof r)||this.options.strict)throw e;if(this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col}),t.advance([m.RBRACE])!==m.RBRACE)throw e;return!0}return e&&(this.fire({type:"startrule",selectors:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endrule",selectors:e,line:e[0].line,col:e[0].col})),e},_selectors_group:function(){var e,t=this._tokenStream,n=[];if(null!==(e=this._selector()))for(n.push(e);t.match(m.COMMA);)this._readWhitespace(),null!==(e=this._selector())?n.push(e):this._unexpectedToken(t.LT(1));return n.length?n:null},_selector:function(){var e=this._tokenStream,t=[],n=null,o=null,r=null;if(null===(n=this._simple_selector_sequence()))return null;for(t.push(n);;)if(null!==(o=this._combinator()))t.push(o),null===(n=this._simple_selector_sequence())?this._unexpectedToken(e.LT(1)):t.push(n);else{if(!this._readWhitespace())break;r=new i(e.token().value,e.token().startLine,e.token().startCol),o=this._combinator(),null===(n=this._simple_selector_sequence())?null!==o&&this._unexpectedToken(e.LT(1)):(null!==o?t.push(o):t.push(r),t.push(n))}return new p(t,t[0].line,t[0].col)},_simple_selector_sequence:function(){var e,t,n=this._tokenStream,o=null,r=[],a="",i=[function(){return n.match(m.HASH)?new h(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo,this._negation],s=0,l=i.length,u=null;for(e=n.LT(1).startLine,t=n.LT(1).startCol,(o=this._type_selector())||(o=this._universal()),null!==o&&(a+=o);n.peek()!==m.S;){for(;s1&&e.unget()),null)},_class:function(){var e,t=this._tokenStream;return t.match(m.DOT)?(t.mustMatch(m.IDENT),e=t.token(),new h("."+e.value,"class",e.startLine,e.startCol-1)):null},_element_name:function(){var e,t=this._tokenStream;return t.match(m.IDENT)?(e=t.token(),new h(e.value,"elementName",e.startLine,e.startCol)):null},_namespace_prefix:function(){var e=this._tokenStream,t="";return e.LA(1)!==m.PIPE&&e.LA(2)!==m.PIPE||(e.match([m.IDENT,m.STAR])&&(t+=e.token().value),e.mustMatch(m.PIPE),t+="|"),t.length?t:null},_universal:function(){var e,t=this._tokenStream,n="";return(e=this._namespace_prefix())&&(n+=e),t.match(m.STAR)&&(n+="*"),n.length?n:null},_attrib:function(){var e,t,n=this._tokenStream,o=null;return n.match(m.LBRACKET)?(o=(t=n.token()).value,o+=this._readWhitespace(),(e=this._namespace_prefix())&&(o+=e),n.mustMatch(m.IDENT),o+=n.token().value,o+=this._readWhitespace(),n.match([m.PREFIXMATCH,m.SUFFIXMATCH,m.SUBSTRINGMATCH,m.EQUALS,m.INCLUDES,m.DASHMATCH])&&(o+=n.token().value,o+=this._readWhitespace(),n.mustMatch([m.IDENT,m.STRING]),o+=n.token().value,o+=this._readWhitespace()),n.mustMatch(m.RBRACKET),new h(o+"]","attribute",t.startLine,t.startCol)):null},_pseudo:function(){var e,t,n=this._tokenStream,o=null,a=":";if(n.match(m.COLON)){if(n.match(m.COLON)&&(a+=":"),n.match(m.IDENT)?(o=n.token().value,e=n.token().startLine,t=n.token().startCol-a.length):n.peek()===m.FUNCTION&&(e=n.LT(1).startLine,t=n.LT(1).startCol-a.length,o=this._functional_pseudo()),!o){var i=n.LT(1).startLine,s=n.LT(0).startCol;throw new r("Expected a `FUNCTION` or `IDENT` after colon at line "+i+", col "+s+".",i,s)}o=new h(a+o,"pseudo",e,t)}return o},_functional_pseudo:function(){var e=this._tokenStream,t=null;return e.match(m.FUNCTION)&&(t=e.token().value,t+=this._readWhitespace(),t+=this._expression(),e.mustMatch(m.RPAREN),t+=")"),t},_expression:function(){for(var e=this._tokenStream,t="";e.match([m.PLUS,m.MINUS,m.DIMENSION,m.NUMBER,m.STRING,m.IDENT,m.LENGTH,m.FREQ,m.ANGLE,m.TIME,m.RESOLUTION,m.SLASH]);)t+=e.token().value,t+=this._readWhitespace();return t.length?t:null},_negation:function(){var e,t,n,o=this._tokenStream,r="",a=null;return o.match(m.NOT)&&(r=o.token().value,e=o.token().startLine,t=o.token().startCol,r+=this._readWhitespace(),r+=n=this._negation_arg(),r+=this._readWhitespace(),o.match(m.RPAREN),r+=o.token().value,(a=new h(r,"not",e,t)).args.push(n)),a},_negation_arg:function(){var e,t,n=this._tokenStream,o=[this._type_selector,this._universal,function(){return n.match(m.HASH)?new h(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo],r=null,a=0,i=o.length;for(e=n.LT(1).startLine,t=n.LT(1).startCol;a0?new d(t,t[0].line,t[0].col):null},_term:function(e){var t,n,o,r,a=this._tokenStream,i=null,s=null,l=null;return null!==(t=this._unary_operator())&&(o=a.token().startLine,r=a.token().startCol),a.peek()===m.IE_FUNCTION&&this.options.ieFilters?(i=this._ie_function(),null===t&&(o=a.token().startLine,r=a.token().startCol)):e&&a.match([m.LPAREN,m.LBRACE,m.LBRACKET])?(s=(n=a.token()).endChar,i=n.value+this._expr(e).text,null===t&&(o=a.token().startLine,r=a.token().startCol),a.mustMatch(m.type(s)),i+=s,this._readWhitespace()):a.match([m.NUMBER,m.PERCENTAGE,m.LENGTH,m.ANGLE,m.TIME,m.FREQ,m.STRING,m.IDENT,m.URI,m.UNICODE_RANGE])?(i=a.token().value,null===t&&(o=a.token().startLine,r=a.token().startCol,l=c.fromToken(a.token())),this._readWhitespace()):null===(n=this._hexcolor())?(null===t&&(o=a.LT(1).startLine,r=a.LT(1).startCol),null===i&&(i=a.LA(3)===m.EQUALS&&this.options.ieFilters?this._ie_function():this._function())):(i=n.value,null===t&&(o=n.startLine,r=n.startCol)),null!==l?l:null!==i?new c(null!==t?t+i:i,o,r):null},_function:function(){var e,t=this._tokenStream,n=null;if(t.match(m.FUNCTION)){if(n=t.token().value,this._readWhitespace(),n+=this._expr(!0),this.options.ieFilters&&t.peek()===m.EQUALS)do{for(this._readWhitespace()&&(n+=t.token().value),t.LA(0)===m.COMMA&&(n+=t.token().value),t.match(m.IDENT),n+=t.token().value,t.match(m.EQUALS),n+=t.token().value,e=t.peek();e!==m.COMMA&&e!==m.S&&e!==m.RPAREN;)t.get(),n+=t.token().value,e=t.peek()}while(t.match([m.COMMA,m.S]));t.match(m.RPAREN),n+=")",this._readWhitespace()}return n},_ie_function:function(){var e,t=this._tokenStream,n=null;if(t.match([m.IE_FUNCTION,m.FUNCTION])){n=t.token().value;do{for(this._readWhitespace()&&(n+=t.token().value),t.LA(0)===m.COMMA&&(n+=t.token().value),t.match(m.IDENT),n+=t.token().value,t.match(m.EQUALS),n+=t.token().value,e=t.peek();e!==m.COMMA&&e!==m.S&&e!==m.RPAREN;)t.get(),n+=t.token().value,e=t.peek()}while(t.match([m.COMMA,m.S]));t.match(m.RPAREN),n+=")",this._readWhitespace()}return n},_hexcolor:function(){var e,t=this._tokenStream,n=null;if(t.match(m.HASH)){if(e=(n=t.token()).value,!/#[a-f0-9]{3,6}/i.test(e))throw new r("Expected a hex color but found '"+e+"' at line "+n.startLine+", col "+n.startCol+".",n.startLine,n.startCol);this._readWhitespace()}return n},_keyframes:function(){var e,t,n,o=this._tokenStream,r="";for(o.mustMatch(m.KEYFRAMES_SYM),e=o.token(),/^@\-([^\-]+)\-/.test(e.value)&&(r=RegExp.$1),this._readWhitespace(),n=this._keyframe_name(),this._readWhitespace(),o.mustMatch(m.LBRACE),this.fire({type:"startkeyframes",name:n,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),t=o.peek();t===m.IDENT||t===m.PERCENTAGE;)this._keyframe_rule(),this._readWhitespace(),t=o.peek();this.fire({type:"endkeyframes",name:n,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),o.mustMatch(m.RBRACE),this._readWhitespace()},_keyframe_name:function(){var e=this._tokenStream;return e.mustMatch([m.IDENT,m.STRING]),a.fromToken(e.token())},_keyframe_rule:function(){var e=this._key_list();this.fire({type:"startkeyframerule",keys:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endkeyframerule",keys:e,line:e[0].line,col:e[0].col})},_key_list:function(){var e=this._tokenStream,t=[];for(t.push(this._key()),this._readWhitespace();e.match(m.COMMA);)this._readWhitespace(),t.push(this._key()),this._readWhitespace();return t},_key:function(){var e,t=this._tokenStream;if(t.match(m.PERCENTAGE))return a.fromToken(t.token());if(t.match(m.IDENT)){if(e=t.token(),/from|to/i.test(e.value))return a.fromToken(e);t.unget()}this._unexpectedToken(t.LT(1))},_skipCruft:function(){for(;this._tokenStream.match([m.S,m.CDO,m.CDC]););},_readDeclarations:function(e,t){var n,o=this._tokenStream;this._readWhitespace(),e&&o.mustMatch(m.LBRACE),this._readWhitespace();try{for(;;){if(o.match(m.SEMICOLON)||t&&this._margin());else{if(!this._declaration())break;if(!o.match(m.SEMICOLON))break}this._readWhitespace()}o.mustMatch(m.RBRACE),this._readWhitespace()}catch(e){if(!(e instanceof r)||this.options.strict)throw e;if(this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col}),(n=o.advance([m.SEMICOLON,m.RBRACE]))===m.SEMICOLON)this._readDeclarations(!1,t);else if(n!==m.RBRACE)throw e}},_readWhitespace:function(){for(var e=this._tokenStream,t="";e.match(m.S);)t+=e.token().value;return t},_unexpectedToken:function(e){throw new r("Unexpected token '"+e.value+"' at line "+e.startLine+", col "+e.startCol+".",e.startLine,e.startCol)},_verifyEnd:function(){this._tokenStream.LA(1)!==m.EOF&&this._unexpectedToken(this._tokenStream.LT(1))},_validateProperty:function(e,t){b.validate(e,t)},parse:function(e){this._tokenStream=new _(e,m),this._stylesheet()},parseStyleSheet:function(e){return this.parse(e)},parseMediaQuery:function(e){this._tokenStream=new _(e,m);var t=this._media_query();return this._verifyEnd(),t},parsePropertyValue:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._expr();return this._readWhitespace(),this._verifyEnd(),t},parseRule:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._ruleset();return this._readWhitespace(),this._verifyEnd(),t},parseSelector:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._selector();return this._readWhitespace(),this._verifyEnd(),t},parseStyleAttribute:function(e){e+="}",this._tokenStream=new _(e,m),this._readDeclarations()}};for(e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}()},function(e,t,n){var o=n(163),r=n(253),a=n(229);e.exports=function(e){return a(r(e,void 0,o),e+"")}},function(e,t,n){var o=n(91)(n(59),"Map");e.exports=o},function(e,t,n){var o=n(141),r=n(342),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var o=n(55),r=n(225),a=n(65);e.exports=function(e,t){return a(e,r(o(t)))}},function(e,t,n){var o=n(381),r=n(463),a=n(83);e.exports=function(e){return e&&e.length?o(e,a,r):void 0}},function(e,t,n){"use strict";var o=n(2),r=n.n(o),a=n(11),i=n.n(a),s=n(7),l=n.n(s),u=n(38),d=n.n(u);t.a={hasPosts:function(){var e=this,t=null;return i()(["__posts","__projects","__products"],function(n){if(null!==(t=r()(e.props.attrs,[n,"posts"],null)))return!1}),d()(t)&&!l()(t)}}},function(e,t,n){var o=n(27);e.exports=function(e){return o(e).toUpperCase()}},function(e,t,n){"use strict";n(1);var o=n(77),r=n.n(o),a=n(24),i=(n(26),n(18)),s=n.n(i),l=n(0),u=n(124),d=l.default.decodeOptionListValue,c=l.default.fontnameToClass,p=l.default.linkRel,f=l.default.maybeLoadFont,h=l.default.processFontIcon,_=l.default.setElementFont,m=function(e){return{Modals:{Fields:{register:a.d.noop},register:a.d.noop},Modules:{register:e.registerComponents},State:{View_Mode:{get current(){return e.stores.main.getPreviewMode()},get previous(){return e.stores.main.getPreviewMode("previous")},activate:function(e){return u.a.instance().activate(e)},isAnimating:function(){return u.a.instance().isAnimating()},isDesktop:function(){return"desktop"===this.current},isPhone:function(){return"phone"===this.current},isTablet:function(){return"tablet"===this.current},isWireframe:function(){return"wireframe"===this.current},isZoom:function(){return"zoom"===this.current},wasDesktop:function(){return"desktop"===this.previous},wasPhone:function(){return"phone"===this.previous},wasTablet:function(){return"tablet"===this.previous},wasWireframe:function(){return"wireframe"===this.previous},wasZoom:function(){return"zoom"===this.previous}}},Utils:{ /** * Lodash - A modern JavaScript utility library delivering modularity, performance & extras. * * @memberof API.Utils * @method * @link https://github.com/lodash/lodash * @copyright JS Foundation and other contributors * @license MIT */ _:a.d, /** * Generates className value based on the args provided. Takes any number of args which can * be a string or an object. The argument `foo` is short for `{ foo: true }`. If the value * associated with a given key is falsy, the key won't be included in the output. * * @example * classNames('foo', 'bar'); // => 'foo bar' * classNames('foo', { bar: true }); // => 'foo bar' * classNames({ 'foo-bar': true }); // => 'foo-bar' * classNames({ 'foo-bar': false }); // => '' * classNames({ foo: true }, { bar: true }); // => 'foo bar' * classNames({ foo: true, bar: true }); // => 'foo bar' * * @param {...string|Object.} * * @link https://github.com/JedWatson/classnames * @copyright 2017 Jed Watson * @license MIT * @memberof API.Utils * @method * * @return {string} */ classnames:s.a,decodeOptionListValue:d,fontnameToClass:c,linkRel:p,maybeLoadFont:f,processFontIcon:h,setElementFont:_},isRegistered:e.isRegistered,registerModals:a.d.noop,registerModalFields:a.d.noop,registerModules:e.registerComponents}},b=n(241),g=n(3);n.d(t,"a",function(){return w});var v=function(){function e(e,t){for(var n=0;nthis.props.valueMax&&(t=this.props.valueMax),this.props._onChange(this.props.name+this.getPropsNameSuffix(),t),this.setState({value:t})}});t.a=j},function(e,t,n){"use strict";var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(18),l=n.n(s),u=n(0),d=(n(882),function(){function e(e,t){for(var n=0;n=r?e:o(e,t,n)}},function(e,t,n){var o=n(38),r=Object.create,a=function(){function e(){}return function(t){if(!o(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},function(e,t,n){var o=n(234)(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){var o=n(58),r=n(119);e.exports=function(e){return o(function(t,n){var o=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&r(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++o0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!o(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var n,a,i,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,a=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(n)){for(s=i;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){a=s;break}if(a<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(o(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){"use strict";e.exports=n(494)},function(e,t){var n="Expected a function";e.exports=function(e){if("function"!=typeof e)throw new TypeError(n);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},function(e,t,n){var o=n(256),r=n(386),a=n(485),i=n(255),s=n(946),l=n(254),u=200;e.exports=function(e,t,n){var d=-1,c=r,p=e.length,f=!0,h=[],_=h;if(n)f=!1,c=a;else if(p>=u){var m=t?null:s(e);if(m)return l(m);f=!1,c=i,_=new o}else _=t?[]:h;e:for(;++di)return[];var n=s,u=l(e,s);t=r(t),e-=s;for(var d=o(u,t);++n2&&void 0!==arguments[2]&&arguments[2];return(n=t,f.map(function(e){return"box_shadow_"+e+n})).map(function(t){return[t,o?u.a.getValueOnHover(t,e,r()(e,t)):r()(e,t)]}).filter(function(e){var t=c(e,2),n=(t[0],t[1]);return!i()(n)}).reduce(function(e,n){var o,r,a,i=c(n,2),s=i[0],l=i[1];return d({},e,(o={},r=s.replace("box_shadow_","").replace(t,""),a=l,r in o?Object.defineProperty(o,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[r]=a,o))},{})},b=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments[2],a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=r()(e,"box_shadow_style"+t);return i()(n)||"none"===n?"none":n}(t,n,o),s=d({},_[a]||{horizontal:0,vertical:4,blur:7,spread:0,position:"outer"},m(t,n,o));return"none"===a?a:[(e=s.position,"inner"===e?"inset":""),p(s.horizontal)+Object(l.b)(s.horizontal),p(s.vertical)+Object(l.b)(s.vertical),p(s.blur)+Object(l.b)(s.blur),p(s.spread)+Object(l.b)(s.spread),s.color].join(" ").trim()}},,function(e,t,n){"use strict";var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(69),l=n.n(s),u=n(15),d=n(64),c=n(33),p=n(31),f=function(e){return r.a.createElement(D,e)},h=n(4),m=n.n(h),b=n(246),g=function(){function e(e,t){for(var n=0;n5?{stiffness:2500,damping:80}:{stiffness:360,damping:20},i=m()(o.data.formatBlock)?"":o.data.formatBlock;return o.data.iconColor=!0===e.isButtonActive(o.data.buttonCommand,i)?"#42E1A7":"#FFFFFF",0===r?{key:o.key,data:o.data,style:{opacity:Object(u.spring)(1,a)}}:{key:o.key,data:o.data,style:{opacity:Object(u.spring)(n[r-1].style.opacity,a)}}})}},function(e){return r.a.createElement(d.a,{className:"et-fb-inline-editor__default-menu"},e.map(function(e){return r.a.createElement(c.a,{key:e.key,className:e.data.className,buttonCommand:e.data.buttonCommand,formatBlock:e.data.formatBlock,inverse:!0,linkToMenu:e.data.linkToMenu,_onClick:n,style:e.style,tooltip:e.data.tooltip},r.a.createElement(p.a,{icon:e.data.icon,color:e.data.iconColor}))}))})}}]),t}();D.propTypes=I,D.defaultProps={items:[]},D.buttonNameToStyleMapping=B,D.tagStylesList=j},function(e,t,n){"use strict";var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(18),l=n.n(s),u=(n(889),n(684)),d=n(706),c=n(681),p=n(680),f=(n(888),n(887),{checked:i.a.bool,className:i.a.string,placeholder:i.a.string,required:i.a.bool,style:i.a.object,type:i.a.string.isRequired,value:i.a.string}),h=function(e){var t=l()("et-fb-form-input",e.className);return r.a.createElement("input",{className:t,style:e.style,type:e.type,value:e.value,placeholder:e.placeholder,checked:e.checked,required:e.required})};h.propTypes=f,h.defaultProps={required:!1,type:"text"};var _=h,m={checked:i.a.bool,children:i.a.node,className:i.a.string,placeholder:i.a.string,required:i.a.bool,style:i.a.object,value:i.a.string},b=function(e){var t=l()("et-fb-form-checkbox",e.className);return r.a.createElement("label",{className:t,style:e.style},r.a.createElement(_,{className:"et-fb-form-input--checkbox",type:"checkbox",checked:e.checked,value:e.value,placeholder:e.placeholder,required:e.required}),e.children)};b.propTypes=m,b.defaultProps={};var g=b,v=(n(886),{checked:i.a.bool,children:i.a.node,className:i.a.string,placeholder:i.a.string,required:i.a.bool,style:i.a.object,value:i.a.string}),y=function(e){var t=l()("et-fb-form-radio",e.className);return r.a.createElement("label",{className:t,style:e.style},r.a.createElement(_,{className:"et-fb-form-input--radio",type:"radio",checked:e.checked,value:e.value,placeholder:e.placeholder,required:e.required}),e.children)};y.propTypes=v,y.defaultProps={};var w=y,k=(n(885),{className:i.a.string,placeholder:i.a.string,required:i.a.bool,style:i.a.object,type:i.a.string.isRequired,value:i.a.string}),E=function(e){var t=l()("et-fb-form-textarea",e.className);return r.a.createElement("textarea",{className:t,style:e.style,type:e.type,value:e.value,placeholder:e.placeholder,required:e.required})};E.propTypes=k,E.defaultProps={type:"text",required:!1};var C=E;n.d(t,"e",function(){return M}),n.d(t,"b",function(){return u.a}),n.d(t,"d",function(){return d.a}),n.d(t,"c",function(){return c.a}),n.d(t,"a",function(){return p.a}),n.d(t,!1,function(){return g}),n.d(t,!1,function(){return _}),n.d(t,!1,function(){return w}),n.d(t,!1,function(){return C});var O={children:i.a.node,className:i.a.string,onSubmit:i.a.func},M=function(e){var t=l()("et-fb-form",e.className);return r.a.createElement("form",{className:t,onSubmit:e.onSubmit},e.children)};M.propTypes=O,M.defaultProps={onSubmit:function(){}}},function(e,t,n){var o=n(752),r=n(402),a=n(401),i=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return o(a(r(t).replace(i,"")),e,"")}}},function(e,t,n){var o=n(58),r=n(94),a=n(119),i=n(101),s=Object.prototype,l=s.hasOwnProperty,u=o(function(e,t){e=Object(e);var n=-1,o=t.length,u=o>2?t[2]:void 0;for(u&&a(t[0],t[1],u)&&(o=1);++n0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var o=n(117),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=r(a.length-t,0),l=Array(s);++i-1?"topBottom":"leftRight";return this._getPaddingLinks()[e]}},{key:"_isActiveOutline",value:function(){return this._currentScreenMode!==this._getScreenMode()?(this._currentScreenMode=this._getScreenMode(),!1):this.props.activeOutline===this.props.corner||this.state.dragging}},{key:"_getWrapperSelector",value:function(){var e=C()(this,"props.module.props.type",!1);return e?"."+e:""}},{key:"_getScreenMode",value:function(){var e=I.a.getPreviewMode(),t=this.props.module.props.attrs.custom_padding_last_edited,n=h()(["tablet","phone"],e)&&j.default.getResponsiveStatus(t)?e:"desktop";return j.default.hasValue(this.props.module.props.attrs.padding_mobile)&&(n=e),n}},{key:"_getDOMPadding",value:function(){var t="padding"+k()(this.props.corner);return e('div[data-address="'+this.props.address+'"]').css(t)}},{key:"_getDOMPaddings",value:function(){var t=e(l.a.findDOMNode(this)).closest(this._getWrapperSelector());return t.css("paddingTop")+" "+t.css("paddingRight")+" "+t.css("paddingBottom")+" "+t.css("paddingLeft")}},{key:"_preparePaddings",value:function(e){var t=g()(e),n={top:0,right:0,bottom:0,left:0},o=m()(e,function(e){return h()(e,"NaN")?"":e});switch(t){case 0:break;case 1:n.top=o[0],n.right=o[0],n.bottom=o[0],n.left=o[0];break;case 2:n.top=o[0],n.right=o[1],n.bottom=o[0],n.left=o[1];break;case 3:n.top=o[0],n.right=o[1],n.bottom=o[2],n.left=o[1];break;default:n.top=o[0],n.right=o[1],n.bottom=o[2],n.left=o[3]}return n}},{key:"_getSavedPaddings",value:function(e){var t=this.props.module.props.attrs,n="desktop"===e,o="custom_padding"+(n?"":"_"+e),r=C()(t,o,""),a=function(e){return j.default.hasValue(e)&&"||||"!==e.substring(0,4)};if(!n&&!a(r)&&j.default.getResponsiveStatus(C()(t,"custom_padding_last_edited",""))){var i=["phone","tablet","desktop"],s=i.indexOf(e)+1;N()(i.slice(s),function(e,n){if(a(r))return!1;var o="desktop"===e?"":"_"+e;r=C()(t,"custom_padding"+o,"")})}return r}},{key:"_getPaddings",value:function(e){var t=this._getSavedPaddings(e),n=""===t||"|||"===t?this._domPaddings.split(" "):t.split("|");return this._preparePaddings(n)}},{key:"_getPadding",value:function(){var e=this._getPaddings(this._getScreenMode());return j.default.hasValue(e[this.props.corner])?e[this.props.corner]:this._getDOMPadding()}},{key:"_getOrientation",value:function(){return h()(["top","bottom"],this.props.corner)?"vertical":"horizontal"}},{key:"_getDimension",value:function(){return{width:e(l.a.findDOMNode(this)).closest(this._getWrapperSelector()).width()}}},{key:"_isModuleEditable",value:function(e){return Object(D.b)(j.default.isOn(e.props.attrs.locked),e.props.lockedParent,e.props.attrs.global_module,e.props.globalParent,e.props.type)&&I.a.isAllowedAction("advanced_settings")}},{key:"_onMouseEnter",value:function(){this.props._onMouseEnter(this.props.corner)}},{key:"_onMouseLeave",value:function(){this.props._onMouseLeave(this.props.corner)}},{key:"_onStartDragging",value:function(t){var n=this.props,o=n.clickModeModule,r=n.clickModeActiveModule,a=n.eventMode,i=n.module,s=!(o.length>=3)||o.substring(0,1)!==this.props.address,l=!(o.length>=7)||o.substring(0,3)!==this.props.address;if("click"===a&&!r&&s&&l)return!1;if(!this._isModuleEditable(i))return!1;this._getPadding();this.setState({dragging:!0,initialPadding:j.default.hasValue(this._getPadding())?parseFloat(this._getPadding()):parseFloat(this._getDOMPadding()),initialPageX:t.pageX,initialPageY:t.pageY,dimension:this._getDimension(),unit:B.a.getUnit(this._getPadding())}),this.props._toggleOutline(!0),e("body").addClass("et-fb-body--drag")}},{key:"_onClick",value:function(e){return"click"===this.props.eventMode&&e.stopPropagation()}},{key:"_onDragging",value:function(e){if(this.state.dragging){this._getScreenMode();var t=e.pageX,n=e.pageY,o=this.state.initialPageX,r=this.state.initialPageY,a=this._getPaddings(this._getScreenMode()),i=parseInt(this.state.initialPadding),s=this.props.corner,l={top:"bottom",right:"left",bottom:"top",left:"right"}[s],u=e.altKey&&e.shiftKey,d=e.shiftKey&&!e.altKey,c=e.altKey&&!e.shiftKey;if(j.default.hasValue(this.props.module.props.attrs.padding_mobile)){L.b.moduleSettingsChange(this.props.module,"padding_mobile","",!0,"padding-drag");var p=I.a.getPreviewMode();h()(["tablet","phone"],p)&&L.b.moduleSettingsChange(this.props.module,"custom_padding_last_edited","on|"+p,!0,"padding-drag")}var f=0;switch(this.props.corner){case"top":f=n-r;break;case"right":f=o-t;break;case"bottom":f=n-r;break;case"left":f=t-o}var _="%"===this.state.unit;_&&(f=Math.ceil(2*Math.ceil(f))/10);var m=i+f;if("horizontal"===this._getOrientation()&&"px"===this.state.unit&&f>this.state.dimension.width&&(m=this.state.dimension.width),m<0&&(m=0),c){var b=j.default.hasNumericValue(a[l])?parseFloat(a[l]):0;m>b&&(m=b)}if(_&&(m=Math.ceil(10*m)/10),d){var g=_?1:10;m=Math.ceil(m/g)*g}switch(a[s]=0===m?0:""+m+this.state.unit,s){case"top":a.bottom=this._getPaddingLink()?a[s]:a.bottom;break;case"bottom":a.top=this._getPaddingLink()?a[s]:a.top;break;case"left":a.right=this._getPaddingLink()?a[s]:a.right;break;case"right":a.left=this._getPaddingLink()?a[s]:a.left}u?(a[l]=""+m+this.state.unit,this.props._modifyMultipleOutlines([s,l])):this.props._modifyMultipleOutlines(null),this.updatePadding(a)}}},{key:"_onEndDragging",value:function(){this.state.dragging&&(this.setState({dragging:!1,initialPadding:null,initialPageX:null,initialPageY:null}),this.props._toggleOutline(!1),e("body").removeClass("et-fb-body--drag"),this.props._modifyMultipleOutlines(null))}},{key:"_paddingTopBottomLink",value:function(){var e=this._getPaddings(this._getScreenMode()),t=!this._getPaddingLinks().topBottom;if(t&&e.top!==e.bottom)switch(this.props.corner){case"top":e.bottom=e.top;break;case"bottom":e.top=e.bottom}this.updatePadding(R({},e,{topBottom:t}))}},{key:"_paddingLeftRightLink",value:function(){var e=this._getPaddings(this._getScreenMode()),t=!this._getPaddingLinks().leftRight;if(t&&e.left!==e.right)switch(this.props.corner){case"left":e.right=e.left;break;case"right":e.left=e.right}this.updatePadding(R({},e,{leftRight:t}))}},{key:"updatePadding",value:function(e){var t=R({},this._getPaddings(this._getScreenMode()),e),n=t.top,o=t.bottom,r=t.right,a=t.left,i=R({},this._getPaddingLinks(),e),s=i.topBottom,l=i.leftRight,u=[n,r,o,a,T()(s),T()(l)];L.b.moduleSettingsChange(this.props.module,this._getPaddingAttrName(),u.join("|"),!1,"padding-drag")}},{key:"_renderPaddingIndicatorValue",value:function(e){if(!this._isModuleEditable(this.props.module))return null;var t=this._getPaddings(this._getScreenMode())[this.props.corner],n=parseInt(t),o=B.a.getUnit(t),a=M()(["top","bottom"],this.props.corner)>-1?this._paddingTopBottomLink:this._paddingLeftRightLink;return"px"===o&&n<30||M()(["%","em","pc"],o)>-1&&n<2?null:r.a.createElement("span",{className:"et-fb-padding-indicator-value"},r.a.createElement("span",{className:"text"},e),r.a.createElement(p.a,{active:this._getPaddingLink(),onClick:a}))}},{key:"_renderPaddingIndicator",value:function(){var e,t=this;if(I.a.abIsMode("selecting"))return!1;var n=this.props,o=n.clickModeModule,a=n.clickModeActiveModule,i=n.eventMode,s={},l=(U(e={"et-fb-padding-indicator":!0,"et-fb-padding-indicator--disabled":!this._isModuleEditable(this.props.module)},"et-fb-padding-indicator--"+this.props.type,!0),U(e,"et-fb-padding-indicator--"+this.props.corner,!0),e),u=this._getPadding()||0,p=B.a.getUnit(u),f="px"===p?parseInt(u)-3:"calc("+u+" - 3px)",_=I.a.getAppPreference("builder_animation"),m="click"===i,b=!(o.length>=3)||o.substring(0,1)!==this.props.address,g=!(o.length>=7)||o.substring(0,3)!==this.props.address;if(m&&!a&&b&&g)return!1;"px"!==p&&""!==this._domPaddings&&(f=this._preparePaddings(this._domPaddings.split(" "))[this.props.corner]);y()(f)||("vertical"===this._getOrientation()?s.height=f:s.width=f),f<1&&(s.display="none");var v=this._getScreenMode(),w=h()(["tablet","phone"],v)?"_"+v:"",k=this.props.module.props.attrs["custom_padding"+w];j.default.hasValue(k)||this._isActiveOutline()||(s.display="none");var E="px"!==p&&""!==this._domPaddings?parseFloat(u):parseFloat(f)+3,C=this._isActiveOutline()?1:0;return r.a.createElement(c.Motion,{defaultStyle:{opacity:0},style:{opacity:_?Object(c.spring)(C,{stiffness:120,damping:14}):C}},function(e){return r.a.createElement("span",{className:d()(l),style:R({},s,{opacity:e.opacity})},t._renderPaddingIndicatorValue(E+p))})}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.address,a=n.corner,i=n.clickModeModule,s=n.clickModeActiveModule,l=n.eventMode,u=n.module,p=n.type,f=(U(e={"et-fb-outline":!0,"et-fb-outline--is-dragged":this.state.dragging||!1!==I.a.getActiveForcedOutline(u.props.component_path)},"et-fb-outline--"+p,!0),U(e,"et-fb-outline--"+a,!0),e),h=!(i.length>=3)||i.substring(0,1)!==o,_=!(i.length>=7)||i.substring(0,3)!==o,m="click"===l&&!s&&h&&_,b=I.a.getAppPreference("builder_animation");return r.a.createElement(c.Motion,{defaultStyle:{opacity:0},style:{opacity:b?Object(c.spring)(1,{stiffness:120,damping:14}):1}},function(e){return r.a.createElement("span",{className:d()(f),key:p+"-corner-"+o+"-"+a,onMouseEnter:t._onMouseEnter,onMouseLeave:t._onMouseLeave,onClick:t._onClick,onMouseDown:t._onStartDragging,style:e},t._isModuleEditable(u)?r.a.createElement("span",{className:"et-fb-draggable-handle et-fb-draggable-handle--"+t.props.corner,onClick:t._onClick,style:{cursor:!!m&&"pointer",pointerEvents:!!m&&"none"}}):null,t._renderPaddingIndicator())})}}]),n}();H.propTypes={type:i.a.string,corner:i.a.string,activeOutline:i.a.string,address:i.a.string,paddings:i.a.object,module:i.a.object,_onMouseEnter:i.a.func,_onMouseLeave:i.a.func,_toggleOutline:i.a.func},t.a=H}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(16),l=n.n(s),u=n(29),d=n.n(u),c=n(18),p=n.n(c),f=n(12),h=n.n(f),_=n(39),m=n.n(_),b=(n(42),n(4)),g=n.n(b),v=n(43),y=n.n(v),w=n(804),k=n.n(w),E=n(34),C=n(86),O=n(52),M=n(25),S=n(32),T=n(0),x=n(5),A=n(13),P=n(14),N=n(20),L=n(278),I=n(44),B=n(22),j=Object.assign||function(e){for(var t=1;t0){var n=e.find(".et_pb_slide_video");!1!==n.data("original_width")&&!1!==n.data("original_height")&&(t.attr("width",n.data("original_width")),t.attr("height",n.data("original_height"))),e.find(".et_pb_slide_video").fitVids()}}},{key:"_getDotColor",value:function(){var e=this.props.attrs;return T.default.hasValue(e.dot_nav_custom_color)?e.dot_nav_custom_color:""}},{key:"_getArrowColor",value:function(){var e=this.props.attrs;return T.default.hasValue(e.arrows_custom_color)?e.arrows_custom_color:""}},{key:"_alignSlideVideo",value:function(){var t=this.props.attrs;if("center"===t.alignment&&T.default.hasValue(t.video_url)){var n=e(l.a.findDOMNode(this.refs.slideVideoWrap)),o=0-n.outerHeight()/2,r=n.closest(".et_pb_slide").find("iframe"),a=parseInt(r.attr("width")),i=parseInt(r.attr("height")),s=parseInt(r.width());if(n.css({marginTop:o}),r.length>0&&a&&i){var u=s*(i/a);o=0-u/2,r.attr("height",u),n.css({marginTop:o})}}}},{key:"_alignSlideImage",value:function(){var t=this.props.attrs;if("center"===t.alignment&&this.props.dynamic.image.hasValue&&!T.default.hasValue(t.video_url)){var n=e(l.a.findDOMNode(this.refs.slideImage)),o=n.closest(".et_pb_slide_image");n.load(function(){o.css({marginTop:0-parseInt(n.height())/2})})}}},{key:"_renderBackgroundOverlay",value:function(){var e=this.props.attrs;return T.default.isOn(e.use_bg_overlay)?r.a.createElement("div",{className:"et_pb_slide_overlay_container"}):""}},{key:"_renderHeading",value:function(){this.props.attrs;var e=this.props.dynamic.button_link,t=T.default.getHeadingLevel(this.props),n=T.default.hasValue(e.value)&&"#"!==e.value,o=this.props.dynamic.heading;return o.loading?Object(B.j)():o.dynamic?n?r.a.createElement(t,{className:"et_pb_slide_title"},Object(B.i)(o.value,"a",{title:o.value,href:e.value,"data-quickaccess-id":N.m.title_text_header})):Object(B.i)(o.value,t,{className:"et_pb_slide_title","data-quickaccess-id":N.m.title_text_header}):n?r.a.createElement(t,{className:"et_pb_slide_title"},r.a.createElement(O.a,{text:o.value,tagName:"a",module:this,allModuleProps:this.props,name:"heading",quickAccessId:N.m.title_text_header,additionalAttrs:{href:e.value,title:o.value}})):r.a.createElement(O.a,{text:o.value,tagName:t,module:this,allModuleProps:this.props,name:"heading",quickAccessId:N.m.title_text_header,additionalAttrs:{className:"et_pb_slide_title"}})}},{key:"_renderImage",value:function(){var e=this.props.attrs,t=this.props.dynamic.image,n=this.props.dynamic.image_alt,o="";if(t.hasValue&&(o=r.a.createElement("div",{className:"et_pb_slide_image","data-quickaccess-id":N.n.image},t.loading&&Object(B.j)("image"),!t.loading&&r.a.createElement("img",{src:t.value,alt:n.value,ref:"slideImage"}))),T.default.hasValue(e.video_url)&&T.default.hasValue(e.__video_embed)){var a=e.__video_embed,i=a.match(/width=\"\s*(\d+)\"*/),s=a.match(/height=\"\s*(\d+)\"*/);o=r.a.createElement("div",{className:"et_pb_slide_video",ref:"slideVideoWrap","data-original_width":!g()(i[1])&&i[1],"data-original_height":!g()(s[1])&&s[1],dangerouslySetInnerHTML:{__html:a}})}return o}},{key:"_renderButton",value:function(){var e=this.props.parentAttrs,t=this.props.attrs,n=this.props.dynamic.button_link,o=T.default.isOn(t.url_new_window)?"_blank":"",a=this.linkRel("button",!0),i=this.props.dynamic.button_text;if(T.default.hasValue(i.value)){var s={et_pb_more_button:!0,et_pb_button:!0,"et-hide-mobile":!T.default.isOn(this.props.show_cta_on_mobile)},l="";return(T.default.isOn(t.custom_button)||T.default.isOn(e.custom_button))&&(T.default.hasValue(t.button_icon)||T.default.hasValue(e.button_icon))&&(l=T.default.processFontIcon(t.button_icon)||T.default.processFontIcon(e.button_icon),s.et_pb_custom_button_icon=!0),r.a.createElement("div",{className:"et_pb_button_wrapper","data-quickaccess-id":N.m.button},r.a.createElement("a",{href:n.value,className:p()(s),"data-icon":l,rel:a,target:o},i.dynamic?Object(B.i)(Object(B.k)(i.value)):i.value))}}},{key:"render",value:function(){var e=this.props.parentAttrs,t=this.props.attrs,n=g()(t.background_layout)?"dark":t.background_layout,o=this._getGradientBackground(),a=this._renderParallaxImageBackground(),i=[],s=this.props.dynamic.content,l=[];if(this.removeModuleClassName("et_pb_module"),this.addModuleClassName("et_pb_bg_layout_"+n),T.default.hasValue(this._renderImage())&&this.addModuleClassName("et_pb_slide_with_image"),T.default.hasValue(t.video_url)&&this.addModuleClassName("et_pb_slide_with_video"),T.default.isOn(t.use_bg_overlay)&&this.addModuleClassName("et_pb_slider_with_overlay"),T.default.isOn(t.use_text_overlay)&&this.addModuleClassName("et_pb_slider_with_text_overlay"),"bottom"!==t.alignment&&this.addModuleClassName("et_pb_media_alignment_"+t.alignment),this.props.isActive&&this.addModuleClassName("et-pb-active-slide"),T.default.isOn(t.parallax)&&this.addModuleClassName("et_pb_section_parallax"),T.default.hasValue(t.background_color)&&i.push([{selector:"%%order_class%%",declaration:"background-color:"+t.background_color+";"}]),o&&l.push(o),T.default.hasValue(this.props.dynamic.background_image.value)&&!T.default.isOn(e.parallax)&&!T.default.isOn(t.parallax)){if(l.push("url("+this.props.dynamic.background_image.value+")"),!T.default.isDefault(t.background_position)){var u=t.background_position.replace("_"," ");i.push([{selector:".et_pb_slider %%order_class%%.et_pb_slide",declaration:"background-position:"+u+";"}])}!T.default.isDefault(t.background_size)&&T.default.hasValue(t.background_size)&&i.push([{selector:".et_pb_slider .et_pb_slides %%order_class%%",declaration:"-moz-background-size: "+t.background_size+";\n -webkit-background-size: "+t.background_size+";\n background-size: "+t.background_size+";"}]),T.default.isDefault(t.background_repeat)||i.push([{selector:".et_pb_slider .et_pb_slides %%order_class%%",declaration:"background-repeat: "+t.background_repeat+";"}]),T.default.isDefault(t.background_blend)||i.push([{selector:".et_pb_slider .et_pb_slides %%order_class%%",declaration:"background-blend-mode: "+t.background_blend+";"}])}if(l.length>0){var d=l.length>1;l.reverse(),l=l.join(", "),i.push([{selector:"%%order_class%%",declaration:"background-image: "+l}]),d&&i.push([{selector:"%%order_class%%",declaration:"background-color: initial;"}])}if(T.default.isOn(t.use_bg_overlay)&&T.default.hasValue(t.bg_overlay_color)&&i.push([{selector:"%%order_class%%.et_pb_slide .et_pb_slide_overlay_container",declaration:"background-color:"+t.bg_overlay_color+";"}]),T.default.isOn(t.use_text_overlay)&&T.default.hasValue(t.text_overlay_color)&&i.push([{selector:"%%order_class%%.et_pb_slide .et_pb_text_overlay_wrapper",declaration:"background-color:"+t.text_overlay_color+";"}]),T.default.hasValue(t.text_border_radius)){var c=T.default.processRangeValue(t.text_border_radius);i.push([{selector:"%%order_class%%.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper",declaration:"border-radius:"+c+";"}])}var f=h()({additional_css:i,moduleClassName:this.moduleClassNameArray()},k()("isActive",this.props)),_={et_pb_slide_content:!0,"et-hide-mobile":!T.default.isOn(this.props.show_content_on_mobile)},m=r.a.createElement(r.a.Fragment,null,s.loading&&Object(B.j)(),!s.loading&&s.dynamic&&Object(B.i)(s.value,"div",{"data-quickaccess-id":N.m.body_text}),!s.dynamic&&r.a.createElement(C.a,j({quickAccessId:N.m.body_text},f))),b=T.default.isOn(t.use_text_overlay)?r.a.createElement("div",{className:"et_pb_slide_description"},r.a.createElement("div",{className:"et_pb_text_overlay_wrapper"},this._renderHeading(),r.a.createElement("div",{className:p()(_)},m)),this._renderButton()):r.a.createElement("div",{className:"et_pb_slide_description"},this._renderHeading(),r.a.createElement("div",{className:p()(_)},m),this._renderButton()),v=T.default.isOn(t.use_bg_overlay)?this._renderQuickAccessOverlay(N.n.overlay):"";return r.a.createElement(E.a,j({"data-dots_color":this._getDotColor(),"data-arrows_color":this._getArrowColor(),ref:"slideWrap"},f),v,a,this._renderBackgroundOverlay(),r.a.createElement("div",{className:"et_pb_container clearfix"},r.a.createElement("div",{className:"et_pb_slider_container_inner"},this._renderImage(),b)),this._renderVideoBackground())}}]),n}();R.propTypes=h()({},M.a,{content:i.a.string,isActive:i.a.bool}),R.defaultProps={isActive:!1},t.a=Object(I.a)(function(e){return{heading:{attribute:"heading"},button_text:{attribute:"button_text"},button_link:{attribute:"button_link",type:"url"},image:{attribute:"image",type:"image"},image_alt:{attribute:"image_alt"},background_image:{attribute:"background_image",type:"image"},content:{attribute:"content",value:e.content}}})(R)}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return f});var o=n(1),r=n.n(o),a=(n(18),n(7)),i=n.n(a),s=n(4),l=n.n(s),u=(n(9),n(288),n(10),n(3)),d=(n(20),Object.assign||function(e){for(var t=1;tt){var u=e;e=t,t=u}if(n||e%1||t%1){var d=l();return s(e+d*(t-e+i("1e-"+((d+"").length-1))),t)}return o(e,t)}},,function(e,t,n){var o;!function(){"use strict";var r=function e(t){var n,o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element"),r=60103,a={use_static:!1};function i(e){var t=Object.getPrototypeOf(e);return t?Object.create(t):{}}function s(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!1,value:n})}"object"!=typeof(n=t)||Array.isArray(n)||null===n||void 0!==t.use_static&&(a.use_static=Boolean(t.use_static));var l="__immutable_invariants_hold";function u(e){return"object"!=typeof e||null===e||Boolean(Object.getOwnPropertyDescriptor(e,l))}function d(e,t){return e===t||e!=e&&t!=t}function c(e){return!(null===e||"object"!=typeof e||Array.isArray(e)||e instanceof Date)}var p=["setPrototypeOf"],f=(p.concat(["push","pop","sort","splice","shift","unshift","reverse"]),["keys"].concat(["map","filter","slice","concat","reduce","reduceRight"]));p.concat(["setDate","setFullYear","setHours","setMilliseconds","setMinutes","setMonth","setSeconds","setTime","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setYear"]);function h(e){this.name="MyError",this.message=e,this.stack=(new Error).stack}function _(e,t){return s(e,l,!0),e}function m(e,t){var n=e[t];s(e,t,function(){return W(n.apply(e,arguments))})}function b(e,t,n){var o=n&&n.deep;if(e in this&&(o&&this[e]!==t&&c(t)&&c(this[e])&&(t=W.merge(this[e],t,{deep:!0,mode:"replace"})),d(this[e],t)))return this;var r=C.call(this);return r[e]=W(t),y(r)}h.prototype=new Error,h.prototype.constructor=Error;var g=W([]);function v(e,t,n){var o=e[0];if(1===e.length)return b.call(this,o,t,n);var r,a=e.slice(1),i=this[o];if("object"==typeof i&&null!==i)r=W.setIn(i,a,t);else{var s=a[0];r=""!==s&&isFinite(s)?v.call(g,a,t):I.call(L,a,t)}if(o in this&&i===r)return this;var l=C.call(this);return l[o]=r,y(l)}function y(e){for(var t in f)f.hasOwnProperty(t)&&m(e,f[t]);a.use_static||(s(e,"flatMap",k),s(e,"asObject",O),s(e,"asMutable",C),s(e,"set",b),s(e,"setIn",v),s(e,"update",j),s(e,"updateIn",R),s(e,"getIn",V));for(var n=0,o=e.length;n=this._getTabsCount())){var t=this.state.selectedIndex;this.setState({selectedIndex:e}),"function"==typeof this.props.onSelect&&this.props.onSelect(e,t)}}},{key:"_getTabsCount",value:function(){return r.a.Children.count(this.props.children[0].props.children)}},{key:"_getPanelsCount",value:function(){return r.a.Children.count(this.props.children.slice(1))}},{key:"_getTabList",value:function(){return this.refs.tablist}},{key:"_getTab",value:function(e){return this.refs["tabs-"+e]}},{key:"_getPanel",value:function(e){return this.refs["panels-"+e]}},{key:"_getChildren",value:function(){var e=this,t=0,n=0,a=this.props.children,i=this.state,s=this.tabIds=this.tabIds||[],l=this.panelIds=this.panelIds||[];return r.a.Children.map(a,function(a){if(null===a)return null;var u=null;if(0==n++)u=Object(o.cloneElement)(a,{ref:"tabList",children:r.a.Children.map(a.props.children,function(e){if(null===e)return null;var n="tabs-"+t,r=s[t],a=i.selectedIndex===t;return t++,Object(o.cloneElement)(e,{ref:n,id:r,selected:a})})}),t=0;else{var d="panels-"+t,c=l[t],p=s[t],f=i.selectedIndex===t,h=e.props,_=h.modalSnap,m=h.modalSnapLocation,b=h.modalWidth;t++,u=Object(o.cloneElement)(a,{ref:d,id:c,tabId:p,selected:f,modalSnap:_,modalSnapLocation:m,modalWidth:b})}return u})}},{key:"_handleClick",value:function(e){var t=e.target;do{if(C(t)){var n=[].slice.call(t.parentNode.children).indexOf(t);return this.setSelected(n)}}while(null!==(t=t.parentNode));return!1}},{key:"_handleSwitch",value:function(e){return!(9!==e.keyCode||!e.shiftKey)&&(this.state.selectedIndex===this._getTabsCount()-1?this.setSelected(0):this.setSelected(this.state.selectedIndex+1))}},{key:"_onQuickAccessSwitchTab",value:function(){var e=this,t=y.a.getActiveQuickAccess().clickedToggle.toggleGroupId,n="design"===t?"advanced":t,o=0,r=-1;p()(this.props.children,function(t){if(null!==t&&t&&!(r>=0)&&!d()(t.props.slug))return n===t.props.slug?(r=o,e.setSelected(r)):void o++})}},{key:"render",value:function(){var e=l()("et-fb-tabs",this.props.className);return r.a.createElement("div",{className:e,onClick:this._handleClick},this._getChildren())}}]),t}();O.propTypes=E,O.defaultProps={selectedIndex:0}},function(e,t,n){var o=n(27),r=n(965),a=/&(?:amp|lt|gt|quot|#39);/g,i=RegExp(a.source);e.exports=function(e){return(e=o(e))&&i.test(e)?e.replace(a,r):e}},function(e,t,n){var o=n(113),r=n(208),a=n(251),i=n(119),s=n(347),l=n(207),u=n(27),d=4294967295;e.exports=function(e,t,n){return n&&"number"!=typeof n&&i(e,t,n)&&(t=n=void 0),(n=void 0===n?d:n>>>0)?(e=u(e))&&("string"==typeof t||null!=t&&!s(t))&&!(t=o(t))&&a(e)?r(l(e),0,n):e.split(t,n):[]}},function(e,t,n){var o=n(194),r=n(719),a=n(83),i=Object.prototype.toString,s=r(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n},o(a));e.exports=s},function(e,t){var n=Array.prototype.join;e.exports=function(e,t){return null==e?"":n.call(e,t)}},function(e,t,n){var o=n(256),r=n(386),a=n(485),i=n(87),s=n(107),l=n(255),u=200;e.exports=function(e,t,n,d){var c=-1,p=r,f=!0,h=e.length,_=[],m=t.length;if(!h)return _;n&&(t=i(t,s(n))),d?(p=a,f=!1):t.length>=u&&(p=l,f=!1,t=new o(t));e:for(;++cp))return!1;var h=d.get(e);if(h&&d.get(t))return h==t;var _=-1,m=!0,b=n&s?new o:void 0;for(d.set(e,t),d.set(t,e);++_-1}},function(e,t,n){var o=n(133);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var o=n(133),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var o=n(134),r="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?r:t,this}},function(e,t,n){var o=n(134),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},function(e,t,n){var o=n(134),r="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return n===r?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var o=n(134);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},function(e,t,n){var o=n(330),r=n(329),a=n(328),i=n(327),s=n(326);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t`, you can use `ETBuilderInjectedComponent`: * * ```jsx * * ``` * * `ETBuilderInjectedComponent` will look up the component registered with that slug in the * {@link ETBuilderComponentRegistry} and render it, while passing along the props you provided. * * If no matching component is found, the `ETBuilderInjectedComponent` renders an empty `
`. * * `ETBuilderInjectedComponent` monitors the Component Registry for changes. If a new component * is registered that matches the descriptor you provided, `ETBuilderInjectedComponent` will refresh. * * @prop {object} props Contains the props that were defined by the caller of this component. * @prop {object} props.matching Set of descriptors for retrieving the component to be displayed from * {@link ETBuilderComponentRegistry.findComponentBySlug}. * @prop {Component} [props.fallback] An optional fallback component in case there are no matching * components in the Component Registry. * @prop {string[]} [props.methods] A list of methods that should be implemented by the registered * component instance. If these are not implemented, the component * won't be rendered. * * Based on original concept and code from [Nylas Mail]{@link https://github.com/nylas/nylas-mail}. * * @copyright © 2017 Elegant Themes, Inc. * @copyright © 2017 Nylas, Inc. * @license GPL-3.0 */ var g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.rerender=!1,n.reinitAttrs={},n.reinitProps={},n.reinitAttrsList=[],n.reinitPropsList=["content"],n.state={component:null,shallow_props:!0},n.using_fallback=!1,n.state.component=n._getComponentFromRegistry(),n.state.shallow_props=n._hasShallowProps(e),n.reinitAttrsList=Object(h.a)("unifiedBackground"),n._verifyRequiredMethods(),b(n,d.default.applyMixinsSafely(n,c.f,p.d,f.g))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),m(t,[{key:"_getComponentFromRegistry",value:function(){var e=s.a.findComponentBySlug(this.props.matching.slug);if(e.length>1){var t="";t+="There are multiple components available for "+JSON.stringify(props.matching)+".",t+=" Only the first one will be rendered.",d.default.log("warning","warn",t)}return this.using_fallback=0===e.length,this.using_fallback?this._getFallbackComponent():e[0]}},{key:"_getContent",value:function(){var e=this;return"on"!==this.props.vb_support?this.props.rendered_content||this.props.content:this.props.child_slug?this._renderItems():function(t){return r.a.createElement(u.a,_({rawContentProcesser:d.default.replaceCodeContentEntities},e.props))}}},{key:"_getFallbackComponent",value:function(){return this.props.fallback?this.props.fallback:r.a.createElement("div",{className:"et-fb-injected-component--empty"})}},{key:"_hasShallowProps",value:function(e){return a.d.isUndefined(a.d.find(e,function(e){return a.d.isObject(e)}))}},{key:"_verifyRequiredMethods",value:function(){if(null!==this.state.component){var e=this.state.component;a.d.forEach(this.props.methods,function(t){if(a.d.isUndefined(e[t]))throw new Error(e.name+" must implement method `"+t+"`!")})}}},{key:"componentWillMount",value:function(e){e(),this.component&&this.component.componentWillMount&&this.component.componentWillMount.call(this.component)}},{key:"componentDidMount",value:function(){this._initParallaxImageBackground(),this._initVideoBackground(),this._shouldReinit(),this._shouldReinitByProps(),this._updateLoadingStatus(),this.component&&this.component.componentDidMount&&this.component.componentDidMount.call(this.component)}},{key:"componentWillReceiveProps",value:function(e,t){e(t);var n=this._hasShallowProps(t);n!==this.state.shallow_props&&this.setState({shallow_props:n}),this.component&&this.component.componentWillReceiveProps&&this.component.componentWillReceiveProps.call(this.component,t)}},{key:"shouldComponentUpdate",value:function(e,t){return this.component&&this.component.shouldComponentUpdate?this.component.shouldComponentUpdate.call(this.component,e,t):this.state.shallow_props?o.PureComponent.shouldComponentUpdate.call(this.component,e,t):d.default.shouldComponentUpdate(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this._getComponentFromRegistry();if(this.rerender=this._shouldReinit(),this.setState({component:e}),this.component&&this.component.componentWillUpdate){for(var t,n=arguments.length,o=Array(n),r=0;r=b)return e;var v=n-l(_);if(v<1)return _;var y=g?r(g,0,v).join(""):e.slice(0,v);if(void 0===m)return y+_;if(g&&(v+=y.length-v),s(m)){if(e.slice(v).search(m)){var w,k=y;for(m.global||(m=RegExp(m.source,c(h.exec(m))+"g")),m.lastIndex=0;w=m.exec(k);)var E=w.index;y=y.slice(0,void 0===E?v:E)}}else if(e.indexOf(o(m),v)!=v){var C=y.lastIndexOf(m);C>-1&&(y=y.slice(0,C))}return y+_}},function(e,t,n){var o=n(933),r=n(932),a=n(19);e.exports=function(e){return(a(e)?o:r)(e)}},function(e,t,n){var o=n(126),r=n(377)(function(e,t,n){o(e,n,t)});e.exports=r},function(e,t,n){var o=n(55),r=n(226);e.exports=function(e,t){return e&&e.length?r(e,o(t,2)):[]}},function(e,t,n){var o=n(139),r=n(119),a=n(50);e.exports=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&r(e,t,n)?(t=0,n=i):(t=null==t?0:a(t),n=void 0===n?i:a(n)),o(e,t,n)):[]}},function(e,t){var n=Array.prototype.reverse;e.exports=function(e){return null==e?e:n.call(e)}},function(e,t,n){var o=n(170),r=n(135);e.exports=function(e,t){return e&&o(e,r(t))}},,function(e,t,n){"use strict";var o=n(1),r=n.n(o),a=n(77),i=n.n(a),s=(n(16),n(69)),l=n.n(s),u=n(29),d=n.n(u),c=n(10),p=n(15),f=n(35),h=n.n(f),_=n(49),m=n.n(_),b=n(279),g=n.n(b),v=n(2),y=n.n(v),w=n(30),k=n.n(w),E=n(8),C=n(33),O=n(64),M=n(31),S=n(3),T=n(0),x=n(7),A=n.n(x),P=n(47),N=n.n(P),L=n(4),I=n.n(L),B=n(70),j=n.n(B),D=Object.assign||function(e){for(var t=1;t"},{name:"COMMA",text:","},{name:"TILDE",text:"~"},{name:"NOT"},{name:"TOPLEFTCORNER_SYM",text:"@top-left-corner"},{name:"TOPLEFT_SYM",text:"@top-left"},{name:"TOPCENTER_SYM",text:"@top-center"},{name:"TOPRIGHT_SYM",text:"@top-right"},{name:"TOPRIGHTCORNER_SYM",text:"@top-right-corner"},{name:"BOTTOMLEFTCORNER_SYM",text:"@bottom-left-corner"},{name:"BOTTOMLEFT_SYM",text:"@bottom-left"},{name:"BOTTOMCENTER_SYM",text:"@bottom-center"},{name:"BOTTOMRIGHT_SYM",text:"@bottom-right"},{name:"BOTTOMRIGHTCORNER_SYM",text:"@bottom-right-corner"},{name:"LEFTTOP_SYM",text:"@left-top"},{name:"LEFTMIDDLE_SYM",text:"@left-middle"},{name:"LEFTBOTTOM_SYM",text:"@left-bottom"},{name:"RIGHTTOP_SYM",text:"@right-top"},{name:"RIGHTMIDDLE_SYM",text:"@right-middle"},{name:"RIGHTBOTTOM_SYM",text:"@right-bottom"},{name:"RESOLUTION",state:"media"},{name:"IE_FUNCTION"},{name:"CHAR"},{name:"PIPE",text:"|"},{name:"SLASH",text:"/"},{name:"MINUS",text:"-"},{name:"STAR",text:"*"},{name:"LBRACE",endChar:"}",text:"{"},{name:"RBRACE",text:"}"},{name:"LBRACKET",endChar:"]",text:"["},{name:"RBRACKET",text:"]"},{name:"EQUALS",text:"="},{name:"COLON",text:":"},{name:"SEMICOLON",text:";"},{name:"LPAREN",endChar:")",text:"("},{name:"RPAREN",text:")"},{name:"DOT",text:"."}];!function(){var e=[],t=Object.create(null);o.UNKNOWN=-1,o.unshift({name:"EOF"});for(var n=0,r=o.length;n>>1,d=e[u];null!==d&&!a(d)&&(n?d<=t:d-1?s[l?t[u]:u]:void 0}}},function(e,t,n){var o=n(140),r=n(189),a=n(105);e.exports=function(e,t,n){for(var i=-1,s=t.length,l={};++i-1}},function(e,t,n){(function(t){(function(){var n,o,r,a,i,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},o=t.hrtime,a=(n=function(){var e;return 1e9*(e=o())[0]+e[1]})(),s=1e9*t.uptime(),i=a-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(this,n(397))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},function(e,t){e.exports=function(e){return e!=e}},function(e,t,n){var o=n(214),r=n(2),a=n(195),i=n(193),s=n(307),l=n(306),u=n(96),d=1,c=2;e.exports=function(e,t){return i(e)&&s(t)?l(u(e),t):function(n){var i=r(n,e);return void 0===i&&i===t?a(n,e):o(t,i,d|c)}}},function(e,t,n){var o=n(315),r=n(308),a=n(306);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}},function(e,t,n){var o=n(769),r=n(514);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(1030);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var o=n(236),r=n(773),a=n(771),i=Object.defineProperty;t.f=n(344)?Object.defineProperty:function(e,t,n){if(o(e),t=a(t,!0),o(n),r)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n,o,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(e){o=i}}();var l,u=[],d=!1,c=-1;function p(){d&&l&&(d=!1,l.length?u=l.concat(u):c=-1,u.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var t=u.length;t;){for(l=u,u=[];++c1)for(var n=1;n"']/g,i=RegExp(a.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(a,o):e}},function(e,t,n){var o=n(916),r=n(915),a=n(27),i=n(914);e.exports=function(e,t,n){return e=a(e),void 0===(t=n?void 0:t)?r(e)?i(e):o(e):e.match(t)||[]}},function(e,t,n){var o=n(917),r=n(27),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=r(e))&&e.replace(a,o).replace(i,"")}},function(e,t,n){var o=n(294),r=n(211)(function(e,t,n,r){o(e,t,n,r)});e.exports=r},function(e,t,n){var o=n(116),r=n(211),a=n(101),i=r(function(e,t,n,r){o(t,a(t),e,r)});e.exports=i},function(e,t,n){var o=n(50);e.exports=function(e){return"number"==typeof e&&e==o(e)}},function(e,t,n){var o=n(58),r=n(188),a=n(250),i=n(227),s=o(function(e,t,n){var o=1;if(n.length){var l=i(n,a(s));o|=32}return r(e,o,t,n,l)});s.placeholder={},e.exports=s},function(e,t,n){var o=n(50),r="Expected a function";e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError(r);return e=o(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},function(e,t,n){var o=n(117),r=n(87),a=n(348);e.exports=function(e,t){if(!e||!e.length)return[];var n=a(e);return null==t?n:r(n,function(e){return o(t,void 0,e)})}},function(e,t,n){var o=n(139);e.exports=function(e){var t=null==e?0:e.length;return t?o(e,1,t):[]}},function(e,t,n){var o=n(461);e.exports=function(e,t){return e&&e.length&&t&&t.length?o(e,t):e}},function(e,t,n){var o=n(230),r=n(55),a=n(50),i=Math.max,s=Math.min;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var u=l-1;return void 0!==n&&(u=a(n),u=n<0?i(l+u,0):s(u,l-1)),o(e,r(t,3),u,!0)}},function(e,t,n){var o=n(157),r=n(50),a=4294967295;e.exports=function(e){return e?o(r(e),0,a):0}},function(e,t,n){var o=n(139),r=n(50);e.exports=function(e,t,n){var a=null==e?0:e.length;return a?(t=n||void 0===t?1:r(t),o(e,t<0?0:t,a)):[]}},function(e,t,n){var o=n(735)(!0);e.exports=o},function(e,t,n){var o=n(87),r=n(131),a=n(19),i=n(92),s=n(257),l=n(96),u=n(27);e.exports=function(e){return a(e)?o(e,l):i(e)?[e]:r(s(u(e)))}},function(e,t,n){var o=n(188),r=n(178)(function(e,t){return o(e,256,void 0,void 0,void 0,t)});e.exports=r},function(e,t,n){var o=n(166),r=n(55),a=1;e.exports=function(e){return r("function"==typeof e?e:o(e,a))}},function(e,t,n){var o=n(114),r=n(60),a="[object WeakMap]";e.exports=function(e){return r(e)&&o(e)==a}},function(e,t,n){"use strict"; /** * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */e.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},,function(e,t,n){"use strict";var o=n(2),r=n.n(o),a=n(9),i=n.n(a),s=n(62),l=n.n(s),u={_hasOverlappingModuleOnBottom:function(e){if(e>40)return!1;var t=r()(this,"props.content");if(1!==r()(t,"length"))return!1;var n=ETBuilderBackend.modulesRowOverlappingAddNew,o=l()(r()(t,[0,"content"],[])),a=r()(o,"type");return!!i()(n,a)&&!("et_pb_counters"===a&&r()(o,"content.length")>1)}};t.a=u},function(e,t,n){"use strict";(function(e){var o=n(16),r=n(2),a=n.n(r),i=n(9),s=n.n(i),l=n(7),u=n.n(l);t.a=function(t){if(!a()(t,"props.wireframeMode",!1)){var n=e(Object(o.findDOMNode)(t)),r=n.closest(".et_pb_section"),i=(e(),(s()(t.props.type,"inner")?n.find(".et_pb_column.et-first-child"):n.find(".et_pb_column.et-first-child").not(".et_pb_row_inner *")).find(".et_pb_module.et-first-child")),l=i.outerHeight();if(l){var d={};parseInt(n.css("padding-top"),10)+parseInt(i.css("margin-top"),10)<40&&t.standardModuleMinHeight>l?("row"===ETBuilderBackend.layoutType||t.state.has_short_module||(d.has_short_module=!0),r.hasClass("et-fb-small-top-padding")&&n.is(".et_pb_row_fullwidth.et_pb_gutters1")&&!t.state.has_short_module_right&&(d.has_short_module_right=!0)):(t.state.has_short_module&&(d.has_short_module=!1),t.state.has_short_module_right&&(d.has_short_module_right=!1)),u()(d)||t.setState(d)}}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(16),l=n.n(s),u=n(29),d=n.n(u),c=n(18),p=n.n(c),f=n(12),h=n.n(f),_=(n(2),n(25)),m=n(3),b=n(0),g=n(90),v=n(204),y=n(5),w=n(13),k=n(17),E=n(44),C=function(){function e(e,t){for(var n=0;n"!==t.substr(0,3)?n.push("

"+t+"

"):n.push(t)}),y()(n,"")}},{key:"pricingList",value:function(e){var t=(T()(e)?this.props.attrs.content||this.props.content:e).replace(/

/g,"\n").replace(/<\/p>/g,"\n").replace(/
/g,"\n").replace(//g,"\n"),n=g()(t.split("\n")),o="";return m()(n)||n.map(function(e){var t=M()(e);if(""===t)return"";var n=k()(["-","+"],t.substr(0,1))?t.substr(1):t;"-"===t.substr(0,1)?o+='

  • '+n+"
  • ":o+="
  • "+n+"
  • "}),'
      '+o+"
    "}},{key:"_renderTitle",value:function(){var e=this.props.parentAttrs,t=this.props.attrs,n=this.props.dynamic.title,o="h2";return I.default.hasValue(t.header_level)?o=t.header_level:I.default.hasValue(e.header_level)&&(o=e.header_level),n.loading?Object(F.j)():n.dynamic?Object(F.i)(n.value,o,{className:"et_pb_pricing_title","data-quickaccess-id":V.n.title_text_header}):r.a.createElement(A.a,{text:n.value,tagName:o,module:this,allModuleProps:this.props,name:"title",quickAccessId:V.n.title_text_header,additionalAttrs:{className:"et_pb_pricing_title"}})}},{key:"_renderSubtitle",value:function(){var e=this.props.dynamic.subtitle;return e.loading?Object(F.j)():e.dynamic?Object(F.i)(e.value,"span",{className:"et_pb_best_value","data-quickaccess-id":V.n.subheader_text}):r.a.createElement(A.a,{text:e.value,tagName:"span",module:this,allModuleProps:this.props,name:"subtitle",quickAccessId:V.n.subheader_text,additionalAttrs:{className:"et_pb_best_value"}})}},{key:"_renderCurrency",value:function(){var e=this.props.dynamic.currency;return e.loading?Object(F.j)():e.dynamic?Object(F.i)(e.value,"span",{className:"et_pb_dollar_sign","data-quickaccess-id":V.n.currency_frequency_text}):r.a.createElement(A.a,{text:e.value,tagName:"span",module:this,allModuleProps:this.props,name:"currency",quickAccessId:V.n.currency_frequency_text,additionalAttrs:{className:"et_pb_dollar_sign"}})}},{key:"_renderSum",value:function(){var e=this.props.dynamic.sum;return e.loading?Object(F.j)():e.dynamic?Object(F.i)(e.value,"span",{className:"et_pb_sum","data-quickaccess-id":V.n.price_text}):r.a.createElement(A.a,{text:"string"!=typeof e.value?e.value.toString():e.value,tagName:"span",module:this,allModuleProps:this.props,name:"sum",quickAccessId:V.n.price_text,additionalAttrs:{className:"et_pb_sum"}})}},{key:"_renderFrequency",value:function(){var e=this.props.dynamic.per;return e.loading?Object(F.j)():e.dynamic?Object(F.i)(e.value,"span",{className:"et_pb_frequency","data-quickaccess-id":V.n.currency_frequency_text}):r.a.createElement(A.a,{text:e.value,tagName:"span",module:this,allModuleProps:this.props,name:"per",quickAccessId:V.n.currency_frequency_text,additionalAttrs:{className:"et_pb_frequency"}})}},{key:"_renderButton",value:function(){var e=this.props.attrs,t=this.props.dynamic.button,n=I.default.isOn(e.url_new_window)?"_blank":"",o="",a={et_pb_pricing_table_button:!0,et_pb_button:!0};return o=I.default.isOn(e.custom_button)&&I.default.hasValue(e.button_icon)?I.default.processFontIcon(e.button_icon):I.default.processFontIcon(e.button_icon_default),I.default.hasValue(o)&&!C()(o)&&(a.et_pb_custom_button_icon=!0),t.loading?Object(F.j)():t.hasValue?r.a.createElement("div",{className:"et_pb_button_wrapper","data-quickaccess-id":V.n.button,"data-address":this.props.address},r.a.createElement("a",{href:t.value.url.value,target:n,rel:this.linkRel("button",!0),className:p()(a),"data-icon":o},t.value.text.dynamic?Object(F.i)(Object(F.k)(t.value.text.value)):t.value.text.value)):null}},{key:"_renderContent",value:function(){var e=this.props.dynamic.content;return e.loading?Object(F.j)():e.dynamic?Object(F.i)(this.pricingList(e.value),"div",{"data-quickaccess-id":V.n.body_text}):r.a.createElement(P.a,H({contentProcessor:this.pricingList,rawContentProcessor:this.prepareRawContent,quickAccessId:V.n.body_text},this.props))}},{key:"render",value:function(){var e=this.props.attrs,t=this._renderVideoBackground(),n=this._renderParallaxImageBackground(),o=[],a=R.a.getHoverOrNormalOnHover("pricing_item_excluded_color",e);if(I.default.hasValue(a)){var i=I.default.isLimitedMode()?"%%order_class%% ul.et_pb_pricing li.et_pb_not_available, %%order_class%% ul.et_pb_pricing li.et_pb_not_available span, %%order_class%% ul.et_pb_pricing li.et_pb_not_available a":"%%order_class%% ul.et_pb_pricing li.et_pb_not_available";o.push([{selector:i,declaration:"color: "+a+" !important;"}])}this.removeModuleClassName("et_pb_module"),I.default.isOff(e.featured)||this.addModuleClassName("et_pb_featured_table"),I.default.hasValue(t)&&this.addModuleClassName("et_pb_section_video"),I.default.isOn(e.parallax)&&this.addModuleClassName("et_pb_section_parallax");var s=h()({additional_css:o,moduleClassName:this.moduleClassNameArray(),strongerModuleClassName:!0},this.props);return r.a.createElement(x.a,s,n,t,r.a.createElement("div",{className:"et_pb_pricing_heading"},this._renderTitle(),this._renderSubtitle()),r.a.createElement("div",{className:"et_pb_pricing_content_top"},r.a.createElement("span",{className:"et_pb_et_price"},this._renderCurrency(),this._renderSum(),e.per?r.a.createElement("span",{className:"et_pb_frequency"},"/"):"",this._renderFrequency())),r.a.createElement("div",{className:"et_pb_pricing_content"},this._renderContent()),this._renderButton())}}]),n}();z.propTypes=h()({},N.a,{content:i.a.string}),t.a=Object(U.a)(function(e){return{title:{attribute:"title"},subtitle:{attribute:"subtitle"},currency:{attribute:"currency"},per:{attribute:"per"},sum:{attribute:"sum"},button:{attribute:{text:{attribute:"button_text"},url:{attribute:"button_url",type:"url"}}},content:{attribute:"content",value:e.content}}})(z)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(16),l=n.n(s),u=n(29),d=n.n(u),c=n(18),p=n.n(c),f=n(2),h=n.n(f),_=n(12),m=n.n(_),b=n(42),g=n.n(b),v=n(4),y=n.n(v),w=n(47),k=n.n(w),E=n(9),C=n.n(E),O=n(43),M=n.n(O),S=n(46),T=n.n(S),x=n(71),A=n.n(x),P=n(45),N=n.n(P),L=n(27),I=n.n(L),B=n(20),j=n(5),D=n(25),R=n(32),V=n(0),U=n(90),F=n(52),H=n(13),W=n(17),z=n(137),G=n(44),q=n(22),$=Object.assign||function(e){for(var t=1;t0},_applyModuleClassName:function(){var e=this.props.attrs,t=this._renderColumnVideoBackground(),n=this.orderClassName();this.addModuleClassName("et_pb_column"),this.addModuleClassName("et_pb_column_"+e.type),this.removeModuleClassName(n),this.addModuleClassName(n),this.props.isFirstChild&&this.addModuleClassName("et-first-child"),this.props.isSecondLastChild&&this.addModuleClassName("et-last-child-2"),this.props.isLastChild&&this.addModuleClassName("et-last-child"),H.default.hasValue(this.props.attrs.specialty_columns)&&(this.addModuleClassName("et_pb_specialty_column"),!O()(this.props.content)&&H.default.hasValue(this.props.content)||this.addModuleClassName("et_pb_column_empty")),this._hasChildren()||this.addModuleClassName("et_pb_column_empty"),H.default.hasValue(t)&&this.addModuleClassName("et_pb_section_video"),H.default.isOn(e.parallax)&&this.addModuleClassName("et_pb_section_parallax"),"specialty"!==this.props.section_parent||H.default.hasValue(e.specialty_columns)||this.addModuleClassName("et_pb_column_single"),this._isEditable()||this.addModuleClassName("et_fb_uneditable_module"),this._isInteractable()||this.addModuleClassName("et_fb_uninteractable_module"),this.removeModuleClassName("et_pb_module")},_applyEmptyColumnMinHeight:function(){if(!this.props.wireframeMode){var t=e(l.a.findDOMNode(this)),n=t.parent();t.attr("data-address")===n.find(".et_pb_column:first").attr("data-address")&&n.find(".et_pb_column").css({minHeight:""});var o=0;n.find(".et_pb_column").each(function(e){var t=this.getBoundingClientRect().height;t>o&&(o=t)});var r=this.props.wireframeMode?768:980,a=this.$window.width();!b()(["tablet","phone"],U.a.getPreviewMode())&&r0&&(H.default.isOn(t.background_color_gradient_overlays_image)||o.reverse(),o=o.join(", "),n.push([{selector:"%%order_class%%",declaration:"background-image: "+o}]));var l=!0===a&&!0===r,u=W.a.getHoverOrNormalOnHover("background_color",t);H.default.hasValue(u)&&"rgba(0,0,0,0)"!==u&&!l?n.push([{selector:"%%order_class%%",declaration:"background-color: "+u+";"}]):l&&n.push([{selector:"%%order_class%%",declaration:"background-color: initial;"}]);var d=H.default.getResponsiveStatus(t.padding_last_edited);w()(H.default.getCorners(),function(o){var r=e._getResponsivePadding(o);d||(r.tablet="",r.phone="",H.default.hasValue(t.column_padding_mobile)&&H.default.isOff(t.column_padding_mobile)&&(r.desktop_only=r.desktop,r.desktop="")),n.push(H.default.generateResponsiveCss(r,".et_pb_row > .et_pb_column%%order_class%%","padding-"+o))});var c=W.a.getValueOnHover,p=x()(t,"custom_css_before","")+c("custom_css_before",t,""),f=x()(t,"custom_css_main","")+c("custom_css_main",t,""),h=x()(t,"custom_css_after","")+c("custom_css_after",t,"");return H.default.hasValue(p)&&n.push([{selector:"%%order_class%%:before",declaration:p}]),H.default.hasValue(f)&&n.push([{selector:"%%order_class%%",declaration:f}]),H.default.hasValue(h)&&n.push([{selector:"%%order_class%%:after",declaration:h}]),n},_isActiveModule:function(e){return U.a.isActiveModule(e)||U.a.isAddingAfterModule(e)||U.a.isSavingModule(e)},_buttonDidMount:function(e){this.props.autoAddModule&&(e._onClick(),F.b.cleanNewModuleAttrs(this))},_buttonDidUpdate:function(e){this.props.autoAddModule&&(e._onClick(),F.b.cleanNewModuleAttrs(this))},_renderParallax:function(){var e=this,t=this.props.attrs;return H.default.hasValue(this.props.dynamic.bg_img.value)&&H.default.isOn(t.parallax)?r.a.createElement(ee.a,{ref:function(t){return e.parallaxBackgroundRef=t},attrs:t,imageAttribute:"bg_img",onReinit:function(){return e._initParallaxImageBackground()}}):null},_renderMouseTrap:function(){return r.a.createElement("div",{className:"et-fb-mousetrap et-fb-mousetrap--column"})},_renderCustomCSS:function(){return r.a.createElement(z.a,{key:"css-"+this.props.address,all_attrs:this.props.attrs,additional_css:this._additionalCSS(),module_class:this.orderClassName(),type:this.props.type,windowScroll:this.props.windowScroll,windowHeight:this.props.windowHeight})},_renderModules:function(){var e=this,t=this,n=this.props.isSubjectParent,o=!U.a.abIsMode("off")&&(x()(this,"props.abIsInsideGoal")||U.a.abIsGoal(t.props)),a=this.props.children,i="",s=U.a.getAppPreference("builder_animation")&&this.shouldAnimateButtons;if(this._hasChildren()){var l=a.length;i=a.map(function(e,i){if(!_()(e)){var s=0===i,u=i===l-1,d=v()({},e);if(d.attrs=j.a.setAttrs(d.attrs,d.type),"et_pb_row_inner"===d.type)return r.a.createElement(R.a,ne({key:d.address,active:t._isActiveModule(d),edited:U.a.isEditedModule(d),focused:U.a.isFocusedModule(d),section_parent:t.props.section_parent,specialty_layout:t.props.specialty_layout,lockedParent:t.props.lockedParent,hoveredParent:t.props.hoveredParent,globalParent:t.props.attrs.global_module||t.props.globalParent,previewWidth:t.props.previewWidth,currentRowStructure:t.props.currentRowStructure,currentSubject:t.props.currentSubject,isSubjectParent:n,isSubjectBeforeSubject:U.a.abIsSubjectBeforeSubject(d,a,i),isSubjectAfterSubject:U.a.abIsSubjectAfterSubject(d,a,i),isCurrentSubject:U.a.abIsCurrentSubjectId(d),isInsideGoal:o,selectedGoal:U.a.abGetGoalAddress(),onChildMouseEnter:t.props.onChildMouseEnter,onChildMouseOut:t.props.onChildMouseOut,onChildTooltipClosed:t.props.onChildTooltipClosed,currentTourElement:t.props.currentTourElement,isFirstChild:s,isLastChild:u,builderHideDisabledModules:t.props.builderHideDisabledModules,wireframeMode:t.props.wireframeMode,eventMode:t.props.eventMode,clickModeActiveModule:t.props.clickModeActiveModule,multiSelectLastSelection:t.props.multiSelectLastSelection,windowScroll:t.props.windowScroll,windowHeight:t.props.windowHeight},d),d.content);var c=x()(d,"is_official_module")?d.component_path:"no-support",p=V.b[c],f=null;return"no-support"===c&&(f=V.b[c],p=V.b.injected),r.a.createElement(p,v()({key:d.address,active:U.a.isActiveModule(d)||U.a.isAddingAfterModule(d),edited:U.a.isEditedModule(d),focused:U.a.isFocusedModule(d),lockedParent:t.props.lockedParent,hoveredParent:t.props.hoveredParent,globalParent:t.props.attrs.global_module||t.props.globalParent,columnIndex:t.props._i,columnType:t.props.attrs.type,columnSpecialtyLayout:t.props.specialty_layout,previewWidth:t.props.previewWidth,currentRowStructure:t.props.currentRowStructure,currentSubject:t.props.currentSubject,isSubjectParent:n,isSubjectBeforeSubject:U.a.abIsSubjectBeforeSubject(d,a,i),isSubjectAfterSubject:U.a.abIsSubjectAfterSubject(d,a,i),isCurrentSubject:U.a.abIsCurrentSubjectId(d),isInsideGoal:o,selectedGoal:U.a.abGetGoalAddress(),onChildMouseEnter:t.props.onChildMouseEnter,onChildMouseOut:t.props.onChildMouseOut,onChildTooltipClosed:t.props.onChildTooltipClosed,currentTourElement:t.props.currentTourElement,isFirstChild:s,isLastChild:u,builderHideDisabledModules:t.props.builderHideDisabledModules,wireframeMode:t.props.wireframeMode,eventMode:t.props.eventMode,clickModeActiveModule:t.props.clickModeActiveModule,multiSelectLastSelection:t.props.multiSelectLastSelection,matching:{slug:d.type},fallback:f,windowScroll:t.props.windowScroll,windowHeight:t.props.windowHeight},d),d.content)}})}else if(t._canAddSiblings()){var d=H.default.hasValue(this.props.specialty_layout)&&H.default.hasValue(this.props.attrs.specialty_columns),c="et-fb-add-wrap et-fb-children--column";U.a.isProductTourActive()&&"moveModule"===this.props.currentTourElement&&this.props.address+".0"===U.a.getProductTourDropAddress()&&(c+=" et-fb-tour-drop-point"),i=r.a.createElement("div",{className:c},r.a.createElement(u.Motion,{defaultStyle:{size:.5,opacity:0},style:{size:s?Object(u.spring)(1,{stiffness:300,damping:20}):1,opacity:s?Object(u.spring)(1,{stiffness:300,damping:20}):1}},function(t){return r.a.createElement($.a,{buttonName:q.a.TAB_BUTTON_MODULE_ADD,parentModule:e,needPosition:"true",inverse:!d,success:d,round:!0,smallest:!0,elevate:!0,componentDidMount:e._buttonDidMount,componentDidUpdate:e._buttonDidUpdate,activeButton:U.a.isAddingAfterModule(e.props),style:{opacity:t.opacity,transform:"scale("+t.size+")"},tooltip:H.default.hasValue(e.props.attrs.specialty_columns)?ETBuilderBackend.i18n.tooltip.row.addButton:ETBuilderBackend.i18n.tooltip.module.addButton},r.a.createElement(Y.a,{size:"14",icon:"add",color:"#FFFFFF"}))}))}return i},render:function(){var e=this;return this._applyModuleClassName(),r.a.createElement(J.a,{componentName:this.props.type},r.a.createElement("div",{className:this.moduleClassName(this.props.wireframeMode),id:this.moduleID(),"data-address":this.props.address,ref:function(t){return e._column=t},onMouseOver:this._handleOnMouseOver,onMouseLeave:this._handleOnMouseLeave},!this.props.wireframeMode&&this._renderColumnVideoBackground(),!this.props.wireframeMode&&this._renderParallax(),this._renderMouseTrap(),!this.props.wireframeMode&&this._renderCustomCSS(),this._renderModules()))}}),re=function(t,n){var o=e(this),r=void 0,a=e(n.item),i=ETBuilderBackend.i18n.sortable,s=function(){o.sortable("cancel"),n.sender&&e(n.sender).sortable("cancel"),F.b.cancelDraggingModule()};if(!U.a.abIsMode("off")){if(!U.a.isAllowedAction("ab_testing"))return F.b.setAlertModal(!0,"has_no_ab_permission"),void s();var l=O()(e(n.sender))?e(t.target):e(n.sender),u=O()(e(n.sender))?e(t.toElement).parent():e(t.target),d=a.hasClass("et_pb_ab_subject"),c=a.hasClass("et_pb_ab_goal"),p=l.closest(".et_pb_ab_subject").length,f=u.closest(".et_pb_ab_subject").length,h=u.closest(".et_pb_ab_goal").length;if(c&&!d&&p)return F.b.setAlertModal(!0,"cannot_move_module_goal_out_from_subject"),void s();if(c&&!d&&!p&&f)return F.b.setAlertModal(!0,"cannot_move_goal_into_subject"),void s();if(d&&!c&&h)return F.b.setAlertModal(!0,"cannot_move_subject_into_goal"),void s()}if(o.hasClass("et_pb_specialty_column")){if(!o.find(".et_pb_row_inner").length)return alert(i.section_only_row_dragged_away),void s();r=a.find(".et_pb_column_inner").length;var _=a.closest(".et_pb_specialty_column").hasClass("et_pb_column_2_3");if(_&&3===r||!_&&4===r)return alert(i.stop_dropping_3_col_row),void s()}if((a.closest(".et_pb_section.et_fb_global_module").length||a.closest(".et_pb_row.et_fb_global_module").length)&&a.hasClass("et_fb_global_module"))return alert(i.global_module_alert),void s();var m=e(n.item[0]),b=e(t.target),g=m.is(".et_fb_global_module")||m.closest(".et_fb_global_module").length>0,v=b.is(".et_fb_global_module")||b.closest(".et_fb_global_module").length>0,y=m.is(".et_fb_global_module")?m:m.closest(".et_fb_global_module"),w=b.is(".et_fb_global_module")?b:b.closest(".et_fb_global_module"),k=y.attr("data-address"),E=w.attr("data-address"),C=y.attr("data-global-module"),M=w.attr("data-global-module"),S=k!==E,T=H.default.hasValue(M)&&C===M;g&&v&&S&&T&&s()},ae=function(e,t,n){if(e.hasClass("et_pb_specialty_column")?(t.connectWith=".et_pb_specialty_column:not(.et_pb_parent_locked)",t.child=".et_pb_row_inner",t.childSlug="row-inner",t.handle="> .et-fb-mousetrap .et-fb-component-settings .et_fb_move_module_handler"):(t.connectWith=".et_pb_column:not(.et_pb_specialty_column, .et_pb_parent_locked)",t.child=".et_pb_module",t.childSlug="module",t.handle="> .et-fb-component-settings .et_fb_move_module_handler"),c()(e.data("uiSortable"))||(e.sortable("destroy"),e.removeClass("et_fb_container_mixed")),t.isItemsMixed&&(e.addClass("et_fb_container_mixed"),t.connectWith=O()(t.newConnectWith)?t.connectWith:t.newConnectWith,t.childSlug=O()(t.newChildSlug)?t.childSlug:t.newChildSlug,e.hasClass("et_pb_specialty_column")?(t.child=".et_pb_row_inner.et_fb_item_selected",t.handle="> .et-fb-component-settings .et_fb_move_module_handler"):t.child=".et_pb_module.et_fb_item_selected"),n.closest(".et_fb_global_module").length){var o=n.closest(".et_fb_global_module"),r=o.attr("data-global-module"),a=o.attr("data-address"),i=o.is(".et_pb_section")?".et_pb_section":".et_pb_row",s=t.connectWith;t.connectWith=[i+":not(.et_fb_global_module) "+s,i+'.et_fb_global_module[data-address="'+a+'"] '+s,i+".et_fb_global_module:not("+i+'[data-global-module="'+r+'"][data-address!="'+a+'"]) '+s].join(", ")}return t};t.a=Object(te.a)(["bg_img"])(oe)}).call(this,n(26))},,function(e,t,n){e.exports={animationDuration:"766ms",transientAnimationDuration:"200ms",expandPaletteButtonColor:"#A2B0C1"}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),a=n(6),i=n.n(a),s=n(18),l=n.n(s),u=(n(29),n(84)),d=n(31),c=n(38),p=n.n(c),f=n(4),h=n.n(f),_=(n(39),function(){function e(e,t){for(var n=0;n0&&this.props.customMarkerAction)return!1;this.props._onChange({},this.props.value)}},{key:"updateActiveItemIndex",value:function(){this.props._setHoveredItem(this.props.itemIndex,this.props.value)}},{key:"resetActiveItemIndex",value:function(t){e(t.relatedTarget).closest(".select-option-item").length<1&&this.props._resetHoveredItem()}},{key:"onMarkerClick",value:function(){this.props.customMarkerAction&&this.props.customMarkerAction(this.props.value)}},{key:"render",value:function(){if(!this.props.isMenuActive&&this.props.selectedOption!==this.props.value)return!1;if(p()(this.props.value)||h()(this.props.value))return!1;var e=this.props.selectedOption===this.props.value,t=l()({"select-option-item":!0,"select-option-item-hovered":this.props.isItemHovered,"et-fb-selected-item":e},"select-option-item-"+this.props.value.replace(/ /g,"_"),this.props.classNames),n=this.props.isItemHovered?"#FFFFFF":"#37C4AA",o=this.props.isItemHovered?"#FFFFFF":"#BEC9D5",a=e&&this.props.displayCheckMark&&this.props.isMenuActive?r.a.createElement(d.a,{icon:"check",color:n}):"",i=this.props.customMarker&&""===a?r.a.createElement("span",{onClick:this.onMarkerClick,className:"et-fb-select-marker"},r.a.createElement(d.a,{icon:this.markerToIconMapping[this.props.customMarker],color:o})):"",s=h()(this.props.additionalContent)||""===this.props.additionalContent?"":this.props.additionalContent;return r.a.createElement("li",{className:t,onClick:this.onChangeValue,onMouseOver:this.updateActiveItemIndex,onMouseLeave:this.resetActiveItemIndex,"data-value":this.props.value},r.a.createElement("span",{className:"select-option-item__name"},m.decode(this.props.name)),a,i,s)}}]),n}();g.propTypes=b,t.a=g}).call(this,n(26))},function(e,t,n){var o=n(290),r=n(58),a=n(115),i=r(function(e,t){return a(e)?o(e,t):[]});e.exports=i},function(e,t,n){var o=n(58),r=n(408),a=o(function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,r(e,n)});e.exports=a},function(e,t,n){"use strict";var o,r,a=e.exports,i=n(436);o=a,r={isLiteral:function(e,t){var n,o,r=e.text.toString().toLowerCase(),a=t.split(" | "),i=!1;for(n=0,o=a.length;n":"xx-small | x-small | small | medium | large | x-large | xx-large","":"scroll-position | contents | ","":function(e){return this[""](e)&&!/^(unset|initial|inherit|will-change|auto|scroll-position|contents)$/i.test(e)},"":function(e){return"angle"===e.type},"":"scroll | fixed | local","":"attr()","":"inset() | circle() | ellipse() | polygon()","":" | | none","":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset","":" | thin | medium | thick","":"padding-box | border-box | content-box","":"","":function(e){return"color"===e.type||"transparent"===String(e)||"currentColor"===String(e)},"":function(e){return"color"===e.type},"":"content()","":"fill-available | -moz-available | -webkit-fill-available | max-content | -moz-max-content | -webkit-max-content | min-content | -moz-min-content | -webkit-min-content | fit-content | -moz-fit-content | -webkit-fit-content","":function(e){return"function"===e.type&&/^[A-Z0-9]{4}$/i.test(e)},"":"blur() | brightness() | contrast() | custom() | drop-shadow() | grayscale() | hue-rotate() | invert() | opacity() | saturate() | sepia()","":"","":"row | row-reverse | column | column-reverse","":"","":"","":"nowrap | wrap | wrap-reverse","":" | | | ","":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","":"normal | italic | oblique","":"small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","":"normal | small-caps","":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900","":"serif | sans-serif | cursive | fantasy | monospace","":" | fill-box | stroke-box | view-box","":function(e){return"angle"===e.type&&"deg"===e.units},"":function(e){return"function"===e.type&&/^(?:\-(?:ms|moz|o|webkit)\-)?(?:repeating\-)?(?:radial\-|linear\-)?gradient/i.test(e)},"":"cielab() | cielch() | cielchab() | icc-color() | icc-named-color()","":function(e){return"identifier"===e.type||e.wasIdent},"":function(e){return this[""](e)&&!this[""](e)},"":"","":function(e){return"integer"===e.type},"":function(e){return!("function"!==e.type||!/^(?:\-(?:ms|moz|o|webkit)\-)?calc/i.test(e))||("length"===e.type||"number"===e.type||"integer"===e.type||"0"===String(e))},"":function(e){return"integer"===e.type},"":" | | | normal","":" | | auto","":function(e){return this[""](e)&&e.value>=1},"":function(e){return(this[""](e)||this[""](e))&&("0"===String(e)||"function"===e.type||e.value>=0)},"":function(e){return(this[""](e)||this[""](e))&&("0"===String(e)||"function"===e.type||e.value>=0)},"":function(e){return"number"===e.type||this[""](e)},"":function(e){return this[""](e)&&e.value>=0&&e.value<=1},"":"","":function(e){return"percentage"===e.type||"0"===String(e)},"":"smaller | larger","":"rect() | inset-rect()","":" | margin-box","":"normal | reverse | alternate | alternate-reverse","":function(e){return this[""](e)&&/^-?[a-z_][-a-z0-9_]+$/i.test(e)&&!/^(none|unset|initial|inherit)$/i.test(e)},"":function(e){return"string"===e.type},"