!function(){"use strict";var t={n:function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},d:function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},dn:function(t){(Object.getOwnPropertyDescriptor(t,"name")||{}).writable||Object.defineProperty(t,"name",{value:"default",configurable:!0})}};const e=jQuery;var n=t.n(e);const r=lodash;var i=function(t){var e=function(t){var e=(0,r.find)(rankMath.acf.headlines,function(e,n){return t.key===n});return e&&(e=parseInt(e,10)),(e<1||e>6)&&(e=!1),e}(t);return t.content=e?""+t.content+"":"

"+t.content+"

",t};const a=function(t){return t=(0,r.map)(t,function(t){return"text"!==t.type?t:(t.content=t.$el.find("input[type=text][id^=acf]").val(),t=i(t))})};t.dn(a);const o=function(t){return t=(0,r.map)(t,function(t){return"textarea"!==t.type||(t.content="

"+t.$el.find("textarea[id^=acf]").val()+"

"),t})};t.dn(o);const u=function(t){return t=(0,r.map)(t,function(t){return"email"!==t.type||(t.content=t.$el.find("input[type=email][id^=acf]").val()),t})};t.dn(u);const c=function(t){return t=(0,r.map)(t,function(t){if("url"!==t.type)return t;var e=t.$el.find("input[type=url][id^=acf]").val();return t.content=e?''+e+"":"",t})};t.dn(c);const f=function(t){return(0,r.map)(t,function(t){if("link"!==t.type)return t;var e=t.$el.find("input[type=hidden].input-title").val(),n=t.$el.find("input[type=hidden].input-url").val(),r=t.$el.find("input[type=hidden].input-target").val();return t.content=''+e+"",t})};t.dn(f);var l=function(t){var e=t.$el.find("textarea")[0],n=e.id,r=e.value;return function(t){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&null!==tinyMCE.get(t)&&!tinyMCE.get(t).isHidden()}(n)&&(r=tinyMCE.get(n)&&tinyMCE.get(n).getContent()||""),r};const p=function(t){return t=(0,r.map)(t,function(t){return"wysiwyg"!==t.type||(t.content=l(t)),t})};function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function s(t,e){for(var n=0;n'}return e}},{key:"setCache",value:function(t,e){this.cache[t]=e}},{key:"getCache",value:function(t){return t in this.cache&&this.cache[t]}},{key:"getUncached",value:function(t){var e=this;return(t=(0,r.uniq)(t)).filter(function(t){return!1===e.get(t)})}}])&&s(t.prototype,e),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}());const m=function(t){var e=[];return t=(0,r.map)(t,function(t){if("image"!==t.type)return t;t.content="";var n=t.$el.find("input[type=hidden]").val();return e.push(n),t.content+=h.getAttachmentContent(n),t}),h.refresh(e),t};t.dn(m);const v=function(t){var e=[];return t=(0,r.map)(t,function(t){return"gallery"!==t.type||(t.content="",t.$el.find(".acf-gallery-attachment input[type=hidden]").each(function(){var r=n()(this).val();e.push(r),t.content+=h.getAttachmentContent(r)})),t}),h.refresh(e),t};t.dn(v);const b=function(t){return t=(0,r.map)(t,function(t){if("taxonomy"!==t.type)return t;var e=[];if(t.$el.find('.acf-taxonomy-field[data-type="multi_select"]').length>0){var n=acf.select2.version>=4?"select":"input";e=(0,r.map)(t.$el.find('.acf-taxonomy-field[data-type="multi_select"] '+n).select2("data"),"text")}else t.$el.find('.acf-taxonomy-field[data-type="checkbox"]').length>0?e=(0,r.map)(t.$el.find('.acf-taxonomy-field[data-type="checkbox"] input[type="checkbox"]:checked').next(),"textContent"):t.$el.find("input[type=checkbox]:checked").length>0?e=(0,r.map)(t.$el.find("input[type=checkbox]:checked").parent(),"textContent"):t.$el.find("select option:checked").length>0&&(e=(0,r.map)(t.$el.find("select option:checked"),"textContent"));return(e=(0,r.map)(e,function(t){return t.trim()})).length>0&&(t.content=""),t})};function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function k(t,e){for(var n=0;n