(()=>{"use strict";var e=function(e,t,i,n,s,l,a,o){var d,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),l&&(c._scopeId="data-v-"+l),a?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=d):s&&(d=o?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(c.functional){c._injectStyles=d;var m=c.render;c.render=function(e,t){return d.call(t),m(e,t)}}else{var r=c.beforeCreate;c.beforeCreate=r?[].concat(r,d):[d]}return{exports:e,options:c}}({name:"FluentCalNameEmailChoiceComponent",props:["listItem","editItem","form_items"],computed:{dependencies:function(){var e=["input_text","input_name","input_email","input_hidden"],t={};return this.mapElements(this.form_items,(function(i){-1!=e.indexOf(i.element)&&(t[i.attributes.name]=i.settings.admin_field_label||i.settings.label||i.attributes.name)})),t}},data:function(){return{appReady:!1}},methods:{mapElements:function(e,t){var i=this;_ff.map(e,(function(e){"container"!=e.element&&t(e),"container"==e.element&&_ff.map(e.columns,(function(e){i.mapElements(e.fields,t)}))}))}},mounted:function(){var e,t=this;null!==(e=this.editItem)&&void 0!==e&&null!==(e=e.settings)&&void 0!==e&&e.cal_guest_fields||(this.editItem.settings.cal_guest_fields={email_field:"",name_field:"",host_info:"hide"}),this.$nextTick((function(){t.appReady=!0}))}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"fcal_input_groups"},[t("el-form-item",{attrs:{label:e.$t("Select Guest Email Field")}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("Select Guest Email Field"),"no-match-text":e.$t("No Data match"),"no-data-text":e.$t("No Data")},model:{value:e.editItem.settings.cal_guest_fields.email_field,callback:function(t){e.$set(e.editItem.settings.cal_guest_fields,"email_field",t)},expression:"editItem.settings.cal_guest_fields.email_field"}},e._l(e.dependencies,(function(e,i){return t("el-option",{key:i,attrs:{label:e,value:i}})})),1)],1),e._v(" "),t("el-form-item",{attrs:{label:e.$t("Select Guest Name Field")}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$t("Select Guest Name Field"),"no-match-text":e.$t("No Data match"),"no-data-text":e.$t("No Data")},model:{value:e.editItem.settings.cal_guest_fields.name_field,callback:function(t){e.$set(e.editItem.settings.cal_guest_fields,"name_field",t)},expression:"editItem.settings.cal_guest_fields.name_field"}},e._l(e.dependencies,(function(e,i){return t("el-option",{key:i,attrs:{label:e,value:i}})})),1)],1),e._v(" "),t("el-form-item",[t("el-checkbox",{attrs:{"true-label":"show","false-label":"hide"},model:{value:e.editItem.settings.cal_guest_fields.host_info,callback:function(t){e.$set(e.editItem.settings.cal_guest_fields,"host_info",t)},expression:"editItem.settings.cal_guest_fields.host_info"}},[e._v(e._s(e.$t("Show Host Info")))])],1)],1)}),[],!1,null,null,null);const t=e.exports;window.ffEditorOptionsCustomComponents=window.ffEditorOptionsCustomComponents||{},window.ffEditorOptionsCustomComponents.FluentCalNameEmailChoiceComponent=t})();