editor.js
1 lines
| 1 | (()=>{var e={54:(e,t,r)=>{"use strict";function n(e,t){for(var r=[],n={},o=0;o<t.length;o++){var a=t[o],i=a[0],l={id:e+":"+o,css:a[1],media:a[2],sourceMap:a[3]};n[i]?n[i].parts.push(l):r.push(n[i]={id:i,parts:[l]})}return r}r.d(t,{A:()=>f});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=o&&(document.head||document.getElementsByTagName("head")[0]),l=null,s=0,c=!1,d=function(){},u=null,p="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,r,o){c=r,u=o||{};var i=n(e,t);return g(i),function(t){for(var r=[],o=0;o<i.length;o++){var l=i[o];(s=a[l.id]).refs--,r.push(s)}for(t?g(i=n(e,t)):i=[],o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete a[s.id]}}}}function g(e){for(var t=0;t<e.length;t++){var r=e[t],n=a[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(y(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(o=0;o<r.parts.length;o++)i.push(y(r.parts[o]));a[r.id]={id:r.id,refs:1,parts:i}}}}function h(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function y(e){var t,r,n=document.querySelector("style["+p+'~="'+e.id+'"]');if(n){if(c)return d;n.parentNode.removeChild(n)}if(m){var o=s++;n=l||(l=h()),t=_.bind(null,n,o,!1),r=_.bind(null,n,o,!0)}else n=h(),t=E.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var v,b=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function _(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function E(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(p,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},186:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},421:(e,t,r)=>{var n=r(826);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals),(0,r(54).A)("002169f0",n,!1,{})},721:e=>{"use strict";e.exports=function(e){return e[1]}},826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(721),o=r.n(n),a=r(186),i=r.n(a)()(o());i.push([e.id,".sotfoyb{-webkit-flex:1;-ms-flex:1;flex:1;}\n",""]);const l=i}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};r.r(e),r.d(e,{fetchApiData:()=>E});var t={};r.r(t),r.d(t,{getFetchError:()=>k,getFields:()=>S,getGroups:()=>C,getLists:()=>w,isFetchLoading:()=>x});const n=window.React,o=window.wp.components,a=window.wp.i18n,i=window.jfb.components,l=window.wp.compose;var s=function(){const e=Array.prototype.slice.call(arguments).filter(Boolean),t={},r=[];e.forEach((e=>{(e?e.split(" "):[]).forEach((e=>{if(e.startsWith("atm_")){const[,r]=e.split("_");t[r]=e}else r.push(e)}))}));const n=[];for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(t[e]);return n.push(...r),n.join(" ")};const c=window.wp.data,d="SET_LISTS",u="SET_GROUPS",p="SET_FIELDS",m="START_FETCH",f="END_FETCH",g="SET_FETCH_ERROR",h=(0,c.combineReducers)({api:function(e={},t){switch(t?.type){case d:return{...e,lists:t.payload};case u:return{...e,groups:t.payload};case p:return{...e,fields:t.payload}}return e},fetch:function(e={},t){switch(t?.type){case m:return{...e,loading:!0};case f:return{...e,loading:!1};case g:return{...e,error:t.error}}return e}}),y=h,v=window.wp.apiFetch;var b=r.n(v);const _=window.wp.url,E=e=>async({dispatch:t})=>{if(!e)return;t({type:m}),t({type:g,error:!1});const r=(0,_.addQueryArgs)("jet-form-builder/v1/mailchimp",{apiKey:e});let n;try{n=await b()({path:r})}catch(e){return void t({type:g,error:e})}finally{t({type:f})}t({type:d,payload:n.lists}),t({type:u,payload:n.groups}),t({type:p,payload:n.fields})};function w(e){var t;return null!==(t=e?.api?.lists)&&void 0!==t?t:[]}function C(e){var t;return null!==(t=e?.api?.groups)&&void 0!==t?t:{}}function S(e){var t;return null!==(t=e?.api?.fields)&&void 0!==t?t:{}}function x(e){var t;return null!==(t=e.fetch?.loading)&&void 0!==t&&t}function k(e){var t;return null!==(t=e.fetch?.error)&&void 0!==t&&t}const j="jet-forms/mailchimp",F=(0,c.createReduxStore)(j,{reducer:y,actions:e,selectors:t}),T=window.wp.primitives,A=(0,n.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(T.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"})),R=function({...e}){return(0,n.createElement)("div",{...e},(0,a.__)("How to obtain your MailChimp API Key?","jet-form-builder")," ",(0,n.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/about-api-keys/"},(0,a.__)("More info here","jet-form-builder")))};function O(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,I=O((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),M=(e,t)=>{const r={};return Object.keys(e).filter((e=>t=>-1===e.indexOf(t))(t)).forEach((t=>{r[t]=e[t]})),r},P=function(e){let t="";return r=>{const o=(o,a)=>{const{as:i=e,class:l=t}=o;var c;const d=function(e,t){const r=M(t,["as","class"]);if(!e){const e="function"==typeof I?{default:I}:I;Object.keys(r).forEach((t=>{e.default(t)||delete r[t]}))}return r}(void 0===r.propsAsIs?!("string"==typeof i&&-1===i.indexOf("-")&&(c=i[0],c.toUpperCase()!==c)):r.propsAsIs,o);d.ref=a,d.className=r.atomic?s(r.class,d.className||l):s(d.className||l,r.class);const{vars:u}=r;if(u){const e={};for(const t in u){const n=u[t],a=n[0],i=n[1]||"",l="function"==typeof a?a(o):a;r.name,e[`--${t}`]=`${l}${i}`}const t=d.style||{},n=Object.keys(t);n.length>0&&n.forEach((r=>{e[r]=t[r]})),d.style=e}return e.__wyw_meta&&e!==i?(d.as=i,(0,n.createElement)(e,d)):(0,n.createElement)(i,d)},a=n.forwardRef?(0,n.forwardRef)(o):e=>{const t=M(e,["innerRef"]);return o(t,e.innerRef)};return a.displayName=r.name,a.__wyw_meta={className:r.class||t,extends:e},a}};const B=window.jfb.data,N=window.jfb.actions,U=P(o.TextControl)({name:"StyledTextControl",class:"sotfoyb",propsAsIs:!0}),D=function({settings:e,onChangeSettingObj:t}){const{fetchApiData:r}=(0,c.useDispatch)(j),{isFetchLoading:d,fetchError:u}=(0,c.useSelect)((e=>({isFetchLoading:e(j).isFetchLoading(),fetchError:e(j).getFetchError()})),[]),{hasError:p,setShowError:m}=(0,N.useActionValidatorProvider)({isSupported:e=>"api_key"===e?.property}),{value:f,onChange:g}=(0,B.useSiteOptionJSON)("jet_form_builder_settings__mailchimp-tab"),h=(0,l.useInstanceId)(i.RowControl,"jfb-control");return(0,n.createElement)(i.RowControl,{createId:!1},(0,n.createElement)(i.RequiredLabel,{htmlFor:h},(0,a.__)("API Key","jet-form-builder")),(0,n.createElement)(o.Flex,{className:s(i.RowControlEndStyle,(p||Boolean(u))&&i.ControlWithErrorStyle),direction:"column"},p&&(0,n.createElement)(i.IconText,null,(0,a.__)("Please fill this required field","jet-form-builder")),Boolean(u)&&(0,n.createElement)(i.IconText,null,(0,a.__)("Fetching data was failed","jet-form-builder")),(0,n.createElement)(o.Flex,null,e.use_global?(0,n.createElement)(U,{id:h,value:f.api_key,onChange:e=>g({api_key:e}),onBlur:()=>m(!0)}):(0,n.createElement)(U,{id:h,value:e.api_key,onChange:e=>t({api_key:e}),onBlur:()=>m(!0)}),(0,n.createElement)(o.Button,{onClick:()=>r(e.use_global?f.api_key:e.api_key),disabled:d,isBusy:d,icon:A,variant:"secondary"},(0,a.__)("Fetch","jet-form-builder"))),(0,n.createElement)(R,null)))};r(421);const H=function({settings:e,onChangeSettingObj:t}){const r=(0,c.useSelect)((e=>e(j).getLists()),[]),{hasError:d,setShowError:u}=(0,N.useActionValidatorProvider)({isSupported:e=>"list_id"===e?.property}),p=(0,l.useInstanceId)(i.RowControl,"jfb-control");return(0,n.createElement)(i.RowControl,{createId:!1},(0,n.createElement)(i.RequiredLabel,{htmlFor:p},(0,a.__)("Audience","jet-form-builder")),(0,n.createElement)(o.Flex,{className:s(i.RowControlEndStyle,d&&i.ControlWithErrorStyle),direction:"column"},d&&(0,n.createElement)(i.IconText,null,(0,a.__)("Please fill this required field","jet-form-builder")),(0,n.createElement)(i.StyledSelectControl,{id:p,value:e.list_id,onChange:e=>t({list_id:e}),onBlur:()=>u(!0),options:[{value:"",label:(0,a.__)("-- Select list / audience --","jet-form-builder")},...r]})))},W=function({settings:e,onChangeSettingObj:t,listId:r}){const o=(0,c.useSelect)((e=>{var t;const n=e(j).getGroups();return null!==(t=n?.[r])&&void 0!==t?t:[]}),[r]);return(0,n.createElement)(i.RowControl,{createId:!1},(0,n.createElement)(i.Label,null,(0,a.__)("Groups","jet-form-builder")),(0,n.createElement)(i.FormLabeledTokenField,{label:(0,a.__)("Choose a group","jet-form-builder"),value:e.groups_ids,onChange:e=>t({groups_ids:e}),suggestions:o,__experimentalValidateInput:e=>o.some((({value:t})=>t===e)),__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1}))},q=function({settings:e,onChangeSettingObj:t}){const r=Array.isArray(e.tags)?e.tags:[];return(0,n.createElement)(i.RowControl,{createId:!1},(0,n.createElement)(i.Label,null,(0,a.__)("Tags","jet-form-builder")),(0,n.createElement)(i.StyledFormTokenFieldControl,{value:r,onChange:e=>t({tags:e})}))},z=window.jfb.blocksToActions,V=function({getMapField:e,setMapField:t,listId:r}){const l=(0,z.useFields)({withInner:!1,placeholder:"--"}),d=(0,c.useSelect)((e=>{var t;const n=e(j).getFields();return null!==(t=n?.[r])&&void 0!==t?t:[]}),[r]);return(0,n.createElement)(i.RowControl,{align:"flex-start"},(0,n.createElement)(i.Label,null,(0,a.__)("Fields map","jet-form-builder")),(0,n.createElement)(o.Flex,{className:s(i.RowControlEndStyle),direction:"column",gap:4},d.map((r=>(0,n.createElement)(N.FieldsMapField,{key:r.value,tag:r.value,label:r.label,isRequired:r.required,formFields:l,value:e({name:r.value}),onChange:e=>t({nameField:r.value,value:e})})))))},G=window.wp.element,{ToggleControl:X}=JetFBComponents,K=(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,n.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.createElement)("g",null,(0,n.createElement)("path",{d:"M16 1.1L4 5.9c-1.1.4-2 1.8-2 3v8.7c0 1.2.9 1.8 2 1.4l12-4.8c1.1-.4 2-1.8 2-3V2.5c0-1.2-.9-1.8-2-1.4zm.6 2.6l-6 9.3-6.7-4.5c-.1-.1-.4-.4-.2-.7.2-.4.7-.2.7-.2l6.3 2.3s4.8-6.3 5.1-6.7c.1-.2.4-.3.7-.1.3.2.2.5.1.6z"}))),Y=[({settings:e})=>!e.use_global&&!e?.api_key&&{type:"empty",property:"api_key"},({settings:e})=>!e?.list_id&&{type:"empty",property:"list_id"},({settings:e})=>{const t=(0,c.select)(j).getFields();if(!Object.keys(t).length)return!1;const r=[],{list_id:n}=e,o=t[n];if(!o?.length)return!1;for(const t of o){if(!t.required)continue;const n=e?.fields_map?.[t.value];n||r.push({type:"empty",property:"field_"+t.value})}return r}],J={type:"mailchimp",label:(0,a.__)("MailChimp","jet-form-builder"),edit:function(e){const{settings:t,onChangeSettingObj:r,getMapField:l,setMapField:s}=e,{hasError:d,hasLists:u}=(0,c.useSelect)((e=>({hasError:Boolean(e(j).getFetchError()),hasLists:Boolean(e(j).getLists().length)})),[]);return(0,G.useEffect)((()=>{const e={};t.tags&&!Array.isArray(t.tags)&&(e.tags=t.tags.split(",").map((e=>e.trim()))),t.groups_ids&&!Array.isArray(t.groups_ids)&&(e.groups_ids=function(e){const t=Object.entries(e),r=[];for(const[e,n]of t)n&&r.push(e);return r}(t.groups_ids)),Object.values(e)?.length&&r({...e})}),[]),(0,n.createElement)(i.StyledFlexControl,{direction:"column"},(0,n.createElement)(X,{className:i.ClearBaseControlStyle,checked:t.use_global,onChange:e=>r({use_global:Boolean(e)})},(0,a.__)("Use","jet-form-builder")+" ",(0,n.createElement)("a",{href:JetFormEditorData.global_settings_url+"#mailchimp-tab"},(0,a.__)("Global Settings","jet-form-builder"))),(0,n.createElement)(i.WideLine,null),(0,n.createElement)(D,{settings:t,onChangeSettingObj:r}),!d&&u&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.WideLine,null),(0,n.createElement)(H,{settings:t,onChangeSettingObj:r}),Boolean(t.list_id)&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.WideLine,null),(0,n.createElement)(W,{listId:t.list_id,settings:t,onChangeSettingObj:r}),(0,n.createElement)(i.WideLine,null),(0,n.createElement)(q,{settings:t,onChangeSettingObj:r}),(0,n.createElement)(i.WideLine,null),(0,n.createElement)(o.ToggleControl,{label:(0,a.__)("Double Opt-In","jet-form-builder"),className:i.ClearBaseControlStyle,checked:t.double_opt_in,onChange:e=>{r({double_opt_in:Boolean(e)})}}),(0,n.createElement)(i.WideLine,null),(0,n.createElement)(V,{listId:t.list_id,getMapField:l,setMapField:s}))))},icon:K,docHref:"https://jetformbuilder.com/features/mailchimp/",category:"communication",validators:Y};(0,c.register)(F),(0,N.registerAction)(J)})()})(); |