Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2021-24865: Changeset 2648200 – WordPress Plugin Repository

The Advanced Custom Fields: Extended WordPress plugin before 0.8.8.7 does not validate the order and orderby parameters before using them in a SQL statement, leading to a SQL Injection issue

CVE
#sql#google#js

1 !function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{’click a[data-name="add"]‘:"onClickEdit",’click a[data-name="edit"]‘:"onClickEdit",’click a[data-name="remove"]‘:"onClickRemove"},$control:function(){return this.$(“.acf-link”)},initialize:function(){},getValue:function(){var e={type:this.$(“.input-type :checked”).val(),title:this.$(“.input-title”).val(),url:this.$(“.input-url”).val(),post:this.$(“.input-post :selected”).text(),term:this.$(“.input-term :selected”).text(),target:this.$(“.input-target”).is(“:checked”)};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),e.url&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(“.link-title”).html(e.title),this.$(“.link-url”).attr("href",e.url).html(e.url),e.remove&&(this.$(“.input-type :checked”).prop(“checked",!1),this.$('.input-type [value="url”]').prop("checked",!0).trigger(“change”),this.$(“.input-title”).val(“”),this.$(“.input-target”).prop("checked",!1),this.$(“.input-url”).val(“”).trigger(“change”),this.$(“.input-post”).val(“”).trigger(“change”),this.$(“.input-term”).val(“”).trigger(“change”))},onClickEdit:function(e,t){var a=t.closest(“.acf-input”).find(“.acfe-modal”),t=a.attr(“data-modal-title”),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__(“Close”),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(“.acf-field-acfe-advanced-link”).not(“.acf-error”);t.length&&acf.getInstance(t).showError(e.notice.get(“text”))},ajaxField:function(e,t,a,i,n){if(“post"!==i.get(“key”))return e;a=acf.getInstance(a.closest(“.acf-field-acfe-advanced-link”));return a&&(e.field_key=a.get(“key”)),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$(“input”).length?this.$(“input”):this.$(“button”).length?this.$(“button”):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get(“ajax”)&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get(“key”),acf:acf.serialize(this.$el.closest(“form”),"acf”)},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get(“name”),a,this.$el),a=acf.applyFilters(“acfe/fields/button/data/key="+this.get(“key”),a,this.$el),acf.doAction(“acfe/fields/button/before_ajax",this.$el,a),acf.doAction(“acfe/fields/button/before",this.$el,a),acf.doAction(“acfe/fields/button/before/name="+this.get(“name”),this.$el,a),acf.doAction(“acfe/fields/button/before/key="+this.get(“key”),this.$el,a),i.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction(“acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction(“acfe/fields/button/success",e,this.$el,a),acf.doAction(“acfe/fields/button/success/name="+this.get(“name”),e,this.$el,a),acf.doAction(“acfe/fields/button/success/key="+this.get(“key”),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction(“acfe/fields/button/complete",e,this.$el,a),acf.doAction(“acfe/fields/button/complete/name="+this.get(“name”),e,this.$el,a),acf.doAction(“acfe/fields/button/complete/key="+this.get(“key”),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),function(e){"undefined"!=typeof acf&&new acf.Model({actions:{"new_field/type=checkbox":"newField"},newField:function(a){a.has(“acfeLabels”)&&e.each(a.get(“acfeLabels”),function(e,t){a.$control().find('input[type=checkbox][value="’+t+’”]').closest(“ul”).before(“<strong>"+e+"</strong>”)})}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:!1,type:"clone",events:{’click [data-name="edit”]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has(“acfeCloneModal”)&&(e=this.get(“acfeCloneModalButton”),this.$el.find(“> .acf-input > .acf-fields, > .acf-input > .acf-table”).wrapAll(‘<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>’),this.$el.find(“> .acf-input”).append('<a data-name="edit” class="acf-button button” href="#">’+e+"</a>”))},onClick:function(e,t){var a=this.$labelWrap().find(“label”).text().trim(),i=this.$el.find(“> .acf-input > .acfe-modal”).addClass(“acfe-modal-edit-“+this.get(“name”)+” acfe-modal-edit-“+this.get(“key”));a.length||(a=this.get(“acfeCloneModalButton”));var n=!1;this.has(“acfeCloneModalClose”)&&(n=acf.__(“Close”));var o="large";this.has(“acfeCloneModalSize”)&&(o=this.get(“acfeCloneModalSize”)),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit”]').remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:"ready",type:"acfe_code_editor",events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$el.find(“> .acf-input > .acf-input-wrap”)},$input:function(){return this.$el.find(“> .acf-input > .acf-input-wrap > textarea”)},input:function(){return this.$input()[0]},rows:function(){return this.$input().attr(“rows”)},initialize:function(){this.rows=this.$control().data(“rows”),this.max_rows=this.$control().data(“max-rows”),this.mode=this.$control().data(“mode”),this.lines=this.$control().data(“lines”),this.indentUnit=this.$control().data(“indent-unit”);var e=[],t=wp.codeEditor.defaultSettings.codemirror,a={lineNumbers:this.lines,lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.indentUnit,tabSize:1,indentWithTabs:!1,mode:this.mode,extraKeys:{Tab:function(e){e.execCommand(“indentMore”)},"Shift-Tab":function(e){e.execCommand(“indentLess”)}}},a=jQuery.extend(t,a);e.codemirror=a,this.editor=wp.codeEditor.initialize(this.input(),e),(this.rows||this.max_rows)&&(this.rows&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.rows+"px”),this.max_rows&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.max_rows+"px”),this.editor.codemirror.refresh()),(field=this).editor.codemirror.on(“change",function(){field.editor.codemirror.save(),field.$input().change()})},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(“.CodeMirror:last”).remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(“.acf-fields:first”)},initialize:function(){if(this.$el.is(“td”)&&(this.$el.closest(“.acf-table”).find('th[data-type="acfe_column”]').remove(),this.remove()),this.get(“endpoint”))return this.$el.find(“> .acf-label”).remove(),void this.$el.find(“> .acf-input”).remove();var e=this.$el,t=this.$el.find(“> .acf-label”),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass(“acfe-column-wrapper”),a.addClass(t.hasClass("-left”)?”-left":"”),a.addClass(t.hasClass("-clear”)?”-clear":"”),a.append(e.nextUntil(“.acf-field-acfe-column",".acf-field”))}}),acf.registerFieldType(e))}(jQuery),function®{var n;"undefined"!=typeof acf&&((n=acf.getFieldType(“flexible_content”).prototype).events[“click .acf-fc-layout-handle”]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has(“acfeFlexibleTitleEdition”)||(t=t.closest(“.layout”)).hasClass(“acfe-flexible-title-edition”)&&t.find(“> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title”).trigger(“blur”)},n.events[“click .acfe-layout-title-text”]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has(“acfeFlexibleTitleEdition”)&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events[“blur input.acfe-flexible-control-title”]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(“.layout”),n=i.find(“> .acf-fc-layout-handle”),t=n.find(“.acfe-layout-title”);i.hasClass(“acfe-flexible-title-edition”)?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr(“placeholder”)).trigger(“input”),i.removeClass(“acfe-flexible-title-edition”),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass(“acfe-flexible-title-edition”),a.focus().attr("size",a.val().length))},n.events[“click input.acfe-flexible-control-title”]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(“.layout”).find(“> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text”),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events[“click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(“.layout”),n=i.find(“> .acfe-modal.-settings”),o=i.find(“> .acf-fc-layout-handle”),t=o.find(“> .acf-fc-layout-order”).outerHTML(),o=o.find(“.acfe-layout-title-text”).text();new acfe.Popup(n,{title:t+” "+o,footer:acf.__(“Close”),onClose:function(){a.has(“acfeFlexiblePreview”)&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(“.layout”),t=a.find(“> .acfe-flexible-layout-toggle”);t.length&&("1"===t.val()?(a.removeClass(“acfe-flexible-layout-hidden”),t.val(“”)):(a.addClass(“acfe-flexible-layout-hidden”),t.val(“1”)))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has(“acfeFlexibleToggle”)||(t=e.find(“> .acfe-flexible-layout-toggle”)).length&&("1"===t.val()?e.addClass(“acfe-flexible-layout-hidden”):e.removeClass(“acfe-flexible-layout-hidden”))}),n.events[“click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(“.layout”),o=n.data(“layout”),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="’+o+’”]'),c=(c.data(“min”),c.data(“max”)||0),o=(a=o,l.filter(function(){return r(this).data(“layout”)===a}).length);if(c&&c<=o)return t.addClass(“disabled”),!1;t.removeClass(“disabled”),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(“.acf-flexible-content”).find(“> input[type=hidden]").attr(“name”),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events[“click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(“.layout”).clone(),t=this.$control().find(“> input[type=hidden]").attr(“name”);this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text” style="clip:rect(0,0,0,0);clip-path:none;position:absolute;” value="” />’).appendTo(r(“body”));a.attr(“value",t).select(),document.execCommand(“copy”)?alert(“Layout has been transferred to your clipboard”):prompt(“Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find(“> input[type=hidden]").attr(“name”);e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text” style="clip:rect(0,0,0,0);clip-path:none;position:absolute;” value="” />’).appendTo(e.$el);e.attr(“value",t).select(),document.execCommand(“copy”)?alert(“Layouts have been transferred to your clipboard”):prompt(“Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt(“Paste layouts data in the following field”);if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert(“No layouts data available”);var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data(“layout”),i=o.find('[data-layout="’+a+’”]'),i=(i.data(“min”),i.data(“max”)||0),a=(e=a,c.filter(function(){return r(this).data(“layout”)===e}).length);i&&i<=a||n.$clone(t.attr(“data-layout”)).length&&l.push(t)}),!l.length)return alert(“No layouts could be pasted”);r.each(l,function(){var e=r(this),t=i+”[“+e.attr(“data-id”)+”]“,a=n.$control().find(“> input[type=hidden]").attr(“name”);n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert(“Invalid data”)}},n.events['click [data-name="acfe-flexible-control-button”]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(“.tmpl-acfe-flexible-control-popup”).html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get(“text”)),this.$el.addClass(“acf-fc-popup”)}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr(“data-acfe-flexible-control-action”)?a.acfePasteLayouts():"copy"===t.attr(“data-acfe-flexible-control-action”)&&a.acfeCopyLayouts()}}).on(“click","a","onConfirm”)},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+”[“+a.layout.attr(“data-id”)+”]"),a.replace=a.parent+"[“+i+”]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass(“acfe-layout-duplicated”),t.attr(“data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get(“acf_version”),"<","5.9”)?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger(“change”);t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass(“acf-hidden”)&&this.tab.$el.addClass(“acf-hidden”)}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr(“data-id”),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass(“acf-clone”),a.find(“.ui-sortable”).removeClass(“ui-sortable”),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find(“input”).each(function(){r(this).attr("value",this.value)}),e.find(“textarea”).each(function(){r(this).html(this.value)}),e.find(“input:radio,input:checkbox”).each(function(){this.checked?r(this).attr(“checked","checked”):r(this).attr(“checked",!1)}),e.find(“option”).each(function(){this.selected?r(this).attr(“selected","selected”):r(this).attr(“selected",!1)})},n.acfeCleanLayouts=function(e){e.find(“.acf-editor-wrap”).each(function(){var e=r(this);e.find(“.wp-editor-container div”).remove(),e.find(“.wp-editor-container textarea”).css(“display","”)}),e.find(“.acf-date-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acf-time-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acf-date-time-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acfe-field-code-editor”).each(function(){r(this).find(“.CodeMirror”).remove()}),e.find(“.acf-color-picker”).each(function(){var e=r(this),t=e.find(“> input”),a=e.find(“.wp-picker-container input.wp-color-picker”).clone();t.after(a),e.find(“.wp-picker-container”).remove()}),e.find(“.acf-field-post-object”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-page-link”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-select”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-font-awesome”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”)}),e.find(“.acf-tab-wrap”).each(function(){var e=r(this),t=e.closest(“.acf-fields”),a=[];r.each(e.find(“li a”),function(){a.push(r(this))}),t.find(“> .acf-field-tab”).each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr(“data-key”)===$current_tab.attr(“data-key”)&&$current_tab.find(“> .acf-input”).append(e)})}),e.remove()}),e.find(“.acf-field-accordion”).each(function(){var e=r(this);e.find(“> .acf-accordion-title > .acf-accordion-icon”).remove(),e.after('<div class="acf-field acf-field-accordion” data-type="accordion"><div class="acf-input"><div class="acf-fields” data-endpoint="1"></div></div></div>’)})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleLock”)&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&((e=acf.getFieldType(“flexible_content”).prototype).events['click [data-action="acfe-flexible-modal-edit”]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(“.layout”),n=i.find(“> .acfe-modal.-fields”).addClass(“acfe-modal-edit-“+a.get(“name”)+” acfe-modal-edit-“+a.get(“key”)).addClass(“acfe-modal-edit-“+i.data(“layout”)),o=i.find(“> .acf-fc-layout-handle”),c=o.find(“> .acf-fc-layout-order”).outerHTML(),t=acfe.getTextNode(o.find(“.acfe-layout-title-text”)),o=!1;a.has(“acfeFlexibleCloseButton”)&&(o=acf.__(“Close”)),new acfe.Popup(n,{title:c+” “+t,footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleModalEdition”)&&(e.has(“acfeFlexiblePlaceholder”)||e.has(“acfeFlexiblePreview”))&&(e.removeEvents({’click [data-name="collapse-layout”]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(l){"undefined"!=typeof acf&&(acf.getFieldType(“flexible_content”).prototype.acfeModalSelect=function(e,t){var a=this;if(!a.validateAdd())return!1;var i=null;t.hasClass(“acf-icon”)&&(i=t.closest(“.layout”));var n=a.getPopupHTML(),o={array:[],html:""};l(n).find(“li a span[data-acfe-flexible-category]").each(function(){var e=l(this).data(“acfe-flexible-category”);l.each(e,function(){-1===function(e,t){for(var a=t.length,i=e.toString().toLowerCase(),n=0;n<a;n++)if(t[n].toLowerCase()===i)return n;return-1}(this,o.array)&&o.array.push(this)})}),o.array.length&&(o.array.sort(),o.html+=’<h2 class="acfe-flexible-categories nav-tab-wrapper">’,o.html+=’<a href="#” data-acfe-flexible-category="acfe-all” class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>’,l(o.array).each(function(e,t){o.html+=’<a href="#” data-acfe-flexible-category="’+t+’” class="nav-tab">’+t+"</a>"}),o.html+="</h2>”);t=acf.__(“Add Row”);a.has(“acfeFlexibleModalTitle”)&&(t=a.get(“acfeFlexibleModalTitle”));var c=l(‘<div class="acfe-modal acfe-modal-select-‘+a.get(“name”)+" acfe-modal-select-“+a.get(“key”)+’">’+o.html+’<div class="acfe-flex-container">’+n+"</div></div>”).appendTo(“body”);new acfe.Popup(c,{title:t,size:"full",destroy:!0}),a.has(“acfeFlexibleModalCol”)&&c.find(“.acfe-modal-content .acfe-flex-container”).addClass("acfe-col-“+a.get(“acfeFlexibleModalCol”)),a.has(“acfeFlexibleThumbnails”)&&c.find(“.acfe-modal-content .acfe-flex-container”).addClass(“acfe-flex-thumbnails”),c.find(“li:first-of-type a”).blur(),c.find(“li a span.badge”).each(function(){l(this).addClass(“acf-js-tooltip dashicons dashicons-info”)}),c.find(“.acfe-flexible-categories a”).click(function(e){e.preventDefault();e=l(this);e.closest(“.acfe-flexible-categories”).find(“a”).removeClass(“nav-tab-active”),e.addClass(“nav-tab-active”);var i=e.data(“acfe-flexible-category”);c.find(“a[data-layout] span[data-acfe-flexible-category]").each(function(){var a=l(this);a.closest(“li”).show();var e=a.data(“acfe-flexible-category”);"acfe-all"!==i&&(a.closest(“li”).hide(),l.each(e,function(e,t){if(i.toLowerCase()===t.toLowerCase())return a.closest(“li”).show(),!1}))})}),c.on(“click","a[data-layout]“,function(e){e.preventDefault(),acfe.closePopup(),a.add({layout:l(this).data(“layout”),before:i})})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleModal”)&&(e.$clones().length<=1||(e.removeEvents({’click [data-name="add-layout”]':"onClickAdd"}),e.addEvents({’click [data-name="add-layout”]':"acfeModalSelect"})))}))}(jQuery),function©{var e;"undefined"!=typeof acf&&((e=acf.getFieldType(“flexible_content”).prototype).addSortable=function(a){1!=this.get(“max”)&&this.$layoutsWrap().sortable({items:” > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger(“change”)}})},e.acfeOneClick=function(e,t){var a=this.$clones(),i=c(a[0]).data(“layout”),a=null;t.hasClass(“acf-icon”)&&(a=t.closest(“.layout”));this.add({layout:i,before:a});a=c(“.acf-fc-popup”);a.length&&a.hide()},e.acfeLayoutInit=function(t){var e,a,i=this,n=(t.find(“> .acf-fc-layout-controls”),t.find(“> .acf-fc-layout-handle”),t.find(“> .acfe-fc-placeholder”));n.removeClass(“acf-hidden”),i.has(“acfeFlexibleModalEdition”)||i.isLayoutClosed(t)||n.addClass(“acf-hidden”),i.isLayoutClosed(t)&&i.has(“acfeFlexiblePreview”)&&!n.hasClass("-loading”)&&(n.addClass(“acfe-fc-preview -loading”).find(“> .acfe-flexible-placeholder”).prepend(‘<span class="spinner"></span>’),n.find(“> .acfe-fc-overlay”).addClass("-hover”),e=t.children(“input”).attr(“name”).replace("[acf_fc_layout]“,"”),a={action:"acfe/flexible/layout_preview",field_key:i.get(“key”),i:t.index(),layout:t.data(“layout”),value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get(“name”),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get(“key”),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get(“name”)+"&layout="+t.data(“layout”),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get(“key”)+"&layout="+t.data(“layout”),i.$el,t,a),c.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?n.find(“> .acfe-flexible-placeholder”).html(e):n.removeClass(“acfe-fc-preview”),acf.doAction("acfe/fields/flexible_content/preview",e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+i.get(“name”),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i.get(“key”),e,i.$el,t,a),acf.doAction(“acfe/fields/flexible_content/preview/name="+i.get(“name”)+"&layout="+t.data(“layout”),e,i.$el,t,a),acf.doAction(“acfe/fields/flexible_content/preview/key="+i.get(“key”)+"&layout="+t.data(“layout”),e,i.$el,t,a)},complete:function(){n.find(“> .acfe-fc-overlay”).removeClass("-hover”),n.removeClass("-loading”).find(“> .acfe-flexible-placeholder > .spinner”).remove()}}))},acf.getFieldType(“wysiwyg”).prototype.initialize=function(){this.has(“id”)||this.$control().hasClass(“delay”)||this.initializeEditor()},acf.addAction("show_field/type=wysiwyg",e=function(e){var t;e.has(“id”)||!e.$el.is(“:visible”)||acfe.isFilterEnabled(“acfeForceOpen”)||(t=e.$control()).hasClass(“delay”)&&(t.removeClass(“delay”),t.find(“.acf-editor-toolbar”).remove(),e.initializeEditor())}),acf.addAction("ready_field/type=wysiwyg",e),acf.addAction(“new_field/type=flexible_content",function(a){var e=a.$clones(),t=a.$layouts();c.merge(t,e);t.each(function(){var e=c(this),t=e.data(“layout”);acf.doAction(“acfe/flexible/layouts",e,a),acf.doAction(“acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({’click [data-name="add-layout”]':"onClickAdd"}),a.addEvents({’click [data-name="add-layout”]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has(“acfeFlexibleAjax”)&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;c.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get(“key”),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){c(“body”).addClass("-loading”)},success:function(e){if(e){var t=c(e),a=acf.uniqid(),i="acf[“+o.get(“key”)+”][acfcloneindex]",e=o.$control().find(“> input[type=hidden]").attr(“name”)+”[“+a+”]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr(“data-id",a),o.$input().trigger(“change”),e}},complete:function(){c(“body”).removeClass("-loading”)}})})}),acf.addAction("acfe/flexible/layouts",function(e,t){t.isLayoutClosed(e)&&(e.find(“> .acfe-fc-placeholder”).removeClass(“acf-hidden”),t.has(“acfeFlexibleOpen”)&&(acfe.enableFilter(“acfeForceOpen”),t.openLayout(e),acfe.disableFilter(“acfeForceOpen”)))}),acf.addAction("show",function(e,t){"collapse"===t&&e.is(“.layout”)&&(acf.getInstance(e.closest(“.acf-field-flexible-content”)).has(“acfeFlexibleModalEdition”)||e.find(“> .acfe-fc-placeholder”).addClass(“acf-hidden”))}),acf.addAction("hide",function(e,t){"collapse"===t&&e.is(“.layout”)&&!e.is(“.acf-clone”)&&((t=acf.getInstance(e.closest(“.acf-field-flexible-content”))).has(“acfeFlexibleRemoveAjaxTitle”)&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))}),acf.addAction(“append",function(e){var t;e.is(“.layout”)&&(t=acf.getInstance(e.closest(“.acf-field-flexible-content”)),e.is(“.acfe-layout-duplicated”)||(t.has(“acfeFlexibleModalEdition”)?e.find('> [data-action="acfe-flexible-modal-edit”]:first’).trigger(“click”):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(“.acfe-modal.-open”)).length?t.find(“> .acfe-modal-wrapper > .acfe-modal-content”).animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get(“acf_version”),"<","5.9")&&e.hasClass("-focused")||c(“html, body”).animate({scrollTop:parseInt(e.offset().top)-200},200))}),acf.addAction(“invalid_field",function(e){e.$el.parents(“.layout”).addClass(“acfe-flexible-modal-edit-error”)}),acf.addAction(“valid_field",function(e){e.$el.parents(“.layout”).each(function(){var e=c(this);e.find(“.acf-error”).length||e.removeClass(“acfe-flexible-modal-edit-error”)})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:!1,type:"group",events:{’click [data-name="edit”]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has(“acfeGroupModal”)&&(e=this.get(“acfeGroupModalButton”),this.$el.find(“> .acf-input > .acf-fields, > .acf-input > .acf-table”).wrapAll(‘<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>’),this.$el.find(“> .acf-input”).append('<a data-name="edit” class="acf-button button" href="#">’+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find(“label”).text().trim(),i=this.$el.find(“> .acf-input > .acfe-modal”).addClass(“acfe-modal-edit-“+this.get(“name”)+” acfe-modal-edit-“+this.get(“key”));a.length||(a=this.get(“acfeGroupModalButton”));var n=!1;this.has(“acfeGroupModalClose”)&&(n=acf.__(“Close”));var o="large";this.has(“acfeGroupModalSize”)&&(o=this.get(“acfeGroupModalSize”)),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit”]').remove()}}),acf.registerFieldType(e))}(jQuery),function(e){"undefined"!=typeof acf&&new acf.Model({actions:{"new_field/type=radio":"newField"},newField:function(a){a.has(“acfeLabels”)&&(e.each(a.get(“acfeLabels”),function(e,t){a.$control().find('input[type=radio][value="’+t+’”]').closest(“li”).addClass(“parent”).prepend(“<strong>"+e+"</strong>”)}),a.$control().hasClass(“acf-hl”)&&a.$control().find(“li.parent”).each(function(){e(this).nextUntil(“li.parent”).addBack().wrapAll(“<li><ul></ul></li>”)}))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(“.acfe-field-recaptcha”)},$input:function(){return this.$(‘input[type="hidden"]')},$selector:function(){return this.$control().find(“> div”)},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get(“version”)?this.renderV2(this):"v3"===this.get(“version”)&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get(“siteKey”),n=this.get(“theme”),o=this.get(“size”);this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError(“An error has occured”)},"expired-callback":function(){acf.val(a,"",!0),t.showError(“reCaptcha has expired”)}})},renderV3:function(){var t=this.$input(),e=this.get(“siteKey”);grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get(“version”)&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.getFieldType(“repeater”).prototype.acfeOnHover=function(){this.off(“mouseover”)},acf.addAction(“new_field/type=repeater",function(e){e.has(“acfeRepeaterLock”)&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has(“acfeRepeaterRemoveActions”)&&(e.$actions().remove(),e.$el.find(“thead:first > tr > th.acf-row-handle:last”).remove(),e.$rows().find(“> .acf-row-handle:last”).remove(),e.$control().find(“> .acfe-repeater-stylised-button”).remove()),e.has(“acfeRepeaterStylisedButton”)&&(e.$button().removeClass(“button-primary”),e.$actions().wrap('<div class="acfe-repeater-stylised-button” />’))})),function(o){"undefined"!=typeof acf&&(new acf.Model({actions:{select2_init:"selectInit"},filters:{select2_args:"selectArgs",select2_ajax_data:"selectAjax"},selectInit:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get(“type”),e,t,a,i,n),acf.doAction("select2_init/name="+i.get(“name”),e,t,a,i,n),acf.doAction("select2_init/key="+i.get(“key”),e,t,a,i,n)},selectArgs:function(e,t,a,i,n){return e=acf.applyFilters("select2_args/type="+i.get(“type”),e,t,a,i,n),e=acf.applyFilters("select2_args/name="+i.get(“name”),e,t,a,i,n),e=acf.applyFilters("select2_args/key="+i.get(“key”),e,t,a,i,n)},selectAjax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get(“type”),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get(“name”),e,t,a,i,n),e=(e=acf.applyFilters(“select2_ajax_data/key="+i.get(“key”),e,t,a,i,n)).action?acf.applyFilters(“select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({actions:{"new_field/type=select":"selectNew",select2_init:"selectInit"},filters:{select2_args:"selectArgs"},selectNew:function(e){e.inherit(e.$input()),!e.get(“ui”)&&e.get(“allow_null”)&&e.$input().find(“option”).each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has(“acfePrepend”)||e.has(“acfeAppend”))&&(e.$input().parent(“.acf-input-wrap”).length||(e.$input().wrapAll(‘<div class="acf-input-wrap"></div>’),e.get(“ui”)&&e.$(“.acf-input-wrap:first”).append(e.$(“.select2”)),e.has(“acfePrepend”)&&(e.$(“.acf-input-wrap:first”).before('<div class="acf-input-prepend">’+e.get(“acfePrepend”)+"</div>”),e.$input().addClass(“acf-is-prepended”)),e.has(“acfeAppend”)&&(e.$(“.acf-input-wrap:first”).before('<div class="acf-input-append">’+e.get(“acfeAppend”)+"</div>”),e.$input().addClass(“acf-is-appended”))))},selectInit:function(e,t,a,i,n){e.data(“select2”)&&e.data(“select2”).$dropdown.addClass(“select2-dropdown-acf”).addClass(“select2-dropdown-acf-field-“+i.get(“name”)).addClass(“select2-dropdown-acf-field-“+i.get(“key”)),i.get(“multiple”)||i.get(“acfeSearchPlaceholder”)&&e.on(“select2:open",function(e){o(“.select2-search.select2-search–dropdown > .select2-search__field”).attr(“placeholder",i.get(“acfeSearchPlaceholder”))})},selectArgs:function(e,t,a,i,n){return i.get(“acfeAllowCustom”)&&(e.tags=!0,e.createTag=function(e){var t=o.trim(e.term);if(“"===t)return null;var a=!1;return this.$element.find(“option”).each(function(){if(this.value.toLowerCase()===t.toLowerCase())return!(a=!0)}),a?null:{id:t,text:t}},e.insertTag=function(e,t){var a=!1;o.each(e,function(){if(o.trim(t.text).toUpperCase()===o.trim(this.text).toUpperCase())return!(a=!0)}),a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,”-").replace(/[^\w\-]+/g,"”).replace(/\-\-+/g,”-").replace(/\_\_+/g,"_”).replace(/^-+/,"”))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"”).replace(/_+$/,"”))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has(“noPreference”)&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get(“key”),!t.length||(n=acf.getPreference(“this.tabs”))&&(a.each(t,function(e,t){var a=t.get(“index”);t.data.key===i&&(n[a]=0)}),acf.setPreference(“this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has(“acfeTextareaCode”)&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find(“textarea”)[0],i=a.selectionStart,this.$el.find(“textarea”).val(function(e,t){return t.substring(0,i)+” “+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.registerConditionForFieldType(“contains","checkbox”),acf.registerConditionForFieldType(“contains","radio”),acf.registerConditionForFieldType(“equalTo","acfe_code_editor”),acf.registerConditionForFieldType(“notEqualTo","acfe_code_editor”),acf.registerConditionForFieldType(“patternMatch","acfe_code_editor”),acf.registerConditionForFieldType(“contains","acfe_code_editor”),acf.registerConditionForFieldType(“hasValue","acfe_code_editor”),acf.registerConditionForFieldType(“hasNoValue","acfe_code_editor”),acf.registerConditionForFieldType(“equalTo","date_picker”),acf.registerConditionForFieldType(“notEqualTo","date_picker”),acf.registerConditionForFieldType(“patternMatch","date_picker”),acf.registerConditionForFieldType(“contains","date_picker”),acf.registerConditionForFieldType(“greaterThan","date_picker”),acf.registerConditionForFieldType(“lessThan","date_picker”),acf.registerConditionForFieldType(“equalTo","date_time_picker”),acf.registerConditionForFieldType(“notEqualTo","date_time_picker”),acf.registerConditionForFieldType(“patternMatch","date_time_picker”),acf.registerConditionForFieldType(“contains","date_time_picker”),acf.registerConditionForFieldType(“equalTo","acfe_forms”),acf.registerConditionForFieldType(“notEqualTo","acfe_forms”),acf.registerConditionForFieldType(“patternMatch","acfe_forms”),acf.registerConditionForFieldType(“contains","acfe_forms”),acf.registerConditionForFieldType(“hasValue","acfe_forms”),acf.registerConditionForFieldType(“hasNoValue","acfe_forms”),acf.registerConditionForFieldType(“equalTo","acfe_hidden”),acf.registerConditionForFieldType(“notEqualTo","acfe_hidden”),acf.registerConditionForFieldType(“patternMatch","acfe_hidden”),acf.registerConditionForFieldType(“contains","acfe_hidden”),acf.registerConditionForFieldType(“hasValue","acfe_hidden”),acf.registerConditionForFieldType(“hasNoValue","acfe_hidden”),acf.registerConditionForFieldType(“equalTo","acfe_post_statuses”),acf.registerConditionForFieldType(“notEqualTo","acfe_post_statuses”),acf.registerConditionForFieldType(“patternMatch","acfe_post_statuses”),acf.registerConditionForFieldType(“contains","acfe_post_statuses”),acf.registerConditionForFieldType(“hasValue","acfe_post_statuses”),acf.registerConditionForFieldType(“hasNoValue","acfe_post_statuses”),acf.registerConditionForFieldType(“equalTo","acfe_post_types”),acf.registerConditionForFieldType(“notEqualTo","acfe_post_types”),acf.registerConditionForFieldType(“patternMatch","acfe_post_types”),acf.registerConditionForFieldType(“contains","acfe_post_types”),acf.registerConditionForFieldType(“hasValue","acfe_post_types”),acf.registerConditionForFieldType(“hasNoValue","acfe_post_types”),acf.registerConditionForFieldType(“equalTo","acfe_slug”),acf.registerConditionForFieldType(“notEqualTo","acfe_slug”),acf.registerConditionForFieldType(“patternMatch","acfe_slug”),acf.registerConditionForFieldType(“contains","acfe_slug”),acf.registerConditionForFieldType(“hasValue","acfe_slug”),acf.registerConditionForFieldType(“hasNoValue","acfe_slug”),acf.registerConditionForFieldType(“equalTo","acfe_taxonomies”),acf.registerConditionForFieldType(“notEqualTo","acfe_taxonomies”),acf.registerConditionForFieldType(“patternMatch","acfe_taxonomies”),acf.registerConditionForFieldType(“contains","acfe_taxonomies”),acf.registerConditionForFieldType(“hasValue","acfe_taxonomies”),acf.registerConditionForFieldType(“hasNoValue","acfe_taxonomies”),acf.registerConditionForFieldType(“equalTo","taxonomy”),acf.registerConditionForFieldType(“notEqualTo","taxonomy”),acf.registerConditionForFieldType(“patternMatch","taxonomy”),acf.registerConditionForFieldType(“contains","taxonomy”),acf.registerConditionForFieldType(“hasValue","taxonomy”),acf.registerConditionForFieldType(“hasNoValue","taxonomy”),acf.registerConditionForFieldType(“equalTo","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“notEqualTo","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“patternMatch","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“contains","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“hasValue","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“hasNoValue","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“equalTo","time_picker”),acf.registerConditionForFieldType(“notEqualTo","time_picker”),acf.registerConditionForFieldType(“patternMatch","time_picker”),acf.registerConditionForFieldType(“contains","time_picker”),acf.registerConditionForFieldType(“equalTo","acfe_user_roles”),acf.registerConditionForFieldType(“notEqualTo","acfe_user_roles”),acf.registerConditionForFieldType(“patternMatch","acfe_user_roles”),acf.registerConditionForFieldType(“contains","acfe_user_roles”),acf.registerConditionForFieldType(“hasValue","acfe_user_roles”),acf.registerConditionForFieldType(“hasNoValue","acfe_user_roles”)),function(i){"undefined"!=typeof acf&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has(“instructionTooltip”)&&this.setTooltip(),e.has(“instructionAboveField”)&&this.setAboveField(),e.has(“instructionPlacement”)&&this.overridePlacement(e.get(“instructionPlacement”))},setTooltip:function(){this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info” title="’+_.escape(this.field.get(“instructionTooltip”))+’"></span>’),this.field.$labelWrap().find(“.description”).remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">’+this.field.get(“instructionAboveField”)+"</p>"),this.field.$labelWrap().find(“.description”).remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(“>.description”).length?e="label":this.field.$inputWrap().find(“>.description:first-child”).length?e="above_field":this.field.$inputWrap().find(“>.description:last-child”).length?e="field":this.field.$labelWrap().find(“>.acfe-field-tooltip”).length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(“>.description”):"above_field"===e?this.field.$inputWrap().find(“>.description:first-child”):"field"===e?this.field.$inputWrap().find(“>.description:last-child”):"tooltip"===e&&this.field.$labelWrap().find(“>.acfe-field-tooltip”)},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr(“title”),a.remove(),a=i('<p class="description">’+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(this.field.$labelWrap().prepend(i(‘<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="’+_.escape(a.html())+’"></span>’)),a.remove())}})}(jQuery),jQuery,function©{"undefined"!=typeof acf&&(new acf.Model({actions:{prepare:"prepare","new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},prepare:function(){var e;acfe.get(“is_admin”)||(acf.isset(window,"wp","media","view","settings","post")&&(wp.media.view.settings.post=!1),c('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable(),(e=c(“.acfe-form-success”)).length&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),e.each(function(){var e=c(this).data(“form-name”),t=c(this).data(“form-id”);acf.doAction(“acfe/form/submit/success”),acf.doAction(“acfe/form/submit/success/id="+t),acf.doAction(“acfe/form/submit/success/name="+e)})),c('.acf-form .button, .acf-form [type="submit”], .acfe-form .button, .acfe-form [type="submit”]').click(function(e){c(this).hasClass(“disabled”)&&e.preventDefault()}))},datePicker:function(e){var t;acfe.get(“is_admin”)||(!(t=e.$el.closest(“.acfe-form”)).length||(t=t.data(“fields-class”))&&e.$inputText().addClass(t))},googleMap:function(e){var t;acfe.get(“is_admin”)||(!(t=e.$el.closest(“.acfe-form”)).length||(t=t.data(“fields-class”))&&e.$search().addClass(t))},invalidField:function(e){var t,a,i,n,o;acfe.get(“is_admin”)||(t=e.$el.closest(“.acfe-form”)).length&&(a=t.data(“errors-position”),(o=t.data(“errors-class”))&&o.length&&e.$el.find(“.acf-notice.-error”).addClass(o),a&&"below"===a?(e.$control().length?e.$el.find(“.acf-notice.-error”).insertAfter(e.$control()):e.$input().length&&e.$el.find(“.acf-notice.-error”).insertAfter(e.$input()),n=!1,e.$control().length?n=e.$control():e.$input().length&&(n=e.$input()),n&&e.$el.find(“.acf-notice.-error”).insertAfter(n)):a&&"group"===a?(i=e.$el.find(“.acf-label label”).text().trim(),o=e.$el.find(‘.acf-input-wrap [placeholder!=""]').attr(“placeholder”),n=e.$el.find(“.acf-notice.-error”).text().trim(),e.$el.find(“.acf-notice.-error”).remove(),n=i&&i.length&&"*"!==i?i+": "+n:o&&o.length&&""!==o?o+": "+n:e.get(“name”)+": “+n,(o=!(o=t.find(“> .acfe-form-error”)).length?c('<div class="acf-notice -error acf-error-message acfe-form-error” />’).prependTo(t):o).append(“<p>"+n+"</p>”)):a&&"hide"===a&&e.$el.find(“.acf-notice.-error”).remove())},validationBegin:function(e){acfe.get(“is_admin”)||void 0!==e&&e.find(“.acf-error-message”).remove()}}),acf.newCondition=function(e,t){var a=t.get(“field”),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get(“type”),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);

1!function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_advanced_link",events:{’click a[data-name="add"]‘:"onClickEdit",’click a[data-name="edit"]‘:"onClickEdit",’click a[data-name="remove"]‘:"onClickRemove"},$control:function(){return this.$(“.acf-link”)},initialize:function(){},getValue:function(){var e={type:this.$(“.input-type :checked”).val(),title:this.$(“.input-title”).val(),url:this.$(“.input-url”).val(),post:this.$(“.input-post :selected”).text(),term:this.$(“.input-term :selected”).text(),target:this.$(“.input-target”).is(“:checked”)};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),e.url&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(“.link-title”).html(e.title),this.$(“.link-url”).attr("href",e.url).html(e.url),e.remove&&(this.$(“.input-type :checked”).prop(“checked",!1),this.$('.input-type [value="url”]').prop("checked",!0).trigger(“change”),this.$(“.input-title”).val(“”),this.$(“.input-target”).prop("checked",!1),this.$(“.input-url”).val(“”).trigger(“change”),this.$(“.input-post”).val(“”).trigger(“change”),this.$(“.input-term”).val(“”).trigger(“change”))},onClickEdit:function(e,t){var a=t.closest(“.acf-input”).find(“.acfe-modal”),t=a.attr(“data-modal-title”),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__(“Close”),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(“.acf-field-acfe-advanced-link”).not(“.acf-error”);t.length&&acf.getInstance(t).showError(e.notice.get(“text”))},ajaxField:function(e,t,a,i,n){if(“post"!==i.get(“key”))return e;a=acf.getInstance(a.closest(“.acf-field-acfe-advanced-link”));return a&&(e.field_key=a.get(“key”)),e}}))}(jQuery),function(i){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$(“input”).length?this.$(“input”):this.$(“button”).length?this.$(“button”):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get(“ajax”)&&(e.preventDefault(),a={action:"acfe/fields/button",field_key:this.get(“key”),acf:acf.serialize(this.$el.closest(“form”),"acf”)},a=acf.applyFilters("acfe/fields/button/data",a,this.$el),a=acf.applyFilters("acfe/fields/button/data/name="+this.get(“name”),a,this.$el),a=acf.applyFilters(“acfe/fields/button/data/key="+this.get(“key”),a,this.$el),acf.doAction(“acfe/fields/button/before_ajax",this.$el,a),acf.doAction(“acfe/fields/button/before",this.$el,a),acf.doAction(“acfe/fields/button/before/name="+this.get(“name”),this.$el,a),acf.doAction(“acfe/fields/button/before/key="+this.get(“key”),this.$el,a),i.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction(“acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction(“acfe/fields/button/success",e,this.$el,a),acf.doAction(“acfe/fields/button/success/name="+this.get(“name”),e,this.$el,a),acf.doAction(“acfe/fields/button/success/key="+this.get(“key”),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction(“acfe/fields/button/complete",e,this.$el,a),acf.doAction(“acfe/fields/button/complete/name="+this.get(“name”),e,this.$el,a),acf.doAction(“acfe/fields/button/complete/key="+this.get(“key”),e,this.$el,a)}}))}}),acf.registerFieldType(e))}(jQuery),function(e){"undefined"!=typeof acf&&new acf.Model({actions:{"new_field/type=checkbox":"newField"},newField:function(a){a.has(“acfeLabels”)&&e.each(a.get(“acfeLabels”),function(e,t){a.$control().find('input[type=checkbox][value="’+t+’”]').closest(“ul”).before(“<strong>"+e+"</strong>”)})}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:!1,type:"clone",events:{’click [data-name="edit”]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has(“acfeCloneModal”)&&(e=this.get(“acfeCloneModalButton”),this.$el.find(“> .acf-input > .acf-fields, > .acf-input > .acf-table”).wrapAll(‘<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>’),this.$el.find(“> .acf-input”).append('<a data-name="edit” class="acf-button button” href="#">’+e+"</a>”))},onClick:function(e,t){var a=this.$labelWrap().find(“label”).text().trim(),i=this.$el.find(“> .acf-input > .acfe-modal”).addClass(“acfe-modal-edit-“+this.get(“name”)+” acfe-modal-edit-“+this.get(“key”));a.length||(a=this.get(“acfeCloneModalButton”));var n=!1;this.has(“acfeCloneModalClose”)&&(n=acf.__(“Close”));var o="large";this.has(“acfeCloneModalSize”)&&(o=this.get(“acfeCloneModalSize”)),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit”]').remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:"ready",type:"acfe_code_editor",events:{showField:"onShow",duplicateField:"onDuplicate"},$control:function(){return this.$el.find(“> .acf-input > .acf-input-wrap”)},$input:function(){return this.$el.find(“> .acf-input > .acf-input-wrap > textarea”)},input:function(){return this.$input()[0]},rows:function(){return this.$input().attr(“rows”)},initialize:function(){this.rows=this.$control().data(“rows”),this.max_rows=this.$control().data(“max-rows”),this.mode=this.$control().data(“mode”),this.lines=this.$control().data(“lines”),this.indentUnit=this.$control().data(“indent-unit”);var e=[],t=wp.codeEditor.defaultSettings.codemirror,a={lineNumbers:this.lines,lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.indentUnit,tabSize:1,indentWithTabs:!1,mode:this.mode,extraKeys:{Tab:function(e){e.execCommand(“indentMore”)},"Shift-Tab":function(e){e.execCommand(“indentLess”)}}},a=jQuery.extend(t,a);e.codemirror=a,this.editor=wp.codeEditor.initialize(this.input(),e),(this.rows||this.max_rows)&&(this.rows&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.rows+"px”),this.max_rows&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.max_rows+"px”),this.editor.codemirror.refresh()),(field=this).editor.codemirror.on(“change",function(){field.editor.codemirror.save(),field.$input().change()})},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()},onDuplicate:function(e,t,a){a.find(“.CodeMirror:last”).remove()}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(“.acf-fields:first”)},initialize:function(){if(this.$el.is(“td”)&&(this.$el.closest(“.acf-table”).find('th[data-type="acfe_column”]').remove(),this.remove()),this.get(“endpoint”))return this.$el.find(“> .acf-label”).remove(),void this.$el.find(“> .acf-input”).remove();var e=this.$el,t=this.$el.find(“> .acf-label”),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass(“acfe-column-wrapper”),a.addClass(t.hasClass("-left”)?”-left":"”),a.addClass(t.hasClass("-clear”)?”-clear":"”),a.append(e.nextUntil(“.acf-field-acfe-column",".acf-field”))}}),acf.registerFieldType(e))}(jQuery),function®{var n;"undefined"!=typeof acf&&((n=acf.getFieldType(“flexible_content”).prototype).events[“click .acf-fc-layout-handle”]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has(“acfeFlexibleTitleEdition”)||(t=t.closest(“.layout”)).hasClass(“acfe-flexible-title-edition”)&&t.find(“> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title”).trigger(“blur”)},n.events[“click .acfe-layout-title-text”]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has(“acfeFlexibleTitleEdition”)&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events[“blur input.acfe-flexible-control-title”]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(“.layout”),n=i.find(“> .acf-fc-layout-handle”),t=n.find(“.acfe-layout-title”);i.hasClass(“acfe-flexible-title-edition”)?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr(“placeholder”)).trigger(“input”),i.removeClass(“acfe-flexible-title-edition”),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass(“acfe-flexible-title-edition”),a.focus().attr("size",a.val().length))},n.events[“click input.acfe-flexible-control-title”]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(“.layout”).find(“> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text”),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events[“click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(“.layout”),n=i.find(“> .acfe-modal.-settings”),o=i.find(“> .acf-fc-layout-handle”),t=o.find(“> .acf-fc-layout-order”).outerHTML(),o=o.find(“.acfe-layout-title-text”).text();new acfe.Popup(n,{title:t+” "+o,footer:acf.__(“Close”),onClose:function(){a.has(“acfeFlexiblePreview”)&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(“.layout”),t=a.find(“> .acfe-flexible-layout-toggle”);t.length&&("1"===t.val()?(a.removeClass(“acfe-flexible-layout-hidden”),t.val(“”)):(a.addClass(“acfe-flexible-layout-hidden”),t.val(“1”)))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has(“acfeFlexibleToggle”)||(t=e.find(“> .acfe-flexible-layout-toggle”)).length&&("1"===t.val()?e.addClass(“acfe-flexible-layout-hidden”):e.removeClass(“acfe-flexible-layout-hidden”))}),n.events[“click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(“.layout”),o=n.data(“layout”),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="’+o+’”]'),c=(c.data(“min”),c.data(“max”)||0),o=(a=o,l.filter(function(){return r(this).data(“layout”)===a}).length);if(c&&c<=o)return t.addClass(“disabled”),!1;t.removeClass(“disabled”),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(“.acf-flexible-content”).find(“> input[type=hidden]").attr(“name”),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events[“click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(“.layout”).clone(),t=this.$control().find(“> input[type=hidden]").attr(“name”);this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text” style="clip:rect(0,0,0,0);clip-path:none;position:absolute;” value="” />’).appendTo(r(“body”));a.attr(“value",t).select(),document.execCommand(“copy”)?alert(“Layout has been transferred to your clipboard”):prompt(“Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find(“> input[type=hidden]").attr(“name”);e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text” style="clip:rect(0,0,0,0);clip-path:none;position:absolute;” value="” />’).appendTo(e.$el);e.attr(“value",t).select(),document.execCommand(“copy”)?alert(“Layouts have been transferred to your clipboard”):prompt(“Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt(“Paste layouts data in the following field”);if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,a=r(t.layouts).closest("[data-layout]");if(!a.length)return alert(“No layouts data available”);var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(a.each(function(){var e,t=r(this),a=t.data(“layout”),i=o.find('[data-layout="’+a+’”]'),i=(i.data(“min”),i.data(“max”)||0),a=(e=a,c.filter(function(){return r(this).data(“layout”)===e}).length);i&&i<=a||n.$clone(t.attr(“data-layout”)).length&&l.push(t)}),!l.length)return alert(“No layouts could be pasted”);r.each(l,function(){var e=r(this),t=i+”[“+e.attr(“data-id”)+”]“,a=n.$control().find(“> input[type=hidden]").attr(“name”);n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert(“Invalid data”)}},n.events['click [data-name="acfe-flexible-control-button”]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(“.tmpl-acfe-flexible-control-popup”).html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get(“text”)),this.$el.addClass(“acf-fc-popup”)}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr(“data-acfe-flexible-control-action”)?a.acfePasteLayouts():"copy"===t.attr(“data-acfe-flexible-control-action”)&&a.acfeCopyLayouts()}}).on(“click","a","onConfirm”)},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+”[“+a.layout.attr(“data-id”)+”]"),a.replace=a.parent+"[“+i+”]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass(“acfe-layout-duplicated”),t.attr(“data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=acfe.versionCompare(acf.get(“acf_version”),"<","5.9”)?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger(“change”);t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass(“acf-hidden”)&&this.tab.$el.addClass(“acf-hidden”)}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr(“data-id”),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass(“acf-clone”),a.find(“.ui-sortable”).removeClass(“ui-sortable”),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find(“input”).each(function(){r(this).attr("value",this.value)}),e.find(“textarea”).each(function(){r(this).html(this.value)}),e.find(“input:radio,input:checkbox”).each(function(){this.checked?r(this).attr(“checked","checked”):r(this).attr(“checked",!1)}),e.find(“option”).each(function(){this.selected?r(this).attr(“selected","selected”):r(this).attr(“selected",!1)})},n.acfeCleanLayouts=function(e){e.find(“.acf-editor-wrap”).each(function(){var e=r(this);e.find(“.wp-editor-container div”).remove(),e.find(“.wp-editor-container textarea”).css(“display","”)}),e.find(“.acf-date-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acf-time-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acf-date-time-picker”).each(function(){r(this).find(“input.input”).removeClass(“hasDatepicker”).removeAttr(“id”)}),e.find(“.acfe-field-code-editor”).each(function(){r(this).find(“.CodeMirror”).remove()}),e.find(“.acf-color-picker”).each(function(){var e=r(this),t=e.find(“> input”),a=e.find(“.wp-picker-container input.wp-color-picker”).clone();t.after(a),e.find(“.wp-picker-container”).remove()}),e.find(“.acf-field-post-object”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-page-link”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-select”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”).removeClass()}),e.find(“.acf-field-font-awesome”).each(function(){var e=r(this);e.find(“> .acf-input span”).remove(),e.find(“> .acf-input select”).removeAttr(“tabindex aria-hidden”)}),e.find(“.acf-tab-wrap”).each(function(){var e=r(this),t=e.closest(“.acf-fields”),a=[];r.each(e.find(“li a”),function(){a.push(r(this))}),t.find(“> .acf-field-tab”).each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr(“data-key”)===$current_tab.attr(“data-key”)&&$current_tab.find(“> .acf-input”).append(e)})}),e.remove()}),e.find(“.acf-field-accordion”).each(function(){var e=r(this);e.find(“> .acf-accordion-title > .acf-accordion-icon”).remove(),e.after('<div class="acf-field acf-field-accordion” data-type="accordion"><div class="acf-input"><div class="acf-fields” data-endpoint="1"></div></div></div>’)})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleLock”)&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(){var e;"undefined"!=typeof acf&&((e=acf.getFieldType(“flexible_content”).prototype).events['click [data-action="acfe-flexible-modal-edit”]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(“.layout”),n=i.find(“> .acfe-modal.-fields”).addClass(“acfe-modal-edit-“+a.get(“name”)+” acfe-modal-edit-“+a.get(“key”)).addClass(“acfe-modal-edit-“+i.data(“layout”)),o=i.find(“> .acf-fc-layout-handle”),c=o.find(“> .acf-fc-layout-order”).outerHTML(),t=acfe.getTextNode(o.find(“.acfe-layout-title-text”)),o=!1;a.has(“acfeFlexibleCloseButton”)&&(o=acf.__(“Close”)),new acfe.Popup(n,{title:c+” “+t,footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleModalEdition”)&&(e.has(“acfeFlexiblePlaceholder”)||e.has(“acfeFlexiblePreview”))&&(e.removeEvents({’click [data-name="collapse-layout”]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(l){"undefined"!=typeof acf&&(acf.getFieldType(“flexible_content”).prototype.acfeModalSelect=function(e,t){var a=this;if(!a.validateAdd())return!1;var i=null;t.hasClass(“acf-icon”)&&(i=t.closest(“.layout”));var n=a.getPopupHTML(),o={array:[],html:""};l(n).find(“li a span[data-acfe-flexible-category]").each(function(){var e=l(this).data(“acfe-flexible-category”);l.each(e,function(){-1===function(e,t){for(var a=t.length,i=e.toString().toLowerCase(),n=0;n<a;n++)if(t[n].toLowerCase()===i)return n;return-1}(this,o.array)&&o.array.push(this)})}),o.array.length&&(o.array.sort(),o.html+=’<h2 class="acfe-flexible-categories nav-tab-wrapper">’,o.html+=’<a href="#” data-acfe-flexible-category="acfe-all” class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>’,l(o.array).each(function(e,t){o.html+=’<a href="#” data-acfe-flexible-category="’+t+’” class="nav-tab">’+t+"</a>"}),o.html+="</h2>”);t=acf.__(“Add Row”);a.has(“acfeFlexibleModalTitle”)&&(t=a.get(“acfeFlexibleModalTitle”));var c=l('<div class="acfe-modal acfe-modal-select-‘+a.get(“name”)+" acfe-modal-select-“+a.get(“key”)+’">’+o.html+’<div class="acfe-flex-container">’+n+"</div></div>”).appendTo(“body”);new acfe.Popup(c,{title:t,size:a.get(“acfeFlexibleModalSize”),destroy:!0}),a.has(“acfeFlexibleModalCol”)&&c.find(“.acfe-modal-content .acfe-flex-container”).addClass("acfe-col-“+a.get(“acfeFlexibleModalCol”)),a.has(“acfeFlexibleThumbnails”)&&c.find(“.acfe-modal-content .acfe-flex-container”).addClass(“acfe-flex-thumbnails”),c.find(“li:first-of-type a”).blur(),c.find(“li a span.badge”).each(function(){l(this).addClass(“acf-js-tooltip dashicons dashicons-info”)}),c.find(“.acfe-flexible-categories a”).click(function(e){e.preventDefault();e=l(this);e.closest(“.acfe-flexible-categories”).find(“a”).removeClass(“nav-tab-active”),e.addClass(“nav-tab-active”);var i=e.data(“acfe-flexible-category”);c.find(“a[data-layout] span[data-acfe-flexible-category]").each(function(){var a=l(this);a.closest(“li”).show();var e=a.data(“acfe-flexible-category”);"acfe-all"!==i&&(a.closest(“li”).hide(),l.each(e,function(e,t){if(i.toLowerCase()===t.toLowerCase())return a.closest(“li”).show(),!1}))})}),c.on(“click","a[data-layout]“,function(e){e.preventDefault(),acfe.closePopup(),a.add({layout:l(this).data(“layout”),before:i})})},acf.addAction(“new_field/type=flexible_content",function(e){e.has(“acfeFlexibleModal”)&&(e.$clones().length<=1||(e.removeEvents({’click [data-name="add-layout”]':"onClickAdd"}),e.addEvents({’click [data-name="add-layout”]':"acfeModalSelect"})))}))}(jQuery),function(f){var e;"undefined"!=typeof acf&&(e=acf.models.FlexibleContentField,acf.models.FlexibleContentField=e.extend({addSortable:function(a){1!=this.get(“max”)&&this.$layoutsWrap().sortable({items:” > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger(“change”)}})},acfeOneClick:function(e,t){var a=this.$clones(),i=f(a[0]).data(“layout”),a=null;t.hasClass(“acf-icon”)&&(a=t.closest(“.layout”)),this.add({layout:i,before:a});a=f(“.acf-fc-popup”);a.length&&a.hide()},acfeLayoutInit:function(t){var e,a,i=this.get(“key”),n=this.get(“name”),o=this.$el,c=t.data(“layout”),l=t.index(),r=t.find(“> .acfe-fc-placeholder”);r.removeClass(“acf-hidden”),this.has(“acfeFlexibleModalEdition”)||this.isLayoutClosed(t)||r.addClass(“acf-hidden”),this.isLayoutClosed(t)&&this.has(“acfeFlexiblePreview”)&&!r.hasClass("-loading”)&&(r.addClass(“acfe-fc-preview -loading”).find(“> .acfe-flexible-placeholder”).prepend(‘<span class="spinner"></span>’),r.find(“> .acfe-fc-overlay”).addClass("-hover”),e=t.children(“input”).attr(“name”).replace("[acf_fc_layout]“,"”),a={action:"acfe/flexible/layout_preview",field_key:i,i:l,layout:c,value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+n+"&layout="+c,o,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i+"&layout="+c,o,t,a),f.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?r.find(“> .acfe-flexible-placeholder”).html(e):r.removeClass(“acfe-fc-preview”),acf.doAction("acfe/fields/flexible_content/preview",e,o,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+n,e,o,t,a),acf.doAction(“acfe/fields/flexible_content/preview/key="+i,e,o,t,a),acf.doAction(“acfe/fields/flexible_content/preview/name="+n+"&layout="+c,e,o,t,a),acf.doAction(“acfe/fields/flexible_content/preview/key="+i+"&layout="+c,e,o,t,a)},complete:function(){r.find(“> .acfe-fc-overlay”).removeClass("-hover”),r.removeClass("-loading”).find(“> .acfe-flexible-placeholder > .spinner”).remove()}}))}}),new acf.Model({actions:{"new_field/type=flexible_content":"newField","acfe/flexible/layouts":"newLayouts",show:"onShow",hide:"onHide",append:"onAppend",invalid_field:"onInvalidField",valid_field:"onValidField"},newField:function(a){var e=a.$clones();a.$layouts().each(function(){var e=f(this),t=e.data(“layout”);acf.doAction(“acfe/flexible/layouts",e,a),acf.doAction(“acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({’click [data-name="add-layout”]':"onClickAdd"}),a.addEvents({’click [data-name="add-layout”]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has(“acfeFlexibleAjax”)&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;f.ajax({url:acf.get(“ajaxurl”),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get(“key”),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){f(“body”).addClass("-loading”)},success:function(e){if(e){var t=f(e),a=acf.uniqid(),i="acf[“+o.get(“key”)+”][acfcloneindex]",e=o.$control().find(“> input[type=hidden]").attr(“name”)+”[“+a+”]“,e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr(“data-id",a),o.$input().trigger(“change”),e}},complete:function(){f(“body”).removeClass("-loading”)}})})},newLayouts:function(e,t){t.isLayoutClosed(e)&&(e.find(“> .acfe-fc-placeholder”).removeClass(“acf-hidden”),t.has(“acfeFlexibleOpen”)&&(acfe.enableFilter(“acfeFlexibleOpen”),t.openLayout(e),acfe.disableFilter(“acfeFlexibleOpen”)))},onShow:function(e,t){"collapse"===t&&e.is(“.layout”)&&(acf.getInstance(e.closest(“.acf-field-flexible-content”)).has(“acfeFlexibleModalEdition”)||e.find(“> .acfe-fc-placeholder”).addClass(“acf-hidden”))},onHide:function(e,t){"collapse"===t&&e.is(“.layout”)&&!e.is(“.acf-clone”)&&((t=acf.getInstance(e.closest(“.acf-field-flexible-content”))).has(“acfeFlexibleRemoveAjaxTitle”)&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))},onAppend:function(e){var t;e.is(“.layout”)&&(t=acf.getInstance(e.closest(“.acf-field-flexible-content”)),e.is(“.acfe-layout-duplicated”)||(t.has(“acfeFlexibleModalEdition”)?e.find('> [data-action="acfe-flexible-modal-edit”]:first’).trigger(“click”):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(“.acfe-modal.-open”)).length?t.find(“> .acfe-modal-wrapper > .acfe-modal-content”).animate({scrollTop:parseInt(e.offset().top)-200},200):!acfe.versionCompare(acf.get(“acf_version”),"<","5.9")&&e.hasClass("-focused")||f(“html, body”).animate({scrollTop:parseInt(e.offset().top)-200},200))},onInvalidField:function(e){e.$el.parents(“.layout”).addClass(“acfe-flexible-modal-edit-error”)},onValidField:function(e){e.$el.parents(“.layout”).each(function(){var e=f(this);e.find(“.acf-error”).length||e.removeClass(“acfe-flexible-modal-edit-error”)})}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({wait:!1,type:"group",events:{’click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has(“acfeGroupModal”)&&(e=this.get(“acfeGroupModalButton”),this.$el.find(“> .acf-input > .acf-fields, > .acf-input > .acf-table”).wrapAll(‘<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>’),this.$el.find(“> .acf-input”).append(‘<a data-name="edit" class="acf-button button" href="#">’+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find(“label”).text().trim(),i=this.$el.find(“> .acf-input > .acfe-modal”).addClass(“acfe-modal-edit-“+this.get(“name”)+” acfe-modal-edit-“+this.get(“key”));a.length||(a=this.get(“acfeGroupModalButton”));var n=!1;this.has(“acfeGroupModalClose”)&&(n=acf.__(“Close”));var o="large";this.has(“acfeGroupModalSize”)&&(o=this.get(“acfeGroupModalSize”)),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit”]').remove()}}),acf.registerFieldType(e))}(jQuery),function(e){"undefined"!=typeof acf&&new acf.Model({actions:{"new_field/type=radio":"newField"},newField:function(a){a.has(“acfeLabels”)&&(e.each(a.get(“acfeLabels”),function(e,t){a.$control().find('input[type=radio][value="’+t+’”]').closest(“li”).addClass(“parent”).prepend(“<strong>"+e+"</strong>”)}),a.$control().hasClass(“acf-hl”)&&a.$control().find(“li.parent”).each(function(){e(this).nextUntil(“li.parent”).addBack().wrapAll(“<li><ul></ul></li>”)}))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(“.acfe-field-recaptcha”)},$input:function(){return this.$(‘input[type="hidden"]')},$selector:function(){return this.$control().find(“> div”)},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get(“version”)?this.renderV2(this):"v3"===this.get(“version”)&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get(“siteKey”),n=this.get(“theme”),o=this.get(“size”);this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError(“An error has occured”)},"expired-callback":function(){acf.val(a,"",!0),t.showError(“reCaptcha has expired”)}})},renderV3:function(){var t=this.$input(),e=this.get(“siteKey”);grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get(“version”)&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.getFieldType(“repeater”).prototype.acfeOnHover=function(){this.off(“mouseover”)},acf.addAction(“new_field/type=repeater",function(e){e.has(“acfeRepeaterLock”)&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has(“acfeRepeaterRemoveActions”)&&(e.$actions().remove(),e.$el.find(“thead:first > tr > th.acf-row-handle:last”).remove(),e.$rows().find(“> .acf-row-handle:last”).remove(),e.$control().find(“> .acfe-repeater-stylised-button”).remove()),e.has(“acfeRepeaterStylisedButton”)&&(e.$button().removeClass(“button-primary”),e.$actions().wrap('<div class="acfe-repeater-stylised-button” />’))})),function(o){"undefined"!=typeof acf&&(new acf.Model({actions:{select2_init:"selectInit"},filters:{select2_args:"selectArgs",select2_ajax_data:"selectAjax"},selectInit:function(e,t,a,i,n){acf.doAction("select2_init/type="+i.get(“type”),e,t,a,i,n),acf.doAction("select2_init/name="+i.get(“name”),e,t,a,i,n),acf.doAction("select2_init/key="+i.get(“key”),e,t,a,i,n)},selectArgs:function(e,t,a,i,n){return e=acf.applyFilters("select2_args/type="+i.get(“type”),e,t,a,i,n),e=acf.applyFilters("select2_args/name="+i.get(“name”),e,t,a,i,n),e=acf.applyFilters("select2_args/key="+i.get(“key”),e,t,a,i,n)},selectAjax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get(“type”),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get(“name”),e,t,a,i,n),e=(e=acf.applyFilters(“select2_ajax_data/key="+i.get(“key”),e,t,a,i,n)).action?acf.applyFilters(“select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({actions:{"new_field/type=select":"selectNew",select2_init:"selectInit"},filters:{select2_args:"selectArgs"},selectNew:function(e){e.inherit(e.$input()),!e.get(“ui”)&&e.get(“allow_null”)&&e.$input().find(“option”).each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has(“acfePrepend”)||e.has(“acfeAppend”))&&(e.$input().parent(“.acf-input-wrap”).length||(e.$input().wrapAll(‘<div class="acf-input-wrap"></div>’),e.get(“ui”)&&e.$(“.acf-input-wrap:first”).append(e.$(“.select2”)),e.has(“acfePrepend”)&&(e.$(“.acf-input-wrap:first”).before('<div class="acf-input-prepend">’+e.get(“acfePrepend”)+"</div>”),e.$input().addClass(“acf-is-prepended”)),e.has(“acfeAppend”)&&(e.$(“.acf-input-wrap:first”).before('<div class="acf-input-append">’+e.get(“acfeAppend”)+"</div>”),e.$input().addClass(“acf-is-appended”))))},selectInit:function(e,t,a,i,n){e.data(“select2”)&&e.data(“select2”).$dropdown.addClass(“select2-dropdown-acf”).addClass(“select2-dropdown-acf-field-“+i.get(“name”)).addClass(“select2-dropdown-acf-field-“+i.get(“key”)),i.get(“multiple”)||i.get(“acfeSearchPlaceholder”)&&e.on(“select2:open",function(e){o(“.select2-search.select2-search–dropdown > .select2-search__field”).attr(“placeholder",i.get(“acfeSearchPlaceholder”))})},selectArgs:function(e,t,a,i,n){return i.get(“acfeAllowCustom”)&&(e.tags=!0,e.createTag=function(e){var t=o.trim(e.term);if(“"===t)return null;var a=!1;return this.$element.find(“option”).each(function(){if(this.value.toLowerCase()===t.toLowerCase())return!(a=!0)}),a?null:{id:t,text:t}},e.insertTag=function(e,t){var a=!1;o.each(e,function(){if(o.trim(t.text).toUpperCase()===o.trim(this.text).toUpperCase())return!(a=!0)}),a||e.unshift(t)}),e}}))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,”-").replace(/[^\w\-]+/g,"”).replace(/\-\-+/g,”-").replace(/\_\_+/g,"_”).replace(/^-+/,"”))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"”).replace(/_+$/,"”))}}),acf.registerFieldType(e))}(jQuery),function(a){"undefined"!=typeof acf&&new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has(“noPreference”)&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get(“key”),!t.length||(n=acf.getPreference(“this.tabs”))&&(a.each(t,function(e,t){var a=t.get(“index”);t.data.key===i&&(n[a]=0)}),acf.setPreference(“this.tabs",n)))}})}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has(“acfeTextareaCode”)&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find(“textarea”)[0],i=a.selectionStart,this.$el.find(“textarea”).val(function(e,t){return t.substring(0,i)+” “+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e))}(jQuery),function(){var e;"undefined"!=typeof acf&&(e=acf.models.WysiwygField,acf.models.WysiwygField=e.extend({initialize:function(){this.has(“id”)||this.$control().hasClass(“delay”)||this.initializeEditor()}}),new acf.Model({actions:{"show_field/type=wysiwyg":"showField","ready_field/type=wysiwyg":"showField"},showField:function(e){e.has(“acfeWysiwygAutoInit”)&&e.$el.is(“:visible”)&&!e.has(“id”)&&!acfe.isFilterEnabled(“acfeFlexibleOpen”)&&this.initializeEditor(e)},initializeEditor:function(e){var t=e.$control();t.hasClass(“delay”)&&(t.removeClass(“delay”),t.find(“.acf-editor-toolbar”).remove(),e.initializeEditor())}}))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.registerConditionForFieldType(“contains","checkbox”),acf.registerConditionForFieldType(“contains","radio”),acf.registerConditionForFieldType(“equalTo","acfe_code_editor”),acf.registerConditionForFieldType(“notEqualTo","acfe_code_editor”),acf.registerConditionForFieldType(“patternMatch","acfe_code_editor”),acf.registerConditionForFieldType(“contains","acfe_code_editor”),acf.registerConditionForFieldType(“hasValue","acfe_code_editor”),acf.registerConditionForFieldType(“hasNoValue","acfe_code_editor”),acf.registerConditionForFieldType(“equalTo","date_picker”),acf.registerConditionForFieldType(“notEqualTo","date_picker”),acf.registerConditionForFieldType(“patternMatch","date_picker”),acf.registerConditionForFieldType(“contains","date_picker”),acf.registerConditionForFieldType(“greaterThan","date_picker”),acf.registerConditionForFieldType(“lessThan","date_picker”),acf.registerConditionForFieldType(“equalTo","date_time_picker”),acf.registerConditionForFieldType(“notEqualTo","date_time_picker”),acf.registerConditionForFieldType(“patternMatch","date_time_picker”),acf.registerConditionForFieldType(“contains","date_time_picker”),acf.registerConditionForFieldType(“equalTo","acfe_forms”),acf.registerConditionForFieldType(“notEqualTo","acfe_forms”),acf.registerConditionForFieldType(“patternMatch","acfe_forms”),acf.registerConditionForFieldType(“contains","acfe_forms”),acf.registerConditionForFieldType(“hasValue","acfe_forms”),acf.registerConditionForFieldType(“hasNoValue","acfe_forms”),acf.registerConditionForFieldType(“equalTo","acfe_hidden”),acf.registerConditionForFieldType(“notEqualTo","acfe_hidden”),acf.registerConditionForFieldType(“patternMatch","acfe_hidden”),acf.registerConditionForFieldType(“contains","acfe_hidden”),acf.registerConditionForFieldType(“hasValue","acfe_hidden”),acf.registerConditionForFieldType(“hasNoValue","acfe_hidden”),acf.registerConditionForFieldType(“equalTo","acfe_post_statuses”),acf.registerConditionForFieldType(“notEqualTo","acfe_post_statuses”),acf.registerConditionForFieldType(“patternMatch","acfe_post_statuses”),acf.registerConditionForFieldType(“contains","acfe_post_statuses”),acf.registerConditionForFieldType(“hasValue","acfe_post_statuses”),acf.registerConditionForFieldType(“hasNoValue","acfe_post_statuses”),acf.registerConditionForFieldType(“equalTo","acfe_post_types”),acf.registerConditionForFieldType(“notEqualTo","acfe_post_types”),acf.registerConditionForFieldType(“patternMatch","acfe_post_types”),acf.registerConditionForFieldType(“contains","acfe_post_types”),acf.registerConditionForFieldType(“hasValue","acfe_post_types”),acf.registerConditionForFieldType(“hasNoValue","acfe_post_types”),acf.registerConditionForFieldType(“equalTo","acfe_slug”),acf.registerConditionForFieldType(“notEqualTo","acfe_slug”),acf.registerConditionForFieldType(“patternMatch","acfe_slug”),acf.registerConditionForFieldType(“contains","acfe_slug”),acf.registerConditionForFieldType(“hasValue","acfe_slug”),acf.registerConditionForFieldType(“hasNoValue","acfe_slug”),acf.registerConditionForFieldType(“equalTo","acfe_taxonomies”),acf.registerConditionForFieldType(“notEqualTo","acfe_taxonomies”),acf.registerConditionForFieldType(“patternMatch","acfe_taxonomies”),acf.registerConditionForFieldType(“contains","acfe_taxonomies”),acf.registerConditionForFieldType(“hasValue","acfe_taxonomies”),acf.registerConditionForFieldType(“hasNoValue","acfe_taxonomies”),acf.registerConditionForFieldType(“equalTo","taxonomy”),acf.registerConditionForFieldType(“notEqualTo","taxonomy”),acf.registerConditionForFieldType(“patternMatch","taxonomy”),acf.registerConditionForFieldType(“contains","taxonomy”),acf.registerConditionForFieldType(“hasValue","taxonomy”),acf.registerConditionForFieldType(“hasNoValue","taxonomy”),acf.registerConditionForFieldType(“equalTo","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“notEqualTo","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“patternMatch","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“contains","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“hasValue","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“hasNoValue","acfe_taxonomy_terms”),acf.registerConditionForFieldType(“equalTo","time_picker”),acf.registerConditionForFieldType(“notEqualTo","time_picker”),acf.registerConditionForFieldType(“patternMatch","time_picker”),acf.registerConditionForFieldType(“contains","time_picker”),acf.registerConditionForFieldType(“equalTo","acfe_user_roles”),acf.registerConditionForFieldType(“notEqualTo","acfe_user_roles”),acf.registerConditionForFieldType(“patternMatch","acfe_user_roles”),acf.registerConditionForFieldType(“contains","acfe_user_roles”),acf.registerConditionForFieldType(“hasValue","acfe_user_roles”),acf.registerConditionForFieldType(“hasNoValue","acfe_user_roles”)),function(i){"undefined"!=typeof acf&&new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has(“instructionTooltip”)&&this.setTooltip(),e.has(“instructionAboveField”)&&this.setAboveField(),e.has(“instructionPlacement”)&&this.overridePlacement(e.get(“instructionPlacement”))},setTooltip:function(){this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info” title="’+_.escape(this.field.get(“instructionTooltip”))+’"></span>’),this.field.$labelWrap().find(“.description”).remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">’+this.field.get(“instructionAboveField”)+"</p>"),this.field.$labelWrap().find(“.description”).remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(“>.description”).length?e="label":this.field.$inputWrap().find(“>.description:first-child”).length?e="above_field":this.field.$inputWrap().find(“>.description:last-child”).length?e="field":this.field.$labelWrap().find(“>.acfe-field-tooltip”).length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(“>.description”):"above_field"===e?this.field.$inputWrap().find(“>.description:first-child”):"field"===e?this.field.$inputWrap().find(“>.description:last-child”):"tooltip"===e&&this.field.$labelWrap().find(“>.acfe-field-tooltip”)},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr(“title”),a.remove(),a=i('<p class="description">’+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(this.field.$labelWrap().prepend(i(‘<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="’+_.escape(a.html())+’"></span>’)),a.remove())}})}(jQuery),jQuery,function©{var a;"undefined"!=typeof acf&&(new acf.Model({actions:{prepare:"prepare","new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},prepare:function(){var e;acfe.get(“is_admin”)||(acf.isset(window,"wp","media","view","settings","post")&&(wp.media.view.settings.post=!1),c('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable(),(e=c(“.acfe-form-success”)).length&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),e.each(function(){var e=c(this).data(“form-name”),t=c(this).data(“form-id”);acf.doAction(“acfe/form/submit/success”),acf.doAction(“acfe/form/submit/success/id="+t),acf.doAction(“acfe/form/submit/success/name="+e)})),c('.acf-form .button, .acf-form [type="submit”], .acfe-form .button, .acfe-form [type="submit”]').click(function(e){c(this).hasClass(“disabled”)&&e.preventDefault()}))},datePicker:function(e){var t;acfe.get(“is_admin”)||(!(t=e.$el.closest(“.acfe-form”)).length||(t=t.data(“fields-class”))&&e.$inputText().addClass(t))},googleMap:function(e){var t;acfe.get(“is_admin”)||(!(t=e.$el.closest(“.acfe-form”)).length||(t=t.data(“fields-class”))&&e.$search().addClass(t))},invalidField:function(e){var t,a,i,n,o;acfe.get(“is_admin”)||(t=e.$el.closest(“.acfe-form”)).length&&(a=t.data(“errors-position”),(o=t.data(“errors-class”))&&o.length&&e.$el.find(“.acf-notice.-error”).addClass(o),a&&"below"===a?(e.$control().length?e.$el.find(“.acf-notice.-error”).insertAfter(e.$control()):e.$input().length&&e.$el.find(“.acf-notice.-error”).insertAfter(e.$input()),n=!1,e.$control().length?n=e.$control():e.$input().length&&(n=e.$input()),n&&e.$el.find(“.acf-notice.-error”).insertAfter(n)):a&&"group"===a?(i=e.$el.find(“.acf-label label”).text().trim(),o=e.$el.find(‘.acf-input-wrap [placeholder!=""]').attr(“placeholder”),n=e.$el.find(“.acf-notice.-error”).text().trim(),e.$el.find(“.acf-notice.-error”).remove(),n=i&&i.length&&"*"!==i?i+": "+n:o&&o.length&&""!==o?o+": "+n:e.get(“name”)+": “+n,(o=!(o=t.find(“> .acfe-form-error”)).length?c('<div class="acf-notice -error acf-error-message acfe-form-error” />’).prependTo(t):o).append(“<p>"+n+"</p>”)):a&&"hide"===a&&e.$el.find(“.acf-notice.-error”).remove())},validationBegin:function(e){acfe.get(“is_admin”)||void 0!==e&&e.find(“.acf-error-message”).remove()}}),a=function(e){var t=c(“.acf-field input”),e=e.closest(“form”);(t=e.length?e.find(“.acf-field input”):t).each(function(){this.checkValidity()||function(e){e=e.parents(“.acf-postbox”);!e.length||(e=acf.getPostbox(e))&&(e.$el.hasClass(“hide-if-js”)||"none"==e.$el.css(“display”))&&(e.$el.removeClass(“hide-if-js”),e.$el.css(“display","”))}(c(this))})},acf.validation.onClickSubmit=function(e,t){a(t),this.set("originalEvent",e)},acf.newCondition=function(e,t){var a=t.get(“field”),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get(“type”),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery);

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907