(()=>{"use strict";var t,n={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return n.d(o,{a:o}),o},d:(t,o)=>{for(var r in o)n.o(o,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)},o=(t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},t(n,o)},function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),r=function(){this.enabled=!0},e=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n}(r),i=function(){var t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},t(n,o)};return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),s=function(){function t(){this.core_settings=new c,this.jokes={}}return t.check=function(t){return Math.random()<.01*t},t.prototype.add=function(t){this.jokes[t.id]=t},t.prototype.addCustom=function(t,n,o){void 0===o&&(o=null);var e=new(function(o){function r(){var n=null!==o&&o.apply(this,arguments)||this;return n.id=t,n.settings={chance:10},n}return i(r,o),r.prototype.start=function(){n.call(this,this.settings)},r}(r));Object.assign(e.settings,null!=o?o:{}),this.add(e)},Object.defineProperty(t.prototype,"settings",{get:function(){var t={};t.core=this.core_settings;for(var n=0,o=Object.entries(this.jokes);n0?"тся":"ться"})))}))},n}(r),g=function(){this.chance=20,this.selector=".post-content"},d=function(){var t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},t(n,o)};return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),O=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.id="mirror",n.settings=new w,n}return d(n,t),n.prototype.start=function(){f()(".post, .post h3, .post-links, .post-author, .post-content").css("transform","scaleX(-1)").css("-moz-transform","scaleX(-1)").css("-moz-transform","scaleX(-1)").css("filter","FlipH").css("-ms-filter",'"FlipH"'),f()(".post-links, .post-links ul, .post h3 span").css("margin-left","0"),f()(".post h3 span").css("margin-right","25em")},n}(r),w=function(){this.chance=30},j=function(){var t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},t(n,o)};return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),b=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.id="carnival",n.settings=new m,n}return j(n,t),n.prototype.start=function(){var t=this;f()(this.settings.selector).each((function(n,o){for(var r=[],e=0,i=Object.entries(t.settings.variants);e0&&f()(o).css({filter:r.join(" ")})}))},n}(r),m=function(){this.chance=30,this.selector='img[src*="/avatars/"]',this.variant_chance=20,this.variants={"sepia({0}%)":100,"saturate({0}%)":100,"hue-rotate({0}deg)":360,"invert({0}%)":100}},P=function(){var t=function(n,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},t(n,o)};return function(n,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=n}t(n,o),n.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),k=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.id="crazy_letters",n.settings=new E,n}return P(n,t),n.prototype.start=function(){var t=this;f()(this.settings.selector).each((function(n,o){for(var r=f()(t).text(),e="",i=0;i