HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wordpress/wp-content/plugins/bit-integrations/assets/bi.563.830.js
var v=Object.defineProperty;var m=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var u=(l,s,t)=>s in l?v(l,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[s]=t,b=(l,s)=>{for(var t in s||(s={}))F.call(s,t)&&u(l,t,s[t]);if(m)for(var t of m(s))N.call(s,t)&&u(l,t,s[t]);return l};import{f as y,j as e,L as M}from"./main-685.js";import{d as _,_ as n}from"./bi.878.0.js";import{a as w,h as A,b as $}from"./bi.776.3.js";import"./bi.451.455.js";import{z as k,r as R}from"./bi.602.831.js";import{T as V}from"./bi.768.751.js";const q=(l,s,t)=>{const i=b({},s);i.field_map.splice(l,0,{}),t(b({},i))},S=(l,s,t)=>{const i=b({},s);i.field_map.length>1&&i.field_map.splice(l,1),t(b({},i))},j=(l,s,t,i)=>{const r=b({},t);r.field_map[s][l.target.name]=l.target.value,l.target.value==="custom"&&(r.field_map[s].customValue=""),i(b({},r))};function o({i:l,formFields:s,field:t,zoomConf:i,setZoomConf:r}){var d;const c=(i==null?void 0:i.zoomFields.filter(a=>a.required===!0))||[],h=(i==null?void 0:i.zoomFields.filter(a=>a.required===!1))||[],x=y(_),{isPro:p}=x;return e.jsx("div",{className:"flx mt-2 mr-1",children:e.jsxs("div",{className:"pos-rel flx",children:[e.jsxs("div",{className:"flx integ-fld-wrp",children:[e.jsxs("select",{className:"btcd-paper-inp mr-2",name:"formField",value:t.formField||"",onChange:a=>j(a,l,i,r),children:[e.jsx("option",{value:"",children:n("Select Field","bit-integrations")}),e.jsx("optgroup",{label:n("Form Fields","bit-integrations"),children:s==null?void 0:s.map(a=>e.jsx("option",{value:a.name,children:a.label},`ff-rm-${a.name}`))}),e.jsx("option",{value:"custom",children:n("Custom...","bit-integrations")}),e.jsx("optgroup",{label:sprintf(n("General Smart Codes %s","bit-integrations"),p?"":`(${n("Pro","bit-integrations")})`),children:p&&((d=w)==null?void 0:d.map(a=>e.jsx("option",{value:a.name,children:a.label},`ff-rm-${a.name}`)))})]}),t.formField==="custom"&&e.jsx(V,{onChange:a=>A(a,l,i,r),label:n("Custom Value","bit-integrations"),className:"mr-2",type:"text",value:t.customValue,placeholder:n("Custom Value","bit-integrations"),formFields:s}),e.jsxs("select",{className:"btcd-paper-inp",disabled:l<c.length,name:"zoomField",value:l<c.length?c[l].key||"":t.zoomField||"",onChange:a=>j(a,l,i,r),children:[e.jsx("option",{value:"",children:n("Select Field","bit-integrations")}),l<c.length?e.jsx("option",{value:c[l].key,children:c[l].label},c[l].key):h.map(({key:a,label:g})=>e.jsx("option",{value:a,children:g},a))]})]}),l>=c.length&&e.jsxs(e.Fragment,{children:[e.jsx("button",{onClick:()=>q(l,i,r),className:"icn-btn sh-sm ml-2 mr-1",type:"button",children:"+"}),e.jsx("button",{onClick:()=>S(l,i,r),className:"icn-btn sh-sm ml-1",type:"button","aria-label":"btn",children:e.jsx("span",{className:"btcd-icn icn-trash-2"})})]})]})})}function H({formFields:l,handleInput:s,zoomConf:t,setZoomConf:i,isLoading:r,setIsLoading:c,setSnackbar:h}){var x;return e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx("b",{className:"wdt-200 d-in-b",children:n("All Meetings:","bit-integrations")}),e.jsxs("select",{onChange:s,name:"id",value:t.id,className:"btcd-paper-inp w-5",children:[e.jsx("option",{value:"",children:n("Select Meeting","bit-integrations")}),((x=t==null?void 0:t.default)==null?void 0:x.allMeeting)&&t.default.allMeeting.map(({id:p,topic:d})=>e.jsx("option",{value:p,children:d},p))]}),e.jsx("button",{onClick:()=>k(null,t,i,c,h),className:"icn-btn sh-sm ml-2 mr-2 tooltip",style:{"--tooltip-txt":`'${n("Fetch All Meeting","bit-integrations")}'`},type:"button",disabled:r,children:"↻"}),e.jsx("br",{}),e.jsx("br",{}),e.jsx("b",{className:"wdt-200 d-in-b",children:n("Action:","bit-integrations")}),e.jsxs("select",{onChange:s,name:"selectedActions",value:t.selectedActions,className:"btcd-paper-inp w-5",children:[e.jsx("option",{value:"",children:n("Select Action","bit-integrations")}),(t==null?void 0:t.allActions)&&t.allActions.map(({key:p,value:d})=>e.jsx("option",{value:d,children:d},p))]}),r&&e.jsx(M,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:100,transform:"scale(0.7)"}}),t.id&&!r&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mt-5",children:[e.jsx("b",{className:"wdt-100",children:n("Field Map","bit-integrations")}),e.jsx("button",{onClick:()=>R(t,i,c,h),className:"icn-btn sh-sm ml-2 mr-2 tooltip",style:{"--tooltip-txt":`'${n("Refresh fields","bit-integrations")}'`},type:"button",disabled:r,children:"↻"})]}),e.jsx("div",{className:"btcd-hr mt-1"}),e.jsxs("div",{className:"flx flx-around mt-2 mb-1",children:[e.jsx("div",{className:"txt-dp",children:e.jsx("b",{children:n("Form Fields","bit-integrations")})}),e.jsx("div",{className:"txt-dp",children:e.jsx("b",{children:n("Zoom Fields","bit-integrations")})})]}),t==null?void 0:t.field_map.map((p,d)=>e.jsx(o,{i:d,field:p,zoomConf:t,formFields:l,setZoomConf:i,setSnackbar:h},`rp-m-${d+9}`)),e.jsx("div",{className:"txt-center  mt-2",style:{marginRight:85},children:e.jsx("button",{onClick:()=>$(t.field_map.length,t,i,!1),className:"icn-btn sh-sm",type:"button",children:"+"})}),e.jsx("br",{}),e.jsx("br",{})]})]})}export{H as Z};