(()=>{"use strict";function t(e){return t="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},t(e)}function e(e){var n=function(e){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(n)?n:n+""}function n(t,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}const i=gutenverseCoreFrontend;function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}var c=function(e){function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),e=this,r=arguments,n=o(n=c),function(e,n){if(n&&("object"==t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)}(e,u()?Reflect.construct(n,r||[],o(e).constructor):n.apply(e,r));var e,n,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)}(c,e),f=c,(a=[{key:"init",value:function(){var t=this;this._elements.map(function(e){t._postComment(e)})}},{key:"_postComment",value:function(t){var e=(0,i.u)(t).find(".commentlist").data("settings"),n=e&&JSON.parse(e),o=n.enableSuffix,r=n.suffixMain,u=n.suffixReply;o||this._removeSuffix(t),(0,i.u)(t).find(".says:not(.children .says)").each(function(t){t.textContent=r}),(0,i.u)(t).find(".children .says").each(function(t){t.textContent=u})}},{key:"_removeSuffix",value:function(t){(0,i.u)(t).find(".says").remove()}}])&&n(f.prototype,a),Object.defineProperty(f,"prototype",{writable:!1}),f;var f,a}(i.Default),f=(0,i.u)(".guten-post-comment");f&&new c(f)})();