(()=>{"use strict";var e={3744:(e,t)=>{t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}(()=>{const e=Vue;var t={class:"form-group"},r={class:"input-group mb-3"},o=["onUpdate:modelValue","placeholder"],a={class:"input-group-append"},l=["onClick"],u=[(0,e.createElementVNode)("i",{class:"fa fa-times"},null,-1)],i={class:"form-group"};function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const f={data:function(){return{items:[{value:""}]}},mounted:function(){var e=this.data;if(e.length){this.items=[];var t,n=c(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.items.push({value:r})}}catch(e){n.e(e)}finally{n.f()}}},props:{data:{type:Array,default:function(){return null}}},methods:{addRow:function(){this.items.push({value:""})},deleteRow:function(e){this.items.splice(e,1)}}};const d=(0,n(3744).Z)(f,[["render",function(n,c,s,f,d,p){return(0,e.openBlock)(),(0,e.createElementBlock)("div",null,[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(n.items,(function(i,c){return(0,e.openBlock)(),(0,e.createElementBlock)("div",t,[(0,e.createElementVNode)("div",r,[(0,e.withDirectives)((0,e.createElementVNode)("input",{type:"email",name:"employer_colleagues[]","onUpdate:modelValue":function(e){return i.value=e},class:"form-control",placeholder:n.__("Email")},null,8,o),[[e.vModelText,i.value]]),(0,e.createElementVNode)("div",a,[(0,e.createElementVNode)("button",{class:"btn btn-warning",type:"button",onClick:function(e){return p.deleteRow(c)}},u,8,l)])])])})),256)),(0,e.createElementVNode)("div",i,[(0,e.createElementVNode)("button",{class:"btn btn-info",type:"button",onClick:c[0]||(c[0]=function(){return p.addRow&&p.addRow.apply(p,arguments)})},(0,e.toDisplayString)(n.__("Add new")),1)])])}]]);"undefined"!=typeof vueApp&&vueApp.booting((function(e){e.component("employer-colleagues-component",d)}))})()})();