File: /var/www/html/wordpress/wp-content/plugins/bit-integrations/assets/bi.121.784.js
var n=Object.defineProperty;var c=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var i=(a,l,s)=>l in a?n(a,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[l]=s,e=(a,l)=>{for(var s in l||(l={}))p.call(l,s)&&i(a,s,l[s]);if(c)for(var s of c(l))f.call(l,s)&&i(a,s,l[s]);return a};const u=(a,l,s)=>{const o=e({},l);o.field_map.splice(a,0,{}),s(e({},o))},g=(a,l,s)=>{const o=e({},l);o.field_map.length>1&&o.field_map.splice(a,1),s(e({},o))},_=(a,l,s,o)=>{const t=e({},s);t.field_map[l][a.target.name]=a.target.value,a.target.value==="custom"&&(t.field_map[l].customValue=""),o(e({},t))},r=(a,l,s,o)=>{var d;const t=e({},s);t.field_map[l].customValue=((d=a==null?void 0:a.target)==null?void 0:d.value)||a,o(e({},t))};export{r as a,u as b,g as d,_ as h};