!function t(e,n,i){function a(s,c){if(!n[s]){if(!e[s]){var o="function"==typeof require&&require;if(!c&&o)return o(s,!0);if(r)return r(s,!0);var d=new Error("Cannot find module '"+s+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){var n=e[s][1][t];return a(n?n:t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var r="function"==typeof require&&require,s=0;s").attr({src:r.thumbnail,width:r.width,height:r.height,"class":r["class"],"data-url":matches[2]}).addClass("ss-htmleditorfield-file embed"),r.cssclass=r["class"],Object.keys(r).forEach(function(t){return a.attr("data-"+t,r[t])}),e=e.replace(matches[0],jQuery("
").append(a).html())}for(var i=/\[image(.*?)\]/gi;matches=i.exec(e);){var r=n(matches[1]),a=jQuery("").attr({src:r.src,width:r.width,height:r.height,"class":r["class"],alt:r.alt,title:r.title,"data-id":r.id});Object.keys(r).forEach(function(t){return a.attr("data-"+t,r[t])}),e=e.replace(matches[0],jQuery("
").append(a).html())}t.content=e})}};tinymce.PluginManager.add("ssbuttons",function(e){t.init(e)})}()},{}]},{},[1]);