/* SCEditor v3.2.0 | (C) 2017, Sam Clarke | sceditor.com/license */
!function(t,o){"use strict";var e=t.plugins;function c(n){var t;return n._scePatched?n:((t=function(){for(var t=[],e=0;e<arguments.length;e++){var c=arguments[e];c&&c.nodeType?t.push(o(c)):t.push(c)}return n.apply(this,t)})._scePatched=!0,t)}function n(t){var e;return t._scePatched?t:((e=function(){return o(t.apply(this,arguments))})._scePatched=!0,e)}var r,a=t.command.set,i=(t.command.set=function(t,e){return e&&"function"==typeof e.exec&&(e.exec=c(e.exec)),e&&"function"==typeof e.txtExec&&(e.txtExec=c(e.txtExec)),a.call(this,t,e)},e.bbcode&&(r=e.bbcode.bbcode.set,e.bbcode.bbcode.set=function(t,e){return e&&"function"==typeof e.format&&(e.format=c(e.format)),r.call(this,t,e)}),t.create);t.create=function(t,e){i.call(this,t,e),t&&t._sceditor&&((e=t._sceditor).getBody=n(e.getBody),e.getContentAreaContainer=n(e.getContentAreaContainer))}}(sceditor,jQuery);