/home/techb158/dev.aleamaralawal.com/wp-content/plugins/gravityforms/js
Edit: /home/techb158/dev.aleamaralawal.com/wp-content/plugins/gravityforms/js/form_admin.min.js (34185B)
function initMergeTagSupport(){"undefined"!=typeof form&&0<=jQuery(".merge-tag-support").length&&jQuery(".merge-tag-support").each(function(){new gfMergeTagsObj(form,jQuery(this))})}function FormatCurrency(e){var t;gf_vars.gf_currency_config&&(t=new gform.Currency(gf_vars.gf_currency_config).toMoney(jQuery(e).val()),jQuery(e).val(t))}function ToggleConditionalLogic(e,t){jQuery("#"+t+"_conditional_logic").is(":checked")?(CreateConditionalLogic(t,GetConditionalObject(t)),SetConditionalProperty(t,"actionType",jQuery("#"+t+"_action_type").val()),SetConditionalProperty(t,"logicType",jQuery("#"+t+"_logic_type").val()),SetRule(t,0),jQuery("#"+t+"_conditional_logic_container").show()):jQuery("#"+t+"_conditional_logic_container").hide()}function GetConditionalObject(e){var t=!1;switch(e){case"page":case"field":t=GetSelectedField();break;case"next_button":var i=GetSelectedField();(t=i.nextButton).id=i.id;break;case"confirmation":t=confirmation;break;case"notification":t=current_notification;break;case"button":t=form.button;break;default:t="undefined"!=typeof form&&form.button}return t=gform.applyFilters("gform_conditional_object",t,e)}function CreateConditionalLogic(t,e){e.conditionalLogic&&0!=e.conditionalLogic.length||(e.conditionalLogic=new ConditionalLogic);var i,o="hide"==e.conditionalLogic.actionType?"selected='selected'":"",n="show"==e.conditionalLogic.actionType?"selected='selected'":"",r="all"==e.conditionalLogic.logicType?"selected='selected'":"",a="any"==e.conditionalLogic.logicType?"selected='selected'":"",s="section"==e.type?gf_vars.thisSectionIf:"field"==t?gf_vars.thisFieldIf:"page"==t?gf_vars.thisPage:"confirmation"==t?gf_vars.thisConfirmation:"notification"==t?gf_vars.thisNotification:gf_vars.thisFormButton,l="next_button"==t?(i=gf_vars.enable,gf_vars.disable):(i=gf_vars.show,gf_vars.hide),c={};c.actionType="
",c.objectDescription=s,c.logicType="
",c.ofTheFollowingMatch=gf_vars.ofTheFollowingMatch;for(var u,d=makeArray(c).join(" "),d=gform.applyFilters("gform_conditional_logic_description",d,c,t,e),g=0;g
")+GetRuleFields(t,g,e.conditionalLogic.rules[g].fieldId))+GetRuleOperators(t,g,e.conditionalLogic.rules[g].fieldId,u.operator))+GetRuleValues(t,g,e.conditionalLogic.rules[g].fieldId,u.value))+"',1'),d+=" ";jQuery("#"+t+"_conditional_logic_container").html(d),Placeholders.enable(),jQuery("#"+t+"_conditional_logic",document).parents("form").on("submit",function(e){jQuery("#"+t+"_conditional_logic_object").val(JSON.stringify(GetConditionalObject(t).conditionalLogic))})}function GetRuleOperators(e,t,i,o){var n={is:"is",isnot:"isNot",">":"greaterThan","<":"lessThan",contains:"contains",starts_with:"startsWith",ends_with:"endsWith"},r="