(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6285e82d"],{"027a":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Dropdown",{attrs:{id:"reportAs",label:e.$t("reportAs"),layout:"col",items:e.reportAsOptions},scopedSlots:e._u([{key:"help",fn:function(){return[a("span",[e._v(e._s(e.$t("reportAsTooltip."+e.reportAsValue)))])]},proxy:!0}]),model:{value:e.reportAsValue,callback:function(t){e.reportAsValue=t},expression:"reportAsValue"}})},i=[],o=(a("e94e"),a("de79")),l=a("9ce4"),r=a("77f5"),s={components:{Dropdown:r["a"]},props:{value:{type:[String,Number]}},computed:Object(o["a"])(Object(o["a"])({},Object(l["f"])(["mobilePreview","isEmbedded"])),{},{reportAsOptions:function(){var e=[{value:"conversion",text:this.$t("conversion")}];return this.isEmbedded||e.push({value:"rejected",text:this.$t("rejected")}),e.push({value:"none",text:this.$t("none")}),e},reportAsValue:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}})},c=s,u=a("d802"),d=Object(u["a"])(c,n,i,!1,null,null,null);t["a"]=d.exports},"0ae7":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Heading",{attrs:{label:""},scopedSlots:e._u([{key:"titleTrailing",fn:function(){return[a("div",{staticClass:"label"},[e._v(e._s(e.$t("buttonCampaignStatus")))])]},proxy:!0},{key:"prependEnding",fn:function(){return[a("om-switch",{attrs:{id:"goalReached"},model:{value:e.goalReached,callback:function(t){e.goalReached=t},expression:"goalReached"}})]},proxy:!0},{key:"help",fn:function(){return[a("span",[e._v(e._s(e.goalReached?e.$t("buttonCampaignStatusTooltip"):e.$t("buttonCampaignStatusTooltipOff")))])]},proxy:!0}])})},i=[],o=a("2ed2"),l={components:{Heading:o["a"]},props:{value:{type:Boolean}},computed:{goalReached:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}},r=l,s=a("d802"),c=Object(s["a"])(r,n,i,!1,null,null,null);t["a"]=c.exports},"7e0b":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("BasePane",{scopedSlots:e._u([{key:"advancedContent",fn:function(){return[a("Hide",{staticClass:"sidebar-spacing-top",attrs:{hideOnDesktop:e.hideElementOnDesktop,hideOnMobile:e.hideElementOnMobile},on:{"update:hideOnDesktop":function(t){e.hideElementOnDesktop=t},"update:hide-on-desktop":function(t){e.hideElementOnDesktop=t},"update:hideOnMobile":function(t){e.hideElementOnMobile=t},"update:hide-on-mobile":function(t){e.hideElementOnMobile=t}}}),a("Border",{attrs:{typeOfComponent:"image"}}),a("CornerRadius"),a("Shadow",{attrs:{editMobile:"",coloringProperty:"$device.shadow.color",typeOfComponent:"image"},model:{value:e.shadow,callback:function(t){e.shadow=t},expression:"shadow"}})]},proxy:!0}])},[a("OmColorInput",{attrs:{size:"lg",backgroundSrc:e.backgroundSrc,typeOfComponent:"OmImage",deviceSelector:"",dsAllowed:""}}),a("Heading",{staticClass:"mb-3 mt-2",attrs:{expandableGap:"12px",open:e.clickableBackground},scopedSlots:e._u([{key:"titleTrailing",fn:function(){return[a("div",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("clickableBackground")))])]},proxy:!0},{key:"prependEnding",fn:function(){return[a("OmSwitch",{attrs:{id:"clickableBackground"},model:{value:e.clickableBackground,callback:function(t){e.clickableBackground=t},expression:"clickableBackground"}})]},proxy:!0},{key:"expandableContent",fn:function(){return[a("OmInput",{attrs:{id:"url",label:e.$t("url"),small:"",placeholder:"https://www.example.com/",error:e.isRedirectUrlError},model:{value:e.redirectURL,callback:function(t){e.redirectURL=t},expression:"redirectURL"}}),a("heading",{attrs:{label:""},scopedSlots:e._u([{key:"titleTrailing",fn:function(){return[a("div",{staticClass:"label"},[e._v(e._s(e.$t("keepQueryParams")))])]},proxy:!0},{key:"prependEnding",fn:function(){return[a("OmSwitch",{attrs:{id:"keepURLParameters"},model:{value:e.keepURLParameters,callback:function(t){e.keepURLParameters=t},expression:"keepURLParameters"}})]},proxy:!0},{key:"help",fn:function(){return[a("span",[e._v(e._s(e.$t("keepQueryParamsTooltip")))])]},proxy:!0}])}),a("Heading",{attrs:{label:""},scopedSlots:e._u([{key:"titleTrailing",fn:function(){return[a("div",{staticClass:"label"},[e._v(e._s(e.$t("openInNewTab")))])]},proxy:!0},{key:"prependEnding",fn:function(){return[a("OmSwitch",{attrs:{id:"openInNewTab"},model:{value:e.openInNewTab,callback:function(t){e.openInNewTab=t},expression:"openInNewTab"}})]},proxy:!0}])}),a("ReportAs",{model:{value:e.reportAs,callback:function(t){e.reportAs=t},expression:"reportAs"}}),a("CampaignGoalReach",{model:{value:e.campaignGoalReach,callback:function(t){e.campaignGoalReach=t},expression:"campaignGoalReach"}})]},proxy:!0}])}),e.isFloatingImage?e._e():[a("Accordion",{attrs:{fix:""},scopedSlots:e._u([{key:"title",fn:function(){return[a("div",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("background")))])]},proxy:!0}],null,!1,2812286035)},[a("div",{staticClass:"color-wrapper"},[a("OmColorInput",{attrs:{label:e.$t("column"),property:"$device.background.color",typeOfComponent:"column",layout:"col",dsAllowed:""}}),a("OmColorInput",{staticClass:"mt-2",attrs:{label:e.$t("block"),property:"$device.background.color",typeOfComponent:"row",layout:"col",dsAllowed:""}}),a("OmColorInput",{staticClass:"mt-2",attrs:{label:e.$t("currentPage"),property:"selectedPage.$device.background.color",typeOfComponent:"global",layout:"col",dsAllowed:""}})],1)]),e.isFloatingImage?e._e():a("hr",{staticClass:"sidebar-spacing-top"})],a("Accordion",{attrs:{fix:""},scopedSlots:e._u([e.isFloatingImage?null:{key:"title",fn:function(){return[a("div",{staticClass:"font-weight-bold mb-3"},[e._v(e._s(e.$t("sizeAndSpacing")))])]},proxy:!0}],null,!0)},[a("RangeInput",{attrs:{label:e.$t("width"),min:10,max:1e3,step:5,editMobile:""},model:{value:e.width,callback:function(t){e.width=t},expression:"width"}}),"OmFloatingImage"!==e.selectedElement.type?a("AlignDropdown",{attrs:{layout:"col",editMobile:""},model:{value:e.alignment,callback:function(t){e.alignment=t},expression:"alignment"}}):e._e(),e.isFloatingImage?e._e():a("InputGroup",{attrs:{label:e.$t("margin"),keysWithValue:e.marginKeys,allKeysToggled:e.allKeysToggled,placeholders:e.marginPlaceholders,editMobile:""},on:{"all-keys-change":e.handleMarginAllSideChange,input:e.handleMarginChange}})],1),a("hr",{staticClass:"sidebar-spacing-top sidebar-spacing-bottom"})],2)},i=[],o=(a("8f0b"),a("e94e"),a("de79")),l=a("9ce4"),r=a("1732"),s=a("82a1"),c=a("9b1f"),u=a("2ed2"),d=a("2586"),p=a("4724"),m=a("027a"),g=a("0ae7"),f=a("7844"),h=a("bba2"),b=a("1987"),O=a("0cad"),k=a("a694"),v=a("500b7"),y={components:{BasePane:c["default"],Heading:u["a"],Accordion:d["a"],RangeInput:p["a"],ReportAs:m["a"],CampaignGoalReach:g["a"],AlignDropdown:f["a"],Shadow:h["a"],Border:b["a"],InputGroup:O["a"],CornerRadius:k["a"],Hide:v["a"]},mixins:[r["a"]],data:function(){return{canEditMobile:!0}},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(l["f"])(["selectedElement","images","mobilePreview","themeKit","validationError"])),Object(l["d"])(["nestedAccess","selectedImage","isEmbedded"])),{},{reportAs:{get:function(){return this.getValueOf("data.reportAs")},set:function(e){this.setValueOf("data.reportAs",e)}},campaignGoalReach:{get:function(){return this.getValueOf("data.goalReached")},set:function(e){this.setValueOf("data.goalReached",e)}},alignment:{get:function(){return this.getValueOf("align")},set:function(e){this.setValueOf("align",e)}},width:{get:function(){var e=this.getValueOf("mobile.smartSize.width");return this.mobilePreview&&!e?Number(this.getValueOf("desktop.smartSize.width")):Number(this.getValueOf("$device.smartSize.width"))},set:function(e){this.smartSetValueOf("$device.smartSize.width",e);var t=this.smartGetValueOf("mobile.calcWidthInEm");this.mobilePreview&&!t&&this.smartSetValueOf("mobile.calcWidthInEm",!0)}},clickableBackground:{get:function(){return this.getValueOf("data.clickableImage")},set:function(e){this.setValueOf("data.clickableImage",e)}},redirectURL:{get:function(){return this.getValueOf("data.redirectUrl")},set:function(e){this.setValueOf("data.redirectUrl",e)}},keepURLParameters:{get:function(){return this.getValueOf("data.keepQueryParams")},set:function(e){this.setValueOf("data.keepQueryParams",e)}},hideElementOnDesktop:{get:function(){return this.getValueOf("desktop.hidden")},set:function(e){this.setValueOf("desktop.hidden",e)}},hideElementOnMobile:{get:function(){return this.smartGetValueOf("mobile.hidden")},set:function(e){this.smartSetValueOf("mobile.hidden",e)}},openInNewTab:{get:function(){return this.getValueOf("data.newTab")},set:function(e){this.setValueOf("data.newTab",e)}},customThemeRounding:{get:function(){return this.getValueOf("border.customThemeRounding")},set:function(e){this.setValueOf("border.customThemeRounding",e)}},shadow:{get:function(){return this.getValueOf("shadow.type")},set:function(e){this.setValueOf("shadow.type",e)}},marginKeys:function(){return[{name:"top",value:this.smartGetValueOf("$device.margin.top")},{name:"right",value:this.smartGetValueOf("$device.margin.right")},{name:"bottom",value:this.smartGetValueOf("$device.margin.bottom")},{name:"left",value:this.smartGetValueOf("$device.margin.left")}]},allKeysToggled:function(){return this.getValueOf("margin.allSides")},marginPlaceholders:function(){return this.mobilePreview?[this.getValueOf("desktop.margin.top"),this.getValueOf("desktop.margin.right"),this.getValueOf("desktop.margin.bottom"),this.getValueOf("desktop.margin.left")]:null},isRedirectUrlError:function(){return"data.redirectUrl"===this.validationError.property},isFloatingImage:function(){return this.selectedElement.type===s["ELEMENTS"].OmFloatingImage},hasMobileImage:function(){return this.getValueOf("mobile.background.imageId")},backgroundSrc:function(){return this.mobilePreview&&this.hasMobileImage?this.smartGetValueOf("$device.background.imageUrl"):this.smartGetValueOf("desktop.background.imageUrl")}}),methods:{handleMarginAllSideChange:function(e){this.setValueOf("margin.allSides",e)},handleMarginChange:function(e){var t=this,a=e.key,n=e.value,i=e.allSides;if(i){var o=["top","right","bottom","left"];o.forEach((function(e){t.setValueOf("$device.margin.".concat(e),n)}))}else this.setValueOf("$device.margin.".concat(a),n)}}},w=y,V=a("d802"),x=Object(V["a"])(w,n,i,!1,null,null,null);t["default"]=x.exports}}]);
//# sourceMappingURL=chunk-6285e82d.380a4209.js.map