/** vim: et:ts=4:sw=4:sts=4
 * @license RequireJS 2.3.3 Copyright jQuery Foundation and other contributors.
 * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
 */

/**
 * @license RequireJS text 2.0.3 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
 * Available via the MIT or new BSD license.
 * see: http://github.com/requirejs/text for details
 */

var formintorjs;!function(){if(!formintorjs||!formintorjs.requirejs){formintorjs?require=formintorjs:formintorjs={};var requirejs,require,define;!function(global,setTimeout){function commentReplace(t,e){return e||""}function isFunction(t){return"[object Function]"===ostring.call(t)}function isArray(t){return"[object Array]"===ostring.call(t)}function each(t,e){if(t){var n;for(n=0;n<t.length&&(!t[n]||!e(t[n],n,t));n+=1);}}function eachReverse(t,e){if(t){var n;for(n=t.length-1;n>-1&&(!t[n]||!e(t[n],n,t));n-=1);}}function hasProp(t,e){return hasOwn.call(t,e)}function getOwn(t,e){return hasProp(t,e)&&t[e]}function eachProp(t,e){var n;for(n in t)if(hasProp(t,n)&&e(t[n],n))break}function mixin(t,e,n,i){return e&&eachProp(e,function(e,a){!n&&hasProp(t,a)||(!i||"object"!=typeof e||!e||isArray(e)||isFunction(e)||e instanceof RegExp?t[a]=e:(t[a]||(t[a]={}),mixin(t[a],e,n,i)))}),t}function bind(t,e){return function(){return e.apply(t,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(t){throw t}function getGlobal(t){if(!t)return t;var e=global;return each(t.split("."),function(t){e=e[t]}),e}function makeError(t,e,n,i){var a=new Error(e+"\nhttp://requirejs.org/docs/errors.html#"+t);return a.requireType=t,a.requireModules=i,n&&(a.originalError=n),a}function newContext(t){function e(t){var e,n;for(e=0;e<t.length;e++)if("."===(n=t[e]))t.splice(e,1),e-=1;else if(".."===n){if(0===e||1===e&&".."===t[2]||".."===t[e-1])continue;e>0&&(t.splice(e-1,2),e-=2)}}function n(t,n,i){var a,r,o,l,s,d,p,m,u,c,v,w=n&&n.split("/"),f=x.map,h=f&&f["*"];if(t&&(t=t.split("/"),d=t.length-1,x.nodeIdCompat&&jsSuffixRegExp.test(t[d])&&(t[d]=t[d].replace(jsSuffixRegExp,"")),"."===t[0].charAt(0)&&w&&(v=w.slice(0,w.length-1),t=v.concat(t)),e(t),t=t.join("/")),i&&f&&(w||h)){r=t.split("/");t:for(o=r.length;o>0;o-=1){if(s=r.slice(0,o).join("/"),w)for(l=w.length;l>0;l-=1)if((a=getOwn(f,w.slice(0,l).join("/")))&&(a=getOwn(a,s))){p=a,m=o;break t}!u&&h&&getOwn(h,s)&&(u=getOwn(h,s),c=o)}!p&&u&&(p=u,m=c),p&&(r.splice(0,m,p),t=r.join("/"))}return getOwn(x.pkgs,t)||t}function i(t){isBrowser&&each(scripts(),function(e){if(e.getAttribute("data-requiremodule")===t&&e.getAttribute("data-requirecontext")===_.contextName)return e.parentNode.removeChild(e),!0})}function a(t){var e=getOwn(x.paths,t);if(e&&isArray(e)&&e.length>1)return e.shift(),_.require.undef(t),_.makeRequire(null,{skipMap:!0})([t]),!0}function r(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function o(t,e,i,a){var o,l,s,d,p=null,m=e?e.name:null,u=t,c=!0,v="";return t||(c=!1,t="_@r"+(T+=1)),d=r(t),p=d[0],t=d[1],p&&(p=n(p,m,a),l=getOwn(S,p)),t&&(p?v=i?t:l&&l.normalize?l.normalize(t,function(t){return n(t,m,a)}):-1===t.indexOf("!")?n(t,m,a):t:(v=n(t,m,a),d=r(v),p=d[0],v=d[1],i=!0,o=_.nameToUrl(v))),s=!p||l||i?"":"_unnormalized"+(j+=1),{prefix:p,name:v,parentMap:e,unnormalized:!!s,url:o,originalName:u,isDefine:c,id:(p?p+"!"+v:v)+s}}function l(t){var e=t.id,n=getOwn(z,e);return n||(n=z[e]=new _.Module(t)),n}function s(t,e,n){var i=t.id,a=getOwn(z,i);!hasProp(S,i)||a&&!a.defineEmitComplete?(a=l(t),a.error&&"error"===e?n(a.error):a.on(e,n)):"defined"===e&&n(S[i])}function d(t,e){var n=t.requireModules,i=!1;e?e(t):(each(n,function(e){var n=getOwn(z,e);n&&(n.error=t,n.events.error&&(i=!0,n.emit("error",t)))}),i||req.onError(t))}function p(){globalDefQueue.length&&(each(globalDefQueue,function(t){var e=t[0];"string"==typeof e&&(_.defQueueMap[e]=!0),q.push(t)}),globalDefQueue=[])}function m(t){delete z[t],delete k[t]}function u(t,e,n){var i=t.map.id;t.error?t.emit("error",t.error):(e[i]=!0,each(t.depMaps,function(i,a){var r=i.id,o=getOwn(z,r);!o||t.depMatched[a]||n[r]||(getOwn(e,r)?(t.defineDep(a,S[r]),t.check()):u(o,e,n))}),n[i]=!0)}function c(){var t,e,n=1e3*x.waitSeconds,r=n&&_.startTime+n<(new Date).getTime(),o=[],l=[],s=!1,p=!0;if(!g){if(g=!0,eachProp(k,function(t){var n=t.map,d=n.id;if(t.enabled&&(n.isDefine||l.push(t),!t.error))if(!t.inited&&r)a(d)?(e=!0,s=!0):(o.push(d),i(d));else if(!t.inited&&t.fetched&&n.isDefine&&(s=!0,!n.prefix))return p=!1}),r&&o.length)return t=makeError("timeout","Load timeout for modules: "+o,null,o),t.contextName=_.contextName,d(t);p&&each(l,function(t){u(t,{},{})}),r&&!e||!s||!isBrowser&&!isWebWorker||y||(y=setTimeout(function(){y=0,c()},50)),g=!1}}function v(t){hasProp(S,t[0])||l(o(t[0],null,!0)).init(t[1],t[2])}function w(t,e,n,i){t.detachEvent&&!isOpera?i&&t.detachEvent(i,e):t.removeEventListener(n,e,!1)}function f(t){var e=t.currentTarget||t.srcElement;return w(e,_.onScriptLoad,"load","onreadystatechange"),w(e,_.onScriptError,"error"),{node:e,id:e&&e.getAttribute("data-requiremodule")}}function h(){var t;for(p();q.length;){if(t=q.shift(),null===t[0])return d(makeError("mismatch","Mismatched anonymous define() module: "+t[t.length-1]));v(t)}_.defQueueMap={}}var g,b,_,F,y,x={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},z={},k={},$={},q=[],S={},C={},A={},T=1,j=1;return F={require:function(t){return t.require?t.require:t.require=_.makeRequire(t.map)},exports:function(t){if(t.usingExports=!0,t.map.isDefine)return t.exports?S[t.map.id]=t.exports:t.exports=S[t.map.id]={}},module:function(t){return t.module?t.module:t.module={id:t.map.id,uri:t.map.url,config:function(){return getOwn(x.config,t.map.id)||{}},exports:t.exports||(t.exports={})}}},b=function(t){this.events=getOwn($,t.id)||{},this.map=t,this.shim=getOwn(x.shim,t.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},b.prototype={init:function(t,e,n,i){i=i||{},this.inited||(this.factory=e,n?this.on("error",n):this.events.error&&(n=bind(this,function(t){this.emit("error",t)})),this.depMaps=t&&t.slice(0),this.errback=n,this.inited=!0,this.ignore=i.ignore,i.enabled||this.enabled?this.enable():this.check())},defineDep:function(t,e){this.depMatched[t]||(this.depMatched[t]=!0,this.depCount-=1,this.depExports[t]=e)},fetch:function(){if(!this.fetched){this.fetched=!0,_.startTime=(new Date).getTime();var t=this.map;if(!this.shim)return t.prefix?this.callPlugin():this.load();_.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return t.prefix?this.callPlugin():this.load()}))}},load:function(){var t=this.map.url;C[t]||(C[t]=!0,_.load(this.map.id,t))},check:function(){if(this.enabled&&!this.enabling){var t,e,n=this.map.id,i=this.depExports,a=this.exports,r=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(r)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{a=_.execCb(n,r,i,a)}catch(e){t=e}else a=_.execCb(n,r,i,a);if(this.map.isDefine&&void 0===a&&(e=this.module,e?a=e.exports:this.usingExports&&(a=this.exports)),t)return t.requireMap=this.map,t.requireModules=this.map.isDefine?[this.map.id]:null,t.requireType=this.map.isDefine?"define":"require",d(this.error=t)}else a=r;if(this.exports=a,this.map.isDefine&&!this.ignore&&(S[n]=a,req.onResourceLoad)){var o=[];each(this.depMaps,function(t){o.push(t.normalizedMap||t)}),req.onResourceLoad(_,this.map,o)}m(n),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(_.defQueueMap,n)||this.fetch()}},callPlugin:function(){var t=this.map,e=t.id,i=o(t.prefix);this.depMaps.push(i),s(i,"defined",bind(this,function(i){var a,r,p,u=getOwn(A,this.map.id),c=this.map.name,v=this.map.parentMap?this.map.parentMap.name:null,w=_.makeRequire(t.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(i.normalize&&(c=i.normalize(c,function(t){return n(t,v,!0)})||""),r=o(t.prefix+"!"+c,this.map.parentMap,!0),s(r,"defined",bind(this,function(t){this.map.normalizedMap=r,this.init([],function(){return t},null,{enabled:!0,ignore:!0})})),void((p=getOwn(z,r.id))&&(this.depMaps.push(r),this.events.error&&p.on("error",bind(this,function(t){this.emit("error",t)})),p.enable()))):u?(this.map.url=_.nameToUrl(u),void this.load()):(a=bind(this,function(t){this.init([],function(){return t},null,{enabled:!0})}),a.error=bind(this,function(t){this.inited=!0,this.error=t,t.requireModules=[e],eachProp(z,function(t){0===t.map.id.indexOf(e+"_unnormalized")&&m(t.map.id)}),d(t)}),a.fromText=bind(this,function(n,i){var r=t.name,s=o(r),p=useInteractive;i&&(n=i),p&&(useInteractive=!1),l(s),hasProp(x.config,e)&&(x.config[r]=x.config[e]);try{req.exec(n)}catch(t){return d(makeError("fromtexteval","fromText eval for "+e+" failed: "+t,t,[e]))}p&&(useInteractive=!0),this.depMaps.push(s),_.completeLoad(r),w([r],a)}),void i.load(t.name,w,a,x))})),_.enable(i,this),this.pluginMaps[i.id]=i},enable:function(){k[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(t,e){var n,i,a;if("string"==typeof t){if(t=o(t,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[e]=t,a=getOwn(F,t.id))return void(this.depExports[e]=a(this));this.depCount+=1,s(t,"defined",bind(this,function(t){this.undefed||(this.defineDep(e,t),this.check())})),this.errback?s(t,"error",bind(this,this.errback)):this.events.error&&s(t,"error",bind(this,function(t){this.emit("error",t)}))}n=t.id,i=z[n],hasProp(F,n)||!i||i.enabled||_.enable(t,this)})),eachProp(this.pluginMaps,bind(this,function(t){var e=getOwn(z,t.id);e&&!e.enabled&&_.enable(t,this)})),this.enabling=!1,this.check()},on:function(t,e){var n=this.events[t];n||(n=this.events[t]=[]),n.push(e)},emit:function(t,e){each(this.events[t],function(t){t(e)}),"error"===t&&delete this.events[t]}},_={config:x,contextName:t,registry:z,defined:S,urlFetched:C,defQueue:q,defQueueMap:{},Module:b,makeModuleMap:o,nextTick:req.nextTick,onError:d,configure:function(t){if(t.baseUrl&&"/"!==t.baseUrl.charAt(t.baseUrl.length-1)&&(t.baseUrl+="/"),"string"==typeof t.urlArgs){var e=t.urlArgs;t.urlArgs=function(t,n){return(-1===n.indexOf("?")?"?":"&")+e}}var n=x.shim,i={paths:!0,bundles:!0,config:!0,map:!0};eachProp(t,function(t,e){i[e]?(x[e]||(x[e]={}),mixin(x[e],t,!0,!0)):x[e]=t}),t.bundles&&eachProp(t.bundles,function(t,e){each(t,function(t){t!==e&&(A[t]=e)})}),t.shim&&(eachProp(t.shim,function(t,e){isArray(t)&&(t={deps:t}),!t.exports&&!t.init||t.exportsFn||(t.exportsFn=_.makeShimExports(t)),n[e]=t}),x.shim=n),t.packages&&each(t.packages,function(t){var e,n;t="string"==typeof t?{name:t}:t,n=t.name,e=t.location,e&&(x.paths[n]=t.location),x.pkgs[n]=t.name+"/"+(t.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(z,function(t,e){t.inited||t.map.unnormalized||(t.map=o(e,null,!0))}),(t.deps||t.callback)&&_.require(t.deps||[],t.callback)},makeShimExports:function(t){function e(){var e;return t.init&&(e=t.init.apply(global,arguments)),e||t.exports&&getGlobal(t.exports)}return e},makeRequire:function(e,a){function r(n,i,s){var p,m,u;return a.enableBuildCallback&&i&&isFunction(i)&&(i.__requireJsBuild=!0),"string"==typeof n?isFunction(i)?d(makeError("requireargs","Invalid require call"),s):e&&hasProp(F,n)?F[n](z[e.id]):req.get?req.get(_,n,e,r):(m=o(n,e,!1,!0),p=m.id,hasProp(S,p)?S[p]:d(makeError("notloaded",'Module name "'+p+'" has not been loaded yet for context: '+t+(e?"":". Use require([])")))):(h(),_.nextTick(function(){h(),u=l(o(null,e)),u.skipMap=a.skipMap,u.init(n,i,s,{enabled:!0}),c()}),r)}return a=a||{},mixin(r,{isBrowser:isBrowser,toUrl:function(t){var i,a=t.lastIndexOf("."),r=t.split("/")[0],o="."===r||".."===r;return-1!==a&&(!o||a>1)&&(i=t.substring(a,t.length),t=t.substring(0,a)),_.nameToUrl(n(t,e&&e.id,!0),i,!0)},defined:function(t){return hasProp(S,o(t,e,!1,!0).id)},specified:function(t){return t=o(t,e,!1,!0).id,hasProp(S,t)||hasProp(z,t)}}),e||(r.undef=function(t){p();var n=o(t,e,!0),a=getOwn(z,t);a.undefed=!0,i(t),delete S[t],delete C[n.url],delete $[t],eachReverse(q,function(e,n){e[0]===t&&q.splice(n,1)}),delete _.defQueueMap[t],a&&(a.events.defined&&($[t]=a.events),m(t))}),r},enable:function(t){getOwn(z,t.id)&&l(t).enable()},completeLoad:function(t){var e,n,i,r=getOwn(x.shim,t)||{},o=r.exports;for(p();q.length;){if(n=q.shift(),null===n[0]){if(n[0]=t,e)break;e=!0}else n[0]===t&&(e=!0);v(n)}if(_.defQueueMap={},i=getOwn(z,t),!e&&!hasProp(S,t)&&i&&!i.inited){if(!(!x.enforceDefine||o&&getGlobal(o)))return a(t)?void 0:d(makeError("nodefine","No define call for "+t,null,[t]));v([t,r.deps||[],r.exportsFn])}c()},nameToUrl:function(t,e,n){var i,a,r,o,l,s,d,p=getOwn(x.pkgs,t);if(p&&(t=p),d=getOwn(A,t))return _.nameToUrl(d,e,n);if(req.jsExtRegExp.test(t))l=t+(e||"");else{for(i=x.paths,a=t.split("/"),r=a.length;r>0;r-=1)if(o=a.slice(0,r).join("/"),s=getOwn(i,o)){isArray(s)&&(s=s[0]),a.splice(0,r,s);break}l=a.join("/"),l+=e||(/^data\:|^blob\:|\?/.test(l)||n?"":".js"),l=("/"===l.charAt(0)||l.match(/^[\w\+\.\-]+:/)?"":x.baseUrl)+l}return x.urlArgs&&!/^blob\:/.test(l)?l+x.urlArgs(t,l):l},load:function(t,e){req.load(_,t,e)},execCb:function(t,e,n,i){return e.apply(i,n)},onScriptLoad:function(t){if("load"===t.type||readyRegExp.test((t.currentTarget||t.srcElement).readyState)){interactiveScript=null;var e=f(t);_.completeLoad(e.id)}},onScriptError:function(t){var e=f(t);if(!a(e.id)){var n=[];return eachProp(z,function(t,i){0!==i.indexOf("_@r")&&each(t.depMaps,function(t){if(t.id===e.id)return n.push(i),!0})}),d(makeError("scripterror",'Script error for "'+e.id+(n.length?'", needed by: '+n.join(", "):'"'),t,[e.id]))}}},_.require=_.makeRequire(),_}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(t){if("interactive"===t.readyState)return interactiveScript=t}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.3",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if(void 0===define){if(void 0!==requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}void 0===require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(t,e,n,i){var a,r,o=defContextName;return isArray(t)||"string"==typeof t||(r=t,isArray(e)?(t=e,e=n,n=i):t=[]),r&&r.context&&(o=r.context),a=getOwn(contexts,o),a||(a=contexts[o]=req.s.newContext(o)),r&&a.configure(r),a.require(t,e,n)},req.config=function(t){return req(t)},req.nextTick=void 0!==setTimeout?function(t){setTimeout(t,4)}:function(t){t()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(t){req[t]=function(){var e=contexts[defContextName];return e.require[t].apply(e,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],(baseElement=document.getElementsByTagName("base")[0])&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(t,e,n){var i=t.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return i.type=t.scriptType||"text/javascript",i.charset="utf-8",i.async=!0,i},req.load=function(t,e,n){var i,a=t&&t.config||{};if(isBrowser)return i=req.createNode(a,e,n),i.setAttribute("data-requirecontext",t.contextName),i.setAttribute("data-requiremodule",e),!i.attachEvent||i.attachEvent.toString&&i.attachEvent.toString().indexOf("[native code")<0||isOpera?(i.addEventListener("load",t.onScriptLoad,!1),i.addEventListener("error",t.onScriptError,!1)):(useInteractive=!0,i.attachEvent("onreadystatechange",t.onScriptLoad)),i.src=n,a.onNodeCreated&&a.onNodeCreated(i,a,e,n),currentlyAddingScript=i,baseElement?head.insertBefore(i,baseElement):head.appendChild(i),currentlyAddingScript=null,i;if(isWebWorker)try{setTimeout(function(){},0),importScripts(n),t.completeLoad(e)}catch(i){t.onError(makeError("importscripts","importScripts failed for "+e+" at "+n,i,[e]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(t){if(head||(head=t.parentNode),dataMain=t.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(t,e,n){var i,a;"string"!=typeof t&&(n=e,e=t,t=null),isArray(e)||(n=e,e=null),!e&&isFunction(n)&&(e=[],n.length&&(n.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(t,n){e.push(n)}),e=(1===n.length?["require"]:["require","exports","module"]).concat(e))),useInteractive&&(i=currentlyAddingScript||getInteractiveScript())&&(t||(t=i.getAttribute("data-requiremodule")),a=contexts[i.getAttribute("data-requirecontext")]),a?(a.defQueue.push([t,e,n]),a.defQueueMap[t]=!0):globalDefQueue.push([t,e,n])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this,"undefined"==typeof setTimeout?void 0:setTimeout),formintorjs.requirejs=requirejs,formintorjs.require=require,formintorjs.define=define}}(),formintorjs.define("requireLib",function(){}),function(t){window.empty=function(t){return void 0===t||!t},window.count=function(t){return void 0===t?0:t&&t.length?t.length:0},window.stripslashes=function(t){return(t+"").replace(/\\(.?)/g,function(t,e){switch(e){case"\\":return"\\";case"0":return"\0";case"":return"";default:return e}})},window.forminator_array_value_exists=function(t,e){return!_.isUndefined(t[e])&&!_.isEmpty(t[e])},window.decodeHtmlEntity=function(t){return void 0===t?t:t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(e)})},window.encodeHtmlEntity=function(t){if(void 0===t)return t;for(var e=[],n=t.length-1;n>=0;n--)e.unshift(["&#",t[n].charCodeAt(),";"].join(""));return e.join("")},formintorjs.define("admin/utils",[],function(){return{Utils:{fields_ids:[],google_font_families:[],is_touch:function(){return Forminator.Data.is_touch},is_mobile_size:function(){return window.screen.width<=782},is_mobile:function(){return!(!Forminator.Utils.is_touch()&&!Forminator.Utils.is_mobile_size())},model_to_json:function(t){if(!t)return{};var e=t&&t.toJSON?t.toJSON():t,n=JSON.stringify(e);return JSON.parse(n)},template:function(t){return _.templateSettings={evaluate:/\{\[([\s\S]+?)\]\}/g,interpolate:/\{\{([\s\S]+?)\}\}/g},_.template(t)},template_php:function(t){var e=_.templateSettings,n=!1;return _.templateSettings={interpolate:/<\?php echo (.+?) \?>/g,evaluate:/<\?php (.+?) \?>/g},n=_.template(t),_.templateSettings=e,function(t){return _.each(t,function(e,n){t["$"+n]=e}),n(t)}},get_unique_id:function(t){return(t||"field")+"-"+(new Date).getTime()+"-"+Math.floor(999*Math.random()+1e3)},is_randomed_field_id:function(t){return!!t.match(/field-\d+-\d+(-[A-Za-z-_]+)?/)},get_increment_field_id:function(t){var e=t.get("type");e.replace(" ","_"),e=e.toLowerCase();var n=1;if(_.isUndefined(this.fields_ids[e]))this.fields_ids[e]=[];else{n=_.max(this.fields_ids[e])+1}return this.fields_ids[e].push(n),e+"-"+n},is_field_id_exist:function(t,e){return e=+e,!_.isUndefined(this.fields_ids[t])&&-1!==_.indexOf(this.fields_ids[t],e,!0)},set_increment_field_id:function(t,e){return e=+e,t.replace(" ","_"),t=t.toLowerCase(),_.isUndefined(this.fields_ids[t])&&(this.fields_ids[t]=[]),this.fields_ids[t].push(e),t+"-"+e},has_field_type:function(t,e){var n=!1;return t.each(function(t){t.get("fields").each(function(t){e===t.get("type")&&(n=!0)})}),n},has_field_with_attribute:function(t,e,n,i){var a=!1;return t.each(function(t){t.get("fields").each(function(t){e===t.get("type")&&i===t.get(n)&&(a=!0)})}),a},ensure_max_of_type_field:function(t,e,n,i){var a=0;if(i=i||null,i&&i.get("type")===e&&a++,t.each(function(t){t.get("fields").each(function(t){t.get("type")===e&&a++})}),a>n){var r=this.template("This form can only have {{ max }} {{ type }} field to be exists, please remove {{ diff }} others {{ type }} field from this form.");return i&&(r=this.template("This form can only have {{ max }} {{ type }} field to be exists.")),alert(r({max:n,type:Forminator.Utils.ucfirst(e),diff:a-n})),!1}return!0},get_fields_models:function(t,e){var n=[];return _.isUndefined(e)&&(e=[]),t.each(function(t){t.get("fields").each(function(t){_.contains(e,t.cid)||n.push(t)})}),n},get_fields:function(t,e){var n=[];return _.isUndefined(e)&&(e=["pagination","postdata","total","upload","product","captcha"]),t.each(function(t){t.get("fields").each(function(t){if(!_.contains(e,t.get("type"))){var i;_.isUndefined(t.get("field_label"))||_.isEmpty(t.get("field_label"))?(i=t.get("type"),i=Forminator.Utils.ucfirst(i)):i=t.get("field_label"),"name"===t.get("type")?n=n.concat(Forminator.Utils.get_name_fields(t,i)):"address"===t.get("type")?n=n.concat(Forminator.Utils.get_address_fields(t,i)):"time"===t.get("type")?n=n.concat(Forminator.Utils.get_time_fields(t,i)):n.push({element_id:t.get("element_id"),required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type"),label:i,values:Forminator.Utils.get_field_values(t),hasOptions:Forminator.Utils.field_has_options(t),isNumber:Forminator.Utils.field_has_number(t)})}})}),n},ucfirst:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},get_name_fields:function(t,e){var n=[];return"true"===t.get("multiple_name")?_.each([{attr:"prefix",label:"prefix_label",element_suffix:"prefix",hasOptions:!0,values:[{label:"Mr.",value:"Mr"},{label:"Mrs.",value:"Mrs"},{label:"Ms.",value:"Ms"},{label:"Miss",value:"Miss"},{label:"Dr.",value:"Dr"},{label:"Prof.",value:"Prof"}],isNumber:!1},{attr:"fname",label:"fname_label",element_suffix:"first-name",hasOptions:!1,values:!1,isNumber:!1},{attr:"mname",label:"mname_label",element_suffix:"middle-name",hasOptions:!1,values:!1,isNumber:!1},{attr:"lname",label:"lname_label",element_suffix:"last-name",hasOptions:!1,values:!1,isNumber:!1}],function(i){if("true"===t.get(i.attr)){var a;a=_.isUndefined(t.get(i.label))||_.isEmpty(t.get(i.label))?e+" - "+Forminator.l10n.name[i.label]:e+" - "+t.get(i.label),n.push({element_id:t.get("element_id")+"-"+i.element_suffix,required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type")+"-"+i.element_suffix,label:a,values:i.values,hasOptions:i.hasOptions,isNumber:i.isNumber})}}):n.push({element_id:t.get("element_id"),required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type"),label:e,values:Forminator.Utils.get_field_values(t),hasOptions:Forminator.Utils.field_has_options(t),isNumber:Forminator.Utils.field_has_number(t)}),n},get_address_fields:function(t,e){var n=[];return _.each([{attr:"street_address",label:"street_address_label",element_suffix:"street_address",hasOptions:!1,values:!1,isNumber:!1},{attr:"address_line",label:"address_line_label",element_suffix:"address_line",hasOptions:!1,values:!1,isNumber:!1},{attr:"address_city",label:"address_city_label",element_suffix:"city",hasOptions:!1,values:!1,isNumber:!1},{attr:"address_state",label:"address_state_label",element_suffix:"state",hasOptions:!1,values:!1,isNumber:!1},{attr:"address_zip",label:"address_zip_label",element_suffix:"zip",hasOptions:!1,values:!1,isNumber:!1}],function(i){if("true"===t.get(i.attr)){var a;a=_.isUndefined(t.get(i.label))||_.isEmpty(t.get(i.label))?e+" - "+Forminator.l10n.address[i.label]:e+" - "+t.get(i.label),n.push({element_id:t.get("element_id")+"-"+i.element_suffix,required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type")+"-"+i.element_suffix,label:a,values:i.values,hasOptions:i.hasOptions,isNumber:i.isNumber})}}),n},get_time_fields:function(t,e){var n,i=[];n=_.isUndefined(t.get("hh_label"))||_.isEmpty(t.get("hh_label"))?e+" - "+Forminator.l10n.time.hh_label:e+" - "+t.get("hh_label");var a;return a=_.isUndefined(t.get("mm_label"))||_.isEmpty(t.get("mm_label"))?e+" - "+Forminator.l10n.time.mm_label:e+" - "+t.get("mm_label"),i.push({element_id:t.get("element_id")+"-hours",required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type")+"-hours",label:n,values:!1,hasOptions:!1,isNumber:!0},{element_id:t.get("element_id")+"-minutes",required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type")+"-minutes",label:a,values:!1,hasOptions:!1,isNumber:!0}),"twelve"===t.get("time_type")&&i.push({element_id:t.get("element_id")+"-ampm",required:t.get("required"),field_type:t.get("type"),field_slug:t.get("type")+"-ampm",label:e+"-AM/PM",values:[{label:"AM",value:"am"},{label:"PM",value:"pm"}],hasOptions:!0,isNumber:!1}),i},get_products:function(t){var e=[];return t.each(function(t){t.get("fields").each(function(t){if("product"===t.get("type")){var n;n=_.isUndefined(t.get("product_name"))||_.isEmpty(t.get("product_name"))?t.get("type"):t.get("product_name"),e.push({element_id:t.get("element_id"),label:n})}})}),e},field_has_options:function(t){return"select"===t.get("type")||"checkbox"===t.get("type")},field_has_number:function(t){return"number"===t.get("type")||"phone"===t.get("type")},get_field_values:function(t){var e=t.get("type");return("select"===e||"checkbox"===e)&&t.get("options")},get_field_autofill_providers:function(t){var e={},n=_.where(Forminator.Data.fields,{type:t});return n.length<0?{}:(n=n[0],_.isUndefined(n.autofill_settings)||(e=n.autofill_settings),e)},get_slug:function(t){return t=t.replace(" ","-"),t=t.replace(/[^-a-zA-Z0-9]/,"")},sanitize_uri_string:function(t){var e=decodeURIComponent(t);return e=e.replace(/-/g," ")},get_url_param:function(t){for(var e=window.location.search.substring(1),n=e.split("&"),i=0;i<n.length;i++){var a=n[i].split("=");if(a[0]===t)return a[1]}return!1},is_email_wp:function(t){if(t.length<6)return!1;if(t.indexOf("@",1)<0)return!1;var e=t.split("@",2);if(!e[0].match(/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~\.-]+$/))return!1;if(e[1].match(/\.{2,}/))return!1;var n=e[1],i=n.split(".");if(i.length<2)return!1;for(var a=i.length,r=0;r<a;r++)if(!i[r].match(/^[a-z0-9-]+$/i))return!1;return!0},forminator_select2_tags:function(t,e){e=_.defaults(e,{allowClear:!0}),t.find(".wpmudev-tags").wpmuiSelect(e)},append_select2:function(e,n){e.find(".wpmudev-select, .wpmudev-form-field--select").each(function(){var e=t(this).data("allow-search"),n={allowClear:!1,containerCssClass:"wpmudev-select2",dropdownCssClass:"wpmudev-select-dropdown"};1!==e&&(n.minimumResultsForSearch=1/0),t(this).wpmuiSelect(n)}),e.find(".wpmudev-option--select").wpmuiSelect({allowClear:!1,minimumResultsForSearch:1/0,containerCssClass:"wpmudev-option--select2",dropdownCssClass:"wpmudev-option--select2-dropdown"}),e.find(".forminator-select").wpmuiSelect({allowClear:!1,containerCssClass:"forminator-select2",dropdownCssClass:"forminator-dropdown"})},init_select2:function(){setTimeout(function(){t(".wpmudev-select, .wpmudev-form-field--select").each(function(){var e=t(this).data("allow-search"),n={allowClear:!1,containerCssClass:"wpmudev-select2",dropdownCssClass:"wpmudev-select-dropdown"};1!==e&&(n.minimumResultsForSearch=1/0),t(this).wpmuiSelect(n)}),t(".wpmudev-option--select").wpmuiSelect({allowClear:!1,minimumResultsForSearch:1/0,containerCssClass:"wpmudev-option--select2",dropdownCssClass:"wpmudev-option--select2-dropdown"}),t(".forminator-select").each(function(){var e="",n="";t(this).closest(".forminator-design--bold").length>0?e="bold":t(this).closest(".forminator-design--flat").length>0?e="flat":t(this).closest(".forminator-design--default").length>0?e="default":t(this).closest(".forminator-design--material").length>0&&(e="material"),""!==e&&(n="forminator-dropdown--"+e),t(this).wpmuiSelect({allowClear:!1,containerCssClass:"forminator-select2",dropdownCssClass:"forminator-dropdown "+n})}),t(".forminator-time").each(function(){var e="",n="";t(this).closest(".forminator-design--bold").length>0?e="bold":t(this).closest(".forminator-design--flat").length>0?e="flat":t(this).closest(".forminator-design--default").length>0?e="default":t(this).closest(".forminator-design--material").length>0&&(e="material"),""!==e&&(n="forminator-droptime--"+e),t(this).wpmuiSelect({allowClear:!1,containerCssClass:"forminator-select2",dropdownCssClass:"forminator-dropdown "+n})})},10)},load_google_fonts:function(e){var n=this;t.ajax({url:Forminator.Data.ajaxUrl,type:"POST",data:{action:"forminator_load_google_fonts"}}).done(function(t){!0===t.success&&(n.google_font_families=t.data),e.apply(t,[n.google_font_families])})}},Popup:{$popup:{},_deferred:{},initialize:function(){t("#forminator-popup").length?(this.$popup.remove(),this.initialize()):t("#wpmudev-main").append('<div id="forminator-popup" class="wpmudev-modal"><div class="wpmudev-modal-mask" aria-hidden="true"></div><div class="wpmudev-box"><div class="wpmudev-box-header"><div class="wpmudev-header--text"><h2 class="wpmudev-subtitle">'+this.title+'</h2></div><div class="wpmudev-header--action"><button id="forminator-popup-close" class="wpmudev-box--action"><span class="wpmudev-icon--close"></span></button></div></div><div class="wpmudev-box-section"></div></div></div>'),this.$popup=t("#forminator-popup"),this.$popup.find("#wpmudev-box-body").empty()},open:function(e,n,i){this.data=n,this.title="",void 0!==this.data&&void 0!==this.data.title&&(this.title=this.data.title),this.initialize();var a=this,r=this.$popup.find(".wpmudev-box"),o=function(){return a.close(),!1};return i&&this.$popup.addClass(i),this.$popup.find("#forminator-popup-close").on("click",o),this.$popup.addClass("wpmudev-modal-active"),t("body").addClass("wpmudev-modal-is_active"),setTimeout(function(){r.addClass("wpmudev-show")}),e.apply(this.$popup.find(".wpmudev-box-section").get(),n),this.$popup.find(".forminator-delete-module-cancel").on("click",o),this._deferred=new t.Deferred,this._deferred.promise()},close:function(e,n){var i=t("#forminator-popup"),a=i.find(".wpmudev-box");a.removeClass("wpmudev-show").addClass("wpmudev-hide"),setTimeout(function(){i.removeClass("wpmudev-modal-active"),t("body").removeClass("wpmudev-modal-is_active"),a.removeClass("wpmudev-hide"),n&&n.apply()},1e3),this._deferred.resolve(this.$popup,e)}},Notification:{$notification:{},_deferred:{},initialize:function(){t("#forminator-notification").length?(this.$notification.remove(),this.initialize()):t("#wpmudev-main").append('<div id="forminator-notification" class="wpmudev-notification"><label class="wpmudev-label--'+this.type+'"><span>'+this.text+"</span></label></div>"),this.$notification=t("#forminator-notification")},open:function(e,n,i){var a=this;return this.type=e||"notice",this.text=n,this.initialize(),setTimeout(function(){a.$notification.addClass("wpmudev-show")}),_.isUndefined(i)||setTimeout(function(){a.close()},i),this._deferred=new t.Deferred,this._deferred.promise()},close:function(e){t("#forminator-notification").removeClass("wpmudev-show").addClass("wpmudev-hide"),this._deferred.resolve(this.$popup,e)}},Pagination:{step:0,totalSteps:0,hasStep:!1,$el:!1,init:function(t){this.step=0,this.totalSteps=0,this.hasStep=!1,this.$el=t,this.totalSteps=this.$el.find(".forminator-pagination").length,this.totalSteps&&(this.hasStep&&this.step>0?t.find(".forminator-pagination").not("[data-step="+this.step+"]").hide():t.find(".forminator-pagination").not(".forminator-pagination-start").hide(),this.render_navigation(),this.render_footer_navigation(),this.init_events(),this.update_buttons(),this.update_navigation())},init_events:function(){var t=this
;this.$el.find(".forminator-pagination-prev").click(function(e){e.preventDefault(),t.handle_click("prev")}),this.$el.find(".forminator-pagination-next").click(function(e){e.preventDefault(),t.handle_click("next")})},render_footer_navigation:function(){this.$el.hasClass("forminator-design--material")?this.$el.append('<div class="forminator-pagination--footer"><button class="forminator-button forminator-pagination-prev"><span class="forminator-button--mask" aria-label="hidden"></span><span class="forminator-button--text">'+Forminator.l10n.appearance.pagination_prev+'</span></button><button class="forminator-button forminator-pagination-next"><span class="forminator-button--mask" aria-label="hidden"></span><span class="forminator-button--text">'+Forminator.l10n.appearance.pagination_next+"</span></button></div>"):this.$el.append('<div class="forminator-pagination--footer"><button class="forminator-button forminator-pagination-prev">'+Forminator.l10n.appearance.pagination_prev+'</button><button class="forminator-button forminator-pagination-next">'+Forminator.l10n.appearance.pagination_next+"</button></div>")},render_navigation:function(){var e=this.$el.find(".forminator-pagination--nav");if(e.length){var n=this.$el.find(".forminator-pagination").not(".forminator-pagination-start");n.each(function(){var n=t(this),i=n.data("label"),a=n.data("step")-1;this.$el.hasClass("forminator-design--material")?e.append('<li class="forminator-nav-step forminator-nav-step-'+a+'"><span class="forminator-step-text">'+i+'</span><span class="forminator-step-dot" aria-label="hidden"></span></li>'):e.append('<li class="forminator-nav-step forminator-nav-step-'+a+'"><span class="forminator-step-text">'+i+"</span></li>")}),this.$el.find(".forminator-pagination-start").each(function(){var i=t(this),a=i.data("label"),r=n.length;this.$el.hasClass("forminator-design--material")?e.append('<li class="forminator-nav-step forminator-nav-step-'+r+'"><span class="forminator-step-text">'+a+'</span><span class="forminator-step-dot" aria-label="hidden"></span></li>'):e.append('<li class="forminator-nav-step forminator-nav-step-'+r+'"><span class="forminator-step-text">'+a+"</span></li>")})}},handle_click:function(t){"prev"===t&&0!==this.step?this.go_to(this.step-1):"next"===t&&this.go_to(this.step+1),this.update_buttons()},update_buttons:function(){if(0===this.step?this.$el.find(".forminator-pagination-prev").attr("disabled",!0):this.$el.find(".forminator-pagination-prev").removeAttr("disabled"),this.step===this.totalSteps&&this.step--,this.step===this.totalSteps-1){var t=this.$el.find(".forminator-pagination-submit").html();this.$el.find(".forminator-pagination-next .forminator-button--text").html(t)}else this.$el.find(".forminator-pagination-next .forminator-button--text").html(Forminator.l10n.appearance.pagination_next)},go_to:function(t){if(this.step=t,t===this.totalSteps)return!1;this.$el.find(".forminator-pagination").hide(),this.$el.find("[data-step="+t+"]").show(),this.update_navigation()},update_navigation:function(){this.$el.find(".forminator-step-current").removeClass("forminator-step-current"),this.$el.find(".forminator-nav-step-"+this.step).addClass("forminator-step-current")}}}})}(jQuery),function(t){formintorjs.define("admin/models/base-model",[],function(){return Backbone.Model.extend({toJSON:function(){var t=_.clone(this.attributes);for(var e in t)(t[e]instanceof Backbone.Model||t[e]instanceof Backbone.Collection)&&(t[e]=t[e].toJSON());return t}})})}(jQuery),function(t){formintorjs.define("admin/models/condition-model",["admin/models/base-model"],function(t){return t.extend({defaults:{}})})}(jQuery),function(t){formintorjs.define("admin/models/conditions-collection",["admin/models/condition-model"],function(t){return Backbone.Collection.extend({model:t,get_by_name:function(t){t=t.toLowerCase();var e=!1;return this.each(function(n){n.get("name").toLowerCase()==t&&(e=n)}),e},model_index:function(t){return this.indexOf(t)},get_by_index:function(t){return this.at(t)}})})}(jQuery),function(t){formintorjs.define("admin/models/field-model",["admin/models/base-model","admin/models/conditions-collection"],function(t,e){return t.extend({defaults:{condition_action:"show",condition_rule:"any",conditions:!1},initialize:function(){var t=arguments;!1===this.get("conditions")&&this.set("conditions",new e),t[0]&&t[0].conditions&&(t.conditions=t[0].conditions instanceof e?t[0].conditions:new e(t[0].conditions),this.set("conditions",t.conditions))},add_to:function(t,e,n){n=_.isObject(n)?n:{};var i=this,a=[],r=!1;t.each(function(t,n){n==e&&(a.push(i),r=!0),a.push(t)}),r?(t.reset(a,{silent:!0}),t.trigger("add",this,t,_.extend(n,{index:e}))):t.add(this,_.extend(n,{index:e}))},get_id:function(){return this.cid},get_conditions_element_ids:function(){var t=[];if(!_.isUndefined(this.get("conditions"))&&this.get("conditions").length>0){this.get("conditions").each(function(e){t.push(e.get("element_id"))})}return t},clone_deep:function(){var t=new this.constructor(this.attributes);return _.each(this.attributes,function(e,n){if(Array.isArray(e)){var i=[];_.each(e,function(t){i.push(_.clone(t))}),t.set(n,i)}}),t.set("conditions",new e(t.get("conditions").toJSON())),t}})})}(jQuery),function(t){formintorjs.define("admin/models/fields-collection",["admin/models/field-model"],function(t){return Backbone.Collection.extend({model:t,get_by_id:function(t){var e=!1;return this.each(function(n){n.cid===t&&(e=n)}),e},model_index:function(t){return this.indexOf(t)},update_cols:function(t){this.each(function(e,n){e.set("cols",t,{silent:!0})})},get_fields_related_to:function(t){var e=[];return this.each(function(n){var i=n.get_conditions_element_ids(),a=_.indexOf(i,t.get("element_id"));a>-1&&e.push(n);var r=[];"name"===t.get("type")&&"true"===t.get("multiple_name")?r.push(t.get("element_id")+"-prefix",t.get("element_id")+"-first-name",t.get("element_id")+"-middle-name",t.get("element_id")+"-last-name"):"address"===t.get("type")?("true"===t.get("street_address")&&r.push(t.get("element_id")+"-street_address"),"true"===t.get("address_line")&&r.push(t.get("element_id")+"-address_line"),"true"===t.get("city")&&r.push(t.get("element_id")+"-city"),"true"===t.get("state")&&r.push(t.get("element_id")+"-state"),"true"===t.get("zip")&&r.push(t.get("element_id")+"-zip")):"time"===t.get("type")&&(r.push(t.get("element_id")+"-hours",t.get("element_id")+"-minutes"),"twelve"===t.get("time_type")&&r.push(t.get("element_id")+"-ampm")),_.each(r,function(t){(a=_.indexOf(i,t))>-1&&e.push(n)})}),e}})})}(jQuery),function(t){formintorjs.define("admin/models/wrapper-model",["admin/models/base-model","admin/models/fields-collection","admin/models/conditions-collection"],function(t,e,n){return t.extend({defaults:{fields:!1},initialize:function(){var t=arguments;!1===this.get("fields")&&this.set("fields",new e),t&&t[0]&&t[0].fields&&(t.fields=t[0].fields instanceof e?t[0].fields:new e(t[0].fields),this.set("fields",t.fields))},get_id:function(){return this.cid},fields_count:function(){return this.get("fields").length}})})}(jQuery),function(t){formintorjs.define("admin/models/wrappers-collection",["admin/models/wrapper-model"],function(t){return Backbone.Collection.extend({model:t,get_by_id:function(t){var e=!1;return this.each(function(n){n.cid===t&&(e=n)}),e},get_by_index:function(t){return this.at(t)},model_index:function(t){return this.indexOf(t)},move_to:function(t,e){if(t===e)return this;var n=this.at(e);return this.remove(n,{silent:!0}),this.add(n,{at:t,silent:!0}),this}})})}(jQuery),function(t){formintorjs.define("admin/models/autofill-model",["admin/models/base-model"],function(t){return t.extend({})})}(jQuery),function(t){formintorjs.define("admin/models/autofills-collection",["admin/models/autofill-model"],function(t){return Backbone.Collection.extend({model:t})})}(jQuery),function(t){formintorjs.define("admin/models/builder-model",["admin/models/base-model","admin/models/wrappers-collection","admin/models/autofills-collection"],function(t,e,n){return t.extend({defaults:{wrappers:!1,"validation-inline":"true","enable-ajax":"true","form-style":"flat","fields-style":"open","form-expire":"no_expire","use-admin-email":"true","admin-email-title":Forminator.l10n.appearance.admin_subject,"admin-email-editor":Forminator.l10n.appearance.admin_message,"admin-email-recipients":[Forminator.l10n.options.admin_email],"cform-label-font-family":"","cform-label-custom-family":"","cform-label-font-size":"16","cform-label-font-weight":"normal","cform-title-font-family":"","cform-title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","cform-subtitle-font-family":"","cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"","cform-radio-custom-font":"","cform-radio-font-size":"16","cform-radio-font-weight":"normal","cform-select-font-family":"","cform-select-custom-family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"","cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"","cform-calendar-custom-font":"","cform-calendar-font-size":"16","cform-calendar-font-weight":"normal","cform-button-font-family":"","cform-button-custom-font":"","cform-button-font-size":"14","cform-button-font-weight":"500","cform-timeline-font-family":"","cform-timeline-custom-font":"","cform-timeline-font-size":"16","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal"},initialize:function(){var t=arguments;!1===this.get("wrappers")&&this.set("wrappers",new e),t&&t[0]&&t[0].wrappers&&(t.wrappers=t[0].wrappers instanceof e?t[0].wrappers:new e(t[0].wrappers),this.set("wrappers",t.wrappers)),(!1===this.get("fields-autofill")||_.isUndefined(this.get("fields-autofill")))&&this.set("fields-autofill",new n),t&&t[0]&&t[0]["fields-autofill"]&&(t["fields-autofill"]=t[0]["fields-autofill"]instanceof n?t[0]["fields-autofill"]:new n(t[0]["fields-autofill"]),this.set("fields-autofill",t["fields-autofill"])),delete this.attributes.fields}})})}(jQuery),function(t){formintorjs.define("admin/models/answer-model",["admin/models/base-model"],function(t){return t.extend({defaults:{title:""}})})}(jQuery),function(t){formintorjs.define("admin/models/answers-collection",["admin/models/answer-model"],function(t){return Backbone.Collection.extend({model:t,max_element_id:-1,get_by_name:function(t){t=t.toLowerCase();var e=!1;return this.each(function(n){n.get("name").toLowerCase()==t&&(e=n)}),e},model_index:function(t){return this.indexOf(t)},get_by_index:function(t){return this.at(t)},get_max_element_id:function(){if(-1!==this.max_element_id)return this.max_element_id;if(_.isUndefined(this.at(0)))return this.max_element_id=0,this.max_element_id;var t=this.pluck("element_id"),e=[];return _.each(t,function(t){t=t.replace("answer-",""),t=+t,e.push(t)}),this.max_element_id=_.max(e),this.max_element_id},get_next_element_id:function(){var t=this.get_max_element_id();return this.max_element_id=t+1,this.max_element_id},move_to:function(t,e){if(t===e)return this;var n=this.at(e);return this.remove(n,{silent:!0}),this.add(n,{at:t,silent:!0}),this}})})}(jQuery),function(t){formintorjs.define("admin/models/poll-model",["admin/models/base-model","admin/models/answers-collection"],function(t,e){return t.extend({defaults:{answers:!1,"results-behav":"link_on","results-style":"bar","enable-ajax":"true"},initialize:function(){var t=arguments;!1===this.get("answers")&&this.set("answers",new e),t&&t[0]&&t[0].answers&&(t.answers=t[0].answers instanceof e?t[0].answers:new e(t[0].answers),this.set("answers",t.answers))}})})}(jQuery),function(t){formintorjs.define("admin/models/question-model",["admin/models/base-model","admin/models/answers-collection"],function(t,e){return t.extend({defaults:{answers:!1},initialize:function(){var t=arguments;!1===this.get("answers")&&this.set("answers",new e),t&&t[0]&&t[0].answers&&(t.answers=t[0].answers instanceof e?t[0].answers:new e(t[0].answers),this.set("answers",t.answers))},get_id:function(){return this.cid},find_answers_with_no_result:function(){var t=this.get("answers"),e=[];return _.isUndefined(t)?e:this.answers_count()<1?e:(e=t.filter(function(t){return!t.get("result")}),_.isUndefined(e)||e.length<1?[]:e)},is_have_correct_answer:function(){var t=this.get("answers");return!_.isUndefined(t)&&(!(this.answers_count()<1)&&void 0!==t.find(function(t){var e=t.get("toggle");return!_.isUndefined(e)&&(!0===e||"true"===e)}))},answers_count:function(){return this.get("answers").length}})})}(jQuery),function(t){formintorjs.define("admin/models/questions-collection",["admin/models/question-model"],function(t){return Backbone.Collection.extend({model:t,get_by_name:function(t){t=t.toLowerCase();var e=!1;return this.each(function(n){n.get("name").toLowerCase()==t&&(e=n)}),e},model_index:function(t){return this.indexOf(t)},get_by_index:function(t){return this.at(t)}})})}(jQuery),function(t){formintorjs.define("admin/models/knowledge-model",["admin/models/base-model","admin/models/questions-collection"],function(t,e){return t.extend({defaults:{questions:!1},initialize:function(){var t=arguments;!1===this.get("questions")&&this.set("questions",new e),t&&t[0]&&t[0].questions&&(t.questions=t[0].questions instanceof e?t[0].questions:new e(t[0].questions),this.set("questions",t.questions))}})})}(jQuery),function(t){formintorjs.define("admin/models/result-model",["admin/models/base-model"],function(t){return t.extend({defaults:{title:""}})})}(jQuery),function(t){formintorjs.define("admin/models/results-collection",["admin/models/result-model"],function(t){return Backbone.Collection.extend({model:t,comparator:"order",get_by_name:function(t){t=t.toLowerCase();var e=!1;return this.each(function(n){n.get("name").toLowerCase()==t&&(e=n)}),e},model_index:function(t){return this.indexOf(t)},get_by_index:function(t){return this.at(t)},move_to:function(t,e){if(t===e)return this;var n=this,i=this.findWhere({order:t});return this.remove(i,{silent:!0}),this.add(i,{at:e,silent:!0}),this.each(function(t,e){n.get(t).set("order",e)}),this}})})}(jQuery),function(t){formintorjs.define("admin/models/nowrong-model",["admin/models/base-model","admin/models/questions-collection","admin/models/results-collection"],function(t,e,n){return t.extend({defaults:{questions:!1,results:!1},initialize:function(){var t=arguments;!1===this.get("questions")&&this.set("questions",new e),!1===this.get("results")&&this.set("results",new n),t&&t[0]&&t[0].questions&&(t.questions=t[0].questions instanceof e?t[0].questions:new e(t[0].questions),this.set("questions",t.questions)),t&&t[0]&&t[0].results&&(t.results=t[0].results instanceof n?t[0].results:new n(t[0].results),this.set("results",t.results))}})})}(jQuery),function(t){formintorjs.define("admin/models/quiz-model",["admin/models/base-model","admin/models/results-collection","admin/models/questions-collection"],function(t,e,n){return t.extend({defaults:{results:!1,questions:!1,results_behav:"after",msg_correct:"Correct! It was %UserAnswer%.",msg_incorrect:"Wrong! It was %CorrectAnswer%, sorry...",msg_count:"You got %YourNum%/%Total% correct!"},initialize:function(){var t=arguments;!1===this.get("questions")&&this.set("questions",new n),!1===this.get("results")&&this.set("results",new e),t&&t[0]&&t[0].results&&(t.results=t[0].results instanceof e?t[0].results:new e(t[0].results),this.set("results",t.results)),t&&t[0]&&t[0].questions&&(t.questions=t[0].questions instanceof n?t[0].questions:new n(t[0].questions),this.set("questions",t.questions))}})})}(jQuery),function(t){formintorjs.define("admin/models/login-register-model",["admin/models/base-model"],function(t){return t.extend({defaults:{}})})}(jQuery),function(t){formintorjs.define("admin/models",["admin/models/builder-model","admin/models/field-model","admin/models/wrapper-model","admin/models/condition-model","admin/models/poll-model","admin/models/knowledge-model","admin/models/nowrong-model","admin/models/answer-model","admin/models/question-model","admin/models/result-model","admin/models/quiz-model","admin/models/login-register-model","admin/models/autofill-model","admin/models/fields-collection","admin/models/wrappers-collection","admin/models/answers-collection","admin/models/questions-collection","admin/models/results-collection","admin/models/conditions-collection","admin/models/autofills-collection"],function(t,e,n,i,a,r,o,l,s,d,p,m,u,c,v,w,f,h,g,b){return{Models:{Builder:t,Poll:a,Knowledge:r,NoWrong:o,Answer:l,Question:s,Result:d,Fields:e,Wrapper:n,Condition:i,Quiz:p,LoginRegister:m,Autofill:u},Collections:{Fields:c,Wrappers:v,Answers:w,Questions:f,Results:h,Conditions:g,Autofills:b}}})}(jQuery),function(t){formintorjs.define("admin/dashboard",[],function(e){return new(Backbone.View.extend({el:".wpmudev-dashboard-section",events:{"click .wpmudev-action-close":"dismiss_welcome"},initialize:function(){var t=Forminator.Utils.get_url_param("notification"),e=Forminator.Utils.get_url_param("title");if(t){var n=_.template("<strong>{{ formName }}</strong> {{ Forminator.l10n.options.been_published }}");Forminator.Notification.open("success",n({formName:Forminator.Utils.sanitize_uri_string(e)}),4e3)}return this.render()},dismiss_welcome:function(e){e.preventDefault();var n=t(e.target).closest(".wpmudev-row"),i=t(e.target).closest("#forminator-dashboard-box--welcome"),a=i.data("nonce");n.slideToggle(300,function(){t.ajax({url:Forminator.Data.ajaxUrl,type:"POST",data:{action:"forminator_dismiss_welcome",_ajax_nonce:a},complete:function(t){n.remove()}})})}}))})}(jQuery),formintorjs.define("text",["module"],function(t){"use strict";var e,n,i=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],a=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,r=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,o="undefined"!=typeof location&&location.href,l=o&&location.protocol&&location.protocol.replace(/\:/,""),s=o&&location.hostname,d=o&&(location.port||void 0),p=[],m=t.config&&t.config()||{};return e={version:"2.0.3",strip:function(t){if(t){t=t.replace(a,"");var e=t.match(r);e&&(t=e[1])}else t="";return t},jsEscape:function(t){return t.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:m.createXhr||function(){var t,e,n;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(e=0;e<3;e+=1){n=i[e];try{t=new ActiveXObject(n)}catch(t){}if(t){i=[n];break}}return t},parseName:function(t){var e=!1,n=t.indexOf("."),i=t.substring(0,n),a=t.substring(n+1,t.length);return n=a.indexOf("!"),-1!==n&&(e=a.substring(n+1,a.length),e="strip"===e,a=a.substring(0,n)),{moduleName:i,ext:a,strip:e}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(t,n,i,a){var r,o,l,s=e.xdRegExp.exec(t);return!s||(r=s[2],o=s[3],o=o.split(":"),l=o[1],o=o[0],!(r&&r!==n||o&&o.toLowerCase()!==i.toLowerCase()||(l||o)&&l!==a))},finishLoad:function(t,n,i,a){i=n?e.strip(i):i,m.isBuild&&(p[t]=i),a(i)},load:function(t,n,i,a){if(a.isBuild&&!a.inlineText)return void i();m.isBuild=a.isBuild;var r=e.parseName(t),p=r.moduleName+"."+r.ext,u=n.toUrl(p),c=m.useXhr||e.useXhr;!o||c(u,l,s,d)?e.get(u,function(n){e.finishLoad(t,r.strip,n,i)},function(t){i.error&&i.error(t)}):n([p],function(t){e.finishLoad(r.moduleName+"."+r.ext,r.strip,t,i)})},write:function(t,n,i,a){if(p.hasOwnProperty(n)){var r=e.jsEscape(p[n]);i.asModule(t+"!"+n,"define(function () { return '"+r+"';});\n")}},writeFile:function(t,n,i,a,r){var o=e.parseName(n),l=o.moduleName+"."+o.ext,s=i.toUrl(o.moduleName+"."+o.ext)+".js";e.load(l,i,function(n){var i=function(t){return a(s,t)};i.asModule=function(t,e){return a.asModule(t,s,e)},e.write(t,l,i,r)},r)}},"node"===m.env||!m.env&&"undefined"!=typeof process&&process.versions&&process.versions.node?(n=require.nodeRequire("fs"),e.get=function(t,e){var i=n.readFileSync(t,"utf8");0===i.indexOf("\ufeff")&&(i=i.substring(1)),e(i)}):"xhr"===m.env||!m.env&&e.createXhr()?e.get=function(t,n,i){var a=e.createXhr();a.open("GET",t,!0),m.onXhr&&m.onXhr(a,t),a.onreadystatechange=function(e){var r,o;4===a.readyState&&(r=a.status,r>399&&r<600?(o=new Error(t+" HTTP status: "+r),o.xhr=a,i(o)):n(a.responseText))},a.send(null)}:("rhino"===m.env||!m.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java)&&(e.get=function(t,e){var n,i,a=new java.io.File(t),r=java.lang.System.getProperty("line.separator"),o=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(a),"utf-8")),l="";try{for(n=new java.lang.StringBuffer,i=o.readLine(),i&&i.length()&&65279===i.charAt(0)&&(i=i.substring(1)),n.append(i);null!==(i=o.readLine());)n.append(r),n.append(i);l=String(n.toString())}finally{o.close()}e(l)}),e}),formintorjs.define("text!tpl/dashboard.html",[],function(){
return'<div>\r\n\r\n    <script type="text/template" id="forminator-new-form-tpl">\r\n\r\n        <div id="forminator-new-form-name" class="wpmudev-cform--name">\r\n\r\n            <label class="wpmudev-label">{{Forminator.l10n.popup.form_name_label}}</label>\r\n            <input type="text" placeholder="{{Forminator.l10n.popup.form_name_placeholder}}" class="wpmudev-create-form-field wpmudev-input">\r\n\r\n            <label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.popup.validate_form_name }}</span></label>\r\n\r\n        </div>\r\n\r\n    <\/script>\r\n\r\n    <script type="text/template" id="forminator-new-form-template-list-tpl">\r\n\r\n        <div id="forminator-new-form-type" class="wpmudev-cform--templates">\r\n\r\n            <div class="wpmudev-templates--wrapper">\r\n\r\n                {[ _.each(templates, function(template){ ]}\r\n\r\n                <div id="" class="wpmudev-template--type" data-template="{{template.options.id}}">\r\n\r\n                    <div class="wpmudev-type--header">\r\n\r\n                        <div class="wpmudev-header--icon">{{template.options.icon}}</div>\r\n\r\n                        <div class="wpmudev-header--text">\r\n                            <h3 class="wpmudev-title">{{template.options.name}}</h3>\r\n                        </div>\r\n\r\n                    </div>\r\n\r\n                    <div class="wpmudev-type--section">\r\n                        <p>{{template.options.description}}</p>\r\n                    </div>\r\n\r\n                </div>\r\n\r\n                {[ }); ]}\r\n\r\n            </div>\r\n\r\n        </div>\r\n\r\n    <\/script>\r\n\r\n    <script type="text/template" id="forminator-new-form-tpl">\r\n\r\n        <div id="forminator-new-form-name" class="wpmudev-create--name">\r\n\r\n            <label class="wpmudev-label">{{Forminator.l10n.popup.form_name_label}}</label>\r\n\r\n            <input type="text" placeholder="{{Forminator.l10n.popup.form_name_placeholder}}" class="wpmudev-input">\r\n\r\n        </div>\r\n\r\n    <\/script>\r\n\r\n    <script type="text/template" id="forminator-login-popup-tpl">\r\n\r\n        <div class="wpmudev-row">\r\n\r\n            <div class="wpmudev-col col-12 col-sm-6">\r\n\r\n                <a class="wpmudev-popup--logreg" href="{{ loginUrl }}">\r\n\r\n                    <div class="wpmudev-logreg--header">\r\n\r\n                        <span class="wpdui-icon wpdui-icon-key"></span>\r\n\r\n                        <h3 class="wpmudev-logreg--title">{{ Forminator.l10n.login.login_label }}</h3>\r\n\r\n                    </div>\r\n\r\n                    <div class="wpmudev-logreg--section">\r\n\r\n                        <p class="wpmudev-logreg--description">{{ Forminator.l10n.login.login_description }}</p>\r\n\r\n                        <div class="wpmudev-logreg--image">\r\n                            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r\n                                 width="110" height="140" viewBox="0 0 110 140" preserveAspectRatio="none"\r\n                                 class="wpmudev-svg-login">\r\n                                <defs>\r\n                                    <path id="b" d="M0 40h100v94H0z"/>\r\n                                    <filter id="a" width="116%" height="117%" x="-8%" y="-7.4%"\r\n                                            filterUnits="objectBoundingBox">\r\n                                        <feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/>\r\n                                        <feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"\r\n                                                        stdDeviation="2.5"/>\r\n                                        <feColorMatrix in="shadowBlurOuter1"\r\n                                                       values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>\r\n                                    </filter>\r\n                                    <path id="c" d="M10 112h6v6h-6z"/>\r\n                                    <path id="d" d="M10 90h80v15H10z"/>\r\n                                    <path id="e" d="M10 60h80v15H10z"/>\r\n                                </defs>\r\n                                <g fill="none" fill-rule="evenodd" transform="translate(5)">\r\n                                    <use fill="#000" filter="url(#a)" xlink:href="#b"/>\r\n                                    <use fill="#FFF" xlink:href="#b"/>\r\n                                    <rect width="22" height="12" x="68" y="112" fill="#0472AC" rx="3"/>\r\n                                    <path fill="#808285" d="M19 114h26v2H19z"/>\r\n                                    <use fill="#FBFBFB" xlink:href="#c"/>\r\n                                    <path stroke="#E1E1E1" d="M10.5 112.5h5v5h-5z"/>\r\n                                    <use fill="#FBFBFB" xlink:href="#d"/>\r\n                                    <path stroke="#E1E1E1" d="M10.5 90.5h79v14h-79z"/>\r\n                                    <path fill="#808285" d="M10 85h26v2H10z"/>\r\n                                    <use fill="#FBFBFB" xlink:href="#e"/>\r\n                                    <path stroke="#E1E1E1" d="M10.5 60.5h79v14h-79z"/>\r\n                                    <path fill="#808285" d="M10 55h50v2H10z"/>\r\n                                    <circle cx="50" cy="15" r="15" fill="#0272AC"/>\r\n                                </g>\r\n                            </svg>\r\n                        </div>\r\n\r\n                    </div>\r\n\r\n                </a>\r\n\r\n            </div>\r\n\r\n            <div class="wpmudev-col col-12 col-sm-6">\r\n\r\n                <a class="wpmudev-popup--logreg" href="{{ registerUrl }}">\r\n\r\n                    <div class="wpmudev-logreg--header">\r\n\r\n                        <span class="wpdui-icon wpdui-icon-profile-female"></span>\r\n\r\n                        <h3 class="wpmudev-logreg--title">{{ Forminator.l10n.login.registration_label }}</h3>\r\n\r\n                    </div>\r\n\r\n                    <div class="wpmudev-logreg--section">\r\n\r\n                        <p class="wpmudev-logreg--description">{{ Forminator.l10n.login.registration_description }}</p>\r\n\r\n                        <div class="wpmudev-logreg--image">\r\n                            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r\n                                 width="183" height="97" viewBox="0 0 183 97" preserveAspectRatio="none"\r\n                                 class="wpmudev-svg-registration">\r\n                                <defs>\r\n                                    <path id="a" d="M0 58h183v15H0z"/>\r\n                                    <path id="b" d="M0 23h183v15H0z"/>\r\n                                </defs>\r\n                                <g fill="none" fill-rule="evenodd">\r\n                                    <rect width="50" height="14" y="83" fill="#353535" rx="3"/>\r\n                                    <path fill="#FBFBFB" stroke="#E1E1E1" d="M.5 58.5h182v14H.5z"/>\r\n                                    <path fill="#808285" d="M0 51h40v2H0z"/>\r\n                                    <path fill="#FBFBFB" stroke="#E1E1E1" d="M.5 23.5h182v14H.5z"/>\r\n                                    <path fill="#808285" d="M0 16h40v2H0z"/>\r\n                                    <path fill="#353535" d="M0 0h120v6H0z"/>\r\n                                </g>\r\n                            </svg>\r\n                        </div>\r\n\r\n                    </div>\r\n\r\n                </a>\r\n\r\n            </div>\r\n\r\n        </div>\r\n    <\/script>\r\n\r\n    <script type="text/template" id="forminator-quizzes-popup-tpl">\r\n\r\n        <div class="wpmudev-row">\r\n\r\n            <div class="wpmudev-col col-12 col-sm-6">\r\n\r\n                <a class="wpmudev-quiz--type" href="{{ nowrongUrl }}">\r\n\r\n                    <div class="wpmudev-quiztype--header">\r\n\r\n                        <div class="wpmudev-quiztype--icon" aria-hidden="true"><span\r\n                                class="wpdui-icon wpdui-icon-like"></span></div>\r\n\r\n                        <h3 class="wpmudev-quiztype--title">{{ Forminator.l10n.quizzes.nowrong_label }}</h3>\r\n\r\n                    </div>\r\n\r\n                    <div class="wpmudev-quiztype--section">\r\n\r\n                        <p class="wpmudev-quiztype--text">{{ Forminator.l10n.quizzes.nowrong_description }}</p>\r\n\r\n                    </div>\r\n\r\n                </a>\r\n\r\n            </div>\r\n\r\n            <div class="wpmudev-col col-12 col-sm-6">\r\n\r\n                <a class="wpmudev-quiz--type" href="{{ knowledgeUrl }}">\r\n\r\n                    <div class="wpmudev-quiztype--header">\r\n\r\n                        <div class="wpmudev-quiztype--icon" aria-hidden="true"><span\r\n                                class="wpdui-icon wpdui-icon-academy"></span></div>\r\n\r\n                        <h3 class="wpmudev-quiztype--title">{{ Forminator.l10n.quizzes.knowledge_label }}</h3>\r\n\r\n                    </div>\r\n\r\n                    <div class="wpmudev-quiztype--section">\r\n\r\n                        <p class="wpmudev-quiztype--text">{{ Forminator.l10n.quizzes.knowledge_description }}</p>\r\n\r\n                    </div>\r\n\r\n                </a>\r\n\r\n            </div>\r\n\r\n        </div>\r\n\r\n    <\/script>\r\n\t\r\n    <script type="text/template" id="forminator-exports-schedule-popup-tpl">\r\n\t\t\r\n\t\t<form method="post">\r\n\t\t\t\r\n\t\t\t<div class="wpmudev-toggle">\r\n\t\t\t\t\r\n\t\t\t\t<div class="wpmudev-toggle--design wpmudev-switch-normal">\r\n\t\t\t\t\t<input type="checkbox" class="forminator-field-singular" id="forminator-enable-scheduled-exports" name="enabled" value="true" title="Enable scheduled exports">\r\n\t\t\t\t\t<label for="forminator-enable-scheduled-exports" class="wpmudev-label-container"></label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<label for="forminator-enable-scheduled-exports" class="wpmudev-toggle--label wpmudev-label-container">Enable scheduled exports</label>\r\n\r\n\t\t\t\t<div class="wpmudev-toggle--box wpmudev-is_gray">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div id="forminator-export-schedule-timeframe" class="wpmudev-row">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.popup.frequency }}</label>\r\n\r\n\t\t\t\t\t\t\t<select name="interval" class="wpmudev-select">\r\n\t\t\t\t\t\t\t\t<option value="daily">{{ Forminator.l10n.popup.daily }}</option>\r\n\t\t\t\t\t\t\t\t<option value="weekly">{{ Forminator.l10n.popup.weekly }}</option>\r\n\t\t\t\t\t\t\t\t<option value="monthly">{{ Forminator.l10n.popup.monthly }}</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.popup.week_day }}</label>\r\n\r\n\t\t\t\t\t\t\t<select name="day" class="wpmudev-select">\r\n\t\t\t\t\t\t\t\t<option value="mon">{{ Forminator.l10n.popup.monday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="tue">{{ Forminator.l10n.popup.tuesday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="wed">{{ Forminator.l10n.popup.wednesday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="thu">{{ Forminator.l10n.popup.thursday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="fri">{{ Forminator.l10n.popup.friday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="sat">{{ Forminator.l10n.popup.saturday }}</option>\r\n\t\t\t\t\t\t\t\t<option value="sun">{{ Forminator.l10n.popup.sunday }}</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">Day of the month</label>\r\n\r\n\t\t\t\t\t\t\t<select name="month_day" class="wpmudev-select">\r\n\t\t\t\t\t\t\t\t<option value="1">1</option>\r\n\t\t\t\t\t\t\t\t<option value="2">2</option>\r\n\t\t\t\t\t\t\t\t<option value="3">3</option>\r\n\t\t\t\t\t\t\t\t<option value="4">4</option>\r\n\t\t\t\t\t\t\t\t<option value="5">5</option>\r\n\t\t\t\t\t\t\t\t<option value="6">6</option>\r\n\t\t\t\t\t\t\t\t<option value="7">7</option>\r\n\t\t\t\t\t\t\t\t<option value="8">8</option>\r\n\t\t\t\t\t\t\t\t<option value="9">9</option>\r\n\t\t\t\t\t\t\t\t<option value="10">10</option>\r\n\t\t\t\t\t\t\t\t<option value="11">11</option>\r\n\t\t\t\t\t\t\t\t<option value="12">12</option>\r\n\t\t\t\t\t\t\t\t<option value="13">13</option>\r\n\t\t\t\t\t\t\t\t<option value="14">14</option>\r\n\t\t\t\t\t\t\t\t<option value="15">15</option>\r\n\t\t\t\t\t\t\t\t<option value="16">16</option>\r\n\t\t\t\t\t\t\t\t<option value="17">17</option>\r\n\t\t\t\t\t\t\t\t<option value="18">18</option>\r\n\t\t\t\t\t\t\t\t<option value="19">19</option>\r\n\t\t\t\t\t\t\t\t<option value="20">20</option>\r\n\t\t\t\t\t\t\t\t<option value="21">21</option>\r\n\t\t\t\t\t\t\t\t<option value="22">22</option>\r\n\t\t\t\t\t\t\t\t<option value="23">23</option>\r\n\t\t\t\t\t\t\t\t<option value="24">24</option>\r\n\t\t\t\t\t\t\t\t<option value="25">25</option>\r\n\t\t\t\t\t\t\t\t<option value="26">26</option>\r\n\t\t\t\t\t\t\t\t<option value="27">27</option>\r\n\t\t\t\t\t\t\t\t<option value="28">28</option>\r\n\t\t\t\t\t\t\t\t<option value="29">29</option>\r\n\t\t\t\t\t\t\t\t<option value="30">30</option>\r\n\t\t\t\t\t\t\t\t<option value="31">31</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.popup.day_time }}</label>\r\n\r\n\t\t\t\t\t\t\t<select name="hour" class="wpmudev-select">\r\n\t\t\t\t\t\t\t\t<option value="00:00">12:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="01:00">01:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="02:00">02:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="03:00">03:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="04:00">04:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="05:00">05:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="06:00">06:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="07:00">07:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="08:00">08:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="09:00">09:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="10:00">10:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="11:00">11:00 AM</option>\r\n\t\t\t\t\t\t\t\t<option value="12:00">12:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="13:00">01:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="14:00">02:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="15:00">03:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="16:00">04:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="17:00">05:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="18:00">06:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="19:00">07:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="20:00">08:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="21:00">09:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="22:00">10:00 PM</option>\r\n\t\t\t\t\t\t\t\t<option value="23:00">11:00 PM</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div id="forminator-export-schedule-email" class="wpmudev-row">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.popup.email_to }}</label>\r\n\r\n\t\t\t\t\t\t\t<input type="email" name="email" class="wpmudev-input"\r\n\t\t\t\t\t\t\t\tvalue="{{ Forminator.l10n.exporter.email }}" placeholder="{{ Forminator.l10n.popup.email_placeholder }}">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-helper">{{ Forminator.l10n.popup.schedule_help }}</label>\r\n\r\n\t\t\t\t\t\t\t<input type="hidden" name="form_id" value="{{ Forminator.l10n.exporter.form_id }}"/>\r\n\t\t\t\t\t\t\t<input type="hidden" name="form_type" value="{{ Forminator.l10n.exporter.form_type }}"/>\r\n\t\t\t\t\t\t\t<input type="hidden" name="action" value="forminator_export_entries"/>\r\n\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<button type="submit" class="wpmudev-button wpmudev-button-blue">{{ Forminator.l10n.popup.save_changes }}</button>\r\n\r\n\t\t</form>\r\n\t\t\r\n    <\/script>\r\n\r\n    <script type="text/template" id="forminator-new-form-popup-tpl">\r\n\r\n        <div class="wpmudev-box--congrats">\r\n\r\n            <div class="wpmudev-congrats--image"></div>\r\n\r\n            <div class="wpmudev-congrats--message">\r\n\r\n                <p><strong>{{ title }}</strong> {{ Forminator.l10n.popup.is_ready }}<br/>\r\n\t\t\t\t\t{{ Forminator.l10n.popup.new_form_desc }}</p>\r\n\t\t\t\t\t\r\n            </div>\r\n\r\n\t\t</div>\r\n\t\t\r\n\t<\/script>\r\n\t\r\n    <script type="text/template" id="forminator-delete-popup-tpl">\r\n\r\n\t\t<p>{{ Forminator.l10n.popup.cannot_be_reverted }}</p>\r\n\t\r\n\t\t<form method="post">\r\n\t\t\t<input type="hidden" name="formninator_action" value="delete">\r\n\t\t\t<input type="hidden" name="id" value="{{ id }}">\r\n\t\t\t<input type="hidden" id="forminatorNonce" name="forminatorNonce" value="{{ nonce }}">\r\n\t\t\t<input type="hidden" name="_wp_http_referer" value="{{ referrer }}">\t\r\n\t\t\t<button type="submit" class="wpmudev-button wpmudev-button-red forminator-delete-module-confirm">{{ Forminator.l10n.popup.delete }}</button>\r\n\t\t\t<button type="button" class="wpmudev-button wpmudev-button-blue forminator-delete-module-cancel">{{ Forminator.l10n.popup.cancel }}</button>\r\n\t\t</form>\r\n\t\r\n\t<\/script>\r\n\r\n    <script type="text/template" id="forminator-confirmation-popup-tpl">\r\n\r\n        <p>{{ confirmation_message }}</p>\r\n\r\n        <form method="post">\r\n            <button type="button" class="wpmudev-button wpmudev-button-red popup-confirmation-confirm">{{ Forminator.l10n.popup.delete }}</button>\r\n            <button type="button" class="wpmudev-button wpmudev-button-blue popup-confirmation-cancel">{{ Forminator.l10n.popup.cancel }}</button>\r\n        </form>\r\n\r\n    <\/script>\r\n\t\r\n</div>\r\n'}),function(t){formintorjs.define("admin/popup/templates",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-popup-templates",newFormTpl:Forminator.Utils.template(t(e).find("#forminator-new-form-tpl").html()),templatesTpl:Forminator.Utils.template(t(e).find("#forminator-new-form-template-list-tpl").html()),events:{"click .wpmudev-template--type":"create_form"},render:function(){this.$el.html(this.newFormTpl()),this.$el.append(this.templatesTpl({templates:Forminator.Data.modules.custom_form.templates}))},create_form:function(e){e.preventDefault();var n=t(e.target).closest(".wpmudev-template--type"),i=t(e.target).closest(".wpmudev-box-section").find(".wpmudev-create-form-field"),a=n.data("template");if(""===i.val())this.$el.find("#forminator-validate-name").show();else{var r=Forminator.Data.modules.custom_form.new_form_url;this.$el.find("#forminator-validate-name").hide(),r=r+"&name="+i.val()+"&template="+a,window.location.href=r}}})})}(jQuery),function(t){formintorjs.define("admin/popup/login",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",popupTpl:Forminator.Utils.template(t(e).find("#forminator-login-popup-tpl").html()),render:function(){this.$el.html(this.popupTpl({loginUrl:Forminator.Data.modules.login.login_url,registerUrl:Forminator.Data.modules.login.register_url}))}})})}(jQuery),function(t){formintorjs.define("admin/popup/quizzes",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-popup--quiz",popupTpl:Forminator.Utils.template(t(e).find("#forminator-quizzes-popup-tpl").html()),render:function(){this.$el.html(this.popupTpl({nowrongUrl:Forminator.Data.modules.quizzes.nowrong_url,knowledgeUrl:Forminator.Data.modules.quizzes.knowledge_url}))}})})}(jQuery),function(t){formintorjs.define("admin/popup/schedule",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",popupTpl:Forminator.Utils.template(t(e).find("#forminator-exports-schedule-popup-tpl").html()),events:{'change select[name="interval"]':"on_change_interval","change .wpmudev-switch-normal .forminator-field-singular":"on_change","click .wpmudev-toggle .wpmudev-label-normal":"click_label"},render:function(){this.$el.html(this.popupTpl({})),Forminator.Utils.init_select2();var t=forminator_l10n.exporter;this.$el.find('input[name="enabled"]').prop("checked",t.enabled),t.enabled?this.$el.find('input[name="email"]').prop("required",!0):this.$el.find(".wpmudev-toggle--box").hide(),this.$el.find('select[name="interval"]').change(),null!==t.email&&(this.$el.find('select[name="interval"]').val(t.interval),this.$el.find('select[name="day"]').val(t.day),this.$el.find('select[name="month_day"]').val(t.month_day?t.month_day:1),this.$el.find('select[name="hour"]').val(t.hour),"weekly"===t.interval?this.$el.find('select[name="day"]').parent().show():"monthly"===t.interval&&this.$el.find('select[name="month_day"]').parent().show())},on_change_interval:function(t){this.$el.find('select[name="day"]').parent().hide(),this.$el.find('select[name="month_day"]').parent().hide(),"weekly"===t.target.value?(this.$el.find('select[name="month-day"]').parent().hide(),this.$el.find('select[name="day"]').parent().show()):"monthly"===t.target.value&&(this.$el.find('select[name="month_day"]').parent().show(),this.$el.find('select[name="day"]').parent().hide())},click_label:function(t){t.preventDefault(),this.$el.find(".wpmudev-switch-normal .forminator-field-singular").click()},get_value:function(){var t=this.$el.find(":checkbox"),e=t.val();return t.is(":checked")&&e?e:""},on_change:function(){this.trigger("changed",this.get_value()),this.$el.find(".wpmudev-toggle--box").toggle(),this.$el.find('input[name="email"]').prop("required","true"===this.get_value())}})})}(jQuery),function(t){formintorjs.define("admin/popup/new-form",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",popupTpl:Forminator.Utils.template(t(e).find("#forminator-new-form-popup-tpl").html()),initialize:function(t){this.title=t.title,this.title=Forminator.Utils.sanitize_uri_string(this.title)},render:function(){this.$el.html(this.popupTpl({title:this.title}))}})})}(jQuery),function(t){formintorjs.define("admin/popup/ajax",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",events:{"click .wpmudev-action-done":"save","click .wpmudev-button-clear-exports":"clear_exports","click .forminator-radio--field":"show_poll_custom_input"},initialize:function(t){return this.action=t.action,this.nonce=t.nonce,this.data=t.data,this.id=t.id,this.render()},render:function(){var e=this,n={};n.action="forminator_load_"+this.action+"_popup",n._ajax_nonce=this.nonce,n.data=this.data,this.id&&(n.id=this.id),e.$el.html('<div class="preloader"><div class="wpmudev-loading"></div></div>'),e.$el.find(".preloader .wpmudev-loading").css({width:"32px",height:"32px"}),t.post(Forminator.Data.ajaxUrl,n).done(function(t){if(t&&t.success){e.$el.html(t.data),e.$el.find(".wpmudev-hidden-popup").show(400),Forminator.Utils.init_select2();var n=e.$el.find(".forminator-custom-form");n.length>0&&Forminator.Pagination.init(n),e.delegateEvents()}}).always(function(){e.$el.find(".preloader").remove()})},save:function(e){e.preventDefault();var n={},i=t(e.target).data("nonce");n.action="forminator_save_"+this.action+"_popup",n._ajax_nonce=i,t(".wpmudev-popup-form input, .wpmudev-popup-form select").each(function(){var e=t(this);n[e.attr("name")]=e.val()}),t.ajax({url:Forminator.Data.ajaxUrl,type:"POST",data:n,success:function(t){Forminator.Popup.close(!1,function(){window.location.reload()})}})},clear_exports:function(e){e.preventDefault();var n={},i=this,a=t(e.target).data("nonce"),r=t(e.target).data("form-id");n.action="forminator_clear_"+this.action+"_popup",n._ajax_nonce=a,n.id=r,t.ajax({url:Forminator.Data.ajaxUrl,type:"POST",data:n,success:function(){i.render()}})},show_poll_custom_input:function(e){var n=this,i=this.$el.find(".forminator-input"),a=e.target.checked,r=t(e.target).attr("id");if(i.hide(),n.$el.find(".forminator-input#"+r+"-extra").length){var o=n.$el.find(".forminator-input#"+r+"-extra");a?o.show():o.hide()}}})})}(jQuery),function(t){formintorjs.define("admin/popup/delete",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",popupTpl:Forminator.Utils.template(t(e).find("#forminator-delete-popup-tpl").html()),initialize:function(t){this.nonce=t.nonce,this.id=t.id,this.referrer=t.referrer},render:function(){this.$el.html(this.popupTpl({nonce:this.nonce,id:this.id,referrer:this.referrer}))}})})}(jQuery),function(t){formintorjs.define("admin/popups",["admin/popup/templates","admin/popup/login","admin/popup/quizzes","admin/popup/schedule","admin/popup/new-form","admin/popup/ajax","admin/popup/delete"],function(e,n,i,a,r,o,l){var s=Backbone.View.extend({el:"#wpmudev-main",events:{"click .wpmudev-open-modal":"open_modal","click .wpmudev-button-open-modal":"open_modal"},initialize:function(){var t=Forminator.Utils.get_url_param("new"),e=Forminator.Utils.get_url_param("title");if(t){var n=new r({title:e});n.render(),this.open_popup(n,Forminator.l10n.popup.congratulations)}return this.render()},render:function(){return this},open_modal:function(e){e.preventDefault();var n=t(e.target);t(e.target).closest(".wpmudev-split--item");n.hasClass("wpmudev-open-modal")||n.hasClass("wpmudev-button-open-modal")||(n=n.closest(".wpmudev-open-modal"));var i=n.data("modal"),a=n.data("nonce"),r=n.data("form-id"),o=n.data("modal-title");switch(i){case"custom_forms":this.open_cform_popup();break;case"login_registration_forms":this.open_login_popup();break;case"polls":this.open_polls_popup();break;case"quizzes":this.open_quizzes_popup();break;case"exports":this.open_settings_modal(i,a,r,Forminator.l10n.popup.your_exports);break;case"exports-schedule":this.open_exports_schedule_popup();break;case"delete-module":this.open_delete_popup(r,a);break;case"paypal":this.open_settings_modal(i,a,r,Forminator.l10n.popup.paypal_settings);break;case"preview_cforms":_.isUndefined(o)&&(o=Forminator.l10n.popup.preview_cforms),this.open_settings_modal(i,a,r,o);break;case"preview_polls":_.isUndefined(o)&&(o=Forminator.l10n.popup.preview_polls),this.open_settings_modal(i,a,r,o);break;case"preview_quizzes":_.isUndefined(o)&&(o=Forminator.l10n.popup.preview_quizzes),this.open_settings_modal(i,a,r,o);break;case"captcha":this.open_settings_modal(i,a,r,Forminator.l10n.popup.captcha_settings);break;case"currency":this.open_settings_modal(i,a,r,Forminator.l10n.popup.currency_settings);break;case"pagination_entries":this.open_settings_modal(i,a,r,Forminator.l10n.popup.pagination_entries);break;case"pagination_listings":this.open_settings_modal(i,a,r,Forminator.l10n.popup.pagination_listings);break;case"uninstall_settings":this.open_settings_modal(i,a,r,Forminator.l10n.popup.uninstall_settings);break;case"privacy_settings":this.open_settings_modal(i,a,r,Forminator.l10n.popup.privacy_settings)}},open_popup:function(e,n){_.isUndefined(n)&&(n=Forminator.l10n.custom_form.popup_label),Forminator.Popup.open(function(){_.isUndefined(e.el)?t(this).append(e):t(this).append(e.el)},{title:n})},open_ajax_popup:function(e,n,i,a){_.isUndefined(a)&&(a=Forminator.l10n.custom_form.popup_label);var r=new o({action:e,nonce:n,id:i});Forminator.Popup.open(function(){t(this).append(r.el)},{title:a})},open_cform_popup:function(){var t=Forminator.Data.modules.custom_form.new_form_url;window.location.href=t},open_delete_popup:function(t,e){var n=new l({id:t,nonce:e,referrer:window.location.pathname+window.location.search});n.render(),this.open_popup(n,Forminator.l10n.popup.are_you_sure)},open_login_popup:function(){var t=new n;t.render(),this.open_popup(t,Forminator.l10n.popup.edit_login_form)},open_polls_popup:function(){var t=Forminator.Data.modules.polls.new_form_url;window.location.href=t},open_quizzes_popup:function(){var t=new i;t.render(),this.open_popup(t,Forminator.l10n.popup.quiz_type)},open_exports_schedule_popup:function(){var t=new a;t.render(),this.open_popup(t,Forminator.l10n.popup.edit_scheduled_export)},open_settings_modal:function(t,e,n,i){this.open_ajax_popup(t,e,n,i)}});jQuery(document).ready(function(){new s})})}(jQuery),function(t){formintorjs.define("admin/settings/setting",[],function(){return Backbone.View.extend({events:{},className:"wpmudev-option",initialize:function(t){if(this.options=t,this.model)return this.id=this.options.id,this.name=this.options.name,this.layout=this.options.layout,this.multiple=void 0!==this.options.multiple?this.options.multiple:void 0!==this.multiple&&this.multiple,this.title=void 0!==this.options.title?this.options.title:"",this.label=void 0!==this.options.label?this.options.label:"",this.default_value=void 0!==this.options.default_value?this.options.default_value:this.multiple?[]:"",this.init&&this.init(this.options),this.options.init&&this.options.init(),this.options.change?this.on("changed",this.options.change,this):this.on("changed",this.change,this),this.options.focus&&this.on("focus",this.options.focus,this),this.options.blur&&this.on("blur",this.options.blur,this),this.options.rendered&&this.on("rendered",this.options.rendered,this),this.options.on_click&&(this.on_click=this.options.on_click),this.options.on_change&&this.on("updated",this.options.on_change,this),this.on("changed rendered",this.trigger_show),this.once("rendered",function(){var t=this;this.get_field().on("focus",function(){t.trigger("focus")}).on("blur",function(){t.trigger("blur")})},this),this.render()},get_field_id:function(){return this.id},get_name:function(){return this.name},get_field:function(){return this.$el.find("[name="+this.get_name()+"]")},get_value:function(){var e=this.get_field();return this.multiple&&1!==e.size()?_.map(e,function(e){return t(e).val()}):e.val()},set_value:function(t){this.get_field().val(t)},get_saved_value:function(){var e=this.model.get(this.name);return _.isString(e)&&!_.isEmpty(e)?e=e.replace(/"/g,"&quot;"):_.isArray(e)&&!_.isEmpty(e)&&t.each(e,function(){void 0!==this.label&&(this.label=this.label.replace(/"/g,"&quot;"))}),e||this.default_value},save_value:function(t){this.model.set(this.name,t)},trigger_show:function(){this.options.show&&this.options.show(this.get_saved_value())},change:function(t){this.save_value(t),this.options.on_change&&this.options.on_change(t)},get_title_html:function(){if(!0===this.options.show_title)return'<label class="wpmudev-label--title">'+this.title+"</label>"},get_label_html:function(){if(!0===this.options.hide_label)return"";var t={for:this.get_field_id(),class:"wpmudev-label"};return"<label "+this.get_field_attr_html(t)+">"+this.label+"</label>"},get_field_attr_html:function(t){return _.map(t,function(t,e){return e+'="'+t+'"'}).join(" ")},get_field_html:function(){return""},on_render:function(){return!1},render:function(){this.$el.html(""),this.$el.append(this.get_title_html()),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html()),this.trigger("rendered",this.get_value()),this.on_render()}})})}(jQuery),function(t){formintorjs.define("admin/settings/text",["admin/settings/setting"],function(t){return t.extend({className:"wpmudev-option",on_render:function(){var t=this;this.get_field().keyup(function(){t.trigger("changed",t.get_value())}).trigger("keyup").change(function(){t.trigger("changed",t.get_value())})},get_field_html:function(){var t={type:"text",id:this.get_field_id(),name:this.get_name(),value:this.get_saved_value(),placeholder:this.options.placeholder?this.options.placeholder:"",title:this.label};inputClass="",
this.options.inputLarge&&(inputClass=" wpmudev-input--lg"),this.options.inputSmall&&(inputClass=" wpmudev-input--sm");var e="";return this.options.description&&(e='<label class="wpmudev-label--description">'+this.options.description+"</label>"),'<input class="forminator-field-singular wpmudev-input'+inputClass+'" '+this.get_field_attr_html(t)+" />"+e}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-setting",["admin/settings/setting"],function(t){return t.extend(_.extend({},{get_field_html:function(){var t={class:"wpmudev-toggle"};return"<div "+this.get_field_attr_html(t)+">"+this.get_values_html()+"</div>"},get_values_html:function(){return _.map(this.options.values,this.get_value_html,this).join("")},set_value:function(t){this.$el.find('[value="'+t+'"]').trigger("click")}}))})}(jQuery),function(t){formintorjs.define("admin/settings/toggle",["admin/settings/multi-setting"],function(t){return t.extend({multiple:!1,events:{"change .wpmudev-switch-normal .forminator-field-singular":"on_change","click .wpmudev-toggle .wpmudev-label-normal":"click_label"},className:"wpmudev-option",click_label:function(t){t.preventDefault(),this.$el.find(".wpmudev-switch-normal .forminator-field-singular").click()},get_value_html:function(t,e){var n={type:"checkbox",class:"forminator-field-singular",id:this.get_field_id(),name:this.get_name(),value:t.value,title:t.label};return!_.isUndefined(t.disabled)&&t.disabled&&(n.disabled="disabled"),this.get_saved_value()===t.value&&(n.checked="checked"),labelClass="",t.labelSmall&&(labelClass=" wpmudev-label--sm"),t.labelBig&&(labelClass=" wpmudev-label--big"),t.hideTL?'<div class="wpmudev-toggle--design wpmudev-switch-normal"><input '+this.get_field_attr_html(n)+' /><label for="'+this.get_field_id()+'" class="wpmudev-label-normal"></label></div>':'<div class="wpmudev-toggle--design wpmudev-switch-normal"><input '+this.get_field_attr_html(n)+' /><label for="'+this.get_field_id()+'" class="wpmudev-label-normal"></label></div><label for="'+this.get_field_id()+'" class="wpmudev-toggle--label'+labelClass+' wpmudev-label-normal">'+t.label+"</label>"},get_value:function(){var t=this.$el.find(":checkbox"),e=t.val();return t.is(":checked")&&e?e:""},on_change:function(){this.trigger("changed",this.get_value())}})})}(jQuery),function(t){formintorjs.define("admin/settings/toggle-container",["admin/settings/toggle"],function(e){return e.extend({multiple:!1,events:{"change .wpmudev-switch-container .forminator-field-singular":"on_change","click .wpmudev-label-container":"click_label"},className:"wpmudev-option",click_label:function(t){t.preventDefault(),this.$el.find(".wpmudev-switch-container .forminator-field-singular").click()},get_value_html:function(t,e){var n={type:"checkbox",class:"forminator-field-singular",id:this.get_field_id(),name:this.get_name(),value:t.value,title:t.label};return this.get_saved_value()===t.value&&(n.checked="checked"),labelClass="",t.labelSmall&&(labelClass=" wpmudev-label--sm"),t.labelBig&&(labelClass=" wpmudev-label--big"),t.hideTL?'<div class="wpmudev-toggle--design wpmudev-switch-container"><input '+this.get_field_attr_html(n)+' /><label for="'+this.get_field_id()+'" class="wpmudev-label-container"></label></div>':'<div class="wpmudev-toggle--design wpmudev-switch-container"><input '+this.get_field_attr_html(n)+' /><label for="'+this.get_field_id()+'" class="wpmudev-label-container"></label></div><label for="'+this.get_field_id()+'" class="wpmudev-toggle--label'+labelClass+' wpmudev-label-container">'+t.label+"</label>"},get_field_html:function(){var t="",e="";return this.options.has_content&&(t=" wpmudev-has_content"),this.options.containerClass&&(e=" "+this.options.containerClass),'<div class="wpmudev-toggle'+t+'">'+this.get_values_html()+'<div class="wpmudev-toggle--box'+e+' wpmudev-option--switch_content"></div></div>'},on_change:function(){this.trigger("changed",this.get_value())},get_value:function(){var t=this.get_field(),e=t.val();return t.is(":checked")&&e?e:""},trigger_show:function(t){this.toggle_wrapper(t),this.options.show&&this.options.show(t)},toggle_wrapper:function(){var e=this;"true"===this.get_value()?(this.$el.find(".wpmudev-toggle").hasClass("wpmudev-has_content")&&this.$el.find(".wpmudev-has_content").addClass("wpmudev-is_active"),this.$el.find(".wpmudev-toggle--box").hasClass("wpmudev-has_cols")?this.$el.find(".wpmudev-option--switch_content").css("display","flex"):this.$el.find(".wpmudev-option--switch_content").show(),this.options.hasOpposite&&setTimeout(function(){t(e.options.hasOpposite).hide()},100)):(this.$el.find(".wpmudev-toggle").hasClass("wpmudev-has_content")&&this.$el.find(".wpmudev-has_content").removeClass("wpmudev-is_active"),this.$el.find(".wpmudev-option--switch_content").hide(),this.options.hasOpposite&&setTimeout(function(){t(e.options.hasOpposite).show()},100))}})})}(jQuery),function(t){formintorjs.define("admin/settings/separator",["admin/settings/text"],function(t){return t.extend({multiple:!1,className:"wpmudev-option--border",get_field_html:function(){return'<div class="wpmudev-border">'},get_label_html:function(){return""}})})}(jQuery),function(t){formintorjs.define("admin/settings/radio",["admin/settings/multi-setting"],function(e){return e.extend({multiple:!0,className:"wpmudev-option",events:{"click .wpmudev-tab label":"click_label"},click_label:function(e){e.preventDefault(),t(e.target).closest(".wpmudev-tab").find(".forminator-field-singular").click()},render:function(){var e=this;this.$el.html(""),this.label&&this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html()),this.$el.on("change",".wpmudev-tab input",function(){e.$el.find(".wpmudev-tab").each(function(){t(this).find("input:checked").size()>0?t(this).addClass("wpmudev-is_active"):t(this).removeClass("wpmudev-is_active")}),e.trigger("changed",e.get_value())}),this.trigger("rendered"),this.on_render()},get_field_html:function(){var t="",e="",n="";return this.options.containerSize&&(t=" wpmudev-tabs--"+this.options.containerSize),this.options.sizeLarge&&(e=" wpmudev-tabs--lg"),this.options.sizeSmall&&(e=" wpmudev-tabs--sm"),this.options.itemsColor&&(n=" wpmudev-tabs--"+this.options.itemsColor),'<div class="wpmudev-tabs'+t+e+n+'">'+this.get_values_html()+"</div>"},get_value_html:function(t,e){var n="wpmudev-tab",i=this.get_saved_value(),a={type:"radio",class:"forminator-field-singular forminator-field-required",id:this.get_field_id(),name:this.get_name(),value:t.value,title:t.label};return i==t.value&&(a.checked="checked"),t.checked&&(a.checked="checked"),a.checked&&(n+=" wpmudev-is_active"),this.options.hasIcon?(n+=" wpmudev-has_icon",iclasses="wpdui-icon",this.options.iconTop&&(n+=" wpmudev-icon_top"),t.iconClass&&(iclasses+=" "+t.iconClass),'<div class="'+n+'"><input '+this.get_field_attr_html(a)+'><label for="'+this.get_field_id()+'" class="'+iclasses+'"><span>'+t.label+"</span></label></div>"):'<div class="'+n+'"><input '+this.get_field_attr_html(a)+'><label for="'+this.get_field_id()+'">'+t.label+"</label></div>"},get_value:function(){return this.$el.find(":checked").val()},on_change:function(){this.trigger("changed",this.get_value())}})})}(jQuery),formintorjs.define("text!tpl/fields.html",[],function(){return'<div>\r\n\r\n\t<script type="text/template" id="builder-field-main-tpl">\r\n\r\n\t\t\t<div class="wpmudev-form-field forminator-field-type_{{ field.type }}">\r\n\r\n\t\t\t\t<div class="wpmudev-form-field--section">\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t{[ if( field.use_conditions === "true" ) { ]}\r\n\r\n\t\t\t\t<div class="wpmudev-form-field--footer">\r\n\r\n\t\t\t\t\t{[ if( field.conditions && field.conditions.length > 0 ) { ]}\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-link"></span>\r\n\t\t\t\t\t\t<p class="wpmudev-conditions--text">{{ condition }}</p>\r\n\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-link"></span>\r\n               \t\t\t<p class="wpmudev-conditions--text">{{ Forminator.l10n.builder.no_conditions }}</p>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t{[ } ]}\r\n\r\n\t\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Select --\x3e\r\n\t<script type="text/template" id="builder-field-select-tpl">\r\n\r\n\t\t<select class="wpmudev-form-field--select" style="width: 100%;" {{ field.required ? \'required\' : \'\' }}>\r\n\r\n\t\t{[ _.each( field.options, function( value, key ){ ]}\r\n\t\t\t<option>{{ value.label }}</option>\r\n\t\t{[ }) ]}\r\n\r\n\t\t</select>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-field-input-tpl">\r\n\r\n\t\t<input type="{{ field.type }}" class="wpmudev-form-field--{{ field.type }}" {{ field.required ? \'required\' : \'\' }}>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-field-checkbox-tpl">\r\n\r\n\t\t{[ _.each( field.options, function( value, key ){ ]}\r\n\r\n\t\t\t<div class="wpmudev-form-field--checkbox">\r\n\r\n\t\t\t\t<div class="wpmudev-checkbox--design">\r\n\r\n\t\t\t\t\t<input type="checkbox" id="{{ value.id }}">\r\n\r\n\t\t\t\t\t<label for="{{ value.id }}" class="wpdui-icon wpdui-icon-check"></label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<label for="{{ value.id }}" class="wpmudev-checkbox--label">{{ value.label }}</label>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t{[ }) ]}\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multiple Value --\x3e\r\n\t<script type="text/template" id="settings-field-multiple-tpl">\r\n\r\n\t\t<div class="wpmudev-multivalue" aria-hidden="true">\r\n\r\n\t\t\t<div class="wpmudev-multivalue--header">\r\n\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.label }}</label>\r\n\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.value }}</label>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multivalue--section">\r\n\r\n\t\t\t\t<div class="wpmudev-multivalue--empty">\r\n\r\n\t\t\t\t\t<p>{{ Forminator.l10n.options.no_options }}</p>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<ul class="wpmudev-multivalue--items">{{ childs }}</ul>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multivalue--footer">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-option">{{ Forminator.l10n.sidebar.add_option }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multiple Value (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-multiple-row-tpl">\r\n\r\n\t\t<li class="wpmudev-multivalue--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--main">\r\n\r\n\t\t\t\t<div class="wpmudev-item--move">\r\n\r\n\t\t\t\t\t<span class="wpmudev-icon--drag">\r\n\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\r\n\t\t\t\t\t</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--label">\r\n\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.label }}</label>\r\n\r\n\t\t\t\t\t<input class="wpmudev-input wpmudev-input--sm wpmudev-fill--label-input" value="{{ row.label }}" />\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--value">\r\n\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.value }}</label>\r\n\r\n\t\t\t\t\t<input class="wpmudev-input wpmudev-input--sm wpmudev-fill--value-input" value="{{ row.value }}" />\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--kill">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-button-sm wpmudev-action--kill">\r\n\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-text" aria-hidden="true">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</li>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Date Multiple --\x3e\r\n\t<script type="text/template" id="settings-field-date-multiple-tpl">\r\n\t\t<label for="restrict-date" class="wpmudev-option--label">{{ Forminator.l10n.options.custom_date }}</label>\r\n\t\t<div class="wpmudev-option--dynamicdates">\r\n\t\t\t<div class="restrict-date-field">\r\n\t\t\t\t<input type="text" class="forminator-field-singular wpmudev-option--datepicker" name="date_multiple" value="" placeholder="Pick a date" title="" id="">\r\n\t\t\t\t<button class="wpmudev-button wpmudev-add-date">{{ Forminator.l10n.options.add }}</button>\r\n\t\t\t</div>\r\n\t\t\t<ul class="wpmudev-option--dynamicdates-list">\r\n\t\t\t\t<li class="wpmudev-list-title">{{ Forminator.l10n.options.restricted_dates }}</li>\r\n\t\t\t\t{{ values }}\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Date Multiple (value structure) --\x3e\r\n\t<script type="text/template" id="settings-field-date-multiple-row-tpl">\r\n\t\t<li class="wpmudev-date-choice" data-index="{{ index }}">\r\n\t\t\t<span class="wpmudev-choice-title">{{ value.value }}</span>\r\n\t\t\t<button class="wpmudev-choice-kill">\r\n\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.delete }}</span>\r\n\t\t\t</button>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Product --\x3e\r\n\t<script type="text/template" id="settings-field-product-multiple-tpl">\r\n\t\t<div class="wpmudev-multiproduct">\r\n\t\t\t<div class="wpmudev-multiproduct--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.product.add_variation }}</p>\r\n\t\t\t</div>\r\n\t\t\t<ul class="wpmudev-multiproduct--list">\r\n\t\t\t\t{{ childs }}\r\n\t\t\t</ul>\r\n\t\t\t<div class="wpmudev-multiproduct--actions">\r\n\t\t\t\t<div class="wpmudev-toggle">\r\n\t\t\t\t\t<div class="wpmudev-toggle--design">\r\n\t\t\t\t\t\t<input class="forminator-field-singular forminator-field-required" id="list-all-variations" name="list_variations" value="true" title="List all variations" type="checkbox" {[ if( list_variations === "true" || list_variations === true ) { ]}checked="checked"{[ } ]}>\r\n\t\t\t\t\t\t<label for="list-all-variations"></label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<label for="list-all-variations" class="wpmudev-toggle--label wpmudev-label-list-variations wpmudev-label--sm wpmudev-label-container">{{ Forminator.l10n.product.use_list }}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-variation">{{ Forminator.l10n.product.add_variation }}</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Product (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-product-multiple-row-tpl">\r\n\t\t<li class="wpmudev-list--item" data-index="{{ index }}">\r\n\t\t\t<div class="wpmudev-product">\r\n\t\t\t\t<div class="wpmudev-browse">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.image }}</label>\r\n\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\t\t\t\t\t\t<button class="wpmudev-preview--image wpmudev-open_media">\r\n\t\t\t\t\t\t\t<span class="wpmudev-get_image" style="background-image: url( \'{{ row.image }}\' );"></span>\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.name }}</label>\r\n\t\t\t\t\t<input type="text" class="forminator-field-singular wpmudev-input wpmudev-add-name" value="{{ row.label }}" />\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.price }}</label>\r\n\t\t\t\t\t<input type="number" class="forminator-field-singular wpmudev-input wpmudev-add-price" value="{{ row.value }}" />\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-item--kill">\r\n\t\t\t\t<button class="wpmudev-action--kill">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- List Product --\x3e\r\n\t<script type="text/template" id="settings-field-product-list-tpl">\r\n\t\t<div class="wpmudev-option--productList">\r\n\t\t\t<div class="wpmudev-productList--items">\r\n\t\t\t\t{{ childs }}\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-productList--action">\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-product">Add Product Field</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- List Product (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-product-list-row-tpl">\r\n\t\t<div class="wpmudev-productList--item" data-index="{{ index }}">\r\n\t\t\t<select class="wpmudev-select wpmudev-product-select">\r\n\t\t\t\t{[ _.each( products, function ( product ) { ]}\r\n\t\t\t\t\t<option value="{{ product.element_id }}" {[ if( row.value === product.element_id ) { ]}selected="selected"{[ } ]}>{{ product.label }}</option>\r\n\t\t\t\t{[ }) ]}\r\n\t\t\t</select>\r\n\t\t\t<div class="wpmudev-product--kill">\r\n\t\t\t\t<button class="wpmudev-action--kill">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Answer --\x3e\r\n\t<script type="text/template" id="settings-field-answer-list-tpl">\r\n\t\t<div class="wpmudev-multianswer">\r\n\t\t\t<div class="wpmudev-multianswer--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_answers }}</p>\r\n\t\t\t</div>\r\n\t\t\t <ul class="wpmudev-multianswer--list">\r\n\t\t\t \t{{ childs }}\r\n\t\t\t</ul>\r\n\t\t\t <div class="wpmudev-multianswer--action">\r\n\t\t\t\t  <button class="wpmudev-button wpmudev-add-answer">{{ Forminator.l10n.polls.add_answer }}</button>\r\n\t\t\t </div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Answer (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-answer-list-row-tpl">\r\n\t\t<li class="wpmudev-answer" data-index="{{ index }}">\r\n\t\t\t <div class="wpmudev-answer--move">\r\n\t\t\t\t  <span class="wpmudev-icon--drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t  </span>\r\n\t\t\t </div>\r\n\t\t\t <div class="wpmudev-answer--input">\r\n\t\t\t\t  <input type="text" placeholder="{{ Forminator.l10n.polls.answer_placeholder }}" class="wpmudev-input wpmudev-answer-value" value="{{ row.title }}" />\r\n\t\t\t\t  {[ if( row.use_extra === true ) { ]}\r\n\t\t\t\t\t  <div class="wpmudev-input--extra">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.polls.custom_input_placeholder_label }}</label>\r\n\t\t\t\t\t\t\t<input type="text" placeholder="{{ Forminator.l10n.polls.custom_input_placeholder }}" value="{{ row.extra }}" class="wpmudev-input wpmudev-answer-placeholder" />\r\n\t\t\t\t\t  </div>\r\n\t\t\t\t  {[ } ]}\r\n\t\t\t </div>\r\n\t\t\t <nav class="wpmudev-answer--nav">\r\n\t\t\t\t  <button class="wpmudev-nav--action wpmudev-icon--dots"><span></span></button>\r\n\t\t\t\t  <ul class="wpmudev-answer--menu">\r\n\t\t\t\t\t   {[ if( row.use_extra !== true ) { ]}\r\n\t\t\t\t\t\t\t<li class="wpmudev-action--add_field wpmudev-is_active"><a href="/" class="wpmudev-action--add_field">{{ Forminator.l10n.polls.add_custom_field }}</a></li>\r\n\t\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t\t<li class="wpmudev-action--kill_field"><a href="/">{{ Forminator.l10n.polls.remove_custom_field }}</a></li>\r\n\t\t\t\t\t\t{[ } ]}\r\n\t\t\t\t\t\t<li class="wpmudev-action--kill_answer"><a href="/">{{ Forminator.l10n.polls.delete_answer }}</a></li>\r\n\t\t\t\t  </ul>\r\n\t\t\t </nav>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-tpl">\r\n\r\n\t\t<div class="wpmudev-multiqs--empty">\r\n\r\n\t\t\t<div class="wpmudev-empty--message">\r\n\r\n\t\t\t\t<p>{{ Forminator.l10n.options.multiqs_empty }}</p>\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-add-question">{{ Forminator.l10n.options.add_question }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-multiqs--questions">\r\n\r\n\t\t\t{{ childs }}\r\n\r\n\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-add-question">{{ Forminator.l10n.options.add_question }}</button>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-question-tpl">\r\n\r\n\t\t<div class="wpmudev-multiqs--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.question_title }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-question-title" value="{{ row.title }}" size="1">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-delete-question">{{ Forminator.l10n.options.delete }}</button>\r\n\t\t\t\t\t\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.answers }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\r\n\t\t\t\t\t<div class="wpmudev-multianswer--wrap"></div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question (answer structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-answer-list-tpl">\r\n\t\t<div class="wpmudev-multianswer">\r\n\t\t\t<div class="wpmudev-multianswer--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_answers }}</p>\r\n\t\t\t</div>\r\n\t\t\t <ul class="wpmudev-multianswer--list">\r\n\t\t\t \t{{ childs }}\r\n\t\t \t </ul>\r\n\t\t\t<label class="forminator-validate-correct-answer wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_correct_answer }}</span></label>\r\n\t\t\t <div class="wpmudev-multianswer--action">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-add_answer">{{ Forminator.l10n.options.add_answer }}</button>\r\n\t\t\t </div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Answer (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-answer-tpl">\r\n\r\n\t\t<li class="wpmudev-answer" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-answer--main">\r\n\r\n\t\t\t\t<div class="wpmudev-answer--move">\r\n\t\t\t\t\t<span class="wpmudev-icon--drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-answer--input">\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-answer-value" value="{{ row.title }}">\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-answer--toggle wpmudev-answer-toggle-container">\r\n\t\t\t\t\t<button class="wpmudev-action--options">\r\n\t\t\t\t\t\t<span class="wpmudev-icon--plus"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-answer--options">\r\n\r\n\t\t\t\t<div class="wpmudev-browse">\r\n\r\n\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-preview--image">\r\n\t\t\t\t\t\t\t<div class="wpmudev-get_image" style="background-image: url( {{ row.image }} );"></div>\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-preview--url">\r\n\t\t\t\t\t\t\t<input class="wpmudev-url--input" type="url" value="{{ row.image }}" placeholder="{{ Forminator.l10n.options.placeholder_image_alt }}" size="1" />\r\n\t\t\t\t\t\t\t<button class="wpmudev-url--clear">{{ Forminator.l10n.options.clear }}</button>\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\t\t\t\t{[ if( type === "nowrong" ) { ]}\r\n\t\t\t\t\t<select class="wpmudev-select wpmudev-quiz-results">\r\n\t\t\t\t\t\t<option value="">{{ Forminator.l10n.options.select_result }}</option>\r\n\t\t\t\t\t\t{[ _.each( results, function ( result ) { ]}\r\n\t\t\t\t\t\t\t<option value="{{ result.title }}" {[ if( row.result === result.slug ) { ]}selected="selected"{[ } ]}>{{ result.title }}</option>\r\n\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t</select>\r\n\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t<div class="wpmudev-toggle">\r\n\t\t\t\t\t\t<div class="wpmudev-toggle--design">\r\n\t\t\t\t\t\t\t<input id="forminator-answer_{{ question_index }}_{{ index }}" value="true" type="checkbox" class="wpmudev-answer-toggle" {[ if( row.toggle === true || row.toggle === "true" ) { ]}checked="checked"{[ } ]}>\r\n\t\t\t\t\t\t\t<label for="forminator-answer_{{ question_index }}_{{ index }}"></label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<label for="forminator-answer_{{ question_index }}_{{ index }}" class="wpmudev-toggle--label wpmudev-label--sm">{{ Forminator.l10n.options.correct }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t<button class="wpmudev-option--trash wpmudev-remove-answer">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.trash_answer }}</span>\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</div>\r\n\t\t\t<label class="forminator-validate-answer-result wpmudev-label--notice" style="display: none;" data-index="{{ index }}"><span>{{ Forminator.l10n.quizzes.validate_form_answers_result }}</span></label>\r\n\t\t</li>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Result --\x3e\r\n\t<script type="text/template" id="settings-field-result-list-tpl">\r\n\r\n\t\t<div class="wpmudev-multiresult">\r\n\r\n\t\t\t<div class="wpmudev-multiresult--empty">\r\n\t\t\t\t\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_results }}</p>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiresult--list">{{ childs }}</div>\r\n\r\n\t\t\t<div class="wpmudev-multiresult--action">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-multiresult--add">{{ Forminator.l10n.options.add_result }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Result (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-result-list-row-tpl">\r\n\r\n\t\t<div class="wpmudev-multiresult--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.title }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-result-title" value="{{ row.title }}" />\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.image }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<div class="wpmudev-browse">\r\n\t\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\t\t\t\t\t\t\t<div class="wpmudev-preview--image">\r\n\t\t\t\t\t\t\t\t<div class="wpmudev-get_image" style="background-image: url( {{ row.image }} );"></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-preview--url">\r\n\t\t\t\t\t\t\t\t<input class="wpmudev-url--input wpmudev-result-image" type="url" value="{{ row.image }}" placeholder="{{ Forminator.l10n.options.placeholder_image }}" />\r\n\t\t\t\t\t\t\t\t<button class="wpmudev-url--clear">{{ Forminator.l10n.options.clear }}</button>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<button class="wpmudev-browse--action wpmudev-open_media">{{ Forminator.l10n.options.browse }}</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.description }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<textarea class="wpmudev-textarea wpmudev-result-descrition">{{ row.description }}</textarea>\r\n\t\t\t\t\t<div class="wpmudev-item--trash">\r\n\t\t\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-button-red wpmudev-delete-result">{{ Forminator.l10n.options.delete_result }}</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Order --\x3e\r\n\t<script type="text/template" id="settings-field-order-list-tpl">\r\n\t\t <ul class="wpmudev-multiorder--wrapper">\r\n\t\t\t{{ childs }}\r\n\t\t </ul>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Order (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-order-list-row-tpl">\r\n\t\t<div class="wpmudev-multiorder--item" data-index="{{ index }}">\r\n\t\t\t <div class="wpmudev-item--move">\r\n\t\t\t\t  <span class="wpmudev-icon-drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t  </span>\r\n\t\t\t </div>\r\n\t\t\t <label class="wpmudev-item--name">{{ row.title }}</label>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n</div>\r\n'}),function(t){formintorjs.define("admin/settings/radio-container",["admin/settings/multi-setting","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!0,events:{"click .wpmudev-tab > label":"click_label"},className:"wpmudev-option",click_label:function(e){e.preventDefault(),t(e.target).closest(".wpmudev-tab").find(".forminator-field-singular").click()},render:function(){var e=this;this.$el.html(""),this.label&&this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html()),this.$el.on("change",".wpmudev-tab input",function(){e.$el.find(".wpmudev-tab").each(function(){t(this).find("input:checked").size()>0?t(this).addClass("wpmudev-is_active"):t(this).removeClass("wpmudev-is_active")}),e.trigger("changed",e.get_value())}),this.trigger("rendered"),this.on_render()},get_field_html:function(){var t={class:"wpmudev-tabs"};return"<div "+this.get_field_attr_html(t)+">"+this.get_values_html()+'</div><div class="wpmudev-option--tabs_content">'+this.get_values_container_html()+"</div>"},get_values_container_html:function(){return _.map(this.options.values,this.get_value_container_html,this).join("")},get_value_container_html:function(t,e){var n={class:"wpmudev-option--tab_content wpmudev-radio-tab-"+t.value};return"<div "+this.get_field_attr_html(n)+"></div>"},get_value_html:function(t,e){var n="wpmudev-tab",i={type:"radio",class:"forminator-field-singular forminator-field-required",id:this.get_field_id(),name:this.get_name(),value:t.value,title:t.label};return this.get_saved_value()==t.value&&(i.checked="checked"),t.checked&&(i.checked="checked"),i.checked&&(n+=" wpmudev-is_active"),'<div class="'+n+'"><input '+this.get_field_attr_html(i)+'><label for="'+this.get_field_id()+'">'+t.label+"</label></div>"},get_value:function(){return this.$el.find(":checked").val()},on_change:function(){this.trigger("changed",this.get_value())},trigger_show:function(t){this.toggle_wrapper(t),this.options.show&&this.options.show(t)},toggle_wrapper:function(t){this.$el.find(".wpmudev-option--tab_content").hide(),this.$el.find(".wpmudev-radio-tab-"+this.get_value()).show()}})})}(jQuery),function(t){formintorjs.define("admin/settings/color",["admin/settings/text"],function(t){return t.extend({className:"wpmudev-option forminator-field-wrap-color",get_field_html:function(){var t,e,n={type:"text",id:this.get_field_id(),name:this.get_name(),value:this.get_saved_value(),
"data-default-color":this.options.default_color?this.options.default_color:"","data-alpha":!0};return this.options.tooltip&&(t="wpmudev-tip",e='data-tip="'+this.options.tooltip+'"'),'<div class="wpmudev-picker '+t+'" '+e+"><input "+this.get_field_attr_html(n)+" /></div>"},on_render:function(){var t=this;this.get_field().wpColorPicker({change:function(e,n){t.trigger("changed",n.color.toCSS())}})}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-value",["admin/settings/multi-setting","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add-option":"add_option","click .wpmudev-action--kill":"delete_option","keyup .wpmudev-item--label .wpmudev-input":"update_label","keyup .wpmudev-item--value .wpmudev-input":"update_value"},className:"wpmudev-option",render:function(){this.$el.html(""),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html());var t=this.get_saved_value()||[];_.isEmpty(t)||this.$el.find(".wpmudev-multivalue").addClass("wpmudev-has_options"),this.trigger("rendered",this.get_value()),this.on_render()},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-multiple-tpl").html())({childs:e})},get_values_html:function(){var t=this.get_saved_value()||[];return _.map(t,this.get_value_html,this).join("")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-multiple-row-tpl").html())({row:e,index:i})},update_label:function(e){var n=t(e.target).closest(".wpmudev-multivalue--item").data("index"),i=t(e.target).val(),a=this.get_saved_value()||[];a[n].label=i,this.save_value(a),this.trigger("updated",a)},update_value:function(e){var n=t(e.target).closest(".wpmudev-multivalue--item").data("index"),i=t(e.target).val(),a=this.get_saved_value()||[];a[n].value=i,this.save_value(a),this.trigger("updated",a)},add_option:function(t){var e=this.get_saved_value()||[];e.push({label:"",value:""}),this.save_value(e),this.trigger("updated",e),this.render()},delete_option:function(e){var n=t(e.target).closest(".wpmudev-multivalue--item").data("index"),i=this.get_saved_value()||[];i.splice(n,1),this.save_value(i),this.trigger("updated",i),this.render()},move_option:function(t,e){var n=this.get_saved_value()||[],i=t.data("index");n.splice(e,0,n.splice(i,1)[0]),this.save_value(n),this.trigger("updated",n),this.render()},on_render:function(){var e=this;setTimeout(function(){t(".wpmudev-multivalue--items").sortable({update:function(t,n){e.move_option(n.item,n.item.index())}})},100)}})})}(jQuery),function(t){formintorjs.define("admin/settings/select",["admin/settings/multi-setting"],function(e){return e.extend({multiple:!1,className:"wpmudev-option",events:{"change .wpmudev-select":"on_change"},get_field_html:function(){if(this.options.containerSmall)var t={class:"forminator-field-singular wpmudev-select wpmudev-select--sm",id:this.get_field_id(),name:this.get_name()};else var t={class:"forminator-field-singular wpmudev-select",id:this.get_field_id(),name:this.get_name()};return this.options.dataAttr&&_.each(this.options.dataAttr,function(e,n){t["data-"+n]=e}),"<select "+this.get_field_attr_html(t)+">"+this.get_values_html()+"</select>"},get_value_html:function(t,e){var n={value:t.value,id:this.get_field_id()},i=this.get_saved_value();return t.disabled&&(n.disabled="disabled"),i===t.value&&(n.selected="selected"),"<option "+this.get_field_attr_html(n)+">"+t.label+"</option>"},on_render:function(){var e=this;Forminator.Utils.init_select2(),this.options.ajax&&t.ajax({url:Forminator.Data.ajaxUrl,type:"POST",data:{action:e.options.ajax_action},success:function(t){e.get_field().append(t.data),Forminator.Utils.init_select2()}})},on_change:function(){this.trigger("changed",this.get_value())},trigger_show:function(t){this.toggle_field(t),this.options.show&&this.options.show(t)},toggle_field:function(t){var e=this.$el.closest(".wpmudev-toggle--box"),n=e.find(".forminator-dependant").closest(".wpmudev-option");if(""===t)return!1;var i=e.find("."+t).closest(".wpmudev-option");n.length>0&&n.hide(),i.length>0&&i.show()}})})}(jQuery),function(t){formintorjs.define("admin/settings/tag",["admin/settings/select"],function(t){return t.extend({multiple:!1,className:"wpmudev-option",events:{"change .wpmudev-tags":"on_change"},get_field_html:function(){var t={class:"wpmudev-tags",id:this.get_field_id(),name:this.get_name()};return"<select "+this.get_field_attr_html(t)+' multiple="multiple">'+this.get_values_html()+"</select>"},get_values_html:function(){var t=this.get_saved_value();return _.map(t,this.get_value_html,this).join("")},get_value_html:function(t){var e={value:t,selected:"selected"};return"<option "+this.get_field_attr_html(e)+">"+t+"</option>"},on_render:function(){var t=this,e=_.defaults(this.options.tags_options,{tags:!0,tokenSeparators:[","," "],language:{searching:function(){return Forminator.l10n.appearance.admin_email_searching},noResults:function(){return Forminator.l10n.appearance.admin_email_search_noresult}}});Forminator.Utils.forminator_select2_tags(t.$el,e)},on_change:function(){this.trigger("changed",this.get_value())}})})}(jQuery),function(t){formintorjs.define("admin/settings/date",["admin/settings/text"],function(e){return e.extend({className:"wpmudev-option forminator-field-wrap-date-picker wpmudev-wrap-option--datepicker",get_field_html:function(){var t={type:"text",class:"forminator-field-singular wpmudev-option--datepicker",name:this.get_name(),value:this.get_saved_value(),placeholder:this.options.placeholder?this.options.placeholder:this.label,title:this.label};return"<input "+this.get_field_attr_html(t)+" />"},on_render:function(){var e=this,n=this.options.dateFormat?this.options.dateFormat:"d MM yy";this.get_field().datepicker({beforeShow:function(e,n){t("#ui-datepicker-div").addClass("wpmudev-option--datepicker-cal")},dateFormat:n,onSelect:function(){e.trigger("changed",e.get_value())}})}})})}(jQuery),function(t){formintorjs.define("admin/settings/editor",["admin/settings/text"],function(e){return e.extend({events:{"click .wpmudev-insert-content":"insert_content","click .wpmudev-vars--button":"toggle_menu"},className:"wpmudev-option forminator-field-wrap-editor",get_field_html:function(){var t={cols:"40",rows:"5",class:"forminator-field-singular wpmudev-textarea",id:this.get_field_id(),name:this.get_name()};this.options.placeholder&&(t.placeholder=this.options.placeholder);var e=!_.isUndefined(this.options.enableFormData)&&this.options.enableFormData?this.get_form_data():"";return'<div class="wpmudev-vars"><textarea '+this.get_field_attr_html(t)+">"+this.get_saved_value()+'</textarea><div class="wpmudev-vars--mask"><div class="wpmudev-vars--innermask"><button class="wpmudev-button wpmudev-vars--button">'+Forminator.l10n.options.form_based_data+'</button><ul class="wpmudev-vars--dropdown">'+e+this.get_utilities()+"</ul></div></div></div>"},toggle_dropdown:function(){this.$el.find(".wpmudev-vars--dropdown").toggleClass("wpmudev-is_active")},toggle_menu:function(t){t.preventDefault(),this.toggle_dropdown()},get_form_data:function(){var t=["captcha","product","hidden","pagination","postdata","total","upload"];!_.isUndefined(this.options.enablePostData)&&this.options.enablePostData&&!_.isUndefined(this.options.enableUpload)&&this.options.enableUpload&&(t=["captcha","product","hidden","pagination","total"]);var e=Forminator.Utils.get_fields(this.model.get("wrappers"),t),n="",i="",a="";return _.each(e,function(t,e){"true"===t.required?i+='<li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{'+t.element_id+'}">'+t.label+"</a></li>":a+='<li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{'+t.element_id+'}">'+t.label+"</a></li>"}),!_.isUndefined(this.options.enableAllFormFields)&&this.options.enableAllFormFields&&(n+='<li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{all_fields}">'+Forminator.l10n.options.all_fields+"</a></li>"),n+='<li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{form_name}">'+Forminator.l10n.options.form_name+"</a></li>",""!==i&&(n+='<li class="wpmudev-dropdown--option"><strong>'+Forminator.l10n.options.required_form_fields+"</strong></li>",n+=i),""!==a&&(n+='<li class="wpmudev-dropdown--option"><strong>'+Forminator.l10n.options.optional_form_fields+"</strong></li>",n+=a),n},get_utilities:function(){return'<li class="wpmudev-dropdown--option"><strong>'+Forminator.l10n.options.misc_data+'</strong></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{user_ip}">User IP Address</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{date_mdy}">Date (mm/dd/yyyy)</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{date_dmy}">Date (dd/mm/yyyy)</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{embed_id}">Embed Post/Page ID</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{embed_title}">Embed Post/Page Title</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{embed_url}">Embed URL</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{user_agent}">HTTP User Agent</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{http_refer}">HTTP Refer URL</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{user_name}">User Display Name</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{user_email}">User Email</a></li><li class="wpmudev-dropdown--option"><a class="wpmudev-insert-content" data-content="{user_login}">User Login</a></li>'},insert_content:function(e){if(e.preventDefault(),!_.isUndefined(tinymce)){var n=t(e.target).data("content");tinymce.get(this.get_field_id()).insertContent(n),this.toggle_dropdown()}},on_render:function(){this.$el.attr("id","wrapper-"+this.get_field_id()),this.initialize_editor()},initialize_editor:function(){var e=this;_.isUndefined(window.wp.editor)||_.isUndefined(tinymce)?setTimeout(function(){e.initialize_editor()},100):setTimeout(function(){window.wp.editor.remove(e.get_field_id()),window.wp.editor.initialize(e.get_field_id(),{tinymce:!0,quicktags:!0});var n=tinymce.get(e.get_field_id());n.on("change",function(t){e.save_value(n.getContent()),e.trigger("changed",n.getContent())}),t("#"+e.get_field_id()).on("change",function(i){n.setContent(t(this).val()),e.trigger("changed",n.getContent())})},100)}})})}(jQuery),function(t){formintorjs.define("admin/settings/variables",["admin/settings/text"],function(t){return t.extend({className:"wpmudev-option forminator-field-wrap-vars",get_field_html:function(){var t={cols:"40",rows:"5",class:"wpmudev-textarea",id:this.get_field_id(),name:this.get_name()};return this.options.placeholder&&(t.placeholder=this.options.placeholder),'<div class="wpmudev-option--vars"><textarea '+this.get_field_attr_html(t)+">"+this.get_saved_value()+'</textarea><div class="wpmudev-vars--actions"><div class="wpmudev-action--insert"><button class="wpmudev-button wpmudev-button-sm">Insert Var</button></div></div></div>'}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-name",["admin/settings/toggle-container","text!tpl/fields.html"],function(t,e){return t.extend({multiple:!1,events:{"change .wpmudev-toggle--design .forminator-field-singular":"on_change","click .wpmudev-label-name":"click_label","click .wpmudev-toggle-field":"toggle_field"},className:"wpmudev-option",click_label:function(t){t.preventDefault(),this.$el.find(".wpmudev-toggle--design .forminator-field-singular").click()},get_value_html:function(t,e){var n={type:"checkbox",class:"forminator-field-singular forminator-field-required",id:this.get_field_id(),name:this.get_name(),value:t.value,title:t.label};return this.get_saved_value()===t.value&&(n.checked="checked"),'<div class="wpmudev-toggle--design"><input '+this.get_field_attr_html(n)+' /><label for="'+this.get_field_id()+'" class="wpmudev-label-name"></label></div><label for="'+this.get_field_id()+'" class="wpmudev-toggle--label wpmudev-label--sm wpmudev-label-name">'+t.label+"</label>"},get_field_html:function(){var t={class:"wpmudev-toggle"};return'<div class="wpmudev-multiname"><div class="wpmudev-multiname--action"><div class="wpmudev-action--text"><div '+this.get_field_attr_html(t)+">"+this.get_values_html()+'</div></div><button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">Open field</span></button></div><div class="wpmudev-multiname--content"></div></div>'},on_change:function(){this.trigger("changed",this.get_value())},trigger_show:function(t){this.options.show&&this.options.show(t)},toggle_field:function(t){t.preventDefault(),this.$el.find(".wpmudev-multiname").toggleClass("wpmudev-is_active")}})})}(jQuery),function($){formintorjs.define("admin/settings/number",["admin/settings/text"],function(Text){return Text.extend({className:"wpmudev-option",on_render:function(){var self=this,timer=null;this.get_field().keyup(function(){}).trigger("keyup").change(function(){self.trigger("changed",self.get_value()),clearTimeout(timer);var t=this;timer=setTimeout(function(){self.check_input_range(t)},325)}).keydown(function(){clearTimeout(timer);var t=this;timer=setTimeout(function(){self.check_input_range(t)},325)}),_.isEmpty(this.options.value_to_show)||_.isEmpty(this.options.setting_to_check)||this.options.value_to_show===eval("this.model.attributes."+this.options.setting_to_check)||this.$el.hide()},check_input_range:function(t){var e=null;if(!_.isEmpty(this.options.min))if(_.isNumber(this.options.min))t.value<this.options.min&&$(t).val(this.options.min);else if(e=$(this.options.min),e.length>0){var n=parseInt(e.first().val());t.value<n&&$(t).val(n)}if(!_.isEmpty(this.options.max))if(_.isNumber(this.options.max))t.value>this.options.max&&$(t).val(this.options.max);else if(e=$(this.options.max),e.length>0){var i=parseInt(e.first().val());t.value>i&&$(t).val(i)}},get_field_html:function(){var t=_.isEmpty(this.options.value_to_show)?"":" forminator-dependant "+this.options.value_to_show,e={type:"number",class:"forminator-field-singular wpmudev-input"+t,id:this.get_field_id(),name:this.get_name(),value:this.get_saved_value(),placeholder:"10",title:this.label};_.isNumber(this.options.min)&&(e.min=this.options.min),_.isNumber(this.options.max)&&(e.max=this.options.max);var n="";return this.options.description&&(n='<span class="field-description">'+this.options.description+"</span>"),"<input "+this.get_field_attr_html(e)+" />"+n}})})}(jQuery),function(t){formintorjs.define("admin/settings/product",["admin/settings/toggle-container"],function(t){return t.extend({multiple:!1,className:"wpmudev-option",get_field_html:function(){return'<div class="wpmudev-product"></div>'}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-product",["admin/settings/toggle-container","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-open_media":"add_image","click .wpmudev-add-variation":"add_option","click .wpmudev-action--kill":"delete_option","click .wpmudev-label-list-variations":"click_variation_label","change .wpmudev-add-name":"update_label","change .wpmudev-add-price":"update_value","change #list-all-variations":"update_list"},className:"wpmudev-option",render:function(){this.$el.html(""),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html());var t=this.get_saved_value()||[];_.isEmpty(t)||this.$el.find(".wpmudev-multiproduct").addClass("wpmudev-has_products"),this.trigger("rendered",this.get_value()),this.on_render()},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-product-multiple-tpl").html())({childs:e,list_variations:this.model.get("list_variations")||!1})},get_values_html:function(){var t=this.get_saved_value()||[];return _.map(t,this.get_value_html,this).join("")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-product-multiple-row-tpl").html())({row:e,index:i})},update_label:function(e){var n=t(e.target).closest(".wpmudev-list--item").data("index"),i=t(e.target).val(),a=this.get_saved_value()||[];a[n].label=i,this.save_value(a),this.trigger("updated",a)},update_value:function(e){var n=t(e.target).closest(".wpmudev-list--item").data("index"),i=t(e.target).val(),a=this.get_saved_value()||[];a[n].value=i,this.save_value(a),this.trigger("updated",a)},add_option:function(t){var e=this.get_saved_value()||[];e.push({label:"",value:"",image:""}),this.save_value(e),this.trigger("updated",e),this.render()},delete_option:function(e){var n=t(e.target).closest(".wpmudev-list--item").data("index"),i=this.get_saved_value()||[];i.splice(n,1),this.save_value(i),this.trigger("updated",i),this.render()},update_list:function(e){e.preventDefault(),t(e.target).is(":checked")?this.model.set("list_variations",!0):this.model.set("list_variations",!1)},click_variation_label:function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.$el.find("#list-all-variations").click()},add_image:function(e){e.preventDefault();var n=this,i=wp.media({title:this.options.popup_label,button:{text:this.options.popup_button_label},multiple:!1}).on("select",function(){var a=i.state().get("selection").first().toJSON(),r=t(e.target).closest(".wpmudev-list--item"),o=r.find(".wpmudev-browse--preview"),l=r.find(".wpmudev-get_image"),s=r.find(".wpmudev-url--input");if(a&&a.url){o.addClass("wpmudev-has_image"),l.css("background-image","url({url})".replace("{url}",a.url)),s.val("{url}".replace("{url}",a.url));var d=t(e.target).closest(".wpmudev-list--item").data("index"),p=(t(e.target).val(),n.get_saved_value()||[]);p[d].image=a.url,n.save_value(p),n.trigger("updated",p)}});i.open()}})})}(jQuery),function(t){formintorjs.define("admin/settings/image",["admin/settings/setting"],function(t){return t.extend({className:"wpmudev-browse",events:{"click .wpmudev-open_media":"add_image","click .wpmudev-url--clear":"clear_image"},get_field_html:function(){return this.options.hasPreview?this.options.disableBrowse?'<div class="wpmudev-browse--preview"><button class="wpmudev-preview--image wpmudev-open_media"><span class="wpmudev-get_image" style="background-image: url('+this.get_saved_value()+');"></span></button><div class="wpmudev-preview--url"><input class="wpmudev-url--input" type="url" value="'+this.get_saved_value()+'" placeholder="'+Forminator.l10n.options.placeholder_image_alt+'" /><button class="wpmudev-url--clear">'+Forminator.l10n.options.clear+"</button></div></div>":this.options.previewOnly?'<div class="wpmudev-browse--preview"><button class="wpmudev-preview--image wpmudev-open_media"><span class="wpmudev-get_image" style="background-image: url('+this.get_saved_value()+');"></span></button></div>':'<div class="wpmudev-browse--preview"><div class="wpmudev-preview--image wpmudev-open_media"><div class="wpmudev-get_image" style="background-image: url('+this.get_saved_value()+');"></div></div><div class="wpmudev-preview--url"><input class="wpmudev-url--input" type="url" value="'+this.get_saved_value()+'" placeholder="'+Forminator.l10n.options.placeholder_image+'" /><button class="wpmudev-url--clear">'+Forminator.l10n.options.clear+'</button></div></div><button class="wpmudev-browse--action wpmudev-open_media">'+Forminator.l10n.options.browse+"</button>":'<div class="wpmudev-browse--preview"><div class="wpmudev-preview--url"><input class="wpmudev-url--input" type="url" value="'+this.get_saved_value()+'" placeholder="'+Forminator.l10n.options.placeholder_image+'" /><button class="wpmudev-url--clear">'+Forminator.l10n.options.clear+'</button></div></div><button class="wpmudev-browse--action wpmudev-open_media">'+Forminator.l10n.options.browse+"</button>"},add_image:function(t){t.preventDefault();var e=this,n=this.$el.find(".wpmudev-url--input"),i=wp.media({title:this.options.popup_label,button:{text:this.options.popup_button_label},multiple:!1}).on("select",function(){var t,a=i.state().get("selection").first().toJSON();if(a&&a.url){if(e.options.hasPreview){var r=e.$el.find(".wpmudev-browse--preview"),o=e.$el.find(".wpmudev-get_image");r.addClass("wpmudev-has_image"),o.css("background-image","url({url})".replace("{url}",a.url))}t=_.isUndefined(e.options.imageSize)?a.url:"thumbnail"===e.options.imageSize?a.sizes.thumbnail.url:"medium"===e.options.imageSize?_.isUndefined(a.sizes.medium)?a.sizes.full.url:a.sizes.medium.url:"large"===e.options.imageSize?_.isUndefined(a.sizes.large)?a.sizes.full.url:a.sizes.large.url:a.sizes.full.url,n.val("{url}".replace("{url}",t)),e.save_value(t)}});i.open()},clear_image:function(t){t.preventDefault(),this.save_value(""),this.render()}})})}(jQuery),function(t){formintorjs.define("admin/settings/col-double",["admin/settings/text"],function(t){return t.extend({multiple:!1,className:"wpmudev-option",get_field_html:function(){return'<div class="wpmudev-option--half"></div>'}})})}(jQuery),function(t){formintorjs.define("admin/settings/date-multiple",["admin/settings/multi-setting","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add-date":"add_option","click .wpmudev-choice-kill":"delete_option"},className:"wpmudev-option forminator-field-wrap-multidate",get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-date-multiple-tpl").html())({values:e})},get_values_html:function(){var t=this.get_saved_value()||[];return _.map(t,this.get_value_html,this).join("")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-date-multiple-row-tpl").html())({value:e,index:i})},add_option:function(t){var e=this.get_saved_value()||[],n=this.$el.find(".wpmudev-option--datepicker"),i=n.val();e.push({value:i}),this.save_value(e),n.val(""),this.trigger("updated",e),this.render()},delete_option:function(e){var n=t(e.target).closest(".wpmudev-date-choice").data("index"),i=this.get_saved_value()||[];i.splice(n,1),this.save_value(i),this.trigger("updated",i),this.render()},on_render:function(){var e=this,n=this.options.dateFormat?this.options.dateFormat:"d MM yy";setTimeout(function(){e.get_field().datepicker({beforeShow:function(e,n){t("#ui-datepicker-div").addClass("wpmudev-option--datepicker-cal")},dateFormat:n})},50)}})})}(jQuery),function(t){formintorjs.define("admin/settings/list-product",["admin/settings/toggle-container","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add-product":"add_option","click .wpmudev-action--kill":"delete_option","change .wpmudev-product-select":"update_value"},className:"wpmudev-option forminator-field-wrap-listproduct",get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-product-list-tpl").html())({childs:e})},get_values_html:function(){var t=this.get_saved_value()||[];return _.map(t,this.get_value_html,this).join("")},get_value_html:function(e,i){var a=(this.get_saved_value(),this.layout.get("wrappers")||[]),r=Forminator.Utils.get_products(a);return Forminator.Utils.template(t(n).find("#settings-field-product-list-row-tpl").html())({row:e,index:i,products:r})},on_render:function(){Forminator.Utils.init_select2()},update_value:function(e){var n=t(e.target).closest(".wpmudev-productList--item").data("index"),i=t(e.target).val(),a=this.get_saved_value()||[];a[n].value=i,this.save_value(a),this.trigger("updated",a)},add_option:function(t){var e=this.get_saved_value()||[];e.push({value:""}),this.save_value(e),this.trigger("updated",e),this.render()},delete_option:function(e){var n=t(e.target).closest(".wpmudev-list--item").data("index"),i=this.get_saved_value()||[];i.splice(n,1),this.save_value(i),this.trigger("updated",i),this.render()}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-answer",["admin/settings/toggle-container","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add-answer":"add_answer","click .wpmudev-nav--action":"open_menu","click .wpmudev-action--add_field a":"add_field","click .wpmudev-action--kill_field a":"kill_field","click .wpmudev-action--kill_answer a":"kill_answer","change .wpmudev-answer-value":"update_value","change .wpmudev-answer-placeholder":"update_placeholder"},className:"wpmudev-option",init:function(){this.answers=this.model.get("answers")},render:function(){this.$el.html(""),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html()),this.answers.length>0&&(this.answers.get_max_element_id(),this.$el.find(".wpmudev-multianswer").addClass("wpmudev-has_answers")),this.trigger("rendered",this.get_value()),this.on_render()},get_values_html:function(){var t=this;return this.answers.map(function(e,n){return t.get_value_html(e,n)}).join(" ")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-answer-list-row-tpl").html())({row:e.toJSON(),index:i})},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-answer-list-tpl").html())({childs:e})},open_menu:function(e){e.preventDefault(),e.stopPropagation(),t(e.target).closest(".wpmudev-answer").find(".wpmudev-answer--nav").toggleClass("wpmudev-is_active")},add_field:function(e){e.preventDefault(),e.stopPropagation();var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("use_extra",!0),this.render()},kill_field:function(e){e.preventDefault(),e.stopPropagation();var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("use_extra",!1),n.set("extra",""),this.render()},add_answer:function(t){t.preventDefault();var e=this.answers.get_next_element_id(),n=new Forminator.Models.Answer({element_id:"answer-"+e});this.answers.add(n,{silent:!0}),this.render()},kill_answer:function(e){e.preventDefault();var n=t(e.target),i=this.get_model(n);this.answers.remove(i,{silent:!0}),this.render()},get_index:function(t){return t.closest(".wpmudev-answer").data("index")},get_model:function(t){var e=this.get_index(t);return this.answers.get_by_index(e)},move_option:function(t,e){var n=this.get_model(t),i=this.answers.model_index(n);this.answers.move_to(e,i),this.render()},update_value:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("title",value)},update_placeholder:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("extra",value)},on_render:function(){var e=this;setTimeout(function(){var n=t(".wpmudev-multianswer--list li:last-child").find(".wpmudev-input"),i=n.val();_.isEmpty(i)&&n.focus(),t(".wpmudev-multianswer--list").sortable({handle:".wpmudev-answer--move",update:function(t,n){e.move_option(n.item,n.item.index())}})},100)}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-question-answer",["admin/settings/multi-setting","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add_answer":"add_answer","click .wpmudev-answer-toggle-container":"toggle_answer","click .wpmudev-remove-answer":"delete_answer","click .wpmudev-preview--image":"add_image","click .wpmudev-url--input":"add_image","click .wpmudev-url--clear":"clear_image","change .wpmudev-answer-value":"update_value","change .wpmudev-quiz-results":"update_result","change .wpmudev-answer-toggle":"update_toggle"},className:"wpmudev-option",init:function(t){this.app=Forminator.Data.application||!1,this.results=t.results,this.question_index=t.question_index,this.answers=this.model.get("answers"),this.listenTo(Forminator.Events,"forminator:quiz:results:updated",this.render)},render:function(){this.$el.html(""),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html()),this.answers.length>0&&this.$el.find(".wpmudev-multianswer").addClass("wpmudev-has_answers"),this.trigger("rendered",this.get_value()),this.on_render()},get_values_html:function(){var t=this;return this.answers.map(function(e,n){return t.get_value_html(e,n)}).join(" ")},get_value_html:function(e,i){var a=(this.get_saved_value(),!1),r=Forminator.Utils.template(t(n).find("#settings-field-question-multiple-answer-tpl").html());return"nowrong"===this.app&&(a=this.results.toJSON()),r({row:e.toJSON(),index:i,question_index:this.question_index,type:this.app,results:a})},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-question-answer-list-tpl").html())({childs:e})},add_answer:function(t){t.preventDefault(),new_answer=new Forminator.Models.Answer({}),this.answers.add(new_answer,{silent:!0}),this.render()},delete_answer:function(e){e.preventDefault();var n=t(e.target),i=this.get_model(n);this.answers.remove(i,{silent:!0}),this.render()},get_index:function(t){return t.closest(".wpmudev-answer").data("index")},get_model:function(t){var e=this.get_index(t);return this.answers.get_by_index(e)},move_option:function(t,e){var n=this.get_model(t),i=this.answers.model_index(n);this.answers.move_to(e,i),this.render()},update_value:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("title",value)},update_result:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),slug=Forminator.Utils.get_slug(value),n.set("result",slug)},update_toggle:function(e){e.preventDefault();var n=this.get_model(t(e.target));value=t(e.target).val(),this.answers.each(function(t,e){t.set("toggle",!1)}),this.$el.find(".wpmudev-answer-toggle").not(e.target).prop("checked",!1),t(e.target).is(":checked")?n.set("toggle",!0):n.set("toggle",!1)},toggle_answer:function(e){t(e.target).closest(".wpmudev-answer").toggleClass("wpmudev-is_open")},add_image:function(e){e.preventDefault();var n=this,i=wp.media({title:this.options.popup_label,button:{text:this.options.popup_button_label},multiple:!1}).on("select",function(){var a,r=n.get_model(t(e.target)),o=i.state().get("selection").first().toJSON(),l=t(e.target).closest(".wpmudev-answer"),s=l.find(".wpmudev-browse--preview"),d=l.find(".wpmudev-get_image"),p=l.find(".wpmudev-url--input");o&&o.url&&(s.addClass("wpmudev-has_image"),a=_.isUndefined(o.sizes.medium.url)?o.url:o.sizes.medium.url,d.css("background-image","url({url})".replace("{url}",o.sizes.thumbnail.url)),p.val("{url}".replace("{url}",a)),r.set("image",a))});i.open()},clear_image:function(e){var n=this.get_model(t(e.target)),i=t(e.target).closest(".wpmudev-answer"),a=i.find(".wpmudev-browse--preview"),r=i.find(".wpmudev-get_image"),o=i.find(".wpmudev-url--input");a.removeClass("wpmudev-has_image"),r.css("background-image",""),o.val(""),n.set("image","")},on_render:function(){var e=this;Forminator.Utils.init_select2(),setTimeout(function(){var n=t(".wpmudev-multianswer--list li:last-child").find(".wpmudev-input"),i=n.val();_.isEmpty(i)&&n.focus(),t(".wpmudev-multianswer--list").sortable({handle:".wpmudev-answer--move",update:function(t,n){e.move_option(n.item,n.item.index())}})},100)}})})}(jQuery),function(t){formintorjs.define("admin/settings/textarea",["admin/settings/setting"],function(t){return t.extend({className:"wpmudev-option forminator-field-wrap-textarea",on_render:function(){var t=this;this.get_field().keyup(function(){}).trigger("keyup").change(function(){t.trigger("changed",t.get_value())})},get_field_html:function(){var t="wpmudev-textarea",e={id:this.get_field_id(),name:this.get_name(),placeholder:this.options.placeholder?this.options.placeholder:this.label};return this.options.size&&(t+=" wpmudev-textarea--"+this.options.size),this.options.resize&&(t+=" wpmudev-can_resize"),
'<textarea class="'+t+'" '+this.get_field_attr_html(e)+">"+this.get_saved_value()+"</textarea>"}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-question",["admin/settings/toggle-container","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-add-question":"add_question","click .wpmudev-delete-question":"delete_question","change .wpmudev-question-title":"update_title"},className:"wpmudev-multiqs",init:function(){this.questions=this.model.get("questions")},on_render:function(){var e=this;this.questions.length?this.$el.addClass("wpmudev-have_qs"):this.$el.removeClass("wpmudev-have_qs"),setTimeout(function(){e.questions.each(function(n,i){var a=new Forminator.Settings.MultiQuestionAnswer({model:n,question_index:i,results:e.model.get("results")});t("[data-index="+i+"]").find(".wpmudev-multianswer--wrap").append(a.el)})},50)},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-question-multiple-tpl").html())({childs:e})},get_values_html:function(){var t=this;return this.questions.map(function(e,n){return t.get_value_html(e,n)}).join(" ")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-question-multiple-question-tpl").html())({row:e.toJSON(),index:i})},add_question:function(t){t.preventDefault(),new_questions=new Forminator.Models.Question({answers:new Forminator.Collections.Answers}),this.questions.add(new_questions,{silent:!0}),this.render()},delete_question:function(e){e.preventDefault();var n=t(e.target),i=this.get_model(n);this.questions.remove(i,{silent:!0}),this.render()},get_index:function(t){return t.closest(".wpmudev-multiqs--item").data("index")},get_model:function(t){var e=this.get_index(t);return this.questions.get_by_index(e)},update_title:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("title",value)}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-result",["admin/settings/toggle-container","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{"click .wpmudev-multiresult--add":"add_result","click .wpmudev-delete-result":"delete_result","click .wpmudev-preview--image":"add_image","click .wpmudev-open_media":"add_image","click .wpmudev-url--clear":"clear_image","change .wpmudev-result-title":"update_title","change .wpmudev-result-image":"update_image","change .wpmudev-result-descrition":"update_description"},className:"wpmudev-option",init:function(){this.results=this.model.get("results"),this.listenTo(Forminator.Events,"forminator:quiz:results:order:updated",this.render)},render:function(){this.$el.html(""),this.$el.append(this.get_label_html()),this.$el.append(this.get_field_html());this.get_saved_value();this.results.length&&this.$el.find(".wpmudev-multiresult").addClass("wpmudev-has_results"),this.trigger("rendered",this.get_value()),this.on_render()},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-result-list-tpl").html())({childs:e})},get_values_html:function(){var t=this;return this.results.map(function(e,n){return t.get_value_html(e,n)}).join(" ")},get_value_html:function(e,i){this.get_saved_value();return Forminator.Utils.template(t(n).find("#settings-field-result-list-row-tpl").html())({row:e.toJSON(),index:i})},add_result:function(t){t.preventDefault(),new_result=new Forminator.Models.Result({}),new_result.set("order",this.results.length),this.results.add(new_result,{silent:!0}),this.update(),this.render()},delete_result:function(e){e.preventDefault();var n=t(e.target),i=this.get_model(n);this.results.remove(i,{silent:!0}),this.update(),this.render()},get_index:function(t){return t.closest(".wpmudev-multiresult--item").data("index")},get_model:function(t){var e=this.get_index(t);return this.results.get_by_index(e)},update_title:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("title",value),n.set("slug",Forminator.Utils.get_slug(value)),this.update()},update_image:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("image",value),this.render()},update_description:function(e){var n=this.get_model(t(e.target));value=t(e.target).val(),n.set("description",value)},add_image:function(e){e.preventDefault();var n=this,i=wp.media({title:this.options.popup_label,button:{text:this.options.popup_button_label},multiple:!1}).on("select",function(){var a,r=n.get_model(t(e.target)),o=i.state().get("selection").first().toJSON(),l=t(e.target).closest(".wpmudev-multiresult--item"),s=l.find(".wpmudev-browse--preview"),d=l.find(".wpmudev-get_image"),p=l.find(".wpmudev-url--input");o&&o.url&&(s.addClass("wpmudev-has_image"),a=_.isUndefined(o.sizes.full.url)?o.url:o.sizes.full.url,d.css("background-image","url({url})".replace("{url}",o.sizes.thumbnail.url)),p.val("{url}".replace("{url}",a)),r.set("image",a))});i.open()},clear_image:function(e){this.get_model(t(e.target)).set("image",""),this.render()},update:function(){Forminator.Events.trigger("forminator:quiz:results:updated")}})})}(jQuery),function(t){formintorjs.define("admin/settings/multi-order",["admin/settings/multi-setting","text!tpl/fields.html"],function(e,n){return e.extend({multiple:!1,events:{},className:"wpmudev-multiorder",init:function(t){this.results=this.model.get("results"),this.listenTo(Forminator.Events,"forminator:quiz:results:updated",this.render)},get_values_html:function(){var t=this,e="";return this.results.sort(),this.results.filter(function(n,i){e+=t.get_value_html(n,i)}),e},get_value_html:function(e,i){var a=Forminator.Utils.template(t(n).find("#settings-field-order-list-row-tpl").html());return e=e.toJSON(),a({row:e,index:i})},get_field_html:function(){var e=this.get_values_html();return Forminator.Utils.template(t(n).find("#settings-field-order-list-tpl").html())({childs:e})},get_index:function(t){return t.closest(".wpmudev-multiorder--item").data("index")},get_model:function(t){var e=this.get_index(t);return this.results.get_by_index(e)},move_option:function(e,n){var i=this.get_model(t(e)),a=i.get("order");this.results.move_to(a,n),Forminator.Events.trigger("forminator:quiz:results:order:updated")},on_render:function(){var e=this;setTimeout(function(){t(".wpmudev-multiorder--wrapper").sortable({update:function(t,n){e.move_option(n.item,n.item.index(),n.items)}})},100)}})})}(jQuery),function(t){formintorjs.define("admin/settings/accordion",["admin/settings/toggle"],function(e){return e.extend({multiple:!1,events:{"click .wpmudev-accordion--header .wpmudev-header--action":"open"},className:"wpmudev-option",get_value_html:function(t,e){return'<label class="wpmudev-header--title">'+t.label+'</label><button class="wpmudev-header--action"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-sr-only">Open '+t.label+"</span></button>"},get_field_html:function(){var t="";return this.options.containerClass&&(t=" "+this.options.containerClass),'<div class="wpmudev-accordion"><div class="wpmudev-accordion--header">'+this.get_values_html()+'</div><div class="wpmudev-accordion--section'+t+'"></div></div>'},open:function(e){t(e.target).closest(".wpmudev-accordion").toggleClass("wpmudev-is_active"),e.preventDefault(),e.stopPropagation()}})})}(jQuery),formintorjs.define("text!tpl/appearance.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="appearance-layout-tpl">\r\n\r\n\t\t<div id="wpmudev-forminator-content" class="forminator-appearance-content wpmudev-page-wizard"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-appearance"><a href="#forminator-wizard-appearance">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.appearance }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-pagination"><a href="#forminator-wizard-pagination">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_pagination }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-behaviour"><a href="#forminator-wizard-behaviour">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_behaviour }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-emails"><a href="#forminator-wizard-emails">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_emails }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-advanced"><a href="#forminator-wizard-advanced">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.advanced }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\t\t\t\t\t--\x3e\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<select class="wpmudev-select wpmudev-tabs-mobile">\r\n\t\t\t\t\t<option value="forminator-wizard-appearance">{{ Forminator.l10n.appearance.appearance }}</option>\r\n\t\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t\t<option value="forminator-wizard-pagination">{{ Forminator.l10n.appearance.form_pagination }}</option>\r\n\t\t\t\t\t{[ } ]}\r\n\t\t\t\t\t<option value="forminator-wizard-behaviour">{{ Forminator.l10n.appearance.form_behaviour }}</option>\r\n\t\t\t\t\t<option value="forminator-wizard-emails">{{ Forminator.l10n.appearance.form_emails }}</option>\r\n\t\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t\t<option value="forminator-wizard-advanced">{{ Forminator.l10n.appearance.advanced }}</option>\r\n\t\t\t\t\t--\x3e\r\n\t\t\t\t</select>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_cforms" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.custom_form.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.appearance.preview_form }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t<div id="forminator-wizard-appearance" class="wpmudev-settings--box" style="display: block;"></div>\r\n\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t<div id="forminator-wizard-pagination" class="wpmudev-settings--box"></div>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t\t<div id="forminator-wizard-behaviour" class="wpmudev-settings--box"></div>\r\n\t\t\t\t<div id="forminator-wizard-emails" class="wpmudev-settings--box"></div>\r\n\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t<div id="forminator-wizard-advanced" class="wpmudev-settings--box"></div>\r\n\t\t\t\t--\x3e\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-button-back">{{Forminator.l10n.builder.form_builder}}</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-save forminator-save-changes" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\r\n\t\t\t\t\t<button class="wpmudev-button forminator-save forminator-save-layout">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.publish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-appearance-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.form_name_main }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.form_name_main_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t<div class="appearance-section-form-name"></div>\r\n\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.appearance.form_name_validation }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.design_colors }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.design_colors_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t<div class="appearance-section-form-design"></div>\r\n\t\t\t\t<div class="appearance-section-customize-colors"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-typo-border" class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-typo-styles" class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.typography }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-customize-fonts"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-form-border" class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-form-customize" class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.form_style }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t<div id="appearance-cform-form-styles" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label--section">{{ Forminator.l10n.appearance.form_padding }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-top"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-right"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-bottom"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-left"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row--border"></div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label--section">{{ Forminator.l10n.appearance.form_border }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-border-radius"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-border-width"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-lg-6 cform-appearance-form-border-style"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.fields_style }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-fields-style"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.custom_text }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.custom_text_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-custom-submit"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.custom_css }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.custom_css_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-custom-style"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-behaviour-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.form_lifespan}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-lifespan"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t\x3c!--Autofill--\x3e\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.autofill.autofill_feature}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.autofill.autofill_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-autofill"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.submission_behaviour}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.submission_behaviour_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-after-submit"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.submission_method}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-submission"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.validation_method}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-validation"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.security}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-security"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.privacy}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.privacy_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-privacy"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-emails-tpl">\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="appearance-section-form-user-email"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="appearance-section-form-user-admin-email"></div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-pagination-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.pagination_header}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.pagination_header_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container pagination-settings-header"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-advanced-tpl">\r\n\r\n\t\t<div class="appearance-section-form-advanced"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-color-grid-tpl">\r\n\r\n\t\t\x3c!-- FORM --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.form }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-form-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-form-border">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t\x3c!-- LABELS --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.labels }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-main-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.main }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-asterisk-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.asterisk }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-helper-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.description }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-validation-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-validation-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error_color }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t{[ if ( has_section ) { ]}\r\n\t\t\x3c!-- SECTION --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.section }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-title">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.title }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-subtitle">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.subtitle }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-4 color-grid-section-border-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- INPUT + TEXTAREA --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.input_textarea }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-bg wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-placeholder">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.placeholder }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t{[ if( has_date_datepicker ) { ]}\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.icon_cal }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-filled wpmudev-not--material wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.filled }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-error">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t{[ if( has_multi_checkbox || has_single_radio || has_gdpr ) { ]}\r\n\t\t\x3c!-- RADIO + CHECKBOX --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.radio_checkbox }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.check_icon }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.label }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_single_dropdown || has_dropdowns ) { ]}\r\n\t\t\x3c!-- SELECT --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.select }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-bg wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-value">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.icon }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_single_dropdown || has_dropdowns ) { ]}\r\n\t\t\x3c!-- SELECT DROPDOWN --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.dropdown }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-shadow wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.shadow }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-option-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.option_bg }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-option-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.option_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-value">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_value }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_multi_multiselect ) { ]}\r\n\t\t\x3c!-- MULTI SELECT --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.multi_select }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_bg }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-border wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_date_datepicker ) { ]}\r\n\t\t\x3c!-- CALENDAR --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.calendar }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-header wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.header_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-content wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.content_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-arrows">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.nav_arrows }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-dweek">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dweek }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-days-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.days_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-days-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.days_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if ( has_upload ) { ]}\r\n\t\t\x3c!-- BUTTON UPLOAD --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.upload }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-upload-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-upload-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- BUTTON SUBMIT --\x3e\r\n\t\t{[ if( ! has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.submit }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-submit-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-submit-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- PAGINATION TIMELINE --\x3e\r\n\t\t{[ if( has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.timeline }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-background-current">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_background_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-border-current wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_border_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-step wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_step }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-step-current wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_step_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-text">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_text }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-text-current">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_text_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-border">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- PAGINATION BUTTON --\x3e\r\n\t\t{[ if( has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.pagination_footer }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-previous-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.prev_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-previous-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.prev_value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-next-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.next_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-next-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.next_value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-pagination-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Autofill --\x3e\r\n\t<script type="text/template" id="appearance-autofills-tpl">\r\n\r\n\t\t{[ if (_.isEmpty(fields_with_autofill)) { ]}\r\n\t\t<div class="wpmudev-row">\r\n\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t<label class="wpmudev-label">\r\n\t\t\t\t\t{{ Forminator.l10n.autofill.no_autofill_fields_available }}\r\n\t\t\t\t</label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t<div class="forminator-fields-autofill">\r\n\t\t\t{[ _.each( fields_with_autofill, function( field_with_autofill, key ) { ]}\r\n\t\t\t<div class="wpmudev-multiname {[ if( field_with_autofill.is_active ) { ]} wpmudev-is_active {[ } ]}">\r\n\r\n\t\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t\t<p>{{ field_with_autofill.label }}</p>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-8">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.autofill.source }}</label>\r\n\r\n\t\t\t\t\t\t\t<select class="wpmudev-select forminator-autofill-provider" data-element="{{ field_with_autofill.element_id }}">\r\n\t\t\t\t\t\t\t\t<option value="">{{ Forminator.l10n.autofill.disable_autofill }}</option>\r\n\t\t\t\t\t\t\t\t{[ _.each( field_with_autofill.autofill_providers, function( autofill_provider, provider_group_key ) { ]}\r\n\t\t\t\t\t\t\t\t<optgroup label="{{autofill_provider.name}}">\r\n\t\t\t\t\t\t\t\t\t{[ _.each( autofill_provider.attributes, function( attribute, attribute_key ) { ]}\r\n\t\t\t\t\t\t\t\t\t<option value="{{attribute_key}}" {[ if( field_with_autofill.selected_provider.provider === attribute_key ) { ]} selected="selected" {[ } ]}>{{attribute.name}}</option>\r\n\t\t\t\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t\t\t\t</optgroup>\r\n\t\t\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.autofill.editable }}</label>\r\n\r\n\t\t\t\t\t\t\t<select class="wpmudev-select forminator-autofill-is-editable" data-element="{{ field_with_autofill.element_id }}">\r\n\t\t\t\t\t\t\t\t<option value="no" {[ if( field_with_autofill.selected_provider.is_editable === "no" ) { ]}selected="selected" {[ } ]}>{{Forminator.l10n.autofill.editable_no}}</option>\r\n\t\t\t\t\t\t\t\t<option value="yes" {[ if( field_with_autofill.selected_provider.is_editable === "yes" ) { ]}selected="selected" {[ } ]}>{{Forminator.l10n.autofill.editable_yes}}</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t\t{[ }) ]}\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>\r\n'
}),function(t){formintorjs.define("admin/settings/autofills",["admin/settings/multi-setting","admin/models/autofill-model","admin/models/autofills-collection","text!tpl/appearance.html"],function(e,n,i,a){return e.extend({multiple:!0,events:{"change .forminator-fields-autofill .forminator-autofill-provider":"update_autofill","change .forminator-fields-autofill .forminator-autofill-is-editable":"update_autofill","click .forminator-fields-autofill .wpmudev-action--text, .forminator-fields-autofill .wpmudev-toggle-field":"toggle_field"},className:"wpmudev-option",render:function(){this.$el.html(""),this.$el.append(this.build_autofill()),this.trigger("rendered",this.get_value()),this.on_render()},get_saved_value:function(){return this.model.get(this.name)},get_fields_with_autofill:function(){var t=Forminator.Utils.get_fields(this.model.get("wrappers"),[]),e=this.get_saved_value(),n=[];return _.each(t,function(t,i){var a=t.field_type,r=Forminator.Utils.get_field_autofill_providers(a),o=t.field_slug;if(_.has(r,o)&&!_.isUndefined(r[o].values)&&!_.isEmpty(r[o].values)){var l={element_id:"",provider:"",is_editable:"no"},s=e.findWhere({element_id:t.element_id}),d=!1;_.isUndefined(s)||_.isEmpty(s)||(l={element_id:s.get("element_id"),provider:s.get("provider"),is_editable:s.get("is_editable")},d=!0),t.selected_provider=l,t.is_active=d,t.autofill_providers=r[o].values,n.push(t)}}),n},build_autofill:function(){var e=this.get_fields_with_autofill(),n=this.model.get(this.name);return Forminator.Utils.template(t(a).find("#appearance-autofills-tpl").html())({fields_with_autofill:e,fields_autofill:n})},update_autofill:function(){var e=this,a=new i;this.$el.find(".forminator-autofill-provider").each(function(){var i=t(this),r=i.val();if(r){var o=i.data("element"),l=e.$el.find('.forminator-autofill-is-editable[data-element="'+o+'"]'),s=t(l).val();a.add(new n({element_id:o,provider:r,is_editable:s}),{silent:!0})}}),this.save_value(a),this.trigger("updated",a)},on_render:function(){},toggle_field:function(e){e.preventDefault();var n=t(e.target),i=n.closest(".wpmudev-multiname");t(i).toggleClass("wpmudev-is_active")}})})}(jQuery),function(t){formintorjs.define("admin/settings",["admin/settings/setting","admin/settings/text","admin/settings/toggle","admin/settings/toggle-container","admin/settings/separator","admin/settings/radio","admin/settings/radio-container","admin/settings/color","admin/settings/multi-value","admin/settings/select","admin/settings/tag","admin/settings/date","admin/settings/editor","admin/settings/variables","admin/settings/multi-name","admin/settings/number","admin/settings/product","admin/settings/multi-product","admin/settings/image","admin/settings/col-double","admin/settings/date-multiple","admin/settings/list-product","admin/settings/multi-answer","admin/settings/multi-question-answer","admin/settings/textarea","admin/settings/multi-question","admin/settings/multi-result","admin/settings/multi-order","admin/settings/accordion","admin/settings/autofills"],function(t,e,n,i,a,r,o,l,s,d,p,m,u,c,v,w,f,h,g,b,_,F,y,x,z,k,$,q,S,C){return{Settings:{Setting:t,Text:e,Toggle:n,ToggleContainer:i,Separator:a,Radio:r,RadioContainer:o,Color:l,MultiValue:s,Select:d,Tag:p,Date:m,Editor:u,Vars:c,MultiName:v,Number:w,Product:f,MultiProduct:h,Image:g,ColDouble:b,DateMultiple:_,ListProduct:F,MultiAnswer:y,MultiQuestionAnswer:x,Textarea:z,MultiQuestion:k,MultiResult:$,MultiOrder:q,Accordion:S,Autofills:C}}})}(jQuery),function(t){formintorjs.define("admin/builder/drag-drop",[],function(){var e=function(t,e,n,i,a){this.initialize(t,e,n,i,a)};return e.prototype={view:!1,model:!1,layout:!1,type:!1,wrapper:!1,$self:!1,$main:!1,$wrapper:!1,$helper:!1,wrappers:!1,drops:!1,drop:!1,timeout:50,time:!1,event:!1,initialize:function(t,e,n,i,a){this.view=t,this.model=e,this.layout=a,this.type=i,this.wrapper=n,this.drops=[],this.drop=!1,Forminator.Events.on("forminator:add:field:click",this.add_with_click,this),this.start()},start:function(){this.$self=this.view.$el,this.$main=t(".wpmudev-builder--form"),this.$self.draggable({revert:!0,revertDuration:0,zIndex:100,helper:"clone",cancel:"",distance:10,appendTo:this.$main,start:t.proxy(this.on_start,this),drag:t.proxy(this.on_drag,this),stop:t.proxy(this.on_stop,this)})},on_start:function(t,e){this.$self.hasClass("wpmudev-form-row")?this.$self.addClass("forminator-row-dragging"):this.$self.addClass("forminator-col-dragging"),this.prepare_drag(),Forminator.Events.trigger("field:drag:start",this.view,this.model)},on_drag:function(t,e){this.event=t,this.update_drop_timeout()},on_stop:function(t,e){this.drop.is_me||this.update_model(),this.reset(),Forminator.Events.trigger("forminator:field:drap:stop",this.view,this.model)},prepare_drag:function(){this.update_variables(),this.$self.css("visibility","hidden"),this.$self.css("position",""),this.$main.addClass("forminator-dragging"),this.$helper.css("width",this.$self.width()),this.$self.hasClass("wpmudev-form-row")&&_.each(this.$self.find(".wpmudev-form-col"),function(e){t(e).css("visibility","hidden")}),this.create_drop_points()},update_variables:function(){this.$wrapper=this.$self.closest(".wpmudev-form-row"),this.$helper=t(".ui-draggable-dragging")},placeholder_drop:function(){var e=t(".wpmudev-form--placeholder"),n=this.get_position(e),i=this.new_id();this.drops.push({id:i,top:n.top,bottom:n.bottom,left:n.left,right:n.right,type:"full",insert:["over",e],wrapper:!1,priority:1}),$drop=t('<div id="forminator-drop-'+i+'" class="forminator-drop-placeholder"></div>'),$drop.css({width:n.right-n.left,height:n.bottom-n.top}),$drop.insertBefore(e)},create_drop_points:function(){var t=this,e=this.get_wrappers(),n=this.layout.get("wrappers");if(latest_wrapper=!1,0===_.size(n))return void this.placeholder_drop();_.each(e,function(e,n){var i=e.view.$el,a=t.get_position(i),r=i.find(".wpmudev-form-col").attr("id"),o=t.view.$el.attr("id"),l=r===o;if(!i.hasClass("forminator-row-dragging")){if(t.drops.push({id:t.new_id(),top:a.top-50,bottom:a.center.y,left:a.left,right:a.right,type:"full",insert:["before",i],wrapper:e,priority:1,is_me:l}),!t.is_row(t.$self)&&!t.has_max_cols(e)){var s,d=e.fields||[];if(_.size(d)<3){_.each(d,function(n){var i=n.view.$el,a=t.get_position(i),r=i.attr("id")===t.view.$el.attr("id");t.drops.push({id:t.new_id(),top:a.top,bottom:a.bottom,left:a.left,right:a.left+a.width,type:"side-before",insert:["before",i],wrapper:e,field:n,priority:5,is_me:r}),s=n});var p=s.view.$el,m=t.get_position(p),u=p.attr("id")===t.view.$el.attr("id");t.drops.push({id:t.new_id(),top:m.top,bottom:m.bottom,left:m.center.x,right:m.right+20,type:"side-after",insert:["after",p],wrapper:e,field:s,priority:5,is_me:u})}}latest_wrapper=e}});var i=latest_wrapper.view.$el,a=t.get_position(i),r=i.find(".wpmudev-form-col").attr("id"),o=t.view.$el.attr("id"),l=r===o;t.drops.push({id:t.new_id(),top:a.center.y,bottom:a.bottom+65,left:a.left,right:a.right,type:"full",insert:["after",i],wrapper:latest_wrapper,priority:1,is_me:l}),this.render_drops()},render_drops:function(){_.each(this.drops,function(e){switch($drop=t('<div id="forminator-drop-'+e.id+'" class="forminator-drop forminator-drop-'+e.type+'"></div>'),e.insert[0]){case"before":$drop.insertBefore(e.insert[1]);break;case"after":$drop.insertAfter(e.insert[1])}"full"==e.type||"inside"==e.type?$drop.css("width",e.right-e.left-20):"side-before"!=e.type&&"side-after"!=e.type||$drop.css("height",e.bottom-e.top-10)})},update_drop_timeout:function(){var e=this,n=_.filter(this.drops,function(t){return e.event.pageY>t.top&&e.event.pageY<t.bottom&&e.event.pageX>t.left&&e.event.pageX<t.right}),i=_.where(n,{priority:_.max(_.pluck(n,"priority"))});i.length>0?this.select_drop_zone(i[0]):(this.drop=!1,t(".forminator-drop-use").removeClass("forminator-drop-use"))},select_drop_zone:function(e){this.drop=e;var n=t("#forminator-drop-"+e.id);t(".forminator-drop-use").removeClass("forminator-drop-use"),n.addClass("forminator-drop-use")},is_row:function(t){return!!t.hasClass("wpmudev-form-row")},has_max_cols:function(t){return!(((t.model.get("fields")||[]).length||0)<3)},get_position:function(e){var n=t(e),i=parseFloat(n.css("width")),a=parseFloat(n.css("height"))-10,r=n.offset(),o=r.top,l=o+a,s=r.left-10,d=s+i,p=Math.round(o+a/2),m=Math.round(s+i/2);if(this.is_row(n)){var u=n.prev();u.length>0&&($prev_data=this.get_position(u),o=$prev_data.center.y+20,a=p-o)}else{var u=n.prev();u.length>0?($prev_data=this.get_position(u),s=$prev_data.center.x):i/=2}return{width:i,height:a,top:o,bottom:l,left:s,right:d,center:{y:p,x:m}}},get_wrappers:function(){return Forminator.Grid||{}},new_id:function(){return Math.floor(9999*Math.random())},reset:function(){this.drops=[],this.drop=!1,t(".forminator-drop").remove(),t(".forminator-drop-view").remove(),t(".forminator-drop-placeholder").remove(),this.$self.css({position:"",top:"",left:"","z-index":"",visibility:"visible"}),this.$self.hasClass("wpmudev-form-row")&&_.each(this.$self.find(".wpmudev-form-col"),function(e){t(e).css("visibility","visible")}),this.$self.hasClass("wpmudev-form-row")?this.$self.removeClass("forminator-row-dragging"):this.$self.removeClass("forminator-col-dragging"),this.$main.removeClass("forminator-dragging")},remove_cols:function(t){t.removeClass("wpmudev-form-col-3"),t.removeClass("wpmudev-form-col-4"),t.removeClass("wpmudev-form-col-6"),t.removeClass("wpmudev-form-col-12")},update_model:function(){if(void 0!==this.drop.insert){if(!Forminator.Utils.ensure_max_of_type_field(this.layout.get("wrappers"),"captcha",1,this.model))return!1;this.is_shadow()&&(this.model=this.model.clone_deep(),this.model.set("element_id",Forminator.Utils.get_increment_field_id(this.model)));var t=this.drop.insert[0],e=this.drop.wrapper.model,n=this.layout.get("wrappers"),i=!1;if(0===_.size(n)&&(i=!0),"wrapper"===this.type){var a=this.model;this.update_wrapper_position(e,a)}if("field"===this.type)if(void 0===this.drop.field){var a=this.model,r=new Forminator.Models.Wrapper({fields:new Forminator.Collections.Fields(a)});if(r.set("wrapper_id",Forminator.Utils.get_unique_id("wrapper")),a.set("cols",12),n.add(r,{silent:!0}),this.wrapper){var o=this.wrapper.get("fields");o.remove(this.model,{silent:!0}),this.update_old_wrapper(o)}this.update_wrapper_position(e,r)}else{if(this.wrapper&&this.wrapper!==this.drop.wrapper){var o=this.wrapper.get("fields");o.remove(this.model,{silent:!0}),this.update_old_wrapper(o)}var l=e.get("fields"),s=this.drop.field.model,d=l.model_index(s),t=this.drop.insert[0];"after"===t&&d++,this.model.add_to(l,d),this.update_cols(l)}!0===i?Forminator.Events.trigger("dnd:reload:fields"):Forminator.Events.trigger("dnd:models:updated"),Forminator.Events.trigger("forminator:dnd:field:select",this.model.cid),this.activate_field()}},is_me_shadow:function(t){return this.$self.data("shadow")===t},add_with_click:function(t){this.is_me_shadow(t)&&this.update_model_with_click()},update_model_with_click:function(){var t=!1;if(!Forminator.Utils.ensure_max_of_type_field(this.layout.get("wrappers"),"captcha",1,this.model))return!1;0===_.size(e)&&(t=!0),this.is_shadow()&&(this.model=this.model.clone_deep(),this.model.set("element_id",Forminator.Utils.get_increment_field_id(this.model)));var e=this.layout.get("wrappers"),n=this.model,i=new Forminator.Models.Wrapper({fields:new Forminator.Collections.Fields(n)});i.set("wrapper_id",Forminator.Utils.get_unique_id("wrapper")),n.set("cols",12),e.add(i,{silent:!0}),!0===t?Forminator.Events.trigger("dnd:reload:fields"):Forminator.Events.trigger("dnd:models:updated"),Forminator.Events.trigger("forminator:dnd:field:select",this.model.cid),this.activate_field()},activate_field:function(){Forminator.Events.trigger("forminator:sidebar:open:settings",this.model)},is_shadow:function(){return void 0!==this.$self.data("shadow")},update_old_wrapper:function(t){var e=this.layout.get("wrappers");t.length?this.update_cols(t):e.remove(this.wrapper)},update_cols:function(t){var e=12/t.length;t.update_cols(e)},update_wrapper_position:function(t,e){if(void 0!==this.drop.insert){var n=this.layout.get("wrappers"),i=this.drop.insert[0],a=n.model_index(t),r=n.model_index(e);"after"===i&&a++,r<a&&a--,n.move_to(a,r)}},show_debug_data:function(){var e=this;_.each(this.drops,function(n){var i=t('<div class="forminator-drop-view"><span class="forminator-drop-view-pos"></span></div>');i.css({top:n.top,left:n.left,width:n.right-n.left,height:n.bottom-n.top}),e.$main.append(i)})}},e})}(jQuery),formintorjs.define("text!admin/templates/fields.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="builder-field-main-tpl">\r\n\r\n\t\t\t<div class="wpmudev-form-field forminator-field-type_{{ field.type }}">\r\n\r\n\t\t\t\t<div class="wpmudev-form-field--section">\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t{[ if( field.use_conditions === "true" ) { ]}\r\n\r\n\t\t\t\t<div class="wpmudev-form-field--footer">\r\n\r\n\t\t\t\t\t{[ if( field.conditions && field.conditions.length > 0 ) { ]}\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-link"></span>\r\n\t\t\t\t\t\t<p class="wpmudev-conditions--text">{{ condition }}</p>\r\n\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-link"></span>\r\n               \t\t\t<p class="wpmudev-conditions--text">{{ Forminator.l10n.builder.no_conditions }}</p>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t{[ } ]}\r\n\r\n\t\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Select --\x3e\r\n\t<script type="text/template" id="builder-field-select-tpl">\r\n\r\n\t\t<select class="wpmudev-form-field--select" style="width: 100%;" {{ field.required ? \'required\' : \'\' }}>\r\n\r\n\t\t{[ _.each( field.options, function( value, key ){ ]}\r\n\t\t\t<option>{{ value.label }}</option>\r\n\t\t{[ }) ]}\r\n\r\n\t\t</select>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-field-input-tpl">\r\n\r\n\t\t<input type="{{ field.type }}" class="wpmudev-form-field--{{ field.type }}" {{ field.required ? \'required\' : \'\' }}>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-field-checkbox-tpl">\r\n\r\n\t\t{[ _.each( field.options, function( value, key ){ ]}\r\n\r\n\t\t\t<div class="wpmudev-form-field--checkbox">\r\n\r\n\t\t\t\t<div class="wpmudev-checkbox--design">\r\n\r\n\t\t\t\t\t<input type="checkbox" id="{{ value.id }}">\r\n\r\n\t\t\t\t\t<label for="{{ value.id }}" class="wpdui-icon wpdui-icon-check"></label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<label for="{{ value.id }}" class="wpmudev-checkbox--label">{{ value.label }}</label>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t{[ }) ]}\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multiple Value --\x3e\r\n\t<script type="text/template" id="settings-field-multiple-tpl">\r\n\r\n\t\t<div class="wpmudev-multivalue" aria-hidden="true">\r\n\r\n\t\t\t<div class="wpmudev-multivalue--header">\r\n\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.label }}</label>\r\n\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.value }}</label>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multivalue--section">\r\n\r\n\t\t\t\t<div class="wpmudev-multivalue--empty">\r\n\r\n\t\t\t\t\t<p>{{ Forminator.l10n.options.no_options }}</p>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<ul class="wpmudev-multivalue--items">{{ childs }}</ul>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multivalue--footer">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-option">{{ Forminator.l10n.sidebar.add_option }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multiple Value (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-multiple-row-tpl">\r\n\r\n\t\t<li class="wpmudev-multivalue--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--main">\r\n\r\n\t\t\t\t<div class="wpmudev-item--move">\r\n\r\n\t\t\t\t\t<span class="wpmudev-icon--drag">\r\n\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\r\n\t\t\t\t\t</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--label">\r\n\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.label }}</label>\r\n\r\n\t\t\t\t\t<input class="wpmudev-input wpmudev-input--sm wpmudev-fill--label-input" value="{{ row.label }}" />\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--value">\r\n\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.sidebar.value }}</label>\r\n\r\n\t\t\t\t\t<input class="wpmudev-input wpmudev-input--sm wpmudev-fill--value-input" value="{{ row.value }}" />\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--kill">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-button-sm wpmudev-action--kill">\r\n\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-text" aria-hidden="true">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</li>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Date Multiple --\x3e\r\n\t<script type="text/template" id="settings-field-date-multiple-tpl">\r\n\t\t<label for="restrict-date" class="wpmudev-option--label">{{ Forminator.l10n.options.custom_date }}</label>\r\n\t\t<div class="wpmudev-option--dynamicdates">\r\n\t\t\t<div class="restrict-date-field">\r\n\t\t\t\t<input type="text" class="forminator-field-singular wpmudev-option--datepicker" name="date_multiple" value="" placeholder="Pick a date" title="" id="">\r\n\t\t\t\t<button class="wpmudev-button wpmudev-add-date">{{ Forminator.l10n.options.add }}</button>\r\n\t\t\t</div>\r\n\t\t\t<ul class="wpmudev-option--dynamicdates-list">\r\n\t\t\t\t<li class="wpmudev-list-title">{{ Forminator.l10n.options.restricted_dates }}</li>\r\n\t\t\t\t{{ values }}\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Date Multiple (value structure) --\x3e\r\n\t<script type="text/template" id="settings-field-date-multiple-row-tpl">\r\n\t\t<li class="wpmudev-date-choice" data-index="{{ index }}">\r\n\t\t\t<span class="wpmudev-choice-title">{{ value.value }}</span>\r\n\t\t\t<button class="wpmudev-choice-kill">\r\n\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.delete }}</span>\r\n\t\t\t</button>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Product --\x3e\r\n\t<script type="text/template" id="settings-field-product-multiple-tpl">\r\n\t\t<div class="wpmudev-multiproduct">\r\n\t\t\t<div class="wpmudev-multiproduct--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.product.add_variation }}</p>\r\n\t\t\t</div>\r\n\t\t\t<ul class="wpmudev-multiproduct--list">\r\n\t\t\t\t{{ childs }}\r\n\t\t\t</ul>\r\n\t\t\t<div class="wpmudev-multiproduct--actions">\r\n\t\t\t\t<div class="wpmudev-toggle">\r\n\t\t\t\t\t<div class="wpmudev-toggle--design">\r\n\t\t\t\t\t\t<input class="forminator-field-singular forminator-field-required" id="list-all-variations" name="list_variations" value="true" title="List all variations" type="checkbox" {[ if( list_variations === "true" || list_variations === true ) { ]}checked="checked"{[ } ]}>\r\n\t\t\t\t\t\t<label for="list-all-variations"></label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<label for="list-all-variations" class="wpmudev-toggle--label wpmudev-label-list-variations wpmudev-label--sm wpmudev-label-container">{{ Forminator.l10n.product.use_list }}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-variation">{{ Forminator.l10n.product.add_variation }}</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Product (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-product-multiple-row-tpl">\r\n\t\t<li class="wpmudev-list--item" data-index="{{ index }}">\r\n\t\t\t<div class="wpmudev-product">\r\n\t\t\t\t<div class="wpmudev-browse">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.image }}</label>\r\n\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\t\t\t\t\t\t<button class="wpmudev-preview--image wpmudev-open_media">\r\n\t\t\t\t\t\t\t<span class="wpmudev-get_image" style="background-image: url( \'{{ row.image }}\' );"></span>\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.name }}</label>\r\n\t\t\t\t\t<input type="text" class="forminator-field-singular wpmudev-input wpmudev-add-name" value="{{ row.label }}" />\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option">\r\n\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.product.price }}</label>\r\n\t\t\t\t\t<input type="number" class="forminator-field-singular wpmudev-input wpmudev-add-price" value="{{ row.value }}" />\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-item--kill">\r\n\t\t\t\t<button class="wpmudev-action--kill">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- List Product --\x3e\r\n\t<script type="text/template" id="settings-field-product-list-tpl">\r\n\t\t<div class="wpmudev-option--productList">\r\n\t\t\t<div class="wpmudev-productList--items">\r\n\t\t\t\t{{ childs }}\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-productList--action">\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-add-product">Add Product Field</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- List Product (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-product-list-row-tpl">\r\n\t\t<div class="wpmudev-productList--item" data-index="{{ index }}">\r\n\t\t\t<select class="wpmudev-select wpmudev-product-select">\r\n\t\t\t\t{[ _.each( products, function ( product ) { ]}\r\n\t\t\t\t\t<option value="{{ product.element_id }}" {[ if( row.value === product.element_id ) { ]}selected="selected"{[ } ]}>{{ product.label }}</option>\r\n\t\t\t\t{[ }) ]}\r\n\t\t\t</select>\r\n\t\t\t<div class="wpmudev-product--kill">\r\n\t\t\t\t<button class="wpmudev-action--kill">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.sidebar.delete }}</span>\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Answer --\x3e\r\n\t<script type="text/template" id="settings-field-answer-list-tpl">\r\n\t\t<div class="wpmudev-multianswer">\r\n\t\t\t<div class="wpmudev-multianswer--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_answers }}</p>\r\n\t\t\t</div>\r\n\t\t\t <ul class="wpmudev-multianswer--list">\r\n\t\t\t \t{{ childs }}\r\n\t\t\t</ul>\r\n\t\t\t <div class="wpmudev-multianswer--action">\r\n\t\t\t\t  <button class="wpmudev-button wpmudev-add-answer">{{ Forminator.l10n.polls.add_answer }}</button>\r\n\t\t\t </div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Answer (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-answer-list-row-tpl">\r\n\t\t<li class="wpmudev-answer" data-index="{{ index }}">\r\n\t\t\t <div class="wpmudev-answer--move">\r\n\t\t\t\t  <span class="wpmudev-icon--drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t  </span>\r\n\t\t\t </div>\r\n\t\t\t <div class="wpmudev-answer--input">\r\n\t\t\t\t  <input type="text" placeholder="{{ Forminator.l10n.polls.answer_placeholder }}" class="wpmudev-input wpmudev-answer-value" value="{{ row.title }}" />\r\n\t\t\t\t  {[ if( row.use_extra === true ) { ]}\r\n\t\t\t\t\t  <div class="wpmudev-input--extra">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.polls.custom_input_placeholder_label }}</label>\r\n\t\t\t\t\t\t\t<input type="text" placeholder="{{ Forminator.l10n.polls.custom_input_placeholder }}" value="{{ row.extra }}" class="wpmudev-input wpmudev-answer-placeholder" />\r\n\t\t\t\t\t  </div>\r\n\t\t\t\t  {[ } ]}\r\n\t\t\t </div>\r\n\t\t\t <nav class="wpmudev-answer--nav">\r\n\t\t\t\t  <button class="wpmudev-nav--action wpmudev-icon--dots"><span></span></button>\r\n\t\t\t\t  <ul class="wpmudev-answer--menu">\r\n\t\t\t\t\t   {[ if( row.use_extra !== true ) { ]}\r\n\t\t\t\t\t\t\t<li class="wpmudev-action--add_field wpmudev-is_active"><a href="/" class="wpmudev-action--add_field">{{ Forminator.l10n.polls.add_custom_field }}</a></li>\r\n\t\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t\t<li class="wpmudev-action--kill_field"><a href="/">{{ Forminator.l10n.polls.remove_custom_field }}</a></li>\r\n\t\t\t\t\t\t{[ } ]}\r\n\t\t\t\t\t\t<li class="wpmudev-action--kill_answer"><a href="/">{{ Forminator.l10n.polls.delete_answer }}</a></li>\r\n\t\t\t\t  </ul>\r\n\t\t\t </nav>\r\n\t\t</li>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-tpl">\r\n\r\n\t\t<div class="wpmudev-multiqs--empty">\r\n\r\n\t\t\t<div class="wpmudev-empty--message">\r\n\r\n\t\t\t\t<p>{{ Forminator.l10n.options.multiqs_empty }}</p>\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-add-question">{{ Forminator.l10n.options.add_question }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-multiqs--questions">\r\n\r\n\t\t\t{{ childs }}\r\n\r\n\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-add-question">{{ Forminator.l10n.options.add_question }}</button>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-question-tpl">\r\n\r\n\t\t<div class="wpmudev-multiqs--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.question_title }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-question-title" value="{{ row.title }}" size="1">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-delete-question">{{ Forminator.l10n.options.delete }}</button>\r\n\t\t\t\t\t\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.answers }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\r\n\t\t\t\t\t<div class="wpmudev-multianswer--wrap"></div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Question (answer structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-answer-list-tpl">\r\n\t\t<div class="wpmudev-multianswer">\r\n\t\t\t<div class="wpmudev-multianswer--empty">\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_answers }}</p>\r\n\t\t\t</div>\r\n\t\t\t <ul class="wpmudev-multianswer--list">\r\n\t\t\t \t{{ childs }}\r\n\t\t \t </ul>\r\n\t\t\t<label class="forminator-validate-correct-answer wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_correct_answer }}</span></label>\r\n\t\t\t <div class="wpmudev-multianswer--action">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-add_answer">{{ Forminator.l10n.options.add_answer }}</button>\r\n\t\t\t </div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Answer (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-question-multiple-answer-tpl">\r\n\r\n\t\t<li class="wpmudev-answer" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-answer--main">\r\n\r\n\t\t\t\t<div class="wpmudev-answer--move">\r\n\t\t\t\t\t<span class="wpmudev-icon--drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-answer--input">\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-answer-value" value="{{ row.title }}">\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-answer--toggle wpmudev-answer-toggle-container">\r\n\t\t\t\t\t<button class="wpmudev-action--options">\r\n\t\t\t\t\t\t<span class="wpmudev-icon--plus"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-answer--options">\r\n\r\n\t\t\t\t<div class="wpmudev-browse">\r\n\r\n\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-preview--image">\r\n\t\t\t\t\t\t\t<div class="wpmudev-get_image" style="background-image: url( {{ row.image }} );"></div>\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-preview--url">\r\n\t\t\t\t\t\t\t<input class="wpmudev-url--input" type="url" value="{{ row.image }}" placeholder="{{ Forminator.l10n.options.placeholder_image_alt }}" size="1" />\r\n\t\t\t\t\t\t\t<button class="wpmudev-url--clear">{{ Forminator.l10n.options.clear }}</button>\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\t\t\t\t{[ if( type === "nowrong" ) { ]}\r\n\t\t\t\t\t<select class="wpmudev-select wpmudev-quiz-results">\r\n\t\t\t\t\t\t<option value="">{{ Forminator.l10n.options.select_result }}</option>\r\n\t\t\t\t\t\t{[ _.each( results, function ( result ) { ]}\r\n\t\t\t\t\t\t\t<option value="{{ result.title }}" {[ if( row.result === result.slug ) { ]}selected="selected"{[ } ]}>{{ result.title }}</option>\r\n\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t</select>\r\n\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t<div class="wpmudev-toggle">\r\n\t\t\t\t\t\t<div class="wpmudev-toggle--design">\r\n\t\t\t\t\t\t\t<input id="forminator-answer_{{ question_index }}_{{ index }}" value="true" type="checkbox" class="wpmudev-answer-toggle" {[ if( row.toggle === true || row.toggle === "true" ) { ]}checked="checked"{[ } ]}>\r\n\t\t\t\t\t\t\t<label for="forminator-answer_{{ question_index }}_{{ index }}"></label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<label for="forminator-answer_{{ question_index }}_{{ index }}" class="wpmudev-toggle--label wpmudev-label--sm">{{ Forminator.l10n.options.correct }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t<button class="wpmudev-option--trash wpmudev-remove-answer">\r\n\t\t\t\t\t<span class="wpdui-icon wpdui-icon-trash" aria-hidden="true"></span>\r\n\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.trash_answer }}</span>\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</div>\r\n\t\t\t<label class="forminator-validate-answer-result wpmudev-label--notice" style="display: none;" data-index="{{ index }}"><span>{{ Forminator.l10n.quizzes.validate_form_answers_result }}</span></label>\r\n\t\t</li>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Result --\x3e\r\n\t<script type="text/template" id="settings-field-result-list-tpl">\r\n\r\n\t\t<div class="wpmudev-multiresult">\r\n\r\n\t\t\t<div class="wpmudev-multiresult--empty">\r\n\t\t\t\t\r\n\t\t\t\t<p>{{ Forminator.l10n.options.no_results }}</p>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiresult--list">{{ childs }}</div>\r\n\r\n\t\t\t<div class="wpmudev-multiresult--action">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-multiresult--add">{{ Forminator.l10n.options.add_result }}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Result (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-result-list-row-tpl">\r\n\r\n\t\t<div class="wpmudev-multiresult--item" data-index="{{ index }}">\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.title }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<input type="text" class="wpmudev-input wpmudev-result-title" value="{{ row.title }}" />\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.image }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<div class="wpmudev-browse">\r\n\t\t\t\t\t\t<div class="wpmudev-browse--preview">\r\n\t\t\t\t\t\t\t<div class="wpmudev-preview--image">\r\n\t\t\t\t\t\t\t\t<div class="wpmudev-get_image" style="background-image: url( {{ row.image }} );"></div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-preview--url">\r\n\t\t\t\t\t\t\t\t<input class="wpmudev-url--input wpmudev-result-image" type="url" value="{{ row.image }}" placeholder="{{ Forminator.l10n.options.placeholder_image }}" />\r\n\t\t\t\t\t\t\t\t<button class="wpmudev-url--clear">{{ Forminator.l10n.options.clear }}</button>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<button class="wpmudev-browse--action wpmudev-open_media">{{ Forminator.l10n.options.browse }}</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-item--row">\r\n\r\n\t\t\t\t<div class="wpmudev-item--sidebar">\r\n\t\t\t\t\t<label>{{ Forminator.l10n.options.description }}</label>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-item--content">\r\n\t\t\t\t\t<textarea class="wpmudev-textarea wpmudev-result-descrition">{{ row.description }}</textarea>\r\n\t\t\t\t\t<div class="wpmudev-item--trash">\r\n\t\t\t\t\t\t<button class="wpmudev-button wpmudev-button-sm wpmudev-button-ghost wpmudev-button-red wpmudev-delete-result">{{ Forminator.l10n.options.delete_result }}</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Order --\x3e\r\n\t<script type="text/template" id="settings-field-order-list-tpl">\r\n\t\t <ul class="wpmudev-multiorder--wrapper">\r\n\t\t\t{{ childs }}\r\n\t\t </ul>\r\n\t<\/script>\r\n\r\n\t\x3c!-- Multi Order (child structure) --\x3e\r\n\t<script type="text/template" id="settings-field-order-list-row-tpl">\r\n\t\t<div class="wpmudev-multiorder--item" data-index="{{ index }}">\r\n\t\t\t <div class="wpmudev-item--move">\r\n\t\t\t\t  <span class="wpmudev-icon-drag">\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t\t\t<span class="wpmudev-drag-row"><i></i></span>\r\n\t\t\t\t  </span>\r\n\t\t\t </div>\r\n\t\t\t <label class="wpmudev-item--name">{{ row.title }}</label>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n</div>\r\n'}),function(t){formintorjs.define("admin/builder/builder/field",["text!admin/templates/fields.html"],function(e){return Backbone.View.extend({events:{"click .wpmudev-form-field":"activate_field"},mainTpl:Forminator.Utils.template(t(e).find("#builder-field-main-tpl").html()),className:"wpmudev-form-col",initialize:function(t){return this.field=this.model,this.layout=t.layout,this.field.off("forminator:field:settings:updated"),this.field.on("forminator:field:settings:updated",this.render,this),this.render()},render:function(){var t={field:this.field.toJSON(),condition:this.get_condition_markup()};this.$el.attr("id","wpmudev-field-"+this.field.cid),this.$el.html(""),this.$el.append(this.mainTpl(t)),this.$el.addClass("wpmudev-form-col-"+this.field.get("cols")),this.render_content()},get_condition_markup:function(){if(!_.isUndefined(this.field.get("conditions"))&&this.field.get("conditions").length>0){var t="show"===this.field.get("condition_action")?Forminator.l10n.sidebar.shown:Forminator.l10n.sidebar.hidden,e=Forminator.Utils.get_fields(this.layout.get("wrappers")),n=this.field.get("conditions");if(0===n.length)return!1;var i,a="",r=n.get_by_index(0),o=_.where(e,{element_id:r.get("element_id")})[0];if(void 0===o)return void n.remove(r,{silent:!0});if(o.hasOptions&&o.values.length>0){var l=_.where(o.values,{value:r.get("value")})[0];if(l||(l=_.where(o.values,{label:r.get("value")})[0]),!l)return n.remove(r,{silent:!0}),void Forminator.Events.trigger("sidebar:settings:updated",this.field);i=l.label}else i=r.get("value");if(n.length>1){var s=Forminator.Utils.template(" + {{ total }} {{ more_label }}"),d=n.length-1;a=s({total:d,more_label:1===d?Forminator.l10n.conditions.more_condition:Forminator.l10n.conditions.more_conditions})}_.isEmpty(i)&&(i="null");return Forminator.Utils.template("{{ action }} {{ Forminator.l10n.sidebar.if }} <strong>{{ label }}</strong> {{ rule }} <strong>{{ valueLabel }}</strong> {{ moreConditions }}")({action:t,label:o.label,rule:Forminator.l10n.conditions[r.get("rule")],valueLabel:i,moreConditions:a})}},render_content:function(){var e=_.where(Forminator.Data.fields,{slug:this.field.get("type")})[0],n=_.isUndefined(e.markup)?"":e.markup;this.contentTpl=Forminator.Utils.template(n);var i=this.field.toJSON();return this.$el.find(".wpmudev-form-field--section").append(this.contentTpl({field:i})),Forminator.Utils.append_select2(t(this.$el),this.model),this},activate_field:function(e){if(!(t(e.target).closest(".select2").length>0)&&"checkbox"!==t(e.target).attr("type")&&"radio"!==t(e.target).attr("type")){var n=this.$el.find(".wpmudev-form-field");t(".wpmudev-form-field").not(n).each(function(){t(this).removeClass("wpmudev-is_active")}),n.toggleClass("wpmudev-is_active"),n.hasClass("wpmudev-is_active")?Forminator.Events.trigger("forminator:sidebar:open:settings",this.field):Forminator.Events.trigger("forminator:sidebar:close:settings")}}})})}(jQuery),function(t){formintorjs.define("admin/builder/builder/wrapper",["text!admin/templates/fields.html"],function(){return Backbone.View.extend({className:"wpmudev-form-row",initialize:function(t){return this.render()},render:function(){}})})}(jQuery),function(t){formintorjs.define("admin/popup/confirm",["text!tpl/dashboard.html"],function(e){return Backbone.View.extend({className:"wpmudev-section--popup",popupTpl:Forminator.Utils.template(t(e).find("#forminator-confirmation-popup-tpl").html()),default_options:{confirmation_message:Forminator.l10n.popup.confirm_action,confirmation_title:Forminator.l10n.popup.confirm_title,confirm_callback:function(){this.close()},cancel_callback:function(){this.close()}},confirm_options:{},events:{"click .popup-confirmation-confirm":"confirm_action","click .popup-confirmation-cancel":"cancel_action"},initialize:function(t){this.confirm_options=_.defaults(t,this.default_options),this.render(),this.open()},render:function(){return this.$el.html(this.popupTpl(this.confirm_options)),this},confirm_action:function(){this.confirm_options.confirm_callback.apply(this,[])},cancel_action:function(){this.confirm_options.cancel_callback.apply(this,[])},open:function(){var e=this;Forminator.Popup.open(function(){t(this).append(e.$el)},{title:e.confirm_options.confirmation_title})},close:function(){Forminator.Popup.close()}})})}(jQuery),function(t){formintorjs.define("admin/builder/builder/fields-panel",["admin/builder/drag-drop","admin/builder/builder/field","admin/models/fields-collection","admin/builder/builder/wrapper","admin/popup/confirm"],function(e,n,i,a,r){return Backbone.View.extend({className:"wpmudev-builder--form-wrappers",fields:!1,wrappers:!1,grid:!1,initialize:function(t){return this.listenTo(Forminator.Events,"forminator:dnd:field:select",this.make_field_active),this.listenTo(Forminator.Events,"sidebar:settings:updated",this.settings_updated),this.listenTo(Forminator.Events,"sidebar:clone:field",this.clone_field),this.listenTo(Forminator.Events,"sidebar:delete:field",this.confirm_delete_field),this.render()},render:function(){var t=this;this.$el.html("");var i=0;this.wrappers=this.model.get("wrappers"),this.grid={},this.wrappers.each(function(r){var o=r.get("fields"),l=new a({model:r});t.$el.append(l.$el),t.grid[i]=new e(l,r,!1,"wrapper",t.model),t.grid[i].fields={},o.each(function(a){var o=new n({model:a,layout:t.model}),s=a.get("element_id"),d=s.split("-"),p=d[0],m=d[1];Forminator.Utils.is_randomed_field_id(s)||Forminator.Utils.is_field_id_exist(p,m)||Forminator.Utils.set_increment_field_id(p,m),l.$el.append(o.$el),t.grid[i].fields[a.get("element_id")]=new e(o,a,r,"field",t.model)}),i++}),Forminator.Grid=this.grid},clone_field:function(t){var e=this.get_wrapper_by_field(t),n=this.wrappers.model_index(e);if(!Forminator.Utils.ensure_max_of_type_field(this.wrappers,"captcha",1,t))return!1;var i=t.clone_deep(),a=new Forminator.Models.Wrapper({fields:new Forminator.Collections.Fields(i)});a.set("wrapper_id",Forminator.Utils.get_unique_id("wrapper")),i.set("cols",12),i.set("element_id",Forminator.Utils.get_increment_field_id(i)),this.wrappers.add(a,{silent:!0});var r=this.wrappers.model_index(a);this.wrappers.move_to(n+1,r),Forminator.Events.trigger("forminator:sidebar:open:settings",i),this.render(),this.make_field_active(i.cid)},get_wrapper_by_field:function(t){var e=!1;return this.wrappers.each(function(n){n.get("fields").each(function(i){i.get_id()===t.get_id()&&(e=n)})}),e},confirm_delete_field:function(t){var e=this,n="";_.isUndefined(t.get("field_label"))||_.isEmpty(t.get("field_label"))?(n=t.get("type"),n=Forminator.Utils.ucfirst(n)):n=t.get("field_label");new r({confirmation_message:Forminator.l10n.popup.confirm_field_delete+": <strong>"+n+"</strong>",confirm_callback:function(){this.close(),e.delete_field(t)}});return!1},delete_field:function(e){var n=this.get_wrapper_by_field(e);if(!1!==n){var i=n.get("fields"),a=(this.wrappers.model_index(n),n.fields_count());if(i.remove(e,{silent:!0}),a>1){var r=12/i.length;i.update_cols(r)}else this.wrappers.remove(n,{silent:!0});t("#wpmudev-sidebar-settings").find(".wpmudev-sidebar").removeClass("wpmudev-is_active"),Forminator.Events.trigger("forminator:sidebar:close:settings"),Forminator.Events.trigger("dnd:reload:fields")}},settings_updated:function(t){t.trigger("forminator:field:settings:updated");var e=Forminator.Utils.get_fields_models(this.wrappers,[t.cid]),n=new i(e),a=n.get_fields_related_to(t);_.each(a,function(t){t.trigger("forminator:field:settings:updated")}),this.make_field_active(t.cid)},make_field_active:function(e){var n=t("#wpmudev-field-"+e+" .wpmudev-form-field");if(0===n.length)return!1;n.addClass("wpmudev-is_active"),t("html, body").animate({scrollTop:n.offset().top-(t(window).height()-n.outerHeight(!0))/2},0)}})})}(jQuery),function(t){formintorjs.define("admin/builder/builder/shadows-panel",["admin/builder/drag-drop","admin/builder/builder/field","admin/builder/builder/wrapper"],function(t,e,n){return Backbone.View.extend({initialize:function(t){return this.render()},render:function(){this.$el.html("");var n=this,i=Forminator.Data.fields;i.length&&_.each(i,function(i,a){var r=_.extend({type:i.type,options:i.options,cols:12,conditions:new Forminator.Collections.Conditions},i.defaults),o=new Forminator.Models.Fields(r),l=new e({model:o});l.dnd=new t(l,o,!1,"field",n.model),l.$el.attr("data-shadow",i.slug),n.$el.append(l.$el)})}})})}(jQuery),formintorjs.define("text!admin/templates/builder.html",[],function(){
return'<div>\r\n\t\r\n\t<script type="text/template" id="builder-layout-tpl">\r\n\r\n\t\t<div id="wpmudev-form-builder" class="wpmudev-form-builder"></div>\r\n\r\n\t\t<aside id="wpmudev-sidebar" class="wpmudev-sidebar wpmudev-is_active" role="complementary">\r\n\r\n\t\t\t<div class="wpmudev-sidebar--wrap wpmudev-show"></div>\r\n\r\n\t\t</aside>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-main-tpl">\r\n\r\n\t\t<button class="wpmudev-builder-preview wpmudev-button wpmudev-button-sm wpmudev-button-ghost" aria-hidden="true" data-modal="preview_cforms" style="display: none;" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.custom_form.preview_nonce }}">{{ Forminator.l10n.appearance.preview_form }}</button>\r\n\r\n\t\t<div id="forminator-wizard-name" class="wpmudev-box">\r\n\r\n\t\t\t<div class="wpmudev-box-section">\r\n\r\n\t\t\t\t<div class="wpmudev-section--text">\r\n\r\n\t\t\t\t\t<label class="wpmudev-label--bold">{{ Forminator.l10n.appearance.form_name }}</label>\r\n\r\n\t\t\t\t\t<div  class="wpmudev-builder--form-name"></div>\r\n\r\n\t\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.appearance.form_name_validation }}</span></label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-builder">\r\n\t\t\t \r\n\t\t\t<div class="wpmudev-builder--section">\r\n\t\t\t\t \r\n\t\t\t\t<div class="wpmudev-builder--form">\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-builder--shadow">\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-buttons-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-builder--footer builder-buttons">\r\n\r\n\t\t\t<button class="wpmudev-button wpmudev-button-circle forminator-add-new-field">\r\n\t\t\t\t<span class="wpmudev-icon--plus"></span>\r\n\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.builder.new_field }}</span>\r\n\t\t\t</button>\r\n\r\n\t\t\t<div class="wpmudev-footer--left">\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-button-cancel">{{Forminator.l10n.builder.cancel}}</button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-footer--right">\r\n\r\n\t\t\t\t<button class="wpmudev-button forminator-save forminator-save-changes">\r\n\t\t\t\t\t<span class="wpmudev-loading-text">{{ Forminator.l10n.builder.save }}</span>\r\n\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t</button>\r\n\r\n\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-save forminator-save-layout">\r\n\t\t\t\t\t<span class="wpmudev-loading-text">{{ Forminator.l10n.builder.form_settings }}</span>\r\n\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-main-no-fields-tpl">\r\n\t\t<div class="wpmudev-form--placeholder">\r\n\t\t\t<div class="wpmudev-form--empty">\r\n\t\t\t\t<p>{{Forminator.l10n.builder.no_fields}}</p>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t<\/script>\r\n</div>\r\n'}),function(t){formintorjs.define("admin/builder/builder",["admin/builder/builder/fields-panel","admin/builder/builder/shadows-panel","admin/popup/ajax","text!admin/templates/builder.html"],function(e,n,i,a){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(a).find("#builder-main-tpl").html()),buttonsTpl:Forminator.Utils.template(t(a).find("#builder-buttons-tpl").html()),noFieldsTpl:Forminator.Utils.template(t(a).find("#builder-main-no-fields-tpl").html()),events:{"click .forminator-save-changes":"save_changes","click .forminator-save-layout":"save_layout","click .wpmudev-button-cancel":"cancel_builder","click .forminator-add-new-field":"show_fields","click .wpmudev-builder-preview":"open_preview","change .wpmudev-input":"set_dirty"},$main:!1,$shadows_container:!1,fields:{},settings:{},dirty:!1,is_edit:!1,initialize:function(t){return this.wrappers=this.model.get("wrappers"),this.settings=this.model.get("settings"),this.listenTo(Forminator.Events,"dnd:reload:fields",this.render),this.listenTo(Forminator.Events,"dnd:models:updated",this.render),this.sidebar||(this.sidebar=new Forminator.Views.Builder.Sidebar({model:this.model,el:"#wpmudev-sidebar .wpmudev-sidebar--wrap"})),this.render()},render:function(){var e=Forminator.Data.currentForm.formID||-1;this.$el.html(this.mainTpl()),this.$el.find(".wpmudev-builder").append(this.buttonsTpl()),-1===e?(t("#wpmudev-header h1").html(Forminator.l10n.builder.builder_new_title),t("#wpmudev-header .wpmudev-button").show()):(this.is_edit=!0,t("#wpmudev-header h1").html(Forminator.l10n.builder.builder_edit_title),t("#wpmudev-header .wpmudev-button").show()),this.$main=this.$el.find(".wpmudev-builder--form"),this.$shadows_container=this.$el.find(".wpmudev-builder--shadow"),Forminator.Events.off("forminator:add:field:click");var n=this;t(window).off("beforeunload.forminator-leave-wizard-confirm"),t(window).on("beforeunload.forminator-leave-wizard-confirm",function(t){if(n.dirty)return Forminator.l10n.popup.save_alert}),this.render_fields(),this.render_shadows(),this.render_form_name(),setTimeout(function(){n.update_preview_button()},20)},update_preview_button:function(){var e=t("#wpmudev-header h1"),n=t(".wpmudev-builder-preview"),i=e.width();n.show().css("left",i+20)},render_fields:function(){if(0===this.wrappers.length)return this.show_placeholder(),void this.disable_save();this.enable_save(),this.fields_panel&&(this.fields_panel.off(),this.fields_panel.remove()),this.fields_panel=new e({model:this.model}),this.$main.append(this.fields_panel.$el)},disable_save:function(){this.$el.find(".forminator-save").attr("disabled",!0)},enable_save:function(){this.$el.find(".forminator-save").attr("disabled",!1)},render_shadows:function(){this.shadows_panel&&(this.$shadows_container.html(""),this.shadows_panel.off(),this.shadows_panel.remove()),this.shadows_panel=new n({el:this.$shadows_container,model:this.model}),this.$shadows_container.append(this.shadows_panel.$el)},render_form_name:function(){var t=new Forminator.Settings.Text({model:this.model,id:"builder-form-name",name:"formName",placeholder:Forminator.l10n.builder.form_name});this.$el.find(".wpmudev-builder--form-name").append(t.el)},show_placeholder:function(){this.$main.append(this.noFieldsTpl())},save_changes:function(e){e.preventDefault(),this.validate()?this.save(!1,!0):t("html, body").animate({scrollTop:0},500)},save_layout:function(e){e.preventDefault(),this.validate()?this.save(!0,!0):t("html, body").animate({scrollTop:0},500)},save:function(e,n){var i=this,a=Forminator.Utils.model_to_json(this.model),r=Forminator.Data.currentForm.formName||this.model.get("formName")||"",o=Forminator.Data.currentForm.formID||-1;n&&this.$el.find(".forminator-save").addClass("wpmudev-button-onload"),t.post({url:Forminator.Data.ajaxUrl,data:{action:"forminator_save_builder_fields",formName:r,formID:o,data:a}}).success(function(t){if(-1===o&&(Forminator.Data.currentForm.formID=t.data),i.is_edit&&(i.dirty=!1),n&&(setTimeout(function(){i.$el.find(".forminator-save").removeClass("wpmudev-button-onload")},500),!e)){var a=_.template("<strong>{{ formName }}</strong> {{ Forminator.l10n.options.been_saved }}");Forminator.Notification.open("success",a({formName:r}),4e3)}e&&(Forminator.Events.trigger("forminator:sidebar:close:settings"),Forminator.navigate("appearance",{trigger:!0}))}).error(function(){Forminator.Notification.open("error",Forminator.l10n.options.error_saving,5e3)})},open_preview:function(e){e.preventDefault();var n=t(e.target);n.hasClass("wpmudev-builder-preview")||(n=n.closest(".wpmudev-builder-preview"));var i=n.data("modal"),a=n.data("nonce"),r=n.data("form-id");this.open_preview_popup(i,a,r,Forminator.l10n.popup.preview_cforms+" - "+this.model.get("formName"),this.model.toJSON())},open_preview_popup:function(e,n,a,r,o){_.isUndefined(r)&&(r=Forminator.l10n.appearance.preview_form);var l=new i({action:e,nonce:n,data:o,id:a});Forminator.Popup.open(function(){t(this).append(l.el),t(".forminator-design--material").each(function(){var e=t(this),n=e.find(".forminator-input--wrap"),i=e.find(".forminator-textarea--wrap"),a=(e.find(".forminator-product"),e.find(".forminator-date")),r=e.find(".forminator-pagination--nav"),o=r.find("li");t('<span class="forminator-nav-border"></span>').insertAfter(o),n.prev(".forminator-field--label").addClass("forminator-floating--input"),i.prev(".forminator-field--label").addClass("forminator-floating--textarea"),a.hasClass("forminator-has_icon")?a.prev(".forminator-field--label").addClass("forminator-floating--date"):a.prev(".forminator-field--label").addClass("forminator-floating--input")})},{title:r})},validate:function(){var t=!1;return _.isEmpty(this.model.get("formName"))?(this.$el.find("#forminator-validate-name").show(),t=!0):this.$el.find("#forminator-validate-name").hide(),Forminator.Utils.ensure_max_of_type_field(this.model.get("wrappers"),"captcha",1)||(t=!0),!t},cancel_builder:function(t){t.preventDefault(),window.location.href=Forminator.Data.modules.custom_form.form_list_url},show_fields:function(e){e.preventDefault(),t("body.wp-admin").addClass("wpmudev-disabled--mobile"),t("#wpmudev-sidebar").addClass("wpmudev-is_active wpmudev-show")},set_dirty:function(){this.dirty=!0}})})}(jQuery),formintorjs.define("text!tpl/builder-sidebar.html",[],function(){return'<div>\r\n\t\r\n\t<script type="text/template" id="builder-sidebar-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-sidebar--header">\r\n\t\t\t\r\n\t\t\t<div class="wpmudev-header--main">\r\n\t\t\t\t\r\n\t\t\t\t<div class="wpmudev-header--text">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<h2 class="wpmudev-title">{{Forminator.l10n.builder.click_drag_label}}</h2>\r\n\t\t\t\t\r\n\t\t\t\t</div>\r\n\t\t\t\t\r\n\t\t\t\t<div class="wpmudev-header--action">\r\n\r\n\t\t\t\t\t<button class="wpmudev-action--button forminator-sidebar-close">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<span class="wpmudev-icon--close"></span>\r\n\r\n\t\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.close }}</span>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-field-tabs-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-sidebar--section wpmudev-sort-fields">\r\n\r\n\t\t\t<ul class="wpmudev-sidebar--menu wpmudev-sort-fields--menu">\r\n\t\t\t\t\r\n\t\t\t\t{[ _.each( headings, function( value, key ) { ]}\r\n\t\t\t\t\t\r\n\t\t\t\t\t<li class="wpmudev-menu--item"><a href="#wpmudev-fields--{{value}}">{{ Forminator.l10n.builder[ value ] ? Forminator.l10n.builder[ value ] : value }}</a></li>\r\n\r\n\t\t\t\t{[ }) ]}\r\n\r\n\t\t\t</ul>\r\n\r\n\t\t\t{[ _.each( tabs, function( value, key ){ ]}\r\n\t\t\t\t\r\n\t\t\t\t<div id="wpmudev-fields--{{key}}" class="wpmudev-sidebar--content wpmudev-sort-fields--list">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<ul class="wpmudev-list--options">{[ _.each( _.sortBy( value, \'position\' ), function( tab ) { ]}<li class="draggable-element draggable-{{ tab.slug }}" data-shadowid="{{ tab.slug }}">{{ tab.name }}</li>{[ }) ]}</ul>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t{[ }) ]}\r\n\t\t\t\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-settings-tpl">\r\n\r\n\t\t<div class="wpmudev-sidebar--wrap">\r\n\r\n\t\t\t<div class="wpmudev-sidebar--header">\r\n\r\n\t\t\t\t<div class="wpmudev-header--breadcrumbs">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class="wpmudev-breadcrumb wpmudev-breadcrumb--back">« <a href="#">{{ Forminator.l10n.builder.back_to_fields }}</a></span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-header--main">\r\n\r\n\t\t\t\t\t<div class="wpmudev-header--icon" aria-hidden="true">\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-widget-settings-config"></span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div class="wpmudev-header--text">\r\n\t\t\t\t\t\t<h2 class="wpmudev-title">{{ field_settings.name }}</h2>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-sidebar--section">\r\n\r\n\t\t\t\t<ul class="wpmudev-sidebar--menu">\r\n\r\n\t\t\t\t\t<li class="wpmudev-menu--item settings-general"><a href="#wpmudev-settings--general">{{ Forminator.l10n.builder.general }}</a></li>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<li class="wpmudev-menu--item settings-advanced"><a href="#wpmudev-settings--advanced">{{ Forminator.l10n.builder.advanced }}</a></li>\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div id="wpmudev-settings--general" class="wpmudev-sidebar--content"></div>\r\n\r\n\t\t\t\t<div id="wpmudev-settings--advanced" class="wpmudev-sidebar--content"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-sidebar--footer">\r\n\r\n\t\t\t\t<div class="wpmudev-footer--buttons">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-clone-field">{{ Forminator.l10n.builder.clone }}</button>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-done-field">{{ Forminator.l10n.conditions.done }}</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<p class="wpmudev-footer--link"><a href="/" class="wpmudev-delete-field">{{ Forminator.l10n.builder.delete }}</a></p>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-conditions-popup-tpl">\r\n\t\t<div class="wpmudev-conditions--rule">\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-condition--actions" name="condition">\r\n\t\t\t\t<option value="show" {[ if( "show" === data.condition_action ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.show}}</option>\r\n\t\t\t\t<option value="hide" {[ if( "hide" === data.condition_action ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.hide}}</option>\r\n\t\t\t</select>\r\n\r\n\t\t\t<span class="wpmudev-rule--text">{{Forminator.l10n.conditions.show_field_if}}</span>\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-condition--rules" name="rules">\r\n\t\t\t\t<option value="any" {[ if( "any" === data.condition_rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.any}}</option>\r\n\t\t\t\t<option value="all" {[ if( "all" === data.condition_rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.all}}</option>\r\n\t\t\t</select>\r\n\r\n\t\t\t<span class="wpmudev-rule--text">{{Forminator.l10n.conditions.following_match}}:</span>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-conditions--list">\r\n\t\t\t<div class="wpmudev-list--rules"></div>\r\n\t\t\t<div class="wpmudev-list--add"><button class="wpmudev-button wpmudev-button-sm">{{Forminator.l10n.conditions.add_condition}}</button></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-conditions--done">\r\n\t\t\t<button class="wpmudev-button wpmudev-action-done wpmudev-button-blue">{{Forminator.l10n.conditions.done}}</button>\r\n\t\t</div>\r\n\t<\/script>\r\n\t<script type="text/template" id="builder-sidebar-conditions-rule-tpl">\r\n\t\t<div class="wpmudev-rule--new" data-index="{{ index }}">\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-conditions--field" name="fields">\r\n\t\t\t\t<option value="">{{ Forminator.l10n.sidebar.pick_field }}</option>\r\n\t\t\t\t{[ _.each( fields, function( value, key ){ ]}\r\n\t\t\t\t\t<option value="{{ value.element_id }}" {[ if( value.element_id === condition.element_id ) { ]}selected="selected"{[ } ]}>{{ value.label }}</option>\r\n\t\t\t\t{[ }) ]}\r\n\t\t\t</select>\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-conditions--action">\r\n\t\t\t\t<option value="is" {[ if( "is" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is}}</option>\r\n\t\t\t\t<option value="is_not" {[ if( "is_not" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_not}}</option>\r\n\t\t\t\t{[ if( field && field.isNumber ) { ]}\r\n\t\t\t\t<option value="is_great" {[ if( "is_great" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_great}}</option>\r\n\t\t\t\t<option value="is_less" {[ if( "is_less" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_less}}</option>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t\t{[ if( field && ! field.isNumber && ! field.hasOptions ) { ]}\r\n\t\t\t\t<option value="contains" {[ if( "contains" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.contains}}</option>\r\n\t\t\t\t<option value="starts" {[ if( "starts" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.starts}}</option>\r\n\t\t\t\t<option value="ends" {[ if( "ends" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.ends}}</option>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t</select>\r\n\r\n\t\t\t<div class="wpmudev-conditions--values-wrapper">\r\n\t\t\t\t<select class="wpmudev-select wpmudev-conditions--values"></select>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-conditions--input-wrapper">\r\n\t\t\t\t<input type="text" name="rule_input" class="wpmudev-text wpmudev-conditions--input">\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-rule--delete">\r\n\t\t\t\t<button class="wpmudev-delete-action wpmudev-delete-condition"><span class="wpdui-icon wpdui-icon-trash"></span></button>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t<\/script>\r\n</div>\r\n'}),function(t){formintorjs.define("admin/builder/sidebar/conditions",["text!tpl/builder-sidebar.html"],function(e){return Backbone.View.extend({conditionsTpl:Forminator.Utils.template(t(e).find("#builder-sidebar-conditions-popup-tpl").html()),ruleTpl:Forminator.Utils.template(t(e).find("#builder-sidebar-conditions-rule-tpl").html()),wrappers:!1,conditions:!1,fields:[],className:"wpmudev-section--conditions",events:{"click .wpmudev-action-done":"close","click .wpmudev-list--add .wpmudev-button":"new","click .wpmudev-delete-action":"delete","change .wpmudev-conditions--field":"update_field","change .wpmudev-conditions--action":"update_rule","change .wpmudev-conditions--values":"update_value","change .wpmudev-conditions--input":"update_value","change .wpmudev-condition--actions":"update_actions","change .wpmudev-condition--rules":"update_rules"},initialize:function(t){this.wrappers=t.wrappers,this.fields=Forminator.Utils.get_fields(this.wrappers),this.conditions=this.model.get("conditions"),this.render()},render:function(){this.$el.html(this.conditionsTpl({data:this.model.toJSON()})),this.render_conditions(),this.init_select2()},render_conditions:function(){var e=this;_.isUndefined(this.conditions)||this.conditions.each(function(n,i){var a=e.conditions.model_index(n),r=_.where(e.fields,{element_id:n.get("element_id")})[0]||{},o=e.ruleTpl({index:a,fields:_.filter(e.fields,function(t){return t.element_id!==e.model.get("element_id")}),field:r,condition:n.toJSON()}),l=t(o),s=e.$el.find(".wpmudev-list--rules");l.appendTo(s),n.get("element_id")?r.hasOptions?(l.find(".wpmudev-conditions--input-wrapper").hide(),e.update_field_values(l,r,n)):(l.find(".wpmudev-conditions--values-wrapper").hide(),e.update_field_input(l,r,n)):(l.find(".wpmudev-conditions--action").prop("disabled",!0),l.find(".wpmudev-conditions--values-wrapper").hide(),l.find(".wpmudev-conditions--input-wrapper").hide())})},update_field:function(e){var n=t(e.target),i=n.val(),a=(n.closest(".wpmudev-rule--new"),this.get_model(n));""!==i?a.set("element_id",i):(a.set("element_id",i),a.set("rule","is"),a.set("value",!1)),this.render()},update_field_values:function(t,e,n){var i=t.find(".wpmudev-conditions--values"),a=e,r=n.get("value");i.empty(),a&&a.values.length&&(i.append(new Option(Forminator.l10n.conditions.select_option,"")),_.each(a.values,function(t,e){var n=t.value;n||(n=t.label),i.append(new Option(t.label,n,!1,r===n))}))},update_field_input:function(t,e,n){var i=t.find(".wpmudev-conditions--input"),a=n.get("value");i.val(a)},update_rule:function(e){var n=t(e.target),i=n.val();this.get_model(n).set("rule",i)},update_value:function(e){var n=t(e.target),i=n.val();this.get_model(n).set("value",i)},update_actions:function(e){var n=t(e.target),i=n.val();this.model.set("condition_action",i)},update_rules:function(e){var n=t(e.target),i=n.val();this.model.set("condition_rule",i)},new:function(t){t.preventDefault(),new_condition=new Forminator.Models.Condition({element_id:"",rule:"is",value:""}),this.conditions.add(new_condition,{silent:!0}),this.render()},delete:function(e){e.preventDefault();var n=t(e.target),i=this.get_model(n);this.conditions.remove(i,{silent:!0}),this.render()},get_model:function(t){var e=t.closest(".wpmudev-rule--new").data("index");return this.conditions.get_by_index(e)},close:function(t){t.preventDefault(),this.trigger("conditions:modal:close"),Forminator.Events.trigger("sidebar:settings:updated",this.model)},init_select2:function(){Forminator.Utils.init_select2()}})})}(jQuery),function(t){formintorjs.define("admin/builder/sidebar/advanced-settings",["admin/builder/sidebar/conditions"],function(e){return Backbone.View.extend({className:"wpmudev-advanced-settings--options",events:{"click .wpmudev-manage-conditions":"conditions_popup"},settings:[],initialize:function(t){return this.field=t.field,this.l10n=t.l10n,this.field_settings=t.field_settings,this.render()},render:function(){this.$el.html(""),"hidden"!==this.field.get("type")&&this.render_custom_class(),this.render_conditions()},render_custom_class:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:t.field,id:"advanced-custom-class",name:"use-custom-class",hide_label:!0,has_content:!0,values:[{value:"true",label:Forminator.l10n.builder.use_custom_class,labelSmall:"true"}],on_change:function(e){t.render_fields()}}),n=new Forminator.Settings.Text({model:t.field,id:"advanced-custom-class-field",name:"custom-class",label:Forminator.l10n.builder.custom_class,on_change:function(e){t.render_fields()}});e.$el.find(".wpmudev-option--switch_content").append(n.$el),t.$el.append(e.$el);var i=new Forminator.Settings.Separator({model:t.field});t.$el.append(i.$el)},render_conditions:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:t.field,id:"advanced-conditions",name:"use_conditions",hide_label:!0,values:[{value:"true",label:Forminator.l10n.conditions.conditional_logic,labelSmall:"true"}],on_change:function(e){t.render_fields()}});if(!_.isUndefined(this.field.get("conditions"))&&this.field.get("conditions").length>0){var n="show"===this.field.get("condition_action")?Forminator.l10n.sidebar.shown:Forminator.l10n.sidebar.hidden;e.$el.find(".wpmudev-option--switch_content").addClass("wpmudev-is_gray").append('<div class="wpmudev-conditions--rule"><label class="wpmudev-rule--base"> '+Forminator.l10n.sidebar.field_will_be+" <strong>"+n.toLowerCase()+"</strong> "+Forminator.l10n.sidebar.if+':</label><ul class="wpmudev-rule--match"></ul></div><div class="wpmudev-conditions--manage"><button class="wpmudev-button wpmudev-manage-conditions wpmudev-button-sm">'+Forminator.l10n.conditions.edit_conditions+"</button></div>");var i=Forminator.Utils.get_fields(this.model.get("wrappers")),a=this.field.get("conditions");a.each(function(n){var r,o=_.where(i,{element_id:n.get("element_id")})[0];if(void 0!==o){if(o.hasOptions&&o.values.length>0){var l=_.where(o.values,{value:n.get("value")})[0];if(l||(l=_.where(o.values,{label:n.get("value")})[0]),!l)return a.remove(n,{silent:!0}),Forminator.Events.trigger("sidebar:settings:updated",t.field),!1;r=l.label}else r=n.get("value");_.isEmpty(r)&&(r="null"),e.$el.find(".wpmudev-rule--match").append("<li>"+o.label+" <strong>"+Forminator.l10n.conditions[n.get("rule")]+"</strong> "+r+"</li>")}})}else e.$el.find(".wpmudev-option--switch_content").addClass("wpmudev-is_gray").append('<div class="wpmudev-conditions--manage"><button class="wpmudev-button wpmudev-manage-conditions wpmudev-button-sm">'+Forminator.l10n.conditions.setup_conditions+"</button></div>");t.$el.append(e.$el);var r=new Forminator.Settings.Separator({model:t.field});t.$el.append(r.$el)},render_fields:function(){Forminator.Events.trigger("sidebar:settings:updated",this.field)},conditions_popup:function(n){n.preventDefault();var i=this,a=new e({model:this.field,wrappers:this.model.get("wrappers")});this.listenTo(a,"conditions:modal:close",function(){Forminator.Popup.close(),i.render()}),Forminator.Popup.open(function(){t(this).append(a.el)},{title:Forminator.l10n.conditions.setup_conditions})}})})}(jQuery),function(t){formintorjs.define("admin/builder/sidebar/settings-factory",["admin/builder/sidebar/advanced-settings"],function(t){return Backbone.View.extend({className:"wpmudev-options--wrap",tab:!1,field:!1,field_settings:!1,nested_settings:["ToggleContainer","RadioContainer","Accordion","MultiName","Product","ProductVar","ColDouble"],initialize:function(t){return this.tab=t.tab,this.field=t.field,this.field_settings=t.field_settings,this.render()},render:function(){var e=this;if(this.$el.html(""),"Advanced"===this.tab){var n=new t({model:this.model,field:this.field,field_settings:this.field_settings});e.$el.append(n.$el)}if(void 0!==this.field_settings.settings){var i="Advanced"===this.tab?this.field_settings.advanced_settings:this.field_settings.settings;0!==_.size(i)&&_.each(i,function(t){if(!_.isFunction(Forminator.Settings[t.type]))return void console.log("Field setting doesnt exist");var n=e.add_setting(t,e.field);_.contains(e.nested_settings,t.type)&&_.each(t.fields,function(i,a){var r=e.add_setting(i,e.field);_.contains(e.nested_settings,i.type)&&_.each(i.fields,function(t,n){var a=e.add_setting(t,e.field);r.$el.find(e.get_setting_class(i.type,t.tab?t.tab:"")).append(a.$el)}),n.$el.find(e.get_setting_class(t.type,i.tab?i.tab:"")).append(r.$el)}),e.$el.append(n.$el)})}},add_setting:function(t,e){var n=this;return new Forminator.Settings[t.type]({model:e,layout:n.model,id:t.id,name:t.name,label:t.label||"",show_title:t.show_title||!1,hide_label:t.hide_label||!1,dateFormat:t.dateFormat||"",containerClass:t.containerClass||"",has_content:t.has_content||!1,default_value:t.default_value||"",previewOnly:t.previewOnly||!1,hasPreview:t.hasPreview||!1,hasOpposite:t.hasOpposite||!1,setting_to_check:t.setting_to_check||"",value_to_show:t.value_to_show||"",ajax:t.ajax||!1,min:t.min||"",max:t.max||"",ajax_action:t.ajax_action||!1,values:t.values,on_change:function(t){n.render_fields()}})},get_setting_class:function(t,e){var n;switch(t){case"Product":n=".wpmudev-product";break;case"ProductVar":n=".wpmudev-product--var";break;case"ColDouble":n=".wpmudev-option--half";break;case"MultiName":n=".wpmudev-multiname--content";break;case"RadioContainer":n=".wpmudev-radio-tab-"+e;break;case"Accordion":n=".wpmudev-accordion--section";break;case"MultiName":n=".wpmudev-field--content";break;default:n=".wpmudev-option--switch_content"}return n},render_fields:function(){Forminator.Events.trigger("sidebar:settings:updated",this.field)}})})}(jQuery),formintorjs.define("text!admin/templates/builder-sidebar.html",[],function(){
return'<div>\r\n\t\r\n\t<script type="text/template" id="builder-sidebar-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-sidebar--header">\r\n\t\t\t\r\n\t\t\t<div class="wpmudev-header--main">\r\n\t\t\t\t\r\n\t\t\t\t<div class="wpmudev-header--text">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<h2 class="wpmudev-title">{{Forminator.l10n.builder.click_drag_label}}</h2>\r\n\t\t\t\t\r\n\t\t\t\t</div>\r\n\t\t\t\t\r\n\t\t\t\t<div class="wpmudev-header--action">\r\n\r\n\t\t\t\t\t<button class="wpmudev-action--button forminator-sidebar-close">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<span class="wpmudev-icon--close"></span>\r\n\r\n\t\t\t\t\t\t<span class="wpmudev-sr-only">{{ Forminator.l10n.options.close }}</span>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-field-tabs-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-sidebar--section wpmudev-sort-fields">\r\n\r\n\t\t\t<ul class="wpmudev-sidebar--menu wpmudev-sort-fields--menu">\r\n\t\t\t\t\r\n\t\t\t\t{[ _.each( headings, function( value, key ) { ]}\r\n\t\t\t\t\t\r\n\t\t\t\t\t<li class="wpmudev-menu--item"><a href="#wpmudev-fields--{{value}}">{{ Forminator.l10n.builder[ value ] ? Forminator.l10n.builder[ value ] : value }}</a></li>\r\n\r\n\t\t\t\t{[ }) ]}\r\n\r\n\t\t\t</ul>\r\n\r\n\t\t\t{[ _.each( tabs, function( value, key ){ ]}\r\n\t\t\t\t\r\n\t\t\t\t<div id="wpmudev-fields--{{key}}" class="wpmudev-sidebar--content wpmudev-sort-fields--list">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<ul class="wpmudev-list--options">{[ _.each( _.sortBy( value, \'position\' ), function( tab ) { ]}<li class="draggable-element draggable-{{ tab.slug }}" data-shadowid="{{ tab.slug }}">{{ tab.name }}</li>{[ }) ]}</ul>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t{[ }) ]}\r\n\t\t\t\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-settings-tpl">\r\n\r\n\t\t<div class="wpmudev-sidebar--wrap">\r\n\r\n\t\t\t<div class="wpmudev-sidebar--header">\r\n\r\n\t\t\t\t<div class="wpmudev-header--breadcrumbs">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class="wpmudev-breadcrumb wpmudev-breadcrumb--back">« <a href="#">{{ Forminator.l10n.builder.back_to_fields }}</a></span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-header--main">\r\n\r\n\t\t\t\t\t<div class="wpmudev-header--icon" aria-hidden="true">\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-widget-settings-config"></span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div class="wpmudev-header--text">\r\n\t\t\t\t\t\t<h2 class="wpmudev-title">{{ field_settings.name }}</h2>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-sidebar--section">\r\n\r\n\t\t\t\t<ul class="wpmudev-sidebar--menu">\r\n\r\n\t\t\t\t\t<li class="wpmudev-menu--item settings-general"><a href="#wpmudev-settings--general">{{ Forminator.l10n.builder.general }}</a></li>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<li class="wpmudev-menu--item settings-advanced"><a href="#wpmudev-settings--advanced">{{ Forminator.l10n.builder.advanced }}</a></li>\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div id="wpmudev-settings--general" class="wpmudev-sidebar--content"></div>\r\n\r\n\t\t\t\t<div id="wpmudev-settings--advanced" class="wpmudev-sidebar--content"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-sidebar--footer">\r\n\r\n\t\t\t\t<div class="wpmudev-footer--buttons">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-clone-field">{{ Forminator.l10n.builder.clone }}</button>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue wpmudev-done-field">{{ Forminator.l10n.conditions.done }}</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<p class="wpmudev-footer--link"><a href="/" class="wpmudev-delete-field">{{ Forminator.l10n.builder.delete }}</a></p>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="builder-sidebar-conditions-popup-tpl">\r\n\t\t<div class="wpmudev-conditions--rule">\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-condition--actions" name="condition">\r\n\t\t\t\t<option value="show" {[ if( "show" === data.condition_action ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.show}}</option>\r\n\t\t\t\t<option value="hide" {[ if( "hide" === data.condition_action ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.hide}}</option>\r\n\t\t\t</select>\r\n\r\n\t\t\t<span class="wpmudev-rule--text">{{Forminator.l10n.conditions.show_field_if}}</span>\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-condition--rules" name="rules">\r\n\t\t\t\t<option value="any" {[ if( "any" === data.condition_rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.any}}</option>\r\n\t\t\t\t<option value="all" {[ if( "all" === data.condition_rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.all}}</option>\r\n\t\t\t</select>\r\n\r\n\t\t\t<span class="wpmudev-rule--text">{{Forminator.l10n.conditions.following_match}}:</span>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-conditions--list">\r\n\t\t\t<div class="wpmudev-list--rules"></div>\r\n\t\t\t<div class="wpmudev-list--add"><button class="wpmudev-button wpmudev-button-sm">{{Forminator.l10n.conditions.add_condition}}</button></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-conditions--done">\r\n\t\t\t<button class="wpmudev-button wpmudev-action-done wpmudev-button-blue">{{Forminator.l10n.conditions.done}}</button>\r\n\t\t</div>\r\n\t<\/script>\r\n\t<script type="text/template" id="builder-sidebar-conditions-rule-tpl">\r\n\t\t<div class="wpmudev-rule--new" data-index="{{ index }}">\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-conditions--field" name="fields">\r\n\t\t\t\t<option value="">{{ Forminator.l10n.sidebar.pick_field }}</option>\r\n\t\t\t\t{[ _.each( fields, function( value, key ){ ]}\r\n\t\t\t\t\t<option value="{{ value.element_id }}" {[ if( value.element_id === condition.element_id ) { ]}selected="selected"{[ } ]}>{{ value.label }}</option>\r\n\t\t\t\t{[ }) ]}\r\n\t\t\t</select>\r\n\r\n\t\t\t<select class="wpmudev-select wpmudev-conditions--action">\r\n\t\t\t\t<option value="is" {[ if( "is" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is}}</option>\r\n\t\t\t\t<option value="is_not" {[ if( "is_not" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_not}}</option>\r\n\t\t\t\t{[ if( field && field.isNumber ) { ]}\r\n\t\t\t\t<option value="is_great" {[ if( "is_great" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_great}}</option>\r\n\t\t\t\t<option value="is_less" {[ if( "is_less" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.is_less}}</option>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t\t{[ if( field && ! field.isNumber && ! field.hasOptions ) { ]}\r\n\t\t\t\t<option value="contains" {[ if( "contains" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.contains}}</option>\r\n\t\t\t\t<option value="starts" {[ if( "starts" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.starts}}</option>\r\n\t\t\t\t<option value="ends" {[ if( "ends" === condition.rule ) { ]}selected="selected"{[ } ]}>{{Forminator.l10n.conditions.ends}}</option>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t</select>\r\n\r\n\t\t\t<div class="wpmudev-conditions--values-wrapper">\r\n\t\t\t\t<select class="wpmudev-select wpmudev-conditions--values"></select>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-conditions--input-wrapper">\r\n\t\t\t\t<input type="text" name="rule_input" class="wpmudev-text wpmudev-conditions--input">\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-rule--delete">\r\n\t\t\t\t<button class="wpmudev-delete-action wpmudev-delete-condition"><span class="wpdui-icon wpdui-icon-trash"></span></button>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t<\/script>\r\n</div>\r\n'}),function(t){formintorjs.define("admin/builder/sidebar/field-settings",["admin/builder/sidebar/settings-factory","text!admin/templates/builder-sidebar.html"],function(e,n){return Backbone.View.extend({tpl:Forminator.Utils.template(t(n).find("#builder-sidebar-settings-tpl").html()),className:"wpmudev-sidebar",events:{"click .wpmudev-sidebar--header .wpmudev-breadcrumb--back":"destroy_settings","click .wpmudev-sidebar--footer .wpmudev-done-field":"destroy_settings","click .wpmudev-sidebar--footer .wpmudev-clone-field":"clone_field","click .wpmudev-sidebar--footer .wpmudev-delete-field":"delete_field"},initialize:function(t){return this.field=t.field,this.field_settings=t.field_settings,this.render()},render:function(){var t={field:this.field,field_settings:this.field_settings};this.$el.html(this.tpl(t)),this.$el.find(".wpmudev-sidebar--section").tabs(),this.render_general_settings(),"true"===this.field_settings.hide_advanced?(this.$el.find(".settings-advanced").remove(),this.$el.find("#wpmudev-settings--advanced").remove()):this.render_advanced_settings()},render_general_settings:function(){var t=new e({model:this.model,field:this.field,field_settings:this.field_settings,tab:"General"});this.$el.find("#wpmudev-settings--general").append(t.$el)},render_advanced_settings:function(){var t=new e({model:this.model,field:this.field,field_settings:this.field_settings,tab:"Advanced"});this.$el.find("#wpmudev-settings--advanced").append(t.$el)},destroy_settings:function(e){e.preventDefault(),t("body").find(".wpmudev-form-field").each(function(){t(this).removeClass("wpmudev-is_active")}),Forminator.Events.trigger("forminator:sidebar:close:settings")},cleanUp:function(){this.$el.off(),this.remove()},clone_field:function(t){t.preventDefault(),Forminator.Events.trigger("sidebar:clone:field",this.field)},delete_field:function(t){t.preventDefault(),Forminator.Events.trigger("sidebar:delete:field",this.field)}})})}(jQuery),function(t){formintorjs.define("admin/builder/sidebar",["admin/builder/sidebar/field-settings","text!admin/templates/builder-sidebar.html"],function(e,n){return t("body").append('<div id="wpmudev-sidebar-settings" class="wpmudev-ui" />'),Backbone.View.extend({sidebarTpl:Forminator.Utils.template(t(n).find("#builder-sidebar-tpl").html()),tabsTpl:Forminator.Utils.template(t(n).find("#builder-sidebar-field-tabs-tpl").html()),field_settings_view:!1,events:{"click .forminator-sidebar-close":"destroy_sidebar"},initialize:function(t){return this.listenTo(Forminator.Events,"forminator:sidebar:open:settings",this.create_settings),this.listenTo(Forminator.Events,"forminator:sidebar:close:settings",this.destroy_settings),this.render()},render:function(){this.$el.html(this.sidebarTpl()),Forminator.Events.trigger("forminator:sidebar:rendered"),this.render_tabs(),this.init_drag()},render_tabs:function(){var t=Forminator.Data.fields;Forminator.Data.hasCaptcha||(t=_.filter(t,function(t){return"captcha"!==t.slug})),t=_.groupBy(t,"category");var e=this.get_headings(t);this.$el.append(this.tabsTpl({tabs:t,headings:e})),this.$el.find(".wpmudev-sort-fields").tabs(),Forminator.Events.trigger("forminator:field_tabs:rendered")},get_headings:function(t){var e=Forminator.Data.defaultTabs;return _.each(t,function(t,n){n=n.toLowerCase(),_.contains(e,n)||e.push(n)}),e},init_drag:function(){var e=this.$el.find(".draggable-element");_.each(e,function(e){var n=t(e);n.on("click",function(t){var e=n.data("shadowid");Forminator.Events.trigger("forminator:add:field:click",e)}),n.on("mousedown",function(e){var i=(t(".wpmudev-builder--form"),n.data("shadowid")),a=t("[data-shadow="+i+"]"),r=a.position(),o=a.offset(),l=a.outerHeight(),s=a.outerWidth(),d=n.clone(),p=n.outerWidth(),m=n.outerHeight();a.css({position:"absolute",top:e.pageY-(o.top-r.top)-l/2,left:e.pageX-(o.left-r.left)-s/2,visibility:"hidden",zIndex:-1}).one("mousedown",function(t){}).trigger(e).one("dragstart",function(e,i){n.addClass("field-drag-active"),t("body").append(d),d.addClass("element-dragging"),d.css({position:"absolute",left:e.pageX-p/2,top:e.pageY-m/2,zIndex:9999})}).on("drag",function(t,e){d.css({left:t.pageX-p/2,top:t.pageY-m/2})}).one("dragstop",function(t,e){n.removeClass("field-drag-active"),d.remove()})})})},create_settings:function(n){if(_.isUndefined(n.get("type")))return!1;var i=this,a=_.where(Forminator.Data.fields,{slug:n.get("type")})[0];this.field_settings_view=new e({model:this.model,field:n,field_settings:a}),t("#wpmudev-sidebar-settings").html(this.field_settings_view.el),t("#wpmudev-sidebar-settings").find(".wpmudev-sidebar").addClass("wpmudev-is_active"),t("body").addClass("wpmudev-sidebar-is_active"),setTimeout(function(){t("#wpmudev-sidebar-settings").find(".wpmudev-sidebar--wrap").addClass("wpmudev-show"),i.close_animation&&clearTimeout(i.close_animation),i.close_action&&clearTimeout(i.close_action)},10),Forminator.Events.trigger("forminator:field:settings:created")},destroy_settings:function(){var e=t("#wpmudev-sidebar-settings"),n=e.find(".wpmudev-sidebar"),i=e.find(".wpmudev-sidebar--wrap");if(i.removeClass("wpmudev-show").addClass("wpmudev-hide"),this.close_animation=setTimeout(function(){n.removeClass("wpmudev-is_active"),t("body").removeClass("wpmudev-sidebar-is_active"),i.removeClass("wpmudev-hide")},1e3),this.field_settings_view){var a=this;this.close_action=setTimeout(function(){a.field_settings_view&&(a.field_settings_view.cleanUp(),a.field_settings_view=!1)},1200)}Forminator.Events.trigger("forminator:field:settings:destroyed")},destroy_sidebar:function(e){e.preventDefault(),t("#wpmudev-sidebar").removeClass("wpmudev-show").addClass("wpmudev-hide"),setTimeout(function(){t("#wpmudev-sidebar").removeClass("wpmudev-is_active"),t("#wpmudev-sidebar").removeClass("wpmudev-hide"),t("body.wp-admin").removeClass("wpmudev-disabled--mobile")},1e3)}})})}(jQuery),formintorjs.define("text!admin/templates/style-editor.html",[],function(){return'<div>\r\n\r\n\t<script type="text/template" id="style-editor-main-tpl">\r\n\r\n\t\t<label class="wpmudev-annotation">{{Forminator.l10n.appearance.css_selectors}}:</label>\r\n\r\n\t\t<div class="wpmudev-css-selectors">\r\n\r\n\t\t\t{[ _.each( selectors, function( selector ) {  ]}\r\n\t\t\t\t<a href="#" class="wpmudev-css-stylable" data-selector="{{ selector.selector }}" >{{ selector.label }}</a>\r\n\t\t\t{[ }) ]}\r\n\r\n\t\t</div>\r\n\r\n\t\t<div style="height: 210px;" id="{{element_id}}">{{ custom_css }}</div>\r\n\r\n\t<\/script>\r\n\r\n</div>\r\n'}),function(t){formintorjs.define("admin/style-editor",["text!admin/templates/style-editor.html"],function(e){return Backbone.View.extend({editor:!1,session:!1,mainTpl:Forminator.Utils.template(t(e).find("#style-editor-main-tpl").html()),selectors:[{selector:".forminator-form input ",label:"Text Input"}],events:{"click .wpmudev-css-stylable":"insert_selector"},initialize:function(t){return this.options=t,this.selectors=t.selectors,this.render()},render:function(){this.$el.html(this.mainTpl({selectors:this.selectors,custom_css:this.model.get(this.options.property)||"",element_id:this.options.element_id})),this.start_editor()},start_editor:function(){var t=this;this.editor=ace.edit(this.$("#"+this.options.element_id)[0]),this.session=this.editor.getSession(),this.session.setUseWorker(!1),this.editor.setShowPrintMargin(!1),this.session.setMode("ace/mode/css"),this.editor.setTheme("ace/theme/forminator"),this.editor.renderer.setShowGutter(!0),this.editor.setHighlightActiveLine(!0),this.editor.on("change",function(e){t.model.set(t.options.property,t.editor.getValue())}),this.editor.focus()},insert_selector:function(e){e.preventDefault();var n=t(e.target),i=n.data("selector")+"{}";this.editor.navigateFileEnd(),this.editor.insert(i),this.editor.navigateLeft(1),this.editor.focus()}})})}(jQuery),function(t){formintorjs.define("admin/builder/appearance/appearance-settings",["admin/style-editor","text!tpl/appearance.html"],function(e,n){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(n).find("#appearance-section-appearance-tpl").html()),colorTpl:Forminator.Utils.template(t(n).find("#appearance-color-grid-tpl").html()),events:{"click .wpmudev-toggle-field":"toggle_field"},className:"wpmudev-box-body",google_fonts_options_list:[{value:"",label:Forminator.l10n.appearance.select_font},{value:"custom",label:Forminator.l10n.appearance.custom_font}],initialize:function(t){return this.render()},render:function(){var t=this,e=this.model.get("wrappers");this.has_pagination=Forminator.Utils.has_field_type(e,"pagination"),this.has_section=Forminator.Utils.has_field_type(e,"section"),this.has_single_radio=Forminator.Utils.has_field_with_attribute(e,"select","value_type","radio"),this.has_single_dropdown=Forminator.Utils.has_field_with_attribute(e,"select","value_type","select"),this.has_multi_checkbox=Forminator.Utils.has_field_with_attribute(e,"checkbox","value_type","checkbox"),this.has_multi_multiselect=Forminator.Utils.has_field_with_attribute(e,"checkbox","value_type","multiselect"),this.has_date_datepicker=Forminator.Utils.has_field_with_attribute(e,"date","field_type","picker"),this.has_date_dropdown=Forminator.Utils.has_field_with_attribute(e,"date","field_type","select"),this.has_time_dropdown=Forminator.Utils.has_field_with_attribute(e,"time","field_type","select")||Forminator.Utils.has_field_with_attribute(e,"time","time_type","twelve"),this.has_address_country=Forminator.Utils.has_field_with_attribute(e,"address","address_country","true"),this.has_name_prefix=Forminator.Utils.has_field_with_attribute(e,"name","prefix","true"),this.has_gdpr=Forminator.Utils.has_field_type(e,"gdprcheckbox"),this.has_upload=Forminator.Utils.has_field_type(e,"upload")||Forminator.Utils.has_field_with_attribute(e,"postdata","post_image","false"),this.$el.html(this.mainTpl()),this.render_form_name(),this.render_form_design(),this.render_form_style(),this.render_fields_style(),Forminator.Utils.load_google_fonts(function(e){var n=_.map(e,function(t){return{value:t,label:t}});t.google_fonts_options_list=_.union(t.google_fonts_options_list,n),t.render_label_settings(),t.has_section&&(t.render_title_settings(),t.render_subtitle_settings()),t.render_input_settings()}),this.render_color_settings(),this.render_custom_submit(),this.render_custom_invalid_form(),this.render_custom_css()},render_form_name:function(){var t=new Forminator.Settings.Text({model:this.model,id:"appearance-form-name",name:"formName"});this.$el.find(".appearance-section-form-name").append(t.el)},render_form_design:function(){var t=this,e=new Forminator.Settings.Select({model:this.model,id:"appearance-form-style",name:"form-style",label_hidden:!0,default_value:"clean",values:[{value:"default",label:Forminator.l10n.appearance.default},{value:"bold",label:Forminator.l10n.appearance.bold},{value:"flat",label:Forminator.l10n.appearance.flat},{value:"material",label:Forminator.l10n.appearance.material},{value:"clean",label:Forminator.l10n.appearance.clean}],show:function(e){setTimeout(function(){"clean"!==e?(t.$el.find("#appearance-cform-color-settings").show(),t.$el.find("#appearance-cform-typo-border").show(),t.$el.find("#appearance-cform-typo-styles").show(),t.$el.find("#appearance-cform-form-border").show(),t.$el.find("#appearance-cform-form-customize").show()):(t.$el.find("#appearance-cform-color-settings").hide(),t.$el.find("#appearance-cform-typo-border").hide(),t.$el.find("#appearance-cform-typo-styles").hide(),t.$el.find("#appearance-cform-form-border").hide(),t.$el.find("#appearance-cform-form-customize").hide()),"flat"===e?(t.$el.find(".wpmudev-only--flat").show(),t.$el.find(".wpmudev-not--flat").hide()):(t.$el.find(".wpmudev-only--flat").hide(),t.$el.find(".wpmudev-not--flat").show()),"material"===e?(t.$el.find(".wpmudev-only--material").show(),t.$el.find(".wpmudev-not--material").hide()):(t.$el.find(".wpmudev-only--material").hide(),t.$el.find(".wpmudev-not--material").show()),"flat"===e||"material"===e?t.$el.find(".wpmudev-not--matflat").hide():t.$el.find(".wpmudev-not--matflat").show()},100)}});this.$el.find(".appearance-section-form-design").append(e.el)},render_form_style:function(){var t=new Forminator.Settings.Number({model:this.model,id:"cform-form-padding-top",name:"form-padding-top",label:"Top",default_value:"0"});this.$el.find(".cform-appearance-form-padding-top").append(t.el);var e=new Forminator.Settings.Number({model:this.model,id:"cform-form-padding-right",name:"form-padding-right",label:"Right",default_value:"0"});this.$el.find(".cform-appearance-form-padding-right").append(e.el);var n=new Forminator.Settings.Number({model:this.model,id:"cform-form-padding-bottom",name:"form-padding-bottom",label:"Bottom",default_value:"0"});this.$el.find(".cform-appearance-form-padding-bottom").append(n.el);var i=new Forminator.Settings.Number({model:this.model,id:"cform-form-padding-left",name:"form-padding-left",label:"Left",default_value:"0"});this.$el.find(".cform-appearance-form-padding-left").append(i.el);var a=new Forminator.Settings.Number({model:this.model,id:"cform-form-border-radius",name:"form-border-radius",label:"Radius",default_value:"0"});this.$el.find(".cform-appearance-form-border-radius").append(a.el);var r=new Forminator.Settings.Number({model:this.model,id:"cform-form-border-width",name:"form-border-width",label:"Width",default_value:"0"});this.$el.find(".cform-appearance-form-border-width").append(r.el);var o=new Forminator.Settings.Select({model:this.model,id:"cform-form-border-style",name:"form-border-style",label:"Style",default_value:"none",values:[{value:"none",label:Forminator.l10n.appearance.none},{value:"solid",label:Forminator.l10n.appearance.solid},{value:"dashed",label:Forminator.l10n.appearance.dashed},{value:"dotted",label:Forminator.l10n.appearance.dotted}]});this.$el.find(".cform-appearance-form-border-style").append(o.el)},render_fields_style:function(){var t=new Forminator.Settings.Radio({model:this.model,id:"appearance-fields-style",name:"fields-style",containerSize:"400",label:Forminator.l10n.appearance.fields_style,hide_label:!0,default_value:"open",values:[{value:"open",label:Forminator.l10n.appearance.open_fields},{value:"enclosed",label:Forminator.l10n.appearance.enclosed_fields}]});this.$el.find(".appearance-section-fields-style").append(t.el)},render_notification_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-notice-font-settings",name:"cform-notice-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.notification}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-notice-font-family",name:"cform-notice-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-notice-custom-family").show():t.$el.find("#appearance-cform-notice-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-notice-custom-family",name:"cform-notice-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-notice-font-size",name:"cform-notice-font-size",label:Forminator.l10n.appearance.font_size,default_value:"13",values:[{value:"13",label:"Aa"},{value:"15",label:"Aa"},{value:"17",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-notice-font-weight",name:"cform-notice-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_label_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-label-font-settings",name:"cform-label-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.labels}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-label-font-family",name:"cform-label-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-label-custom-family").show():t.$el.find("#appearance-cform-label-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-label-custom-family",name:"cform-label-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-label-font-size",name:"cform-label-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-label-font-weight",name:"cform-label-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_title_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-title-font-settings",name:"cform-title-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.appearance.section_title}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-title-font-family",name:"cform-title-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-title-custom-family").show():t.$el.find("#appearance-cform-title-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-title-custom-family",name:"cform-title-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-title-font-size",name:"cform-title-font-size",label:Forminator.l10n.appearance.font_size,default_value:"45",values:[{value:"25",label:"Aa"},{value:"35",label:"Aa"},{value:"45",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-title-font-weight",name:"cform-title-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-title-text-align",name:"cform-title-text-align",label:"Text align",containerSize:"300",default_value:"left",values:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]});e.$el.find(".wpmudev-option--switch_content").append(o.$el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_subtitle_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-subtitle-font-settings",name:"cform-subtitle-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.section_subtitle}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-subtitle-font-family",name:"cform-subtitle-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-subtitle-custom-family").show():t.$el.find("#appearance-cform-subtitle-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-subtitle-custom-family",name:"cform-subtitle-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-subtitle-font-size",name:"cform-subtitle-font-size",label:Forminator.l10n.appearance.font_size,default_value:"18",values:[{value:"14",label:"Aa"},{value:"18",label:"Aa"},{value:"22",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-subtitle-font-weight",name:"cform-subtitle-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-subtitle-text-align",name:"cform-subtitle-text-align",label:"Text align",containerSize:"300",default_value:"left",values:[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}]});e.$el.find(".wpmudev-option--switch_content").append(o.$el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_input_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-input-font-settings",name:"cform-input-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.input_textarea}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-input-font-family",name:"cform-input-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-input-custom-family").show():t.$el.find("#appearance-cform-input-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-input-custom-family",name:"cform-input-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el)
;e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-input-font-size",name:"cform-input-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-input-font-weight",name:"cform-input-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_radio_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-radio-font-settings",name:"cform-radio-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.radio_checkbox}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-radio-font-family",name:"cform-radio-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-radio-custom-family").show():t.$el.find("#appearance-cform-radio-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-radio-custom-family",name:"cform-radio-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-radio-font-size",name:"cform-radio-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-radio-font-weight",name:"cform-radio-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_select_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-select-font-settings",name:"cform-select-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.select}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-select-font-family",name:"cform-select-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-select-custom-family").show():t.$el.find("#appearance-cform-select-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-select-custom-family",name:"cform-select-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-select-font-size",name:"cform-select-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-select-font-weight",name:"cform-select-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_multiselect_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-multiselect-font-settings",name:"cform-multiselect-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.multi_select}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-multiselect-font-family",name:"cform-multiselect-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-multiselect-custom-family").show():t.$el.find("#appearance-cform-multiselect-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-multiselect-custom-family",name:"cform-multiselect-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-multiselect-font-size",name:"cform-multiselect-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-multiselect-font-weight",name:"cform-multiselect-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_dropdown_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-dropdown-font-settings",name:"cform-dropdown-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.dropdown}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-dropdown-font-family",name:"cform-dropdown-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-dropdown-custom-family").show():t.$el.find("#appearance-cform-dropdown-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-dropdown-custom-family",name:"cform-dropdown-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-dropdown-font-size",name:"cform-dropdown-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-dropdown-font-weight",name:"cform-dropdown-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_calendar_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-calendar-font-settings",name:"cform-calendar-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.calendar}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-calendar-font-family",name:"cform-calendar-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-calendar-custom-family").show():t.$el.find("#appearance-cform-calendar-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-calendar-custom-family",name:"cform-calendar-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-calendar-font-size",name:"cform-calendar-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-calendar-font-weight",name:"cform-calendar-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_button_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-button-font-settings",name:"cform-button-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:"Button typography"}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-button-font-family",name:"cform-button-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-button-custom-family").show():t.$el.find("#appearance-cform-button-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-button-custom-family",name:"cform-button-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-button-font-size",name:"cform-button-font-size",label:Forminator.l10n.appearance.font_size,default_value:"14",values:[{value:"12",label:"Aa"},{value:"14",label:"Aa"},{value:"16",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-button-font-weight",name:"cform-button-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_timeline_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-timeline-font-settings",name:"cform-timeline-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.timeline}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-timeline-font-family",name:"cform-timeline-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-timeline-custom-family").show():t.$el.find("#appearance-cform-timeline-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-timeline-custom-family",name:"cform-timeline-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-timeline-font-size",name:"cform-timeline-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-timeline-font-weight",name:"cform-timeline-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.has_pagination&&this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_pagination_settings:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-pagination-font-settings",name:"cform-pagination-font-settings",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.pagination_footer}]}),n=new Forminator.Settings.Select({model:this.model,id:"appearance-cform-pagination-font-family",name:"cform-pagination-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#appearance-cform-pagination-custom-family").show():t.$el.find("#appearance-cform-pagination-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.Text({model:this.model,id:"appearance-cform-pagination-custom-family",name:"cform-pagination-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(i.$el);e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var a=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-pagination-font-size",name:"cform-pagination-font-size",label:Forminator.l10n.appearance.font_size,default_value:"16",values:[{value:"12",label:"Aa"},{value:"16",label:"Aa"},{value:"18",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(a.el);var r=new Forminator.Settings.Radio({model:this.model,id:"appearance-cform-pagination-font-weight",name:"cform-pagination-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"normal",values:[{value:"lighter",label:"Aa"},{value:"normal",label:"Aa"},{value:"bold",label:"Aa"}]});e.$el.find(".wpmudev-option--half").append(r.el),this.has_pagination&&this.$el.find(".appearance-section-customize-fonts").append(e.el)},render_color_settings:function(){var e=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-cform-color-settings",name:"cform-color-settings",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.customize_colors}]});e.$el.find(".wpmudev-option--switch_content").html(this.colorTpl({has_pagination:this.has_pagination,has_single_radio:this.has_single_radio,has_single_dropdown:this.has_single_dropdown,has_multi_checkbox:this.has_multi_checkbox,has_multi_multiselect:this.has_multi_multiselect,has_date_datepicker:this.has_date_datepicker,has_dropdowns:this.has_date_dropdown||this.has_time_dropdown||this.has_address_country||this.has_name_prefix,has_section:this.has_section,has_gdpr:this.has_gdpr,has_upload:this.has_upload}));var n=new Forminator.Settings.Color({model:this.model,id:"appearance-form-background",name:"cform-form-background",hide_label:!0,default_value:"",label:""});e.$el.find(".color-grid-form-background .wpmudev-picker").append(n.$el);var i=new Forminator.Settings.Color({model:this.model,id:"appearance-form-border",name:"cform-form-border",hide_label:!0,default_value:"",label:""});e.$el.find(".color-grid-form-border .wpmudev-picker").append(i.$el);var a=new Forminator.Settings.Color({model:this.model,id:"appearance-label-color",name:"cform-label-color",hide_label:!0,default_value:"#777771"});e.$el.find(".color-grid-main-label").append(a.$el);var r=new Forminator.Settings.Color({model:this.model,id:"appearance-label-asterisk-color",name:"cform-asterisk-color",hide_label:!0,default_value:"#777771"});e.$el.find(".color-grid-asterisk-label").append(r.$el);var o=new Forminator.Settings.Color({model:this.model,id:"appearance-label-helper-color",name:"label-helper-color",hide_label:!0,default_value:"#6D6D6D"});e.$el.find(".color-grid-helper-label").append(o.$el);var l=new Forminator.Settings.Color({model:this.model,id:"appearance-label-validation-background",name:"label-validation-background",hide_label:!0,default_value:"#E6E6E6"});e.$el.find(".color-grid-validation-background").append(l.$el);var s=new Forminator.Settings.Color({model:this.model,id:"appearance-label-validation-color",name:"label-validation-color",hide_label:!0,default_value:"#AA1111"});e.$el.find(".color-grid-validation-color").append(s.$el);var d=new Forminator.Settings.Color({model:this.model,id:"appearance-title-color",name:"cform-title-color",hide_label:!0,default_value:"#333333"});e.$el.find(".color-grid-title .wpmudev-picker").append(d.$el);var p=new Forminator.Settings.Color({model:this.model,id:"appearance-subtitle-color",name:"cform-subtitle-color",hide_label:!0,default_value:"#333333"});e.$el.find(".color-grid-subtitle .wpmudev-picker").append(p.$el);var m=new Forminator.Settings.Color({model:this.model,id:"appearance-section-border-color",name:"cform-section-border-color",hide_label:!0,default_value:"#777771"});e.$el.find(".color-grid-section-border-color .wpmudev-picker").append(m.$el);var u=new Forminator.Settings.Color({model:this.model,id:"appearance-input-bg",name:"input-bg",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#EDEDED"}),c=new Forminator.Settings.Color({model:this.model,id:"appearance-input-hover-bg",name:"input-hover-bg",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#E6E6E6"}),v=new Forminator.Settings.Color({model:this.model,id:"appearance-input-active-bg",name:"input-active-bg",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#E6E6E6"});e.$el.find(".color-grid-input-bg .wpmudev-pickers").append([u.$el,c.$el,v.$el]);var w=new Forminator.Settings.Color({model:this.model,id:"appearance-border-color",name:"input-border",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),f=new Forminator.Settings.Color({model:this.model,id:"appearance-border-hover-color",name:"input-border-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),h=new Forminator.Settings.Color({model:this.model,id:"appearance-border-active-color",name:"input-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-input-border .wpmudev-pickers").append([w.$el,f.$el,h.$el]);var g=new Forminator.Settings.Color({model:this.model,id:"appearance-input-color",name:"input-color",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#000000"}),b=new Forminator.Settings.Color({model:this.model,id:"appearance-input-color-hover",name:"input-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#000000"}),_=new Forminator.Settings.Color({model:this.model,id:"appearance-input-color-active",name:"input-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#000000"});e.$el.find(".color-grid-input-color .wpmudev-pickers").append([g.$el,b.$el,_.$el]);var F=new Forminator.Settings.Color({model:this.model,id:"appearance-input-placeholder",name:"input-placeholder",hide_label:!0,default_value:"#AAAAAA",label:""});e.$el.find(".color-grid-input-placeholder").append(F.$el);var y=new Forminator.Settings.Color({model:this.model,id:"appearance-input-icon",name:"input-icon",hide_label:!0,default_value:"#777771",label:""});e.$el.find(".color-grid-input-icon").append(y.$el);var x=new Forminator.Settings.Color({model:this.model,id:"appearance-input-filled",name:"input-filled",hide_label:!0,default_value:"#777771",label:""});e.$el.find(".color-grid-input-filled").append(x.$el);var z=new Forminator.Settings.Color({model:this.model,id:"appearance-input-error",name:"input-error",hide_label:!0,default_value:"#AA1111",label:""});e.$el.find(".color-grid-input-error").append(z.$el);var k=new Forminator.Settings.Color({model:this.model,id:"cform-radio-background-static",name:"radio-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#EDEDED"}),$=new Forminator.Settings.Color({model:this.model,id:"cform-radio-background-active",name:"radio-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#EDEDED"});e.$el.find(".color-grid-radio-background .wpmudev-pickers").append([k.$el,$.$el]);var q=new Forminator.Settings.Color({model:this.model,id:"cform-radio-border-static",name:"radio-border-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),S=new Forminator.Settings.Color({model:this.model,id:"cform-radio-border-active",name:"radio-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-radio-border .wpmudev-pickers").append([q.$el,S.$el]);var C=new Forminator.Settings.Color({model:this.model,id:"cform-radio-icon",name:"radio-icon",hide_label:!0,default_value:"#17A8E3",label:""});e.$el.find(".color-grid-radio-icon").append(C.$el);var A=new Forminator.Settings.Color({model:this.model,id:"cform-radio-label",name:"radio-label",hide_label:!0,default_value:"#000000",label:""});e.$el.find(".color-grid-radio-label").append(A.$el);var T=new Forminator.Settings.Color({model:this.model,id:"cform-select-background-static",name:"select-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#EDEDED"}),j=new Forminator.Settings.Color({model:this.model,id:"cform-select-background-hover",name:"select-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#E6E6E6"}),E=new Forminator.Settings.Color({model:this.model,id:"cform-select-background-active",name:"select-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#E6E6E6"});e.$el.find(".color-grid-select-bg .wpmudev-pickers").append([T.$el,j.$el,E.$el]);var D=new Forminator.Settings.Color({model:this.model,id:"cform-select-border-static",name:"select-border-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),U=new Forminator.Settings.Color({model:this.model,id:"cform-select-border-hover",name:"select-border-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),N=new Forminator.Settings.Color({model:this.model,id:"cform-select-border-active",name:"select-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-select-border .wpmudev-pickers").append([D.$el,U.$el,N.$el]);var M=new Forminator.Settings.Color({model:this.model,id:"cform-select-value-static",name:"select-value-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#000000"}),B=new Forminator.Settings.Color({model:this.model,id:"cform-select-value-hover",name:"select-value-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#000000"}),O=new Forminator.Settings.Color({model:this.model,id:"cform-select-value-active",name:"select-value-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#000000"});e.$el.find(".color-grid-select-value .wpmudev-pickers").append([M.$el,B.$el,O.$el]);var R=new Forminator.Settings.Color({model:this.model,id:"cform-select-icon-static",name:"select-icon-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),P=new Forminator.Settings.Color({model:this.model,id:"cform-select-icon-hover",name:"select-icon-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),Q=new Forminator.Settings.Color({model:this.model,id:"cform-select-icon-active",name:"select-icon-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-select-icon .wpmudev-pickers").append([R.$el,P.$el,Q.$el]);var L=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-background",name:"dropdown-background",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-dropdown-background").append(L.$el);var I=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-border",name:"dropdown-border",hide_label:!0,default_value:"#17A8E3",label:""});e.$el.find(".color-grid-dropdown-border").append(I.$el);var V=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-shadow",name:"dropdown-shadow",hide_label:!0,default_value:"#000000",label:""});e.$el.find(".color-grid-dropdown-shadow").append(V.$el);var H=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-background-static",name:"dropdown-option-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#E6E6E6"}),J=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-background-hover",name:"dropdown-option-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#E6E6E6"}),W=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-background-active",name:"dropdown-option-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-dropdown-option-background .wpmudev-pickers").append([H.$el,J.$el,W.$el]);var X=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-color-static",name:"dropdown-option-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#000000"}),G=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-color-hover",name:"dropdown-option-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),Y=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-option-color-active",name:"dropdown-option-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#FFFFFF"});e.$el.find(".color-grid-dropdown-option-color .wpmudev-pickers").append([X.$el,G.$el,Y.$el]);var K=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-search-background",name:"dropdown-search-background",hide_label:!0,default_value:"#FFFFFF"});e.$el.find(".color-grid-dropdown-search-background").append([K.$el]);var Z=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-search-border",name:"dropdown-search-border",hide_label:!0,default_value:"#777771"});e.$el.find(".color-grid-dropdown-search-border").append([Z.$el]);var tt=new Forminator.Settings.Color({model:this.model,id:"cform-dropdown-search-color",name:"dropdown-search-color",hide_label:!0,default_value:"#000000"});e.$el.find(".color-grid-dropdown-search-value").append([tt.$el]);var et=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-background",name:"multiselect-background",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-multiselect-background").append(et.$el);var nt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-border",name:"multiselect-border",hide_label:!0,default_value:"#777771",label:""});t(nt.$el).insertAfter(e.$el.find(".color-grid-multiselect-border .wpmudev-label"));var it=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-color-static",name:"multiselect-item-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#000000"}),at=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-color-hover",name:"multiselect-item-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#000000"}),rt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-color-active",name:"multiselect-item-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-multiselect-item-color .wpmudev-pickers").append([it.$el,at.$el,rt.$el]);var ot=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-bg-static",name:"multiselect-item-bg-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#E6E6E6"}),lt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-bg-hover",name:"multiselect-item-bg-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#BCBCBC"}),st=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-bg-active",name:"multiselect-item-bg-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#E6E6E6"});e.$el.find(".color-grid-multiselect-item-background .wpmudev-pickers").append([ot.$el,lt.$el,st.$el]);var dt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-border-static",name:"multiselect-item-border-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),pt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-border-hover",name:"multiselect-item-border-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),mt=new Forminator.Settings.Color({model:this.model,id:"cform-multiselect-item-border-active",
name:"multiselect-item-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-multiselect-item-border .wpmudev-pickers").append([dt.$el,pt.$el,mt.$el]);var ut=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-background",name:"calendar-background",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-calendar-background").append(ut.$el);var ct=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-border",name:"calendar-border",hide_label:!0,default_value:"#17A8E3",label:""});t(ct.$el).insertAfter(e.$el.find(".color-grid-calendar-border .wpmudev-label"));var vt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-header",name:"calendar-header",hide_label:!0,default_value:"#17A8E3",label:""});e.$el.find(".color-grid-calendar-header").append(vt.$el);var wt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-content",name:"calendar-content",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-calendar-content").append(wt.$el);var ft=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-arrows-static",name:"calendar-arrows-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#777771"}),ht=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-arrows-hover",name:"calendar-arrows-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),gt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-arrows-active",name:"calendar-arrows-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-calendar-arrows .wpmudev-pickers").append([ft.$el,ht.$el,gt.$el]);var bt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-dweek",name:"calendar-dweek",hide_label:!0,default_value:"#000000",label:""});e.$el.find(".color-grid-calendar-dweek").append(bt.$el);var _t=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-color-static",name:"calendar-days-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#000000"}),Ft=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-color-hover",name:"calendar-days-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),yt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-color-active",name:"calendar-days-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-calendar-days-color .wpmudev-pickers").append([_t.$el,Ft.$el,yt.$el]);var xt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-background-static",name:"calendar-days-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#E6E6E6"}),zt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-background-hover",name:"calendar-days-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#17A8E3"}),kt=new Forminator.Settings.Color({model:this.model,id:"cform-calendar-days-background-active",name:"calendar-days-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#17A8E3"});e.$el.find(".color-grid-calendar-days-background .wpmudev-pickers").append([xt.$el,zt.$el,kt.$el]);var $t=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-background-static",name:"button-upload-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#1ABC9C"}),qt=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-background-hover",name:"button-upload-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#01A383"}),St=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-background-active",name:"button-upload-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#01A383"});e.$el.find(".color-grid-upload-background .wpmudev-pickers").append([$t.$el,qt.$el,St.$el]);var Ct=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-color-static",name:"button-upload-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#FFFFFF"}),At=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-color-hover",name:"button-upload-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#FFFFFF"}),Tt=new Forminator.Settings.Color({model:this.model,id:"cform-button-upload-color-active",name:"button-upload-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#FFFFFF"});e.$el.find(".color-grid-upload-color .wpmudev-pickers").append([Ct.$el,At.$el,Tt.$el]);var jt=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-background-static",name:"button-submit-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#17A8E3"}),Et=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-background-hover",name:"button-submit-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#008FCA"}),Dt=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-background-active",name:"button-submit-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#008FCA"});e.$el.find(".color-grid-submit-background .wpmudev-pickers").append([jt.$el,Et.$el,Dt.$el]);var Ut=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-color-static",name:"button-submit-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#FFFFFF"}),Nt=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-color-hover",name:"button-submit-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#FFFFFF"}),Mt=new Forminator.Settings.Color({model:this.model,id:"cform-button-submit-color-active",name:"button-submit-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#FFFFFF"});e.$el.find(".color-grid-submit-color .wpmudev-pickers").append([Ut.$el,Nt.$el,Mt.$el]);var Bt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-dot-background",name:"timeline-dot-background",hide_label:!0,default_value:"#333333",label:""});e.$el.find(".color-grid-timeline-dot-background").append(Bt.$el);var Ot=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-dot-background-current",name:"timeline-dot-background-current",hide_label:!0,default_value:"#17A8E3",label:""});e.$el.find(".color-grid-timeline-dot-background-current").append(Ot.$el);var Rt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-dot-border",name:"timeline-dot-border",hide_label:!0,default_value:"#333333",label:""});e.$el.find(".color-grid-timeline-dot-border").append(Rt.$el);var Pt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-dot-border-current",name:"timeline-dot-border-current",hide_label:!0,default_value:"#333333",label:""});e.$el.find(".color-grid-timeline-dot-border-current").append(Pt.$el);var Qt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-text",name:"timeline-text",hide_label:!0,default_value:"#333333",label:""});e.$el.find(".color-grid-timeline-text").append(Qt.$el);var Lt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-text-current",name:"timeline-text-current",hide_label:!0,default_value:"#333333",label:""});e.$el.find(".color-grid-timeline-text-current").append(Lt.$el);var It=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-step",name:"timeline-step",hide_label:!0,default_value:"#FFFFFF",label:""});e.$el.find(".color-grid-timeline-dot-step").append(It.$el);var Vt=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-step-current",name:"timeline-step-current",hide_label:!0,default_value:"#FFFFFF",label:""});e.$el.find(".color-grid-timeline-dot-step-current").append(Vt.$el);var Ht=new Forminator.Settings.Color({model:this.model,id:"cform-timeline-border",name:"timeline-border",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-timeline-border").append(Ht.$el);var Jt=new Forminator.Settings.Color({model:this.model,id:"cform-pagination-border",name:"pagination-border",hide_label:!0,default_value:"#E6E6E6",label:""});e.$el.find(".color-grid-pagination-border").append(Jt.$el);var Wt=new Forminator.Settings.Color({model:this.model,id:"cform-next-background-static",name:"next-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#17A8E3"}),Xt=new Forminator.Settings.Color({model:this.model,id:"cform-next-background-hover",name:"next-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#008FCA"}),Gt=new Forminator.Settings.Color({model:this.model,id:"cform-next-background-active",name:"next-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#008FCA"});e.$el.find(".color-grid-next-background .wpmudev-pickers").append([Wt.$el,Xt.$el,Gt.$el]);var Yt=new Forminator.Settings.Color({model:this.model,id:"cform-next-color-static",name:"next-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#FFFFFF"}),Kt=new Forminator.Settings.Color({model:this.model,id:"cform-next-color-hover",name:"next-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#FFFFFF"}),Zt=new Forminator.Settings.Color({model:this.model,id:"cform-next-color-active",name:"next-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#FFFFFF"});e.$el.find(".color-grid-next-color .wpmudev-pickers").append([Yt.$el,Kt.$el,Zt.$el]);var te=new Forminator.Settings.Color({model:this.model,id:"cform-prev-background-static",name:"prev-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#17A8E3"}),ee=new Forminator.Settings.Color({model:this.model,id:"cform-prev-background-hover",name:"prev-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#008FCA"}),ne=new Forminator.Settings.Color({model:this.model,id:"cform-prev-background-active",name:"prev-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#008FCA"});e.$el.find(".color-grid-previous-background .wpmudev-pickers").append([te.$el,ee.$el,ne.$el]);var ie=new Forminator.Settings.Color({model:this.model,id:"cform-prev-color-static",name:"prev-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,label:"",default_value:"#FFFFFF"}),ae=new Forminator.Settings.Color({model:this.model,id:"cform-prev-color-hover",name:"prev-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,label:"",default_value:"#FFFFFF"}),re=new Forminator.Settings.Color({model:this.model,id:"cform-prev-color-active",name:"prev-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,label:"",default_value:"#FFFFFF"});e.$el.find(".color-grid-previous-color .wpmudev-pickers").append([ie.$el,ae.$el,re.$el]),this.$el.find(".appearance-section-customize-colors").append(e.el)},render_custom_submit:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-custom-submit",name:"use-custom-submit",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.use_custom_submit}]}),e=new Forminator.Settings.Text({model:this.model,id:"appearance-custom-submit-text",name:"custom-submit-text",placeholder:Forminator.l10n.appearance.custom_submit_text,label:Forminator.l10n.appearance.custom_text,hide_label:!0});t.$el.find(".wpmudev-option--switch_content").append(e.$el),this.$el.find(".appearance-section-custom-submit").append(t.el)},render_custom_invalid_form:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-custom-invalid-form",name:"use-custom-invalid-form",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.use_custom_invalid_form}]}),e=new Forminator.Settings.Text({model:this.model,id:"appearance-custom-invalid-form-message",name:"custom-invalid-form-message",placeholder:Forminator.l10n.appearance.custom_invalid_form_message,label:Forminator.l10n.appearance.custom_text,hide_label:!0});t.$el.find(".wpmudev-option--switch_content").append(e.$el),this.$el.find(".appearance-section-custom-submit").append(t.el)},render_custom_css:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-custom-css",name:"use-custom-css",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.use_custom_css}]}),n=new e({model:this.model,property:"custom_css",element_id:"forminator_custom_css",selectors:[{selector:".forminator-custom-form ",label:"Form"},{selector:".forminator-custom-form .forminator-label--main ",label:"Main Label"},{selector:".forminator-custom-form .forminator-label--helper ",label:"Helper Label"},{selector:".forminator-custom-form .forminator-input ",label:"Text Input"},{selector:".forminator-custom-form .forminator-textarea ",label:"Textarea"},{selector:".forminator-custom-form .forminator-select + .select2 ",label:"Select"}]});t.$el.find(".wpmudev-option--switch_content").append(n.$el),this.$el.find(".appearance-section-custom-style").append(t.el)},toggle_field:function(t){this.$(t.target).closest(".wpmudev-multiname").toggleClass("wpmudev-is_active"),t.preventDefault(),t.stopPropagation()}})})}(jQuery),function(t){formintorjs.define("admin/builder/appearance/behaviour-settings",["admin/style-editor","text!tpl/appearance.html"],function(e,n){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(n).find("#appearance-section-behaviour-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_form_lifespan(),this.render_form_autofill(),this.render_form_submission(),this.render_form_validation(),this.render_form_submit(),this.render_form_security(),this.render_form_privacy()},render_form_lifespan:function(){var t=this,e=new Forminator.Settings.Radio({model:this.model,id:"behaviours-form-expire",name:"form-expire",show:function(e){setTimeout(function(){var n=t.$el.find("#behaviours-form-expire-date"),i=t.$el.find("#behaviours-form-expire-submits");n.hide(),i.hide(),"date"===e&&n.show(),"submits"===e&&i.show()},10)},default_value:"no_expire",values:[{value:"no_expire",label:Forminator.l10n.appearance.form_doesnt_expire},{value:"date",label:Forminator.l10n.appearance.on_certain_date},{value:"submits",label:Forminator.l10n.appearance.expires_submits}]}),n=new Forminator.Settings.Date({model:this.model,id:"behaviours-form-expire-date",name:"expire_date",placeholder:"Select date",hide_label:!0}),i=new Forminator.Settings.Number({model:this.model,id:"behaviours-form-expire-submits",name:"expire_submits",hide_label:!0});this.$el.find(".appearance-section-form-lifespan").append([e.el,n.el,i.el])},render_form_submission:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"behaviours-form-enable-ajax",name:"enable-ajax",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.enable_ajax,labelSmall:!0}]});this.$el.find(".appearance-section-form-submission").append(t.el)},render_form_validation:function(){var t=new Forminator.Settings.Radio({model:this.model,id:"behaviours-form-validation",containerSize:"400",name:"validation",default_value:"on_submit",hide_label:!0,values:[{value:"server",label:Forminator.l10n.appearance.server_only},{value:"on_submit",label:Forminator.l10n.appearance.form_submit}]}),e=new Forminator.Settings.Toggle({model:this.model,id:"behaviours-form-validation-inline",name:"validation-inline",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.inline,labelSmall:!0}]});this.$el.find(".appearance-section-form-validation").append(t.el,e.el)},render_form_submit:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"behaviour-thankyou",name:"thankyou",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.show_thank_you_message,labelSmall:"true"}],on_change:function(e){var n=this.model.get("redirect");!0!==e&&"true"!==e||!0!==n&&"true"!==n||(this.model.set("redirect",!1),t.render())}}),n=new Forminator.Settings.Editor({model:this.model,id:"behaviour-thankyou-message",name:"thankyou-message",hide_label:!0,enableFormData:!0});e.$el.find(".wpmudev-option--switch_content").append(n.$el);var i=new Forminator.Settings.ToggleContainer({model:this.model,id:"behaviour-redirect",name:"redirect",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.redirect_to_url,labelSmall:"true"}],on_change:function(e){var n=this.model.get("thankyou");!0!==e&&"true"!==e||!0!==n&&"true"!==n||(this.model.set("thankyou",!1),t.render())}}),a=new Forminator.Settings.Text({model:this.model,id:"behaviour-redirect-url",name:"redirect-url",hide_label:!0,placeholder:"E.g. /thank-you"});i.$el.find(".wpmudev-option--switch_content").append(a.$el),this.$el.find(".appearance-section-form-after-submit").append([e.el,i.el])},render_form_autofill:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"use_autofill",name:"use-autofill",hide_label:!0,values:[{value:"true",label:"Autofill",labelSmall:"true"}],on_change:function(t){}}),e=new Forminator.Settings.Autofills({model:this.model,id:"fields_autofill",name:"fields-autofill",hide_label:!0});t.$el.find(".wpmudev-option--switch_content").append(e.$el),this.$el.find(".appearance-section-form-autofill").append([t.el])},render_form_security:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"behaviours-form-honeypot",name:"honeypot",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.enable_honeypot,labelSmall:"true"}]}),e=new Forminator.Settings.Toggle({model:this.model,id:"behaviours-form-logged-users",name:"logged-users",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.only_logged,labelSmall:"true"}]});this.$el.find(".appearance-section-form-security").append([t.el,e.el])},render_form_privacy:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"enable-submissions-retention",name:"enable-submissions-retention",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.enable_submissions_retention,labelSmall:"true"}]});t.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var e=new Forminator.Settings.Number({model:this.model,id:"submissions-retention-number",name:"submissions-retention-number",hide_label:!0,placeholder:0}),n=new Forminator.Settings.Select({model:this.model,id:"submissions-retention-unit",name:"submissions-retention-unit",hide_label:!0,values:[{value:"days",label:Forminator.l10n.appearance.days},{value:"weeks",label:Forminator.l10n.appearance.weeks},{value:"months",label:Forminator.l10n.appearance.months},{value:"years",label:Forminator.l10n.appearance.years}]});t.$el.find(".wpmudev-option--half").append([e.$el,n.$el]),this.$el.find(".appearance-section-form-privacy").append(t.el)}})})}(jQuery),function(t){formintorjs.define("admin/builder/appearance/email-settings",["text!tpl/appearance.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#appearance-section-emails-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_user_email(),this.render_admin_email()},render_user_email:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-user-email",name:"use-user-email",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.send_user_email}]}),e=new Forminator.Settings.Text({model:this.model,id:"emails-user-email-title",name:"user-email-title",placeholder:Forminator.l10n.appearance.subject,inputLarge:"true"}),n=new Forminator.Settings.Editor({model:this.model,id:"emails-user-email-editor",name:"user-email-editor",placeholder:Forminator.l10n.appearance.body,enableFormData:!0});t.$el.find(".wpmudev-option--switch_content").append([e.el,n.el]),this.$el.find(".appearance-section-form-user-email").append(t.el)},render_admin_email:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"appearance-admin-email",name:"use-admin-email",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.send_admin_email}]}),e=new Forminator.Settings.Text({model:this.model,id:"emails-admin-email-title",name:"admin-email-title",placeholder:Forminator.l10n.appearance.subject,inputLarge:"true"}),n=this.get_admin_email_recipents(),i=new Forminator.Settings.Editor({model:this.model,id:"emails-admin-email-editor",name:"admin-email-editor",placeholder:Forminator.l10n.appearance.body,enableFormData:!0,enableAllFormFields:!0,enablePostData:!0,enableUpload:!0});t.$el.find(".wpmudev-option--switch_content").append([n.el,e.el,i.el]),this.$el.find(".appearance-section-form-user-admin-email").append(t.el)},get_admin_email_recipents:function(){return new Forminator.Settings.Tag({model:this.model,id:"emails-admin-email-recipents",name:"admin-email-recipients",tags_options:{placeholder:Forminator.l10n.appearance.admin_email_recipient,ajax:{url:Forminator.Data.ajaxUrl,type:"POST",delay:350,data:function(t){return{action:"forminator_builder_search_emails",q:t.term}},processResults:function(t){return{results:t.data}},cache:!0},createTag:function(e){var n=t.trim(e.term);return Forminator.Utils.is_email_wp(n)?{id:n,text:n}:null}}})}})})}(jQuery),function(t){formintorjs.define("admin/builder/appearance/advanced-settings",["text!tpl/appearance.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#appearance-section-advanced-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_fields()},render_fields:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"advanced-generate-pdf",name:"generate-pdf",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.generate_pdf}]}),e=new Forminator.Settings.Toggle({model:this.model,id:"advanced-integrations",name:"integrations",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.integrations}]});this.$el.find(".appearance-section-form-advanced").append([t.el,e.el])}})})}(jQuery),function(t){formintorjs.define("admin/builder/appearance/pagination-settings",["text!tpl/appearance.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#appearance-section-pagination-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_pagination_header(),this.render_pagination_footer()},render_pagination_header:function(){var t=new Forminator.Settings.RadioContainer({model:this.model,id:"pagination-header-design",name:"pagination-header-design",default_value:"off",containerClass:"wpmudev-is_gray",values:[{value:"off",label:Forminator.l10n.appearance.pagination_none},{value:"bar",label:Forminator.l10n.appearance.pagination_bar},{value:"nav",label:Forminator.l10n.appearance.pagination_nav}]}),e='<label class="wpmudev-label--info"><span>'+Forminator.l10n.appearance.pagination_off_label+"</span></label>",n='<label class="wpmudev-label--info"><span>'+Forminator.l10n.appearance.pagination_bar_label+"</span></label>",i=new Forminator.Settings.Text({model:this.model,id:"pagination-step-label",name:"pagination-step-label",hide_label:!1,label:Forminator.l10n.appearance.last_step_label,placeholder:Forminator.l10n.appearance.last_step_placeholder});this.$el.find(".pagination-settings-header").append(t.el),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-off").append(e),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-bar").append(n),this.$el.find(".pagination-settings-header .wpmudev-radio-tab-nav").append(i.el)},render_pagination_footer:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"pagination-footer-button",name:"pagination-footer-button",hide_label:!0,containerClass:"wpmudev-is_gray",values:[{value:"true",label:Forminator.l10n.appearance.last_page_button}]}),e=new Forminator.Settings.Text({model:this.model,id:"pagination-footer-button-text",name:"pagination-footer-button-text",hide_label:!0,placeholder:Forminator.l10n.appearance.last_page_placeholder});this.$el.find("#pagination-settings-footer").append(t.el),this.$el.find("#pagination-footer-button .wpmudev-toggle--box").append(e.el)}})})}(jQuery),formintorjs.define("text!admin/templates/appearance.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="appearance-layout-tpl">\r\n\r\n\t\t<div id="wpmudev-forminator-content" class="forminator-appearance-content wpmudev-page-wizard"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-appearance"><a href="#forminator-wizard-appearance">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.appearance }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-pagination"><a href="#forminator-wizard-pagination">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_pagination }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-behaviour"><a href="#forminator-wizard-behaviour">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_behaviour }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-emails"><a href="#forminator-wizard-emails">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.form_emails }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t\t<li class="wpmudev-tab--item forminator-wizard-advanced"><a href="#forminator-wizard-advanced">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.appearance.advanced }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\t\t\t\t\t--\x3e\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<select class="wpmudev-select wpmudev-tabs-mobile">\r\n\t\t\t\t\t<option value="forminator-wizard-appearance">{{ Forminator.l10n.appearance.appearance }}</option>\r\n\t\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t\t<option value="forminator-wizard-pagination">{{ Forminator.l10n.appearance.form_pagination }}</option>\r\n\t\t\t\t\t{[ } ]}\r\n\t\t\t\t\t<option value="forminator-wizard-behaviour">{{ Forminator.l10n.appearance.form_behaviour }}</option>\r\n\t\t\t\t\t<option value="forminator-wizard-emails">{{ Forminator.l10n.appearance.form_emails }}</option>\r\n\t\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t\t<option value="forminator-wizard-advanced">{{ Forminator.l10n.appearance.advanced }}</option>\r\n\t\t\t\t\t--\x3e\r\n\t\t\t\t</select>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_cforms" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.custom_form.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.appearance.preview_form }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t<div id="forminator-wizard-appearance" class="wpmudev-settings--box" style="display: block;"></div>\r\n\t\t\t\t{[ if( has_pagination ) { ]}\r\n\t\t\t\t<div id="forminator-wizard-pagination" class="wpmudev-settings--box"></div>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t\t<div id="forminator-wizard-behaviour" class="wpmudev-settings--box"></div>\r\n\t\t\t\t<div id="forminator-wizard-emails" class="wpmudev-settings--box"></div>\r\n\t\t\t\t\x3c!-- Disable until integrations are done\r\n\t\t\t\t<div id="forminator-wizard-advanced" class="wpmudev-settings--box"></div>\r\n\t\t\t\t--\x3e\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-ghost wpmudev-button-back">{{Forminator.l10n.builder.form_builder}}</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-save forminator-save-changes" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\r\n\t\t\t\t\t<button class="wpmudev-button forminator-save forminator-save-layout">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.publish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-appearance-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.form_name_main }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.form_name_main_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t<div class="appearance-section-form-name"></div>\r\n\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.appearance.form_name_validation }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.design_colors }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.design_colors_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t<div class="appearance-section-form-design"></div>\r\n\t\t\t\t<div class="appearance-section-customize-colors"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-typo-border" class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-typo-styles" class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.typography }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-customize-fonts"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-form-border" class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div id="appearance-cform-form-customize" class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.form_style }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t<div id="appearance-cform-form-styles" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label--section">{{ Forminator.l10n.appearance.form_padding }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-top"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-right"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-bottom"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-padding-left"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row--border"></div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t\t\t\t<label class="wpmudev-label--section">{{ Forminator.l10n.appearance.form_border }}</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-border-radius"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 col-lg-3 cform-appearance-form-border-width"></div>\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-lg-6 cform-appearance-form-border-style"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.fields_style }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-fields-style"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.custom_text }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.custom_text_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-custom-submit"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.appearance.custom_css }}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.appearance.custom_css_desc }}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-custom-style"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-behaviour-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.form_lifespan}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-lifespan"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t\x3c!--Autofill--\x3e\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.autofill.autofill_feature}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.autofill.autofill_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-autofill"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.submission_behaviour}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.submission_behaviour_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-after-submit"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.submission_method}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-submission"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.validation_method}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-validation"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.security}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-security"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.privacy}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.privacy_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container appearance-section-form-privacy"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-emails-tpl">\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="appearance-section-form-user-email"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="wpmudev-border"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option">\r\n\t\t\t<div class="appearance-section-form-user-admin-email"></div>\r\n\t\t</div>\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-pagination-tpl">\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.pagination_header}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.pagination_header_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option--container pagination-settings-header"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-section-advanced-tpl">\r\n\r\n\t\t<div class="appearance-section-form-advanced"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-color-grid-tpl">\r\n\r\n\t\t\x3c!-- FORM --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.form }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-form-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-form-border">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t\x3c!-- LABELS --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.labels }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-main-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.main }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-asterisk-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.asterisk }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-helper-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.description }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-validation-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-validation-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error_color }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t{[ if ( has_section ) { ]}\r\n\t\t\x3c!-- SECTION --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.section }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-title">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.title }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-subtitle">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.subtitle }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-4 color-grid-section-border-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-picker"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- INPUT + TEXTAREA --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.input_textarea }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-bg wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-placeholder">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.placeholder }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t{[ if( has_date_datepicker ) { ]}\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.icon_cal }}</label>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-filled wpmudev-not--material wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.filled }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-input-error">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.error }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t{[ if( has_multi_checkbox || has_single_radio || has_gdpr ) { ]}\r\n\t\t\x3c!-- RADIO + CHECKBOX --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.radio_checkbox }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.check_icon }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-radio-label">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.label }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_single_dropdown || has_dropdowns ) { ]}\r\n\t\t\x3c!-- SELECT --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.select }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-bg wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-border wpmudev-not--flat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-value">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-select-icon">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.icon }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_single_dropdown || has_dropdowns ) { ]}\r\n\t\t\x3c!-- SELECT DROPDOWN --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.dropdown }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-shadow wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.shadow }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-option-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.option_bg }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-option-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.option_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-dropdown-search-value">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.search_value }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_multi_multiselect ) { ]}\r\n\t\t\x3c!-- MULTI SELECT --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.multi_select }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_bg }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-multiselect-item-border wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.item_border }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if( has_date_datepicker ) { ]}\r\n\t\t\x3c!-- CALENDAR --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.calendar }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-background wpmudev-not--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-header wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.header_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-content wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.content_bg }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-arrows">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.nav_arrows }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-dweek">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dweek }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-days-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.days_color }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-calendar-days-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.days_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t{[ if ( has_upload ) { ]}\r\n\t\t\x3c!-- BUTTON UPLOAD --\x3e\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.upload }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-upload-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-upload-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- BUTTON SUBMIT --\x3e\r\n\t\t{[ if( ! has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.submit }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-submit-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-submit-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- PAGINATION TIMELINE --\x3e\r\n\t\t{[ if( has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.timeline }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_background }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-background-current">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_background_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-border-current wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.dot_border_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-step wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_step }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-dot-step-current wpmudev-only--material">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_step_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-text">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_text }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-text-current">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_text_current }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-timeline-border">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.timeline_border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t\x3c!-- PAGINATION BUTTON --\x3e\r\n\t\t{[ if( has_pagination ) { ]}\r\n\t\t<div class="wpmudev-multiname wpmudev-palettes">\r\n\r\n\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t<p>{{ Forminator.l10n.appearance.pagination_footer }}</p>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-previous-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.prev_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-previous-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.prev_value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-next-background">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.next_background }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-next-color">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.next_value }}</label>\r\n\t\t\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6 color-grid-pagination-border wpmudev-not--matflat">\r\n\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.appearance.border }}</label>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t\x3c!-- Autofill --\x3e\r\n\t<script type="text/template" id="appearance-autofills-tpl">\r\n\r\n\t\t{[ if (_.isEmpty(fields_with_autofill)) { ]}\r\n\t\t<div class="wpmudev-row">\r\n\t\t\t<div class="wpmudev-col col-12">\r\n\t\t\t\t<label class="wpmudev-label">\r\n\t\t\t\t\t{{ Forminator.l10n.autofill.no_autofill_fields_available }}\r\n\t\t\t\t</label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t{[ } ]}\r\n\r\n\t\t<div class="forminator-fields-autofill">\r\n\t\t\t{[ _.each( fields_with_autofill, function( field_with_autofill, key ) { ]}\r\n\t\t\t<div class="wpmudev-multiname {[ if( field_with_autofill.is_active ) { ]} wpmudev-is_active {[ } ]}">\r\n\r\n\t\t\t\t<div class="wpmudev-multiname--action">\r\n\r\n\t\t\t\t\t<div class="wpmudev-action--text">\r\n\t\t\t\t\t\t<p>{{ field_with_autofill.label }}</p>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<button class="wpmudev-action--button wpmudev-toggle-field"><span class="wpmudev-icon--plus" aria-hidden="true"></span><span class="wpmudev-text">{{ Forminator.l10n.appearance.open_field }}</span></button>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-multiname--content">\r\n\r\n\t\t\t\t\t<div class="wpmudev-row">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-8">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.autofill.source }}</label>\r\n\r\n\t\t\t\t\t\t\t<select class="wpmudev-select forminator-autofill-provider" data-element="{{ field_with_autofill.element_id }}">\r\n\t\t\t\t\t\t\t\t<option value="">{{ Forminator.l10n.autofill.disable_autofill }}</option>\r\n\t\t\t\t\t\t\t\t{[ _.each( field_with_autofill.autofill_providers, function( autofill_provider, provider_group_key ) { ]}\r\n\t\t\t\t\t\t\t\t<optgroup label="{{autofill_provider.name}}">\r\n\t\t\t\t\t\t\t\t\t{[ _.each( autofill_provider.attributes, function( attribute, attribute_key ) { ]}\r\n\t\t\t\t\t\t\t\t\t<option value="{{attribute_key}}" {[ if( field_with_autofill.selected_provider.provider === attribute_key ) { ]} selected="selected" {[ } ]}>{{attribute.name}}</option>\r\n\t\t\t\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t\t\t\t</optgroup>\r\n\t\t\t\t\t\t\t\t{[ }) ]}\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-4">\r\n\r\n\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.autofill.editable }}</label>\r\n\r\n\t\t\t\t\t\t\t<select class="wpmudev-select forminator-autofill-is-editable" data-element="{{ field_with_autofill.element_id }}">\r\n\t\t\t\t\t\t\t\t<option value="no" {[ if( field_with_autofill.selected_provider.is_editable === "no" ) { ]}selected="selected" {[ } ]}>{{Forminator.l10n.autofill.editable_no}}</option>\r\n\t\t\t\t\t\t\t\t<option value="yes" {[ if( field_with_autofill.selected_provider.is_editable === "yes" ) { ]}selected="selected" {[ } ]}>{{Forminator.l10n.autofill.editable_yes}}</option>\r\n\t\t\t\t\t\t\t</select>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t\t{[ }) ]}\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>\r\n'
}),function(t){formintorjs.define("admin/builder/appearance",["admin/builder/appearance/appearance-settings","admin/builder/appearance/behaviour-settings","admin/builder/appearance/email-settings","admin/builder/appearance/advanced-settings","admin/builder/appearance/pagination-settings","admin/popup/ajax","text!admin/templates/appearance.html"],function(e,n,i,a,r,o,l){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(l).find("#appearance-main-tpl").html()),buttonsTpl:Forminator.Utils.template(t(l).find("#appearance-buttons-tpl").html()),events:{"click .forminator-save-changes":"save_changes","click .forminator-save-layout":"save_layout","click .wpmudev-button-back":"back_to_builder","click .wpmudev-preview":"open_preview","change .wpmudev-input,.forminator-field-singular":"set_dirty"},has_pagination:!1,dirty:!1,initialize:function(t){return this.render()},render:function(){var a=this.model.get("wrappers");this.has_pagination=Forminator.Utils.has_field_type(a,"pagination"),Forminator.Events.trigger("forminator:sidebar:close:settings"),this.$el.html(this.mainTpl({has_pagination:this.has_pagination})),this.$el.append(this.buttonsTpl()),this.$el.find(".wpmudev-wizard--content").tabs(),this.$el.find(".wpmudev-tabs-mobile").on("change",function(e){t("."+t(this).val()+" a").click()}),t("#wpmudev-header h1").html(Forminator.l10n.appearance.settings_title),t("#wpmudev-header .wpmudev-button").hide();var o={appearance:e,behaviour:n,emails:i};this.has_pagination&&(o.pagination=r),this.append_settings(o);var l=this;t(window).off("beforeunload.forminator-leave-wizard-confirm"),t(window).on("beforeunload.forminator-leave-wizard-confirm",function(t){if(l.dirty)return Forminator.l10n.popup.save_alert}),this.init_select2()},back_to_builder:function(t){Forminator.navigate("builder",{trigger:!0})},cancel_builder:function(t){t.preventDefault(),window.location.href=Forminator.Data.modules.custom_form.form_list_url},open_preview:function(e){e.preventDefault();var n=t(e.target);n.hasClass("wpmudev-preview")||(n=n.closest(".wpmudev-preview"));var i=n.data("modal"),a=n.data("nonce"),r=n.data("form-id");this.open_preview_popup(i,a,r,Forminator.l10n.popup.preview_cforms+" - "+this.model.get("formName"),this.model.toJSON())},open_preview_popup:function(e,n,i,a,r){_.isUndefined(a)&&(a=Forminator.l10n.appearance.preview_form);var l=new o({action:e,nonce:n,data:r,id:i});Forminator.Popup.open(function(){t(this).append(l.el),t(".forminator-design--material").each(function(){var e=t(this),n=e.find(".forminator-input--wrap"),i=e.find(".forminator-textarea--wrap"),a=(e.find(".forminator-product"),e.find(".forminator-date")),r=e.find(".forminator-pagination--nav"),o=r.find("li");t('<span class="forminator-nav-border"></span>').insertAfter(o),n.prev(".forminator-field--label").addClass("forminator-floating--input"),i.prev(".forminator-field--label").addClass("forminator-floating--textarea"),a.hasClass("forminator-has_icon")?a.prev(".forminator-field--label").addClass("forminator-floating--date"):a.prev(".forminator-field--label").addClass("forminator-floating--input")})},{title:a})},save_changes:function(e){e.preventDefault(),this.validate()?(this.save(!1,!0),t(".wpmudev-preview").show()):(t(".wpmudev-wizard--content").tabs("option","active",0),t("html, body").animate({scrollTop:0},500))},save_layout:function(e){e.preventDefault(),this.validate()?this.save(!0,!0):(t(".wpmudev-wizard--content").tabs("option","active",0),t("html, body").animate({scrollTop:0},500))},save:function(e,n){var i=!1;if(n&&this.$el.find(".forminator-save").addClass("wpmudev-button-onload"),e){this.model.get("is_new")||!1||(this.model.set("is_new",!0),i=!0)}var a=this,r=Forminator.Utils.model_to_json(this.model),o=Forminator.Data.currentForm.formName||this.model.get("formName")||"",l=Forminator.Data.currentForm.formID||-1;t.post({url:Forminator.Data.ajaxUrl,data:{action:"forminator_save_builder_settings",formName:o,formID:l,data:r}}).success(function(t){if(a.dirty=!1,-1===l&&(Forminator.Data.currentForm.formID=t.data),n&&(setTimeout(function(){a.$el.find(".forminator-save").removeClass("wpmudev-button-onload")},500),e||Forminator.Notification.open("success",o+" "+Forminator.l10n.options.been_saved,4e3)),e){var r;i?(r=Forminator.Data.modules.custom_form.form_list_url,window.location.href=r+"&new=true&title="+o.replace(/ /g,"-")):(r=Forminator.Data.modules.custom_form.form_list_url,window.location.href=r+"&notification=true&title="+o.replace(/ /g,"-"))}}).error(function(){Forminator.Notification.open("error",Forminator.l10n.options.error_saving,5e3)})},validate:function(){var t=!1;return _.isEmpty(this.model.get("formName"))?(this.$el.find("#forminator-validate-name").show(),t=!0):this.$el.find("#forminator-validate-name").hide(),!t},init_select2:function(){Forminator.Utils.init_select2()},append_settings:function(t){var e=this;_.each(t,function(t,n){var i=new t({model:e.model});e.$el.find("#forminator-wizard-"+n).append(i.el)})},set_dirty:function(){this.dirty=!0}})})}(jQuery),formintorjs.define("text!tpl/polls.html",[],function(){return'<div>\r\n\r\n\t<script type="text/template" id="polls-layout-tpl">\r\n\r\n\t\t<div id="wpmudev-forminator-content" class="wpmudev-page-wizard forminator-polls-content"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-poll-details">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.polls.details }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-poll-appearance">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.polls.appearance }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_polls" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.polls.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.polls.preview }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t<div id="forminator-poll-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t<div id="forminator-poll-appearance" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\t\t\t\t\t<button id="forminator-polls-cancel" class="wpmudev-button wpmudev-button-ghost">{{Forminator.l10n.polls.cancel}}</button>\r\n\t\t\t\t\t<button id="forminator-polls-back" class="wpmudev-button wpmudev-button-ghost" style="display: none;">{{Forminator.l10n.polls.back}}</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-loading forminator-save" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-next" class="wpmudev-button forminator-loading">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.polls.continue}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-finish" class="wpmudev-button forminator-loading" style="display: none;">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.polls.finish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-section-details-tpl">\r\n\r\n\t\t<div class="wpmudev-heading wpmudev-option-wrap-form-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.polls.details_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_title}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-title">\r\n\t\t\t\t<div class="details-section-title"></div>\r\n\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_name }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_question}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-question">\r\n\t\t\t\t<div class="details-section-question"></div>\r\n\t\t\t\t<label id="forminator-validate-question" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_question }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-description">\r\n\t\t\t\t<div class="details-section-description"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_answers}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-answers">\r\n\t\t\t\t<div class="details-section-answers"></div>\r\n\t\t\t\t<label id="forminator-validate-answers" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_answers }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_button}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-button-label">\r\n\t\t\t\t<div class="details-section-button-label"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-section-appearance-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.polls.appearance_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.results_behav}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--results-behav" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.results_style}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--results-style" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.submission}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--submission" class="wpmudev-option--container">\r\n\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.polls.submission_explain}}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.votes_count}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--votes-count" class="wpmudev-option--container">\r\n\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.polls.votes_explain}}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_colors}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--colors" class="wpmudev-option--container">\r\n\t\t\t\t<div class="wpmudev-box-gray"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.votes_limit}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--votes-limit" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.privacy}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.privacy_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--privacy" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-vote-limit-tpl">\r\n\r\n\t\t<label class="wpmudev-label">{{Forminator.l10n.polls.how_long}}</label>\r\n\r\n\t\t<div class="wpmudev-has_cols"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-color-grid-tpl">\r\n\r\n\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--boxbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.poll_background }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--boxbo" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.poll_border }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--descriptionco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.polls.poll_description }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--questionco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.question }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--answersco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.answer }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_background }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputbo" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_border }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputph" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_placeholder }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputtxt" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_text }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--buttonbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.btn_background }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--buttontxt" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.btn_text }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--link" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.link_res }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>\r\n'}),function(t){formintorjs.define("admin/polls/appearance-settings",["text!tpl/polls.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#polls-section-appearance-tpl").html()),voteTpl:Forminator.Utils.template(t(e).find("#appearance-vote-limit-tpl").html()),colorTpl:Forminator.Utils.template(t(e).find("#appearance-color-grid-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_results(),this.render_submission(),this.render_votes(),this.render_colors(),this.render_privacy()},render_results:function(){var t=new Forminator.Settings.Radio({model:this.model,id:"forminator-pollwiz--results-behav",name:"results-behav",containerSize:"400",hide_label:!0,default_value:"link_on",values:[{value:"link_on",label:Forminator.l10n.polls.link_on},{value:"show_after",label:Forminator.l10n.polls.show_after},{value:"not_show",label:Forminator.l10n.polls.not_show}]});this.$el.find("#forminator-pollwiz-wrap--results-behav").append([t.el]);var e=new Forminator.Settings.Radio({model:this.model,id:"forminator-pollwiz--results-style",name:"results-style",containerSize:"400",sizeLarge:!0,itemsColor:"blue",hasIcon:!0,iconTop:!0,default_value:"bar",hide_label:!0,values:[{value:"bar",label:Forminator.l10n.polls.chart_bar,iconClass:"wpdui-icon-graph-bar"},{value:"pie",label:Forminator.l10n.polls.chart_pie,iconClass:"wpdui-icon-graph-bar_1"}]});this.$el.find("#forminator-pollwiz-wrap--results-style").append([e.el])},render_submission:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"behaviours-form-enable-ajax",name:"enable-ajax",hide_label:!0,values:[{value:"true",label:Forminator.l10n.polls.enable_ajax,labelSmall:!0}]});this.$el.find("#forminator-pollwiz-wrap--submission").prepend(t.el)},render_votes:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"forminator-pollwiz--votes-count",name:"show-votes-count",hide_label:!0,values:[{value:"true",label:Forminator.l10n.polls.show_votes,labelSmall:"true"}]});this.$el.find("#forminator-pollwiz-wrap--votes-count").prepend([t.el]);var e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-pollwiz--votes-limit",name:"enable-votes-limit",containerClass:"wpmudev-is_gray",hide_label:!0,values:[{value:"true",label:Forminator.l10n.polls.enable_limit,labelSmall:"true"}]});e.$el.find(".wpmudev-option--switch_content").html(this.voteTpl());var n=new Forminator.Settings.Number({model:this.model,type:"number",name:"vote_limit_input",hide_label:!0}),i=new Forminator.Settings.Select({model:this.model,name:"vote_limit_options",hide_label:!0,values:[{value:"m",label:Forminator.l10n.appearance.minutes},{value:"h",label:Forminator.l10n.appearance.hours},{value:"d",label:Forminator.l10n.appearance.days},{value:"W",label:Forminator.l10n.appearance.weeks},{value:"M",label:Forminator.l10n.appearance.months},{value:"Y",label:Forminator.l10n.appearance.years}]});e.$el.find(".wpmudev-has_cols").append([n.el,i.el]),this.$el.find("#forminator-pollwiz-wrap--votes-limit").append([e.el])},render_colors:function(){this.$el.find("#forminator-pollwiz-wrap--colors .wpmudev-box-gray").html(this.colorTpl());var t=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--boxbg",name:"box_background",hide_label:!0,default_value:"#FFFFFF"});this.$el.find("#forminator-pollwiz-wrap--boxbg").append(t.el);var e=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--boxbo",name:"box_border",hide_label:!0,default_value:"#E9E9E9"});this.$el.find("#forminator-pollwiz-wrap--boxbo").append(e.el);var n=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--description",name:"poll_description",hide_label:!0,default_value:"#333333"});this.$el.find("#forminator-pollwiz-wrap--descriptionco").append(n.el);var i=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--question",name:"poll_question",hide_label:!0,default_value:"#333333"});this.$el.find("#forminator-pollwiz-wrap--questionco").append(i.el);var a=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--answers",name:"poll_answers",hide_label:!0,default_value:"#333333"});this.$el.find("#forminator-pollwiz-wrap--answersco").append(a.el);var r=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbg",name:"inputbg",tooltip:Forminator.l10n.appearance.static,hide_label:!0,default_value:"#FAFAFA"}),o=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbg_hover",name:"inputbg_hover",tooltip:Forminator.l10n.appearance.hover,hide_label:!0,default_value:"#FAFAFA"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbg_active",name:"inputbg_active",tooltip:Forminator.l10n.appearance.active,hide_label:!0,default_value:"#FAFAFA"});this.$el.find("#forminator-pollwiz-wrap--inputbg .wpmudev-pickers").append(r.el,o.el,l.el);var s=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbo",name:"inputbo",tooltip:Forminator.l10n.appearance.static,hide_label:!0,default_value:"#DDDDDD"}),d=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbo_hover",name:"inputbo_hover",tooltip:Forminator.l10n.appearance.hover,hide_label:!0,default_value:"#DDDDDD"}),p=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputbo_active",name:"inputbo_active",tooltip:Forminator.l10n.appearance.active,hide_label:!0,default_value:"#DDDDDD"});this.$el.find("#forminator-pollwiz-wrap--inputbo .wpmudev-pickers").append(s.el,d.el,p.el);var m=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputph",name:"input_placeholder",hide_label:!0,default_value:"#8F8F8F"});this.$el.find("#forminator-pollwiz-wrap--inputph").append(m.el);var u=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--inputtxt",name:"input_text",hide_label:!0,default_value:"#1E1E1E"});this.$el.find("#forminator-pollwiz-wrap--inputtxt").append(u.el);var c=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttonbg",name:"buttonbg",tooltip:Forminator.l10n.appearance.static,hide_label:!0,default_value:"#17A8E3"}),v=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttonbg_hover",name:"buttonbg_hover",tooltip:Forminator.l10n.appearance.hover,hide_label:!0,default_value:"#008FCA"}),w=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttonbg_active",name:"buttonbg_active",tooltip:Forminator.l10n.appearance.active,hide_label:!0,default_value:"#008FCA"});this.$el.find("#forminator-pollwiz-wrap--buttonbg .wpmudev-pickers").append(c.el,v.el,w.el);var f=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttontxt",name:"buttontxt",tooltip:Forminator.l10n.appearance.static,hide_label:!0,default_value:"#FFFFFF"}),h=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttontxt_hover",name:"buttontxt_hover",tooltip:Forminator.l10n.appearance.hover,hide_label:!0,default_value:"#FFFFFF"}),g=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--buttontxt_active",name:"buttontxt_active",tooltip:Forminator.l10n.appearance.active,hide_label:!0,default_value:"#FFFFFF"});this.$el.find("#forminator-pollwiz-wrap--buttontxt .wpmudev-pickers").append(f.el,h.el,g.el);var b=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--link",name:"color_link",tooltip:Forminator.l10n.appearance.static,hide_label:!0,default_value:"#17A8E3"}),_=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--link_hover",name:"color_link_hover",tooltip:Forminator.l10n.appearance.hover,hide_label:!0,default_value:"#008FCA"}),F=new Forminator.Settings.Color({model:this.model,id:"forminator-pollwiz-color--link_active",name:"color_link_active",tooltip:Forminator.l10n.appearance.active,hide_label:!0,default_value:"#008FCA"});this.$el.find("#forminator-pollwiz-wrap--link .wpmudev-pickers").append(b.el,_.el,F.el)},render_privacy:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"enable-ip-address-retention",name:"enable-ip-address-retention",hide_label:!0,values:[{value:"true",label:Forminator.l10n.appearance.enable_ip_address_retention,labelSmall:"true"}]});t.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-option--half"></div>');var e=new Forminator.Settings.Number({model:this.model,id:"ip-address-retention-number",name:"ip-address-retention-number",hide_label:!0,placeholder:0}),n=new Forminator.Settings.Select({model:this.model,id:"ip-address-retention-unit",name:"ip-address-retention-unit",hide_label:!0,values:[{value:"days",label:Forminator.l10n.appearance.days},{value:"weeks",label:Forminator.l10n.appearance.weeks},{value:"months",label:Forminator.l10n.appearance.months},{value:"years",label:Forminator.l10n.appearance.years}]});t.$el.find(".wpmudev-option--half").append([e.$el,n.$el]),this.$el.find("#forminator-pollwiz-wrap--privacy").append(t.el)}})})}(jQuery),function(t){formintorjs.define("admin/polls/details-settings",["text!tpl/polls.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#polls-section-details-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_fields()},render_fields:function(){var t=new Forminator.Settings.Text({model:this.model,name:"formName",hide_label:!0,placeholder:Forminator.l10n.polls.poll_title_placeholder});this.$el.find(".details-section-title").append(t.el);var e=new Forminator.Settings.Text({model:this.model,name:"poll-description",hide_label:!0,placeholder:Forminator.l10n.polls.poll_desc_placeholder});this.$el.find(".details-section-description").append(e.el);var n=new Forminator.Settings.Text({model:this.model,name:"poll-question",hide_label:!0,placeholder:Forminator.l10n.polls.poll_question_placeholder});this.$el.find(".details-section-question").append(n.el);var i=new Forminator.Settings.MultiAnswer({model:this.model,name:"poll-answers",hide_label:!0});this.$el.find(".details-section-answers").append(i.el);var a=new Forminator.Settings.Text({model:this.model,name:"poll-button-label",hide_label:!0,placeholder:Forminator.l10n.polls.poll_button_placeholder});this.$el.find(".details-section-button-label").append(a.el)}})})}(jQuery),formintorjs.define("text!admin/templates/polls.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="polls-layout-tpl">\r\n\r\n\t\t<div id="wpmudev-forminator-content" class="wpmudev-page-wizard forminator-polls-content"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-poll-details">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.polls.details }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-poll-appearance">\r\n\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.polls.appearance }}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_polls" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.polls.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.polls.preview }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t<div id="forminator-poll-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t<div id="forminator-poll-appearance" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\t\t\t\t\t<button id="forminator-polls-cancel" class="wpmudev-button wpmudev-button-ghost">{{Forminator.l10n.polls.cancel}}</button>\r\n\t\t\t\t\t<button id="forminator-polls-back" class="wpmudev-button wpmudev-button-ghost" style="display: none;">{{Forminator.l10n.polls.back}}</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-loading forminator-save" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-next" class="wpmudev-button forminator-loading">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.polls.continue}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-finish" class="wpmudev-button forminator-loading" style="display: none;">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.polls.finish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-section-details-tpl">\r\n\r\n\t\t<div class="wpmudev-heading wpmudev-option-wrap-form-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.polls.details_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_title}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-title">\r\n\t\t\t\t<div class="details-section-title"></div>\r\n\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_name }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_question}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-question">\r\n\t\t\t\t<div class="details-section-question"></div>\r\n\t\t\t\t<label id="forminator-validate-question" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_question }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-description">\r\n\t\t\t\t<div class="details-section-description"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.polls.poll_answers}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-answers">\r\n\t\t\t\t<div class="details-section-answers"></div>\r\n\t\t\t\t<label id="forminator-validate-answers" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_answers }}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_button}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div class="wpmudev-option wpmudev-option-wrap-button-label">\r\n\t\t\t\t<div class="details-section-button-label"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="polls-section-appearance-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.polls.appearance_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.results_behav}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--results-behav" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.results_style}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--results-style" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.submission}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--submission" class="wpmudev-option--container">\r\n\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.polls.submission_explain}}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.votes_count}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--votes-count" class="wpmudev-option--container">\r\n\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.polls.votes_explain}}</span></label>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.poll_colors}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--colors" class="wpmudev-option--container">\r\n\t\t\t\t<div class="wpmudev-box-gray"></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-option--divided wpmudev-has_border">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.polls.votes_limit}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--votes-limit" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\r\n\t\t<div class="wpmudev-option--divided">\r\n\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.appearance.privacy}}</label>\r\n\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.appearance.privacy_desc}}</label>\r\n\t\t\t</div>\r\n\t\t\t<div id="forminator-pollwiz-wrap--privacy" class="wpmudev-option--container"></div>\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-vote-limit-tpl">\r\n\r\n\t\t<label class="wpmudev-label">{{Forminator.l10n.polls.how_long}}</label>\r\n\r\n\t\t<div class="wpmudev-has_cols"></div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="appearance-color-grid-tpl">\r\n\r\n\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--boxbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.poll_background }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--boxbo" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.poll_border }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--descriptionco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.polls.poll_description }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--questionco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.question }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--answersco" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.answer }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_background }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputbo" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_border }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputph" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_placeholder }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--inputtxt" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.input_text }}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--buttonbg" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.btn_background }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--buttontxt" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.btn_text }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-pollwiz-wrap--link" class="wpmudev-col col-12 col-xs-4 col-sm-12 col-lg-4">\r\n\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.colors.link_res }}</label>\r\n\t\t\t\t<div class="wpmudev-pickers"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>\r\n'}),function(t){formintorjs.define("admin/polls/polls",["admin/polls/appearance-settings","admin/polls/details-settings","admin/popup/ajax","text!admin/templates/polls.html"],function(e,n,i,a){return Backbone.View.extend({currentTab:0,mainTpl:Forminator.Utils.template(t(a).find("#polls-main-tpl").html()),buttonsTpl:Forminator.Utils.template(t(a).find("#polls-buttons-tpl").html()),events:{"click .wpmudev-tab--item a":"disable_link","click .forminator-save":"save_changes","click #forminator-polls-finish":"save_layout","click #forminator-polls-cancel":"cancel","click #forminator-polls-back":"prev_tab","click #forminator-polls-next":"next_tab","click .wpmudev-preview":"open_preview","change input":"set_dirty"},initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.$el.append(this.buttonsTpl());var i={details:n,appearance:e},a=this;t(window).off("beforeunload.forminator-leave-wizard-confirm"),t(window).on("beforeunload.forminator-leave-wizard-confirm",function(t){if(a.dirty)return Forminator.l10n.popup.save_alert}),this.init_tabs(),this.append_settings(i),this.update_buttons(),this.init_select2()},cancel:function(t){t.preventDefault(),window.location.href=Forminator.Data.modules.polls.form_list_url},save_changes:function(e){this.validate()?(this.save(!1,!0),t(".wpmudev-preview").show()):t("html").animate({scrollTop:0},800)},save_layout:function(e){this.validate()?this.save(!0,!0):t("html").animate({scrollTop:0},800)},save:function(e,n){var i=this,a=Forminator.Utils.model_to_json(this.model),r=Forminator.Data.currentForm.formName||this.model.get("formName")||"",o=Forminator.Data.currentForm.formID||-1;n&&this.$el.find(".forminator-loading").addClass("wpmudev-button-onload"),t.post({url:Forminator.Data.ajaxUrl,data:{action:"forminator_save_poll",formName:r,formID:o,data:a}}).success(function(t){i.dirty=!1,-1===o&&(Forminator.Data.currentForm.formID=t.data);var a;if(e&&(-1===o?(a=Forminator.Data.modules.polls.form_list_url,window.location.href=a+"&new=true&title="+r.replace(/ /g,"-")):(a=Forminator.Data.modules.polls.form_list_url,window.location.href=a+"&notification=true&title="+r.replace(/ /g,"-"))),n&&(setTimeout(function(){i.$el.find(".forminator-loading").removeClass("wpmudev-button-onload")},500),!e)){var l=_.template("<strong>{{ formName }}</strong> {{ Forminator.l10n.options.been_saved }}");Forminator.Notification.open("success",l({formName:r}),4e3)}}).error(function(){Forminator.Notification.open("error",Forminator.l10n.options.error_saving,5e3)})},init_select2:function(){Forminator.Utils.init_select2()},append_settings:function(t){var e=this;_.each(t,function(t,n){var i=new t({model:e.model});e.$el.find("#forminator-poll-"+n).append(i.el)})},update_buttons:function(){this.is_first_tab()?(this.$el.find("#forminator-polls-cancel").show(),this.$el.find("#forminator-polls-back").hide(),this.$el.find("#forminator-polls-next").show(),this.$el.find("#forminator-polls-finish").hide()):(this.$el.find("#forminator-polls-cancel").hide(),this.$el.find("#forminator-polls-back").show(),this.$el.find("#forminator-polls-next").hide(),this.$el.find("#forminator-polls-finish").show())},init_tabs:function(){this.update_tab()},update_tab:function(){this.clear_tabs(),this.$el.find("[data-tab-id="+this.currentTab+"]").addClass("wpmudev-is--active"),this.$el.find(".wpmudev-tab-content-"+this.currentTab).show()},clear_tabs:function(){this.$el.find(".wpmudev-tab--item ").removeClass("wpmudev-is--active"),this.$el.find(".wpmudev-settings--box").hide()},is_first_tab:function(){return 0===this.currentTab},is_last_tab:function(){return this.currentTab===this.$el.find(".wpmudev-tab--item").length},mark_tab:function(){this.$el.find("[data-tab-id="+this.currentTab+"]").addClass("wpmudev-is--done")},validate:function(){var t=!1;return _.isEmpty(this.model.get("formName"))?(this.$el.find("#forminator-validate-name").show(),t=!0):this.$el.find("#forminator-validate-name").hide(),_.isEmpty(this.model.get("poll-question"))?(this.$el.find("#forminator-validate-question").show(),t=!0):this.$el.find("#forminator-validate-question").hide(),0===this.model.get("answers").length?(this.$el.find("#forminator-validate-answers").show(),t=!0):this.$el.find("#forminator-validate-answers").hide(),!t},prev_tab:function(){this.currentTab=this.currentTab-1,this.update_tab(),this.update_buttons()},next_tab:function(){this.validate()?(this.mark_tab(),this.currentTab=this.currentTab+1,this.update_tab(),this.update_buttons(),this.save(!1,!0)):this.$el.find("[data-tab-id="+this.currentTab+"]").removeClass("wpmudev-is--done")},disable_link:function(t){t.preventDefault(),t.stopPropagation()},open_preview:function(e){e.preventDefault();var n=t(e.target);n.hasClass("wpmudev-preview")||(n=n.closest(".wpmudev-preview"));var i=n.data("modal"),a=n.data("nonce"),r=n.data("form-id"),o=void 0!==this.model.get("formName")?" - "+this.model.get("formName"):"";this.open_preview_popup(i,a,r,Forminator.l10n.popup.preview_polls+o,this.model.toJSON())},open_preview_popup:function(e,n,a,r,o){_.isUndefined(r)&&(r=Forminator.l10n.polls.popup_label),_.isUndefined(o.formID)&&(o.formID=Forminator.Data.currentForm.formID);var l=new i({action:e,nonce:n,data:o,id:a});Forminator.Popup.open(function(){t(this).append(l.el)},{title:r})},set_dirty:function(){this.dirty=!0}})})}(jQuery),formintorjs.define("text!tpl/quizzes.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="quiz-layout-tpl">\r\n\t\t<div id="wpmudev-forminator-content" class="wpmudev-page-wizard forminator-quizzes-content"></div>\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\t\t\t\t\t\r\n\t\t\t\t\t{[ if( type === "knowledge") { ]}\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-quiz-details">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.details }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-quiz-questions">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.questions }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="2"><a href="#forminator-quiz-settings">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.settings }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="3"><a href="#forminator-quiz-appearance">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.appearance }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-quiz-details">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.details }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-quiz-results">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.results }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="2"><a href="#forminator-quiz-questions">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.questions }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="3"><a href="#forminator-quiz-appearance">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.appearance }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_quizzes" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.quizzes.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.quizzes.preview }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t{[ if( type === "knowledge") { ]}\r\n\t\t\t\t\t<div id="forminator-quiz-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-questions" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-settings" class="wpmudev-settings--box wpmudev-tab-content-2" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-appearance" class="wpmudev-settings--box wpmudev-tab-content-3" style="display: none;"></div>\r\n\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t<div id="forminator-quiz-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-results" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-questions" class="wpmudev-settings--box wpmudev-tab-content-2" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-appearance" class="wpmudev-settings--box wpmudev-tab-content-3" style="display: none;"></div>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\t\t\t\t\t<button id="forminator-polls-cancel" class="wpmudev-button">{{Forminator.l10n.quizzes.cancel}}</button>\r\n\t\t\t\t\t<button id="forminator-polls-back" class="wpmudev-button" style="display: none;">{{Forminator.l10n.quizzes.back}}</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-loading forminator-save" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-next" class="wpmudev-button forminator-loading">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.quizzes.continue}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-finish" class="wpmudev-button forminator-loading" style="display: none;">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.quizzes.finish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-results-tpl">\r\n\r\n\t\t{[ if( type === "knowledge") { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.settings}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.results_behav}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.rb_description}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--results-behav" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.phrasing}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.phrasing_desc}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t\t<div id="forminator-quizwiz-wrap--msg-correct"></div>\r\n\t\t\t\t\t<div id="forminator-quizwiz-wrap--msg-incorrect"></div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.msg_count}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.msg_count_desc}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--msg-count" class="wpmudev-option--container">\r\n\t\t\t\t\t<label class="wpmudev-label--info" style="margin: 0 0 15px;"><span>{{Forminator.l10n.quizzes.msg_count_info}}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.share}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--social">\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--facebook">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--facebook"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-facebook">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_facebook"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M53.937 140V66.316H39.2V44.21h14.737V29.475C53.937 9.962 61.173 0 83.41 0h18.422v22.105H90.78c-8.696 0-11.054 4.82-11.054 11.053V44.21h22.106l-3.685 22.106h-18.42V140h-25.79z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--twitter">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--twitter"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-twitter">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_twitter"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M140 27.243c-5.147 2.265-10.682 3.78-16.504 4.456 5.937-3.493 10.5-9.044 12.625-15.633-5.558 3.23-11.686 5.61-18.24 6.844-5.215-5.484-12.676-8.91-20.937-8.91C81.065 14 68.21 26.642 68.21 42.298c0 2.19.238 4.34.732 6.416C45.066 47.536 23.9 36.26 9.726 19.147c-2.446 4.2-3.88 9.06-3.88 14.24 0 9.81 5.066 18.48 12.792 23.53-4.728-.14-9.142-1.41-13.013-3.517-.04.107-.04.24-.04.37 0 13.705 9.93 25.11 23.076 27.714-2.413.642-4.94.996-7.56.996-1.87 0-2.907-.61-4.628-.947 3.648 11.242 12.14 18.704 24.707 18.95-9.793 7.578-19.462 12.355-32.944 12.355-2.314 0-6.004.255-8.236 0 12.7 8.02 27.788 13.185 44.037 13.185 52.816 0 81.715-43.09 81.715-80.463 0-1.236-.008-2.447-.074-3.65 5.6-4.002 10.468-8.992 14.322-14.667z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--google">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--google"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-google">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_google"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M.118 65.574C.5 42.667 21.56 22.606 44.468 23.37c10.975-.51 21.293 4.267 29.7 10.975-3.588 4.077-7.304 8.004-11.273 11.677-10.106-6.984-24.478-8.98-34.584-.913-14.455 9.998-15.114 33.606-1.208 44.368 13.523 12.272 39.083 6.18 42.82-12.61-8.47-.127-16.963 0-25.433-.276-.023-5.053-.044-10.105-.023-15.157 14.16-.042 28.32-.065 42.502.042.848 11.89-.723 24.542-8.026 34.37-11.06 15.562-33.266 20.105-50.59 13.44-17.387-6.625-29.7-24.99-28.236-43.713zm114.47-16.9h12.632c.02 4.226.042 8.472.085 12.696 4.225.044 8.47.044 12.695.086v12.632c-4.224.042-8.45.063-12.695.106-.043 4.245-.064 8.47-.085 12.695h-12.653c-.042-4.226-.042-8.45-.085-12.675l-12.695-.127V61.456c4.225-.042 8.45-.063 12.695-.086.022-4.245.064-8.47.106-12.695z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--linkedin">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--linkedin"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-linkedin">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_linkedin"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M29.368 140H.878V47.412h28.49V140zm0-125.406c0 8.106-5.667 14.597-14.77 14.597h-.17C5.668 29.19 0 22.7 0 14.595 0 6.31 5.837 0 14.77 0c8.93 0 14.428 6.31 14.598 14.594zM75.846 140H47.21s.413-84.283 0-93.146h28.633l-.206 12.383c4.11-6.446 11.512-15.916 28.376-15.916C124.58 43.32 140 56.823 140 85.837V140h-28.68V87.248c0-12.696-7.095-19.145-18.407-19.145-8.635 0-13.778 5.842-16.038 11.486-.826 2.012-1.03 4.835-1.03 7.658V140z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.quizzes.smartcrawl}}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } else { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.results}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-quizwiz-wrap--results">\r\n\t\t\t\t<label id="forminator-validate-results" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_result }}</span></label>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-details-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.details}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.quizzes.quiz_title}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--title" class="wpmudev-option--container">\r\n\t\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_name }}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.feat_image}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--feat-image" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.description}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--description" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.visual_style}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--visual-style" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-questions-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.questions_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div id="forminator-quizwiz-wrap--multiquestion">\r\n\t\t\t<label id="forminator-validate-questions" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_question }}</span></label>\r\n\t\t</div>\r\n\r\n\t\t{[ if( type === "nowrong") { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.order}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.order_label}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.order_alt}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--order" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-appearance-nowrong-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--title-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.desc_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--description-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.feat_image }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.image_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--image-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.questions_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.question_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--question-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--answer-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.submit }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.submit_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--submit-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.result_appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.background }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.background_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-result-wrap--background" class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-main" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_main }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-head" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_header }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-body" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_content }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.border }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.border_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--border">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-option wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.quiz_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.quiz_title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--quiz" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.retake_button }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.retake_button_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.background }}</label>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake-background" class="wpmudev-pickers"></div>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.font_color }}</label>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake-color" class="wpmudev-pickers"></div>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.result_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.result_title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--title" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.result_description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.result_description_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--description" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-appearance-knowledge-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--title-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.desc_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--description-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.feat_image }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.image_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--image-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.questions_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.question_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--question-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--answer-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.correct_answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.correct_answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--aright-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.wrong_answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.wrong_answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--awrong-settings" class="wpmudev-option--container wpmudev-palettes"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.phrasing }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.phrasing_desc_alt }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--phrasing-settings" class="wpmudev-option--container wpmudev-palettes"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.submit }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.submit_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--submit-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.summary }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.summary_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--summary-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.sshare }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.sshare_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--sshare-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.social }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.social_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--social-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>'
}),function(t){formintorjs.define("admin/quizzes/knowledge/details-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-details-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"knowledge"})),this.render_questions()},render_questions:function(){var t=new Forminator.Settings.Text({model:this.model,id:"forminator-quizwiz--title",name:"quiz_title",hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--title").prepend([t.el]);var e=new Forminator.Settings.Image({model:this.model,id:"forminator-quizwiz--feat-image",name:"quiz_feat_image",hasPreview:!0,imageSize:"large",hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--feat-image").append([e.el]);var n=new Forminator.Settings.Textarea({model:this.model,id:"forminator-quizwiz--description",name:"quiz_description",hide_label:!0,size:"120"});this.$el.find("#forminator-quizwiz-wrap--description").append([n.el]);var i=new Forminator.Settings.Radio({model:this.model,id:"forminator-quizwiz--visual-style",name:"visual_style",containerSize:"400",itemsColor:"blue",hasIcon:!0,hide_label:!0,default_value:"list",values:[{value:"list",label:Forminator.l10n.quizzes.list,iconClass:"wpdui-icon-align-justify"},{value:"grid",label:Forminator.l10n.quizzes.grid,iconClass:"wpdui-icon-thumbnails"}]});this.$el.find("#forminator-quizwiz-wrap--visual-style").append([i.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/knowledge/questions-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-questions-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"knowledge"})),this.render_questions()},render_questions:function(){var t=new Forminator.Settings.MultiQuestion({model:this.model,id:"forminator-quizwiz-wrap--questions",name:"knowledge_questions",hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--multiquestion").prepend([t.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/knowledge/settings-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-results-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"knowledge"})),this.render_separator(),this.render_results(),this.render_social()},render_separator:function(){var t=new Forminator.Settings.Separator({model:this.model,name:"separator",hide_label:!0});this.$el.find(".forminator-quizwiz-wrap--separator").append([t.el])},render_results:function(){var t=new Forminator.Settings.Radio({model:this.model,id:"forminator-quizwiz--results-behav",name:"results_behav",containerSize:"400",itemsColor:"blue",label:Forminator.l10n.quizzes.reveal,default_value:"end",values:[{value:"after",label:Forminator.l10n.quizzes.after},{value:"end",label:Forminator.l10n.quizzes.before}]});this.$el.find("#forminator-quizwiz-wrap--results-behav").append([t.el]);var e=new Forminator.Settings.Text({model:this.model,id:"forminator-quizwiz--msg-correct",name:"msg_correct",label:Forminator.l10n.quizzes.msg_correct});this.$el.find("#forminator-quizwiz-wrap--msg-correct").append([e.el]);var n=new Forminator.Settings.Text({model:this.model,id:"forminator-quizwiz--msg-incorrect",name:"msg_incorrect",label:Forminator.l10n.quizzes.msg_incorrect});this.$el.find("#forminator-quizwiz-wrap--msg-incorrect").append([n.el]);var i=new Forminator.Settings.Textarea({model:this.model,id:"forminator-quizwiz--msg-count",name:"msg_count",label:Forminator.l10n.quizzes.msg_count});this.$el.find("#forminator-quizwiz-wrap--msg-count").prepend([i.el])},render_social:function(){var t=new Forminator.Settings.Toggle({model:this.model,id:"forminator-quizwiz--facebook",name:"facebook",hide_label:!0,values:[{value:"true",hideTL:!0}]});this.$el.find("#wpmudev-quizwiz-wrap--facebook").append([t.el]);var e=new Forminator.Settings.Toggle({model:this.model,id:"forminator-quizwiz--twitter",name:"twitter",hide_label:!0,values:[{value:"true",hideTL:!0}]});this.$el.find("#wpmudev-quizwiz-wrap--twitter").append([e.el]);var n=new Forminator.Settings.Toggle({model:this.model,id:"forminator-quizwiz--google",name:"google",hide_label:!0,values:[{value:"true",hideTL:!0}]});this.$el.find("#wpmudev-quizwiz-wrap--google").append([n.el]);var i=new Forminator.Settings.Toggle({model:this.model,id:"forminator-quizwiz--linkedin",name:"linkedin",hide_label:!0,values:[{value:"true",hideTL:!0}]});this.$el.find("#wpmudev-quizwiz-wrap--linkedin").append([i.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/knowledge/appearance-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-appearance-knowledge-tpl").html()),className:"wpmudev-box-body",google_fonts_options_list:[{value:"",label:Forminator.l10n.appearance.select_font},{value:"custom",label:Forminator.l10n.appearance.custom_font}],initialize:function(t){return this.render()},render:function(){var t=this;this.$el.html(this.mainTpl({type:"knowledge"})),Forminator.Utils.load_google_fonts(function(e){var n=_.map(e,function(t){return{value:t,label:t}});t.google_fonts_options_list=_.union(t.google_fonts_options_list,n),t.render_title(),t.render_description(),t.render_question(),t.render_answer(),t.render_answer_message(),t.render_submit(),t.render_summary(),t.render_sshare()}),this.render_image(),this.render_answer_right(),this.render_answer_wrong(),this.render_social()},render_title:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-title-settings",name:"knowledge-title-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-title-color",name:"knowledge-title-color",hide_label:!0,default_value:"#333333"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-title-font-family",name:"knowledge-title-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-title-custom-family").show():t.$el.find("#forminator-knowledge-title-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.$el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-title-custom-family",name:"knowledge-title-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.$el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--title-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--title-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-title-font-size",name:"knowledge-title-font-size",label:"Font size",default_value:"42",values:[{value:"24",label:"Aa"},{value:"36",label:"Aa"},{value:"42",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--title-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-title-font-weight",name:"knowledge-title-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--title-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--title-settings").append(e.el)},render_description:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-description-settings",name:"knowledge-description-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-description-color",name:"knowledge-description-color",hide_label:!0,default_value:"#8C8C8C"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-description-font-family",name:"knowledge-description-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-description-custom-family").show():t.$el.find("#forminator-knowledge-description-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-description-custom-family",name:"knowledge-description-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--description-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--description-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-description-font-size",name:"knowledge-description-font-size",label:"Font size",default_value:"20",values:[{value:"16",label:"Aa"},{value:"20",label:"Aa"},{value:"24",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--description-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-description-font-weight",name:"knowledge-description-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"400",values:[{value:"300",label:"Aa"},{value:"400",label:"Aa"},{value:"600",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--description-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--description-settings").append(e.el)},render_image:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-image-settings",name:"knowledge-image-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});t.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-wrap-border-controls"></div>'),t.$el.find(".wpmudev-wrap-border-controls").append('<div class="wpmudev-option wpmudev-palettes"><label class="wpmudev-label">Color</label></div>');var e=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-image-border-color",name:"knowledge-image-border-color",hide_label:!0,default_value:"#000000"});t.$el.find(".wpmudev-palettes").append([e.el]);var n=new Forminator.Settings.Number({model:this.model,id:"forminator-knowledge-image-border-width",name:"knowledge-image-border-width",label:"Border width",default_value:"0"});t.$el.find(".wpmudev-wrap-border-controls").append(n.$el);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-image-border-style",name:"knowledge-image-border-style",label:"Border style",default_value:"none",values:[{value:"none",label:"None"},{value:"solid",label:"Solid"},{value:"dashed",label:"Dashed"},{value:"dotted",label:"Dotted"},{value:"double",label:"Double"}]});t.$el.find(".wpmudev-wrap-border-controls").append(i.$el),this.$el.find("#forminator-knowledge-wrap--image-settings").append(t.el)},render_question:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-question-settings",name:"knowledge-question-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-question-color",name:"knowledge-question-color",hide_label:!0,default_value:"#333333"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-question-font-family",name:"knowledge-question-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-question-custom-family").show():t.$el.find("#forminator-knowledge-question-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-question-custom-family",name:"knowledge-question-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--question-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--question-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-question-font-size",name:"knowledge-question-font-size",label:"Font size",default_value:"24",values:[{value:"16",label:"Aa"},{value:"20",label:"Aa"},{value:"24",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--question-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-question-font-weight",name:"knowledge-question-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--question-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--question-settings").append(e.el)},render_answer:function(){var t=this,e=this.$el.find("#forminator-knowledge-wrap--answer-settings"),n=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-answer-settings",name:"knowledge-answer-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Answer border</label><div id="forminator-knowledge-answer-wrap--border" class="wpmudev-pickers"></div></div><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Answer background</label><div id="forminator-knowledge-answer-wrap--background" class="wpmudev-pickers"></div></div></div>');var i=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-border-static",name:"knowledge-answer-border-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#EBEDEB"}),a=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-border-hover",name:"knowledge-answer-border-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#EBEDEB"}),r=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-border-active",name:"knowledge-answer-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#17A8E3"});n.$el.find(".wpmudev-toggle--box #forminator-knowledge-answer-wrap--border").append([i.el,a.el,r.el]);var o=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-background-static",name:"knowledge-answer-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FAFAFA"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-background-hover",name:"knowledge-answer-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FAFAFA"}),s=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-background-active",name:"knowledge-answer-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#F3FBFE"});n.$el.find(".wpmudev-toggle--box #forminator-knowledge-answer-wrap--background").append([o.el,l.el,s.el]),n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Font color</label><div id="forminator-knowledge-answer-wrap--color" class="wpmudev-pickers"></div></div></div>');var d=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-color-static",name:"knowledge-answer-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#888888"}),p=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-color-hover",name:"knowledge-answer-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#888888"}),m=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-answer-color-active",name:"knowledge-answer-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#333333"});n.$el.find(".wpmudev-toggle--box #forminator-knowledge-answer-wrap--color").append([d.el,p.el,m.el]);var u=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-answer-font-family",name:"knowledge-answer-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-answer-custom-family").show():t.$el.find("#forminator-knowledge-answer-custom-family").hide()},100)}});n.$el.find(".wpmudev-toggle--box").append(u.el);var c=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-answer-custom-family",name:"knowledge-answer-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});n.$el.find(".wpmudev-toggle--box").append(c.el),n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row"><div id="forminator-knowledge-answer-wrap--font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-answer-wrap--font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var v=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-answer-font-size",name:"knowledge-answer-font-size",label:Forminator.l10n.appearance.font_size,default_value:"14",values:[{value:"12",label:"Aa"},{value:"14",label:"Aa"},{value:"16",label:"Aa"}]});n.$el.find(".wpmudev-toggle--box #forminator-knowledge-answer-wrap--font-size").append([v.el]);var w=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-answer-font-weight",name:"knowledge-answer-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});n.$el.find(".wpmudev-toggle--box #forminator-knowledge-answer-wrap--font-weight").append([w.el]),e.append(n.el)},render_answer_right:function(){var t=this.$el.find("#forminator-knowledge-wrap--aright-settings"),e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-aright-settings",name:"knowledge-aright-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div id="forminator-knowledge-aright-wrap--border" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Border</label></div><div id="forminator-knowledge-aright-wrap--background" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Background</label></div><div id="forminator-knowledge-aright-wrap--color" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-aright-border",name:"knowledge-aright-border",hide_label:!0,default_value:"#0BC30B"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-aright-wrap--border").append([n.el]);var i=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-aright-background",name:"knowledge-aright-background",hide_label:!0,default_value:"#F4FCF2"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-aright-wrap--background").append([i.el]);var a=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-aright-color",name:"knowledge-aright-color",hide_label:!0,default_value:"#0BC30B"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-aright-wrap--color").append([a.el]),t.append(e.el)},render_answer_wrong:function(){var t=this.$el.find("#forminator-knowledge-wrap--awrong-settings"),e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-awrong-settings",name:"knowledge-awrong-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div id="forminator-knowledge-awrong-wrap--border" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Border</label></div><div id="forminator-knowledge-awrong-wrap--background" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Background</label></div><div id="forminator-knowledge-awrong-wrap--color" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-awrong-border",name:"knowledge-awrong-border",hide_label:!0,default_value:"#DA0000"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-awrong-wrap--border").append([n.el]);var i=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-awrong-background",name:"knowledge-awrong-background",hide_label:!0,default_value:"#FDF2F2"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-awrong-wrap--background").append([i.el]);var a=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-awrong-color",name:"knowledge-awrong-color",hide_label:!0,default_value:"#DA0000"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-awrong-wrap--color").append([a.el]),t.append(e.el)},render_answer_message:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-phrasing-settings",name:"knowledge-phrasing-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-phrasing-color",name:"knowledge-phrasing-color",hide_label:!0,default_value:"#4D4D4D"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-phrasing-font-family",name:"knowledge-phrasing-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-phrasing-custom-family").show():t.$el.find("#forminator-knowledge-phrasing-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.$el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-phrasing-custom-family",name:"knowledge-phrasing-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.$el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--phrasing-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--phrasing-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-phrasing-font-size",name:"knowledge-phrasing-font-size",label:"Font size",default_value:"16",values:[{value:"13",label:"Aa"},{value:"16",label:"Aa"},{value:"20",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--phrasing-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-phrasing-font-weight",name:"knowledge-phrasing-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"700",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--phrasing-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--phrasing-settings").append(e.el)},render_submit:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-submit-settings",name:"knowledge-submit-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row"><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Background</label><div id="forminator-knowledge-wrap--submit-bg" class="wpmudev-pickers"></div></div><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Font color</label><div id="forminator-knowledge-wrap--submit-co" class="wpmudev-pickers"></div></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-background-static",name:"knowledge-submit-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#17A8E3"}),i=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-background-hover",name:"knowledge-submit-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#008FCA"}),a=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-background-active",name:"knowledge-submit-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#008FCA"});e.$el.find("#forminator-knowledge-wrap--submit-bg").append([n.el,i.el,a.el]);var r=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-color-static",name:"knowledge-submit-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FFFFFF"}),o=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-color-hover",name:"knowledge-submit-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FFFFFF"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-submit-color-active",name:"knowledge-submit-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#FFFFFF"});e.$el.find("#forminator-knowledge-wrap--submit-co").append([r.el,o.el,l.el]);var s=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-submit-font-family",name:"knowledge-submit-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-submit-custom-family").show():t.$el.find("#forminator-knowledge-submit-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(s.el);var d=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-submit-custom-family",name:"knowledge-submit-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(d.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row"><div id="forminator-knowledge-submit-wrap--font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-submit-wrap--font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var p=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-submit-font-size",name:"knowledge-submit-font-size",label:"Font size",default_value:"14",values:[{value:"12",label:"Aa"},{value:"14",label:"Aa"},{value:"17",label:"Aa"}]});e.$el.find("#forminator-knowledge-submit-wrap--font-size").append(p.el);var m=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-submit-font-weight",name:"knowledge-submit-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-submit-wrap--font-weight").append(m.el),this.$el.find("#forminator-knowledge-wrap--submit-settings").append(e.el)},render_summary:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-summary-settings",name:"knowledge-summary-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-summary-color",name:"knowledge-summary-color",hide_label:!0,default_value:"#333333"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-summary-font-family",name:"knowledge-summary-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-summary-custom-family").show():t.$el.find("#forminator-knowledge-summary-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.$el);var a=new Forminator.Settings.Text({model:this.model,
id:"forminator-knowledge-summary-custom-family",name:"knowledge-summary-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.$el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--summary-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--summary-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-summary-font-size",name:"knowledge-summary-font-size",label:"Font size",default_value:"40",values:[{value:"22",label:"Aa"},{value:"34",label:"Aa"},{value:"40",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--summary-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-summary-font-weight",name:"knowledge-summary-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"400",values:[{value:"200",label:"Aa"},{value:"400",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--summary-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--summary-settings").append(e.el)},render_sshare:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-sshare-settings",name:"knowledge-sshare-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-sshare-color",name:"knowledge-sshare-color",hide_label:!0,default_value:"#4D4D4D"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-knowledge-sshare-font-family",name:"knowledge-sshare-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-knowledge-sshare-custom-family").show():t.$el.find("#forminator-knowledge-sshare-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.$el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-knowledge-sshare-custom-family",name:"knowledge-sshare-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.$el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-knowledge-wrap--sshare-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-knowledge-wrap--sshare-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-sshare-font-size",name:"knowledge-sshare-font-size",label:"Font size",default_value:"20",values:[{value:"20",label:"Aa"},{value:"26",label:"Aa"},{value:"32",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--sshare-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-sshare-font-weight",name:"knowledge-sshare-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"400",values:[{value:"200",label:"Aa"},{value:"400",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-knowledge-wrap--sshare-font-weight").append(o.el),this.$el.find("#forminator-knowledge-wrap--sshare-settings").append(e.el)},render_social:function(){var t=this.$el.find("#forminator-knowledge-wrap--social-settings"),e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-knowledge-social-settings",name:"knowledge-social-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div id="forminator-knowledge-social-wrap--facebook" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Facebook</label></div><div id="forminator-knowledge-social-wrap--twitter" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Twitter</label></div><div id="forminator-knowledge-social-wrap--google" class="wpmudev-col col-12 col-md-4"><label class="wpmudev-label">Google+</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-social-facebook",name:"knowledge-social-facebook",hide_label:!0,default_value:"#0084BF"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-social-wrap--facebook").append([n.el]);var i=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-social-twitter",name:"knowledge-social-twitter",hide_label:!0,default_value:"#1DA1F2"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-social-wrap--twitter").append([i.el]);var a=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-social-google",name:"knowledge-social-google",hide_label:!0,default_value:"#DB4437"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-social-wrap--google").append([a.el]),e.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div id="forminator-knowledge-social-wrap--linkedin" class="wpmudev-col col-12"><label class="wpmudev-label">Linkedin</label></div></div>');var r=new Forminator.Settings.Color({model:this.model,id:"forminator-knowledge-social-linkedin",name:"knowledge-social-linkedin",hide_label:!0,default_value:"#0084BF"});e.$el.find(".wpmudev-toggle--box #forminator-knowledge-social-wrap--linkedin").append([r.el]);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-knowledge-social-size",name:"knowledge-social-size",label:"Icon size",default_value:"36",values:[{value:"24",label:"Aa"},{value:"30",label:"Aa"},{value:"36",label:"Aa"}]});e.$el.find(".wpmudev-toggle--box").append(o.el),t.append(e.el)}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/no-wrong/details-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-details-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"nowrong"})),this.render_questions()},render_questions:function(){var t=new Forminator.Settings.Text({model:this.model,id:"forminator-quizwiz--title",name:"quiz_title",hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--title").prepend([t.el]);var e=new Forminator.Settings.Image({model:this.model,id:"forminator-quizwiz--feat-image",name:"quiz_feat_image",hasPreview:!0,imageSize:"large",hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--feat-image").append([e.el]);var n=new Forminator.Settings.Textarea({model:this.model,id:"forminator-quizwiz--description",name:"quiz_description",hide_label:!0,size:"120"});this.$el.find("#forminator-quizwiz-wrap--description").append([n.el]);var i=new Forminator.Settings.Radio({model:this.model,id:"forminator-quizwiz--visual-style",name:"visual_style",containerSize:"400",itemsColor:"blue",hasIcon:!0,hide_label:!0,default_value:"list",values:[{value:"list",label:Forminator.l10n.quizzes.list,iconClass:"wpdui-icon-align-justify"},{value:"grid",label:Forminator.l10n.quizzes.grid,iconClass:"wpdui-icon-thumbnails"}]});this.$el.find("#forminator-quizwiz-wrap--visual-style").append([i.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/no-wrong/questions-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-questions-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"nowrong"})),this.render_questions()},render_questions:function(){var t=new Forminator.Settings.MultiQuestion({model:this.model,id:"forminator-quizwiz-wrap--questions",name:"nowrong_questions",noWrong:!0,hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--multiquestion").prepend([t.el]);var e=new Forminator.Settings.MultiOrder({model:this.model,id:"forminator-quizwiz-wrap--order-fields",name:"priority_order",noWrong:!0,hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--order").append([e.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/no-wrong/results-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-results-tpl").html()),className:"wpmudev-box-body",initialize:function(t){return this.render()},render:function(){this.$el.html(this.mainTpl({type:"nowrong"})),this.render_results()},render_results:function(){var t=new Forminator.Settings.MultiResult({model:this.model,hide_label:!0});this.$el.find("#forminator-quizwiz-wrap--results").prepend([t.el])}})})}(jQuery),function(t){formintorjs.define("admin/quizzes/no-wrong/appearance-settings",["text!tpl/quizzes.html"],function(e){return Backbone.View.extend({mainTpl:Forminator.Utils.template(t(e).find("#quiz-section-appearance-nowrong-tpl").html()),className:"wpmudev-box-body",google_fonts_options_list:[{value:"",label:Forminator.l10n.appearance.select_font},{value:"custom",label:Forminator.l10n.appearance.custom_font}],initialize:function(t){return this.render()},render:function(){var t=this;this.$el.html(this.mainTpl({type:"knowledge"})),Forminator.Utils.load_google_fonts(function(e){var n=_.map(e,function(t){return{value:t,label:t}});t.google_fonts_options_list=_.union(t.google_fonts_options_list,n),t.render_title(),t.render_description(),t.render_question(),t.render_answer(),t.render_submit(),t.render_result_quiz(),t.render_result_retake(),t.render_result_title(),t.render_result_description()}),this.render_image(),this.render_result_background(),this.render_result_border()},render_title:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-title-settings",name:"nowrong-title-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-title-color",name:"nowrong-title-color",hide_label:!0,default_value:"#333333"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-title-font-family",name:"nowrong-title-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-title-custom-family").show():t.$el.find("#forminator-nowrong-title-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.$el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-title-custom-family",name:"nowrong-title-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.$el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-wrap--title-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-wrap--title-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-title-font-size",name:"nowrong-title-font-size",label:"Font size",default_value:"42",values:[{value:"24",label:"Aa"},{value:"36",label:"Aa"},{value:"42",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--title-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-title-font-weight",name:"nowrong-title-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--title-font-weight").append(o.el),this.$el.find("#forminator-nowrong-wrap--title-settings").append(e.el)},render_description:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-description-settings",name:"nowrong-description-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-description-color",name:"nowrong-description-color",hide_label:!0,default_value:"#8C8C8C"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-description-font-family",name:"nowrong-description-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-description-custom-family").show():t.$el.find("#forminator-nowrong-description-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-description-custom-family",name:"nowrong-description-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-wrap--description-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-wrap--description-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-description-font-size",name:"nowrong-description-font-size",label:"Font size",default_value:"20",values:[{value:"16",label:"Aa"},{value:"20",label:"Aa"},{value:"24",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--description-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-description-font-weight",name:"nowrong-description-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"400",values:[{value:"300",label:"Aa"},{value:"400",label:"Aa"},{value:"600",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--description-font-weight").append(o.el),this.$el.find("#forminator-nowrong-wrap--description-settings").append(e.el)},render_image:function(){var t=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-image-settings",name:"nowrong-image-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});t.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-wrap-border-controls"></div>'),t.$el.find(".wpmudev-wrap-border-controls").append('<div class="wpmudev-option wpmudev-palettes"><label class="wpmudev-label">Color</label></div>');var e=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-image-border-color",name:"nowrong-image-border-color",hide_label:!0,default_value:"#000000"});t.$el.find(".wpmudev-palettes").append([e.el]);var n=new Forminator.Settings.Number({model:this.model,id:"forminator-nowrong-image-border-width",name:"nowrong-image-border-width",label:"Border width",default_value:"0"});t.$el.find(".wpmudev-wrap-border-controls").append(n.$el);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-image-border-style",name:"nowrong-image-border-style",label:"Border style",default_value:"none",values:[{value:"none",label:"None"},{value:"solid",label:"Solid"},{value:"dashed",label:"Dashed"},{value:"dotted",label:"Dotted"},{value:"double",label:"Double"}]});t.$el.find(".wpmudev-wrap-border-controls").append(i.$el),this.$el.find("#forminator-nowrong-wrap--image-settings").append(t.el)},render_question:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-question-settings",name:"nowrong-question-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Color</label></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-question-color",name:"nowrong-question-color",hide_label:!0,default_value:"#333333"});e.$el.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-question-font-family",name:"nowrong-question-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-question-custom-family").show():t.$el.find("#forminator-nowrong-question-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-question-custom-family",name:"nowrong-question-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(a.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-wrap--question-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-wrap--question-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-question-font-size",name:"nowrong-question-font-size",label:"Font size",default_value:"24",values:[{value:"16",label:"Aa"},{value:"20",label:"Aa"},{value:"24",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--question-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-question-font-weight",name:"nowrong-question-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-nowrong-wrap--question-font-weight").append(o.el),this.$el.find("#forminator-nowrong-wrap--question-settings").append(e.el)},render_answer:function(){var t=this,e=this.$el.find("#forminator-nowrong-wrap--answer-settings"),n=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-answer-settings",name:"nowrong-answer-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Answer border</label><div id="forminator-nowrong-answer-wrap--border" class="wpmudev-pickers"></div></div><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Answer background</label><div id="forminator-nowrong-answer-wrap--background" class="wpmudev-pickers"></div></div></div>');var i=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-border-static",name:"nowrong-answer-border-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#EBEDEB"}),a=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-border-hover",name:"nowrong-answer-border-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#EBEDEB"}),r=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-border-active",name:"nowrong-answer-border-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#17A8E3"});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--border").append([i.el,a.el,r.el]);var o=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-background-static",name:"nowrong-answer-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FAFAFA"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-background-hover",name:"nowrong-answer-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FAFAFA"}),s=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-background-active",name:"nowrong-answer-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#F3FBFE"});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--background").append([o.el,l.el,s.el]),n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Checkbox border</label><div id="forminator-nowrong-answer-wrap--chckbo" class="wpmudev-pickers"></div></div><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Checkbox background</label><div id="forminator-nowrong-answer-wrap--chckbg" class="wpmudev-pickers"></div></div></div>');var d=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbo-static",name:"nowrong-answer-chkbo-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#BFBFBF"}),p=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbo-hover",name:"nowrong-answer-chkbo-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#BFBFBF"}),m=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbo-active",name:"nowrong-answer-chkbo-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#17A8E3"});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--chckbo").append([d.el,p.el,m.el]);var u=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbg-static",name:"nowrong-answer-chkbg-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FFFFFF"}),c=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbg-hover",name:"nowrong-answer-chkbg-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FFFFFF"}),v=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-chkbg-active",name:"nowrong-answer-chkbg-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#17A8E3"});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--chckbg").append([u.el,c.el,v.el]),n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row wpmudev-palettes"><div class="wpmudev-col col-12"><label class="wpmudev-label">Font color</label><div id="forminator-nowrong-answer-wrap--color" class="wpmudev-pickers"></div></div></div>');var w=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-color-static",name:"nowrong-answer-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#888888"}),f=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-color-hover",name:"nowrong-answer-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#888888"}),h=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-answer-color-active",name:"nowrong-answer-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#333333"});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--color").append([w.el,f.el,h.el]);var g=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-answer-font-family",name:"nowrong-answer-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-answer-custom-family").show():t.$el.find("#forminator-nowrong-answer-custom-family").hide()},100)}});n.$el.find(".wpmudev-toggle--box").append(g.el);var b=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-answer-custom-family",name:"nowrong-answer-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});n.$el.find(".wpmudev-toggle--box").append(b.el),n.$el.find(".wpmudev-toggle--box").append('<div class="wpmudev-row"><div id="forminator-nowrong-answer-wrap--font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-answer-wrap--font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var _=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-answer-font-size",name:"nowrong-answer-font-size",label:Forminator.l10n.appearance.font_size,default_value:"14",values:[{value:"12",label:"Aa"},{value:"14",label:"Aa"},{value:"16",label:"Aa"}]});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--font-size").append([_.el]);var F=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-answer-font-weight",name:"nowrong-answer-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});n.$el.find(".wpmudev-toggle--box #forminator-nowrong-answer-wrap--font-weight").append([F.el]),e.append(n.el)},render_submit:function(){var t=this,e=new Forminator.Settings.ToggleContainer({model:this.model,id:"forminator-nowrong-submit-settings",name:"nowrong-submit-settings",hide_label:!0,containerClass:"wpmudev-is_gray",default_value:"false",values:[{value:"true",label:Forminator.l10n.quizzes.enable_styles}]});e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row"><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Background</label><div id="forminator-nowrong-wrap--submit-bg" class="wpmudev-pickers"></div></div><div class="wpmudev-col col-12 col-md-6"><label class="wpmudev-label">Font color</label><div id="forminator-nowrong-wrap--submit-co" class="wpmudev-pickers"></div></div></div>');var n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-background-static",name:"nowrong-submit-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#17A8E3"}),i=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-background-hover",name:"nowrong-submit-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#008FCA"}),a=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-background-active",name:"nowrong-submit-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#008FCA"});e.$el.find("#forminator-nowrong-wrap--submit-bg").append([n.el,i.el,a.el]);var r=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-color-static",name:"nowrong-submit-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FFFFFF"}),o=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-color-hover",name:"nowrong-submit-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FFFFFF"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-submit-color-active",name:"nowrong-submit-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#FFFFFF"});e.$el.find("#forminator-nowrong-wrap--submit-co").append([r.el,o.el,l.el]);var s=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-submit-font-family",name:"nowrong-submit-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-submit-custom-family").show():t.$el.find("#forminator-nowrong-submit-custom-family").hide()},100)}});e.$el.find(".wpmudev-option--switch_content").append(s.el);var d=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-submit-custom-family",name:"nowrong-submit-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.$el.find(".wpmudev-option--switch_content").append(d.el),e.$el.find(".wpmudev-option--switch_content").append('<div class="wpmudev-row"><div id="forminator-nowrong-submit-wrap--font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-submit-wrap--font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var p=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-submit-font-size",name:"nowrong-submit-font-size",label:"Font size",default_value:"14",values:[{value:"12",label:"Aa"},{value:"14",label:"Aa"},{value:"17",label:"Aa"}]});e.$el.find("#forminator-nowrong-submit-wrap--font-size").append(p.el);var m=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-submit-font-weight",name:"nowrong-submit-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.$el.find("#forminator-nowrong-submit-wrap--font-weight").append(m.el),this.$el.find("#forminator-nowrong-wrap--submit-settings").append(e.el)},render_result_background:function(){var t=this.$el.find("#forminator-nowrong-result-wrap--background"),e=t.find("#forminator-nowrong-result-wrap--bg-main"),n=t.find("#forminator-nowrong-result-wrap--bg-head"),i=t.find("#forminator-nowrong-result-wrap--bg-body"),a=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-background-main",name:"nowrong-result-background-main",hide_label:!0,default_value:"#17A8E3"});e.append([a.$el]);var r=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-background-head",name:"nowrong-result-background-head",hide_label:!0,default_value:"#17A8E3"});n.append([r.$el]);var o=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-background-body",name:"nowrong-result-background-body",hide_label:!0,default_value:"#FFFFFF"});i.append([o.$el])},render_result_border:function(){var t=this.$el.find("#forminator-nowrong-result-wrap--border"),e=new Forminator.Settings.Color({model:this.model,
id:"forminator-nowrong-result-border-color",name:"nowrong-result-border-color",hide_label:!0,default_value:"#17A8E3"});t.find(".wpmudev-palettes").append([e.$el]);var n=new Forminator.Settings.Number({model:this.model,id:"forminator-nowrong-result-border-width",name:"nowrong-result-border-width",label:"Border width",default_value:"10"});t.append([n.$el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-result-border-style",name:"nowrong-result-border-style",label:"Border style",default_value:"solid",values:[{value:"none",label:"None"},{value:"solid",label:"Solid"},{value:"dashed",label:"Dashed"},{value:"dotted",label:"Dotted"},{value:"double",label:"Double"}]});t.append([i.$el])},render_result_quiz:function(){var t=this,e=this.$el.find("#forminator-nowrong-result-wrap--quiz"),n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-quiz-color",name:"nowrong-result-quiz-color",hide_label:!0,default_value:"#FFFFFF"});e.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-result-quiz-font-family",name:"nowrong-result-quiz-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-result-quiz-custom-family").show():t.$el.find("#forminator-nowrong-result-quiz-custom-family").hide()},100)}});e.append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-result-quiz-custom-family",name:"nowrong-result-quiz-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.append(a.el),e.append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-result-wrap--quiz-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-result-wrap--quiz-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-quiz-font-size",name:"nowrong-result-quiz-font-size",label:Forminator.l10n.appearance.font_size,default_value:"15",values:[{value:"13",label:"Aa"},{value:"15",label:"Aa"},{value:"19",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--quiz-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-quiz-font-weight",name:"nowrong-result-quiz-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--quiz-font-weight").append(o.el)},render_result_retake:function(){var t=this,e=this.$el.find("#forminator-nowrong-result-wrap--retake"),n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-background-static",name:"nowrong-result-retake-background-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#17A8E3"}),i=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-background-hover",name:"nowrong-result-retake-background-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#17A8E3"}),a=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-background-active",name:"nowrong-result-retake-background-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#17A8E3"});e.find("#forminator-nowrong-result-wrap--retake-background").append([n.el,i.el,a.el]);var r=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-color-static",name:"nowrong-result-retake-color-static",hide_label:!0,tooltip:Forminator.l10n.appearance.static,default_value:"#FFFFFF"}),o=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-color-hover",name:"nowrong-result-retake-color-hover",hide_label:!0,tooltip:Forminator.l10n.appearance.hover,default_value:"#FFFFFF"}),l=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-retake-color-active",name:"nowrong-result-retake-color-active",hide_label:!0,tooltip:Forminator.l10n.appearance.active,default_value:"#FFFFFF"});e.find("#forminator-nowrong-result-wrap--retake-color").append([r.el,o.el,l.el]);var s=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-result-retake-font-family",name:"nowrong-result-retake-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-result-retake-custom-family").show():t.$el.find("#forminator-nowrong-result-retake-custom-family").hide()},100)}});e.append(s.el);var d=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-result-retake-custom-family",name:"nowrong-result-retake-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.append(d.el),e.append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-result-wrap--retake-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-result-wrap--retake-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var p=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-retake-font-size",name:"nowrong-result-retake-font-size",label:"Font size",default_value:"13",values:[{value:"13",label:"Aa"},{value:"15",label:"Aa"},{value:"19",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--retake-font-size").append(p.el);var m=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-retake-font-weight",name:"nowrong-result-retake-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--retake-font-weight").append(m.el)},render_result_title:function(){var t=this,e=this.$el.find("#forminator-nowrong-result-wrap--title"),n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-title-color",name:"nowrong-result-title-color",hide_label:!0,default_value:"#333333"});e.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-result-title-font-family",name:"nowrong-result-title-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-result-title-custom-family").show():t.$el.find("#forminator-nowrong-result-title-custom-family").hide()},100)}});e.append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-result-title-custom-family",name:"nowrong-result-title-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.append(a.el),e.append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-result-wrap--title-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-result-wrap--title-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-title-font-size",name:"nowrong-result-title-font-size",label:Forminator.l10n.appearance.font_size,default_value:"15",values:[{value:"15",label:"Aa"},{value:"20",label:"Aa"},{value:"25",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--title-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-title-font-weight",name:"nowrong-result-title-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"500",values:[{value:"300",label:"Aa"},{value:"500",label:"Aa"},{value:"700",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--title-font-weight").append(o.el)},render_result_description:function(){var t=this,e=this.$el.find("#forminator-nowrong-result-wrap--description"),n=new Forminator.Settings.Color({model:this.model,id:"forminator-nowrong-result-description-color",name:"nowrong-result-description-color",hide_label:!0,default_value:"#4D4D4D"});e.find(".wpmudev-palettes .wpmudev-col").append([n.el]);var i=new Forminator.Settings.Select({model:this.model,id:"forminator-nowrong-result-description-font-family",name:"nowrong-result-description-font-family",dataAttr:{"allow-search":1},label:Forminator.l10n.appearance.font_family,values:this.google_fonts_options_list,show:function(e){setTimeout(function(){"custom"===e?t.$el.find("#forminator-nowrong-result-description-custom-family").show():t.$el.find("#forminator-nowrong-result-description-custom-family").hide()},100)}});e.append(i.el);var a=new Forminator.Settings.Text({model:this.model,id:"forminator-nowrong-result-description-custom-family",name:"nowrong-result-description-custom-family",placeholder:Forminator.l10n.appearance.custom_font_placeholder,description:Forminator.l10n.appearance.custom_font_description,label:Forminator.l10n.appearance.custom_font_family});e.append(a.el),e.append('<div class="wpmudev-row wpmudev-fonts"><div id="forminator-nowrong-result-wrap--description-font-size" class="wpmudev-col col-12 col-md-6"></div><div id="forminator-nowrong-result-wrap--description-font-weight" class="wpmudev-col col-12 col-md-6"></div></div>');var r=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-description-font-size",name:"nowrong-result-description-font-size",label:Forminator.l10n.appearance.font_size,default_value:"13",values:[{value:"13",label:"Aa"},{value:"15",label:"Aa"},{value:"20",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--description-font-size").append(r.el);var o=new Forminator.Settings.Radio({model:this.model,id:"forminator-nowrong-result-description-font-weight",name:"nowrong-result-description-font-weight",label:Forminator.l10n.appearance.font_weight,default_value:"400",values:[{value:"300",label:"Aa"},{value:"400",label:"Aa"},{value:"600",label:"Aa"}]});e.find("#forminator-nowrong-result-wrap--description-font-weight").append(o.el)}})})}(jQuery),formintorjs.define("text!admin/templates/quizzes.html",[],function(){
return'<div>\r\n\r\n\t<script type="text/template" id="quiz-layout-tpl">\r\n\t\t<div id="wpmudev-forminator-content" class="wpmudev-page-wizard forminator-quizzes-content"></div>\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-main-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--content">\r\n\r\n\t\t\t<nav class="wpmudev-content--nav">\r\n\r\n\t\t\t\t<ul class="wpmudev-nav--tabs">\r\n\t\t\t\t\t\r\n\t\t\t\t\t{[ if( type === "knowledge") { ]}\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-quiz-details">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.details }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-quiz-questions">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.questions }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="2"><a href="#forminator-quiz-settings">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.settings }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="3"><a href="#forminator-quiz-appearance">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.appearance }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="0"><a href="#forminator-quiz-details">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.details }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="1"><a href="#forminator-quiz-results">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.results }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="2"><a href="#forminator-quiz-questions">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.questions }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\r\n\t\t\t\t\t\t<li class="wpmudev-tab--item" data-tab-id="3"><a href="#forminator-quiz-appearance">\r\n\t\t\t\t\t\t\t<span class="wpmudev-text">{{ Forminator.l10n.quizzes.appearance }}</span>\r\n\t\t\t\t\t\t\t<span class="wpmudev-icon-loading"></span>\r\n\t\t\t\t\t\t\t<span class="wpdui-icon wpdui-icon-check"></span>\r\n\t\t\t\t\t\t</a></li>\r\n\t\t\t\t\t{[ } ]}\r\n\r\n\t\t\t\t</ul>\r\n\r\n\t\t\t\t<div class="wpmudev-preview-anchor" aria-hidden="true"></div>\r\n\r\n\t\t\t\t<div class="wpmudev-preview" aria-hidden="true" data-modal="preview_quizzes" data-form-id="{{ Forminator.Data.currentForm.formID }}" data-nonce="{{ Forminator.Data.modules.quizzes.preview_nonce }}">\r\n\r\n\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100" viewBox="0 0 150 100" preserveAspectRatio="none" class="wpmudev-icon wpmudev-i_preview"><path fill-rule="evenodd" d="M75 100C25 100 0 50 0 50S25 0 75 0s75 50 75 50-25 50-75 50zm0-25c13.807 0 25-11.193 25-25S88.807 25 75 25 50 36.193 50 50s11.193 25 25 25z"/></svg>\r\n\r\n\t\t\t\t\t<span class="wpmudev-preview--text">{{ Forminator.l10n.quizzes.preview }}</span>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t\t<div class="wpmudev-content--settings">\r\n\t\t\t\t{[ if( type === "knowledge") { ]}\r\n\t\t\t\t\t<div id="forminator-quiz-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-questions" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-settings" class="wpmudev-settings--box wpmudev-tab-content-2" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-appearance" class="wpmudev-settings--box wpmudev-tab-content-3" style="display: none;"></div>\r\n\t\t\t\t{[ } else { ]}\r\n\t\t\t\t\t<div id="forminator-quiz-details" class="wpmudev-settings--box wpmudev-tab-content-0" style="display: block;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-results" class="wpmudev-settings--box wpmudev-tab-content-1" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-questions" class="wpmudev-settings--box wpmudev-tab-content-2" style="display: none;"></div>\r\n\t\t\t\t\t<div id="forminator-quiz-appearance" class="wpmudev-settings--box wpmudev-tab-content-3" style="display: none;"></div>\r\n\t\t\t\t{[ } ]}\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-buttons-tpl">\r\n\r\n\t\t<div class="wpmudev-wizard--footer">\r\n\r\n\t\t\t<div class="wpmudev-footer--clear"></div>\r\n\r\n\t\t\t<nav class="wpmudev-footer--nav">\r\n\r\n\t\t\t\t<div class="wpmudev-nav--left">\r\n\t\t\t\t\t<button id="forminator-polls-cancel" class="wpmudev-button">{{Forminator.l10n.quizzes.cancel}}</button>\r\n\t\t\t\t\t<button id="forminator-polls-back" class="wpmudev-button" style="display: none;">{{Forminator.l10n.quizzes.back}}</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-nav--right">\r\n\t\t\t\t\t<button class="wpmudev-button wpmudev-button-blue forminator-loading forminator-save" data-nonce="" data-id="">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.builder.save}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-next" class="wpmudev-button forminator-loading">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.quizzes.continue}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button id="forminator-polls-finish" class="wpmudev-button forminator-loading" style="display: none;">\r\n\t\t\t\t\t\t<span class="wpmudev-loading-text">{{Forminator.l10n.quizzes.finish}}</span>\r\n\t\t\t\t\t\t<span class="wpmudev-loading"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</nav>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-results-tpl">\r\n\r\n\t\t{[ if( type === "knowledge") { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.settings}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.results_behav}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.rb_description}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--results-behav" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.phrasing}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.phrasing_desc}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t\t<div id="forminator-quizwiz-wrap--msg-correct"></div>\r\n\t\t\t\t\t<div id="forminator-quizwiz-wrap--msg-incorrect"></div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.msg_count}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.msg_count_desc}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--msg-count" class="wpmudev-option--container">\r\n\t\t\t\t\t<label class="wpmudev-label--info" style="margin: 0 0 15px;"><span>{{Forminator.l10n.quizzes.msg_count_info}}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="forminator-quizwiz-wrap--separator"></div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.share}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--social">\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--facebook">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--facebook"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-facebook">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_facebook"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M53.937 140V66.316H39.2V44.21h14.737V29.475C53.937 9.962 61.173 0 83.41 0h18.422v22.105H90.78c-8.696 0-11.054 4.82-11.054 11.053V44.21h22.106l-3.685 22.106h-18.42V140h-25.79z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--twitter">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--twitter"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-twitter">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_twitter"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M140 27.243c-5.147 2.265-10.682 3.78-16.504 4.456 5.937-3.493 10.5-9.044 12.625-15.633-5.558 3.23-11.686 5.61-18.24 6.844-5.215-5.484-12.676-8.91-20.937-8.91C81.065 14 68.21 26.642 68.21 42.298c0 2.19.238 4.34.732 6.416C45.066 47.536 23.9 36.26 9.726 19.147c-2.446 4.2-3.88 9.06-3.88 14.24 0 9.81 5.066 18.48 12.792 23.53-4.728-.14-9.142-1.41-13.013-3.517-.04.107-.04.24-.04.37 0 13.705 9.93 25.11 23.076 27.714-2.413.642-4.94.996-7.56.996-1.87 0-2.907-.61-4.628-.947 3.648 11.242 12.14 18.704 24.707 18.95-9.793 7.578-19.462 12.355-32.944 12.355-2.314 0-6.004.255-8.236 0 12.7 8.02 27.788 13.185 44.037 13.185 52.816 0 81.715-43.09 81.715-80.463 0-1.236-.008-2.447-.074-3.65 5.6-4.002 10.468-8.992 14.322-14.667z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--google">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--google"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-google">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_google"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M.118 65.574C.5 42.667 21.56 22.606 44.468 23.37c10.975-.51 21.293 4.267 29.7 10.975-3.588 4.077-7.304 8.004-11.273 11.677-10.106-6.984-24.478-8.98-34.584-.913-14.455 9.998-15.114 33.606-1.208 44.368 13.523 12.272 39.083 6.18 42.82-12.61-8.47-.127-16.963 0-25.433-.276-.023-5.053-.044-10.105-.023-15.157 14.16-.042 28.32-.065 42.502.042.848 11.89-.723 24.542-8.026 34.37-11.06 15.562-33.266 20.105-50.59 13.44-17.387-6.625-29.7-24.99-28.236-43.713zm114.47-16.9h12.632c.02 4.226.042 8.472.085 12.696 4.225.044 8.47.044 12.695.086v12.632c-4.224.042-8.45.063-12.695.106-.043 4.245-.064 8.47-.085 12.695h-12.653c-.042-4.226-.042-8.45-.085-12.675l-12.695-.127V61.456c4.225-.042 8.45-.063 12.695-.086.022-4.245.064-8.47.106-12.695z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class="wpmudev-social--item wpmudev-social--linkedin">\r\n\t\t\t\t\t\t\t<div id="wpmudev-quizwiz-wrap--linkedin"></div>\r\n\t\t\t\t\t\t\t<div class="wpmudev-item--icon wpmudev-linkedin">\r\n\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140" preserveAspectRatio="none" class="wpmudev-i_linkedin"><g fill="none" fill-rule="evenodd"><path fill="none" d="M0 0h140v140H0z"/><path class="wpmudev-icon-path" d="M29.368 140H.878V47.412h28.49V140zm0-125.406c0 8.106-5.667 14.597-14.77 14.597h-.17C5.668 29.19 0 22.7 0 14.595 0 6.31 5.837 0 14.77 0c8.93 0 14.428 6.31 14.598 14.594zM75.846 140H47.21s.413-84.283 0-93.146h28.633l-.206 12.383c4.11-6.446 11.512-15.916 28.376-15.916C124.58 43.32 140 56.823 140 85.837V140h-28.68V87.248c0-12.696-7.095-19.145-18.407-19.145-8.635 0-13.778 5.842-16.038 11.486-.826 2.012-1.03 4.835-1.03 7.658V140z"/></g></svg>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<label class="wpmudev-label--info"><span>{{Forminator.l10n.quizzes.smartcrawl}}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } else { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.results}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div id="forminator-quizwiz-wrap--results">\r\n\t\t\t\t<label id="forminator-validate-results" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_result }}</span></label>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-details-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.details}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main wpmudev-has_icon">{{Forminator.l10n.quizzes.quiz_title}} <span class="wpdui-icon wpdui-icon-asterisk"></span></label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--title" class="wpmudev-option--container">\r\n\t\t\t\t\t<label id="forminator-validate-name" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.quizzes.validate_form_name }}</span></label>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.feat_image}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--feat-image" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.description}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--description" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.visual_style}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--visual-style" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-questions-tpl">\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.questions_title}}</label>\r\n\t\t</div>\r\n\r\n\t\t<div id="forminator-quizwiz-wrap--multiquestion">\r\n\t\t\t<label id="forminator-validate-questions" class="wpmudev-label--notice" style="display: none;"><span>{{ Forminator.l10n.polls.validate_form_question }}</span></label>\r\n\t\t</div>\r\n\r\n\t\t{[ if( type === "nowrong") { ]}\r\n\r\n\t\t\t<div class="wpmudev-heading">\r\n\t\t\t\t<label class="wpmudev-heading--title">{{Forminator.l10n.quizzes.order}}</label>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{Forminator.l10n.quizzes.order_label}}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{Forminator.l10n.quizzes.order_alt}}</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div id="forminator-quizwiz-wrap--order" class="wpmudev-option--container"></div>\r\n\t\t\t</div>\r\n\r\n\t\t{[ } ]}\r\n\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-appearance-nowrong-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--title-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.desc_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--description-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.feat_image }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.image_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--image-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.questions_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.question_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--question-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--answer-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.submit }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.submit_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-wrap--submit-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-heading">\r\n\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.result_appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.background }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.background_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-nowrong-result-wrap--background" class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-main" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_main }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-head" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_header }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--bg-body" class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.bg_content }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.border }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.border_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--border">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-option wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.quiz_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.quiz_title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--quiz" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.retake_button }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.retake_button_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.background }}</label>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake-background" class="wpmudev-pickers"></div>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-sm-6">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.font_color }}</label>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<div id="forminator-nowrong-result-wrap--retake-color" class="wpmudev-pickers"></div>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.result_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.result_title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--title" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided wpmudev-palettes">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.result_description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.result_description_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class="wpmudev-option--container">\r\n\r\n\t\t\t\t\t<div id="forminator-nowrong-result-wrap--description" class="wpmudev-box-gray">\r\n\r\n\t\t\t\t\t\t<div class="wpmudev-row wpmudev-palettes">\r\n\r\n\t\t\t\t\t\t\t<div class="wpmudev-col col-12 col-md-4">\r\n\r\n\t\t\t\t\t\t\t\t<label class="wpmudev-label">{{ Forminator.l10n.quizzes.color }}</label>\r\n\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\t\t\r\n\t<\/script>\r\n\r\n\t<script type="text/template" id="quiz-section-appearance-knowledge-tpl">\r\n\t\t\r\n\t\t<div class="wpmudev-heading">\r\n\t\t\t\r\n\t\t\t<label class="wpmudev-heading--title">{{ Forminator.l10n.quizzes.appearance }}</label>\r\n\r\n\t\t</div>\r\n\r\n\t\t<div class="wpmudev-box-body">\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.title_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--title-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.description }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.desc_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--description-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.feat_image }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.image_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--image-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.questions_title }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.question_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--question-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--answer-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.correct_answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.correct_answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--aright-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.wrong_answer }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.wrong_answer_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--awrong-settings" class="wpmudev-option--container wpmudev-palettes"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.phrasing }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.phrasing_desc_alt }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--phrasing-settings" class="wpmudev-option--container wpmudev-palettes"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.submit }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.submit_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--submit-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.summary }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.summary_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--summary-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.sshare }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.sshare_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--sshare-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option">\r\n\r\n\t\t\t\t<div class="wpmudev-border"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class="wpmudev-option--divided">\r\n\r\n\t\t\t\t<div class="wpmudev-option--name">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<label class="wpmudev-name--main">{{ Forminator.l10n.quizzes.social }}</label>\r\n\t\t\t\t\t<label class="wpmudev-name--alt">{{ Forminator.l10n.quizzes.social_desc }}</label>\r\n\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div id="forminator-knowledge-wrap--social-settings" class="wpmudev-option--container"></div>\r\n\r\n\t\t\t</div>\r\n\r\n\t\t</div>\r\n\r\n\t<\/script>\r\n\r\n</div>'
}),function(t){formintorjs.define("admin/quizzes/quizzes",["admin/quizzes/knowledge/details-settings","admin/quizzes/knowledge/questions-settings","admin/quizzes/knowledge/settings-settings","admin/quizzes/knowledge/appearance-settings","admin/quizzes/no-wrong/details-settings","admin/quizzes/no-wrong/questions-settings","admin/quizzes/no-wrong/results-settings","admin/quizzes/no-wrong/appearance-settings","admin/popup/ajax","text!admin/templates/quizzes.html"],function(e,n,i,a,r,o,l,s,d,p){return Backbone.View.extend({currentTab:0,mainTpl:Forminator.Utils.template(t(p).find("#quiz-main-tpl").html()),buttonsTpl:Forminator.Utils.template(t(p).find("#quiz-buttons-tpl").html()),events:{"click .wpmudev-tab--item a":"disable_link","click .forminator-save":"save_changes","click #forminator-polls-finish":"save_layout","click #forminator-polls-cancel":"cancel","click #forminator-polls-back":"prev_tab","click #forminator-polls-next":"next_tab","click .wpmudev-preview":"open_preview","change input":"set_dirty"},initialize:function(t){return this.app=Forminator.Data.application||!1,this.render()},render:function(){var d={};this.$el.html(this.mainTpl({type:this.app})),this.$el.append(this.buttonsTpl()),d="knowledge"===this.app?{details:e,questions:n,settings:i,appearance:a}:{details:r,questions:o,results:l,appearance:s};var p=this;t(window).off("beforeunload.forminator-leave-wizard-confirm"),t(window).on("beforeunload.forminator-leave-wizard-confirm",function(t){if(p.dirty)return Forminator.l10n.popup.save_alert}),this.init_tabs(),this.append_settings(d),this.update_buttons(),this.init_select2()},cancel:function(t){t.preventDefault(),window.location.href=Forminator.Data.modules.quizzes.form_list_url},save_layout:function(e){var n,i=Forminator.Utils.model_to_json(this.model),a=this.model.get("quiz_title")||"",r=Forminator.Data.currentForm.formID||-1;n="knowledge"===this.app?"forminator_save_quiz_knowledge":"forminator_save_quiz_nowrong",t.post({url:Forminator.Data.ajaxUrl,data:{action:n,formName:a,formID:r,data:i}}).success(function(t){if(-1===r){var e=Forminator.Data.modules.quizzes.form_list_url;window.location.href=e+"#"+a.replace(" ","-")}else window.location.href=Forminator.Data.modules.quizzes.form_list_url}).error(function(){})},save_changes:function(e){this.validate()?(this.save(!1,!0),t(".wpmudev-preview").show()):t("html, body").animate({scrollTop:0},500)},save_layout:function(e){this.validate()?this.save(!0,!0):t("html, body").animate({scrollTop:0},500)},save:function(e,n){var i,a=this,r=Forminator.Utils.model_to_json(this.model),o=this.model.get("quiz_title")||"",l=Forminator.Data.currentForm.formID||-1;n&&this.$el.find(".forminator-loading").addClass("wpmudev-button-onload"),i="knowledge"===this.app?"forminator_save_quiz_knowledge":"forminator_save_quiz_nowrong",t.post({url:Forminator.Data.ajaxUrl,data:{action:i,formName:o,formID:l,data:r}}).success(function(t){a.dirty=!1,-1===l&&(Forminator.Data.currentForm.formID=t.data);var i;if(e&&(-1===l?(i=Forminator.Data.modules.quizzes.form_list_url,window.location.href=i+"&new=true&title="+o.replace(/ /g,"-")):(i=Forminator.Data.modules.quizzes.form_list_url,window.location.href=i+"&notification=true&title="+o.replace(/ /g,"-"))),n&&(setTimeout(function(){a.$el.find(".forminator-loading").removeClass("wpmudev-button-onload")},500),!e)){var r=_.template("<strong>{{ formName }}</strong> {{ Forminator.l10n.options.been_saved }}");Forminator.Notification.open("success",r({formName:o}),4e3)}}).error(function(){Forminator.Notification.open("error",Forminator.l10n.options.error_saving,5e3)})},init_select2:function(){Forminator.Utils.init_select2()},append_settings:function(t){var e=this;_.each(t,function(t,n){var i=new t({model:e.model});e.$el.find("#forminator-quiz-"+n).append(i.el)})},update_buttons:function(){this.is_first_tab()?(this.$el.find("#forminator-polls-cancel").show(),this.$el.find("#forminator-polls-back").hide(),this.$el.find("#forminator-polls-next").show(),this.$el.find("#forminator-polls-finish").hide()):this.is_last_tab()?(this.$el.find("#forminator-polls-cancel").hide(),this.$el.find("#forminator-polls-back").show(),this.$el.find("#forminator-polls-next").hide(),this.$el.find("#forminator-polls-finish").show()):(this.$el.find("#forminator-polls-cancel").hide(),this.$el.find("#forminator-polls-back").show(),this.$el.find("#forminator-polls-next").show(),this.$el.find("#forminator-polls-finish").hide())},init_tabs:function(){this.update_tab()},update_tab:function(){this.clear_tabs(),this.$el.find("[data-tab-id="+this.currentTab+"]").addClass("wpmudev-is--active"),this.$el.find(".wpmudev-tab-content-"+this.currentTab).show()},clear_tabs:function(){this.$el.find(".wpmudev-tab--item ").removeClass("wpmudev-is--active"),this.$el.find(".wpmudev-settings--box").hide()},is_first_tab:function(){return 0===this.currentTab},is_last_tab:function(){return this.currentTab===this.$el.find(".wpmudev-tab--item").length-1},mark_tab:function(){this.$el.find("[data-tab-id="+this.currentTab+"]").addClass("wpmudev-is--done")},validate_quiz_title:function(){return _.isEmpty(this.model.get("quiz_title"))?(0!==this.currentTab&&(this.currentTab=0,this.update_tab(),this.update_buttons()),this.$el.find("#forminator-validate-name").show(),!1):(this.$el.find("#forminator-validate-name").hide(),!0)},validate_quiz_questions:function(){return"knowledge"===this.app?this.validate_knowledge_questions():this.validate_nowrong_questions()},validate_nowrong_questions:function(){var t,e=this;this.$el.find(".forminator-validate-answer-result").hide(),this.$el.find(".forminator-validate-correct-answer").hide();var n=this.model.get("questions");return!!(_.isUndefined(n)||n.length<1)||(t=n.filter(function(t){return t.answers_count()<1||t.find_answers_with_no_result().length>0}),!(t.length>0)||(2!==this.currentTab&&(this.currentTab=2,this.update_tab(),this.update_buttons()),_.each(t,function(t){var i=n.model_index(t),a=e.$el.find(".wpmudev-multiqs--questions .wpmudev-multiqs--item[data-index="+i+"]");if(t.answers_count()<1)a.find(".forminator-validate-correct-answer span").html(Forminator.l10n.quizzes.validate_form_no_answer),a.find(".forminator-validate-correct-answer").show();else{var r=t.find_answers_with_no_result();_.each(r,function(e){var n=t.get("answers").model_index(e),i=a.find(".wpmudev-answer[data-index="+n+"]");i.hasClass("wpmudev-is_open")||i.addClass("wpmudev-is_open"),i.find(".forminator-validate-answer-result[data-index="+n+"] span").html(Forminator.l10n.quizzes.validate_form_answers_result),i.find(".forminator-validate-answer-result[data-index="+n+"]").show()})}}),!1))},validate_knowledge_questions:function(){var e,n=this;this.$el.find(".forminator-validate-correct-answer").hide();var i=this.model.get("questions");return!!(_.isUndefined(i)||i.length<1)||(e=i.filter(function(t){return t.answers_count()<1||!t.is_have_correct_answer()}),!(e.length>0)||(1!==this.currentTab&&(this.currentTab=1,this.update_tab(),this.update_buttons()),_.each(e,function(e){var a=i.model_index(e),r=n.$el.find(".wpmudev-multiqs--questions .wpmudev-multiqs--item[data-index="+a+"]"),o=Forminator.l10n.quizzes.validate_form_correct_answer;e.answers_count()<1&&(o=Forminator.l10n.quizzes.validate_form_no_answer),r.find(".forminator-validate-correct-answer span").html(o),r.find(".forminator-validate-correct-answer").show(),r.find(".wpmudev-answer").each(function(){t(this).hasClass("wpmudev-is_open")||t(this).addClass("wpmudev-is_open")})}),!1))},validate:function(){return!!this.validate_quiz_title()&&this.validate_quiz_questions()},prev_tab:function(){this.currentTab=this.currentTab-1,this.update_tab(),this.update_buttons()},next_tab:function(){this.validate()?(this.mark_tab(),this.currentTab=this.currentTab+1,this.update_tab(),this.update_buttons(),this.save(!1,!0)):this.$el.find("[data-tab-id="+this.currentTab+"]").removeClass("wpmudev-is--done")},disable_link:function(t){t.preventDefault(),t.stopPropagation()},open_preview:function(e){e.preventDefault();var n=t(e.target);n.hasClass("wpmudev-preview")||(n=n.closest(".wpmudev-preview"));var i=n.data("modal"),a=n.data("nonce"),r=n.data("form-id"),o=void 0!==this.model.get("quiz_title")?" - "+this.model.get("quiz_title"):"";this.open_preview_popup(i,a,r,Forminator.l10n.popup.preview_quizzes+o,this.model.toJSON())},open_preview_popup:function(e,n,i,a,r){_.isUndefined(a)&&(a=Forminator.l10n.quizzes.preview_quiz),_.isUndefined(r.formID)&&(r.formID=Forminator.Data.currentForm.formID);var o=new d({action:e,nonce:n,data:r,id:i});Forminator.Popup.open(function(){t(this).append(o.el)},{title:a})},set_dirty:function(){this.dirty=!0}})})}(jQuery),function(t){formintorjs.define("admin/views",["admin/dashboard","admin/popups","admin/settings","admin/builder/builder","admin/builder/sidebar","admin/builder/appearance","admin/builder/builder/wrapper","admin/polls/polls","admin/quizzes/quizzes"],function(t,e,n,i,a,r,o,l,s){return{Views:{Dashboard:t,Popups:e,Settings:n,Builder:{Builder:i,Sidebar:a,Wrapper:o,Appearance:r},Polls:l,Quizzes:s}}})}(jQuery),function(t){formintorjs.define("admin/application",["admin/models","admin/views","admin/settings","text!admin/templates/builder.html","text!admin/templates/appearance.html","text!admin/templates/polls.html","text!admin/templates/quizzes.html"],function(e,n,i,a,r,o,l){return _.extend(Forminator,e),_.extend(Forminator,n),_.extend(Forminator,i),new(Backbone.Router.extend({app:!1,data:!1,layout:!1,routes:{"":"run",appearance:"run_appearance","*path":"run"},events:{},init:function(){if(!this.data)if(this.app=Forminator.Data.application||!1,this.data=t.extend(!0,{},Forminator.Data.currentForm)||{},"builder"===this.app)this.model=new Forminator.Models.Builder(this.data);else if("poll"===this.app)this.model=new Forminator.Models.Poll(this.data);else{if("knowledge"!==this.app&&"nowrong"!==this.app)return!1;this.model=new Forminator.Models.Quiz(this.data)}},run:function(){this.init(),"builder"===this.app?this.start_builder():"poll"===this.app?this.start_poll():"knowledge"!==this.app&&"nowrong"!==this.app||this.start_quiz()},run_appearance:function(t){this.app&&"builder"===this.app||this.navigate("",{trigger:!0}),this.init(),this.start_appearance()},start_builder:function(){t(".wpmudev-form-wizard").empty().html(Forminator.Utils.template(t(a).find("#builder-layout-tpl").html())),this.builder&&(this.builder.fields_panel&&(this.builder.fields_panel.off(),this.builder.fields_panel.remove()),this.builder.off(),this.builder.remove()),this.builder=new Forminator.Views.Builder.Builder({model:this.model,el:".wpmudev-form-builder"}),this.update_builder_width()},start_appearance:function(){t(".wpmudev-form-wizard").empty().html(Forminator.Utils.template(t(r).find("#appearance-layout-tpl").html())),this.appearance&&this.appearance.remove(),this.appearance=new Forminator.Views.Builder.Appearance({model:this.model,el:".forminator-appearance-content"}),this.update_builder_width()},start_poll:function(){t(".wpmudev-poll-wizard").empty().html(Forminator.Utils.template(t(o).find("#polls-layout-tpl").html())),this.poll&&this.poll.remove(),this.poll=new Forminator.Views.Polls({model:this.model,el:".forminator-polls-content"})},start_quiz:function(){t(".wpmudev-quiz-wizard").empty().html(Forminator.Utils.template(t(l).find("#quiz-layout-tpl").html())),this.quiz&&this.quiz.remove(),this.quiz=new Forminator.Views.Quizzes({model:this.model,el:".forminator-quizzes-content"})},update_builder_width:function(){var e=t(".wpmudev-form-wizard"),n=t("#forminator-wizard-name"),i=t("#wpmudev-sidebar");e.css({width:"100%"});var a=i.width(),r=e.width();e.width(r-a+20),n.width(r-a+20)}}))})}(jQuery),formintorjs.define("jquery",[],function(){return jQuery}),formintorjs.define("forminator_global_data",function(){return forminator_data}),formintorjs.define("forminator_language",function(){return forminator_l10n});var Forminator=window.Forminator||{};Forminator.Events={},Forminator.Data={},Forminator.l10n={},formintorjs.require.config({baseUrl:".",paths:{js:".",admin:"admin"},shim:{backbone:{deps:["underscore","jquery","forminator_global_data","forminator_language"],exports:"Backbone"},underscore:{exports:"_"}},waitSeconds:60}),formintorjs.require(["admin/utils"],function(t){_.templateSettings={evaluate:/\{\[([\s\S]+?)\]\}/g,interpolate:/\{\{([\s\S]+?)\}\}/g},_.extend(Forminator.Data,forminator_data),_.extend(Forminator.l10n,forminator_l10n),_.extend(Forminator,t),formintorjs.require(["admin/application"],function(t){jQuery(document).ready(function(){_.extend(Forminator,t),_.extend(Forminator.Events,Backbone.Events),Forminator.Events.trigger("application:booted"),Backbone.history.start()})})}),formintorjs.define("admin/setup",function(){}),formintorjs.define("main",function(){});