]*>/gi,"[quote]"),o(/<\/blockquote>/gi,"[/quote]"),o(/
/gi,"\n"),o(/
/gi,"\n"),o(/
/gi,"\n"),o(//gi,""),o(/<\/p>/gi,"\n"),o(/ |\u00a0/gi," "),o(/"/gi,'"'),o(/</gi,"<"),o(/>/gi,">"),o(/&/gi,"&"),e},i=function(e){e=t.trim(e);var o=function(o,t){e=e.replace(o,t)};return o(/\n/gi,"
"),o(/\[b\]/gi,""),o(/\[\/b\]/gi,""),o(/\[i\]/gi,""),o(/\[\/i\]/gi,""),o(/\[u\]/gi,""),o(/\[\/u\]/gi,""),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2'),o(/\[url\](.*?)\[\/url\]/gi,'$1'),o(/\[img\](.*?)\[\/img\]/gi,''),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2'),o(/\[code\](.*?)\[\/code\]/gi,'$1 '),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 '),e};o.add("bbcode",function(){return{init:function(o){o.on("BeforeSetContent",function(o){o.content=i(o.content)}),o.on("PostProcess",function(o){o.set&&(o.content=i(o.content)),o.get&&(o.content=e(o.content))})}}}),function n(){}}(); diff --git a/public/assets/tinymce/plugins/bbcode/plugin-1a9fd62a2514ce8e15e8a3a99473674c1042c23adb359b35523931407910c7aa.js.gz b/public/assets/tinymce/plugins/bbcode/plugin-1a9fd62a2514ce8e15e8a3a99473674c1042c23adb359b35523931407910c7aa.js.gz new file mode 100644 index 00000000..14dc9aab Binary files /dev/null and b/public/assets/tinymce/plugins/bbcode/plugin-1a9fd62a2514ce8e15e8a3a99473674c1042c23adb359b35523931407910c7aa.js.gz differ diff --git a/public/assets/tinymce/plugins/bbcode/plugin-519d45b998601eecaf7200a940d966c1f49ce6a17b11ad8981b98eb5737d888b.js.gz b/public/assets/tinymce/plugins/bbcode/plugin-519d45b998601eecaf7200a940d966c1f49ce6a17b11ad8981b98eb5737d888b.js.gz deleted file mode 100644 index 52aef6af..00000000 Binary files a/public/assets/tinymce/plugins/bbcode/plugin-519d45b998601eecaf7200a940d966c1f49ce6a17b11ad8981b98eb5737d888b.js.gz and /dev/null differ diff --git a/public/assets/tinymce/plugins/bbcode/plugin.js b/public/assets/tinymce/plugins/bbcode/plugin.js index 348caa69..14b5a1c9 120000 --- a/public/assets/tinymce/plugins/bbcode/plugin.js +++ b/public/assets/tinymce/plugins/bbcode/plugin.js @@ -1 +1 @@ -plugin-519d45b998601eecaf7200a940d966c1f49ce6a17b11ad8981b98eb5737d888b.js \ No newline at end of file +plugin-1a9fd62a2514ce8e15e8a3a99473674c1042c23adb359b35523931407910c7aa.js \ No newline at end of file diff --git a/public/assets/tinymce/plugins/bbcode/plugin.js.gz b/public/assets/tinymce/plugins/bbcode/plugin.js.gz index 6aab3b93..1cc077dc 120000 --- a/public/assets/tinymce/plugins/bbcode/plugin.js.gz +++ b/public/assets/tinymce/plugins/bbcode/plugin.js.gz @@ -1 +1 @@ -plugin-519d45b998601eecaf7200a940d966c1f49ce6a17b11ad8981b98eb5737d888b.js.gz \ No newline at end of file +plugin-1a9fd62a2514ce8e15e8a3a99473674c1042c23adb359b35523931407910c7aa.js.gz \ No newline at end of file diff --git a/public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js.gz b/public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js.gz deleted file mode 100644 index 48b53e80..00000000 Binary files a/public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js.gz and /dev/null differ diff --git a/public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js b/public/assets/tinymce/plugins/charmap/plugin-e68609a6c6f050af409dc34cba1eaf97b45dc4219500de60bb3ed63ea49279a0.js similarity index 99% rename from public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js rename to public/assets/tinymce/plugins/charmap/plugin-e68609a6c6f050af409dc34cba1eaf97b45dc4219500de60bb3ed63ea49279a0.js index 7e5a09b8..34943089 100644 --- a/public/assets/tinymce/plugins/charmap/plugin-d92efb7c2b951cb6978d16e06dd01a2ed3f69930078fdb61e1c024d2be3088bd.js +++ b/public/assets/tinymce/plugins/charmap/plugin-e68609a6c6f050af409dc34cba1eaf97b45dc4219500de60bb3ed63ea49279a0.js @@ -4,7 +4,7 @@ * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * - * Version: 5.0.4 (2019-04-23) + * Version: 5.0.5 (2019-05-09) */ !function(l){"use strict";var e,n,r,t,a,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(e,n){return e.fire("insertCustomChar",{chr:n})},f=function(e,n){var r=o(e,n).chr;e.execCommand("mceInsertContent",!1,r)},c=tinymce.util.Tools.resolve("tinymce.util.Tools"),u=function(e){return e.settings.charmap},s=function(e){return e.settings.charmap_append},g=function(e){return function(){return e}},m=g(!1),h=g(!0),d=m,p=h,y=function(){return w},w=(t={fold:function(e,n){return e()},is:d,isSome:d,isNone:p,getOr:r=function(e){return e},getOrThunk:n=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:function(){return null},getOrUndefined:function(){return undefined},or:r,orThunk:n,map:y,ap:y,each:function(){},bind:y,flatten:y,exists:d,forall:p,filter:y,equals:e=function(e){return e.isNone()},equals_:e,toArray:function(){return[]},toString:g("none()")},Object.freeze&&Object.freeze(t),t),b=function(r){var e=function(){return r},n=function(){return a},t=function(e){return e(r)},a={fold:function(e,n){return n(r)},is:function(e){return r===e},isSome:p,isNone:d,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:n,orThunk:n,map:function(e){return b(e(r))},ap:function(e){return e.fold(y,function(e){return b(e(r))})},each:function(e){e(r)},bind:t,flatten:e,exists:t,forall:t,filter:function(e){return e(r)?a:w},equals:function(e){return e.is(r)},equals_:function(e,n){return e.fold(d,function(e){return n(r,e)})},toArray:function(){return[r]},toString:function(){return"some("+r+")"}};return a},v={some:b,none:y,from:function(e){return null===e||e===undefined?w:b(e)}},k=(a="function",function(e){return function(e){if(null===e)return"null";var n=typeof e;return"object"===n&&Array.prototype.isPrototypeOf(e)?"array":"object"===n&&String.prototype.isPrototypeOf(e)?"string":n}(e)===a}),C=function(e,n){for(var r=e.length,t=new Array(r),a=0;ae.length)break e;if(!(h instanceof a)){u.lastIndex=0;var m=u.exec(h);if(m){g&&(d=m[1].length);var b=m.index-1+d,y=b+(m=m[0].slice(d)).length,v=h.slice(0,b+1),k=h.slice(y+1),w=[f,1];v&&w.push(v);var x=new a(o,c?S.tokenize(m,c):m,p);w.push(x),k&&w.push(k),Array.prototype.splice.apply(r,w)}}}}}return r},hooks:{all:{},add:function(e,t){var n=S.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=S.hooks.all[e];if(n&&n.length)for(var a=0,r=void 0;r=n[a++];)r(t)}}},s=S.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(s.stringify=function(t,n,e){if("string"==typeof t)return t;if("Array"===S.util.type(t))return t.map(function(e){return s.stringify(e,n,t)}).join("");var a={type:t.type,content:s.stringify(t.content,n,e),tag:"span",classes:["token",t.type],attributes:{},language:n,parent:e};if("comment"===a.type&&(a.attributes.spellcheck="true"),t.alias){var r="Array"===S.util.type(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(a.classes,r)}S.hooks.run("wrap",a);var i="";for(var o in a.attributes)i+=(i?" ":"")+o+'="'+(a.attributes[o]||"")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'" '+i+">"+a.content+""+a.tag+">"},!g.document)return g.addEventListener&&g.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,r=t.immediateClose;g.postMessage(S.highlight(a,S.languages[n],n)),r&&g.close()},!1),g.Prism}();void 0!==n&&(n.Prism=i),i.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?[^\s>\/=.]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},i.languages.css.atrule.inside.rest=i.util.clone(i.languages.css),i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/"),s.each(t.contentCSS,function(e){n+=''});var o=t.settings.body_id||"tinymce";-1!==o.indexOf("=")&&(o=(o=t.getParam("body_id","","hash"))[t.id]||o);var r=t.settings.body_class||"";-1!==r.indexOf("=")&&(r=(r=t.getParam("body_class","","hash"))[t.id]||"");var a=t.getBody().dir,c=a?' dir="'+i(a)+'"':"";return""+n+'"+t.getContent()+'