--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/AddOnManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(d,a){var c=a.each;function b(){var e=this;e.items=[];e.urls={};e.lookup={}}b.prototype={get:function(e){if(this.lookup[e]){return this.lookup[e].instance}else{return undefined}},dependencies:function(f){var e;if(this.lookup[f]){e=this.lookup[f].dependencies}return e||[]},requireLangPack:function(e,f){var g=b.language;if(g&&b.languageLoad!==false){if(f){f=","+f+",";if(f.indexOf(","+g.substr(0,2)+",")!=-1){g=g.substr(0,2)}else{if(f.indexOf(","+g+",")==-1){return}}}d.ScriptLoader.add(this.urls[e]+"/langs/"+g+".js")}},add:function(g,e,f){this.items.push(e);this.lookup[g]={instance:e,dependencies:f};return e},createUrl:function(e,f){if(typeof f==="object"){return f}else{return{prefix:e.prefix,resource:f,suffix:e.suffix}}},addComponents:function(g,e){var f=this.urls[g];c(e,function(h){d.ScriptLoader.add(f+"/"+h)})},load:function(g,i,k,h){var e=this,f=i;function j(){var l=e.dependencies(g);c(l,function(n){var m=e.createUrl(i,n);e.load(m.resource,m,undefined,undefined)});if(k){if(h){k.call(h)}else{k.call(d)}}}if(e.urls[g]){return}if(typeof i==="object"){f=i.prefix+i.resource+i.suffix}if(f.indexOf("/")!==0&&f.indexOf("://")==-1){f=b.baseURL+"/"+f}e.urls[g]=f.substring(0,f.lastIndexOf("/"));if(e.lookup[g]){j()}else{d.ScriptLoader.add(f,j,h)}}};b.PluginManager=new b();b.ThemeManager=new b();return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/Compat.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/Compat",["tinymce/dom/DOMUtils","tinymce/dom/EventUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/util/Tools","tinymce/Env"],function(e,g,f,d,b,a){var c=window.tinymce;c.DOM=e.DOM;c.ScriptLoader=f.ScriptLoader;c.PluginManager=d.PluginManager;c.ThemeManager=d.ThemeManager;c.dom=c.dom||{};c.dom.Event=g.Event;b.each(b,function(i,h){c[h]=i});b.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(h){c[h]=a[h.substr(2).toLowerCase()]});return{}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/Editor.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/Editor",["tinymce/dom/DOMUtils","tinymce/dom/DomQuery","tinymce/AddOnManager","tinymce/NodeChange","tinymce/html/Node","tinymce/dom/Serializer","tinymce/html/Serializer","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/dom/ScriptLoader","tinymce/dom/EventUtils","tinymce/WindowManager","tinymce/html/Schema","tinymce/html/DomParser","tinymce/util/Quirks","tinymce/Env","tinymce/util/Tools","tinymce/EditorObservable","tinymce/Shortcuts"],function(K,s,u,e,p,C,A,w,q,f,B,y,n,v,k,l,E,g,b,t,F,i,c,H){var r=K.DOM,G=u.ThemeManager,J=u.PluginManager;var h=i.extend,D=i.each,j=i.explode;var I=i.inArray,a=i.trim,m=i.resolve;var z=l.Event;var d=F.gecko,x=F.ie;function o(Q,N,P){var M=this,L,O;L=M.documentBaseUrl=P.documentBaseURL;O=P.baseURI;M.settings=N=h({id:Q,theme:"modern",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:L,add_form_submit_trigger:true,submit_patch:true,add_unload_trigger:true,convert_urls:true,relative_urls:true,remove_script_host:true,object_resizing:true,doctype:"<!DOCTYPE html>",visual:true,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:true,padd_empty_editor:true,render_ui:true,indentation:"30px",inline_styles:true,convert_fonts_to_spans:true,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:true,entity_encoding:"named",url_converter:M.convertURL,url_converter_scope:M,ie7_compat:true},N);u.language=N.language||"en";u.languageLoad=N.language_load;u.baseURL=P.baseURL;M.id=N.id=Q;M.isNotDirty=true;M.plugins={};M.documentBaseURI=new v(N.document_base_url||L,{base_uri:O});M.baseURI=O;M.contentCSS=[];M.contentStyles=[];M.shortcuts=new H(M);M.loadedCSS={};M.editorCommands=new n(M);if(N.target){M.targetElm=N.target}M.suffix=P.suffix;M.editorManager=P;M.inline=N.inline;if(N.cache_suffix){F.cacheSuffix=N.cache_suffix.replace(/^[\?\&]+/,"")}P.fire("SetupEditor",M);M.execCallback("setup",M);M.$=s.overrideDefaults(function(){return{context:M.inline?M.getBody():M.getDoc(),element:M.getBody()}})}o.prototype={render:function(){var L=this,O=L.settings,R=L.id,Q=L.suffix;function N(){r.unbind(window,"ready",N);L.render()}if(!z.domLoaded){r.bind(window,"ready",N);return}if(!L.getElement()){return}if(!F.contentEditable){return}if(!O.inline){L.orgVisibility=L.getElement().style.visibility;L.getElement().style.visibility="hidden"}else{L.inline=true}var P=L.getElement().form||r.getParent(R,"form");if(P){L.formElement=P;if(O.hidden_input&&!/TEXTAREA|INPUT/i.test(L.getElement().nodeName)){r.insertAfter(r.create("input",{type:"hidden",name:R}),R);L.hasHiddenInput=true}L.formEventDelegate=function(S){L.fire(S.type,S)};r.bind(P,"submit reset",L.formEventDelegate);L.on("reset",function(){L.setContent(L.startContent,{format:"raw"})});if(O.submit_patch&&!P.submit.nodeType&&!P.submit.length&&!P._mceOldSubmit){P._mceOldSubmit=P.submit;P.submit=function(){L.editorManager.triggerSave();L.isNotDirty=true;return P._mceOldSubmit(P)}}}L.windowManager=new E(L);if(O.encoding=="xml"){L.on("GetContent",function(S){if(S.save){S.content=r.encode(S.content)}})}if(O.add_form_submit_trigger){L.on("submit",function(){if(L.initialized){L.save()}})}if(O.add_unload_trigger){L._beforeUnload=function(){if(L.initialized&&!L.destroyed&&!L.isHidden()){L.save({format:"raw",no_events:true,set_dirty:false})}};L.editorManager.on("BeforeUnload",L._beforeUnload)}function M(){var T=k.ScriptLoader;if(O.language&&O.language!="en"&&!O.language_url){O.language_url=L.editorManager.baseURL+"/langs/"+O.language+".js"}if(O.language_url){T.add(O.language_url)}if(O.theme&&typeof O.theme!="function"&&O.theme.charAt(0)!="-"&&!G.urls[O.theme]){var S=O.theme_url;if(S){S=L.documentBaseURI.toAbsolute(S)}else{S="themes/"+O.theme+"/theme"+Q+".js"}G.load(O.theme,S)}if(i.isArray(O.plugins)){O.plugins=O.plugins.join(" ")}D(O.external_plugins,function(V,U){J.load(U,V);O.plugins+=" "+U});D(O.plugins.split(/[ ,]/),function(U){U=a(U);if(U&&!J.urls[U]){if(U.charAt(0)=="-"){U=U.substr(1,U.length);var V=J.dependencies(U);D(V,function(X){var W={prefix:"plugins/",resource:X,suffix:"/plugin"+Q+".js"};X=J.createUrl(W,X);J.load(X.resource,X)})}else{J.load(U,{prefix:"plugins/",resource:U,suffix:"/plugin"+Q+".js"})}}});T.loadQueue(function(){if(!L.removed){L.init()}})}M()},init:function(){var T=this,ac=T.settings,P=T.getElement();var R,aa,O,W,U,L,M,ae,Z,V,Y,N=[];this.editorManager.i18n.setCode(ac.language);T.rtl=this.editorManager.i18n.rtl;T.editorManager.add(T);ac.aria_label=ac.aria_label||r.getAttrib(P,"aria-label",T.getLang("aria.rich_text_area"));if(ac.theme){if(typeof ac.theme!="function"){ac.theme=ac.theme.replace(/-/,"");L=G.get(ac.theme);T.theme=new L(T,G.urls[ac.theme]);if(T.theme.init){T.theme.init(T,G.urls[ac.theme]||T.documentBaseUrl.replace(/\/$/,""),T.$)}}else{T.theme=ac.theme}}function ad(ai){var ah=J.get(ai),ag,af;ag=J.urls[ai]||T.documentBaseUrl.replace(/\/$/,"");ai=a(ai);if(ah&&I(N,ai)===-1){D(J.dependencies(ai),function(aj){ad(aj)});af=new ah(T,ag,T.$);T.plugins[ai]=af;if(af.init){af.init(T,ag);N.push(ai)}}}D(ac.plugins.replace(/\-/g,"").split(/[ ,]/),ad);if(ac.render_ui&&T.theme){T.orgDisplay=P.style.display;if(typeof ac.theme!="function"){R=ac.width||P.style.width||P.offsetWidth;aa=ac.height||P.style.height||P.offsetHeight;O=ac.min_height||100;V=/^[0-9\.]+(|px)$/i;if(V.test(""+R)){R=Math.max(parseInt(R,10),100)}if(V.test(""+aa)){aa=Math.max(parseInt(aa,10),O)}U=T.theme.renderUI({targetNode:P,width:R,height:aa,deltaWidth:ac.delta_width,deltaHeight:ac.delta_height});if(!ac.content_editable){aa=(U.iframeHeight||aa)+(typeof aa=="number"?(U.deltaHeight||0):"");if(aa<O){aa=O}}}else{U=ac.theme(T,P);if(U.editorContainer.nodeType){U.editorContainer=U.editorContainer.id=U.editorContainer.id||T.id+"_parent"}if(U.iframeContainer.nodeType){U.iframeContainer=U.iframeContainer.id=U.iframeContainer.id||T.id+"_iframecontainer"}aa=U.iframeHeight||P.offsetHeight}T.editorContainer=U.editorContainer}if(ac.content_css){D(j(ac.content_css),function(af){T.contentCSS.push(T.documentBaseURI.toAbsolute(af))})}if(ac.content_style){T.contentStyles.push(ac.content_style)}if(ac.content_editable){P=W=U=null;return T.initContentBody()}T.iframeHTML=ac.doctype+"<html><head>";if(ac.document_base_url!=T.documentBaseUrl){T.iframeHTML+='<base href="'+T.documentBaseURI.getURI()+'" />'}if(!F.caretAfter&&ac.ie7_compat){T.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'}T.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';for(Y=0;Y<T.contentCSS.length;Y++){var X=T.contentCSS[Y];T.iframeHTML+=('<link type="text/css" rel="stylesheet" href="'+i._addCacheSuffix(X)+'" />');T.loadedCSS[X]=true}ae=ac.body_id||"tinymce";if(ae.indexOf("=")!=-1){ae=T.getParam("body_id","","hash");ae=ae[T.id]||ae}Z=ac.body_class||"";if(Z.indexOf("=")!=-1){Z=T.getParam("body_class","","hash");Z=Z[T.id]||""}if(ac.content_security_policy){T.iframeHTML+='<meta http-equiv="Content-Security-Policy" content="'+ac.content_security_policy+'" />'}T.iframeHTML+='</head><body id="'+ae+'" class="mce-content-body '+Z+'" data-id="'+T.id+'"><br></body></html>';var S='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+T.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';if(document.domain!=location.hostname){M=S}var Q=r.create("iframe",{id:T.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:T.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:aa,display:"block"}});Q.onload=function(){Q.onload=null;T.fire("load")};r.setAttrib(Q,"src",M||'javascript:""');T.contentAreaContainer=U.iframeContainer;T.iframeElement=Q;W=r.add(U.iframeContainer,Q);if(x){try{T.getDoc()}catch(ab){W.src=M=S}}if(U.editorContainer){r.get(U.editorContainer).style.display=T.orgDisplay;T.hidden=r.isHidden(U.editorContainer)}T.getElement().style.display="none";r.setAttrib(T.id,"aria-hidden",true);if(!M){T.initContentBody()}P=W=U=null},initContentBody:function(M){var N=this,O=N.settings,P=N.getElement(),Q=N.getDoc(),L,R;if(!O.inline){N.getElement().style.visibility=N.orgVisibility}if(!M&&!O.content_editable){Q.open();Q.write(N.iframeHTML);Q.close()}if(O.content_editable){N.on("remove",function(){var S=this.getBody();r.removeClass(S,"mce-content-body");r.removeClass(S,"mce-edit-focus");r.setAttrib(S,"contentEditable",null)});r.addClass(P,"mce-content-body");N.contentDocument=Q=O.content_document||document;N.contentWindow=O.content_window||window;N.bodyElement=P;O.content_document=O.content_window=null;O.root_name=P.nodeName.toLowerCase()}L=N.getBody();L.disabled=true;if(!O.readonly){if(N.inline&&r.getStyle(L,"position",true)=="static"){L.style.position="relative"}L.contentEditable=N.getParam("content_editable_state",true)}L.disabled=false;N.schema=new g(O);N.dom=new K(Q,{keep_values:true,url_converter:N.convertURL,url_converter_scope:N,hex_colors:O.force_hex_style_colors,class_filter:O.class_filter,update_styles:true,root_element:N.inline?N.getBody():null,collect:O.content_editable,schema:N.schema,onSetAttrib:function(S){N.fire("SetAttrib",S)}});N.parser=new b(O,N.schema);N.parser.addAttributeFilter("src,href,style,tabindex",function(S,T){var U=S.length,W,Y=N.dom,X,V;while(U--){W=S[U];X=W.attr(T);V="data-mce-"+T;if(!W.attributes.map[V]){if(T==="style"){X=Y.serializeStyle(Y.parseStyle(X),W.name);if(!X.length){X=null}W.attr(V,X);W.attr(T,X)}else{if(T==="tabindex"){W.attr(V,X);W.attr(T,null)}else{W.attr(V,N.convertURL(X,T,W.name))}}}}});N.parser.addNodeFilter("script",function(S){var T=S.length,U;while(T--){U=S[T];U.attr("type","mce-"+(U.attr("type")||"no/type"))}});N.parser.addNodeFilter("#cdata",function(S){var T=S.length,U;while(T--){U=S[T];U.type=8;U.name="#comment";U.value="[CDATA["+U.value+"]]"}});N.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(T){var U=T.length,V,S=N.schema.getNonEmptyElements();while(U--){V=T[U];if(V.isEmpty(S)){V.append(new p("br",1)).shortEnded=true}}});N.serializer=new C(O,N);N.selection=new w(N.dom,N.getWin(),N.serializer,N);N.formatter=new q(N);N.undoManager=new f(N);N.forceBlocks=new y(N);N.enterKey=new B(N);N._nodeChangeDispatcher=new e(N);N.fire("PreInit");if(!O.browser_spellcheck&&!O.gecko_spellcheck){Q.body.spellcheck=false;r.setAttrib(L,"spellcheck","false")}N.fire("PostRender");N.quirks=new t(N);if(O.directionality){L.dir=O.directionality}if(O.nowrap){L.style.whiteSpace="nowrap"}if(O.protect){N.on("BeforeSetContent",function(S){D(O.protect,function(T){S.content=S.content.replace(T,function(U){return"<!--mce:protected "+escape(U)+"-->"})})})}N.on("SetContent",function(){N.addVisual(N.getBody())});if(O.padd_empty_editor){N.on("PostProcess",function(S){S.content=S.content.replace(/^(<p[^>]*>( | |\s|\u00a0|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")})}N.load({initial:true,format:"html"});N.startContent=N.getContent({format:"raw"});N.initialized=true;N.bindPendingEventDelegates();N.fire("init");N.focus(true);N.nodeChanged({initial:true});N.execCallback("init_instance_callback",N);if(N.contentStyles.length>0){R="";D(N.contentStyles,function(S){R+=S+"\r\n"});N.dom.addStyle(R)}D(N.contentCSS,function(S){if(!N.loadedCSS[S]){N.dom.loadCSS(S);N.loadedCSS[S]=true}});if(O.auto_focus){setTimeout(function(){var S;if(O.auto_focus===true){S=N}else{S=N.editorManager.get(O.auto_focus)}if(!S.destroyed){S.focus()}},100)}P=Q=L=null},focus:function(M){var T=this,S=T.selection,P=T.settings.content_editable,L;var Q,R=T.getDoc(),N;if(!M){L=S.getRng();if(L.item){Q=L.item(0)}T._refreshContentEditable();if(!P){if(!F.opera){T.getBody().focus()}T.getWin().focus()}if(d||P){N=T.getBody();if(N.setActive){try{N.setActive()}catch(O){N.focus()}}else{N.focus()}if(P){S.normalize()}}if(Q&&Q.ownerDocument==R){L=R.body.createControlRange();L.addElement(Q);L.select()}}T.editorManager.setActive(T)},execCallback:function(M){var L=this,O=L.settings[M],N;if(!O){return}if(L.callbackLookup&&(N=L.callbackLookup[M])){O=N.func;N=N.scope}if(typeof O==="string"){N=O.replace(/\.\w+$/,"");N=N?m(N):0;O=m(O);L.callbackLookup=L.callbackLookup||{};L.callbackLookup[M]={func:O,scope:N}}return O.apply(N||L,Array.prototype.slice.call(arguments,1))},translate:function(N){var M=this.settings.language||"en",L=this.editorManager.i18n;if(!N){return""}return L.data[M+"."+N]||N.replace(/\{\#([^\}]+)\}/g,function(P,O){return L.data[M+"."+O]||"{#"+O+"}"})},getLang:function(L,M){return(this.editorManager.i18n.data[(this.settings.language||"en")+"."+L]||(M!==undefined?M:"{#"+L+"}"))},getParam:function(M,P,N){var O=M in this.settings?this.settings[M]:P,L;if(N==="hash"){L={};if(typeof O==="string"){D(O.indexOf("=")>0?O.split(/[;,](?![^=;,]*(?:[;,]|$))/):O.split(","),function(Q){Q=Q.split("=");if(Q.length>1){L[a(Q[0])]=a(Q[1])}else{L[a(Q[0])]=a(Q)}})}else{L=O}return L}return O},nodeChanged:function(L){this._nodeChangeDispatcher.nodeChanged(L)},addButton:function(M,N){var L=this;if(N.cmd){N.onclick=function(){L.execCommand(N.cmd)}}if(!N.text&&!N.icon){N.icon=M}L.buttons=L.buttons||{};N.tooltip=N.tooltip||N.title;L.buttons[M]=N},addMenuItem:function(M,N){var L=this;if(N.cmd){N.onclick=function(){L.execCommand(N.cmd)}}L.menuItems=L.menuItems||{};L.menuItems[M]=N},addCommand:function(L,N,M){this.editorCommands.addCommand(L,N,M)},addQueryStateHandler:function(L,N,M){this.editorCommands.addQueryStateHandler(L,N,M)},addQueryValueHandler:function(L,N,M){this.editorCommands.addQueryValueHandler(L,N,M)},addShortcut:function(N,O,M,L){this.shortcuts.add(N,O,M,L)},execCommand:function(O,N,M,L){return this.editorCommands.execCommand(O,N,M,L)},queryCommandState:function(L){return this.editorCommands.queryCommandState(L)},queryCommandValue:function(L){return this.editorCommands.queryCommandValue(L)},queryCommandSupported:function(L){return this.editorCommands.queryCommandSupported(L)},show:function(){var L=this;if(L.hidden){L.hidden=false;if(L.inline){L.getBody().contentEditable=true}else{r.show(L.getContainer());r.hide(L.id)}L.load();L.fire("show")}},hide:function(){var L=this,M=L.getDoc();if(!L.hidden){if(x&&M&&!L.inline){M.execCommand("SelectAll")}L.save();if(L.inline){L.getBody().contentEditable=false;if(L==L.editorManager.focusedEditor){L.editorManager.focusedEditor=null}}else{r.hide(L.getContainer());r.setStyle(L.id,"display",L.orgDisplay)}L.hidden=true;L.fire("hide")}},isHidden:function(){return !!this.hidden},setProgressState:function(L,M){this.fire("ProgressState",{state:L,time:M})},load:function(M){var L=this,O=L.getElement(),N;if(O){M=M||{};M.load=true;N=L.setContent(O.value!==undefined?O.value:O.innerHTML,M);M.element=O;if(!M.no_events){L.fire("LoadContent",M)}M.element=O=null;return N}},save:function(M){var L=this,P=L.getElement(),N,O;if(!P||!L.initialized){return}M=M||{};M.save=true;M.element=P;N=M.content=L.getContent(M);if(!M.no_events){L.fire("SaveContent",M)}N=M.content;if(!/TEXTAREA|INPUT/i.test(P.nodeName)){if(!L.inline){P.innerHTML=N}if((O=r.getParent(L.id,"form"))){D(O.elements,function(Q){if(Q.name==L.id){Q.value=N;return false}})}}else{P.value=N}M.element=P=null;if(M.set_dirty!==false){L.isNotDirty=true}return N},setContent:function(P,N){var M=this,L=M.getBody(),O;N=N||{};N.format=N.format||"html";N.set=true;N.content=P;if(!N.no_events){M.fire("BeforeSetContent",N)}P=N.content;if(P.length===0||/^\s+$/.test(P)){O=M.settings.forced_root_block;if(O&&M.schema.isValidChild(L.nodeName.toLowerCase(),O.toLowerCase())){P=x&&x<11?"":'<br data-mce-bogus="1">';P=M.dom.createHTML(O,M.settings.forced_root_block_attrs,P)}else{if(!x){P='<br data-mce-bogus="1">'}}M.dom.setHTML(L,P);M.fire("SetContent",N)}else{if(N.format!=="raw"){P=new A({},M.schema).serialize(M.parser.parse(P,{isRootContent:true}))}N.content=a(P);M.dom.setHTML(L,N.content);if(!N.no_events){M.fire("SetContent",N)}}return N.content},getContent:function(N){var M=this,O,L=M.getBody();N=N||{};N.format=N.format||"html";N.get=true;N.getInner=true;if(!N.no_events){M.fire("BeforeGetContent",N)}if(N.format=="raw"){O=L.innerHTML}else{if(N.format=="text"){O=L.innerText||L.textContent}else{O=M.serializer.serialize(L,N)}}if(N.format!="text"){N.content=a(O)}else{N.content=O}if(!N.no_events){M.fire("GetContent",N)}return N.content},insertContent:function(M,L){if(L){M=h({content:M},L)}this.execCommand("mceInsertContent",false,M)},isDirty:function(){return !this.isNotDirty},getContainer:function(){var L=this;if(!L.container){L.container=r.get(L.editorContainer||L.id+"_parent")}return L.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){if(!this.targetElm){this.targetElm=r.get(this.id)}return this.targetElm},getWin:function(){var L=this,M;if(!L.contentWindow){M=L.iframeElement;if(M){L.contentWindow=M.contentWindow}}return L.contentWindow},getDoc:function(){var L=this,M;if(!L.contentDocument){M=L.getWin();if(M){L.contentDocument=M.document}}return L.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(N,M,P){var L=this,O=L.settings;if(O.urlconverter_callback){return L.execCallback("urlconverter_callback",N,P,true,M)}if(!O.convert_urls||(P&&P.nodeName=="LINK")||N.indexOf("file:")===0||N.length===0){return N}if(O.relative_urls){return L.documentBaseURI.toRelative(N)}N=L.documentBaseURI.toAbsolute(N,O.remove_script_host);return N},addVisual:function(P){var M=this,N=M.settings,O=M.dom,L;P=P||M.getBody();if(M.hasVisual===undefined){M.hasVisual=N.visual}D(O.select("table,a",P),function(R){var Q;switch(R.nodeName){case"TABLE":L=N.visual_table_class||"mce-item-table";Q=O.getAttrib(R,"border");if((!Q||Q=="0")&&M.hasVisual){O.addClass(R,L)}else{O.removeClass(R,L)}return;case"A":if(!O.getAttrib(R,"href",false)){Q=O.getAttrib(R,"name")||R.id;L=N.visual_anchor_class||"mce-item-anchor";if(Q&&M.hasVisual){O.addClass(R,L)}else{O.removeClass(R,L)}}return}});M.fire("VisualAid",{element:P,hasVisual:M.hasVisual})},remove:function(){var L=this;if(!L.removed){L.save();L.removed=1;L.unbindAllNativeEvents();if(L.hasHiddenInput){r.remove(L.getElement().nextSibling)}if(!L.inline){if(x&&x<10){L.getDoc().execCommand("SelectAll",false,null)}r.setStyle(L.id,"display",L.orgDisplay);L.getBody().onload=null}L.fire("remove");L.editorManager.remove(L);r.remove(L.getContainer());L.destroy()}},destroy:function(N){var L=this,M;if(L.destroyed){return}if(!N&&!L.removed){L.remove();return}if(!N){L.editorManager.off("beforeunload",L._beforeUnload);if(L.theme&&L.theme.destroy){L.theme.destroy()}L.selection.destroy();L.dom.destroy()}M=L.formElement;if(M){if(M._mceOldSubmit){M.submit=M._mceOldSubmit;M._mceOldSubmit=null}r.unbind(M,"submit reset",L.formEventDelegate)}L.contentAreaContainer=L.formElement=L.container=L.editorContainer=null;L.bodyElement=L.contentDocument=L.contentWindow=null;L.iframeElement=L.targetElm=null;if(L.selection){L.selection=L.selection.win=L.selection.dom=L.selection.dom.doc=null}L.destroyed=1},_refreshContentEditable:function(){var M=this,L,N;if(M._isHidden()){L=M.getBody();N=L.parentNode;N.removeChild(L);N.appendChild(L);L.focus()}},_isHidden:function(){var L;if(!d){return 0}L=this.selection.getSel();return(!L||!L.rangeCount||L.rangeCount===0)}};h(o.prototype,c);return o});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/EditorCommands.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/EditorCommands",["tinymce/html/Serializer","tinymce/Env","tinymce/util/Tools","tinymce/dom/ElementUtils","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker"],function(l,j,e,c,h,o){var n=e.each,k=e.extend;var b=e.map,p=e.inArray,m=e.explode;var a=j.gecko,d=j.ie,g=j.ie&&j.ie<11;var f=true,i=false;return function(t){var E,K,D,w={state:{},exec:{},value:{}},G=t.settings,x;t.on("PreInit",function(){E=t.dom;K=t.selection;G=t.settings;D=t.formatter});function F(S,R,Q,L){var N,P,O=0;if(!/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(S)&&(!L||!L.skip_focus)){t.focus()}L=k({},L);L=t.fire("BeforeExecCommand",{command:S,ui:R,value:Q});if(L.isDefaultPrevented()){return false}P=S.toLowerCase();if((N=w.exec[P])){N(P,R,Q);t.fire("ExecCommand",{command:S,ui:R,value:Q});return true}n(t.plugins,function(T){if(T.execCommand&&T.execCommand(S,R,Q)){t.fire("ExecCommand",{command:S,ui:R,value:Q});O=true;return false}});if(O){return O}if(t.theme&&t.theme.execCommand&&t.theme.execCommand(S,R,Q)){t.fire("ExecCommand",{command:S,ui:R,value:Q});return true}try{O=t.getDoc().execCommand(S,R,Q)}catch(M){}if(O){t.fire("ExecCommand",{command:S,ui:R,value:Q});return true}return false}function v(N){var M;if(t._isHidden()){return}N=N.toLowerCase();if((M=w.state[N])){return M(N)}try{return t.getDoc().queryCommandState(N)}catch(L){}return false}function C(N){var M;if(t._isHidden()){return}N=N.toLowerCase();if((M=w.value[N])){return M(N)}try{return t.getDoc().queryCommandValue(N)}catch(L){}}function A(L,M){M=M||"exec";n(L,function(O,N){n(N.toLowerCase().split(","),function(P){w[M][P]=O})})}function z(M,N,L){M=M.toLowerCase();w.exec[M]=function(R,Q,P,O){return N.call(L||t,Q,P,O)}}function I(M){M=M.toLowerCase();if(w.exec[M]){return true}try{return t.getDoc().queryCommandSupported(M)}catch(L){}return false}function q(M,N,L){M=M.toLowerCase();w.state[M]=function(){return N.call(L||t)}}function r(M,N,L){M=M.toLowerCase();w.value[M]=function(){return N.call(L||t)}}function s(L){L=L.toLowerCase();return !!w.exec[L]}k(this,{execCommand:F,queryCommandState:v,queryCommandValue:C,queryCommandSupported:I,addCommands:A,addCommand:z,addQueryStateHandler:q,addQueryValueHandler:r,hasCustomCommand:s});function u(N,M,L){if(M===undefined){M=i}if(L===undefined){L=null}return t.getDoc().execCommand(N,M,L)}function H(L){return D.match(L)}function J(L,M){D.toggle(L,M?{value:M}:undefined);t.nodeChanged()}function B(L){x=K.getBookmark(L)}function y(){K.moveToBookmark(x)}A({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},"Cut,Copy,Paste":function(P){var N=t.getDoc(),L;try{u(P)}catch(M){L=f}if(L||!N.queryCommandSupported(P)){var O=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");if(j.mac){O=O.replace(/Ctrl\+/g,"\u2318+")}t.windowManager.alert(O)}},unlink:function(){if(K.isCollapsed()){var L=K.getNode();if(L.tagName=="A"){t.dom.remove(L,true)}return}D.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(L){var M=L.substring(7);if(M=="full"){M="justify"}n("left,center,right,justify".split(","),function(N){if(M!=N){D.remove("align"+N)}});J("align"+M);F("mceRepaint")},"InsertUnorderedList,InsertOrderedList":function(N){var L,M;u(N);L=E.getParent(K.getNode(),"ol,ul");if(L){M=L.parentNode;if(/^(H[1-6]|P|ADDRESS|PRE)$/.test(M.nodeName)){B();E.split(M,L);y()}}},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(L){J(L)},"ForeColor,HiliteColor,FontName":function(N,M,L){J(N,L)},FontSize:function(O,N,M){var L,P;if(M>=1&&M<=7){P=m(G.font_size_style_values);L=m(G.font_size_classes);if(L){M=L[M-1]||M}else{M=P[M-1]||M}}J(O,M)},RemoveFormat:function(L){D.remove(L)},mceBlockQuote:function(){J("blockquote")},FormatBlock:function(N,M,L){return J(L||"p")},mceCleanup:function(){var L=K.getBookmark();t.setContent(t.getContent({cleanup:f}),{cleanup:f});K.moveToBookmark(L)},mceRemoveNode:function(O,N,M){var L=M||K.getNode();if(L!=t.getBody()){B();t.dom.remove(L,f);y()}},mceSelectNodeDepth:function(O,N,M){var L=0;E.getParent(K.getNode(),function(P){if(P.nodeType==1&&L++==M){K.select(P);return i}},t.getBody())},mceSelectNode:function(N,M,L){K.select(L)},mceInsertContent:function(Q,ab,ac){var P,af,U,ag,M,O;var T,S,ad,L,W,R;var Z=t.schema.getTextInlineElements();function ae(al){var ak,aj,am;ak=K.getRng(true);aj=ak.startContainer;am=ak.startOffset;function ai(an){return aj[an]&&aj[an].nodeType==3}if(aj.nodeType==3){if(am>0){al=al.replace(/^ /," ")}else{if(!ai("previousSibling")){al=al.replace(/^ /," ")}}if(am<aj.length){al=al.replace(/ (<br>|)$/," ")}else{if(!ai("nextSibling")){al=al.replace(/( | )(<br>|)$/," ")}}}return al}function N(){var aj,ai,ak;aj=K.getRng(true);ai=aj.startContainer;ak=aj.startOffset;if(ai.nodeType==3&&aj.collapsed){if(ai.data[ak]==="\u00a0"){ai.deleteData(ak,1);if(!/[\u00a0| ]$/.test(ac)){ac+=" "}}else{if(ai.data[ak-1]==="\u00a0"){ai.deleteData(ak-1,1);if(!/[\u00a0| ]$/.test(ac)){ac=" "+ac}}}}}function V(ai){if(R){for(ad=ai.firstChild;ad;ad=ad.walk(true)){if(Z[ad.name]){ad.attr("data-mce-new","true")}}}}function ah(){if(R){var ai=t.getBody(),aj=new c(E);n(E.select("*[data-mce-new]"),function(al){al.removeAttribute("data-mce-new");for(var ak=al.parentNode;ak&&ak!=ai;ak=ak.parentNode){if(aj.compare(ak,al)){E.remove(al,true)}}})}}if(typeof ac!="string"){R=ac.merge;ac=ac.content}if(/^ | $/.test(ac)){ac=ae(ac)}P=t.parser;af=new l({},t.schema);W='<span id="mce_marker" data-mce-type="bookmark">​</span>';O={content:ac,format:"html",selection:true};t.fire("BeforeSetContent",O);ac=O.content;if(ac.indexOf("{$caret}")==-1){ac+="{$caret}"}ac=ac.replace(/\{\$caret\}/,W);S=K.getRng();var aa=S.startContainer||(S.parentElement?S.parentElement():null);var X=t.getBody();if(aa===X&&K.isCollapsed()){if(E.isBlock(X.firstChild)&&E.isEmpty(X.firstChild)){S=E.createRng();S.setStart(X.firstChild,0);S.setEnd(X.firstChild,0);K.setRng(S)}}if(!K.isCollapsed()){t.getDoc().execCommand("Delete",false,null);N()}U=K.getNode();var Y={context:U.nodeName.toLowerCase()};M=P.parse(ac,Y);V(M);ad=M.lastChild;if(ad.attr("id")=="mce_marker"){T=ad;for(ad=ad.prev;ad;ad=ad.walk(true)){if(ad.type==3||!E.isBlock(ad.name)){if(t.schema.isValidChild(ad.parent.name,"span")){ad.parent.insert(T,ad,ad.name==="br")}break}}}if(!Y.invalid){ac=af.serialize(M);ad=U.firstChild;L=U.lastChild;if(!ad||(ad===L&&ad.nodeName==="BR")){E.setHTML(U,ac)}else{K.setContent(ac)}}else{K.setContent(W);U=K.getNode();ag=t.getBody();if(U.nodeType==9){U=ad=ag}else{ad=U}while(ad!==ag){U=ad;ad=ad.parentNode}ac=U==ag?ag.innerHTML:E.getOuterHTML(U);ac=af.serialize(P.parse(ac.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return af.serialize(M)})));if(U==ag){E.setHTML(ag,ac)}else{E.setOuterHTML(U,ac)}}ah();T=E.get("mce_marker");K.scrollIntoView(T);S=E.createRng();ad=T.previousSibling;if(ad&&ad.nodeType==3){S.setStart(ad,ad.nodeValue.length);if(!d){L=T.nextSibling;if(L&&L.nodeType==3){ad.appendData(L.data);L.parentNode.removeChild(L)}}}else{S.setStartBefore(T);S.setEndBefore(T)}E.remove(T);K.setRng(S);t.fire("SetContent",O);t.addVisual()},mceInsertRawHTML:function(N,M,L){K.setContent("tiny_mce_marker");t.setContent(t.getContent().replace(/tiny_mce_marker/g,function(){return L}))},mceToggleFormat:function(N,M,L){J(L)},mceSetContent:function(N,M,L){t.setContent(L)},"Indent,Outdent":function(O){var M,L,N;M=G.indentation;L=/[a-z%]+$/i.exec(M);M=parseInt(M,10);if(!v("InsertUnorderedList")&&!v("InsertOrderedList")){if(!G.forced_root_block&&!E.getParent(K.getNode(),E.isBlock)){D.apply("div")}n(K.getSelectedBlocks(),function(Q){if(Q.nodeName!="LI"){var P=t.getParam("indent_use_margin",false)?"margin":"padding";P+=E.getStyle(Q,"direction",true)=="rtl"?"Right":"Left";if(O=="outdent"){N=Math.max(0,parseInt(Q.style[P]||0,10)-M);E.setStyle(Q,P,N?N+L:"")}else{N=(parseInt(Q.style[P]||0,10)+M)+L;E.setStyle(Q,P,N)}}})}else{u(O)}},mceRepaint:function(){if(a){try{B(f);if(K.getSel()){K.getSel().selectAllChildren(t.getBody())}K.collapse(f);y()}catch(L){}}},InsertHorizontalRule:function(){t.execCommand("mceInsertContent",false,"<hr />")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual;t.addVisual()},mceReplaceContent:function(N,M,L){t.execCommand("mceInsertContent",false,L.replace(/\{\$selection\}/g,K.getContent({format:"text"})))},mceInsertLink:function(O,N,M){var L;if(typeof M=="string"){M={href:M}}L=E.getParent(K.getNode(),"a");M.href=M.href.replace(" ","%20");if(!L||!M.href){D.remove("link")}if(M.href){D.apply("link",M,L)}},selectAll:function(){var M=E.getRoot(),L;if(K.getRng().setStart){L=E.createRng();L.setStart(M,0);L.setEnd(M,M.childNodes.length);K.setRng(L)}else{L=K.getRng();if(!L.item){L.moveToElementText(M);L.select()}}},"delete":function(){u("Delete");var L=t.getBody();if(E.isEmpty(L)){t.setContent("");if(L.firstChild&&E.isBlock(L.firstChild)){t.selection.setCursorLocation(L.firstChild,0)}else{t.selection.setCursorLocation(L,0)}}},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(N,X,Z){var W=Z;var L,U,S;var R=K.getRng(true);new h(E).normalize(R);var Q=R.startOffset;var V=R.startContainer;if(V.nodeType==1&&V.hasChildNodes()){var aa=Q>V.childNodes.length-1;V=V.childNodes[Math.min(Q,V.childNodes.length-1)]||V;if(aa&&V.nodeType==3){Q=V.nodeValue.length}else{Q=0}}var O=E.getParent(V,E.isBlock);var P=O?O.nodeName.toUpperCase():"";var M=O?E.getParent(O.parentNode,E.isBlock):null;var ab=M?M.nodeName.toUpperCase():"";var Y=W&&W.ctrlKey;if(ab=="LI"&&!Y){O=M;P=ab}function T(){var af=new o(V,O),ae;var ad=t.schema.getNonEmptyElements();while((ae=af.next())){if(ad[ae.nodeName.toLowerCase()]||ae.length>0){return true}}}if(V&&V.nodeType==3&&Q>=V.nodeValue.length){if(!g&&!T()){L=E.create("br");R.insertNode(L);R.setStartAfter(L);R.setEndAfter(L);U=true}}L=E.create("br");R.insertNode(L);var ac=E.doc.documentMode;if(g&&P=="PRE"&&(!ac||ac<8)){L.parentNode.insertBefore(E.doc.createTextNode("\r"),L)}S=E.create("span",{}," ");L.parentNode.insertBefore(S,L);K.scrollIntoView(S);E.remove(S);if(!U){R.setStartAfter(L);R.setEndAfter(L)}else{R.setStartBefore(L);R.setEndBefore(L)}K.setRng(R);t.undoManager.add();return f}});A({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(O){var M="align"+O.substring(7);var L=K.isCollapsed()?[E.getParent(K.getNode(),E.isBlock)]:K.getSelectedBlocks();var N=b(L,function(P){return !!D.matchNode(P,M)});return p(N,f)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(L){return H(L)},mceBlockQuote:function(){return H("blockquote")},Outdent:function(){var L;if(G.inline_styles){if((L=E.getParent(K.getStart(),E.isBlock))&&parseInt(L.style.paddingLeft,10)>0){return f}if((L=E.getParent(K.getEnd(),E.isBlock))&&parseInt(L.style.paddingLeft,10)>0){return f}}return(v("InsertUnorderedList")||v("InsertOrderedList")||(!G.inline_styles&&!!E.getParent(K.getNode(),"BLOCKQUOTE")))},"InsertUnorderedList,InsertOrderedList":function(M){var L=E.getParent(K.getNode(),"ul,ol");return L&&(M==="insertunorderedlist"&&L.tagName==="UL"||M==="insertorderedlist"&&L.tagName==="OL")}},"state");A({"FontSize,FontName":function(N){var M=0,L;if((L=E.getParent(K.getNode(),"span"))){if(N=="fontsize"){M=L.style.fontSize}else{M=L.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()}}return M}},"value");A({Undo:function(){t.undoManager.undo()},Redo:function(){t.undoManager.redo()}})}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/EditorManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/EditorManager",["tinymce/Editor","tinymce/dom/DomQuery","tinymce/dom/DOMUtils","tinymce/util/URI","tinymce/Env","tinymce/util/Tools","tinymce/util/Observable","tinymce/util/I18n","tinymce/FocusManager"],function(k,c,o,f,b,a,h,l,e){var q=o.DOM;var m=a.explode,d=a.each,p=a.extend;var r=0,i,j;function n(u){var v=j.editors,t;delete v[u.id];for(var s=0;s<v.length;s++){if(v[s]==u){v.splice(s,1);t=true;break}}if(j.activeEditor==u){j.activeEditor=v[0]}if(j.focusedEditor==u){j.focusedEditor=null}return t}function g(s){if(s&&!(s.getContainer()||s.getBody()).parentNode){n(s);s.unbindAllNativeEvents();s.destroy(true);s=null}return s}j={$:c,majorVersion:"@@majorVersion@@",minorVersion:"@@minorVersion@@",releaseDate:"@@releaseDate@@",editors:[],i18n:l,activeEditor:null,setup:function(){var v=this,x,t,y="",u,z;t=document.location.href;if(/^[^:]+:\/\/\/?[^\/]+\//.test(t)){t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(t)){t+="/"}}u=window.tinymce||window.tinyMCEPreInit;if(u){x=u.base||u.baseURL;y=u.suffix}else{var s=document.getElementsByTagName("script");for(var w=0;w<s.length;w++){z=s[w].src;if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(z)){if(z.indexOf(".min")!=-1){y=".min"}x=z.substring(0,z.lastIndexOf("/"));break}}if(!x&&document.currentScript){z=document.currentScript.src;if(z.indexOf(".min")!=-1){y=".min"}x=z.substring(0,z.lastIndexOf("/"))}}v.baseURL=new f(t).toAbsolute(x);v.documentBaseURL=t;v.baseURI=new f(v.baseURL);v.suffix=y;v.focusManager=new e(v)},init:function(x){var s=this,y=[];function w(B){var A=B.id;if(!A){A=B.name;if(A&&!q.get(A)){A=B.name}else{A=q.uniqueId()}B.setAttribute("id",A)}return A}function u(D,B,C){if(!g(s.get(D))){var A=new k(D,B,s);A.targetElm=A.targetElm||C;y.push(A);A.render()}}function z(A){var B=x[A];if(!B){return}return B.apply(s,Array.prototype.slice.call(arguments,2))}function v(B,A){return A.constructor===RegExp?A.test(B.className):q.hasClass(B,A)}function t(){var A,B;q.unbind(window,"ready",t);z("onpageload");if(x.types){d(x.types,function(C){d(q.select(C.selector),function(D){u(w(D),p({},x,C),D)})});return}else{if(x.selector){d(q.select(x.selector),function(C){u(w(C),x,C)});return}else{if(x.target){u(w(x.target),x)}}}switch(x.mode){case"exact":A=x.elements||"";if(A.length>0){d(m(A),function(D){var C;if((C=q.get(D))){u(D,x,C)}else{d(document.forms,function(E){d(E.elements,function(F){if(F.name===D){D="mce_editor_"+r++;q.setAttrib(F,"id",D);u(D,x,F)}})})}})}break;case"textareas":case"specific_textareas":d(q.select("textarea"),function(C){if(x.editor_deselector&&v(C,x.editor_deselector)){return}if(!x.editor_selector||v(C,x.editor_selector)){u(w(C),x,C)}});break}if(x.oninit){A=B=0;d(y,function(C){B++;if(!C.initialized){C.on("init",function(){A++;if(A==B){z("oninit")}})}else{A++}if(A==B){z("oninit")}})}}s.settings=x;q.bind(window,"ready",t)},get:function(s){if(!arguments.length){return this.editors}return s in this.editors?this.editors[s]:null},add:function(t){var s=this,u=s.editors;u[t.id]=t;u.push(t);s.activeEditor=t;s.fire("AddEditor",{editor:t});if(!i){i=function(){s.fire("BeforeUnload")};q.bind(window,"beforeunload",i)}return t},createEditor:function(t,s){return this.add(new k(t,s,this))},remove:function(s){var t=this,u,w=t.editors,v;if(!s){for(u=w.length-1;u>=0;u--){t.remove(w[u])}return}if(typeof s=="string"){s=s.selector||s;d(q.select(s),function(x){v=w[x.id];if(v){t.remove(v)}});return}v=s;if(!w[v.id]){return null}if(n(v)){t.fire("RemoveEditor",{editor:v})}if(!w.length){q.unbind(window,"beforeunload",i)}v.remove();return v},execCommand:function(w,v,u){var s=this,t=s.get(u);switch(w){case"mceAddEditor":if(!s.get(u)){new k(u,s.settings,s).render()}return true;case"mceRemoveEditor":if(t){t.remove()}return true;case"mceToggleEditor":if(!t){s.execCommand("mceAddEditor",0,u);return true}if(t.isHidden()){t.show()}else{t.hide()}return true}if(s.activeEditor){return s.activeEditor.execCommand(w,v,u)}return false},triggerSave:function(){d(this.editors,function(s){s.save()})},addI18n:function(t,s){l.add(t,s)},translate:function(s){return l.translate(s)},setActive:function(s){var t=this.activeEditor;if(this.activeEditor!=s){if(t){t.fire("deactivate",{relatedTarget:s})}s.fire("activate",{relatedTarget:t})}this.activeEditor=s}};p(j,h);j.setup();window.tinymce=window.tinyMCE=j;return j});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/EditorObservable.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/EditorObservable",["tinymce/util/Observable","tinymce/dom/DOMUtils","tinymce/util/Tools"],function(a,f,c){var d=f.DOM,b;function g(j,i){if(i=="selectionchange"){return j.getDoc()}if(!j.inline&&/^mouse|click|contextmenu|drop|dragover|dragend/.test(i)){return j.getDoc().documentElement}if(j.settings.event_root){if(!j.eventRoot){j.eventRoot=d.select(j.settings.event_root)[0]}return j.eventRoot}return j.getBody()}function e(k,i){var l=g(k,i),j;if(!k.delegates){k.delegates={}}if(k.delegates[i]){return}if(k.settings.event_root){if(!b){b={};k.editorManager.on("removeEditor",function(){var m;if(!k.editorManager.activeEditor){if(b){for(m in b){k.dom.unbind(g(k,m))}b=null}}})}if(b[i]){return}j=function(q){var p=q.target,o=k.editorManager.editors,n=o.length;while(n--){var m=o[n].getBody();if(m===p||d.isChildOf(p,m)){if(!o[n].hidden){o[n].fire(i,q)}}}};b[i]=j;d.bind(l,i,j)}else{j=function(m){if(!k.hidden){k.fire(i,m)}};d.bind(l,i,j);k.delegates[i]=j}}var h={bindPendingEventDelegates:function(){var i=this;c.each(i._pendingNativeEvents,function(j){e(i,j)})},toggleNativeEvent:function(j,k){var i=this;if(i.settings.readonly){return}if(j=="focus"||j=="blur"){return}if(k){if(i.initialized){e(i,j)}else{if(!i._pendingNativeEvents){i._pendingNativeEvents=[j]}else{i._pendingNativeEvents.push(j)}}}else{if(i.initialized){i.dom.unbind(g(i,j),j,i.delegates[j]);delete i.delegates[j]}}},unbindAllNativeEvents:function(){var i=this,j;if(i.delegates){for(j in i.delegates){i.dom.unbind(g(i,j),j,i.delegates[j])}delete i.delegates}if(!i.inline){i.getBody().onload=null;i.dom.unbind(i.getWin());i.dom.unbind(i.getDoc())}i.dom.unbind(i.getBody());i.dom.unbind(i.getContainer())}};h=c.extend({},a,h);return h});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/EnterKey.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/EnterKey",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/Env"],function(b,d,a){var c=a.ie&&a.ie<11;return function(j){var g=j.dom,k=j.selection,e=j.settings;var m=j.undoManager,f=j.schema,h=f.getNonEmptyElements(),l=f.getMoveCaretBeforeOnEnterElements();function i(E){var z,J,n,D,y,t,P,F,s,o,r,x,M,B,G;function H(Q){return Q&&g.isBlock(Q)&&!/^(TD|TH|CAPTION|FORM)$/.test(Q.nodeName)&&!/^(fixed|absolute)/i.test(Q.style.position)&&g.getContentEditable(Q)!=="true"}function I(R){var Q;if(g.isBlock(R)){Q=k.getRng();R.appendChild(g.create("span",null,"\u00a0"));k.select(R);R.lastChild.outerHTML="";k.setRng(Q)}}function C(S){var R=S,T=[],Q;if(!R){return}while((R=R.firstChild)){if(g.isBlock(R)){return}if(R.nodeType==1&&!h[R.nodeName.toLowerCase()]){T.push(R)}}Q=T.length;while(Q--){R=T[Q];if(!R.hasChildNodes()||(R.firstChild==R.lastChild&&R.firstChild.nodeValue==="")){g.remove(R)}else{if(R.nodeName=="A"&&(R.innerText||R.textContent)===" "){g.remove(R)}}}}function q(R){var X,U,Q,T=R,S;function W(Y){while(Y){if(Y.nodeType==1||(Y.nodeType==3&&Y.data&&/[\r\n\s]/.test(Y.data))){return Y}Y=Y.nextSibling}}if(!R){return}if(a.ie&&a.ie<9&&t&&t.firstChild){if(t.firstChild==t.lastChild&&t.firstChild.tagName=="BR"){g.remove(t.firstChild)}}if(/^(LI|DT|DD)$/.test(R.nodeName)){var V=W(R.firstChild);if(V&&/^(UL|OL|DL)$/.test(V.nodeName)){R.insertBefore(g.doc.createTextNode("\u00a0"),R.firstChild)}}Q=g.createRng();if(!a.ie){R.normalize()}if(R.hasChildNodes()){X=new b(R,R);while((U=X.current())){if(U.nodeType==3){Q.setStart(U,0);Q.setEnd(U,0);break}if(l[U.nodeName.toLowerCase()]){Q.setStartBefore(U);Q.setEndBefore(U);break}T=U;U=X.next()}if(!U){Q.setStart(T,0);Q.setEnd(T,0)}}else{if(R.nodeName=="BR"){if(R.nextSibling&&g.isBlock(R.nextSibling)){if(!P||P<9){S=g.create("br");R.parentNode.insertBefore(S,R)}Q.setStartBefore(R);Q.setEndBefore(R)}else{Q.setStartAfter(R);Q.setEndAfter(R)}}else{Q.setStart(R,0);Q.setEnd(R,0)}}k.setRng(Q);g.remove(S);k.scrollIntoView(R)}function A(R){var Q=e.forced_root_block;if(Q&&Q.toLowerCase()===R.tagName.toLowerCase()){g.setAttribs(R,e.forced_root_block_attrs)}}function v(R){var T=D,V,U,Q,S=f.getTextInlineElements();if(R||x=="TABLE"){V=g.create(R||B);A(V)}else{V=t.cloneNode(false)}Q=V;if(e.keep_styles!==false){do{if(S[T.nodeName]){if(T.id=="_mce_caret"){continue}U=T.cloneNode(false);g.setAttrib(U,"id","");if(V.hasChildNodes()){U.appendChild(V.firstChild);V.appendChild(U)}else{Q=U;V.appendChild(U)}}}while((T=T.parentNode))}if(!c){Q.innerHTML='<br data-mce-bogus="1">'}return V}function u(T){var S,R,Q;if(D.nodeType==3&&(T?y>0:y<D.nodeValue.length)){return false}if(D.parentNode==t&&G&&!T){return true}if(T&&D.nodeType==1&&D==t.firstChild){return true}if(D.nodeName==="TABLE"||(D.previousSibling&&D.previousSibling.nodeName=="TABLE")){return(G&&!T)||(!G&&T)}S=new b(D,t);if(D.nodeType==3){if(T&&y===0){S.prev()}else{if(!T&&y==D.nodeValue.length){S.next()}}}while((R=S.current())){if(R.nodeType===1){if(!R.getAttribute("data-mce-bogus")){Q=R.nodeName.toLowerCase();if(h[Q]&&Q!=="br"){return false}}}else{if(R.nodeType===3&&!/^[ \t\r\n]*$/.test(R.nodeValue)){return false}}if(T){S.prev()}else{S.next()}}return true}function p(R,V){var X,S,T,U,W,Q,Y=B||"P";S=g.getParent(R,g.isBlock);Q=j.getBody().nodeName.toLowerCase();if(!S||!H(S)){S=S||n;if(!S.hasChildNodes()){X=g.create(Y);A(X);S.appendChild(X);z.setStart(X,0);z.setEnd(X,0);return X}U=R;while(U.parentNode!=S){U=U.parentNode}while(U&&!g.isBlock(U)){T=U;U=U.previousSibling}if(T&&f.isValidChild(Q,Y.toLowerCase())){X=g.create(Y);A(X);T.parentNode.insertBefore(X,T);U=T;while(U&&!g.isBlock(U)){W=U.nextSibling;X.appendChild(U);U=W}z.setStart(R,V);z.setEnd(R,V)}}return R}function K(){function R(U){var T=r[U?"firstChild":"lastChild"];while(T){if(T.nodeType==1){break}T=T[U?"nextSibling":"previousSibling"]}return T===t}function S(){var T=r.parentNode;if(/^(LI|DT|DD)$/.test(T.nodeName)){return T}return r}var Q=r.parentNode.nodeName;if(/^(OL|UL|LI)$/.test(Q)){B="LI"}s=B?v(B):g.create("BR");if(R(true)&&R()){if(Q=="LI"){g.insertAfter(s,S())}else{g.replace(s,r)}}else{if(R(true)){if(Q=="LI"){g.insertAfter(s,S());s.appendChild(g.doc.createTextNode(" "));s.appendChild(r)}else{r.parentNode.insertBefore(s,r)}}else{if(R()){g.insertAfter(s,S());I(s)}else{r=S();J=z.cloneRange();J.setStartAfter(t);J.setEndAfter(r);o=J.extractContents();if(B=="LI"&&o.firstChild.nodeName=="LI"){s=o.firstChild;g.insertAfter(o,r)}else{g.insertAfter(o,r);g.insertAfter(s,r)}}}}g.remove(t);q(s);m.add()}function O(){j.execCommand("InsertLineBreak",false,E)}function w(Q){do{if(Q.nodeType===3){Q.nodeValue=Q.nodeValue.replace(/^[\r\n]+/,"")}Q=Q.firstChild}while(Q)}function N(S){var Q=g.getRoot(),R,T;R=S;while(R!==Q&&g.getContentEditable(R)!=="false"){if(g.getContentEditable(R)==="true"){T=R}R=R.parentNode}return R!==Q?T:Q}function L(R){var Q;if(!c){R.normalize();Q=R.lastChild;if(!Q||(/^(left|right)$/gi.test(g.getStyle(Q,"float",true)))){g.add(R,"br")}}}z=k.getRng(true);if(E.isDefaultPrevented()){return}if(!z.collapsed){j.execCommand("Delete");return}new d(g).normalize(z);D=z.startContainer;y=z.startOffset;B=(e.force_p_newlines?"p":"")||e.forced_root_block;B=B?B.toUpperCase():"";P=g.doc.documentMode;F=E.shiftKey;if(D.nodeType==1&&D.hasChildNodes()){G=y>D.childNodes.length-1;D=D.childNodes[Math.min(y,D.childNodes.length-1)]||D;if(G&&D.nodeType==3){y=D.nodeValue.length}else{y=0}}n=N(D);if(!n){return}m.beforeChange();if(!g.isBlock(n)&&n!=g.getRoot()){if(!B||F){O()}return}if((B&&!F)||(!B&&F)){D=p(D,y)}t=g.getParent(D,g.isBlock);r=t?g.getParent(t.parentNode,g.isBlock):null;x=t?t.nodeName.toUpperCase():"";M=r?r.nodeName.toUpperCase():"";if(M=="LI"&&!E.ctrlKey){t=r;x=M}if(/^(LI|DT|DD)$/.test(x)){if(!B&&F){O();return}if(g.isEmpty(t)){K();return}}if(x=="PRE"&&e.br_in_pre!==false){if(!F){O();return}}else{if((!B&&!F&&x!="LI")||(B&&F)){O();return}}if(B&&t===j.getBody()){return}B=B||"P";if(u()){if(/^(H[1-6]|PRE|FIGURE)$/.test(x)&&M!="HGROUP"){s=v(B)}else{s=v()}if(e.end_container_on_empty_block&&H(r)&&g.isEmpty(t)){s=g.split(r,t)}else{g.insertAfter(s,t)}q(s)}else{if(u(true)){s=t.parentNode.insertBefore(v(),t);I(s);q(t)}else{J=z.cloneRange();J.setEndAfter(t);o=J.extractContents();w(o);s=o.firstChild;g.insertAfter(o,t);C(s);L(t);q(s)}}g.setAttrib(s,"id","");j.fire("NewBlock",{newBlock:s});m.add()}j.on("keydown",function(n){if(n.keyCode==13){if(i(n)!==false){n.preventDefault()}}})}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/Env.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/Env",[],function(){var a=navigator,l=a.userAgent;var e,k,b,h,g,d,j,f,c;e=window.opera&&window.opera.buildNumber;c=/Android/.test(l);k=/WebKit/.test(l);b=!k&&!e&&(/MSIE/gi).test(l)&&(/Explorer/gi).test(a.appName);b=b&&/MSIE (\w+)\./.exec(l)[1];h=l.indexOf("Trident/")!=-1&&(l.indexOf("rv:")!=-1||a.appName.indexOf("Netscape")!=-1)?11:false;g=(document.msElementsFromPoint&&!b&&!h)?12:false;b=b||h||g;d=!k&&!h&&/Gecko/.test(l);j=l.indexOf("Mac")!=-1;f=/(iPad|iPhone)/.test(l);if(g){k=false}var i=!f||l.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:e,webkit:k,ie:b,gecko:d,mac:j,iOS:f,android:c,contentEditable:i,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:b!=8,range:window.getSelection&&"Range" in window,documentMode:b&&!g?(document.documentMode||7):10}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/FocusManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/FocusManager",["tinymce/dom/DOMUtils","tinymce/Env"],function(g,b){var c,e,d,f=g.DOM;function a(n){function i(){try{return document.activeElement}catch(o){return document.body}}function m(p,o){if(o&&o.startContainer){if(!p.isChildOf(o.startContainer,p.getRoot())||!p.isChildOf(o.endContainer,p.getRoot())){return}return{startContainer:o.startContainer,startOffset:o.startOffset,endContainer:o.endContainer,endOffset:o.endOffset}}return o}function h(q,p){var o;if(p.startContainer){o=q.getDoc().createRange();o.setStart(p.startContainer,p.startOffset);o.setEnd(p.endContainer,p.endOffset)}else{o=p}return o}function l(o){return !!f.getParent(o,a.isEditorUIElement)}function j(p){var o=p.editor;o.on("init",function(){if(o.inline||b.ie){if("onbeforedeactivate" in document&&b.ie<9){o.dom.bind(o.getBody(),"beforedeactivate",function(r){if(r.target!=o.getBody()){return}try{o.lastRng=o.selection.getRng()}catch(q){}})}else{o.on("nodechange mouseup keyup",function(r){var q=i();if(r.type=="nodechange"&&r.selectionChange){return}if(q&&q.id==o.id+"_ifr"){q=o.getBody()}if(o.dom.isChildOf(q,o.getBody())){o.lastRng=o.selection.getRng()}})}if(b.webkit&&!c){c=function(){var r=n.activeEditor;if(r&&r.selection){var q=r.selection.getRng();if(q&&!q.collapsed){o.lastRng=q}}};f.bind(document,"selectionchange",c)}}});o.on("setcontent",function(){o.lastRng=null});o.on("mousedown",function(){o.selection.lastFocusBookmark=null});o.on("focusin",function(){var q=n.focusedEditor;if(o.selection.lastFocusBookmark){o.selection.setRng(h(o,o.selection.lastFocusBookmark));o.selection.lastFocusBookmark=null}if(q!=o){if(q){q.fire("blur",{focusedEditor:o})}n.setActive(o);n.focusedEditor=o;o.fire("focus",{blurredEditor:q});o.focus(true)}o.lastRng=null});o.on("focusout",function(){window.setTimeout(function(){var q=n.focusedEditor;if(!l(i())&&q==o){o.fire("blur",{focusedEditor:null});n.focusedEditor=null;if(o.selection){o.selection.lastFocusBookmark=null}}},0)});if(!e){e=function(r){var q=n.activeEditor;if(q&&r.target.ownerDocument==document){if(q.selection&&r.target!=q.getBody()){q.selection.lastFocusBookmark=m(q.dom,q.lastRng)}if(r.target!=document.body&&!l(r.target)&&n.focusedEditor==q){q.fire("blur",{focusedEditor:null});n.focusedEditor=null}}};f.bind(document,"focusin",e)}if(o.inline&&!d){d=function(s){var r=n.activeEditor;if(r.inline&&!r.dom.isChildOf(s.target,r.getBody())){var q=r.selection.getRng();if(!q.collapsed){r.lastRng=q}}};f.bind(document,"mouseup",d)}}function k(o){if(n.focusedEditor==o.editor){n.focusedEditor=null}if(!n.activeEditor){f.unbind(document,"selectionchange",c);f.unbind(document,"focusin",e);f.unbind(document,"mouseup",d);c=e=d=null}}n.on("AddEditor",j);n.on("RemoveEditor",k)}a.isEditorUIElement=function(h){return h.className.toString().indexOf("mce-")!==-1};return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ForceBlocks.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ForceBlocks",[],function(){return function(c){var b=c.settings,f=c.dom,a=c.selection;var e=c.schema,d=e.getBlockElements();function g(){var m=a.getStart(),k=c.getBody(),h;var n,s,w,u,l;var o,p=-16777215,t,i;var v,j,r;r=b.forced_root_block;if(!m||m.nodeType!==1||!r){return}while(m&&m!=k){if(d[m.nodeName]){return}m=m.parentNode}h=a.getRng();if(h.setStart){n=h.startContainer;s=h.startOffset;w=h.endContainer;u=h.endOffset;try{i=c.getDoc().activeElement===k}catch(q){}}else{if(h.item){m=h.item(0);h=c.getDoc().body.createTextRange();h.moveToElementText(m)}i=h.parentElement().ownerDocument===c.getDoc();v=h.duplicate();v.collapse(true);s=v.move("character",p)*-1;if(!v.collapsed){v=h.duplicate();v.collapse(false);u=(v.move("character",p)*-1)-s}}m=k.firstChild;j=k.nodeName.toLowerCase();while(m){if(((m.nodeType===3||(m.nodeType==1&&!d[m.nodeName])))&&e.isValidChild(j,r.toLowerCase())){if(m.nodeType===3&&m.nodeValue.length===0){o=m;m=m.nextSibling;f.remove(o);continue}if(!l){l=f.create(r,c.settings.forced_root_block_attrs);m.parentNode.insertBefore(l,m);t=true}o=m;m=m.nextSibling;l.appendChild(o)}else{l=null;m=m.nextSibling}}if(t&&i){if(h.setStart){h.setStart(n,s);h.setEnd(w,u);a.setRng(h)}else{try{h=c.getDoc().body.createTextRange();h.moveToElementText(k);h.collapse(true);h.moveStart("character",s);if(u>0){h.moveEnd("character",u)}h.select()}catch(q){}}c.nodeChanged()}}if(b.forced_root_block){c.on("NodeChange",g)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/Formatter.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/Formatter",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/ElementUtils","tinymce/util/Tools","tinymce/fmt/Preview"],function(d,e,a,c,b,f){return function(am){var Z={},h=am.dom,A=am.selection,W=new e(h),j=am.schema.isValidChild,Q=h.isBlock,t=am.settings.forced_root_block,C=h.nodeIndex,O="\uFEFF",k=/^(src|href|style)$/,ah=false,K=true,Y,L,F=h.getContentEditable,P,r,T=a.isBookmarkNode;var ac=b.each,ak=b.grep,x=b.walk,y=b.extend;function R(an){if(an.nodeType){an=an.nodeName}return !!am.schema.getTextBlockElements()[an.toLowerCase()]}function ae(an){return/^(TH|TD)$/.test(an.nodeName)}function u(ao,an){return h.getParents(ao,an,h.getRoot())}function g(an){return an.nodeType===1&&an.id==="_mce_caret"}function p(){s({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},defaultBlock:"div"},{selector:"img",collapsed:false,styles:{display:"block",marginLeft:"auto",marginRight:"auto"}},{selector:"table",collapsed:false,styles:{marginLeft:"auto",marginRight:"auto"}}],alignright:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},defaultBlock:"div"},{selector:"img,table",collapsed:false,styles:{"float":"right"}}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},defaultBlock:"div"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:true},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:true},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:true,remove_similar:true},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:true,remove_similar:true},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:true,deep:true,onmatch:function(){return true},onformat:function(ap,an,ao){ac(ao,function(ar,aq){h.setAttrib(ap,aq,ar)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:true,expand:false,block_expand:true,deep:true},{selector:"span",attributes:["style","class"],remove:"empty",split:true,expand:false,deep:true},{selector:"*",attributes:["style","class"],split:false,expand:false,deep:true}]});ac("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(an){s(an,{block:an,remove:"all"})});s(am.settings.formats)}function ag(){am.addShortcut("meta+b","bold_desc","Bold");am.addShortcut("meta+i","italic_desc","Italic");am.addShortcut("meta+u","underline_desc","Underline");for(var an=1;an<=6;an++){am.addShortcut("access+"+an,"",["FormatBlock",false,"h"+an])}am.addShortcut("access+7","",["FormatBlock",false,"p"]);am.addShortcut("access+8","",["FormatBlock",false,"div"]);am.addShortcut("access+9","",["FormatBlock",false,"address"])}function af(an){return an?Z[an]:Z}function s(an,ao){if(an){if(typeof an!=="string"){ac(an,function(aq,ap){s(ap,aq)})}else{ao=ao.length?ao:[ao];ac(ao,function(ap){if(ap.deep===L){ap.deep=!ap.selector}if(ap.split===L){ap.split=!ap.selector||ap.inline}if(ap.remove===L&&ap.selector&&!ap.inline){ap.remove="none"}if(ap.selector&&ap.inline){ap.mixed=true;ap.block_expand=true}if(typeof ap.classes==="string"){ap.classes=ap.classes.split(/\s+/)}});Z[an]=ao}}}function G(an){if(an&&Z[an]){delete Z[an]}return Z}function o(ao){var an;am.dom.getParent(ao,function(ap){an=am.dom.getStyle(ap,"text-decoration");return an&&an!=="none"});return an}function U(an){var ao;if(an.nodeType===1&&an.parentNode&&an.parentNode.nodeType===1){ao=o(an.parentNode);if(am.dom.getStyle(an,"color")&&ao){am.dom.setStyle(an,"text-decoration",ao)}else{if(am.dom.getStyle(an,"text-decoration")===ao){am.dom.setStyle(an,"text-decoration",null)}}}}function aj(ap,aw,ar){var at=af(ap),ax=at[0],av,ao,au=!ar&&A.isCollapsed();function an(aC,aA){aA=aA||ax;if(aC){if(aA.onformat){aA.onformat(aC,aA,aw,ar)}ac(aA.styles,function(aE,aD){h.setStyle(aC,aD,z(aE,aw))});if(aA.styles){var aB=h.getAttrib(aC,"style");if(aB){aC.setAttribute("data-mce-style",aB)}}ac(aA.attributes,function(aE,aD){h.setAttrib(aC,aD,z(aE,aw))});ac(aA.classes,function(aD){aD=z(aD,aw);if(!h.hasClass(aC,aD)){h.addClass(aC,aD)}})}}function aq(){function aC(aI,aG){var aH=new d(aG);for(ar=aH.current();ar;ar=aH.prev()){if(ar.childNodes.length>1||ar==aI||ar.tagName=="BR"){return ar}}}var aB=am.selection.getRng();var aF=aB.startContainer;var aA=aB.endContainer;if(aF!=aA&&aB.endOffset===0){var aE=aC(aF,aA);var aD=aE.nodeType==3?aE.length:aE.childNodes.length;aB.setEnd(aE,aD)}return aB}function ay(aB,aD,aG){var aA=[],aF,aC,aE=true;aF=ax.inline||ax.block;aC=h.create(aF);an(aC);W.walk(aB,function(aH){var aI;function aJ(aK){var aP,aN,aL,aM,aO;aO=aE;aP=aK.nodeName.toLowerCase();aN=aK.parentNode.nodeName.toLowerCase();if(aK.nodeType===1&&F(aK)){aO=aE;aE=F(aK)==="true";aM=true}if(m(aP,"br")){aI=0;if(ax.block){h.remove(aK)}return}if(ax.wrapper&&H(aK,ap,aw)){aI=0;return}if(aE&&!aM&&ax.block&&!ax.wrapper&&R(aP)&&j(aN,aF)){aK=h.rename(aK,aF);an(aK);aA.push(aK);aI=0;return}if(ax.selector){ac(at,function(aQ){if("collapsed" in aQ&&aQ.collapsed!==au){return}if(h.is(aK,aQ.selector)&&!g(aK)){an(aK,aQ);aL=true}});if(!ax.inline||aL){aI=0;return}}if(aE&&!aM&&j(aF,aP)&&j(aN,aF)&&!(!aG&&aK.nodeType===3&&aK.nodeValue.length===1&&aK.nodeValue.charCodeAt(0)===65279)&&!g(aK)&&(!ax.inline||!Q(aK))){if(!aI){aI=h.clone(aC,ah);aK.parentNode.insertBefore(aI,aK);aA.push(aI)}aI.appendChild(aK)}else{aI=0;ac(ak(aK.childNodes),aJ);if(aM){aE=aO}aI=0}}ac(aH,aJ)});if(ax.links===true){ac(aA,function(aH){function aI(aJ){if(aJ.nodeName==="A"){an(aJ,ax)}ac(ak(aJ.childNodes),aI)}aI(aH)})}ac(aA,function(aJ){var aH;function aK(aM){var aL=0;ac(aM.childNodes,function(aN){if(!l(aN)&&!T(aN)){aL++}});return aL}function aI(aL){var aN,aM;ac(aL.childNodes,function(aO){if(aO.nodeType==1&&!T(aO)&&!g(aO)){aN=aO;return ah}});if(aN&&!T(aN)&&n(aN,ax)){aM=h.clone(aN,ah);an(aM);h.replace(aM,aL,K);h.remove(aN,1)}return aM||aL}aH=aK(aJ);if((aA.length>1||!Q(aJ))&&aH===0){h.remove(aJ,1);return}if(ax.inline||ax.wrapper){if(!ax.exact&&aH===1){aJ=aI(aJ)}ac(at,function(aL){ac(h.select(aL.inline,aJ),function(aM){if(T(aM)){return}al(aL,aw,aM,aL.exact?aM:null)})});if(H(aJ.parentNode,ap,aw)){h.remove(aJ,1);aJ=0;return K}if(ax.merge_with_parents){h.getParent(aJ.parentNode,function(aL){if(H(aL,ap,aw)){h.remove(aJ,1);aJ=0;return K}})}if(aJ&&ax.merge_siblings!==false){aJ=D(M(aJ),aJ);aJ=D(aJ,M(aJ,K))}}})}if(ax){if(ar){if(ar.nodeType){ao=h.createRng();ao.setStartBefore(ar);ao.setEndAfter(ar);ay(w(ao,at),null,true)}else{ay(ar,null,true)}}else{if(!au||!ax.inline||h.select("td.mce-item-selected,th.mce-item-selected").length){var az=am.selection.getNode();if(!t&&at[0].defaultBlock&&!h.getParent(az,h.isBlock)){aj(at[0].defaultBlock)}am.selection.setRng(aq());av=A.getBookmark();ay(w(A.getRng(K),at),av);if(ax.styles&&(ax.styles.color||ax.styles.textDecoration)){x(az,U,"childNodes");U(az)}A.moveToBookmark(av);aa(A.getRng(K));am.nodeChanged()}else{ad("apply",ap,aw)}}}}function J(ap,az,ar,av){var at=af(ap),aB=at[0],ax,ao,ay=true;function aq(aG){var aF,aE,aD,aI,aH;if(aG.nodeType===1&&F(aG)){aI=ay;ay=F(aG)==="true";aH=true}aF=ak(aG.childNodes);if(ay&&!aH){for(aE=0,aD=at.length;aE<aD;aE++){if(al(at[aE],az,aG,aG)){break}}}if(aB.deep){if(aF.length){for(aE=0,aD=aF.length;aE<aD;aE++){aq(aF[aE])}if(aH){ay=aI}}}}function au(aD){var aE;ac(u(aD.parentNode).reverse(),function(aF){var aG;if(!aE&&aF.id!="_start"&&aF.id!="_end"){aG=H(aF,ap,az,av);if(aG&&aG.split!==false){aE=aF}}});return aE}function an(aH,aD,aI,aL){var aM,aK,aJ,aF,aG,aE;if(aH){aE=aH.parentNode;for(aM=aD.parentNode;aM&&aM!=aE;aM=aM.parentNode){aK=h.clone(aM,ah);for(aG=0;aG<at.length;aG++){if(al(at[aG],az,aK,aK)){aK=0;break}}if(aK){if(aJ){aK.appendChild(aJ)}if(!aF){aF=aK}aJ=aK}}if(aL&&(!aB.mixed||!Q(aH))){aD=h.split(aH,aD)}if(aJ){aI.parentNode.insertBefore(aJ,aI);aF.appendChild(aI)}}return aD}function aA(aD){return an(au(aD),aD,aD,true)}function aw(aF){var aE=h.get(aF?"_start":"_end"),aD=aE[aF?"firstChild":"lastChild"];if(T(aD)){aD=aD[aF?"firstChild":"lastChild"]}if(aD.nodeType==3&&aD.data.length===0){aD=aF?aE.previousSibling||aE.nextSibling:aE.nextSibling||aE.previousSibling}h.remove(aE,true);return aD}function aC(aD){var aE,aF;var aG=aD.commonAncestorContainer;aD=w(aD,at,K);if(aB.split){aE=V(aD,K);aF=V(aD);if(aE!=aF){if(/^(TR|TH|TD)$/.test(aE.nodeName)&&aE.firstChild){if(aE.nodeName=="TR"){aE=aE.firstChild.firstChild||aE}else{aE=aE.firstChild||aE}}if(aG&&/^T(HEAD|BODY|FOOT|R)$/.test(aG.nodeName)&&ae(aF)&&aF.firstChild){aF=aF.firstChild||aF}if(h.isChildOf(aE,aF)&&!ae(aE)&&!ae(aF)){aE=ab(aE,"span",{id:"_start","data-mce-type":"bookmark"});aA(aE);aE=aw(K);return}else{aE=ab(aE,"span",{id:"_start","data-mce-type":"bookmark"});aF=ab(aF,"span",{id:"_end","data-mce-type":"bookmark"});aA(aE);aA(aF);aE=aw(K);aF=aw()}}else{aE=aF=aA(aE)}aD.startContainer=aE.parentNode?aE.parentNode:aE;aD.startOffset=C(aE);aD.endContainer=aF.parentNode?aF.parentNode:aF;aD.endOffset=C(aF)+1}W.walk(aD,function(aH){ac(aH,function(aI){aq(aI);if(aI.nodeType===1&&am.dom.getStyle(aI,"text-decoration")==="underline"&&aI.parentNode&&o(aI.parentNode)==="underline"){al({deep:false,exact:true,inline:"span",styles:{textDecoration:"underline"}},null,aI)}})})}if(ar){if(ar.nodeType){ao=h.createRng();ao.setStartBefore(ar);ao.setEndAfter(ar);aC(ao)}else{aC(ar)}return}if(!A.isCollapsed()||!aB.inline||h.select("td.mce-item-selected,th.mce-item-selected").length){ax=A.getBookmark();aC(A.getRng(K));A.moveToBookmark(ax);if(aB.inline&&q(ap,az,A.getStart())){aa(A.getRng(true))}am.nodeChanged()}else{ad("remove",ap,az,av)}}function N(ao,aq,ap){var an=af(ao);if(q(ao,aq,ap)&&(!("toggle" in an[0])||an[0].toggle)){J(ao,aq,ap)}else{aj(ao,aq,ap)}}function H(ao,an,au,ar){var ap=af(an),av,at,aq;function aw(aA,aC,aD){var az,aB,ax=aC[aD],ay;if(aC.onmatch){return aC.onmatch(aA,aC,aD)}if(ax){if(ax.length===L){for(az in ax){if(ax.hasOwnProperty(az)){if(aD==="attributes"){aB=h.getAttrib(aA,az)}else{aB=X(aA,az)}if(ar&&!aB&&!aC.exact){return}if((!ar||aC.exact)&&!m(aB,B(z(ax[az],au),az))){return}}}}else{for(ay=0;ay<ax.length;ay++){if(aD==="attributes"?h.getAttrib(aA,ax[ay]):X(aA,ax[ay])){return aC}}}}return aC}if(ap&&ao){for(at=0;at<ap.length;at++){av=ap[at];if(n(ao,av)&&aw(ao,av,"attributes")&&aw(ao,av,"styles")){if((aq=av.classes)){for(at=0;at<aq.length;at++){if(!h.hasClass(ao,aq[at])){return}}}return av}}}}function q(ap,ar,aq){var ao;function an(au){var at=h.getRoot();if(au===at){return false}au=h.getParent(au,function(av){return av.parentNode===at||!!H(av,ap,ar,true)});return H(au,ap,ar)}if(aq){return an(aq)}aq=A.getNode();if(an(aq)){return K}ao=A.getStart();if(ao!=aq){if(an(ao)){return K}}return ah}function E(ar,aq){var ao,ap=[],an={};ao=A.getStart();h.getParent(ao,function(av){var au,at;for(au=0;au<ar.length;au++){at=ar[au];if(!an[at]&&H(av,at,aq)){an[at]=true;ap.push(at)}}},h.getRoot());return ap}function I(ar){var au=af(ar),aq,ap,at,ao,an;if(au){aq=A.getStart();ap=u(aq);for(ao=au.length-1;ao>=0;ao--){an=au[ao].selector;if(!an||au[ao].defaultBlock){return K}for(at=ap.length-1;at>=0;at--){if(h.is(ap[at],an)){return K}}}}return ah}function S(an,aq,ao){var ap;if(!Y){Y={};ap={};am.on("NodeChange",function(at){var ar=u(at.element),au={};ar=b.grep(ar,function(av){return av.nodeType==1&&!av.getAttribute("data-mce-bogus")});ac(Y,function(av,aw){ac(ar,function(ax){if(H(ax,aw,{},av.similar)){if(!ap[aw]){ac(av,function(ay){ay(true,{node:ax,format:aw,parents:ar})});ap[aw]=av}au[aw]=av;return false}})});ac(ap,function(av,aw){if(!au[aw]){delete ap[aw];ac(av,function(ax){ax(false,{node:at.element,format:aw,parents:ar})})}})})}ac(an.split(","),function(ar){if(!Y[ar]){Y[ar]=[];Y[ar].similar=ao}Y[ar].push(aq)});return this}function ai(an){return f.getCssText(am,an)}y(this,{get:af,register:s,unregister:G,apply:aj,remove:J,toggle:N,match:q,matchAll:E,matchNode:H,canApply:I,formatChanged:S,getCssText:ai});p();ag();am.on("BeforeGetContent",function(an){if(r&&an.format!="raw"){r()}});am.on("mouseup keydown",function(an){if(P){P(an)}});function n(an,ao){if(m(an,ao.inline)){return K}if(m(an,ao.block)){return K}if(ao.selector){return an.nodeType==1&&h.is(an,ao.selector)}}function m(ao,an){ao=ao||"";an=an||"";ao=""+(ao.nodeName||ao);an=""+(an.nodeName||an);return ao.toLowerCase()==an.toLowerCase()}function X(ao,an){return B(h.getStyle(ao,an),an)}function B(ao,an){if(an=="color"||an=="backgroundColor"){ao=h.toHex(ao)}if(an=="fontWeight"&&ao==700){ao="bold"}if(an=="fontFamily"){ao=ao.replace(/[\'\"]/g,"").replace(/,\s+/g,",")}return""+ao}function z(an,ao){if(typeof an!="string"){an=an(ao)}else{if(ao){an=an.replace(/%(\w+)/g,function(aq,ap){return ao[ap]||aq})}}return an}function l(an){return an&&an.nodeType===3&&/^([\t \r\n]+|)$/.test(an.nodeValue)}function ab(ap,ao,an){var aq=h.create(ao,an);ap.parentNode.insertBefore(aq,ap);aq.appendChild(ap);return aq}function w(an,az,aq){var aA,au,ay,ap=an.startContainer,av=an.startOffset,aD=an.endContainer,ax=an.endOffset;function aB(aK){var aF,aI,aH,aG,aE;aF=aI=aK?ap:aD;aG=aK?"previousSibling":"nextSibling";aE=h.getRoot();function aJ(aL){return aL.nodeName=="BR"&&aL.getAttribute("data-mce-bogus")&&!aL.nextSibling}if(aF.nodeType==3&&!l(aF)){if(aK?av>0:ax<aF.nodeValue.length){return aF}}while(true){if(!az[0].block_expand&&Q(aI)){return aI}for(aH=aI[aG];aH;aH=aH[aG]){if(!T(aH)&&!l(aH)&&!aJ(aH)){return aI}}if(aI.parentNode==aE){aF=aI;break}aI=aI.parentNode}return aF}function at(aE,aF){if(aF===L){aF=aE.nodeType===3?aE.length:aE.childNodes.length}while(aE&&aE.hasChildNodes()){aE=aE.childNodes[aF];if(aE){aF=aE.nodeType===3?aE.length:aE.childNodes.length}}return{node:aE,offset:aF}}if(ap.nodeType==1&&ap.hasChildNodes()){aA=ap.childNodes.length-1;ap=ap.childNodes[av>aA?aA:av];if(ap.nodeType==3){av=0}}if(aD.nodeType==1&&aD.hasChildNodes()){aA=aD.childNodes.length-1;aD=aD.childNodes[ax>aA?aA:ax-1];if(aD.nodeType==3){ax=aD.nodeValue.length}}function aC(aF){var aE=aF;while(aE){if(aE.nodeType===1&&F(aE)){return F(aE)==="false"?aE:aF}aE=aE.parentNode}return aF}function aw(aF,aJ,aL){var aI,aG,aK,aE;function aH(aN,aP){var aQ,aM,aO=aN.nodeValue;if(typeof aP=="undefined"){aP=aL?aO.length:0}if(aL){aQ=aO.lastIndexOf(" ",aP);aM=aO.lastIndexOf("\u00a0",aP);aQ=aQ>aM?aQ:aM;if(aQ!==-1&&!aq){aQ++}}else{aQ=aO.indexOf(" ",aP);aM=aO.indexOf("\u00a0",aP);aQ=aQ!==-1&&(aM===-1||aQ<aM)?aQ:aM}return aQ}if(aF.nodeType===3){aK=aH(aF,aJ);if(aK!==-1){return{container:aF,offset:aK}}aE=aF}aI=new d(aF,h.getParent(aF,Q)||am.getBody());while((aG=aI[aL?"prev":"next"]())){if(aG.nodeType===3){aE=aG;aK=aH(aG);if(aK!==-1){return{container:aG,offset:aK}}}else{if(Q(aG)){break}}}if(aE){if(aL){aJ=0}else{aJ=aE.length}return{container:aE,offset:aJ}}}function ar(aF,aE){var aG,aH,aJ,aI;if(aF.nodeType==3&&aF.nodeValue.length===0&&aF[aE]){aF=aF[aE]}aG=u(aF);for(aH=0;aH<aG.length;aH++){for(aJ=0;aJ<az.length;aJ++){aI=az[aJ];if("collapsed" in aI&&aI.collapsed!==an.collapsed){continue}if(h.is(aG[aH],aI.selector)){return aG[aH]}}}return aF}function ao(aG,aE){var aH,aF=h.getRoot();if(!az[0].wrapper){aH=h.getParent(aG,az[0].block,aF)}if(!aH){aH=h.getParent(aG.nodeType==3?aG.parentNode:aG,function(aI){return aI!=aF&&R(aI)})}if(aH&&az[0].wrapper){aH=u(aH,"ul,ol").reverse()[0]||aH}if(!aH){aH=aG;while(aH[aE]&&!Q(aH[aE])){aH=aH[aE];if(m(aH,"br")){break}}}return aH||aG}ap=aC(ap);aD=aC(aD);if(T(ap.parentNode)||T(ap)){ap=T(ap)?ap:ap.parentNode;ap=ap.nextSibling||ap;if(ap.nodeType==3){av=0}}if(T(aD.parentNode)||T(aD)){aD=T(aD)?aD:aD.parentNode;aD=aD.previousSibling||aD;if(aD.nodeType==3){ax=aD.length}}if(az[0].inline){if(an.collapsed){ay=aw(ap,av,true);if(ay){ap=ay.container;av=ay.offset}ay=aw(aD,ax);if(ay){aD=ay.container;ax=ay.offset}}au=at(aD,ax);if(au.node){while(au.node&&au.offset===0&&au.node.previousSibling){au=at(au.node.previousSibling)}if(au.node&&au.offset>0&&au.node.nodeType===3&&au.node.nodeValue.charAt(au.offset-1)===" "){if(au.offset>1){aD=au.node;aD.splitText(au.offset-1)}}}}if(az[0].inline||az[0].block_expand){if(!az[0].inline||(ap.nodeType!=3||av===0)){ap=aB(true)}if(!az[0].inline||(aD.nodeType!=3||ax===aD.nodeValue.length)){aD=aB()}}if(az[0].selector&&az[0].expand!==ah&&!az[0].inline){ap=ar(ap,"previousSibling");aD=ar(aD,"nextSibling")}if(az[0].block||az[0].selector){ap=ao(ap,"previousSibling");aD=ao(aD,"nextSibling");if(az[0].block){if(!Q(ap)){ap=aB(true)}if(!Q(aD)){aD=aB()}}}if(ap.nodeType==1){av=C(ap);ap=ap.parentNode}if(aD.nodeType==1){ax=C(aD)+1;aD=aD.parentNode}return{startContainer:ap,startOffset:av,endContainer:aD,endOffset:ax}}function i(an,ao){return ao.links&&an.tagName=="A"}function al(au,at,aq,an){var ap,ao,ar;if(!n(aq,au)&&!i(aq,au)){return ah}if(au.remove!="all"){ac(au.styles,function(aw,av){aw=B(z(aw,at),av);if(typeof av==="number"){av=aw;an=0}if(au.remove_similar||(!an||m(X(an,av),aw))){h.setStyle(aq,av,"")}ar=1});if(ar&&h.getAttrib(aq,"style")===""){aq.removeAttribute("style");aq.removeAttribute("data-mce-style")}ac(au.attributes,function(ax,av){var aw;ax=z(ax,at);if(typeof av==="number"){av=ax;an=0}if(!an||m(h.getAttrib(an,av),ax)){if(av=="class"){ax=h.getAttrib(aq,av);if(ax){aw="";ac(ax.split(/\s+/),function(ay){if(/mce\-\w+/.test(ay)){aw+=(aw?" ":"")+ay}});if(aw){h.setAttrib(aq,av,aw);return}}}if(av=="class"){aq.removeAttribute("className")}if(k.test(av)){aq.removeAttribute("data-mce-"+av)}aq.removeAttribute(av)}});ac(au.classes,function(av){av=z(av,at);if(!an||h.hasClass(an,av)){h.removeClass(aq,av)}});ao=h.getAttribs(aq);for(ap=0;ap<ao.length;ap++){if(ao[ap].nodeName.indexOf("_")!==0){return ah}}}if(au.remove!="none"){v(aq,au);return K}}function v(ap,aq){var an=ap.parentNode,ao;function ar(au,at,av){au=M(au,at,av);return !au||(au.nodeName=="BR"||Q(au))}if(aq.block){if(!t){if(Q(ap)&&!Q(an)){if(!ar(ap,ah)&&!ar(ap.firstChild,K,1)){ap.insertBefore(h.create("br"),ap.firstChild)}if(!ar(ap,K)&&!ar(ap.lastChild,ah,1)){ap.appendChild(h.create("br"))}}}else{if(an==h.getRoot()){if(!aq.list_block||!m(ap,aq.list_block)){ac(ak(ap.childNodes),function(at){if(j(t,at.nodeName.toLowerCase())){if(!ao){ao=ab(at,t);h.setAttribs(ao,am.settings.forced_root_block_attrs)}else{ao.appendChild(at)}}else{ao=0}})}}}}if(aq.selector&&aq.inline&&!m(aq.inline,ap)){return}h.remove(ap,1)}function M(ao,an,ap){if(ao){an=an?"nextSibling":"previousSibling";for(ao=ap?ao:ao[an];ao;ao=ao[an]){if(ao.nodeType==1||!l(ao)){return ao}}}}function D(ar,aq){var ap,ao,an=new c(h);function at(av,au){for(ap=av;ap;ap=ap[au]){if(ap.nodeType==3&&ap.nodeValue.length!==0){return av}if(ap.nodeType==1&&!T(ap)){return ap}}return av}if(ar&&aq){ar=at(ar,"previousSibling");aq=at(aq,"nextSibling");if(an.compare(ar,aq)){for(ap=ar.nextSibling;ap&&ap!=aq;){ao=ap;ap=ap.nextSibling;ar.appendChild(ao)}h.remove(aq);ac(ak(aq.childNodes),function(au){ar.appendChild(au)});return ar}}return aq}function V(ao,ar){var an,aq,ap;an=ao[ar?"startContainer":"endContainer"];aq=ao[ar?"startOffset":"endOffset"];if(an.nodeType==1){ap=an.childNodes.length-1;if(!ar&&aq){aq--}an=an.childNodes[aq>ap?ap:aq]}if(an.nodeType===3&&ar&&aq>=an.nodeValue.length){an=new d(an,am.getBody()).next()||an}if(an.nodeType===3&&!ar&&aq===0){an=new d(an,am.getBody()).prev()||an}return an}function ad(ay,an,aw,ar){var az="_mce_caret",ao=am.settings.caret_debug;function ap(aD){var aC=h.create("span",{id:az,"data-mce-bogus":true,style:ao?"color:red":""});if(aD){aC.appendChild(am.getDoc().createTextNode(O))}return aC}function ax(aD,aC){while(aD){if((aD.nodeType===3&&aD.nodeValue!==O)||aD.childNodes.length>1){return false}if(aC&&aD.nodeType===1){aC.push(aD)}aD=aD.firstChild}return true}function au(aC){while(aC){if(aC.id===az){return aC}aC=aC.parentNode}}function at(aC){var aD;if(aC){aD=new d(aC,aC);for(aC=aD.current();aC;aC=aD.next()){if(aC.nodeType===3){return aC}}}}function aq(aE,aD){var aF,aC;if(!aE){aE=au(A.getStart());if(!aE){while((aE=h.get(az))){aq(aE,false)}}}else{aC=A.getRng(true);if(ax(aE)){if(aD!==false){aC.setStartBefore(aE);aC.setEndBefore(aE)}h.remove(aE)}else{aF=at(aE);if(aF.nodeValue.charAt(0)===O){aF.deleteData(0,1);if(aC.startContainer==aF&&aC.startOffset>0){aC.setStart(aF,aC.startOffset-1)}if(aC.endContainer==aF&&aC.endOffset>0){aC.setEnd(aF,aC.endOffset-1)}}h.remove(aE,1)}A.setRng(aC)}}function av(){var aE,aC,aI,aH,aF,aD,aG;aE=A.getRng(true);aH=aE.startOffset;aD=aE.startContainer;aG=aD.nodeValue;aC=au(A.getStart());if(aC){aI=at(aC)}if(aG&&aH>0&&aH<aG.length&&/\w/.test(aG.charAt(aH))&&/\w/.test(aG.charAt(aH-1))){aF=A.getBookmark();aE.collapse(true);aE=w(aE,af(an));aE=W.split(aE);aj(an,aw,aE);A.moveToBookmark(aF)}else{if(!aC||aI.nodeValue!==O){aC=ap(true);aI=aC.firstChild;aE.insertNode(aC);aH=1;aj(an,aw,aC)}else{aj(an,aw,aC)}A.setCursorLocation(aI,aH)}}function aA(){var aC=A.getRng(true),aD,aG,aJ,aI,aE,aM,aL=[],aH,aK;aD=aC.startContainer;aG=aC.startOffset;aE=aD;if(aD.nodeType==3){if(aG!=aD.nodeValue.length){aI=true}aE=aE.parentNode}while(aE){if(H(aE,an,aw,ar)){aM=aE;break}if(aE.nextSibling){aI=true}aL.push(aE);aE=aE.parentNode}if(!aM){return}if(aI){aJ=A.getBookmark();aC.collapse(true);aC=w(aC,af(an),true);aC=W.split(aC);J(an,aw,aC);A.moveToBookmark(aJ)}else{aK=ap();aE=aK;for(aH=aL.length-1;aH>=0;aH--){aE.appendChild(h.clone(aL[aH],false));aE=aE.firstChild}aE.appendChild(h.doc.createTextNode(O));aE=aE.firstChild;var aF=h.getParent(aM,R);if(aF&&h.isEmpty(aF)){aM.parentNode.replaceChild(aK,aM)}else{h.insertAfter(aK,aM)}A.setCursorLocation(aE,1);if(h.isEmpty(aM)){h.remove(aM)}}}function aB(){var aC;aC=au(A.getStart());if(aC&&!h.isEmpty(aC)){x(aC,function(aD){if(aD.nodeType==1&&aD.id!==az&&!h.isEmpty(aD)){h.setAttrib(aD,"data-mce-bogus",null)}},"childNodes")}}if(!am._hasCaretEvents){r=function(){var aC=[],aD;if(ax(au(A.getStart()),aC)){aD=aC.length;while(aD--){h.setAttrib(aC[aD],"data-mce-bogus","1")}}};P=function(aD){var aC=aD.keyCode;aq();if((aC==8&&A.isCollapsed())||aC==37||aC==39){aq(au(A.getStart()))}aB()};am.on("SetContent",function(aC){if(aC.selection){aB()}});am._hasCaretEvents=true}if(ay=="apply"){av()}else{aA()}}function aa(ao){var an=ao.startContainer,av=ao.startOffset,aq,au,at,ap,ar;if(an.nodeType==3&&av>=an.nodeValue.length){av=C(an);an=an.parentNode;aq=true}if(an.nodeType==1){ap=an.childNodes;an=ap[Math.min(av,ap.length-1)];au=new d(an,h.getParent(an,h.isBlock));if(av>ap.length-1||aq){au.next()}for(at=au.current();at;at=au.next()){if(at.nodeType==3&&!l(at)){ar=h.create("a",{"data-mce-bogus":"all"},O);at.parentNode.insertBefore(ar,at);ao.setStart(at,0);A.setRng(ao);h.remove(ar);return}}}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/LegacyInput.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/LegacyInput",["tinymce/EditorManager","tinymce/util/Tools"],function(b,a){var d=a.each,c=a.explode;b.on("AddEditor",function(g){var f=g.editor;f.on("preInit",function(){var i,l,k,h=f.settings;function e(n,m){d(m,function(p,o){if(p){k.setStyle(n,o,p)}});k.rename(n,"span")}function j(m){k=f.dom;if(h.convert_fonts_to_spans){d(k.select("font,u,strike",m.node),function(n){i[n.nodeName.toLowerCase()](k,n)})}}if(h.inline_styles){l=c(h.font_size_legacy_values);i={font:function(n,m){e(m,{backgroundColor:m.style.backgroundColor,color:m.color,fontFamily:m.face,fontSize:l[parseInt(m.size,10)-1]})},u:function(n,m){if(f.settings.schema==="html4"){e(m,{textDecoration:"underline"})}},strike:function(n,m){e(m,{textDecoration:"line-through"})}};f.on("PreProcess SetContent",j)}})})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/NodeChange.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/NodeChange",["tinymce/dom/RangeUtils","tinymce/Env"],function(b,a){return function(c){var e,d=[];function f(g){var h,j;j=c.$(g).parentsUntil(c.getBody()).add(g);if(j.length===d.length){for(h=j.length;h>=0;h--){if(j[h]!==d[h]){break}}if(h===-1){d=j;return true}}d=j;return false}if(!("onselectionchange" in c.getDoc())){c.on("NodeChange Click MouseUp KeyUp Focus",function(h){var i,g;i=c.selection.getRng();g={startContainer:i.startContainer,startOffset:i.startOffset,endContainer:i.endContainer,endOffset:i.endOffset};if(h.type=="nodechange"||!b.compareRanges(g,e)){c.fire("SelectionChange")}e=g})}c.on("contextmenu",function(){c.fire("SelectionChange")});c.on("SelectionChange",function(){var g=c.selection.getStart(true);if(!a.range&&c.selection.isCollapsed()){return}if(!f(g)&&c.dom.isChildOf(g,c.getBody())){c.nodeChanged({selectionChange:true})}});c.on("MouseUp",function(g){if(!g.isDefaultPrevented()){if(c.selection.getNode().nodeName=="IMG"){setTimeout(function(){c.nodeChanged()},0)}else{c.nodeChanged()}}});this.nodeChanged=function(i){var j=c.selection,k,h,g;if(c.initialized&&j&&!c.settings.disable_nodechange&&!c.settings.readonly){g=c.getBody();k=j.getStart()||g;k=k.ownerDocument!=c.getDoc()?c.getBody():k;if(k.nodeName=="IMG"&&j.isCollapsed()){k=k.parentNode}h=[];c.dom.getParent(k,function(l){if(l===g){return true}h.push(l)});i=i||{};i.element=k;i.parents=h;c.fire("NodeChange",i)}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/Shortcuts.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/Shortcuts",["tinymce/util/Tools","tinymce/Env"],function(c,b){var f=c.each,e=c.explode;var a={f9:120,f10:121,f11:122};var d=c.makeMap("alt,ctrl,shift,meta,access");return function(j){var i=this,g={};function h(o,p,n,m){var q,l,k;k={func:n,scope:m||j,desc:j.translate(p)};f(e(o,"+"),function(r){if(r in d){k[r]=true}else{if(/^[0-9]{2,}$/.test(r)){k.keyCode=parseInt(r,10)}else{k.charCode=r.charCodeAt(0);k.keyCode=a[r]||r.toUpperCase().charCodeAt(0)}}});q=[k.keyCode];for(l in d){if(k[l]){q.push(l)}else{k[l]=false}}k.id=q.join(",");if(k.access){k.alt=true;if(b.mac){k.ctrl=true}else{k.shift=true}}if(k.meta){if(b.mac){k.meta=true}else{k.ctrl=true;k.meta=false}}return k}j.on("keyup keypress keydown",function(k){if((k.altKey||k.ctrlKey||k.metaKey)&&!k.isDefaultPrevented()){f(g,function(l){if(l.ctrl!=k.ctrlKey||l.meta!=k.metaKey){return}if(l.alt!=k.altKey||l.shift!=k.shiftKey){return}if(k.keyCode==l.keyCode||(k.charCode&&k.charCode==l.charCode)){k.preventDefault();if(k.type=="keydown"){l.func.call(l.scope)}return true}})}});i.add=function(n,o,l,k){var m;m=l;if(typeof l==="string"){l=function(){j.execCommand(m,false,null)}}else{if(c.isArray(m)){l=function(){j.execCommand(m[0],m[1],m[2])}}}f(e(n.toLowerCase()),function(q){var p=h(q,o,l,k);g[p.id]=p});return true};i.remove=function(l){var k=h(l);if(g[k.id]){delete g[k.id];return true}return false}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/UndoManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/UndoManager",["tinymce/util/VK","tinymce/Env","tinymce/util/Tools","tinymce/html/SaxParser"],function(f,c,d,b){var a=d.trim,e;e=new RegExp(["<span[^>]+data-mce-bogus[^>]+>[\u200B\uFEFF]+<\\/span>",'\\s?data-mce-selected="[^"]+"'].join("|"),"gi");return function(l){var p=this,m=0,i=[],j,n,o=0;function g(){var v=l.getContent({format:"raw",no_events:1});var t=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g;var q,r,x,w,s,u=l.schema;v=v.replace(e,"");s=u.getShortEndedElements();while((w=t.exec(v))){r=t.lastIndex;x=w[0].length;if(s[w[1]]){q=r}else{q=b.findEndTag(u,v,r)}v=v.substring(0,r-x)+v.substring(q);t.lastIndex=r-x}return a(v)}function k(q){l.isNotDirty=!q}function h(q){p.typing=false;p.add({},q)}l.on("init",function(){p.add()});l.on("BeforeExecCommand",function(r){var q=r.command;if(q!="Undo"&&q!="Redo"&&q!="mceRepaint"){p.beforeChange()}});l.on("ExecCommand",function(r){var q=r.command;if(q!="Undo"&&q!="Redo"&&q!="mceRepaint"){h(r)}});l.on("ObjectResizeStart",function(){p.beforeChange()});l.on("SaveContent ObjectResized blur",h);l.on("DragEnd",h);l.on("KeyUp",function(r){var q=r.keyCode;if((q>=33&&q<=36)||(q>=37&&q<=40)||q==45||q==13||r.ctrlKey){h();l.nodeChanged()}if(q==46||q==8||(c.mac&&(q==91||q==93))){l.nodeChanged()}if(n&&p.typing){if(!l.isDirty()){k(i[0]&&g()!=i[0].content);if(!l.isNotDirty){l.fire("change",{level:i[0],lastLevel:null})}}l.fire("TypingUndo");n=false;l.nodeChanged()}});l.on("KeyDown",function(s){var r=s.keyCode;if((r>=33&&r<=36)||(r>=37&&r<=40)||r==45){if(p.typing){h(s)}return}var q=(s.ctrlKey&&!s.altKey)||s.metaKey;if((r<16||r>20)&&r!=224&&r!=91&&!p.typing&&!q){p.beforeChange();p.typing=true;p.add({},s);n=true}});l.on("MouseDown",function(q){if(p.typing){h(q)}});l.addShortcut("meta+z","","Undo");l.addShortcut("meta+y,meta+shift+z","","Redo");l.on("AddUndo Undo Redo ClearUndos",function(q){if(!q.isDefaultPrevented()){l.nodeChanged()}});p={data:i,typing:false,beforeChange:function(){if(!o){j=l.selection.getBookmark(2,true)}},add:function(v,u){var r,s=l.settings,t;v=v||{};v.content=g();if(o||l.removed){return null}t=i[m];if(l.fire("BeforeAddUndo",{level:v,lastLevel:t,originalEvent:u}).isDefaultPrevented()){return null}if(t&&t.content==v.content){return null}if(i[m]){i[m].beforeBookmark=j}if(s.custom_undo_redo_levels){if(i.length>s.custom_undo_redo_levels){for(r=0;r<i.length-1;r++){i[r]=i[r+1]}i.length--;m=i.length}}v.bookmark=l.selection.getBookmark(2,true);if(m<i.length-1){i.length=m+1}i.push(v);m=i.length-1;var q={level:v,lastLevel:t,originalEvent:u};l.fire("AddUndo",q);if(m>0){k(true);l.fire("change",q)}return v},undo:function(){var q;if(p.typing){p.add();p.typing=false}if(m>0){q=i[--m];if(m===0){k(false)}l.setContent(q.content,{format:"raw"});l.selection.moveToBookmark(q.beforeBookmark);l.fire("undo",{level:q})}return q},redo:function(){var q;if(m<i.length-1){q=i[++m];l.setContent(q.content,{format:"raw"});l.selection.moveToBookmark(q.bookmark);k(true);l.fire("redo",{level:q})}return q},clear:function(){i=[];m=0;p.typing=false;l.fire("ClearUndos")},hasUndo:function(){return m>0||(p.typing&&i[0]&&g()!=i[0].content)},hasRedo:function(){return m<i.length-1&&!this.typing},transact:function(q){p.beforeChange();try{o++;q()}finally{o--}p.add()}};return p}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/WindowManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/WindowManager",["tinymce/ui/Window","tinymce/ui/MessageBox"],function(b,a){return function(e){var d=this,f=[];function c(){if(f.length){return f[f.length-1]}}d.windows=f;e.on("remove",function(){var g=f.length;while(g--){f[g].close()}});d.open=function(g,i){var h;e.editorManager.setActive(e);g.title=g.title||" ";g.url=g.url||g.file;if(g.url){g.width=parseInt(g.width||320,10);g.height=parseInt(g.height||240,10)}if(g.body){g.items={defaults:g.defaults,type:g.bodyType||"form",items:g.body}}if(!g.url&&!g.buttons){g.buttons=[{text:"Ok",subtype:"primary",onclick:function(){h.find("form")[0].submit()}},{text:"Cancel",onclick:function(){h.close()}}]}h=new b(g);f.push(h);h.on("close",function(){var j=f.length;while(j--){if(f[j]===h){f.splice(j,1)}}if(!f.length){e.focus()}});if(g.data){h.on("postRender",function(){this.find("*").each(function(k){var j=k.name();if(j in g.data){k.value(g.data[j])}})})}h.features=g||{};h.params=i||{};if(f.length===1){e.nodeChanged()}return h.renderTo().reflow()};d.alert=function(h,i,g){a.alert(h,function(){if(i){i.call(g||this)}else{e.focus()}})};d.confirm=function(h,i,g){a.confirm(h,function(j){i.call(g||this,j)})};d.close=function(){if(c()){c().close()}};d.getParams=function(){return c()?c().params:null};d.setParams=function(g){if(c()){c().params=g}};d.getWindows=function(){return f}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/BookmarkManager.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/BookmarkManager",["tinymce/Env","tinymce/util/Tools"],function(a,c){function b(d){var e=d.dom;this.getBookmark=function(p,r){var g,j,i,m,h,n,l="",s;function f(u,v){var t=0;c.each(e.select(u),function(x,w){if(x==v){t=w}});return t}function q(t){function u(z){var v,y,x,w=z?"start":"end";v=t[w+"Container"];y=t[w+"Offset"];if(v.nodeType==1&&v.nodeName=="TR"){x=v.childNodes;v=x[Math.min(z?y:y-1,x.length-1)];if(v){y=z?0:v.childNodes.length;t["set"+(z?"Start":"End")](v,y)}}}u(true);u();return t}function k(){var u=d.getRng(true),t=e.getRoot(),v={};function w(z,E){var y=z[E?"startContainer":"endContainer"],D=z[E?"startOffset":"endOffset"],x=[],A,C,B=0;if(y.nodeType==3){if(r){for(A=y.previousSibling;A&&A.nodeType==3;A=A.previousSibling){D+=A.nodeValue.length}}x.push(D)}else{C=y.childNodes;if(D>=C.length&&C.length){B=1;D=Math.max(0,C.length-1)}x.push(e.nodeIndex(C[D],r)+B)}for(;y&&y!=t;y=y.parentNode){x.push(e.nodeIndex(y,r))}return x}v.start=w(u,true);if(!d.isCollapsed()){v.end=w(u)}return v}if(p==2){n=d.getNode();h=n?n.nodeName:null;if(h=="IMG"){return{name:h,index:f(h,n)}}if(d.tridentSel){return d.tridentSel.getBookmark(p)}return k()}if(p){return{rng:d.getRng()}}g=d.getRng();i=e.uniqueId();m=d.isCollapsed();s="overflow:hidden;line-height:0px";if(g.duplicate||g.item){if(!g.item){j=g.duplicate();try{g.collapse();g.pasteHTML('<span data-mce-type="bookmark" id="'+i+'_start" style="'+s+'">'+l+"</span>");if(!m){j.collapse(false);g.moveToElementText(j.parentElement());if(g.compareEndPoints("StartToEnd",j)===0){j.move("character",-1)}j.pasteHTML('<span data-mce-type="bookmark" id="'+i+'_end" style="'+s+'">'+l+"</span>")}}catch(o){return null}}else{n=g.item(0);h=n.nodeName;return{name:h,index:f(h,n)}}}else{n=d.getNode();h=n.nodeName;if(h=="IMG"){return{name:h,index:f(h,n)}}j=q(g.cloneRange());if(!m){j.collapse(false);j.insertNode(e.create("span",{"data-mce-type":"bookmark",id:i+"_end",style:s},l))}g=q(g);g.collapse(true);g.insertNode(e.create("span",{"data-mce-type":"bookmark",id:i+"_start",style:s},l))}d.moveToBookmark({id:i,keep:1});return{id:i}};this.moveToBookmark=function(k){var f,n,h,o,l,m;function g(u){var p=k[u?"start":"end"],r,s,t,q;if(p){t=p[0];for(s=n,r=p.length-1;r>=1;r--){q=s.childNodes;if(p[r]>q.length-1){return}s=q[p[r]]}if(s.nodeType===3){t=Math.min(p[0],s.nodeValue.length)}if(s.nodeType===1){t=Math.min(p[0],s.childNodes.length)}if(u){f.setStart(s,t)}else{f.setEnd(s,t)}}return true}function i(v){var q=e.get(k.id+"_"+v),u,p,s,t,r=k.keep;if(q){u=q.parentNode;if(v=="start"){if(!r){p=e.nodeIndex(q)}else{u=q.firstChild;p=1}h=o=u;l=m=p}else{if(!r){p=e.nodeIndex(q)}else{u=q.firstChild;p=1}o=u;m=p}if(!r){t=q.previousSibling;s=q.nextSibling;c.each(c.grep(q.childNodes),function(w){if(w.nodeType==3){w.nodeValue=w.nodeValue.replace(/\uFEFF/g,"")}});while((q=e.get(k.id+"_"+v))){e.remove(q,1)}if(t&&s&&t.nodeType==s.nodeType&&t.nodeType==3&&!a.opera){p=t.nodeValue.length;t.appendData(s.nodeValue);e.remove(s);if(v=="start"){h=o=t;l=m=p}else{o=t;m=p}}}}}function j(p){if(e.isBlock(p)&&!p.innerHTML&&!a.ie){p.innerHTML='<br data-mce-bogus="1" />'}return p}if(k){if(k.start){f=e.createRng();n=e.getRoot();if(d.tridentSel){return d.tridentSel.moveToBookmark(k)}if(g(true)&&g()){d.setRng(f)}}else{if(k.id){i("start");i("end");if(h){f=e.createRng();f.setStart(j(h),l);f.setEnd(j(o),m);d.setRng(f)}}else{if(k.name){d.select(e.select(k.name)[k.index])}else{if(k.rng){d.setRng(k.rng)}}}}}}}b.isBookmarkNode=function(d){return d&&d.tagName==="SPAN"&&d.getAttribute("data-mce-type")==="bookmark"};return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/ControlSelection.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/ControlSelection",["tinymce/util/VK","tinymce/util/Tools","tinymce/Env"],function(c,b,a){return function(q,e){var f=e.dom,L=b.each;var n,U,G,I,S,Q;var v,t,E,D,w,B,J,j;var d,g,o=e.getDoc(),R=document,m=a.ie&&a.ie<11;var A=Math.abs,P=Math.round,s=e.getBody(),x,h;I={n:[0.5,0,0,-1],e:[1,0.5,1,0],s:[0.5,1,0,1],w:[0,0.5,-1,0],nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var u=".mce-content-body";e.contentStyles.push(u+" div.mce-resizehandle {position: absolute;border: 1px solid black;background: #FFF;width: 5px;height: 5px;z-index: 10000}"+u+" .mce-resizehandle:hover {background: #000}"+u+" img[data-mce-selected], hr[data-mce-selected] {outline: 1px solid black;resize: none}"+u+" .mce-clonedresizable {position: absolute;"+(a.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+u+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}");function M(W){var V=e.settings.object_resizing;if(V===false||a.iOS){return false}if(typeof V!="string"){V="table,img,div"}if(W.getAttribute("data-mce-resize")==="false"){return false}return e.dom.is(W,V)}function i(Y){var W,V,X;var aa,Z;W=Y.screenX-v;V=Y.screenY-t;d=W*S[2]+w;g=V*S[3]+B;d=d<5?5:d;g=g<5?5:g;if(n.nodeName=="IMG"&&e.settings.resize_img_proportional!==false){X=!c.modifierPressed(Y)}else{X=c.modifierPressed(Y)||(n.nodeName=="IMG"&&S[2]*S[3]!==0)}if(X){if(A(W)>A(V)){g=P(d*J);d=P(g/J)}else{d=P(g/J);g=P(d*J)}}f.setStyles(U,{width:d,height:g});aa=S.startPos.x+W;Z=S.startPos.y+V;aa=aa>0?aa:0;Z=Z>0?Z:0;f.setStyles(G,{left:aa,top:Z,display:"block"});G.innerHTML=d+" × "+g;if(S[2]<0&&U.clientWidth<=d){f.setStyle(U,"left",E+(w-d))}if(S[3]<0&&U.clientHeight<=g){f.setStyle(U,"top",D+(B-g))}W=s.scrollWidth-x;V=s.scrollHeight-h;if(W+V!==0){f.setStyles(G,{left:aa-W,top:Z-V})}if(!j){e.fire("ObjectResizeStart",{target:n,width:w,height:B});j=true}}function H(){j=false;function V(W,X){if(X){if(n.style[W]||!e.schema.isValid(n.nodeName.toLowerCase(),W)){f.setStyle(n,W,X)}else{f.setAttrib(n,W,X)}}}V("width",d);V("height",g);f.unbind(o,"mousemove",i);f.unbind(o,"mouseup",H);if(R!=o){f.unbind(R,"mousemove",i);f.unbind(R,"mouseup",H)}f.remove(U);f.remove(G);if(!m||n.nodeName=="TABLE"){C(n)}e.fire("ObjectResized",{target:n,width:d,height:g});f.setAttrib(n,"style",f.getAttrib(n,"style"));e.nodeChanged()}function C(ab,Z,X){var W,Y,V,ac,aa;T();W=f.getPos(ab,s);E=W.x;D=W.y;aa=ab.getBoundingClientRect();Y=aa.width||(aa.right-aa.left);V=aa.height||(aa.bottom-aa.top);if(n!=ab){N();n=ab;d=g=0}ac=e.fire("ObjectSelected",{target:ab});if(M(ab)&&!ac.isDefaultPrevented()){L(I,function(ag,ae){var af,ah;function ad(ai){v=ai.screenX;t=ai.screenY;w=n.clientWidth;B=n.clientHeight;J=B/w;S=ag;ag.startPos={x:Y*ag[0]+E,y:V*ag[1]+D};x=s.scrollWidth;h=s.scrollHeight;U=n.cloneNode(true);f.addClass(U,"mce-clonedresizable");f.setAttrib(U,"data-mce-bogus","all");U.contentEditable=false;U.unSelectabe=true;f.setStyles(U,{left:E,top:D,margin:0});U.removeAttribute("data-mce-selected");s.appendChild(U);f.bind(o,"mousemove",i);f.bind(o,"mouseup",H);if(R!=o){f.bind(R,"mousemove",i);f.bind(R,"mouseup",H)}G=f.add(s,"div",{"class":"mce-resize-helper","data-mce-bogus":"all"},w+" × "+B)}if(Z){if(ae==Z){ad(X)}return}af=f.get("mceResizeHandle"+ae);if(!af){ah=s;af=f.add(ah,"div",{id:"mceResizeHandle"+ae,"data-mce-bogus":"all","class":"mce-resizehandle",unselectable:true,style:"cursor:"+ae+"-resize; margin:0; padding:0"});if(a.ie){af.contentEditable=false}}else{f.show(af)}if(!ag.elm){f.bind(af,"mousedown",function(ai){ai.stopImmediatePropagation();ai.preventDefault();ad(ai)});ag.elm=af}f.setStyles(af,{left:(Y*ag[0]+E)-(af.offsetWidth/2),top:(V*ag[1]+D)-(af.offsetHeight/2)})})}else{y()}n.setAttribute("data-mce-selected","1")}function y(){var V,W;T();if(n){n.removeAttribute("data-mce-selected")}for(V in I){W=f.get("mceResizeHandle"+V);if(W){f.unbind(W);f.remove(W)}}}function z(Y){var X,V;function W(aa,Z){if(aa){do{if(aa===Z){return true}}while((aa=aa.parentNode))}}if(j){return}L(f.select("img[data-mce-selected],hr[data-mce-selected]"),function(Z){Z.removeAttribute("data-mce-selected")});V=Y.type=="mousedown"?Y.target:q.getNode();V=f.$(V).closest(m?"table":"table,img,hr")[0];if(W(V,s)){F();X=q.getStart(true);if(W(X,V)&&W(q.getEnd(true),V)){if(!m||(V!=X&&X.nodeName!=="IMG")){C(V);return}}}y()}function k(X,V,W){if(X&&X.attachEvent){X.attachEvent("on"+V,W)}}function r(X,V,W){if(X&&X.detachEvent){X.detachEvent("on"+V,W)}}function p(X){var Y=X.srcElement,ac,V,ad,ab,Z,aa,W;ac=Y.getBoundingClientRect();aa=Q.clientX-ac.left;W=Q.clientY-ac.top;for(V in I){ad=I[V];ab=Y.offsetWidth*ad[0];Z=Y.offsetHeight*ad[1];if(A(ab-aa)<8&&A(Z-W)<8){S=ad;break}}j=true;e.fire("ObjectResizeStart",{target:n,width:n.clientWidth,height:n.clientHeight});e.getDoc().selection.empty();C(Y,V,Q)}function O(W){var V=W.srcElement;if(V!=n){e.fire("ObjectSelected",{target:V});N();if(V.id.indexOf("mceResizeHandle")===0){W.returnValue=false;return}if(V.nodeName=="IMG"||V.nodeName=="TABLE"){y();n=V;k(V,"resizestart",p)}}}function N(){r(n,"resizestart",p)}function T(){for(var V in I){var W=I[V];if(W.elm){f.unbind(W.elm);delete W.elm}}}function F(){try{e.getDoc().execCommand("enableObjectResizing",false,false)}catch(V){}}function l(X){var W;if(!m){return}W=o.body.createControlRange();try{W.addElement(X);W.select();return true}catch(V){}}e.on("init",function(){if(m){e.on("ObjectResized",function(V){if(V.target.nodeName!="TABLE"){y();l(V.target)}});k(s,"controlselect",O);e.on("mousedown",function(V){Q=V})}else{F();if(a.ie>=11){e.on("mouseup",function(V){var W=V.target.nodeName;if(!j&&/^(TABLE|IMG|HR)$/.test(W)){e.selection.select(V.target,W=="TABLE");e.nodeChanged()}});e.dom.bind(s,"mscontrolselect",function(V){if(/^(TABLE|IMG|HR)$/.test(V.target.nodeName)){V.preventDefault();if(V.target.tagName=="IMG"){window.setTimeout(function(){e.selection.select(V.target)},0)}}})}}e.on("nodechange ResizeEditor",z);e.on("keydown keyup",function(V){if(n&&n.nodeName=="TABLE"){z(V)}});e.on("hide",y)});e.on("remove",T);function K(){n=U=null;if(m){N();r(s,"controlselect",O)}}return{isResizable:M,showResizeRect:C,hideResizeRect:y,updateResizeRect:z,controlSelect:l,destroy:K}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/DOMUtils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/DOMUtils",["tinymce/dom/Sizzle","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/EventUtils","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/dom/StyleSheetLoader"],function(c,g,j,f,h,r,d,b,a,m){var e=a.each,i=a.is,k=a.grep,o=a.trim;var n=b.ie;var l=/^([a-z0-9],?)+$/i;var s=/^[ \t\r\n]*$/;function p(u,w){var v={},t=w.keep_values,x;x={set:function(y,A,z){if(w.url_converter){A=w.url_converter.call(w.url_converter_scope||u,A,z,y[0])}y.attr("data-mce-"+z,A).attr(z,A)},get:function(y,z){return y.attr("data-mce-"+z)||y.attr(z)}};v={style:{set:function(y,z){if(z!==null&&typeof z==="object"){y.css(z);return}if(t){y.attr("data-mce-style",z)}y.attr("style",z)},get:function(y){var z=y.attr("data-mce-style")||y.attr("style");z=u.serializeStyle(u.parseStyle(z),y[0].nodeName);return z}}};if(t){v.href=v.src=x}return v}function q(w,u){var t=this,v;t.doc=w;t.win=window;t.files={};t.counter=0;t.stdMode=!n||w.documentMode>=8;t.boxModel=!n||w.compatMode=="CSS1Compat"||t.stdMode;t.styleSheetLoader=new m(w);t.boundEvents=[];t.settings=u=u||{};t.schema=u.schema;t.styles=new j({url_converter:u.url_converter,url_converter_scope:u.url_converter_scope},u.schema);t.fixDoc(w);t.events=u.ownEvents?new f(u.proxy):f.Event;t.attrHooks=p(t,u);v=u.schema?u.schema.getBlockElements():{};t.$=g.overrideDefaults(function(){return{context:w,element:t.getRoot()}});t.isBlock=function(y){if(!y){return false}var x=y.nodeType;if(x){return !!(x===1&&v[y.nodeName])}return !!v[y]}}q.prototype={$$:function(t){if(typeof t=="string"){t=this.get(t)}return this.$(t)},root:null,fixDoc:function(v){var u=this.settings,t;if(n&&u.schema){("abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video").replace(/\w+/g,function(w){v.createElement(w)});for(t in u.schema.getCustomElements()){v.createElement(t)}}},clone:function(v,t){var u=this,x,w;if(!n||v.nodeType!==1||t){return v.cloneNode(t)}w=u.doc;if(!t){x=w.createElement(v.nodeName);e(u.getAttribs(v),function(y){u.setAttrib(x,y.nodeName,u.getAttrib(v,y.nodeName))});return x}return x.firstChild},getRoot:function(){var t=this;return t.settings.root_element||t.doc.body},getViewPort:function(u){var t,v;u=!u?this.win:u;t=u.document;v=this.boxModel?t.documentElement:t.body;return{x:u.pageXOffset||v.scrollLeft,y:u.pageYOffset||v.scrollTop,w:u.innerWidth||v.clientWidth,h:u.innerHeight||v.clientHeight}},getRect:function(w){var t=this,v,u;w=t.get(w);v=t.getPos(w);u=t.getSize(w);return{x:v.x,y:v.y,w:u.w,h:u.h}},getSize:function(x){var u=this,t,v;x=u.get(x);t=u.getStyle(x,"width");v=u.getStyle(x,"height");if(t.indexOf("px")===-1){t=0}if(v.indexOf("px")===-1){v=0}return{w:parseInt(t,10)||x.offsetWidth||x.clientWidth,h:parseInt(v,10)||x.offsetHeight||x.clientHeight}},getParent:function(v,t,u){return this.getParents(v,t,u,false)},getParents:function(y,u,v,z){var x=this,w,t=[];y=x.get(y);z=z===undefined;v=v||(x.getRoot().nodeName!="BODY"?x.getRoot().parentNode:null);if(i(u,"string")){w=u;if(u==="*"){u=function(A){return A.nodeType==1}}else{u=function(A){return x.is(A,w)}}}while(y){if(y==v||!y.nodeType||y.nodeType===9){break}if(!u||u(y)){if(z){t.push(y)}else{return y}}y=y.parentNode}return z?t:null},get:function(u){var t;if(u&&this.doc&&typeof u=="string"){t=u;u=this.doc.getElementById(u);if(u&&u.id!==t){return this.doc.getElementsByName(t)[1]}}return u},getNext:function(u,t){return this._findSib(u,t,"nextSibling")},getPrev:function(u,t){return this._findSib(u,t,"previousSibling")},select:function(t,v){var u=this;return c(t,u.get(v)||u.settings.root_element||u.doc,[])},is:function(w,t){var u;if(w.length===undefined){if(t==="*"){return w.nodeType==1}if(l.test(t)){t=t.toLowerCase().split(/,/);w=w.nodeName.toLowerCase();for(u=t.length-1;u>=0;u--){if(t[u]==w){return true}}return false}}if(w.nodeType&&w.nodeType!=1){return false}var v=w.nodeType?[w]:w;return c(t,v[0].ownerDocument||v[0],null,v).length>0},add:function(y,v,u,x,w){var t=this;return this.run(y,function(A){var z;z=i(v,"string")?t.doc.createElement(v):v;t.setAttribs(z,u);if(x){if(x.nodeType){z.appendChild(x)}else{t.setHTML(z,x)}}return !w?A.appendChild(z):z})},create:function(u,t,v){return this.add(this.doc.createElement(u),u,t,v,1)},createHTML:function(u,t,w){var x="",v;x+="<"+u;for(v in t){if(t.hasOwnProperty(v)&&t[v]!==null&&typeof t[v]!="undefined"){x+=" "+v+'="'+this.encode(t[v])+'"'}}if(typeof w!="undefined"){return x+">"+w+"</"+u+">"}return x+" />"},createFragment:function(u){var x,v,w=this.doc,t;t=w.createElement("div");x=w.createDocumentFragment();if(u){t.innerHTML=u}while((v=t.firstChild)){x.appendChild(v)}return x},remove:function(t,u){t=this.$$(t);if(u){t.each(function(){var v;while((v=this.firstChild)){if(v.nodeType==3&&v.data.length===0){this.removeChild(v)}else{this.parentNode.insertBefore(v,this)}}}).remove()}else{t.remove()}return t.length>1?t.toArray():t[0]},setStyle:function(v,t,u){v=this.$$(v).css(t,u);if(this.settings.update_styles){v.attr("data-mce-style",null)}},getStyle:function(v,t,u){v=this.$$(v);if(u){return v.css(t)}t=t.replace(/-(\D)/g,function(x,w){return w.toUpperCase()});if(t=="float"){t=n?"styleFloat":"cssFloat"}return v[0]&&v[0].style?v[0].style[t]:undefined},setStyles:function(u,t){u=this.$$(u).css(t);if(this.settings.update_styles){u.attr("data-mce-style",null)}},removeAllAttribs:function(t){return this.run(t,function(w){var v,u=w.attributes;for(v=u.length-1;v>=0;v--){w.removeAttributeNode(u.item(v))}})},setAttrib:function(z,v,y){var u=this,t,x,w=u.settings;if(y===""){y=null}z=u.$$(z);t=z.attr(v);if(!z.length){return}x=u.attrHooks[v];if(x&&x.set){x.set(z,y,v)}else{z.attr(v,y)}if(t!=y&&w.onSetAttrib){w.onSetAttrib({attrElm:z,attrName:v,attrValue:y})}},setAttribs:function(v,u){var t=this;t.$$(v).each(function(w,x){e(u,function(z,y){t.setAttrib(x,y,z)})})},getAttrib:function(y,u,x){var t=this,w,v;y=t.$$(y);if(y.length){w=t.attrHooks[u];if(w&&w.get){v=w.get(y,u)}else{v=y.attr(u)}}if(typeof v=="undefined"){v=x||""}return v},getPos:function(v,w){var D=this,B=0,A=0,t,C=D.doc,u=C.body,z;v=D.get(v);w=w||u;if(v){if(w===u&&v.getBoundingClientRect&&g(u).css("position")==="static"){z=v.getBoundingClientRect();w=D.boxModel?C.documentElement:u;B=z.left+(C.documentElement.scrollLeft||u.scrollLeft)-w.clientLeft;A=z.top+(C.documentElement.scrollTop||u.scrollTop)-w.clientTop;return{x:B,y:A}}t=v;while(t&&t!=w&&t.nodeType){B+=t.offsetLeft||0;A+=t.offsetTop||0;t=t.offsetParent}t=v.parentNode;while(t&&t!=w&&t.nodeType){B-=t.scrollLeft||0;A-=t.scrollTop||0;t=t.parentNode}}return{x:B,y:A}},parseStyle:function(t){return this.styles.parse(t)},serializeStyle:function(u,t){return this.styles.serialize(u,t)},addStyle:function(w){var u=this,x=u.doc,v,y;if(u!==q.DOM&&x===document){var t=q.DOM.addedStyles;t=t||[];if(t[w]){return}t[w]=true;q.DOM.addedStyles=t}y=x.getElementById("mceDefaultStyles");if(!y){y=x.createElement("style");y.id="mceDefaultStyles";y.type="text/css";v=x.getElementsByTagName("head")[0];if(v.firstChild){v.insertBefore(y,v.firstChild)}else{v.appendChild(y)}}if(y.styleSheet){y.styleSheet.cssText+=w}else{y.appendChild(x.createTextNode(w))}},loadCSS:function(u){var t=this,w=t.doc,v;if(t!==q.DOM&&w===document){q.DOM.loadCSS(u);return}if(!u){u=""}v=w.getElementsByTagName("head")[0];e(u.split(","),function(x){var y;x=a._addCacheSuffix(x);if(t.files[x]){return}t.files[x]=true;y=t.create("link",{rel:"stylesheet",href:x});if(n&&w.documentMode&&w.recalc){y.onload=function(){if(w.recalc){w.recalc()}y.onload=null}}v.appendChild(y)})},addClass:function(u,t){this.$$(u).addClass(t)},removeClass:function(u,t){this.toggleClass(u,t,false)},hasClass:function(u,t){return this.$$(u).hasClass(t)},toggleClass:function(v,t,u){this.$$(v).toggleClass(t,u).each(function(){if(this.className===""){g(this).attr("class",null)}})},show:function(t){this.$$(t).show()},hide:function(t){this.$$(t).hide()},isHidden:function(t){return this.$$(t).css("display")=="none"},uniqueId:function(t){return(!t?"mce_":t)+(this.counter++)},setHTML:function(u,t){u=this.$$(u);if(n){u.each(function(w,x){if(x.canHaveHTML===false){return}while(x.firstChild){x.removeChild(x.firstChild)}try{x.innerHTML="<br>"+t;x.removeChild(x.firstChild)}catch(v){g("<div>").html("<br>"+t).contents().slice(1).appendTo(x)}return t})}else{u.html(t)}},getOuterHTML:function(t){t=this.get(t);return t.nodeType==1&&"outerHTML" in t?t.outerHTML:g("<div>").append(g(t).clone()).html()},setOuterHTML:function(v,u){var t=this;t.$$(v).each(function(){try{if("outerHTML" in this){this.outerHTML=u;return}}catch(w){}t.remove(g(this).html(u),true)})},decode:d.decode,encode:d.encodeAllRaw,insertAfter:function(u,t){t=this.get(t);return this.run(u,function(w){var v,x;v=t.parentNode;x=t.nextSibling;if(x){v.insertBefore(w,x)}else{v.appendChild(w)}return w})},replace:function(v,u,w){var t=this;return t.run(u,function(x){if(i(x,"array")){v=v.cloneNode(true)}if(w){e(k(x.childNodes),function(y){v.appendChild(y)})}return x.parentNode.replaceChild(v,x)})},rename:function(w,u){var t=this,v;if(w.nodeName!=u.toUpperCase()){v=t.create(u);e(t.getAttribs(w),function(x){t.setAttrib(v,x.nodeName,t.getAttrib(w,x.nodeName))});t.replace(v,w,1)}return v||w},findCommonAncestor:function(v,t){var w=v,u;while(w){u=t;while(u&&w!=u){u=u.parentNode}if(w==u){break}w=w.parentNode}if(!w&&v.ownerDocument){return v.ownerDocument.documentElement}return w},toHex:function(t){return this.styles.toHex(a.trim(t))},run:function(x,w,v){var u=this,t;if(typeof x==="string"){x=u.get(x)}if(!x){return false}v=v||this;if(!x.nodeType&&(x.length||x.length===0)){t=[];e(x,function(z,y){if(z){if(typeof z=="string"){z=u.get(z)}t.push(w.call(v,z,y))}});return t}return w.call(v,x)},getAttribs:function(v){var t;v=this.get(v);if(!v){return[]}if(n){t=[];if(v.nodeName=="OBJECT"){return v.attributes}if(v.nodeName==="OPTION"&&this.getAttrib(v,"selected")){t.push({specified:1,nodeName:"selected"})}var u=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;v.cloneNode(false).outerHTML.replace(u,"").replace(/[\w:\-]+/gi,function(w){t.push({specified:1,nodeName:w})});return t}return v.attributes},isEmpty:function(w,u){var B=this,y,x,A,t,v,z=0;w=w.firstChild;if(w){t=new h(w,w.parentNode);u=u||(B.schema?B.schema.getNonEmptyElements():null);do{A=w.nodeType;if(A===1){if(w.getAttribute("data-mce-bogus")){continue}v=w.nodeName.toLowerCase();if(u&&u[v]){if(v==="br"){z++;continue}return false}x=B.getAttribs(w);y=x.length;while(y--){v=x[y].nodeName;if(v==="name"||v==="data-mce-bookmark"){return false}}}if(A==8){return false}if((A===3&&!s.test(w.nodeValue))){return false}}while((w=t.next()))}return z<=1},createRng:function(){var t=this.doc;return t.createRange?t.createRange():new r(this)},nodeIndex:function(w,x){var t=0,v,u;if(w){for(v=w.nodeType,w=w.previousSibling;w;w=w.previousSibling){u=w.nodeType;if(x&&u==3){if(u==v||!w.nodeValue.length){continue}}t++;v=u}}return t},split:function(x,y,u){var B=this,t=B.createRng(),z,w,A;function v(G){var E,D=G.childNodes,F=G.nodeType;function H(K){var J=K.previousSibling&&K.previousSibling.nodeName=="SPAN";var I=K.nextSibling&&K.nextSibling.nodeName=="SPAN";return J&&I}if(F==1&&G.getAttribute("data-mce-type")=="bookmark"){return}for(E=D.length-1;E>=0;E--){v(D[E])}if(F!=9){if(F==3&&G.nodeValue.length>0){var C=o(G.nodeValue).length;if(!B.isBlock(G.parentNode)||C>0||C===0&&H(G)){return}}else{if(F==1){D=G.childNodes;if(D.length==1&&D[0]&&D[0].nodeType==1&&D[0].getAttribute("data-mce-type")=="bookmark"){G.parentNode.insertBefore(D[0],G)}if(D.length||/^(br|hr|input|img)$/i.test(G.nodeName)){return}}}B.remove(G)}return G}if(x&&y){t.setStart(x.parentNode,B.nodeIndex(x));t.setEnd(y.parentNode,B.nodeIndex(y));z=t.extractContents();t=B.createRng();t.setStart(y.parentNode,B.nodeIndex(y)+1);t.setEnd(x.parentNode,B.nodeIndex(x)+1);w=t.extractContents();A=x.parentNode;A.insertBefore(v(z),x);if(u){A.replaceChild(u,y)}else{A.insertBefore(y,x)}A.insertBefore(v(w),x);B.remove(x);return u||y}},bind:function(y,u,x,w){var t=this;if(a.isArray(y)){var v=y.length;while(v--){y[v]=t.bind(y[v],u,x,w)}return y}if(t.settings.collect&&(y===t.doc||y===t.win)){t.boundEvents.push([y,u,x,w])}return t.events.bind(y,u,x,w||t)},unbind:function(y,u,x){var t=this,v;if(a.isArray(y)){v=y.length;while(v--){y[v]=t.unbind(y[v],u,x)}return y}if(t.boundEvents&&(y===t.doc||y===t.win)){v=t.boundEvents.length;while(v--){var w=t.boundEvents[v];if(y==w[0]&&(!u||u==w[1])&&(!x||x==w[2])){this.events.unbind(w[0],w[1],w[2])}}}return this.events.unbind(y,u,x)},fire:function(v,u,t){return this.events.fire(v,u,t)},getContentEditable:function(u){var t;if(!u||u.nodeType!=1){return null}t=u.getAttribute("data-mce-contenteditable");if(t&&t!=="inherit"){return t}return u.contentEditable!=="inherit"?u.contentEditable:null},getContentEditableParent:function(u){var t=this.getRoot(),v=null;for(;u&&u!==t;u=u.parentNode){v=this.getContentEditable(u);if(v!==null){break}}return v},destroy:function(){var t=this;if(t.boundEvents){var u=t.boundEvents.length;while(u--){var v=t.boundEvents[u];this.events.unbind(v[0],v[1],v[2])}t.boundEvents=null}if(c.setDocument){c.setDocument()}t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(u,t){while(u){if(t===u){return true}u=u.parentNode}return false},dumpRng:function(t){return("startContainer: "+t.startContainer.nodeName+", startOffset: "+t.startOffset+", endContainer: "+t.endContainer.nodeName+", endOffset: "+t.endOffset)},_findSib:function(x,t,v){var u=this,w=t;if(x){if(typeof w=="string"){w=function(y){return u.is(y,t)}}for(x=x[v];x;x=x[v]){if(w(x)){return x}}}return null}};q.DOM=new q(document);return q});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/DomQuery.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(l,i,f,g){var H=document,n=Array.prototype.push,w=Array.prototype.slice;var t=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/;var G=l.Event,h;function c(I){return typeof I!=="undefined"}function q(I){return typeof I==="string"}function B(I){return I&&I==I.window}function v(K,J){var M,L,I;J=J||H;I=J.createElement("div");M=J.createDocumentFragment();I.innerHTML=K;while((L=I.firstChild)){M.appendChild(L)}return M}function s(I,L,M,J){var K;if(q(L)){L=v(L,r(I[0]))}else{if(L.length&&!L.nodeType){L=j.makeArray(L);if(J){for(K=L.length-1;K>=0;K--){s(I,L[K],M,J)}}else{for(K=0;K<L.length;K++){s(I,L[K],M,J)}}return I}}if(L.nodeType){K=I.length;while(K--){M.call(I[K],L)}}return I}function d(J,I){return J&&I&&(" "+J.className+" ").indexOf(" "+I+" ")!==-1}function p(L,M,J){var I,K;M=j(M)[0];L.each(function(){var N=this;if(!J||I!=N.parentNode){I=N.parentNode;K=M.cloneNode(false);N.parentNode.insertBefore(K,N);K.appendChild(N)}else{K.appendChild(N)}});return L}var b=f.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," ");var y=f.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," ");var C={"for":"htmlFor","class":"className",readonly:"readOnly"};var e={"float":"cssFloat"};var E={},F={};function j(I,J){return new j.fn.init(I,J)}function z(J,K){var I;if(K.indexOf){return K.indexOf(J)}I=K.length;while(I--){if(K[I]===J){return I}}return -1}var D=/^\s*|\s*$/g;function x(I){return(I===null||I===h)?"":(""+I).replace(D,"")}function k(N,O){var L,J,I,K,M;if(N){L=N.length;if(L===K){for(J in N){if(N.hasOwnProperty(J)){M=N[J];if(O.call(M,J,M)===false){break}}}}else{for(I=0;I<L;I++){M=N[I];if(O.call(M,I,M)===false){break}}}}return N}function o(K,J){var I=[];k(K,function(L,M){if(J(M,L)){I.push(M)}});return I}function r(I){if(!I){return H}if(I.nodeType==9){return I}return I.ownerDocument}j.fn=j.prototype={constructor:j,selector:"",context:null,length:0,init:function(I,L){var J=this,K,M;if(!I){return J}if(I.nodeType){J.context=J[0]=I;J.length=1;return J}if(L&&L.nodeType){J.context=L}else{if(L){return j(I).attr(L)}else{J.context=L=document}}if(q(I)){J.selector=I;if(I.charAt(0)==="<"&&I.charAt(I.length-1)===">"&&I.length>=3){K=[null,I,null]}else{K=t.exec(I)}if(K){if(K[1]){M=v(I,r(L)).firstChild;while(M){n.call(J,M);M=M.nextSibling}}else{M=r(L).getElementById(K[2]);if(!M){return J}if(M.id!==K[2]){return J.find(I)}J.length=1;J[0]=M}}else{return j(L).find(I)}}else{this.add(I,false)}return J},toArray:function(){return f.toArray(this)},add:function(K,M){var J=this,I,L;if(q(K)){return J.add(j(K))}if(M!==false){I=j.unique(J.toArray().concat(j.makeArray(K)));J.length=I.length;for(L=0;L<I.length;L++){J[L]=I[L]}}else{n.apply(J,j.makeArray(K))}return J},attr:function(J,L){var I=this,K;if(typeof J==="object"){k(J,function(M,N){I.attr(M,N)})}else{if(c(L)){this.each(function(){var M;if(this.nodeType===1){M=E[J];if(M&&M.set){M.set(this,L);return}if(L===null){this.removeAttribute(J,2)}else{this.setAttribute(J,L,2)}}})}else{if(I[0]&&I[0].nodeType===1){K=E[J];if(K&&K.get){return K.get(I[0],J)}if(y[J]){return I.prop(J)?J:h}L=I[0].getAttribute(J,2);if(L===null){L=h}}return L}}return I},removeAttr:function(I){return this.attr(I,null)},prop:function(J,K){var I=this;J=C[J]||J;if(typeof J==="object"){k(J,function(L,M){I.prop(L,M)})}else{if(c(K)){this.each(function(){if(this.nodeType==1){this[J]=K}})}else{if(I[0]&&I[0].nodeType&&J in I[0]){return I[0][J]}return K}}return I},css:function(K,O){var J=this,P,N;function M(Q){return Q.replace(/-(\D)/g,function(S,R){return R.toUpperCase()})}function I(Q){return Q.replace(/[A-Z]/g,function(R){return"-"+R})}if(typeof K==="object"){k(K,function(Q,R){J.css(Q,R)})}else{if(c(O)){K=M(K);if(typeof O==="number"&&!b[K]){O+="px"}J.each(function(){var R=this.style;N=F[K];if(N&&N.set){N.set(this,O);return}try{this.style[e[K]||K]=O}catch(Q){}if(O===null||O===""){if(R.removeProperty){R.removeProperty(I(K))}else{R.removeAttribute(K)}}})}else{P=J[0];N=F[K];if(N&&N.get){return N.get(P)}if(P.ownerDocument.defaultView){try{return P.ownerDocument.defaultView.getComputedStyle(P,null).getPropertyValue(I(K))}catch(L){return h}}else{if(P.currentStyle){return P.currentStyle[M(K)]}}}}return J},remove:function(){var I=this,K,J=this.length;while(J--){K=I[J];G.clean(K);if(K.parentNode){K.parentNode.removeChild(K)}}return this},empty:function(){var I=this,K,J=this.length;while(J--){K=I[J];while(K.firstChild){K.removeChild(K.firstChild)}}return this},html:function(L){var I=this,K;if(c(L)){K=I.length;try{while(K--){I[K].innerHTML=L}}catch(J){j(I[K]).empty().append(L)}return I}return I[0]?I[0].innerHTML:""},text:function(K){var I=this,J;if(c(K)){J=I.length;while(J--){if("innerText" in I[J]){I[J].innerText=K}else{I[0].textContent=K}}return I}return I[0]?(I[0].innerText||I[0].textContent):""},append:function(){return s(this,arguments,function(I){if(this.nodeType===1){this.appendChild(I)}})},prepend:function(){return s(this,arguments,function(I){if(this.nodeType===1){this.insertBefore(I,this.firstChild)}},true)},before:function(){var I=this;if(I[0]&&I[0].parentNode){return s(I,arguments,function(J){this.parentNode.insertBefore(J,this)})}return I},after:function(){var I=this;if(I[0]&&I[0].parentNode){return s(I,arguments,function(J){this.parentNode.insertBefore(J,this.nextSibling)},true)}return I},appendTo:function(I){j(I).append(this);return this},prependTo:function(I){j(I).prepend(this);return this},replaceWith:function(I){return this.before(I).remove()},wrap:function(I){return p(this,I)},wrapAll:function(I){return p(this,I,true)},wrapInner:function(I){this.each(function(){j(this).contents().wrapAll(I)});return this},unwrap:function(){return this.parent().each(function(){j(this).replaceWith(this.childNodes)})},clone:function(){var I=[];this.each(function(){I.push(this.cloneNode(true))});return j(I)},addClass:function(I){return this.toggleClass(I,true)},removeClass:function(I){return this.toggleClass(I,false)},toggleClass:function(J,K){var I=this;if(typeof J!="string"){return I}if(J.indexOf(" ")!==-1){k(J.split(" "),function(){I.toggleClass(this,K)})}else{I.each(function(L,N){var M,O;O=d(N,J);if(O!==K){M=N.className;if(O){N.className=x((" "+M+" ").replace(" "+J+" "," "))}else{N.className+=M?" "+J:J}}})}return I},hasClass:function(I){return d(this[0],I)},each:function(I){return k(this,I)},on:function(I,J){return this.each(function(){G.bind(this,I,J)})},off:function(I,J){return this.each(function(){G.unbind(this,I,J)})},trigger:function(I){return this.each(function(){if(typeof I=="object"){G.fire(this,I.type,I)}else{G.fire(this,I)}})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new j(w.apply(this,arguments))},eq:function(I){return I===-1?this.slice(I):this.slice(I,+I+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(I){var L,J,K=[];for(L=0,J=this.length;L<J;L++){j.find(I,this[L],K)}return j(K)},filter:function(I){if(typeof I=="function"){return j(o(this.toArray(),function(K,J){return I(J,K)}))}return j(j.filter(I,this.toArray()))},closest:function(J){var I=[];if(J instanceof j){J=J[0]}this.each(function(K,L){while(L){if(typeof J=="string"&&j(L).is(J)){I.push(L);break}else{if(L==J){I.push(L);break}}L=L.parentNode}});return j(I)},offset:function(L){var O,K,J;var I=0,N=0,M;if(!L){O=this[0];if(O){K=O.ownerDocument;J=K.documentElement;if(O.getBoundingClientRect){M=O.getBoundingClientRect();I=M.left+(J.scrollLeft||K.body.scrollLeft)-J.clientLeft;N=M.top+(J.scrollTop||K.body.scrollTop)-J.clientTop}}return{left:I,top:N}}return this.css(L)},push:n,sort:[].sort,splice:[].splice};f.extend(j,{extend:f.extend,makeArray:function(I){if(B(I)||I.nodeType){return[I]}return f.toArray(I)},inArray:z,isArray:f.isArray,each:k,trim:x,grep:o,find:i,expr:i.selectors,unique:i.uniqueSort,text:i.getText,contains:i.contains,filter:function(L,I,K){var J=I.length;if(K){L=":not("+L+")"}while(J--){if(I[J].nodeType!=1){I.splice(J,1)}}if(I.length===1){I=j.find.matchesSelector(I[0],L)?[I[0]]:[]}else{I=j.find.matches(L,I)}return I}});function u(J,M,L){var I=[],K=J[M];if(typeof L!="string"&&L instanceof j){L=L[0]}while(K&&K.nodeType!==9){if(L!==undefined){if(K===L){break}if(typeof L=="string"&&j(K).is(L)){break}}if(K.nodeType===1){I.push(K)}K=K[M]}return I}function A(L,K,J,M){var I=[];if(M instanceof j){M=M[0]}for(;L;L=L[K]){if(J&&L.nodeType!==J){continue}if(M!==undefined){if(L===M){break}if(typeof M=="string"&&j(L).is(M)){break}}I.push(L)}return I}function a(K,J,I){for(K=K[J];K;K=K[J]){if(K.nodeType==I){return K}}return null}k({parent:function(J){var I=J.parentNode;return I&&I.nodeType!==11?I:null},parents:function(I){return u(I,"parentNode")},next:function(I){return a(I,"nextSibling",1)},prev:function(I){return a(I,"previousSibling",1)},children:function(I){return A(I.firstChild,"nextSibling",1)},contents:function(I){return f.toArray((I.nodeName==="iframe"?I.contentDocument||I.contentWindow.document:I).childNodes)}},function(I,J){j.fn[I]=function(L){var M=this,K=[];M.each(function(){var N=J.call(K,this,L,K);if(N){if(j.isArray(N)){K.push.apply(K,N)}else{K.push(N)}}});if(this.length>1){K=j.unique(K);if(I.indexOf("parents")===0){K=K.reverse()}}K=j(K);if(L){return K.filter(L)}return K}});k({parentsUntil:function(I,J){return u(I,"parentNode",J)},nextUntil:function(I,J){return A(I,"nextSibling",1,J).slice(1)},prevUntil:function(I,J){return A(I,"previousSibling",1,J).slice(1)}},function(I,J){j.fn[I]=function(L,N){var M=this,K=[];M.each(function(){var O=J.call(K,this,L,K);if(O){if(j.isArray(O)){K.push.apply(K,O)}else{K.push(O)}}});if(this.length>1){K=j.unique(K);if(I.indexOf("parents")===0||I==="prevUntil"){K=K.reverse()}}K=j(K);if(N){return K.filter(N)}return K}});j.fn.is=function(I){return !!I&&this.filter(I).length>0};j.fn.init.prototype=j.fn;j.overrideDefaults=function(K){var J;function I(L,M){J=J||K();if(arguments.length===0){L=J.element}if(!M){M=J.context}return new I.fn.init(L,M)}j.extend(I,this);return I};function m(K,J,I){k(I,function(L,M){K[L]=K[L]||{};K[L][J]=M})}if(g.ie&&g.ie<8){m(E,"get",{maxlength:function(J){var I=J.maxLength;if(I===2147483647){return h}return I},size:function(J){var I=J.size;if(I===20){return h}return I},"class":function(I){return I.className},style:function(J){var I=J.style.cssText;if(I.length===0){return h}return I}});m(E,"set",{"class":function(J,I){J.className=I},style:function(J,I){J.style.cssText=I}})}if(g.ie&&g.ie<9){e["float"]="styleFloat";m(F,"set",{opacity:function(K,J){var I=K.style;if(J===null||J===""){I.removeAttribute("filter")}else{I.zoom=1;I.filter="alpha(opacity="+(J*100)+")"}}})}j.attrHooks=E;j.cssHooks=F;return j});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/ElementUtils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/ElementUtils",["tinymce/dom/BookmarkManager","tinymce/util/Tools"],function(a,c){var d=c.each;function b(e){this.compare=function(h,g){if(h.nodeName!=g.nodeName){return false}function f(j){var k={};d(e.getAttribs(j),function(l){var m=l.nodeName.toLowerCase();if(m.indexOf("_")!==0&&m!=="style"&&m!=="data-mce-style"){k[m]=e.getAttrib(j,m)}});return k}function i(m,l){var k,j;for(j in m){if(m.hasOwnProperty(j)){k=l[j];if(typeof k=="undefined"){return false}if(m[j]!=k){return false}delete l[j]}}for(j in l){if(l.hasOwnProperty(j)){return false}}return true}if(!i(f(h),f(g))){return false}if(!i(e.parseStyle(e.getAttrib(h,"style")),e.parseStyle(e.getAttrib(g,"style")))){return false}return !a.isBookmarkNode(h)&&!a.isBookmarkNode(g)}}return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/EventUtils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/EventUtils",[],function(){var g="mce-data-";var c=/^(?:mouse|contextmenu)|click/;var b={keyLocation:1,layerX:1,layerY:1,returnValue:1};function d(k,j,l,i){if(k.addEventListener){k.addEventListener(j,l,i||false)}else{if(k.attachEvent){k.attachEvent("on"+j,l)}}}function f(k,j,l,i){if(k.removeEventListener){k.removeEventListener(j,l,i||false)}else{if(k.detachEvent){k.detachEvent("on"+j,l)}}}function a(k,o){var j,i=o||{},m;function l(){return false}function n(){return true}for(j in k){if(!b[j]){i[j]=k[j]}}if(!i.target){i.target=i.srcElement||document}if(k&&c.test(k.type)&&k.pageX===m&&k.clientX!==m){var r=i.target.ownerDocument||document;var q=r.documentElement;var p=r.body;i.pageX=k.clientX+(q&&q.scrollLeft||p&&p.scrollLeft||0)-(q&&q.clientLeft||p&&p.clientLeft||0);i.pageY=k.clientY+(q&&q.scrollTop||p&&p.scrollTop||0)-(q&&q.clientTop||p&&p.clientTop||0)}i.preventDefault=function(){i.isDefaultPrevented=n;if(k){if(k.preventDefault){k.preventDefault()}else{k.returnValue=false}}};i.stopPropagation=function(){i.isPropagationStopped=n;if(k){if(k.stopPropagation){k.stopPropagation()}else{k.cancelBubble=true}}};i.stopImmediatePropagation=function(){i.isImmediatePropagationStopped=n;i.stopPropagation()};if(!i.isDefaultPrevented){i.isDefaultPrevented=l;i.isPropagationStopped=l;i.isImmediatePropagationStopped=l}return i}function e(n,p,k){var m=n.document,l={type:"ready"};if(k.domLoaded){p(l);return}function j(){if(!k.domLoaded){k.domLoaded=true;p(l)}}function i(){if(m.readyState==="complete"||(m.readyState==="interactive"&&m.body)){f(m,"readystatechange",i);j()}}function o(){try{m.documentElement.doScroll("left")}catch(q){setTimeout(o,0);return}j()}if(m.addEventListener){if(m.readyState==="complete"){j()}else{d(n,"DOMContentLoaded",j)}}else{d(m,"readystatechange",i);if(m.documentElement.doScroll&&n.self===n.top){o()}}d(n,"load",j)}function h(){var i=this,k={},m,p,j,l,o;p=g+(+new Date()).toString(32);l="onmouseenter" in document.documentElement;j="onfocusin" in document.documentElement;o={mouseenter:"mouseover",mouseleave:"mouseout"};m=1;i.domLoaded=false;i.events=k;function n(t,w){var s,u,r,v,q=k[w];s=q&&q[t.type];if(s){for(u=0,r=s.length;u<r;u++){v=s[u];if(v&&v.func.call(v.scope,t)===false){t.preventDefault()}if(t.isImmediatePropagationStopped()){return}}}}i.bind=function(v,y,B,C){var r,s,t,q,z,x,A,u=window;function w(D){n(a(D||u.event),r)}if(!v||v.nodeType===3||v.nodeType===8){return}if(!v[p]){r=m++;v[p]=r;k[r]={}}else{r=v[p]}C=C||v;y=y.split(" ");t=y.length;while(t--){q=y[t];x=w;z=A=false;if(q==="DOMContentLoaded"){q="ready"}if(i.domLoaded&&q==="ready"&&v.readyState=="complete"){B.call(C,a({type:q}));continue}if(!l){z=o[q];if(z){x=function(D){var F,E;F=D.currentTarget;E=D.relatedTarget;if(E&&F.contains){E=F.contains(E)}else{while(E&&E!==F){E=E.parentNode}}if(!E){D=a(D||u.event);D.type=D.type==="mouseout"?"mouseleave":"mouseenter";D.target=F;n(D,r)}}}}if(!j&&(q==="focusin"||q==="focusout")){A=true;z=q==="focusin"?"focus":"blur";x=function(D){D=a(D||u.event);D.type=D.type==="focus"?"focusin":"focusout";n(D,r)}}s=k[r][q];if(!s){k[r][q]=s=[{func:B,scope:C}];s.fakeName=z;s.capture=A;s.nativeHandler=x;if(q==="ready"){e(v,x,i)}else{d(v,z||q,x,A)}}else{if(q==="ready"&&i.domLoaded){B({type:q})}else{s.push({func:B,scope:C})}}}v=s=0;return B};i.unbind=function(v,y,B){var r,t,u,C,q,s;if(!v||v.nodeType===3||v.nodeType===8){return i}r=v[p];if(r){s=k[r];if(y){y=y.split(" ");u=y.length;while(u--){q=y[u];t=s[q];if(t){if(B){C=t.length;while(C--){if(t[C].func===B){var x=t.nativeHandler;var z=t.fakeName,A=t.capture;t=t.slice(0,C).concat(t.slice(C+1));t.nativeHandler=x;t.fakeName=z;t.capture=A;s[q]=t}}}if(!B||t.length===0){delete s[q];f(v,t.fakeName||q,t.nativeHandler,t.capture)}}}}else{for(q in s){t=s[q];f(v,t.fakeName||q,t.nativeHandler,t.capture)}s={}}for(q in s){return i}delete k[r];try{delete v[p]}catch(w){v[p]=null}}return i};i.fire=function(s,r,q){var t;if(!s||s.nodeType===3||s.nodeType===8){return i}q=a(null,q);q.type=r;q.target=s;do{t=s[p];if(t){n(q,t)}s=s.parentNode||s.ownerDocument||s.defaultView||s.parentWindow}while(s&&!q.isPropagationStopped());return i};i.clean=function(t){var r,q,s=i.unbind;if(!t||t.nodeType===3||t.nodeType===8){return i}if(t[p]){s(t)}if(!t.getElementsByTagName){t=t.document}if(t&&t.getElementsByTagName){s(t);q=t.getElementsByTagName("*");r=q.length;while(r--){t=q[r];if(t[p]){s(t)}}}return i};i.destroy=function(){k={}};i.cancel=function(q){if(q){q.preventDefault();q.stopImmediatePropagation()}return false}}h.Event=new h();h.Event.bind(window,"ready",function(){});return h});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/Range.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/Range",["tinymce/util/Tools"],function(a){function b(c){var g=this,e=c.doc,S=0,E=1,k=2,D=true,Q=false,U="startOffset",i="startContainer",O="endContainer",z="endOffset",l=a.extend,o=c.nodeIndex;function w(){return e.createDocumentFragment()}function r(W,V){B(D,W,V)}function t(W,V){B(Q,W,V)}function h(V){r(V.parentNode,o(V))}function I(V){r(V.parentNode,o(V)+1)}function J(V){t(V.parentNode,o(V))}function u(V){t(V.parentNode,o(V)+1)}function A(V){if(V){g[O]=g[i];g[z]=g[U]}else{g[i]=g[O];g[U]=g[z]}g.collapsed=D}function x(V){h(V);u(V)}function F(V){r(V,0);t(V,V.nodeType===1?V.childNodes.length:V.nodeValue.length)}function v(Z,V){var ac=g[i],X=g[U],ab=g[O],W=g[z],aa=V.startContainer,ae=V.startOffset,Y=V.endContainer,ad=V.endOffset;if(Z===0){return G(ac,X,aa,ae)}if(Z===1){return G(ab,W,aa,ae)}if(Z===2){return G(ab,W,Y,ad)}if(Z===3){return G(ac,X,Y,ad)}}function q(){m(k)}function H(){return m(S)}function d(){return m(E)}function C(Z){var W=this[i],V=this[U],Y,X;if((W.nodeType===3||W.nodeType===4)&&W.nodeValue){if(!V){W.parentNode.insertBefore(Z,W)}else{if(V>=W.nodeValue.length){c.insertAfter(Z,W)}else{Y=W.splitText(V);W.parentNode.insertBefore(Z,Y)}}}else{if(W.childNodes.length>0){X=W.childNodes[V]}if(X){W.insertBefore(Z,X)}else{if(W.nodeType==3){c.insertAfter(Z,W)}else{W.appendChild(Z)}}}}function M(W){var V=g.extractContents();g.insertNode(W);W.appendChild(V);g.selectNode(W)}function K(){return l(new b(c),{startContainer:g[i],startOffset:g[U],endContainer:g[O],endOffset:g[z],collapsed:g.collapsed,commonAncestorContainer:g.commonAncestorContainer})}function N(V,W){var X;if(V.nodeType==3){return V}if(W<0){return V}X=V.firstChild;while(X&&W>0){--W;X=X.nextSibling}if(X){return X}return V}function n(){return(g[i]==g[O]&&g[U]==g[z])}function G(Y,aa,W,Z){var ab,X,V,ac,ae,ad;if(Y==W){if(aa==Z){return 0}if(aa<Z){return -1}return 1}ab=W;while(ab&&ab.parentNode!=Y){ab=ab.parentNode}if(ab){X=0;V=Y.firstChild;while(V!=ab&&X<aa){X++;V=V.nextSibling}if(aa<=X){return -1}return 1}ab=Y;while(ab&&ab.parentNode!=W){ab=ab.parentNode}if(ab){X=0;V=W.firstChild;while(V!=ab&&X<Z){X++;V=V.nextSibling}if(X<Z){return -1}return 1}ac=c.findCommonAncestor(Y,W);ae=Y;while(ae&&ae.parentNode!=ac){ae=ae.parentNode}if(!ae){ae=ac}ad=W;while(ad&&ad.parentNode!=ac){ad=ad.parentNode}if(!ad){ad=ac}if(ae==ad){return 0}V=ac.firstChild;while(V){if(V==ae){return -1}if(V==ad){return 1}V=V.nextSibling}}function B(W,Z,Y){var V,X;if(W){g[i]=Z;g[U]=Y}else{g[O]=Z;g[z]=Y}V=g[O];while(V.parentNode){V=V.parentNode}X=g[i];while(X.parentNode){X=X.parentNode}if(X==V){if(G(g[i],g[U],g[O],g[z])>0){g.collapse(W)}}else{g.collapse(W)}g.collapsed=n();g.commonAncestorContainer=c.findCommonAncestor(g[i],g[O])}function m(ac){var ab,Y=0,ae=0,W,aa,X,Z,V,ad;if(g[i]==g[O]){return f(ac)}for(ab=g[O],W=ab.parentNode;W;ab=W,W=W.parentNode){if(W==g[i]){return s(ab,ac)}++Y}for(ab=g[i],W=ab.parentNode;W;ab=W,W=W.parentNode){if(W==g[O]){return T(ab,ac)}++ae}aa=ae-Y;X=g[i];while(aa>0){X=X.parentNode;aa--}Z=g[O];while(aa<0){Z=Z.parentNode;aa++}for(V=X.parentNode,ad=Z.parentNode;V!=ad;V=V.parentNode,ad=ad.parentNode){X=V;Z=ad}return p(X,Z,ac)}function f(ab){var ad,ae,V,X,Y,ac,Z,W,aa;if(ab!=k){ad=w()}if(g[U]==g[z]){return ad}if(g[i].nodeType==3){ae=g[i].nodeValue;V=ae.substring(g[U],g[z]);if(ab!=E){X=g[i];W=g[U];aa=g[z]-g[U];if(W===0&&aa>=X.nodeValue.length-1){X.parentNode.removeChild(X)}else{X.deleteData(W,aa)}g.collapse(D)}if(ab==k){return}if(V.length>0){ad.appendChild(e.createTextNode(V))}return ad}X=N(g[i],g[U]);Y=g[z]-g[U];while(X&&Y>0){ac=X.nextSibling;Z=y(X,ab);if(ad){ad.appendChild(Z)}--Y;X=ac}if(ab!=E){g.collapse(D)}return ad}function s(ac,Z){var ab,aa,W,V,Y,X;if(Z!=k){ab=w()}aa=j(ac,Z);if(ab){ab.appendChild(aa)}W=o(ac);V=W-g[U];if(V<=0){if(Z!=E){g.setEndBefore(ac);g.collapse(Q)}return ab}aa=ac.previousSibling;while(V>0){Y=aa.previousSibling;X=y(aa,Z);if(ab){ab.insertBefore(X,ab.firstChild)}--V;aa=Y}if(Z!=E){g.setEndBefore(ac);g.collapse(Q)}return ab}function T(aa,Z){var ac,W,ab,V,Y,X;if(Z!=k){ac=w()}ab=P(aa,Z);if(ac){ac.appendChild(ab)}W=o(aa);++W;V=g[z]-W;ab=aa.nextSibling;while(ab&&V>0){Y=ab.nextSibling;X=y(ab,Z);if(ac){ac.appendChild(X)}--V;ab=Y}if(Z!=E){g.setStartAfter(aa);g.collapse(D)}return ac}function p(Z,V,ac){var W,ae,aa,ab,X,ad,Y;if(ac!=k){ae=w()}W=P(Z,ac);if(ae){ae.appendChild(W)}aa=o(Z);ab=o(V);++aa;X=ab-aa;ad=Z.nextSibling;while(X>0){Y=ad.nextSibling;W=y(ad,ac);if(ae){ae.appendChild(W)}ad=Y;--X}W=j(V,ac);if(ae){ae.appendChild(W)}if(ac!=E){g.setStartAfter(Z);g.collapse(D)}return ae}function j(ab,ac){var X=N(g[O],g[z]-1),ad,aa;var Z,V,W,Y=X!=g[O];if(X==ab){return L(X,Y,Q,ac)}ad=X.parentNode;aa=L(ad,Q,Q,ac);while(ad){while(X){Z=X.previousSibling;V=L(X,Y,Q,ac);if(ac!=k){aa.insertBefore(V,aa.firstChild)}Y=D;X=Z}if(ad==ab){return aa}X=ad.previousSibling;ad=ad.parentNode;W=L(ad,Q,Q,ac);if(ac!=k){W.appendChild(aa)}aa=W}}function P(ab,ac){var Y=N(g[i],g[U]),Z=Y!=g[i];var ad,aa,X,V,W;if(Y==ab){return L(Y,Z,D,ac)}ad=Y.parentNode;aa=L(ad,Q,D,ac);while(ad){while(Y){X=Y.nextSibling;V=L(Y,Z,D,ac);if(ac!=k){aa.appendChild(V)}Z=D;Y=X}if(ad==ab){return aa}Y=ad.nextSibling;ad=ad.parentNode;W=L(ad,Q,D,ac);if(ac!=k){W.appendChild(aa)}aa=W}}function L(V,Z,ac,ad){var Y,X,aa,W,ab;if(Z){return y(V,ad)}if(V.nodeType==3){Y=V.nodeValue;if(ac){W=g[U];X=Y.substring(W);aa=Y.substring(0,W)}else{W=g[z];X=Y.substring(0,W);aa=Y.substring(W)}if(ad!=E){V.nodeValue=aa}if(ad==k){return}ab=c.clone(V,Q);ab.nodeValue=X;return ab}if(ad==k){return}return c.clone(V,Q)}function y(W,V){if(V!=k){return V==E?c.clone(W,D):W}W.parentNode.removeChild(W)}function R(){return c.create("body",null,d()).outerText}l(g,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:D,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:r,setEnd:t,setStartBefore:h,setStartAfter:I,setEndBefore:J,setEndAfter:u,collapse:A,selectNode:x,selectNodeContents:F,compareBoundaryPoints:v,deleteContents:q,extractContents:H,cloneContents:d,insertNode:C,surroundContents:M,cloneRange:K,toStringIE:R});return g}b.prototype.toString=function(){return this.toStringIE()};return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/RangeUtils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker"],function(a,b){var d=a.each;function e(f,g){var h=f.childNodes;g--;if(g>h.length-1){g=h.length-1}else{if(g<0){g=0}}return h[g]||f}function c(f){this.walk=function(g,v){var l=g.startContainer,o=g.startOffset,w=g.endContainer,p=g.endOffset,m,j,r,k,u,t,h;h=f.select("td.mce-item-selected,th.mce-item-selected");if(h.length>0){d(h,function(x){v([x])});return}function i(x){var y;y=x[0];if(y.nodeType===3&&y===l&&o>=y.nodeValue.length){x.splice(0,1)}y=x[x.length-1];if(p===0&&x.length>0&&y===w&&y.nodeType===3){x.splice(x.length-1,1)}return x}function s(z,y,x){var A=[];for(;z&&z!=x;z=z[y]){A.push(z)}return A}function q(y,x){do{if(y.parentNode==x){return y}y=y.parentNode}while(y)}function n(z,y,A){var x=A?"nextSibling":"previousSibling";for(k=z,u=k.parentNode;k&&k!=y;k=u){u=k.parentNode;t=s(k==z?k:k[x],x);if(t.length){if(!A){t.reverse()}v(i(t))}}}if(l.nodeType==1&&l.hasChildNodes()){l=l.childNodes[o]}if(w.nodeType==1&&w.hasChildNodes()){w=e(w,p)}if(l==w){return v(i([l]))}m=f.findCommonAncestor(l,w);for(k=l;k;k=k.parentNode){if(k===w){return n(l,m,true)}if(k===m){break}}for(k=w;k;k=k.parentNode){if(k===l){return n(w,m)}if(k===m){break}}j=q(l,m)||l;r=q(w,m)||w;n(l,j,true);t=s(j==l?j:j.nextSibling,"nextSibling",r==w?r.nextSibling:r);if(t.length){v(i(t))}n(w,r)};this.split=function(h){var k=h.startContainer,g=h.startOffset,l=h.endContainer,j=h.endOffset;function i(m,n){return m.splitText(n)}if(k==l&&k.nodeType==3){if(g>0&&g<k.nodeValue.length){l=i(k,g);k=l.previousSibling;if(j>g){j=j-g;k=l=i(l,j).previousSibling;j=l.nodeValue.length;g=0}else{j=0}}}else{if(k.nodeType==3&&g>0&&g<k.nodeValue.length){k=i(k,g);g=0}if(l.nodeType==3&&j>0&&j<l.nodeValue.length){l=i(l,j).previousSibling;j=l.nodeValue.length}}return{startContainer:k,startOffset:g,endContainer:l,endOffset:j}};this.normalize=function(g){var j,i;function h(m){var l,p,k,r=f.getRoot(),n,q;var t,o;function v(w,x){var y=new b(w,f.getParent(w.parentNode,f.isBlock)||r);while((w=y[x?"prev":"next"]())){if(w.nodeName==="BR"){return true}}}function s(x,w){return x.previousSibling&&x.previousSibling.nodeName==w}function u(z,w){var A,x,y;w=w||l;y=f.getParent(w.parentNode,f.isBlock)||r;if(z&&w.nodeName=="BR"&&o&&f.isEmpty(y)){l=w.parentNode;p=f.nodeIndex(w);j=true;return}A=new b(w,y);while((n=A[z?"prev":"next"]())){if(f.getContentEditableParent(n)==="false"){return}if(n.nodeType===3&&n.nodeValue.length>0){l=n;p=z?n.nodeValue.length:0;j=true;return}if(f.isBlock(n)||q[n.nodeName.toLowerCase()]){return}x=n}if(i&&x){l=x;j=true;p=0}}l=g[(m?"start":"end")+"Container"];p=g[(m?"start":"end")+"Offset"];o=l.nodeType==1&&p===l.childNodes.length;q=f.schema.getNonEmptyElements();t=m;if(l.nodeType==1&&p>l.childNodes.length-1){t=false}if(l.nodeType===9){l=f.getRoot();p=0}if(l===r){if(t){n=l.childNodes[p>0?p-1:0];if(n){if(q[n.nodeName]||n.nodeName=="TABLE"){return}}}if(l.hasChildNodes()){p=Math.min(!t&&p>0?p-1:p,l.childNodes.length-1);l=l.childNodes[p];p=0;if(l.hasChildNodes()&&!/TABLE/.test(l.nodeName)){n=l;k=new b(l,r);do{if(n.nodeType===3&&n.nodeValue.length>0){p=t?0:n.nodeValue.length;l=n;j=true;break}if(q[n.nodeName.toLowerCase()]){p=f.nodeIndex(n);l=n.parentNode;if(n.nodeName=="IMG"&&!t){p++}j=true;break}}while((n=(t?k.next():k.prev())))}}}if(i){if(l.nodeType===3&&p===0){u(true)}if(l.nodeType===1){n=l.childNodes[p];if(!n){n=l.childNodes[p-1]}if(n&&n.nodeName==="BR"&&!s(n,"A")&&!v(n)&&!v(n,true)){u(true,n)}}}if(t&&!i&&l.nodeType===3&&p===l.nodeValue.length){u(false)}if(j){g["set"+(m?"Start":"End")](l,p)}}i=g.collapsed;h(true);if(!i){h()}if(j&&i){g.collapse(true)}return j}}c.compareRanges=function(g,f){if(g&&f){if(g.item||g.duplicate){if(g.item&&f.item&&g.item(0)===f.item(0)){return true}if(g.isEqual&&f.isEqual&&f.isEqual(g)){return true}}else{return g.startContainer==f.startContainer&&g.startOffset==f.startOffset}}return false};c.getCaretRangeFromPoint=function(g,k,j){var h,f;if(j.caretPositionFromPoint){f=j.caretPositionFromPoint(g,k);h=j.createRange();h.setStart(f.offsetNode,f.offset);h.collapse(true)}else{if(j.caretRangeFromPoint){h=j.caretRangeFromPoint(g,k)}else{if(j.body.createTextRange){h=j.body.createTextRange();try{h.moveToPoint(g,k);h.collapse(true)}catch(i){h.collapse(k<j.body.clientHeight)}}}}return h};c.getNode=function(f,g){if(f.nodeType==1&&f.hasChildNodes()){if(g>=f.childNodes.length){g=f.childNodes.length-1}f=f.childNodes[g]}return f};return c});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/ScriptLoader.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,a){var c=e.DOM;var d=a.each,b=a.grep;function f(){var h=0,o=1,m=2,p={},n=[],j={},i=[],l=0,k;function g(s,w){var t=c,v,u;function q(){t.remove(u);if(v){v.onreadystatechange=v.onload=v=null}w()}function r(){if(typeof console!=="undefined"&&console.log){console.log("Failed to load: "+s)}}u=t.uniqueId();v=document.createElement("script");v.id=u;v.type="text/javascript";v.src=a._addCacheSuffix(s);if("onreadystatechange" in v){v.onreadystatechange=function(){if(/loaded|complete/.test(v.readyState)){q()}}}else{v.onload=q}v.onerror=r;(document.getElementsByTagName("head")[0]||document.body).appendChild(v)}this.isDone=function(q){return p[q]==m};this.markDone=function(q){p[q]=m};this.add=this.load=function(q,t,r){var s=p[q];if(s==k){n.push(q);p[q]=h}if(t){if(!j[q]){j[q]=[]}j[q].push({func:t,scope:r||this})}};this.loadQueue=function(r,q){this.loadScripts(n,r,q)};this.loadScripts=function(q,u,t){var s;function r(v){d(j[v],function(w){w.func.call(w.scope)});j[v]=k}i.push({func:u,scope:t||this});s=function(){var v=b(q);q.length=0;d(v,function(w){if(p[w]==m){r(w);return}if(p[w]!=o){p[w]=o;l++;g(w,function(){p[w]=m;l--;r(w);s()})}});if(!l){d(i,function(w){w.func.call(w.scope)});i.length=0}};s()}}f.ScriptLoader=new f();return f});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/Selection.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/Selection",["tinymce/dom/TreeWalker","tinymce/dom/TridentSelection","tinymce/dom/ControlSelection","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/Env","tinymce/util/Tools"],function(i,g,a,e,j,f,d){var h=d.each,c=d.trim;var b=f.ie;function k(p,o,n,m){var l=this;l.dom=p;l.win=o;l.serializer=n;l.editor=m;l.bookmarkManager=new j(l);l.controlSelection=new a(l,m);if(!l.win.getSelection){l.tridentSel=new g(l)}}k.prototype={setCursorLocation:function(n,o){var m=this,l=m.dom.createRng();if(!n){m._moveEndPoint(l,m.editor.getBody(),true);m.setRng(l)}else{l.setStart(n,o);l.setEnd(n,o);m.setRng(l);m.collapse(false)}},getContent:function(p){var n=this,m=n.getRng(),l=n.dom.create("body");var s=n.getSel(),r,q,o;p=p||{};r=q="";p.get=true;p.format=p.format||"html";p.selection=true;n.editor.fire("BeforeGetContent",p);if(p.format=="text"){return n.isCollapsed()?"":(m.text||(s.toString?s.toString():""))}if(m.cloneContents){o=m.cloneContents();if(o){l.appendChild(o)}}else{if(m.item!==undefined||m.htmlText!==undefined){l.innerHTML="<br>"+(m.item?m.item(0).outerHTML:m.htmlText);l.removeChild(l.firstChild)}else{l.innerHTML=m.toString()}}if(/^\s/.test(l.innerHTML)){r=" "}if(/\s+$/.test(l.innerHTML)){q=" "}p.getInner=true;p.content=n.isCollapsed()?"":r+n.serializer.serialize(l,p)+q;n.editor.fire("GetContent",p);return p.content},setContent:function(m,o){var t=this,l=t.getRng(),p,q=t.win.document,s,r;o=o||{format:"html"};o.set=true;o.selection=true;m=o.content=m;if(!o.no_events){t.editor.fire("BeforeSetContent",o)}m=o.content;if(l.insertNode){m+='<span id="__caret">_</span>';if(l.startContainer==q&&l.endContainer==q){q.body.innerHTML=m}else{l.deleteContents();if(q.body.childNodes.length===0){q.body.innerHTML=m}else{if(l.createContextualFragment){l.insertNode(l.createContextualFragment(m))}else{s=q.createDocumentFragment();r=q.createElement("div");s.appendChild(r);r.outerHTML=m;l.insertNode(s)}}}p=t.dom.get("__caret");l=q.createRange();l.setStartBefore(p);l.setEndBefore(p);t.setRng(l);t.dom.remove("__caret");try{t.setRng(l)}catch(n){}}else{if(l.item){q.execCommand("Delete",false,null);l=t.getRng()}if(/^\s+/.test(m)){l.pasteHTML('<span id="__mce_tmp">_</span>'+m);t.dom.remove("__mce_tmp")}else{l.pasteHTML(m)}}if(!o.no_events){t.editor.fire("SetContent",o)}},getStart:function(r){var n=this,m=n.getRng(),o,l,q,p;if(m.duplicate||m.item){if(m.item){return m.item(0)}q=m.duplicate();q.collapse(1);o=q.parentElement();if(o.ownerDocument!==n.dom.doc){o=n.dom.getRoot()}l=p=m.parentElement();while((p=p.parentNode)){if(p==o){o=l;break}}return o}else{o=m.startContainer;if(o.nodeType==1&&o.hasChildNodes()){if(!r||!m.collapsed){o=o.childNodes[Math.min(o.childNodes.length-1,m.startOffset)]}}if(o&&o.nodeType==3){return o.parentNode}return o}},getEnd:function(p){var m=this,l=m.getRng(),o,n;if(l.duplicate||l.item){if(l.item){return l.item(0)}l=l.duplicate();l.collapse(0);o=l.parentElement();if(o.ownerDocument!==m.dom.doc){o=m.dom.getRoot()}if(o&&o.nodeName=="BODY"){return o.lastChild||o}return o}else{o=l.endContainer;n=l.endOffset;if(o.nodeType==1&&o.hasChildNodes()){if(!p||!l.collapsed){o=o.childNodes[n>0?n-1:n]}}if(o&&o.nodeType==3){return o.parentNode}return o}},getBookmark:function(l,m){return this.bookmarkManager.getBookmark(l,m)},moveToBookmark:function(l){return this.bookmarkManager.moveToBookmark(l)},select:function(p,o){var n=this,q=n.dom,m=q.createRng(),l;n.lastFocusBookmark=null;if(p){if(!o&&n.controlSelection.controlSelect(p)){return}l=q.nodeIndex(p);m.setStart(p.parentNode,l);m.setEnd(p.parentNode,l+1);if(o){n._moveEndPoint(m,p,true);n._moveEndPoint(m,p)}n.setRng(m)}return p},isCollapsed:function(){var m=this,l=m.getRng(),n=m.getSel();if(!l||l.item){return false}if(l.compareEndPoints){return l.compareEndPoints("StartToEnd",l)===0}return !n||l.collapsed},collapse:function(n){var m=this,l=m.getRng(),o;if(l.item){o=l.item(0);l=m.win.document.body.createTextRange();l.moveToElementText(o)}l.collapse(!!n);m.setRng(l)},getSel:function(){var l=this.win;return l.getSelection?l.getSelection():l.document.selection},getRng:function(r){var u=this,t,l,p,s=u.win.document,n;function q(x,y,v){try{return y.compareBoundaryPoints(x,v)}catch(w){return -1}}if(!r&&u.lastFocusBookmark){var m=u.lastFocusBookmark;if(m.startContainer){l=s.createRange();l.setStart(m.startContainer,m.startOffset);l.setEnd(m.endContainer,m.endOffset)}else{l=m}return l}if(r&&u.tridentSel){return u.tridentSel.getRangeAt(0)}try{if((t=u.getSel())){if(t.rangeCount>0){l=t.getRangeAt(0)}else{l=t.createRange?t.createRange():s.createRange()}}}catch(o){}if(b&&l&&l.setStart&&s.selection){try{n=s.selection.createRange()}catch(o){}if(n&&n.item){p=n.item(0);l=s.createRange();l.setStartBefore(p);l.setEndAfter(p)}}if(!l){l=s.createRange?s.createRange():s.body.createTextRange()}if(l.setStart&&l.startContainer.nodeType===9&&l.collapsed){p=u.dom.getRoot();l.setStart(p,0);l.setEnd(p,0)}if(u.selectedRange&&u.explicitRange){if(q(l.START_TO_START,l,u.selectedRange)===0&&q(l.END_TO_END,l,u.selectedRange)===0){l=u.explicitRange}else{u.selectedRange=null;u.explicitRange=null}}return l},setRng:function(l,n){var m=this,p;if(!l){return}if(l.select){try{l.select()}catch(o){}return}if(!m.tridentSel){p=m.getSel();if(p){m.explicitRange=l;try{p.removeAllRanges();p.addRange(l)}catch(o){}if(n===false&&p.extend){p.collapse(l.endContainer,l.endOffset);p.extend(l.startContainer,l.startOffset)}m.selectedRange=p.rangeCount>0?p.getRangeAt(0):null}}else{if(l.cloneRange){try{m.tridentSel.addRange(l);return}catch(o){}}}},setNode:function(m){var l=this;l.setContent(l.dom.getOuterHTML(m));return m},getNode:function(){var s=this,l=s.getRng(),o;var m=l.startContainer,t=l.endContainer;var p=l.startOffset,q=l.endOffset,r=s.dom.getRoot();function n(v,u){var w=v;while(v&&v.nodeType===3&&v.length===0){v=u?v.nextSibling:v.previousSibling}return v||w}if(!l){return r}if(l.setStart){o=l.commonAncestorContainer;if(!l.collapsed){if(m==t){if(q-p<2){if(m.hasChildNodes()){o=m.childNodes[p]}}}if(m.nodeType===3&&t.nodeType===3){if(m.length===p){m=n(m.nextSibling,true)}else{m=m.parentNode}if(q===0){t=n(t.previousSibling,false)}else{t=t.parentNode}if(m&&m===t){return m}}}if(o&&o.nodeType==3){return o.parentNode}return o}o=l.item?l.item(0):l.parentElement();if(o.ownerDocument!==s.win.document){o=r}return o},getSelectedBlocks:function(o,n){var m=this,s=m.dom,p,l,r=[];l=s.getRoot();o=s.getParent(o||m.getStart(),s.isBlock);n=s.getParent(n||m.getEnd(),s.isBlock);if(o&&o!=l){r.push(o)}if(o&&n&&o!=n){p=o;var q=new i(o,l);while((p=q.next())&&p!=n){if(s.isBlock(p)){r.push(p)}}}if(n&&o!=n&&n!=l){r.push(n)}return r},isForward:function(){var n=this.dom,l=this.getSel(),o,m;if(!l||!l.anchorNode||!l.focusNode){return true}o=n.createRng();o.setStart(l.anchorNode,l.anchorOffset);o.collapse(true);m=n.createRng();m.setStart(l.focusNode,l.focusOffset);m.collapse(true);return o.compareBoundaryPoints(o.START_TO_START,m)<=0},normalize:function(){var m=this,l=m.getRng();if(f.range&&new e(m.dom).normalize(l)){m.setRng(l,m.isForward())}return l},selectorChanged:function(l,o){var m=this,n;if(!m.selectorChangedData){m.selectorChangedData={};n={};m.editor.on("NodeChange",function(s){var r=s.element,t=m.dom,p=t.getParents(r,null,t.getRoot()),q={};h(m.selectorChangedData,function(v,u){h(p,function(w){if(t.is(w,u)){if(!n[u]){h(v,function(x){x(true,{node:w,selector:u,parents:p})});n[u]=v}q[u]=v;return false}})});h(n,function(v,u){if(!q[u]){delete n[u];h(v,function(w){w(false,{node:r,selector:u,parents:p})})}})})}if(!m.selectorChangedData[l]){m.selectorChangedData[l]=[]}m.selectorChangedData[l].push(o);return m},getScrollContainer:function(){var l,m=this.dom.getRoot();while(m&&m.nodeName!="BODY"){if(m.scrollHeight>m.clientHeight){l=m;break}m=m.parentNode}return l},scrollIntoView:function(o){var q,t,u=this,n=u.dom,r=n.getRoot(),l,s;function m(A){var v=0,z=0;var w=A;while(w&&w.nodeType){v+=w.offsetLeft||0;z+=w.offsetTop||0;w=w.offsetParent}return{x:v,y:z}}if(r.nodeName!="BODY"){var p=u.getScrollContainer();if(p){q=m(o).y-m(p).y;s=p.clientHeight;l=p.scrollTop;if(q<l||q+25>l+s){p.scrollTop=q<l?q:q-s+25}return}}t=n.getViewPort(u.editor.getWin());q=n.getPos(o).y;l=t.y;s=t.h;if(q<t.y||q+25>l+s){u.editor.getWin().scrollTo(0,q<l?q:q-s+25)}},placeCaretAt:function(p,o){var q=this.editor.getDoc(),m,l;if(q.caretPositionFromPoint){l=q.caretPositionFromPoint(p,o);m=q.createRange();m.setStart(l.offsetNode,l.offset);m.collapse(true)}else{if(q.caretRangeFromPoint){m=q.caretRangeFromPoint(p,o)}else{if(q.body.createTextRange){m=q.body.createTextRange();try{m.moveToPoint(p,o);m.collapse(true)}catch(n){m.collapse(o<q.body.clientHeight)}}}}this.setRng(m)},_moveEndPoint:function(m,o,q){var l=o,p=new i(o,l);var n=this.dom.schema.getNonEmptyElements();do{if(o.nodeType==3&&c(o.nodeValue).length!==0){if(q){m.setStart(o,0)}else{m.setEnd(o,o.nodeValue.length)}return}if(n[o.nodeName]&&!/^(TD|TH)$/.test(o.nodeName)){if(q){m.setStartBefore(o)}else{if(o.nodeName=="BR"){m.setEndBefore(o)}else{m.setEndAfter(o)}}return}if(f.ie&&f.ie<11&&this.dom.isBlock(o)&&this.dom.isEmpty(o)){if(q){m.setStart(o,0)}else{m.setEnd(o,0)}return}}while((o=(q?p.next():p.prev())));if(l.nodeName=="BODY"){if(q){m.setStart(l,0)}else{m.setEnd(l,l.childNodes.length)}}},destroy:function(){this.win=null;this.controlSelection.destroy()}};return k});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/Serializer.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/Serializer",["tinymce/dom/DOMUtils","tinymce/html/DomParser","tinymce/html/Entities","tinymce/html/Serializer","tinymce/html/Node","tinymce/html/Schema","tinymce/Env","tinymce/util/Tools"],function(h,k,b,g,e,d,f,c){var i=c.each,a=c.trim;var j=h.DOM;return function(n,m){var p,o,l;if(m){p=m.dom;o=m.schema}p=p||j;o=o||new d(n);n.entity_encoding=n.entity_encoding||"named";n.remove_trailing_brs="remove_trailing_brs" in n?n.remove_trailing_brs:true;l=new k(n,o);l.addAttributeFilter("data-mce-tabindex",function(q,r){var s=q.length,t;while(s--){t=q[s];t.attr("tabindex",t.attributes.map["data-mce-tabindex"]);t.attr(r,null)}});l.addAttributeFilter("src,href,style",function(r,q){var v=r.length,s,x,u="data-mce-"+q;var w=n.url_converter,y=n.url_converter_scope,t;while(v--){s=r[v];x=s.attributes.map[u];if(x!==t){s.attr(q,x.length>0?x:null);s.attr(u,null)}else{x=s.attributes.map[q];if(q==="style"){x=p.serializeStyle(p.parseStyle(x),s.name)}else{if(w){x=w.call(y,x,q,s.name)}}s.attr(q,x.length>0?x:null)}}});l.addAttributeFilter("class",function(q){var r=q.length,s,t;while(r--){s=q[r];t=s.attr("class");if(t){t=s.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,"");s.attr("class",t.length>0?t:null)}}});l.addAttributeFilter("data-mce-type",function(q,s,r){var t=q.length,u;while(t--){u=q[t];if(u.attributes.map["data-mce-type"]==="bookmark"&&!r.cleanup){u.remove()}}});l.addNodeFilter("noscript",function(q){var r=q.length,s;while(r--){s=q[r].firstChild;if(s){s.value=b.decode(s.value)}}});l.addNodeFilter("script,style",function(r,s){var t=r.length,v,w,u;function q(x){return x.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}while(t--){v=r[t];w=v.firstChild?v.firstChild.value:"";if(s==="script"){u=v.attr("type");if(u){v.attr("type",u=="mce-no/type"?null:u.replace(/^mce\-/,""))}if(w.length>0){v.firstChild.value="// <![CDATA[\n"+q(w)+"\n// ]]>"}}else{if(w.length>0){v.firstChild.value="<!--\n"+q(w)+"\n-->"}}}});l.addNodeFilter("#comment",function(q){var r=q.length,s;while(r--){s=q[r];if(s.value.indexOf("[CDATA[")===0){s.name="#cdata";s.type=4;s.value=s.value.replace(/^\[CDATA\[|\]\]$/g,"")}else{if(s.value.indexOf("mce:protected ")===0){s.name="#text";s.type=3;s.raw=true;s.value=unescape(s.value).substr(14)}}}});l.addNodeFilter("xml:namespace,input",function(q,r){var s=q.length,t;while(s--){t=q[s];if(t.type===7){t.remove()}else{if(t.type===1){if(r==="input"&&!("type" in t.attributes.map)){t.attr("type","text")}}}}});if(n.fix_list_elements){l.addNodeFilter("ul,ol",function(r){var s=r.length,t,q;while(s--){t=r[s];q=t.parent;if(q.name==="ul"||q.name==="ol"){if(t.prev&&t.prev.name==="li"){t.prev.append(t)}}}})}l.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(q,r){var s=q.length;while(s--){q[s].attr(r,null)}});return{schema:o,addNodeFilter:l.addNodeFilter,addAttributeFilter:l.addAttributeFilter,serialize:function(w,u){var t=this,s,x,r,q,v;if(f.ie&&p.select("script,style,select,map").length>0){v=w.innerHTML;w=w.cloneNode(false);p.setHTML(w,v)}else{w=w.cloneNode(true)}s=w.ownerDocument.implementation;if(s.createHTMLDocument){x=s.createHTMLDocument("");i(w.nodeName=="BODY"?w.childNodes:[w],function(y){x.body.appendChild(x.importNode(y,true))});if(w.nodeName!="BODY"){w=x.body.firstChild}else{w=x.body}r=p.doc;p.doc=x}u=u||{};u.format=u.format||"html";if(u.selection){u.forced_root_block=""}if(!u.no_events){u.node=w;t.onPreProcess(u)}q=new g(n,o);u.content=q.serialize(l.parse(a(u.getInner?w.innerHTML:p.getOuterHTML(w)),u));if(!u.cleanup){u.content=u.content.replace(/\uFEFF/g,"")}if(!u.no_events){t.onPostProcess(u)}if(r){p.doc=r}u.node=null;return u.content},addRules:function(q){o.addValidElements(q)},setRules:function(q){o.setValidElements(q)},onPreProcess:function(q){if(m){m.fire("PreProcess",q)}},onPostProcess:function(q){if(m){m.fire("PostProcess",q)}}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/Sizzle.jQuery.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/Sizzle",[],function(){if(!window.jQuery){throw new Error("Load jQuery first")}return jQuery.find});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/Sizzle.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/Sizzle",[],function(){var C,aw,s,L,O,m,aa,av,aA,M,ab,ad,G,t,am,ah,au,j,J,ao="sizzle"+-(new Date()),N=window.document,ax=0,ai=0,c=E(),an=E(),K=E(),I=function(i,e){if(i===e){ab=true}return 0},at=typeof undefined,U=1<<31,S=({}).hasOwnProperty,aq=[],ar=aq.pop,Q=aq.push,a=aq.push,r=aq.slice,h=aq.indexOf||function(aC){var aB=0,e=this.length;for(;aB<e;aB++){if(this[aB]===aC){return aB}}return -1},b="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",u="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ak="\\["+u+"*("+P+")(?:"+u+"*([*^$|!~]?=)"+u+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+u+"*\\]",p=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ak+")*)|.*)\\)|)",w=new RegExp("^"+u+"+|((?:^|[^\\\\])(?:\\\\.)*)"+u+"+$","g"),z=new RegExp("^"+u+"*,"+u+"*"),F=new RegExp("^"+u+"*([>+~]|"+u+")"+u+"*"),y=new RegExp("="+u+"*([^\\]'\"]*?)"+u+"*\\]","g"),W=new RegExp(p),Y=new RegExp("^"+P+"$"),ag={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+ak),PSEUDO:new RegExp("^"+p),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+u+"*(even|odd|(([+-]|)(\\d*)n|)"+u+"*(?:([+-]|)"+u+"*(\\d+)|))"+u+"*\\)|)","i"),bool:new RegExp("^(?:"+b+")$","i"),needsContext:new RegExp("^"+u+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+u+"*((?:-\\d)?\\d*)"+u+"*\\)|)(?=[^-]|$)","i")},g=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,T=/^[^{]+\{\s*\[native \w/,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,af=/[+~]/,R=/'|\\/g,x=new RegExp("\\\\([\\da-f]{1,6}"+u+"?|("+u+")|.)","ig"),aj=function(e,aC,i){var aB="0x"+aC-65536;return aB!==aB||i?aC:aB<0?String.fromCharCode(aB+65536):String.fromCharCode(aB>>10|55296,aB&1023|56320)};try{a.apply((aq=r.call(N.childNodes)),N.childNodes);aq[N.childNodes.length].nodeType}catch(H){a={apply:aq.length?function(i,e){Q.apply(i,r.call(e))}:function(aD,aC){var e=aD.length,aB=0;while((aD[e++]=aC[aB++])){}aD.length=e-1}}}function A(aI,aB,aM,aO){var aN,aF,aG,aK,aL,aE,aD,e,aC,aJ;if((aB?aB.ownerDocument||aB:N)!==G){ad(aB)}aB=aB||G;aM=aM||[];if(!aI||typeof aI!=="string"){return aM}if((aK=aB.nodeType)!==1&&aK!==9){return[]}if(am&&!aO){if((aN=V.exec(aI))){if((aG=aN[1])){if(aK===9){aF=aB.getElementById(aG);if(aF&&aF.parentNode){if(aF.id===aG){aM.push(aF);return aM}}else{return aM}}else{if(aB.ownerDocument&&(aF=aB.ownerDocument.getElementById(aG))&&J(aB,aF)&&aF.id===aG){aM.push(aF);return aM}}}else{if(aN[2]){a.apply(aM,aB.getElementsByTagName(aI));return aM}else{if((aG=aN[3])&&aw.getElementsByClassName){a.apply(aM,aB.getElementsByClassName(aG));return aM}}}}if(aw.qsa&&(!ah||!ah.test(aI))){e=aD=ao;aC=aB;aJ=aK===9&&aI;if(aK===1&&aB.nodeName.toLowerCase()!=="object"){aE=m(aI);if((aD=aB.getAttribute("id"))){e=aD.replace(R,"\\$&")}else{aB.setAttribute("id",e)}e="[id='"+e+"'] ";aL=aE.length;while(aL--){aE[aL]=e+n(aE[aL])}aC=af.test(aI)&&X(aB.parentNode)||aB;aJ=aE.join(",")}if(aJ){try{a.apply(aM,aC.querySelectorAll(aJ));return aM}catch(aH){}finally{if(!aD){aB.removeAttribute("id")}}}}}return av(aI.replace(w,"$1"),aB,aM,aO)}function E(){var i=[];function e(aB,aC){if(i.push(aB+" ")>s.cacheLength){delete e[i.shift()]}return(e[aB+" "]=aC)}return e}function o(e){e[ao]=true;return e}function k(i){var aC=G.createElement("div");try{return !!i(aC)}catch(aB){return false}finally{if(aC.parentNode){aC.parentNode.removeChild(aC)}aC=null}}function ay(aB,aD){var e=aB.split("|"),aC=aB.length;while(aC--){s.attrHandle[e[aC]]=aD}}function d(i,e){var aC=e&&i,aB=aC&&i.nodeType===1&&e.nodeType===1&&(~e.sourceIndex||U)-(~i.sourceIndex||U);if(aB){return aB}if(aC){while((aC=aC.nextSibling)){if(aC===e){return -1}}}return i?1:-1}function B(e){return function(aB){var i=aB.nodeName.toLowerCase();return i==="input"&&aB.type===e}}function f(e){return function(aB){var i=aB.nodeName.toLowerCase();return(i==="input"||i==="button")&&aB.type===e}}function al(e){return o(function(i){i=+i;return o(function(aB,aF){var aD,aC=e([],aB.length,i),aE=aC.length;while(aE--){if(aB[(aD=aC[aE])]){aB[aD]=!(aF[aD]=aB[aD])}}})})}function X(e){return e&&typeof e.getElementsByTagName!==at&&e}aw=A.support={};O=A.isXML=function(e){var i=e&&(e.ownerDocument||e).documentElement;return i?i.nodeName!=="HTML":false};ad=A.setDocument=function(aB){var e,aC=aB?aB.ownerDocument||aB:N,i=aC.defaultView;if(aC===G||aC.nodeType!==9||!aC.documentElement){return G}G=aC;t=aC.documentElement;am=!O(aC);if(i&&i!==i.top){if(i.addEventListener){i.addEventListener("unload",function(){ad()},false)}else{if(i.attachEvent){i.attachEvent("onunload",function(){ad()})}}}aw.attributes=k(function(aD){aD.className="i";return !aD.getAttribute("className")});aw.getElementsByTagName=k(function(aD){aD.appendChild(aC.createComment(""));return !aD.getElementsByTagName("*").length});aw.getElementsByClassName=T.test(aC.getElementsByClassName);aw.getById=k(function(aD){t.appendChild(aD).id=ao;return !aC.getElementsByName||!aC.getElementsByName(ao).length});if(aw.getById){s.find.ID=function(aF,aE){if(typeof aE.getElementById!==at&&am){var aD=aE.getElementById(aF);return aD&&aD.parentNode?[aD]:[]}};s.filter.ID=function(aE){var aD=aE.replace(x,aj);return function(aF){return aF.getAttribute("id")===aD}}}else{delete s.find.ID;s.filter.ID=function(aE){var aD=aE.replace(x,aj);return function(aG){var aF=typeof aG.getAttributeNode!==at&&aG.getAttributeNode("id");return aF&&aF.value===aD}}}s.find.TAG=aw.getElementsByTagName?function(aD,aE){if(typeof aE.getElementsByTagName!==at){return aE.getElementsByTagName(aD)}}:function(aD,aH){var aI,aG=[],aF=0,aE=aH.getElementsByTagName(aD);if(aD==="*"){while((aI=aE[aF++])){if(aI.nodeType===1){aG.push(aI)}}return aG}return aE};s.find.CLASS=aw.getElementsByClassName&&function(aE,aD){if(am){return aD.getElementsByClassName(aE)}};au=[];ah=[];if((aw.qsa=T.test(aC.querySelectorAll))){k(function(aD){aD.innerHTML="<select msallowcapture=''><option selected=''></option></select>";if(aD.querySelectorAll("[msallowcapture^='']").length){ah.push("[*^$]="+u+"*(?:''|\"\")")}if(!aD.querySelectorAll("[selected]").length){ah.push("\\["+u+"*(?:value|"+b+")")}if(!aD.querySelectorAll(":checked").length){ah.push(":checked")}});k(function(aE){var aD=aC.createElement("input");aD.setAttribute("type","hidden");aE.appendChild(aD).setAttribute("name","D");if(aE.querySelectorAll("[name=d]").length){ah.push("name"+u+"*[*^$|!~]?=")}if(!aE.querySelectorAll(":enabled").length){ah.push(":enabled",":disabled")}aE.querySelectorAll("*,:x");ah.push(",.*:")})}if((aw.matchesSelector=T.test((j=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector)))){k(function(aD){aw.disconnectedMatch=j.call(aD,"div");j.call(aD,"[s!='']:x");au.push("!=",p)})}ah=ah.length&&new RegExp(ah.join("|"));au=au.length&&new RegExp(au.join("|"));e=T.test(t.compareDocumentPosition);J=e||T.test(t.contains)?function(aE,aD){var aG=aE.nodeType===9?aE.documentElement:aE,aF=aD&&aD.parentNode;return aE===aF||!!(aF&&aF.nodeType===1&&(aG.contains?aG.contains(aF):aE.compareDocumentPosition&&aE.compareDocumentPosition(aF)&16))}:function(aE,aD){if(aD){while((aD=aD.parentNode)){if(aD===aE){return true}}}return false};I=e?function(aE,aD){if(aE===aD){ab=true;return 0}var aF=!aE.compareDocumentPosition-!aD.compareDocumentPosition;if(aF){return aF}aF=(aE.ownerDocument||aE)===(aD.ownerDocument||aD)?aE.compareDocumentPosition(aD):1;if(aF&1||(!aw.sortDetached&&aD.compareDocumentPosition(aE)===aF)){if(aE===aC||aE.ownerDocument===N&&J(N,aE)){return -1}if(aD===aC||aD.ownerDocument===N&&J(N,aD)){return 1}return M?(h.call(M,aE)-h.call(M,aD)):0}return aF&4?-1:1}:function(aE,aD){if(aE===aD){ab=true;return 0}var aK,aH=0,aJ=aE.parentNode,aG=aD.parentNode,aF=[aE],aI=[aD];if(!aJ||!aG){return aE===aC?-1:aD===aC?1:aJ?-1:aG?1:M?(h.call(M,aE)-h.call(M,aD)):0}else{if(aJ===aG){return d(aE,aD)}}aK=aE;while((aK=aK.parentNode)){aF.unshift(aK)}aK=aD;while((aK=aK.parentNode)){aI.unshift(aK)}while(aF[aH]===aI[aH]){aH++}return aH?d(aF[aH],aI[aH]):aF[aH]===N?-1:aI[aH]===N?1:0};return aC};A.matches=function(i,e){return A(i,null,null,e)};A.matchesSelector=function(aB,aD){if((aB.ownerDocument||aB)!==G){ad(aB)}aD=aD.replace(y,"='$1']");if(aw.matchesSelector&&am&&(!au||!au.test(aD))&&(!ah||!ah.test(aD))){try{var i=j.call(aB,aD);if(i||aw.disconnectedMatch||aB.document&&aB.document.nodeType!==11){return i}}catch(aC){}}return A(aD,G,null,[aB]).length>0};A.contains=function(e,i){if((e.ownerDocument||e)!==G){ad(e)}return J(e,i)};A.attr=function(aB,e){if((aB.ownerDocument||aB)!==G){ad(aB)}var i=s.attrHandle[e.toLowerCase()],aC=i&&S.call(s.attrHandle,e.toLowerCase())?i(aB,e,!am):undefined;return aC!==undefined?aC:aw.attributes||!am?aB.getAttribute(e):(aC=aB.getAttributeNode(e))&&aC.specified?aC.value:null};A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};A.uniqueSort=function(aC){var aD,aE=[],e=0,aB=0;ab=!aw.detectDuplicates;M=!aw.sortStable&&aC.slice(0);aC.sort(I);if(ab){while((aD=aC[aB++])){if(aD===aC[aB]){e=aE.push(aB)}}while(e--){aC.splice(aE[e],1)}}M=null;return aC};L=A.getText=function(aE){var aD,aB="",aC=0,e=aE.nodeType;if(!e){while((aD=aE[aC++])){aB+=L(aD)}}else{if(e===1||e===9||e===11){if(typeof aE.textContent==="string"){return aE.textContent}else{for(aE=aE.firstChild;aE;aE=aE.nextSibling){aB+=L(aE)}}}else{if(e===3||e===4){return aE.nodeValue}}}return aB};s=A.selectors={cacheLength:50,createPseudo:o,match:ag,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(x,aj);e[3]=(e[3]||e[4]||e[5]||"").replace(x,aj);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){A.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){A.error(e[0])}}return e},PSEUDO:function(i){var e,aB=!i[6]&&i[2];if(ag.CHILD.test(i[0])){return null}if(i[3]){i[2]=i[4]||i[5]||""}else{if(aB&&W.test(aB)&&(e=m(aB,true))&&(e=aB.indexOf(")",aB.length-e)-aB.length)){i[0]=i[0].slice(0,e);i[2]=aB.slice(0,e)}}return i.slice(0,3)}},filter:{TAG:function(i){var e=i.replace(x,aj).toLowerCase();return i==="*"?function(){return true}:function(aB){return aB.nodeName&&aB.nodeName.toLowerCase()===e}},CLASS:function(e){var i=c[e+" "];return i||(i=new RegExp("(^|"+u+")"+e+"("+u+"|$)"))&&c(e,function(aB){return i.test(typeof aB.className==="string"&&aB.className||typeof aB.getAttribute!==at&&aB.getAttribute("class")||"")})},ATTR:function(aB,i,e){return function(aD){var aC=A.attr(aD,aB);if(aC==null){return i==="!="}if(!i){return true}aC+="";return i==="="?aC===e:i==="!="?aC!==e:i==="^="?e&&aC.indexOf(e)===0:i==="*="?e&&aC.indexOf(e)>-1:i==="$="?e&&aC.slice(-e.length)===e:i==="~="?(" "+aC+" ").indexOf(e)>-1:i==="|="?aC===e||aC.slice(0,e.length+1)===e+"-":false}},CHILD:function(i,aD,aC,aE,aB){var aG=i.slice(0,3)!=="nth",e=i.slice(-4)!=="last",aF=aD==="of-type";return aE===1&&aB===0?function(aH){return !!aH.parentNode}:function(aN,aL,aQ){var aH,aT,aO,aS,aP,aK,aM=aG!==e?"nextSibling":"previousSibling",aR=aN.parentNode,aJ=aF&&aN.nodeName.toLowerCase(),aI=!aQ&&!aF;if(aR){if(aG){while(aM){aO=aN;while((aO=aO[aM])){if(aF?aO.nodeName.toLowerCase()===aJ:aO.nodeType===1){return false}}aK=aM=i==="only"&&!aK&&"nextSibling"}return true}aK=[e?aR.firstChild:aR.lastChild];if(e&&aI){aT=aR[ao]||(aR[ao]={});aH=aT[i]||[];aP=aH[0]===ax&&aH[1];aS=aH[0]===ax&&aH[2];aO=aP&&aR.childNodes[aP];while((aO=++aP&&aO&&aO[aM]||(aS=aP=0)||aK.pop())){if(aO.nodeType===1&&++aS&&aO===aN){aT[i]=[ax,aP,aS];break}}}else{if(aI&&(aH=(aN[ao]||(aN[ao]={}))[i])&&aH[0]===ax){aS=aH[1]}else{while((aO=++aP&&aO&&aO[aM]||(aS=aP=0)||aK.pop())){if((aF?aO.nodeName.toLowerCase()===aJ:aO.nodeType===1)&&++aS){if(aI){(aO[ao]||(aO[ao]={}))[i]=[ax,aS]}if(aO===aN){break}}}}}aS-=aB;return aS===aE||(aS%aE===0&&aS/aE>=0)}}},PSEUDO:function(aC,aB){var e,i=s.pseudos[aC]||s.setFilters[aC.toLowerCase()]||A.error("unsupported pseudo: "+aC);if(i[ao]){return i(aB)}if(i.length>1){e=[aC,aC,"",aB];return s.setFilters.hasOwnProperty(aC.toLowerCase())?o(function(aF,aH){var aE,aD=i(aF,aB),aG=aD.length;while(aG--){aE=h.call(aF,aD[aG]);aF[aE]=!(aH[aE]=aD[aG])}}):function(aD){return i(aD,0,e)}}return i}},pseudos:{not:o(function(e){var i=[],aB=[],aC=aa(e.replace(w,"$1"));return aC[ao]?o(function(aE,aJ,aH,aF){var aI,aD=aC(aE,null,aF,[]),aG=aE.length;while(aG--){if((aI=aD[aG])){aE[aG]=!(aJ[aG]=aI)}}}):function(aF,aE,aD){i[0]=aF;aC(i,null,aD,aB);return !aB.pop()}}),has:o(function(e){return function(i){return A(e,i).length>0}}),contains:o(function(e){e=e.replace(x,aj);return function(i){return(i.textContent||i.innerText||L(i)).indexOf(e)>-1}}),lang:o(function(e){if(!Y.test(e||"")){A.error("unsupported lang: "+e)}e=e.replace(x,aj).toLowerCase();return function(aB){var i;do{if((i=am?aB.lang:aB.getAttribute("xml:lang")||aB.getAttribute("lang"))){i=i.toLowerCase();return i===e||i.indexOf(e+"-")===0}}while((aB=aB.parentNode)&&aB.nodeType===1);return false}}),target:function(e){var i=window.location&&window.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var i=e.nodeName.toLowerCase();return(i==="input"&&!!e.checked)||(i==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return !s.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return g.test(e.nodeName)},button:function(i){var e=i.nodeName.toLowerCase();return e==="input"&&i.type==="button"||e==="button"},text:function(i){var e;return i.nodeName.toLowerCase()==="input"&&i.type==="text"&&((e=i.getAttribute("type"))==null||e.toLowerCase()==="text")},first:al(function(){return[0]}),last:al(function(e,i){return[i-1]}),eq:al(function(e,aB,i){return[i<0?i+aB:i]}),even:al(function(e,aC){var aB=0;for(;aB<aC;aB+=2){e.push(aB)}return e}),odd:al(function(e,aC){var aB=1;for(;aB<aC;aB+=2){e.push(aB)}return e}),lt:al(function(e,aD,aC){var aB=aC<0?aC+aD:aC;for(;--aB>=0;){e.push(aB)}return e}),gt:al(function(e,aD,aC){var aB=aC<0?aC+aD:aC;for(;++aB<aD;){e.push(aB)}return e})}};s.pseudos.nth=s.pseudos.eq;for(C in {radio:true,checkbox:true,file:true,password:true,image:true}){s.pseudos[C]=B(C)}for(C in {submit:true,reset:true}){s.pseudos[C]=f(C)}function Z(){}Z.prototype=s.filters=s.pseudos;s.setFilters=new Z();m=A.tokenize=function(aD,aI){var i,aE,aG,aH,aF,aB,e,aC=an[aD+" "];if(aC){return aI?0:aC.slice(0)}aF=aD;aB=[];e=s.preFilter;while(aF){if(!i||(aE=z.exec(aF))){if(aE){aF=aF.slice(aE[0].length)||aF}aB.push((aG=[]))}i=false;if((aE=F.exec(aF))){i=aE.shift();aG.push({value:i,type:aE[0].replace(w," ")});aF=aF.slice(i.length)}for(aH in s.filter){if((aE=ag[aH].exec(aF))&&(!e[aH]||(aE=e[aH](aE)))){i=aE.shift();aG.push({value:i,type:aH,matches:aE});aF=aF.slice(i.length)}}if(!i){break}}return aI?aF.length:aF?A.error(aD):an(aD,aB).slice(0)};function n(aD){var aC=0,aB=aD.length,e="";for(;aC<aB;aC++){e+=aD[aC].value}return e}function v(aD,aB,aC){var e=aB.dir,aE=aC&&e==="parentNode",i=ai++;return aB.first?function(aH,aG,aF){while((aH=aH[e])){if(aH.nodeType===1||aE){return aD(aH,aG,aF)}}}:function(aJ,aH,aG){var aK,aI,aF=[ax,i];if(aG){while((aJ=aJ[e])){if(aJ.nodeType===1||aE){if(aD(aJ,aH,aG)){return true}}}}else{while((aJ=aJ[e])){if(aJ.nodeType===1||aE){aI=aJ[ao]||(aJ[ao]={});if((aK=aI[e])&&aK[0]===ax&&aK[1]===i){return(aF[2]=aK[2])}else{aI[e]=aF;if((aF[2]=aD(aJ,aH,aG))){return true}}}}}}}function az(e){return e.length>1?function(aE,aD,aB){var aC=e.length;while(aC--){if(!e[aC](aE,aD,aB)){return false}}return true}:e[0]}function D(aB,aE,aD){var aC=0,e=aE.length;for(;aC<e;aC++){A(aB,aE[aC],aD)}return aD}function ae(e,aB,aC,aD,aG){var aE,aJ=[],aF=0,aH=e.length,aI=aB!=null;for(;aF<aH;aF++){if((aE=e[aF])){if(!aC||aC(aE,aD,aG)){aJ.push(aE);if(aI){aB.push(aF)}}}}return aJ}function l(aB,i,aD,aC,aE,e){if(aC&&!aC[ao]){aC=l(aC)}if(aE&&!aE[ao]){aE=l(aE,e)}return o(function(aP,aM,aH,aO){var aR,aN,aJ,aI=[],aQ=[],aG=aM.length,aF=aP||D(i||"*",aH.nodeType?[aH]:aH,[]),aK=aB&&(aP||!i)?ae(aF,aI,aB,aH,aO):aF,aL=aD?aE||(aP?aB:aG||aC)?[]:aM:aK;if(aD){aD(aK,aL,aH,aO)}if(aC){aR=ae(aL,aQ);aC(aR,[],aH,aO);aN=aR.length;while(aN--){if((aJ=aR[aN])){aL[aQ[aN]]=!(aK[aQ[aN]]=aJ)}}}if(aP){if(aE||aB){if(aE){aR=[];aN=aL.length;while(aN--){if((aJ=aL[aN])){aR.push((aK[aN]=aJ))}}aE(null,(aL=[]),aR,aO)}aN=aL.length;while(aN--){if((aJ=aL[aN])&&(aR=aE?h.call(aP,aJ):aI[aN])>-1){aP[aR]=!(aM[aR]=aJ)}}}}else{aL=ae(aL===aM?aL.splice(aG,aL.length):aL);if(aE){aE(null,aM,aL,aO)}else{a.apply(aM,aL)}}})}function ap(aG){var aB,aE,aC,aF=aG.length,aJ=s.relative[aG[0].type],aK=aJ||s.relative[" "],aD=aJ?1:0,aH=v(function(i){return i===aB},aK,true),aI=v(function(i){return h.call(aB,i)>-1},aK,true),e=[function(aM,aL,i){return(!aJ&&(i||aL!==aA))||((aB=aL).nodeType?aH(aM,aL,i):aI(aM,aL,i))}];for(;aD<aF;aD++){if((aE=s.relative[aG[aD].type])){e=[v(az(e),aE)]}else{aE=s.filter[aG[aD].type].apply(null,aG[aD].matches);if(aE[ao]){aC=++aD;for(;aC<aF;aC++){if(s.relative[aG[aC].type]){break}}return l(aD>1&&az(e),aD>1&&n(aG.slice(0,aD-1).concat({value:aG[aD-2].type===" "?"*":""})).replace(w,"$1"),aE,aD<aC&&ap(aG.slice(aD,aC)),aC<aF&&ap((aG=aG.slice(aC))),aC<aF&&n(aG))}e.push(aE)}}return az(e)}function ac(aC,aB){var e=aB.length>0,aD=aC.length>0,i=function(aN,aH,aM,aL,aQ){var aI,aJ,aO,aS=0,aK="0",aE=aN&&[],aT=[],aR=aA,aG=aN||aD&&s.find.TAG("*",aQ),aF=(ax+=aR==null?1:Math.random()||0.1),aP=aG.length;if(aQ){aA=aH!==G&&aH}for(;aK!==aP&&(aI=aG[aK])!=null;aK++){if(aD&&aI){aJ=0;while((aO=aC[aJ++])){if(aO(aI,aH,aM)){aL.push(aI);break}}if(aQ){ax=aF}}if(e){if((aI=!aO&&aI)){aS--}if(aN){aE.push(aI)}}}aS+=aK;if(e&&aK!==aS){aJ=0;while((aO=aB[aJ++])){aO(aE,aT,aH,aM)}if(aN){if(aS>0){while(aK--){if(!(aE[aK]||aT[aK])){aT[aK]=ar.call(aL)}}}aT=ae(aT)}a.apply(aL,aT);if(aQ&&!aN&&aT.length>0&&(aS+aB.length)>1){A.uniqueSort(aL)}}if(aQ){ax=aF;aA=aR}return aE};return e?o(i):i}aa=A.compile=function(e,aC){var aD,aB=[],aF=[],aE=K[e+" "];if(!aE){if(!aC){aC=m(e)}aD=aC.length;while(aD--){aE=ap(aC[aD]);if(aE[ao]){aB.push(aE)}else{aF.push(aE)}}aE=K(e,ac(aF,aB));aE.selector=e}return aE};av=A.select=function(aC,e,aD,aG){var aE,aJ,aB,aK,aH,aI=typeof aC==="function"&&aC,aF=!aG&&m((aC=aI.selector||aC));aD=aD||[];if(aF.length===1){aJ=aF[0]=aF[0].slice(0);if(aJ.length>2&&(aB=aJ[0]).type==="ID"&&aw.getById&&e.nodeType===9&&am&&s.relative[aJ[1].type]){e=(s.find.ID(aB.matches[0].replace(x,aj),e)||[])[0];if(!e){return aD}else{if(aI){e=e.parentNode}}aC=aC.slice(aJ.shift().value.length)}aE=ag.needsContext.test(aC)?0:aJ.length;while(aE--){aB=aJ[aE];if(s.relative[(aK=aB.type)]){break}if((aH=s.find[aK])){if((aG=aH(aB.matches[0].replace(x,aj),af.test(aJ[0].type)&&X(e.parentNode)||e))){aJ.splice(aE,1);aC=aG.length&&n(aJ);if(!aC){a.apply(aD,aG);return aD}break}}}}(aI||aa(aC,aF))(aG,e,!am,aD,af.test(aC)&&X(e.parentNode)||e);return aD};aw.sortStable=ao.split("").sort(I).join("")===ao;aw.detectDuplicates=!!ab;ad();aw.sortDetached=k(function(e){return e.compareDocumentPosition(G.createElement("div"))&1});if(!k(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){ay("type|href|height|width",function(i,e,aB){if(!aB){return i.getAttribute(e,e.toLowerCase()==="type"?1:2)}})}if(!aw.attributes||!k(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){ay("value",function(i,e,aB){if(!aB&&i.nodeName.toLowerCase()==="input"){return i.defaultValue}})}if(!k(function(e){return e.getAttribute("disabled")==null})){ay(b,function(i,e,aC){var aB;if(!aC){return i[e]===true?e.toLowerCase():(aB=i.getAttributeNode(e))&&aB.specified?aB.value:null}})}return A});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/StyleSheetLoader.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/StyleSheetLoader",["tinymce/util/Tools"],function(a){return function(b,f){var c=0,e={},h;f=f||{};h=f.maxLoadTime||5000;function d(i){b.getElementsByTagName("head")[0].appendChild(i)}function g(k,o,s){var t,j,l,i;function p(){var w=i.passed,v=w.length;while(v--){w[v]()}i.status=2;i.passed=[];i.failed=[]}function r(){var w=i.failed,v=w.length;while(v--){w[v]()}i.status=3;i.passed=[];i.failed=[]}function u(){var v=navigator.userAgent.match(/WebKit\/(\d*)/);return !!(v&&v[1]<536)}function q(v,w){if(!v()){if((new Date().getTime())-l<h){window.setTimeout(w,0)}else{r()}}}function m(){q(function(){var x=b.styleSheets,y,w=x.length,v;while(w--){y=x[w];v=y.ownerNode?y.ownerNode:y.owningElement;if(v&&v.id===t.id){p();return true}}},m)}function n(){q(function(){try{var v=j.sheet.cssRules;p();return !!v}catch(w){}},n)}k=a._addCacheSuffix(k);if(!e[k]){i={passed:[],failed:[]};e[k]=i}else{i=e[k]}if(o){i.passed.push(o)}if(s){i.failed.push(s)}if(i.status==1){return}if(i.status==2){p();return}if(i.status==3){r();return}i.status=1;t=b.createElement("link");t.rel="stylesheet";t.type="text/css";t.id="u"+(c++);t.async=false;t.defer=false;l=new Date().getTime();if("onload" in t&&!u()){t.onload=m;t.onerror=r}else{if(navigator.userAgent.indexOf("Firefox")>0){j=b.createElement("style");j.textContent='@import "'+k+'"';n();d(j);return}else{m()}}d(t);t.href=k}this.load=g}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/TreeWalker.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/TreeWalker",[],function(){return function(b,a){var c=b;function d(i,e,f,j){var h,g;if(i){if(!j&&i[e]){return i[e]}if(i!=a){h=i[f];if(h){return h}for(g=i.parentNode;g&&g!=a;g=g.parentNode){h=g[f];if(h){return h}}}}}this.current=function(){return c};this.next=function(e){c=d(c,"firstChild","nextSibling",e);return c};this.prev=function(e){c=d(c,"lastChild","previousSibling",e);return c}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/dom/TridentSelection.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/dom/TridentSelection",[],function(){function a(c){var b=this,g=c.dom,e=false;function d(h,i){var j,s=0,p,m,l,k,n,q,o=-1,r;j=h.duplicate();j.collapse(i);r=j.parentElement();if(r.ownerDocument!==c.dom.doc){return}while(r.contentEditable==="false"){r=r.parentNode}if(!r.hasChildNodes()){return{node:r,inside:1}}l=r.children;p=l.length-1;while(s<=p){q=Math.floor((s+p)/2);k=l[q];j.moveToElementText(k);o=j.compareEndPoints(i?"StartToStart":"EndToEnd",h);if(o>0){p=q-1}else{if(o<0){s=q+1}else{return{node:k}}}}if(o<0){if(!k){j.moveToElementText(r);j.collapse(true);k=r;m=true}else{j.collapse(false)}n=0;while(j.compareEndPoints(i?"StartToStart":"StartToEnd",h)!==0){if(j.move("character",1)===0||r!=j.parentElement()){break}n++}}else{j.collapse(true);n=0;while(j.compareEndPoints(i?"StartToStart":"StartToEnd",h)!==0){if(j.move("character",-1)===0||r!=j.parentElement()){break}n++}}return{node:k,position:o,offset:n,inside:m}}function f(){var h=c.getRng(),p=g.createRng(),j,i,n,o,k;j=h.item?h.item(0):h.parentElement();if(j.ownerDocument!=g.doc){return p}i=c.isCollapsed();if(h.item){p.setStart(j.parentNode,g.nodeIndex(j));p.setEnd(p.startContainer,p.startOffset+1);return p}function m(x){var s=d(h,x),q,v,w=0,u,t,r;q=s.node;v=s.offset;if(s.inside&&!q.hasChildNodes()){p[x?"setStart":"setEnd"](q,0);return}if(v===t){p[x?"setStartBefore":"setEndAfter"](q);return}if(s.position<0){u=s.inside?q.firstChild:q.nextSibling;if(!u){p[x?"setStartAfter":"setEndAfter"](q);return}if(!v){if(u.nodeType==3){p[x?"setStart":"setEnd"](u,0)}else{p[x?"setStartBefore":"setEndBefore"](u)}return}while(u){if(u.nodeType==3){r=u.nodeValue;w+=r.length;if(w>=v){q=u;w-=v;w=r.length-w;break}}u=u.nextSibling}}else{u=q.previousSibling;if(!u){return p[x?"setStartBefore":"setEndBefore"](q)}if(!v){if(q.nodeType==3){p[x?"setStart":"setEnd"](u,q.nodeValue.length)}else{p[x?"setStartAfter":"setEndAfter"](u)}return}while(u){if(u.nodeType==3){w+=u.nodeValue.length;if(w>=v){q=u;w-=v;break}}u=u.previousSibling}}p[x?"setStart":"setEnd"](q,w)}try{m(true);if(!i){m()}}catch(l){if(l.number==-2147024809){k=b.getBookmark(2);n=h.duplicate();n.collapse(true);j=n.parentElement();if(!i){n=h.duplicate();n.collapse(false);o=n.parentElement();o.innerHTML=o.innerHTML}j.innerHTML=j.innerHTML;b.moveToBookmark(k);h=c.getRng();m(true);if(!i){m()}}else{throw l}}return p}this.getBookmark=function(k){var h=c.getRng(),j={};function l(r){var q,m,p,o,n=[];q=r.parentNode;m=g.getRoot().parentNode;while(q!=m&&q.nodeType!==9){p=q.children;o=p.length;while(o--){if(r===p[o]){n.push(o);break}}r=q;q=q.parentNode}return n}function i(n){var m;m=d(h,n);if(m){return{position:m.position,offset:m.offset,indexes:l(m.node),inside:m.inside}}}if(k===2){if(!h.item){j.start=i(true);if(!c.isCollapsed()){j.end=i()}}else{j.start={ctrl:true,indexes:l(h.item(0))}}}return j};this.moveToBookmark=function(j){var i,h=g.doc.body;function l(n){var q,p,m,o;q=g.getRoot();for(p=n.length-1;p>=0;p--){o=q.children;m=n[p];if(m<=o.length-1){q=o[m]}}return q}function k(r){var m=j[r?"start":"end"],p,o,n,q;if(m){p=m.position>0;o=h.createTextRange();o.moveToElementText(l(m.indexes));q=m.offset;if(q!==n){o.collapse(m.inside||p);o.moveStart("character",p?-q:q)}else{o.collapse(r)}i.setEndPoint(r?"StartToStart":"EndToStart",o);if(r){i.collapse(true)}}}if(j.start){if(j.start.ctrl){i=h.createControlRange();i.addElement(l(j.start.indexes));i.select()}else{i=h.createTextRange();k(true);k();i.select()}}};this.addRange=function(h){var m,k,j,o,u,p,s,r=c.dom.doc,l=r.body,q,t;function i(A){var w,z,v,y,x;v=g.create("a");w=A?j:u;z=A?o:p;y=m.duplicate();if(w==r||w==r.documentElement){w=l;z=0}if(w.nodeType==3){w.parentNode.insertBefore(v,w);y.moveToElementText(v);y.moveStart("character",z);g.remove(v);m.setEndPoint(A?"StartToStart":"EndToEnd",y)}else{x=w.childNodes;if(x.length){if(z>=x.length){g.insertAfter(v,x[x.length-1])}else{w.insertBefore(v,x[z])}y.moveToElementText(v)}else{if(w.canHaveHTML){w.innerHTML="<span></span>";v=w.firstChild;y.moveToElementText(v);y.collapse(e)}}m.setEndPoint(A?"StartToStart":"EndToEnd",y);g.remove(v)}}j=h.startContainer;o=h.startOffset;u=h.endContainer;p=h.endOffset;m=l.createTextRange();if(j==u&&j.nodeType==1){if(o==p&&!j.hasChildNodes()){if(j.canHaveHTML){s=j.previousSibling;if(s&&!s.hasChildNodes()&&g.isBlock(s)){s.innerHTML=""}else{s=null}j.innerHTML="<span></span><span></span>";m.moveToElementText(j.lastChild);m.select();g.doc.selection.clear();j.innerHTML="";if(s){s.innerHTML=""}return}else{o=g.nodeIndex(j);j=j.parentNode}}if(o==p-1){try{t=j.childNodes[o];k=l.createControlRange();k.addElement(t);k.select();q=c.getRng();if(q.item&&t===q.item(0)){return}}catch(n){}}}i(true);i();m.select()};this.getRangeAt=f}return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/fmt/Preview.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/fmt/Preview",["tinymce/util/Tools"],function(a){var c=a.each;function b(i,l){var e,f,h=i.dom;var d="",g,k;k=i.settings.preview_styles;if(k===false){return""}if(!k){k="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}function j(m){return m.replace(/%(\w+)/g,"")}if(typeof l=="string"){l=i.formatter.get(l);if(!l){return}l=l[0]}e=l.block||l.inline||"span";f=h.create(e);c(l.styles,function(n,m){n=j(n);if(n){h.setStyle(f,m,n)}});c(l.attributes,function(n,m){n=j(n);if(n){h.setAttrib(f,m,n)}});c(l.classes,function(m){m=j(m);if(!h.hasClass(f,m)){h.addClass(f,m)}});i.fire("PreviewFormats");h.setStyles(f,{position:"absolute",left:-65535});i.getBody().appendChild(f);g=h.getStyle(i.getBody(),"fontSize",true);g=/px$/.test(g)?parseInt(g,10):0;c(k.split(" "),function(m){var n=h.getStyle(f,m,true);if(m=="background-color"&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)){n=h.getStyle(i.getBody(),m,true);if(h.toHex(n).toLowerCase()=="#ffffff"){return}}if(m=="color"){if(h.toHex(n).toLowerCase()=="#000000"){return}}if(m=="font-size"){if(/em|%$/.test(n)){if(g===0){return}n=parseFloat(n,10)/(/%$/.test(n)?100:1);n=(n*g)+"px"}}if(m=="border"&&n){d+="padding:0 2px;"}d+=m+":"+n+";"});i.fire("AfterPreviewFormats");h.remove(f);return d}return{getCssText:b}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/DomParser.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/DomParser",["tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/util/Tools"],function(c,e,a,b){var f=b.makeMap,g=b.each,d=b.explode,h=b.extend;return function(m,n){var l=this,k={},j=[],o={},i={};m=m||{};m.validate="validate" in m?m.validate:true;m.root_name=m.root_name||"body";l.schema=n=n||new e();function p(t){var v,w,C,B,E,u,x,r,A;var q,z,s,D,y;z=f("tr,td,th,tbody,thead,tfoot,table");q=n.getNonEmptyElements();s=n.getTextBlockElements();for(v=0;v<t.length;v++){w=t[v];if(!w.parent||w.fixed){continue}if(s[w.name]&&w.parent.name=="li"){D=w.next;while(D){if(s[D.name]){D.name="li";D.fixed=true;w.parent.insert(D,w.parent)}else{break}D=D.next}w.unwrap(w);continue}B=[w];for(C=w.parent;C&&!n.isValidChild(C.name,w.name)&&!z[C.name];C=C.parent){B.push(C)}if(C&&B.length>1){B.reverse();E=u=l.filterNode(B[0].clone());for(A=0;A<B.length-1;A++){if(n.isValidChild(u.name,B[A].name)){x=l.filterNode(B[A].clone());u.append(x)}else{x=u}for(r=B[A].firstChild;r&&r!=B[A+1];){y=r.next;x.append(r);r=y}u=x}if(!E.isEmpty(q)){C.insert(E,B[0],true);C.insert(w,E)}else{C.insert(w,B[0],true)}C=B[0];if(C.isEmpty(q)||C.firstChild===C.lastChild&&C.firstChild.name==="br"){C.empty().remove()}}else{if(w.parent){if(w.name==="li"){D=w.prev;if(D&&(D.name==="ul"||D.name==="ul")){D.append(w);continue}D=w.next;if(D&&(D.name==="ul"||D.name==="ul")){D.insert(w,D.firstChild,true);continue}w.wrap(l.filterNode(new c("ul",1)));continue}if(n.isValidChild(w.parent.name,"div")&&n.isValidChild("div",w.name)){w.wrap(l.filterNode(new c("div",1)))}else{if(w.name==="style"||w.name==="script"){w.empty().remove()}else{w.unwrap()}}}}}}l.filterNode=function(s){var r,q,t;if(q in k){t=o[q];if(t){t.push(s)}else{o[q]=[s]}}r=j.length;while(r--){q=j[r].name;if(q in s.attributes.map){t=i[q];if(t){t.push(s)}else{i[q]=[s]}}}return s};l.addNodeFilter=function(q,r){g(d(q),function(s){var t=k[s];if(!t){k[s]=t=[]}t.push(r)})};l.addAttributeFilter=function(q,r){g(d(q),function(s){var t;for(t=0;t<j.length;t++){if(j[t].name===s){j[t].callbacks.push(r);return}}j.push({name:s,callbacks:[r]})})};l.parse=function(A,r){var s,N,F,E,H,G,B,w,J,R,D;var t,I,Q=[],P;var y,q,C,x;var u,z,v;r=r||{};o={};i={};t=h(f("script,style,head,html,body,title,meta,param"),n.getBlockElements());z=n.getNonEmptyElements();u=n.children;D=m.validate;v="forced_root_block" in r?r.forced_root_block:m.forced_root_block;x=n.getWhiteSpaceElements();I=/^[ \t\r\n]+/;y=/[ \t\r\n]+$/;q=/[ \t\r\n]+/g;C=/^[ \t\r\n]+$/;function K(){var U=N.firstChild,T,V;function S(W){if(W){U=W.firstChild;if(U&&U.type==3){U.value=U.value.replace(I,"")}U=W.lastChild;if(U&&U.type==3){U.value=U.value.replace(y,"")}}}if(!n.isValidChild(N.name,v.toLowerCase())){return}while(U){T=U.next;if(U.type==3||(U.type==1&&U.name!=="p"&&!t[U.name]&&!U.attr("data-mce-type"))){if(!V){V=O(v,1);V.attr(m.forced_root_block_attrs);N.insert(V,U);V.append(U)}else{V.append(U)}}else{S(V);V=null}U=T}S(V)}function O(S,T){var U=new c(S,T),V;if(S in k){V=o[S];if(V){V.push(U)}else{o[S]=[U]}}return U}function M(U){var V,S,T;for(V=U.prev;V&&V.type===3;){S=V.value.replace(y,"");if(S.length>0){V.value=S;V=V.prev}else{T=V.prev;V.remove();V=T}}}function L(T){var U,S={};for(U in T){if(U!=="li"&&U!="p"){S[U]=T[U]}}return S}s=new a({validate:D,allow_script_urls:m.allow_script_urls,allow_conditional_comments:m.allow_conditional_comments,self_closing_elements:L(n.getSelfClosingElements()),cdata:function(S){F.append(O("#cdata",4)).value=S},text:function(U,S){var T;if(!P){U=U.replace(q," ");if(F.lastChild&&t[F.lastChild.name]){U=U.replace(I,"")}}if(U.length!==0){T=O("#text",3);T.raw=!!S;F.append(T).value=U}},comment:function(S){F.append(O("#comment",8)).value=S},pi:function(S,T){F.append(O(S,7)).value=T;M(F)},doctype:function(T){var S;S=F.append(O("#doctype",10));S.value=T;M(F)},start:function(U,T,Z){var W,S,Y,V,X;Y=D?n.getElementRule(U):{};if(Y){W=O(Y.outputName||U,1);W.attributes=T;W.shortEnded=Z;F.append(W);X=u[F.name];if(X&&u[W.name]&&!X[W.name]){Q.push(W)}S=j.length;while(S--){V=j[S].name;if(V in T.map){J=i[V];if(J){J.push(W)}else{i[V]=[W]}}}if(t[U]){M(W)}if(!Z){F=W}if(!P&&x[U]){P=true}}},end:function(S){var X,U,W,T,V;U=D?n.getElementRule(S):{};if(U){if(t[S]){if(!P){X=F.firstChild;if(X&&X.type===3){W=X.value.replace(I,"");if(W.length>0){X.value=W;X=X.next}else{T=X.next;X.remove();X=T;while(X&&X.type===3){W=X.value;T=X.next;if(W.length===0||C.test(W)){X.remove();X=T}X=T}}}X=F.lastChild;if(X&&X.type===3){W=X.value.replace(y,"");if(W.length>0){X.value=W;X=X.prev}else{T=X.prev;X.remove();X=T;while(X&&X.type===3){W=X.value;T=X.prev;if(W.length===0||C.test(W)){X.remove();X=T}X=T}}}}}if(P&&x[S]){P=false}if(U.removeEmpty||U.paddEmpty){if(F.isEmpty(z)){if(U.paddEmpty){F.empty().append(new c("#text","3")).value="\u00a0"}else{if(!F.attributes.map.name&&!F.attributes.map.id){V=F.parent;if(t[F.name]){F.empty().remove()}else{F.unwrap()}F=V;return}}}}F=F.parent}}},n);N=F=new c(r.context||m.root_name,11);s.parse(A);if(D&&Q.length){if(!r.context){p(Q)}else{r.invalid=true}}if(v&&(N.name=="body"||r.isRootContent)){K()}if(!r.invalid){for(R in o){J=k[R];E=o[R];B=E.length;while(B--){if(!E[B].parent){E.splice(B,1)}}for(H=0,G=J.length;H<G;H++){J[H](E,R,r)}}for(H=0,G=j.length;H<G;H++){J=j[H];if(J.name in i){E=i[J.name];B=E.length;while(B--){if(!E[B].parent){E.splice(B,1)}}for(B=0,w=J.callbacks.length;B<w;B++){J.callbacks[B](E,J.name,r)}}}}return N};if(m.remove_trailing_brs){l.addNodeFilter("br",function(r){var w,v=r.length,s,B=h({},n.getBlockElements());var q=n.getNonEmptyElements(),z,x,u,A;var y,t;B.body=1;for(w=0;w<v;w++){s=r[w];z=s.parent;if(B[s.parent.name]&&s===z.lastChild){u=s.prev;while(u){A=u.name;if(A!=="span"||u.attr("data-mce-type")!=="bookmark"){if(A!=="br"){break}if(A==="br"){s=null;break}}u=u.prev}if(s){s.remove();if(z.isEmpty(q)){y=n.getElementRule(z.name);if(y){if(y.removeEmpty){z.remove()}else{if(y.paddEmpty){z.empty().append(new c("#text",3)).value="\u00a0"}}}}}}else{x=s;while(z&&z.firstChild===x&&z.lastChild===x){x=z;if(B[z.name]){break}z=z.parent}if(x===z){t=new c("#text",3);t.value="\u00a0";s.replace(t)}}}})}if(!m.allow_html_in_named_anchor){l.addAttributeFilter("id,name",function(q){var s=q.length,u,r,t,v;while(s--){v=q[s];if(v.name==="a"&&v.firstChild&&!v.attr("href")){t=v.parent;u=v.lastChild;do{r=u.prev;t.insert(u,v);u=r}while(u)}}})}if(m.validate&&n.getValidClasses()){l.addAttributeFilter("class",function(r){var v=r.length,u,s,z,x,t;var y=n.getValidClasses(),w,q;while(v--){u=r[v];s=u.attr("class").split(" ");t="";for(z=0;z<s.length;z++){x=s[z];q=false;w=y["*"];if(w&&w[x]){q=true}w=y[u.name];if(!q&&w&&w[x]){q=true}if(q){if(t){t+=" "}t+=x}}if(!t.length){t=null}u.attr("class",t)}})}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Entities.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Entities",["tinymce/util/Tools"],function(d){var e=d.makeMap;var a,j,g,m=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[<>&\"\']/g,f=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,l={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};j={'"':""","'":"'","<":"<",">":">","&":"&","\u0060":"`"};g={"<":"<",">":">","&":"&",""":'"',"'":"'"};function k(n){var o;o=document.createElement("div");o.innerHTML=n;return o.textContent||o.innerText||n}function h(o,r){var p,q,n,s={};if(o){o=o.split(",");r=r||10;for(p=0;p<o.length;p+=2){q=String.fromCharCode(parseInt(o[p],r));if(!j[q]){n="&"+o[p+1]+";";s[q]=n;s[n]=q}}return s}}a=h("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var c={encodeRaw:function(o,n){return o.replace(n?m:b,function(p){return j[p]||p})},encodeAllRaw:function(n){return(""+n).replace(i,function(o){return j[o]||o})},encodeNumeric:function(o,n){return o.replace(n?m:b,function(p){if(p.length>1){return"&#"+(((p.charCodeAt(0)-55296)*1024)+(p.charCodeAt(1)-56320)+65536)+";"}return j[p]||"&#"+p.charCodeAt(0)+";"})},encodeNamed:function(p,n,o){o=o||a;return p.replace(n?m:b,function(q){return j[q]||o[q]||q})},getEncodeFunc:function(n,q){q=h(q)||a;function o(s,r){return s.replace(r?m:b,function(t){return j[t]||q[t]||"&#"+t.charCodeAt(0)+";"||t})}function p(s,r){return c.encodeNamed(s,r,q)}n=e(n.replace(/\+/g,","));if(n.named&&n.numeric){return o}if(n.named){if(q){return p}return c.encodeNamed}if(n.numeric){return c.encodeNumeric}return c.encodeRaw},decode:function(n){return n.replace(f,function(p,o){if(o){if(o.charAt(0).toLowerCase()==="x"){o=parseInt(o.substr(1),16)}else{o=parseInt(o,10)}if(o>65535){o-=65536;return String.fromCharCode(55296+(o>>10),56320+(o&1023))}else{return l[o]||String.fromCharCode(o)}}return g[p]||a[p]||k(p)})}};return c});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Node.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Node",[],function(){var c=/^[ \t\r\n]*$/,d={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};function a(j,k,i){var h,g,e=i?"lastChild":"firstChild",f=i?"prev":"next";if(j[e]){return j[e]}if(j!==k){h=j[f];if(h){return h}for(g=j.parent;g&&g!==k;g=g.parent){h=g[f];if(h){return h}}}}function b(e,f){this.name=e;this.type=f;if(f===1){this.attributes=[];this.attributes.map={}}}b.prototype={replace:function(f){var e=this;if(f.parent){f.remove()}e.insert(f,e);e.remove();return e},attr:function(g,k){var e=this,f,h,j;if(typeof g!=="string"){for(h in g){e.attr(h,g[h])}return e}if((f=e.attributes)){if(k!==j){if(k===null){if(g in f.map){delete f.map[g];h=f.length;while(h--){if(f[h].name===g){f=f.splice(h,1);return e}}}return e}if(g in f.map){h=f.length;while(h--){if(f[h].name===g){f[h].value=k;break}}}else{f.push({name:g,value:k})}f.map[g]=k;return e}else{return f.map[g]}}},clone:function(){var f=this,m=new b(f.name,f.type),g,e,k,h,j;if((k=f.attributes)){j=[];j.map={};for(g=0,e=k.length;g<e;g++){h=k[g];if(h.name!=="id"){j[j.length]={name:h.name,value:h.value};j.map[h.name]=h.value}}m.attributes=j}m.value=f.value;m.shortEnded=f.shortEnded;return m},wrap:function(f){var e=this;e.parent.insert(f,e);f.append(e);return e},unwrap:function(){var e=this,g,f;for(g=e.firstChild;g;){f=g.next;e.insert(g,e,true);g=f}e.remove()},remove:function(){var e=this,g=e.parent,f=e.next,h=e.prev;if(g){if(g.firstChild===e){g.firstChild=f;if(f){f.prev=null}}else{h.next=f}if(g.lastChild===e){g.lastChild=h;if(h){h.next=null}}else{f.prev=h}e.parent=e.next=e.prev=null}return e},append:function(g){var e=this,f;if(g.parent){g.remove()}f=e.lastChild;if(f){f.next=g;g.prev=f;e.lastChild=g}else{e.lastChild=e.firstChild=g}g.parent=e;return g},insert:function(g,e,h){var f;if(g.parent){g.remove()}f=e.parent||this;if(h){if(e===f.firstChild){f.firstChild=g}else{e.prev.next=g}g.prev=e.prev;g.next=e;e.prev=g}else{if(e===f.lastChild){f.lastChild=g}else{e.next.prev=g}g.next=e.next;g.prev=e;e.next=g}g.parent=f;return g},getAll:function(f){var e=this,g,h=[];for(g=e.firstChild;g;g=a(g,e)){if(g.name===f){h.push(g)}}return h},empty:function(){var f=this,e,g,h;if(f.firstChild){e=[];for(h=f.firstChild;h;h=a(h,f)){e.push(h)}g=e.length;while(g--){h=e[g];h.parent=h.firstChild=h.lastChild=h.next=h.prev=null}}f.firstChild=f.lastChild=null;return f},isEmpty:function(j){var e=this,h=e.firstChild,g,f;if(h){do{if(h.type===1){if(h.attributes.map["data-mce-bogus"]){continue}if(j[h.name]){return false}g=h.attributes.length;while(g--){f=h.attributes[g].name;if(f==="name"||f.indexOf("data-mce-bookmark")===0){return false}}}if(h.type===8){return false}if((h.type===3&&!c.test(h.value))){return false}}while((h=a(h,e)))}return true},walk:function(e){return a(this,null,e)}};b.create=function(f,e){var h,g;h=new b(f,d[f]||1);if(e){for(g in e){h.attr(g,e[g])}}return h};return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/SaxParser.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/SaxParser",["tinymce/html/Schema","tinymce/html/Entities","tinymce/util/Tools"],function(d,f,c){var e=c.each;function b(k,i,n){var j=1,g,m,l,h;h=k.getShortEndedElements();l=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g;l.lastIndex=g=n;while((m=l.exec(i))){g=l.lastIndex;if(m[1]==="/"){j--}else{if(!m[1]){if(m[2] in h){continue}j++}}if(j===0){break}}return g}function a(h,j){var g=this;function i(){}h=h||{};g.schema=j=j||new d();if(h.fix_self_closing!==false){h.fix_self_closing=true}e("comment cdata text start end pi doctype".split(" "),function(k){if(k){g[k]=h[k]||i}});g.parse=function(H){var t=this,l,J=0,M,E,D=[],R,U,F,v;var C,w,Q,K,S;var z,s,p,x,W,T,I;var X,P,k;var V,N,q,G,O,m,A=0;var o=f.decode,B,L=c.makeMap("src,href,data,background,formaction,poster");var n=/((java|vb)script|mhtml):/i,r=/^data:/i;function y(Y){var aa,Z;aa=D.length;while(aa--){if(D[aa].name===Y){break}}if(aa>=0){for(Z=D.length-1;Z>=aa;Z--){Y=D[Z];if(Y.valid){t.end(Y.name)}}D.length=aa}}function u(ad,Z,ah,af,ae){var ab,ac,Y=/[\s\u0000-\u001F]+/g;Z=Z.toLowerCase();ah=Z in K?Z:o(ah||af||ae||"");if(z&&!C&&Z.indexOf("data-")!==0){ab=T[Z];if(!ab&&I){ac=I.length;while(ac--){ab=I[ac];if(ab.pattern.test(Z)){break}}if(ac===-1){ab=null}}if(!ab){return}if(ab.validValues&&!(ah in ab.validValues)){return}}if(L[Z]&&!h.allow_script_urls){var aa=ah.replace(Y,"");try{aa=decodeURIComponent(aa)}catch(ag){aa=unescape(aa)}if(n.test(aa)){return}if(!h.allow_html_data_urls&&r.test(aa)&&!/^data:image\//i.test(aa)){return}}R.map[Z]=ah;R.push({name:Z,value:ah})}q=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g");G=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g;Q=j.getShortEndedElements();N=h.self_closing_elements||j.getSelfClosingElements();K=j.getBoolAttrs();z=h.validate;w=h.remove_internals;B=h.fix_self_closing;O=j.getSpecialElements();while((l=q.exec(H))){if(J<l.index){t.text(o(H.substr(J,l.index-J)))}if((M=l[6])){M=M.toLowerCase();if(M.charAt(0)===":"){M=M.substr(1)}y(M)}else{if((M=l[7])){M=M.toLowerCase();if(M.charAt(0)===":"){M=M.substr(1)}S=M in Q;if(B&&N[M]&&D.length>0&&D[D.length-1].name===M){y(M)}if(!z||(s=j.getElementRule(M))){p=true;if(z){T=s.attributes;I=s.attributePatterns}if((W=l[8])){C=W.indexOf("data-mce-type")!==-1;if(C&&w){p=false}R=[];R.map={};W.replace(G,u)}else{R=[];R.map={}}if(z&&!C){X=s.attributesRequired;P=s.attributesDefault;k=s.attributesForced;V=s.removeEmptyAttrs;if(V&&!R.length){p=false}if(k){U=k.length;while(U--){x=k[U];v=x.name;m=x.value;if(m==="{$uid}"){m="mce_"+A++}R.map[v]=m;R.push({name:v,value:m})}}if(P){U=P.length;while(U--){x=P[U];v=x.name;if(!(v in R.map)){m=x.value;if(m==="{$uid}"){m="mce_"+A++}R.map[v]=m;R.push({name:v,value:m})}}}if(X){U=X.length;while(U--){if(X[U] in R.map){break}}if(U===-1){p=false}}if((x=R.map["data-mce-bogus"])){if(x==="all"){J=b(j,H,q.lastIndex);q.lastIndex=J;continue}p=false}}if(p){t.start(M,R,S)}}else{p=false}if((E=O[M])){E.lastIndex=J=l.index+l[0].length;if((l=E.exec(H))){if(p){F=H.substr(J,l.index-J)}J=l.index+l[0].length}else{F=H.substr(J);J=H.length}if(p){if(F.length>0){t.text(F,true)}t.end(M)}q.lastIndex=J;continue}if(!S){if(!W||W.indexOf("/")!=W.length-1){D.push({name:M,valid:p})}else{if(p){t.end(M)}}}}else{if((M=l[1])){if(M.charAt(0)===">"){M=" "+M}if(!h.allow_conditional_comments&&M.substr(0,3)==="[if"){M=" "+M}t.comment(M)}else{if((M=l[2])){t.cdata(M)}else{if((M=l[3])){t.doctype(M)}else{if((M=l[4])){t.pi(M,l[5])}}}}}}J=l.index+l[0].length}if(J<H.length){t.text(o(H.substr(J)))}for(U=D.length-1;U>=0;U--){M=D[U];if(M.valid){t.end(M.name)}}}}a.findEndTag=b;return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Schema.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Schema",["tinymce/util/Tools"],function(b){var c={},e={};var d=b.makeMap,i=b.each,f=b.extend,h=b.explode,k=b.inArray;function g(l,m){return l?l.split(m||" "):[]}function j(s){var p={},t,m;var q,r,l,o;function u(y,v,B){var A,z,C,x=arguments;function w(H,G){var F={},E,D;for(E=0,D=H.length;E<D;E++){F[H[E]]=G||{}}return F}B=B||[];v=v||"";if(typeof B==="string"){B=g(B)}for(z=3;z<x.length;z++){if(typeof x[z]==="string"){x[z]=g(x[z])}B.push.apply(B,x[z])}y=g(y);A=y.length;while(A--){C=[].concat(t,g(v));p[y[A]]={attributes:w(C),attributesOrder:C,children:w(B,e)}}}function n(y,x){var A,w,z,v;y=g(y);A=y.length;x=g(x);while(A--){w=p[y[A]];for(z=0,v=x.length;z<v;z++){w.attributes[x[z]]={};w.attributesOrder.push(x[z])}}}if(c[s]){return c[s]}t=g("id accesskey class dir lang style tabindex title");m=g("address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul");q=g("a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment");if(s!="html4"){t.push.apply(t,g("contenteditable contextmenu draggable dropzone hidden spellcheck translate"));m.push.apply(m,g("article aside details dialog figure header footer hgroup section nav"));q.push.apply(q,g("audio canvas command datalist mark meter output progress time wbr video ruby bdi keygen"))}if(s!="html5-strict"){t.push("xml:lang");o=g("acronym applet basefont big font strike tt");q.push.apply(q,o);i(o,function(v){u(v,"",q)});l=g("center dir isindex noframes");m.push.apply(m,l);r=[].concat(m,q);i(l,function(v){u(v,"",r)})}r=r||[].concat(m,q);u("html","manifest","head body");u("head","","base command link meta noscript script style title");u("title hr noscript br");u("base","href target");u("link","href rel media hreflang type sizes hreflang");u("meta","name http-equiv content charset");u("style","media type scoped");u("script","src async defer type charset");u("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",r);u("address dt dd div caption","",r);u("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",q);u("blockquote","cite",r);u("ol","reversed start type","li");u("ul","","li");u("li","value",r);u("dl","","dt dd");u("a","href target rel media hreflang type",q);u("q","cite",q);u("ins del","cite datetime",r);u("img","src sizes srcset alt usemap ismap width height");u("iframe","src name width height",r);u("embed","src type width height");u("object","data type typemustmatch name usemap form width height",r,"param");u("param","name value");u("map","name",r,"area");u("area","alt coords shape href target rel media hreflang type");u("table","border","caption colgroup thead tfoot tbody tr"+(s=="html4"?" col":""));u("colgroup","span","col");u("col","span");u("tbody thead tfoot","","tr");u("tr","","td th");u("td","colspan rowspan headers",r);u("th","colspan rowspan headers scope abbr",r);u("form","accept-charset action autocomplete enctype method name novalidate target",r);u("fieldset","disabled form name",r,"legend");u("label","form for",q);u("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width");u("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",s=="html4"?r:q);u("select","disabled form multiple name required size","option optgroup");u("optgroup","disabled label","option");u("option","disabled label selected value");u("textarea","cols dirname disabled form maxlength name readonly required rows wrap");u("menu","type label",r,"li");u("noscript","",r);if(s!="html4"){u("wbr");u("ruby","",q,"rt rp");u("figcaption","",r);u("mark rt rp summary bdi","",q);u("canvas","width height",r);u("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",r,"track source");u("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",r,"track source");u("picture","","img source");u("source","src srcset type media sizes");u("track","kind src srclang label default");u("datalist","",q,"option");u("article section nav aside header footer","",r);u("hgroup","","h1 h2 h3 h4 h5 h6");u("figure","",r,"figcaption");u("time","datetime",q);u("dialog","open",r);u("command","type label icon disabled checked radiogroup command");u("output","for form name",q);u("progress","value max",q);u("meter","value min max low high optimum",q);u("details","open",r,"summary");u("keygen","autofocus challenge disabled form keytype name")}if(s!="html5-strict"){n("script","language xml:space");n("style","xml:space");n("object","declare classid code codebase codetype archive standby align border hspace vspace");n("embed","align name hspace vspace");n("param","valuetype type");n("a","charset name rev shape coords");n("br","clear");n("applet","codebase archive code object alt name width height align hspace vspace");n("img","name longdesc align border hspace vspace");n("iframe","longdesc frameborder marginwidth marginheight scrolling align");n("font basefont","size color face");n("input","usemap align");n("select","onchange");n("textarea");n("h1 h2 h3 h4 h5 h6 div p legend caption","align");n("ul","type compact");n("li","type");n("ol dl menu dir","compact");n("pre","width xml:space");n("hr","align noshade size width");n("isindex","prompt");n("table","summary width frame rules cellspacing cellpadding align bgcolor");n("col","width align char charoff valign");n("colgroup","width align char charoff valign");n("thead","align char charoff valign");n("tr","align char charoff valign bgcolor");n("th","axis align char charoff valign nowrap bgcolor width height");n("form","accept");n("td","abbr axis scope align char charoff valign nowrap bgcolor width height");n("tfoot","align char charoff valign");n("tbody","align char charoff valign");n("area","nohref");n("body","background bgcolor text link vlink alink")}if(s!="html4"){n("input button select textarea","autofocus");n("input textarea","placeholder");n("a","download");n("link script img","crossorigin");n("iframe","sandbox seamless allowfullscreen")}i(g("a form meter progress dfn"),function(v){if(p[v]){delete p[v].children[v]}});delete p.caption.children.table;c[s]=p;return p}function a(m,n){var l;if(m){l={};if(typeof m=="string"){m={"*":m}}i(m,function(p,o){l[o]=l[o.toUpperCase()]=n=="map"?d(p,/[, ]/):h(p,/[, ]/)})}return l}return function(H){var C=this,A={},p={},o=[],L,l,F;var v,x,G,y,z;var D,u,t,m,K;var w={},q={};function s(O,M,N){var P=H[O];if(!P){P=c[O];if(!P){P=d(M," ",d(M.toUpperCase()," "));P=f(P,N);c[O]=P}}else{P=d(P,/[, ]/,d(P.toUpperCase(),/[, ]/))}return P}H=H||{};F=j(H.schema);if(H.verify_html===false){H.valid_elements="*[*]"}L=a(H.valid_styles);l=a(H.invalid_styles,"map");z=a(H.valid_classes,"map");v=s("whitespace_elements","pre script noscript style textarea video audio iframe object");x=s("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");G=s("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track");y=s("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");u=s("non_empty_elements","td th iframe video audio object script",G);t=s("move_caret_before_on_enter_elements","table",u);m=s("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");D=s("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup",m);K=s("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp");i((H.special||"script noscript style textarea").split(" "),function(M){q[M]=new RegExp("</"+M+"[^>]*>","gi")});function n(M){return new RegExp("^"+M.replace(/([?+*])/g,".$1")+"$")}function J(Y){var S,O,ag,ac,N,Q,ab,ae,W,af,ah,V,R,ad,M,Z,P,aj,aa,U=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,X=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,T=/[*?+]/;if(Y){Y=g(Y,",");if(A["@"]){Z=A["@"].attributes;P=A["@"].attributesOrder}for(S=0,O=Y.length;S<O;S++){N=U.exec(Y[S]);if(N){ad=N[1];W=N[2];M=N[3];ae=N[5];V={};R=[];Q={attributes:V,attributesOrder:R};if(ad==="#"){Q.paddEmpty=true}if(ad==="-"){Q.removeEmpty=true}if(N[4]==="!"){Q.removeEmptyAttrs=true}if(Z){for(aj in Z){V[aj]=Z[aj]}R.push.apply(R,P)}if(ae){ae=g(ae,"|");for(ag=0,ac=ae.length;ag<ac;ag++){N=X.exec(ae[ag]);if(N){ab={};ah=N[1];af=N[2].replace(/::/g,":");ad=N[3];aa=N[4];if(ah==="!"){Q.attributesRequired=Q.attributesRequired||[];Q.attributesRequired.push(af);ab.required=true}if(ah==="-"){delete V[af];R.splice(k(R,af),1);continue}if(ad){if(ad==="="){Q.attributesDefault=Q.attributesDefault||[];Q.attributesDefault.push({name:af,value:aa});ab.defaultValue=aa}if(ad===":"){Q.attributesForced=Q.attributesForced||[];Q.attributesForced.push({name:af,value:aa});ab.forcedValue=aa}if(ad==="<"){ab.validValues=d(aa,"?")}}if(T.test(af)){Q.attributePatterns=Q.attributePatterns||[];ab.pattern=n(af);Q.attributePatterns.push(ab)}else{if(!V[af]){R.push(af)}V[af]=ab}}}}if(!Z&&W=="@"){Z=V;P=R}if(M){Q.outputName=W;A[M]=Q}if(T.test(W)){Q.pattern=n(W);o.push(Q)}else{A[W]=Q}}}}}function B(M){A={};o=[];J(M);i(F,function(O,N){p[N]=O.children})}function r(N){var M=/^(~)?(.+)$/;if(N){c.text_block_elements=c.block_elements=null;i(g(N,","),function(S){var Q=M.exec(S),R=Q[1]==="~",T=R?"span":"div",P=Q[2];p[P]=p[T];w[P]=T;if(!R){D[P.toUpperCase()]={};D[P]={}}if(!A[P]){var O=A[T];O=f({},O);delete O.removeEmptyAttrs;delete O.removeEmpty;A[P]=O}i(p,function(U,V){if(U[T]){p[V]=U=f({},p[V]);U[P]=U[T]}})})}}function E(M){var N=/^([+\-]?)(\w+)\[([^\]]+)\]$/;if(M){i(g(M,","),function(R){var Q=N.exec(R),O,P;if(Q){P=Q[1];if(P){O=p[Q[2]]}else{O=p[Q[2]]={"#comment":{}}}O=p[Q[2]];i(g(Q[3],"|"),function(S){if(P==="-"){p[Q[2]]=O=f({},p[Q[2]]);delete O[S]}else{O[S]={}}})}})}}function I(M){var O=A[M],N;if(O){return O}N=o.length;while(N--){O=o[N];if(O.pattern.test(M)){return O}}}if(!H.valid_elements){i(F,function(N,M){A[M]={attributes:N.attributes,attributesOrder:N.attributesOrder};p[M]=N.children});if(H.schema!="html5"){i(g("strong/b em/i"),function(M){M=g(M,"/");A[M[1]].outputName=M[0]})}A.img.attributesDefault=[{name:"alt",value:""}];i(g("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(M){if(A[M]){A[M].removeEmpty=true}});i(g("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(M){A[M].paddEmpty=true});i(g("span"),function(M){A[M].removeEmptyAttrs=true})}else{B(H.valid_elements)}r(H.custom_elements);E(H.valid_children);J(H.extended_valid_elements);E("+ol[ul|ol],+ul[ul|ol]");if(H.invalid_elements){i(h(H.invalid_elements),function(M){if(A[M]){delete A[M]}})}if(!I("span")){J("span[!data-mce-type|*]")}C.children=p;C.getValidStyles=function(){return L};C.getInvalidStyles=function(){return l};C.getValidClasses=function(){return z};C.getBoolAttrs=function(){return y};C.getBlockElements=function(){return D};C.getTextBlockElements=function(){return m};C.getTextInlineElements=function(){return K};C.getShortEndedElements=function(){return G};C.getSelfClosingElements=function(){return x};C.getNonEmptyElements=function(){return u};C.getMoveCaretBeforeOnEnterElements=function(){return t};C.getWhiteSpaceElements=function(){return v};C.getSpecialElements=function(){return q};C.isValidChild=function(M,O){var N=p[M];return !!(N&&N[O])};C.isValid=function(N,M){var P,O,Q=I(N);if(Q){if(M){if(Q.attributes[M]){return true}P=Q.attributePatterns;if(P){O=P.length;while(O--){if(P[O].pattern.test(N)){return true}}}}else{return true}}return false};C.getElementRule=I;C.getCustomElements=function(){return w};C.addValidElements=J;C.setValidElements=B;C.addCustomElements=r;C.addValidChildren=E;C.elements=A}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Serializer.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Serializer",["tinymce/html/Writer","tinymce/html/Schema"],function(b,a){return function(d,e){var c=this,f=new b(d);d=d||{};d.validate="validate" in d?d.validate:true;c.schema=e=e||new a();c.writer=f;c.serialize=function(i){var h,j;j=d.validate;h={3:function(k){f.text(k.value,k.raw)},8:function(k){f.comment(k.value)},7:function(k){f.pi(k.name,k.value)},10:function(k){f.doctype(k.value)},4:function(k){f.cdata(k.value)},11:function(k){if((k=k.firstChild)){do{g(k)}while((k=k.next))}}};f.reset();function g(m){var u=h[m.type],k,p,t,s,q,v,o,n,r;if(!u){k=m.name;p=m.shortEnded;t=m.attributes;if(j&&t&&t.length>1){v=[];v.map={};r=e.getElementRule(m.name);for(o=0,n=r.attributesOrder.length;o<n;o++){s=r.attributesOrder[o];if(s in t.map){q=t.map[s];v.map[s]=q;v.push({name:s,value:q})}}for(o=0,n=t.length;o<n;o++){s=t[o].name;if(!(s in v.map)){q=t.map[s];v.map[s]=q;v.push({name:s,value:q})}}t=v}f.start(m.name,t,p);if(!p){if((m=m.firstChild)){do{g(m)}while((m=m.next))}f.end(k)}}else{u(m)}}if(i.type==1&&!d.inner){g(i)}else{h[11](i)}return f.getContent()}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Styles.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Styles",[],function(){return function(f,h){var m=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,j=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,c=/\s*([^:]+):\s*([^;]+);?/g,o=/\s+$/,g,k,b={},l,e,a,n="\uFEFF";f=f||{};if(h){e=h.getValidStyles();a=h.getInvalidStyles()}l=("\\\" \\' \\; \\: ; : "+n).split(" ");for(k=0;k<l.length;k++){b[l[k]]=n+k;b[n+k]=l[k]}function d(p,t,s,i){function q(r){r=parseInt(r,10).toString(16);return r.length>1?r:"0"+r}return"#"+q(t)+q(s)+q(i)}return{toHex:function(i){return i.replace(m,d)},parse:function(u){var A={},s,p,y,t,x=f.url_converter;var z=f.url_converter_scope||this;function r(G,J,D){var I,E,C,H;I=A[G+"-top"+J];if(!I){return}E=A[G+"-right"+J];if(!E){return}C=A[G+"-bottom"+J];if(!C){return}H=A[G+"-left"+J];if(!H){return}var F=[I,E,C,H];k=F.length-1;while(k--){if(F[k]!==F[k+1]){break}}if(k>-1&&D){return}A[G+J]=k==-1?F[0]:F.join(" ");delete A[G+"-top"+J];delete A[G+"-right"+J];delete A[G+"-bottom"+J];delete A[G+"-left"+J]}function w(D){var E=A[D],C;if(!E){return}E=E.split(" ");C=E.length;while(C--){if(E[C]!==E[0]){return false}}A[D]=E[0];return true}function B(E,D,C,F){if(!w(D)){return}if(!w(C)){return}if(!w(F)){return}A[E]=A[D]+" "+A[C]+" "+A[F];delete A[D];delete A[C];delete A[F]}function v(C){t=true;return b[C]}function i(D,C){if(t){D=D.replace(/\uFEFF[0-9]/g,function(E){return b[E]})}if(!C){D=D.replace(/\\([\'\";:])/g,"$1")}return D}function q(D,C,G,F,I,E){I=I||E;if(I){I=i(I);return"'"+I.replace(/\'/g,"\\'")+"'"}C=i(C||G||F);if(!f.allow_script_urls){var H=C.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(H)){return""}if(!f.allow_svg_data_urls&&/^data:image\/svg/i.test(H)){return""}}if(x){C=x.call(z,C,"style")}return"url('"+C.replace(/\'/g,"\\'")+"')"}if(u){u=u.replace(/[\u0000-\u001F]/g,"");u=u.replace(/\\[\"\';:\uFEFF]/g,v).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(C){return C.replace(/[;:]/g,v)});while((s=c.exec(u))){p=s[1].replace(o,"").toLowerCase();y=s[2].replace(o,"");y=y.replace(/\\[0-9a-f]+/g,function(C){return String.fromCharCode(parseInt(C.substr(1),16))});if(p&&y.length>0){if(!f.allow_script_urls&&(p=="behavior"||/expression\s*\(|\/\*|\*\//.test(y))){continue}if(p==="font-weight"&&y==="700"){y="bold"}else{if(p==="color"||p==="background-color"){y=y.toLowerCase()}}y=y.replace(m,d);y=y.replace(j,q);A[p]=t?i(y,true):y}c.lastIndex=s.index+s[0].length}r("border","",true);r("border","-width");r("border","-color");r("border","-style");r("padding","");r("margin","");B("border","border-width","border-style","border-color");if(A.border==="medium none"){delete A.border}if(A["border-image"]==="none"){delete A["border-image"]}}return A},serialize:function(s,i){var r="",q,t;function p(w){var z,x,v,y;z=e[w];if(z){for(x=0,v=z.length;x<v;x++){w=z[x];y=s[w];if(y!==g&&y.length>0){r+=(r.length>0?" ":"")+w+": "+y+";"}}}}function u(w,v){var x;x=a["*"];if(x&&x[w]){return false}x=a[v];if(x&&x[w]){return false}return true}if(i&&e){p("*");p(i)}else{for(q in s){t=s[q];if(t!==g&&t.length>0){if(!a||u(q,i)){r+=(r.length>0?" ":"")+q+": "+t+";"}}}}return r}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/html/Writer.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/html/Writer",["tinymce/html/Entities","tinymce/util/Tools"],function(c,a){var b=a.makeMap;return function(h){var f=[],d,e,g,i,j;h=h||{};d=h.indent;e=b(h.indent_before||"");g=b(h.indent_after||"");i=c.getEncodeFunc(h.entity_encoding||"raw",h.entities);j=h.element_format=="html";return{start:function(o,n,r){var p,m,k,q;if(d&&e[o]&&f.length>0){q=f[f.length-1];if(q.length>0&&q!=="\n"){f.push("\n")}}f.push("<",o);if(n){for(p=0,m=n.length;p<m;p++){k=n[p];f.push(" ",k.name,'="',i(k.value,true),'"')}}if(!r||j){f[f.length]=">"}else{f[f.length]=" />"}if(r&&d&&g[o]&&f.length>0){q=f[f.length-1];if(q.length>0&&q!=="\n"){f.push("\n")}}},end:function(k){var l;f.push("</",k,">");if(d&&g[k]&&f.length>0){l=f[f.length-1];if(l.length>0&&l!=="\n"){f.push("\n")}}},text:function(l,k){if(l.length>0){f[f.length]=k?l:i(l)}},cdata:function(k){f.push("<![CDATA[",k,"]]>")},comment:function(k){f.push("<!--",k,"-->")},pi:function(k,l){if(l){f.push("<?",k," ",i(l),"?>")}else{f.push("<?",k,"?>")}if(d){f.push("\n")}},doctype:function(k){f.push("<!DOCTYPE",k,">",d?"\n":"")},reset:function(){f.length=0},getContent:function(){return f.join("").replace(/\n$/,"")}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/AbsoluteLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/AbsoluteLayout",["tinymce/ui/Layout"],function(a){return a.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(b){b.items().filter(":visible").each(function(d){var c=d.settings;d.layoutRect({x:c.x,y:c.y,w:c.w,h:c.h});if(d.recalc){d.recalc()}})},renderHtml:function(b){return'<div id="'+b._id+'-absend" class="'+b.classPrefix+'abs-end"></div>'+this._super(b)}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Button.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Button",["tinymce/ui/Widget"],function(a){return a.extend({Defaults:{classes:"widget btn",role:"button"},init:function(d){var b=this,c;b.on("click mousedown",function(f){f.preventDefault()});b._super(d);c=d.size;if(d.subtype){b.addClass(d.subtype)}if(c){b.addClass("btn-"+c)}},icon:function(e){var d=this,f=d.classPrefix;if(typeof e=="undefined"){return d.settings.icon}d.settings.icon=e;e=e?f+"ico "+f+"i-"+d.settings.icon:"";if(d._rendered){var b=d.getEl().firstChild,c=b.getElementsByTagName("i")[0];if(e){if(!c||c!=b.firstChild){c=document.createElement("i");b.insertBefore(c,b.firstChild)}c.className=e}else{if(c){b.removeChild(c)}}d.text(d._text)}return d},repaint:function(){var b=this.getEl().firstChild.style;b.width=b.height="100%";this._super()},text:function(d){var b=this;if(b._rendered){var c=b.getEl().lastChild.lastChild;if(c){c.data=b.translate(d)}}return b._super(d)},renderHtml:function(){var b=this,f=b._id,d=b.classPrefix;var c=b.settings.icon,e;e=b.settings.image;if(e){c="none";if(typeof e!="string"){e=window.getSelection?e[0]:e[1]}e=" style=\"background-image: url('"+e+"')\""}else{e=""}c=b.settings.icon?d+"ico "+d+"i-"+c:"";return('<div id="'+f+'" class="'+b.classes()+'" tabindex="-1" aria-labelledby="'+f+'"><button role="presentation" type="button" tabindex="-1">'+(c?'<i class="'+c+'"'+e+"></i>":"")+(b._text?(c?"\u00a0":"")+b.encode(b._text):"")+"</button></div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ButtonGroup.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ButtonGroup",["tinymce/ui/Container"],function(a){return a.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var b=this,c=b._layout;b.addClass("btn-group");b.preRender();c.preRender(b);return('<div id="'+b._id+'" class="'+b.classes()+'"><div id="'+b._id+'-body">'+(b.settings.html||"")+c.renderHtml(b)+"</div></div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Checkbox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Checkbox",["tinymce/ui/Widget"],function(a){return a.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:false},init:function(c){var b=this;b._super(c);b.on("click mousedown",function(d){d.preventDefault()});b.on("click",function(d){d.preventDefault();if(!b.disabled()){b.checked(!b.checked())}});b.checked(b.settings.checked)},checked:function(c){var b=this;if(typeof c!="undefined"){if(c){b.addClass("checked")}else{b.removeClass("checked")}b._checked=c;b.aria("checked",c);return b}return b._checked},value:function(b){return this.checked(b)},renderHtml:function(){var b=this,d=b._id,c=b.classPrefix;return('<div id="'+d+'" class="'+b.classes()+'" unselectable="on" aria-labelledby="'+d+'-al" tabindex="-1"><i class="'+c+"ico "+c+'i-checkbox"></i><span id="'+d+'-al" class="'+c+'label">'+b.encode(b._text)+"</span></div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Collection.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(d,a,b){var e,f,c=Array.prototype.push,g=Array.prototype.slice;f={length:0,init:function(h){if(h){this.add(h)}},add:function(i){var h=this;if(!d.isArray(i)){if(i instanceof e){h.add(i.toArray())}else{c.call(h,i)}}else{c.apply(h,i)}return h},set:function(k){var j=this,h=j.length,l;j.length=0;j.add(k);for(l=j.length;l<h;l++){delete j[l]}return j},filter:function(h){var k=this,n,j,p=[],o,m;if(typeof h==="string"){h=new a(h);m=function(i){return h.match(i)}}else{m=h}for(n=0,j=k.length;n<j;n++){o=k[n];if(m(o)){p.push(o)}}return new e(p)},slice:function(){return new e(g.apply(this,arguments))},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},each:function(h){d.each(this,h);return this},toArray:function(){return d.toArray(this)},indexOf:function(k){var h=this,j=h.length;while(j--){if(h[j]===k){break}}return j},reverse:function(){return new e(d.toArray(this).reverse())},hasClass:function(h){return this[0]?this[0].hasClass(h):false},prop:function(i,l){var h=this,j,k;if(l!==j){h.each(function(m){if(m[i]){m[i](l)}});return h}k=h[0];if(k&&k[i]){return k[i]()}},exec:function(j){var h=this,i=d.toArray(arguments).slice(1);h.each(function(k){if(k[j]){k[j].apply(k,i)}});return h},remove:function(){var h=this.length;while(h--){this[h].remove()}return this}};d.each("fire on off show hide addClass removeClass append prepend before after reflow".split(" "),function(h){f[h]=function(){var i=d.toArray(arguments);this.each(function(j){if(h in j){j[h].apply(j,i)}});return this}});d.each("text name disabled active selected checked visible parent value data".split(" "),function(h){f[h]=function(i){return this.prop(h,i)}});e=b.extend(f);a.Collection=e;return e});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ColorBox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(a){return a.extend({init:function(c){var b=this;c.spellcheck=false;if(c.onaction){c.icon="none"}b._super(c);b.addClass("colorbox");b.on("change keyup postrender",function(){b.repaintColor(b.value())})},repaintColor:function(c){var d=this.getEl().getElementsByTagName("i")[0];if(d){try{d.style.background=c}catch(b){}}},value:function(c){var b=this;if(typeof c!="undefined"){if(b._rendered){b.repaintColor(c)}}return b._super(c)}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ColorButton.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ColorButton",["tinymce/ui/PanelButton","tinymce/dom/DOMUtils"],function(b,a){var c=a.DOM;return b.extend({init:function(d){this._super(d);this.addClass("colorbutton")},color:function(d){if(d){this._color=d;this.getEl("preview").style.backgroundColor=d;return this}return this._color},resetColor:function(){this._color=null;this.getEl("preview").style.backgroundColor=null;return this},renderHtml:function(){var d=this,h=d._id,f=d.classPrefix;var e=d.settings.icon?f+"ico "+f+"i-"+d.settings.icon:"";var g=d.settings.image?" style=\"background-image: url('"+d.settings.image+"')\"":"";return('<div id="'+h+'" class="'+d.classes()+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(e?'<i class="'+e+'"'+g+"></i>":"")+'<span id="'+h+'-preview" class="'+f+'preview"></span>'+(d._text?(e?" ":"")+(d._text):"")+'</button><button type="button" class="'+f+'open" hidefocus="1" tabindex="-1"> <i class="'+f+'caret"></i></button></div>')},postRender:function(){var d=this,e=d.settings.onclick;d.on("click",function(f){if(f.aria&&f.aria.key=="down"){return}if(f.control==d&&!c.getParent(f.target,"."+d.classPrefix+"open")){f.stopImmediatePropagation();e.call(d,f)}});delete d.settings.onclick;return d._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ColorPicker.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ColorPicker",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils","tinymce/util/Color"],function(c,b,a,d){return c.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){var o=this,i=o.color(),j,l,k,n,g;l=o.getEl("h");k=o.getEl("hp");n=o.getEl("sv");g=o.getEl("svp");function h(t,q){var s=a.getPos(t),p,r;p=q.pageX-s.x;r=q.pageY-s.y;p=Math.max(0,Math.min(p/t.clientWidth,1));r=Math.max(0,Math.min(r/t.clientHeight,1));return{x:p,y:r}}function f(r,q){var p=(360-r.h)/360;a.css(k,{top:(p*100)+"%"});if(!q){a.css(g,{left:r.s+"%",top:(100-r.v)+"%"})}n.style.background=new d({s:100,v:100,h:r.h}).toHex();o.color().parse({s:r.s,v:r.v,h:r.h})}function e(p){var q;q=h(n,p);j.s=q.x*100;j.v=(1-q.y)*100;f(j);o.fire("change")}function m(p){var q;q=h(l,p);j=i.toHsv();j.h=(1-q.y)*360;f(j,true);o.fire("change")}o._repaint=function(){j=i.toHsv();f(j)};o._super();o._svdraghelper=new b(o._id+"-sv",{start:e,drag:e});o._hdraghelper=new b(o._id+"-h",{start:m,drag:m});o._repaint()},rgb:function(){return this.color().toRgb()},value:function(f){var e=this;if(arguments.length){e.color().parse(f);if(e._rendered){e._repaint()}}else{return e.color().toHex()}},color:function(){if(!this._color){this._color=new d()}return this._color},renderHtml:function(){var e=this,k=e._id,i=e.classPrefix,g;var h="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000";function f(){var p,n,o="",m,q;m="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=";q=h.split(",");for(p=0,n=q.length-1;p<n;p++){o+=('<div class="'+i+'colorpicker-h-chunk" style="height:'+(100/n)+"%;"+m+q[p]+",endColorstr="+q[p+1]+");-ms-"+m+q[p]+",endColorstr="+q[p+1]+')"></div>')}return o}var j=("background: -ms-linear-gradient(top,"+h+");background: linear-gradient(to bottom,"+h+");");g=('<div id="'+k+'-h" class="'+i+'colorpicker-h" style="'+j+'">'+f()+'<div id="'+k+'-hp" class="'+i+'colorpicker-h-marker"></div></div>');return('<div id="'+k+'" class="'+e.classes()+'"><div id="'+k+'-sv" class="'+i+'colorpicker-sv"><div class="'+i+'colorpicker-overlay1"><div class="'+i+'colorpicker-overlay2"><div id="'+k+'-svp" class="'+i+'colorpicker-selector1"><div class="'+i+'colorpicker-selector2"></div></div></div></div></div>'+g+"</div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ComboBox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ComboBox",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/ui/DomUtils"],function(c,a,b){return c.extend({init:function(e){var d=this;d._super(e);d.addClass("combobox");d.subinput=true;d.ariaTarget="inp";e=d.settings;e.menu=e.menu||e.values;if(e.menu){e.icon="caret"}d.on("click",function(g){var h=g.target,f=d.getEl();while(h&&h!=f){if(h.id&&h.id.indexOf("-open")!=-1){d.fire("action");if(e.menu){d.showMenu();if(g.aria){d.menu.items()[0].focus()}}}h=h.parentNode}});d.on("keydown",function(f){if(f.target.nodeName=="INPUT"&&f.keyCode==13){d.parents().reverse().each(function(g){f.preventDefault();d.fire("change");if(g.hasEventListeners("submit")&&g.toJSON){g.fire("submit",{data:g.toJSON()});return false}})}});if(e.placeholder){d.addClass("placeholder");d.on("focusin",function(){if(!d._hasOnChange){b.on(d.getEl("inp"),"change",function(){d.fire("change")});d._hasOnChange=true}if(d.hasClass("placeholder")){d.getEl("inp").value="";d.removeClass("placeholder")}});d.on("focusout",function(){if(d.value().length===0){d.getEl("inp").value=e.placeholder;d.addClass("placeholder")}})}},showMenu:function(){var d=this,e=d.settings,f;if(!d.menu){f=e.menu||[];if(f.length){f={type:"menu",items:f}}else{f.type=f.type||"menu"}d.menu=a.create(f).parent(d).renderTo(d.getContainerElm());d.fire("createmenu");d.menu.reflow();d.menu.on("cancel",function(g){if(g.control===d.menu){d.focus()}});d.menu.on("show hide",function(g){g.control.items().each(function(h){h.active(h.value()==d.value())})}).fire("show");d.menu.on("select",function(g){d.value(g.control.value())});d.on("focusin",function(g){if(g.target.tagName.toUpperCase()=="INPUT"){d.menu.hide()}});d.aria("expanded",true)}d.menu.show();d.menu.layoutRect({w:d.layoutRect().w});d.menu.moveRel(d.getEl(),d.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},value:function(e){var d=this;if(typeof e!="undefined"){d._value=e;d.removeClass("placeholder");if(d._rendered){d.getEl("inp").value=e}return d}if(d._rendered){e=d.getEl("inp").value;if(e!=d.settings.placeholder){return e}return""}return d._value},disabled:function(e){var d=this;if(d._rendered&&typeof e!="undefined"){d.getEl("inp").disabled=e}return d._super(e)},focus:function(){this.getEl("inp").focus()},repaint:function(){var e=this,j=e.getEl(),d=e.getEl("open"),h=e.layoutRect();var g,f;if(d){g=h.w-b.getSize(d).width-10}else{g=h.w-10}var i=document;if(i.all&&(!i.documentMode||i.documentMode<=8)){f=(e.layoutRect().h-2)+"px"}b.css(j.firstChild,{width:g,lineHeight:f});e._super();return e},postRender:function(){var d=this;b.on(this.getEl("inp"),"change",function(){d.fire("change")});return d._super()},remove:function(){b.off(this.getEl("inp"));this._super()},renderHtml:function(){var l=this,d=l._id,e=l.settings,f=l.classPrefix;var i=e.value||e.placeholder||"";var h,k,g="",j="";if("spellcheck" in e){j+=' spellcheck="'+e.spellcheck+'"'}if(e.maxLength){j+=' maxlength="'+e.maxLength+'"'}if(e.size){j+=' size="'+e.size+'"'}if(e.subtype){j+=' type="'+e.subtype+'"'}if(l.disabled()){j+=' disabled="disabled"'}h=e.icon;if(h&&h!="caret"){h=f+"ico "+f+"i-"+e.icon}k=l._text;if(h||k){g=('<div id="'+d+'-open" class="'+f+"btn "+f+'open" tabIndex="-1" role="button"><button id="'+d+'-action" type="button" hidefocus="1" tabindex="-1">'+(h!="caret"?'<i class="'+h+'"></i>':'<i class="'+f+'caret"></i>')+(k?(h?" ":"")+k:"")+"</button></div>");l.addClass("has-open")}return('<div id="'+d+'" class="'+l.classes()+'"><input id="'+d+'-inp" class="'+f+"textbox "+f+'placeholder" value="'+i+'" hidefocus="1"'+j+" />"+g+"</div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Container.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Container",["tinymce/ui/Control","tinymce/ui/Collection","tinymce/ui/Selector","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/util/Tools","tinymce/ui/DomUtils"],function(h,g,c,a,f,e,b){var d={};return h.extend({layout:"",innerClass:"container-inner",init:function(j){var i=this;i._super(j);j=i.settings;i._fixed=j.fixed;i._items=new g();if(i.isRtl()){i.addClass("rtl")}i.addClass("container");i.addClass("container-body","body");if(j.containerCls){i.addClass(j.containerCls)}i._layout=a.create((j.layout||i.layout)+"layout");if(i.settings.items){i.add(i.settings.items)}i._hasBody=true},items:function(){return this._items},find:function(i){i=d[i]=d[i]||new c(i);return i.find(this)},add:function(j){var i=this;i.items().add(i.create(j)).parent(i);return i},focus:function(i){var k=this,m,l,j;if(i){l=k.keyboardNav||k.parents().eq(-1)[0].keyboardNav;if(l){l.focusFirst(k);return}}j=k.find("*");if(k.statusbar){j.add(k.statusbar.items())}j.each(function(n){if(n.settings.autofocus){m=null;return false}if(n.canFocus){m=m||n}});if(m){m.focus()}return k},replace:function(n,m){var l,j=this.items(),k=j.length;while(k--){if(j[k]===n){j[k]=m;break}}if(k>=0){l=m.getEl();if(l){l.parentNode.removeChild(l)}l=n.getEl();if(l){l.parentNode.removeChild(l)}}m.parent(this)},create:function(j){var i=this,l,k=[];if(!e.isArray(j)){j=[j]}e.each(j,function(m){if(m){if(!(m instanceof h)){if(typeof m=="string"){m={type:m}}l=e.extend({},i.settings.defaults,m);m.type=l.type=l.type||m.type||i.settings.defaultType||(l.defaults?l.defaults.type:null);m=a.create(l)}k.push(m)}});return k},renderNew:function(){var i=this;i.items().each(function(l,k){var m,j;l.parent(i);if(!l._rendered){m=i.getEl("body");j=b.createFragment(l.renderHtml());if(m.hasChildNodes()&&k<=m.childNodes.length-1){m.insertBefore(j,m.childNodes[k])}else{m.appendChild(j)}l.postRender()}});i._layout.applyClasses(i);i._lastRect=null;return i},append:function(i){return this.add(i).renderNew()},prepend:function(j){var i=this;i.items().set(i.create(j).concat(i.items().toArray()));return i.renderNew()},insert:function(k,m,o){var j=this,l,i,n;k=j.create(k);l=j.items();if(!o&&m<l.length-1){m+=1}if(m>=0&&m<l.length){i=l.slice(0,m).toArray();n=l.slice(m).toArray();l.set(i.concat(k,n))}return j.renderNew()},fromJSON:function(k){var i=this;for(var j in k){i.find("#"+j).value(k[j])}return i},toJSON:function(){var i=this,j={};i.find("*").each(function(m){var k=m.name(),l=m.value();if(k&&typeof l!="undefined"){j[k]=l}});return j},preRender:function(){},renderHtml:function(){var i=this,j=i._layout,k=this.settings.role;i.preRender();j.preRender(i);return('<div id="'+i._id+'" class="'+i.classes()+'"'+(k?' role="'+this.settings.role+'"':"")+'><div id="'+i._id+'-body" class="'+i.classes("body")+'">'+(i.settings.html||"")+j.renderHtml(i)+"</div></div>")},postRender:function(){var i=this,j;i.items().exec("postRender");i._super();i._layout.postRender(i);i._rendered=true;if(i.settings.style){b.css(i.getEl(),i.settings.style)}if(i.settings.border){j=i.borderBox();b.css(i.getEl(),{"border-top-width":j.top,"border-right-width":j.right,"border-bottom-width":j.bottom,"border-left-width":j.left})}if(!i.parent()){i.keyboardNav=new f({root:i})}return i},initLayoutRect:function(){var i=this,j=i._super();i._layout.recalc(i);return j},recalc:function(){var i=this,k=i._layoutRect,j=i._lastRect;if(!j||j.w!=k.w||j.h!=k.h){i._layout.recalc(i);k=i.layoutRect();i._lastRect={x:k.x,y:k.y,w:k.w,h:k.h};return true}},reflow:function(){var j;if(this.visible()){h.repaintControls=[];h.repaintControls.map={};this.recalc();j=h.repaintControls.length;while(j--){h.repaintControls[j].repaint()}if(this.settings.layout!=="flow"&&this.settings.layout!=="stack"){this.repaint()}h.repaintControls=[]}return this}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Control.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Control",["tinymce/util/Class","tinymce/util/Tools","tinymce/util/EventDispatcher","tinymce/ui/Collection","tinymce/ui/DomUtils"],function(b,g,e,h,a){var d="onmousewheel" in document;var f=false;var j="mce-";function i(k){if(!k._eventDispatcher){k._eventDispatcher=new e({scope:k,toggleEvent:function(l,m){if(m&&e.isNative(l)){if(!k._nativeEvents){k._nativeEvents={}}k._nativeEvents[l]=true;if(k._rendered){k.bindPendingEvents()}}}})}return k._eventDispatcher}var c=b.extend({Statics:{classPrefix:j},isRtl:function(){return c.rtl},classPrefix:j,init:function(n){var k=this,m,l;k.settings=n=g.extend({},k.Defaults,n);k._id=n.id||a.id();k._text=k._name="";k._width=k._height=0;k._aria={role:n.role};this._elmCache={};m=n.classes;if(m){m=m.split(" ");m.map={};l=m.length;while(l--){m.map[m[l]]=true}}k._classes=m||[];k.visible(true);g.each("title text width height name classes visible disabled active value".split(" "),function(o){var q=n[o],p;if(q!==p){k[o](q)}else{if(k["_"+o]===p){k["_"+o]=false}}});k.on("click",function(){if(k.disabled()){return false}});if(n.classes){g.each(n.classes.split(" "),function(o){k.addClass(o)})}k.settings=n;k._borderBox=k.parseBox(n.border);k._paddingBox=k.parseBox(n.padding);k._marginBox=k.parseBox(n.margin);if(n.hidden){k.hide()}},Properties:"parent,title,text,width,height,disabled,active,name,value",Methods:"renderHtml",getContainerElm:function(){return document.body},getParentCtrl:function(m){var k,l=this.getRoot().controlIdLookup;while(m&&l){k=l[m.id];if(k){break}m=m.parentNode}return k},parseBox:function(m){var k,l=10;if(!m){return}if(typeof m==="number"){m=m||0;return{top:m,left:m,bottom:m,right:m}}m=m.split(" ");k=m.length;if(k===1){m[1]=m[2]=m[3]=m[0]}else{if(k===2){m[2]=m[0];m[3]=m[1]}else{if(k===3){m[3]=m[1]}}}return{top:parseInt(m[0],l)||0,right:parseInt(m[1],l)||0,bottom:parseInt(m[2],l)||0,left:parseInt(m[3],l)||0}},borderBox:function(){return this._borderBox},paddingBox:function(){return this._paddingBox},marginBox:function(){return this._marginBox},measureBox:function(n,l){function k(o){var p=document.defaultView;if(p){o=o.replace(/[A-Z]/g,function(q){return"-"+q});return p.getComputedStyle(n,null).getPropertyValue(o)}return n.currentStyle[o]}function m(o){var p=parseFloat(k(o),10);return isNaN(p)?0:p}return{top:m(l+"TopWidth"),right:m(l+"RightWidth"),bottom:m(l+"BottomWidth"),left:m(l+"LeftWidth")}},initLayoutRect:function(){var A=this,s=A.settings,n,w;var u=A.getEl(),r,y,o,x,q;var k,m,z;n=A._borderBox=A._borderBox||A.measureBox(u,"border");A._paddingBox=A._paddingBox||A.measureBox(u,"padding");A._marginBox=A._marginBox||A.measureBox(u,"margin");z=a.getSize(u);k=s.minWidth;m=s.minHeight;o=k||z.width;x=m||z.height;r=s.width;y=s.height;q=s.autoResize;q=typeof q!="undefined"?q:!r&&!y;r=r||o;y=y||x;var t=n.left+n.right;var l=n.top+n.bottom;var p=s.maxWidth||65535;var v=s.maxHeight||65535;A._layoutRect=w={x:s.x||0,y:s.y||0,w:r,h:y,deltaW:t,deltaH:l,contentW:r-t,contentH:y-l,innerW:r-t,innerH:y-l,startMinWidth:k||0,startMinHeight:m||0,minW:Math.min(o,p),minH:Math.min(x,v),maxW:p,maxH:v,autoResize:q,scrollW:0};A._lastLayoutRect={};return w},layoutRect:function(l){var r=this,n=r._layoutRect,q,s,p,o,k,m;if(!n){n=r.initLayoutRect()}if(l){p=n.deltaW;o=n.deltaH;if(l.x!==k){n.x=l.x}if(l.y!==k){n.y=l.y}if(l.minW!==k){n.minW=l.minW}if(l.minH!==k){n.minH=l.minH}s=l.w;if(s!==k){s=s<n.minW?n.minW:s;s=s>n.maxW?n.maxW:s;n.w=s;n.innerW=s-p}s=l.h;if(s!==k){s=s<n.minH?n.minH:s;s=s>n.maxH?n.maxH:s;n.h=s;n.innerH=s-o}s=l.innerW;if(s!==k){s=s<n.minW-p?n.minW-p:s;s=s>n.maxW-p?n.maxW-p:s;n.innerW=s;n.w=s+p}s=l.innerH;if(s!==k){s=s<n.minH-o?n.minH-o:s;s=s>n.maxH-o?n.maxH-o:s;n.innerH=s;n.h=s+o}if(l.contentW!==k){n.contentW=l.contentW}if(l.contentH!==k){n.contentH=l.contentH}q=r._lastLayoutRect;if(q.x!==n.x||q.y!==n.y||q.w!==n.w||q.h!==n.h){m=c.repaintControls;if(m){if(m.map&&!m.map[r._id]){m.push(r);m.map[r._id]=true}}q.x=n.x;q.y=n.y;q.w=n.w;q.h=n.h}return r}return n},repaint:function(){var s=this,l,n,o,k,q=0,m=0,p,r;r=!document.createRange?Math.round:function(t){return t};l=s.getEl().style;o=s._layoutRect;p=s._lastRepaintRect||{};k=s._borderBox;q=k.left+k.right;m=k.top+k.bottom;if(o.x!==p.x){l.left=r(o.x)+"px";p.x=o.x}if(o.y!==p.y){l.top=r(o.y)+"px";p.y=o.y}if(o.w!==p.w){l.width=r(o.w-q)+"px";p.w=o.w}if(o.h!==p.h){l.height=r(o.h-m)+"px";p.h=o.h}if(s._hasBody&&o.innerW!==p.innerW){n=s.getEl("body").style;n.width=r(o.innerW)+"px";p.innerW=o.innerW}if(s._hasBody&&o.innerH!==p.innerH){n=n||s.getEl("body").style;n.height=r(o.innerH)+"px";p.innerH=o.innerH}s._lastRepaintRect=p;s.fire("repaint",{},false)},on:function(m,n){var l=this;function k(o){var q,p;if(typeof o!="string"){return o}return function(r){if(!q){l.parentsAndSelf().each(function(t){var s=t.settings.callbacks;if(s&&(q=s[o])){p=t;return false}})}return q.call(p,r)}}i(l).on(m,k(n));return l},off:function(k,l){i(this).off(k,l);return this},fire:function(n,m,k){var l=this;m=m||{};if(!m.control){m.control=l}m=i(l).fire(n,m);if(k!==false&&l.parent){var o=l.parent();while(o&&!m.isPropagationStopped()){o.fire(n,m,false);o=o.parent()}}return m},hasEventListeners:function(k){return i(this).has(k)},parents:function(k){var l=this,n,m=new h();for(n=l.parent();n;n=n.parent()){m.add(n)}if(k){m=m.filter(k)}return m},parentsAndSelf:function(k){return new h(this).add(this.parents(k))},next:function(){var k=this.parent().items();return k[k.indexOf(this)+1]},prev:function(){var k=this.parent().items();return k[k.indexOf(this)-1]},findCommonAncestor:function(k,m){var l;while(k){l=m;while(l&&k!=l){l=l.parent()}if(k==l){break}k=k.parent()}return k},hasClass:function(k,m){var l=this._classes[m||"control"];k=this.classPrefix+k;return l&&!!l.map[k]},addClass:function(k,n){var l=this,m,o;k=this.classPrefix+k;m=l._classes[n||"control"];if(!m){m=[];m.map={};l._classes[n||"control"]=m}if(!m.map[k]){m.map[k]=k;m.push(k);if(l._rendered){o=l.getEl(n);if(o){o.className=m.join(" ")}}}return l},removeClass:function(k,o){var l=this,n,m,p;k=this.classPrefix+k;n=l._classes[o||"control"];if(n&&n.map[k]){delete n.map[k];m=n.length;while(m--){if(n[m]===k){n.splice(m,1)}}}if(l._rendered){p=l.getEl(o);if(p){p.className=n.join(" ")}}return l},toggleClass:function(k,m,n){var l=this;if(m){l.addClass(k,n)}else{l.removeClass(k,n)}return l},classes:function(l){var k=this._classes[l||"control"];return k?k.join(" "):""},innerHtml:function(k){a.innerHtml(this.getEl(),k);return this},getEl:function(k){var l=k?this._id+"-"+k:this._id;if(!this._elmCache[l]){this._elmCache[l]=a.get(l)}return this._elmCache[l]},visible:function(m){var l=this,k;if(typeof m!=="undefined"){if(l._visible!==m){if(l._rendered){l.getEl().style.display=m?"":"none"}l._visible=m;k=l.parent();if(k){k._lastRect=null}l.fire(m?"show":"hide")}return l}return l._visible},show:function(){return this.visible(true)},hide:function(){return this.visible(false)},focus:function(){try{this.getEl().focus()}catch(k){}return this},blur:function(){this.getEl().blur();return this},aria:function(l,m){var k=this,n=k.getEl(k.ariaTarget);if(typeof m==="undefined"){return k._aria[l]}else{k._aria[l]=m}if(k._rendered){n.setAttribute(l=="role"?l:"aria-"+l,m)}return k},encode:function(l,k){if(k!==false){l=this.translate(l)}return(l||"").replace(/[&<>"]/g,function(m){return"&#"+m.charCodeAt(0)+";"})},translate:function(k){return c.translate?c.translate(k):k},before:function(l){var k=this,m=k.parent();if(m){m.insert(l,m.items().indexOf(k),true)}return k},after:function(l){var k=this,m=k.parent();if(m){m.insert(l,m.items().indexOf(k))}return k},remove:function(){var l=this,q=l.getEl(),o=l.parent(),m,n;if(l.items){var k=l.items().toArray();n=k.length;while(n--){k[n].remove()}}if(o&&o.items){m=[];o.items().each(function(r){if(r!==l){m.push(r)}});o.items().set(m);o._lastRect=null}if(l._eventsRoot&&l._eventsRoot==l){a.off(q)}var p=l.getRoot().controlIdLookup;if(p){delete p[l._id]}if(q&&q.parentNode){q.parentNode.removeChild(q)}l._rendered=false;return l},renderBefore:function(l){var k=this;l.parentNode.insertBefore(a.createFragment(k.renderHtml()),l);k.postRender();return k},renderTo:function(l){var k=this;l=l||k.getContainerElm();l.appendChild(a.createFragment(k.renderHtml()));k.postRender();return k},postRender:function(){var s=this,l=s.settings,n,m,q,k,p;for(k in l){if(k.indexOf("on")===0){s.on(k.substr(2),l[k])}}if(s._eventsRoot){for(q=s.parent();!p&&q;q=q.parent()){p=q._eventsRoot}if(p){for(k in p._nativeEvents){s._nativeEvents[k]=true}}}s.bindPendingEvents();if(l.style){n=s.getEl();if(n){n.setAttribute("style",l.style);n.style.cssText=l.style}}if(!s._visible){a.css(s.getEl(),"display","none")}if(s.settings.border){m=s.borderBox();a.css(s.getEl(),{"border-top-width":m.top,"border-right-width":m.right,"border-bottom-width":m.bottom,"border-left-width":m.left})}var o=s.getRoot();if(!o.controlIdLookup){o.controlIdLookup={}}o.controlIdLookup[s._id]=s;for(var r in s._aria){s.aria(r,s._aria[r])}s.fire("postrender",{},false)},scrollIntoView:function(m){function u(B,z){var v,A,w=B;v=A=0;while(w&&w!=z&&w.nodeType){v+=w.offsetLeft||0;A+=w.offsetTop||0;w=w.offsetParent}return{x:v,y:A}}var o=this.getEl(),n=o.parentNode;var r,q,k,t,s,l;var p=u(o,n);r=p.x;q=p.y;k=o.offsetWidth;t=o.offsetHeight;s=n.clientWidth;l=n.clientHeight;if(m=="end"){r-=s-k;q-=l-t}else{if(m=="center"){r-=(s/2)-(k/2);q-=(l/2)-(t/2)}}n.scrollLeft=r;n.scrollTop=q;return this},bindPendingEvents:function(){var w=this,q,o,u,n,s,m;function t(x){var l=w.getParentCtrl(x.target);if(l){l.fire(x.type,x)}}function p(){var l=n._lastHoverCtrl;if(l){l.fire("mouseleave",{target:l.getEl()});l.parents().each(function(x){x.fire("mouseleave",{target:x.getEl()})});n._lastHoverCtrl=null}}function v(B){var A=w.getParentCtrl(B.target),z=n._lastHoverCtrl,l=0,y,x,C;if(A!==z){n._lastHoverCtrl=A;x=A.parents().toArray().reverse();x.push(A);if(z){C=z.parents().toArray().reverse();C.push(z);for(l=0;l<C.length;l++){if(x[l]!==C[l]){break}}for(y=C.length-1;y>=l;y--){z=C[y];z.fire("mouseleave",{target:z.getEl()})}}for(y=l;y<x.length;y++){A=x[y];A.fire("mouseenter",{target:A.getEl()})}}}function k(l){l.preventDefault();if(l.type=="mousewheel"){l.deltaY=-1/40*l.wheelDelta;if(l.wheelDeltaX){l.deltaX=-1/40*l.wheelDeltaX}}else{l.deltaX=0;l.deltaY=l.detail}l=w.fire("wheel",l)}w._rendered=true;s=w._nativeEvents;if(s){u=w.parents().toArray();u.unshift(w);for(q=0,o=u.length;!n&&q<o;q++){n=u[q]._eventsRoot}if(!n){n=u[u.length-1]||w}w._eventsRoot=n;for(o=q,q=0;q<o;q++){u[q]._eventsRoot=n}var r=n._delegates;if(!r){r=n._delegates={}}for(m in s){if(!s){return false}if(m==="wheel"&&!f){if(d){a.on(w.getEl(),"mousewheel",k)}else{a.on(w.getEl(),"DOMMouseScroll",k)}continue}if(m==="mouseenter"||m==="mouseleave"){if(!n._hasMouseEnter){a.on(n.getEl(),"mouseleave",p);a.on(n.getEl(),"mouseover",v);n._hasMouseEnter=1}}else{if(!r[m]){a.on(n.getEl(),m,t);r[m]=true}}s[m]=false}}},getRoot:function(){var n=this,m,k=[];while(n){if(n.rootControl){m=n.rootControl;break}k.push(n);m=n;n=n.parent()}if(!m){m=this}var l=k.length;while(l--){k[l].rootControl=m}return m},reflow:function(){this.repaint();return this}});return c});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/DomUtils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/DomUtils",["tinymce/util/Tools","tinymce/dom/DOMUtils"],function(a,c){var b=0;return{id:function(){return"mceu_"+(b++)},createFragment:function(d){return c.DOM.createFragment(d)},getWindowSize:function(){return c.DOM.getViewPort()},getSize:function(g){var e,d;if(g.getBoundingClientRect){var f=g.getBoundingClientRect();e=Math.max(f.width||(f.right-f.left),g.offsetWidth);d=Math.max(f.height||(f.bottom-f.bottom),g.offsetHeight)}else{e=g.offsetWidth;d=g.offsetHeight}return{width:e,height:d}},getPos:function(e,d){return c.DOM.getPos(e,d)},getViewPort:function(d){return c.DOM.getViewPort(d)},get:function(d){return document.getElementById(d)},addClass:function(e,d){return c.DOM.addClass(e,d)},removeClass:function(e,d){return c.DOM.removeClass(e,d)},hasClass:function(e,d){return c.DOM.hasClass(e,d)},toggleClass:function(f,d,e){return c.DOM.toggleClass(f,d,e)},css:function(f,d,e){return c.DOM.setStyle(f,d,e)},getRuntimeStyle:function(e,d){return c.DOM.getStyle(e,d,true)},on:function(f,d,g,e){return c.DOM.bind(f,d,g,e)},off:function(e,d,f){return c.DOM.unbind(e,d,f)},fire:function(f,e,d){return c.DOM.fire(f,e,d)},innerHtml:function(e,d){c.DOM.setHTML(e,d)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/DragHelper.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/DragHelper",["tinymce/ui/DomUtils"],function(a){function b(){var j=document,k,f,d,i;var g,l,e,c,h=Math.max;k=j.documentElement;f=j.body;d=h(k.scrollWidth,f.scrollWidth);i=h(k.clientWidth,f.clientWidth);g=h(k.offsetWidth,f.offsetWidth);l=h(k.scrollHeight,f.scrollHeight);e=h(k.clientHeight,f.clientHeight);c=h(k.offsetHeight,f.offsetHeight);return{width:d<g?i:d,height:l<c?e:l}}return function(d,f){var m,l=document,c,e,k,i,h,g;f=f||{};function j(){return l.getElementById(f.handle||d)}e=function(o){var q=b(),n,p;o.preventDefault();c=o.button;n=j();h=o.screenX;g=o.screenY;if(window.getComputedStyle){p=window.getComputedStyle(n,null).getPropertyValue("cursor")}else{p=n.runtimeStyle.cursor}m=l.createElement("div");a.css(m,{position:"absolute",top:0,left:0,width:q.width,height:q.height,zIndex:2147483647,opacity:0.0001,cursor:p});l.body.appendChild(m);a.on(l,"mousemove",i);a.on(l,"mouseup",k);f.start(o)};i=function(n){if(n.button!==c){return k(n)}n.deltaX=n.screenX-h;n.deltaY=n.screenY-g;n.preventDefault();f.drag(n)};k=function(n){a.off(l,"mousemove",i);a.off(l,"mouseup",k);m.parentNode.removeChild(m);if(f.stop){f.stop(n)}};this.destroy=function(){a.off(j())};a.on(j(),"mousedown",e)}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ElementPath.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ElementPath",["tinymce/ui/Path","tinymce/EditorManager"],function(b,a){return b.extend({postRender:function(){var c=this,e=a.activeEditor;function d(f){if(f.nodeType===1){if(f.nodeName=="BR"||!!f.getAttribute("data-mce-bogus")){return true}if(f.getAttribute("data-mce-type")==="bookmark"){return true}}return false}if(e.settings.elementpath!==false){c.on("select",function(f){e.focus();e.selection.select(this.data()[f.index].element);e.nodeChanged()});e.on("nodeChange",function(k){var f=[],h=k.parents,j=h.length;while(j--){if(h[j].nodeType==1&&!d(h[j])){var g=e.fire("ResolveName",{name:h[j].nodeName.toLowerCase(),target:h[j]});if(!g.isDefaultPrevented()){f.push({name:g.name,element:h[j]})}if(g.isPropagationStopped()){break}}}c.data(f)})}return c._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Factory.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Factory",[],function(){var a={},b;return{add:function(c,d){a[c.toLowerCase()]=d},has:function(c){return !!a[c.toLowerCase()]},create:function(g,f){var c,d,e;if(!b){e=tinymce.ui;for(d in e){a[d.toLowerCase()]=e[d]}b=true}if(typeof g=="string"){f=f||{};f.type=g}else{f=g;g=f.type}g=g.toLowerCase();c=a[g];if(!c){throw new Error("Could not find control by type: "+g)}c=new c(f);c.type=g;return c}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FieldSet.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FieldSet",["tinymce/ui/Form"],function(a){return a.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var b=this,c=b._layout,d=b.classPrefix;b.preRender();c.preRender(b);return('<fieldset id="'+b._id+'" class="'+b.classes()+'" hidefocus="1" tabindex="-1">'+(b.settings.title?('<legend id="'+b._id+'-title" class="'+d+'fieldset-title">'+b.settings.title+"</legend>"):"")+'<div id="'+b._id+'-body" class="'+b.classes("body")+'">'+(b.settings.html||"")+c.renderHtml(b)+"</div></fieldset>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FilePicker.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FilePicker",["tinymce/ui/ComboBox","tinymce/util/Tools"],function(b,a){return b.extend({init:function(g){var e=this,f=tinymce.activeEditor,d=f.settings;var c,i,h;g.spellcheck=false;h=d.file_picker_types||d.file_browser_callback_types;if(h){h=a.makeMap(h,/[, ]/)}if(!h||h[g.filetype]){i=d.file_picker_callback;if(i&&(!h||h[g.filetype])){c=function(){var j=e.fire("beforecall").meta;j=a.extend({filetype:g.filetype},j);i.call(f,function(k,l){e.value(k).fire("change",{meta:l})},e.value(),j)}}else{i=d.file_browser_callback;if(i&&(!h||h[g.filetype])){c=function(){i(e.getEl("inp").id,e.value(),g.filetype,window)}}}}if(c){g.icon="browse";g.onaction=c}e._super(g)}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FitLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FitLayout",["tinymce/ui/AbsoluteLayout"],function(a){return a.extend({recalc:function(c){var b=c.layoutRect(),d=c.paddingBox();c.items().filter(":visible").each(function(e){e.layoutRect({x:d.left,y:d.top,w:b.innerW-d.right-d.left,h:b.innerH-d.top-d.bottom});if(e.recalc){e.recalc()}})}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FlexLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FlexLayout",["tinymce/ui/AbsoluteLayout"],function(a){return a.extend({recalc:function(E){var Q,L,r,O,m,u,K,p,d,R,e,n;var M,c,f,h,k=[],j,x,I,B,C,P;var H,w,o,g,T,F,q,G;var y,b,v,J,A,N;var D,z;var s=Math.max,S=Math.min;r=E.items().filter(":visible");O=E.layoutRect();m=E._paddingBox;u=E.settings;n=E.isRtl()?(u.direction||"row-reversed"):u.direction;K=u.align;p=E.isRtl()?(u.pack||"end"):u.pack;d=u.spacing||0;if(n=="row-reversed"||n=="column-reverse"){r=r.set(r.toArray().reverse());n=n.split("-")[0]}if(n=="column"){o="y";H="h";w="minH";g="maxH";F="innerH";T="top";q="deltaH";G="contentH";A="left";v="w";y="x";b="innerW";J="minW";N="right";D="deltaW";z="contentW"}else{o="x";H="w";w="minW";g="maxW";F="innerW";T="left";q="deltaW";G="contentW";A="top";v="h";y="y";b="innerH";J="minH";N="bottom";D="deltaH";z="contentH"}e=O[F]-m[T]-m[T];P=R=0;for(Q=0,L=r.length;Q<L;Q++){M=r[Q];c=M.layoutRect();f=M.settings;h=f.flex;e-=(Q<L-1?d:0);if(h>0){R+=h;if(c[g]){k.push(M)}c.flex=h}e-=c[w];j=m[A]+c[J]+m[N];if(j>P){P=j}}B={};if(e<0){B[w]=O[w]-e+O[q]}else{B[w]=O[F]-e+O[q]}B[J]=P+O[D];B[G]=O[F]-e;B[z]=P;B.minW=S(B.minW,O.maxW);B.minH=S(B.minH,O.maxH);B.minW=s(B.minW,O.startMinWidth);B.minH=s(B.minH,O.startMinHeight);if(O.autoResize&&(B.minW!=O.minW||B.minH!=O.minH)){B.w=B.minW;B.h=B.minH;E.layoutRect(B);this.recalc(E);if(E._lastRect===null){var t=E.parent();if(t){t._lastRect=null;t.recalc()}}return}I=e/R;for(Q=0,L=k.length;Q<L;Q++){M=k[Q];c=M.layoutRect();x=c[g];j=c[w]+c.flex*I;if(j>x){e-=(c[g]-c[w]);R-=c.flex;c.flex=0;c.maxFlexSize=x}else{c.maxFlexSize=0}}I=e/R;C=m[T];B={};if(R===0){if(p=="end"){C=e+m[T]}else{if(p=="center"){C=Math.round((O[F]/2)-((O[F]-e)/2))+m[T];if(C<0){C=m[T]}}else{if(p=="justify"){C=m[T];d=Math.floor(e/(r.length-1))}}}}B[y]=m[A];for(Q=0,L=r.length;Q<L;Q++){M=r[Q];c=M.layoutRect();j=c.maxFlexSize||c[w];if(K==="center"){B[y]=Math.round((O[b]/2)-(c[v]/2))}else{if(K==="stretch"){B[v]=s(c[J]||0,O[b]-m[A]-m[N]);B[y]=m[A]}else{if(K==="end"){B[y]=O[b]-c[v]-m.top}}}if(c.flex>0){j+=c.flex*I}B[H]=j;B[o]=C;M.layoutRect(B);if(M.recalc){M.recalc()}C+=j+d}}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FloatPanel.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FloatPanel",["tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/DomUtils"],function(o,l,c,a){var i,d,b,p=[];var g=[],q;function m(){function r(t,s){while(t){if(t==s){return true}t=t.parent()}}if(!i){i=function(v){if(v.button==2){return}var u=p.length;while(u--){var t=p[u],s=t.getParentCtrl(v.target);if(t.settings.autohide){if(s){if(r(s,t)||t.parent()===s){continue}}v=t.fire("autohide",{target:v.target});if(!v.isDefaultPrevented()){t.hide()}}}};a.on(document,"click",i)}}function f(){if(!d){d=function(){var r;r=p.length;while(r--){h(p[r])}};a.on(window,"scroll",d)}}function e(){if(!b){var s=document.documentElement,t=s.clientWidth,r=s.clientHeight;b=function(){if(!document.all||t!=s.clientWidth||r!=s.clientHeight){t=s.clientWidth;r=s.clientHeight;j.hideAll()}};a.on(window,"resize",b)}}function h(r){var s=a.getViewPort().y;function t(x,u){var w;for(var v=0;v<p.length;v++){if(p[v]!=r){w=p[v].parent();while(w&&(w=w.parent())){if(w==r){p[v].fixed(x).moveBy(0,u).repaint()}}}}}if(r.settings.autofix){if(!r._fixed){r._autoFixY=r.layoutRect().y;if(r._autoFixY<s){r.fixed(true).layoutRect({y:0}).repaint();t(true,s-r._autoFixY)}}else{if(r._autoFixY>s){r.fixed(false).layoutRect({y:r._autoFixY}).repaint();t(false,r._autoFixY-s)}}}}function n(v,t){var r,w=j.zIndex||65535,s;if(v){g.push(t)}else{r=g.length;while(r--){if(g[r]===t){g.splice(r,1)}}}if(g.length){for(r=0;r<g.length;r++){if(g[r].modal){w++;s=g[r]}g[r].getEl().style.zIndex=w;g[r].zIndex=w;w++}}var u=document.getElementById(t.classPrefix+"modal-block");if(s){a.css(u,"z-index",s.zIndex-1)}else{if(u){u.parentNode.removeChild(u);q=false}}j.currentZIndex=w}var j=o.extend({Mixins:[l,c],init:function(s){var r=this;r._super(s);r._eventsRoot=r;r.addClass("floatpanel");if(s.autohide){m();e();p.push(r)}if(s.autofix){f();r.on("move",function(){h(this)})}r.on("postrender show",function(v){if(v.control==r){var u,t=r.classPrefix;if(r.modal&&!q){u=a.createFragment('<div id="'+t+'modal-block" class="'+t+"reset "+t+'fade"></div>');u=u.firstChild;r.getContainerElm().appendChild(u);setTimeout(function(){a.addClass(u,t+"in");a.addClass(r.getEl(),t+"in")},0);q=true}n(true,r)}});r.on("show",function(){r.parents().each(function(t){if(t._fixed){r.fixed(true);return false}})});if(s.popover){r._preBodyHtml='<div class="'+r.classPrefix+'arrow"></div>';r.addClass("popover").addClass("bottom").addClass(r.isRtl()?"end":"start")}},fixed:function(t){var s=this;if(s._fixed!=t){if(s._rendered){var r=a.getViewPort();if(t){s.layoutRect().y-=r.y}else{s.layoutRect().y+=r.y}}s.toggleClass("fixed",t);s._fixed=t}return s},show:function(){var r=this,s,t=r._super();s=p.length;while(s--){if(p[s]===r){break}}if(s===-1){p.push(r)}return t},hide:function(){k(this);n(false,this);return this._super()},hideAll:function(){j.hideAll()},close:function(){var r=this;if(!r.fire("close").isDefaultPrevented()){r.remove();n(false,r)}return r},remove:function(){k(this);this._super()},postRender:function(){var r=this;if(r.settings.bodyRole){this.getEl("body").setAttribute("role",r.settings.bodyRole)}return r._super()}});j.hideAll=function(){var s=p.length;while(s--){var r=p[s];if(r&&r.settings.autohide){r.hide();p.splice(s,1)}}};function k(r){var s;s=p.length;while(s--){if(p[s]===r){p.splice(s,1)}}s=g.length;while(s--){if(g[s]===r){g.splice(s,1)}}}return j});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FlowLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FlowLayout",["tinymce/ui/Layout"],function(a){return a.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(b){b.items().filter(":visible").each(function(c){if(c.recalc){c.recalc()}})}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Form.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Form",["tinymce/ui/Container","tinymce/ui/FormItem","tinymce/util/Tools"],function(a,c,b){return a.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,d=e.items();if(!e.settings.formItemDefaults){e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}}d.each(function(h){var g,f=h.settings.label;if(f){g=new c(b.extend({items:{type:"label",id:h._id+"-l",text:f,flex:0,forId:h._id,disabled:h.disabled()}},e.settings.formItemDefaults));g.type="formitem";h.aria("labelledby",h._id+"-l");if(typeof h.settings.flex=="undefined"){h.settings.flex=1}e.replace(h,g);g.add(h)}})},recalcLabels:function(){var e=this,h=0,j=[],f,g,d;if(e.settings.labelGapCalc===false){return}if(e.settings.labelGapCalc=="children"){d=e.find("formitem")}else{d=e.items()}d.filter("formitem").each(function(l){var k=l.items()[0],i=k.getEl().clientWidth;h=i>h?i:h;j.push(k)});g=e.settings.labelGap||0;f=j.length;while(f--){j[f].settings.minWidth=h+g}},visible:function(d){var e=this._super(d);if(d===true&&this._rendered){this.recalcLabels()}return e},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var d=this;d._super();d.recalcLabels();d.fromJSON(d.settings.data)}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FormItem.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FormItem",["tinymce/ui/Container"],function(a){return a.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var b=this,c=b._layout,d=b.classPrefix;b.addClass("formitem");c.preRender(b);return('<div id="'+b._id+'" class="'+b.classes()+'" hidefocus="1" tabindex="-1">'+(b.settings.title?('<div id="'+b._id+'-title" class="'+d+'title">'+b.settings.title+"</div>"):"")+'<div id="'+b._id+'-body" class="'+b.classes("body")+'">'+(b.settings.html||"")+c.renderHtml(b)+"</div></div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/FormatControls.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/FormatControls",["tinymce/ui/Control","tinymce/ui/Widget","tinymce/ui/FloatPanel","tinymce/util/Tools","tinymce/EditorManager","tinymce/Env"],function(f,e,h,b,d,a){var g=b.each;d.on("AddEditor",function(i){if(i.editor.rtl){f.rtl=true}c(i.editor)});f.translate=function(i){return d.translate(i)};e.tooltips=!a.iOS;function c(n){var i;function o(q,r){return function(){var s=this;n.on("nodeChange",function(v){var t=n.formatter;var u=null;g(v.parents,function(w){g(q,function(x){if(r){if(t.matchNode(w,r,{value:x.value})){u=x.value}}else{if(t.matchNode(w,x.value)){u=x.value}}if(u){return false}});if(u){return false}});s.value(u)})}}function l(q){q=q.replace(/;$/,"").split(";");var r=q.length;while(r--){q[r]=q[r].split("=")}return q}function k(){var u=0,t=[];var s=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];function q(v){var w=[];if(!v){return}g(v,function(z){var y={text:z.title,icon:z.icon};if(z.items){y.menu=q(z.items)}else{var x=z.format||"custom"+u++;if(!z.format){z.name=x;t.push(z)}y.format=x;y.cmd=z.cmd}w.push(y)});return w}function r(){var v;if(n.settings.style_formats_merge){if(n.settings.style_formats){v=q(s.concat(n.settings.style_formats))}else{v=q(s)}}else{v=q(n.settings.style_formats||s)}return v}n.on("init",function(){g(t,function(v){n.formatter.register(v.name,v)})});return{type:"menu",items:r(),onPostRender:function(v){n.fire("renderFormatsMenu",{control:v.control})},itemDefaults:{preview:true,textStyle:function(){if(this.settings.format){return n.formatter.getCssText(this.settings.format)}},onPostRender:function(){var v=this;v.parent().on("show",function(){var w,x;w=v.settings.format;if(w){v.disabled(!n.formatter.canApply(w));v.active(n.formatter.match(w))}x=v.settings.cmd;if(x){v.active(n.queryCommandState(x))}})},onclick:function(){if(this.settings.format){j(this.settings.format)}if(this.settings.cmd){n.execCommand(this.settings.cmd)}}}}}i=k();g({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(r,q){n.addButton(q,{tooltip:r,onPostRender:function(){var s=this;if(n.formatter){n.formatter.formatChanged(q,function(t){s.active(t)})}else{n.on("init",function(){n.formatter.formatChanged(q,function(t){s.active(t)})})}},onclick:function(){j(q)}})});g({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(r,q){n.addButton(q,{tooltip:r[0],cmd:r[1]})});g({blockquote:["Blockquote","mceBlockQuote"],numlist:["Numbered list","InsertOrderedList"],bullist:["Bullet list","InsertUnorderedList"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"]},function(r,q){n.addButton(q,{tooltip:r[0],cmd:r[1],onPostRender:function(){var s=this;if(n.formatter){n.formatter.formatChanged(q,function(t){s.active(t)})}else{n.on("init",function(){n.formatter.formatChanged(q,function(t){s.active(t)})})}}})});function m(q){return function(){var r=this;q=q=="redo"?"hasRedo":"hasUndo";function s(){return n.undoManager?n.undoManager[q]():false}r.disabled(!s());n.on("Undo Redo AddUndo TypingUndo ClearUndos",function(){r.disabled(!s())})}}function p(){var q=this;n.on("VisualAid",function(r){q.active(r.hasVisual)});q.active(n.hasVisual)}n.addButton("undo",{tooltip:"Undo",onPostRender:m("undo"),cmd:"undo"});n.addButton("redo",{tooltip:"Redo",onPostRender:m("redo"),cmd:"redo"});n.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"});n.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:m("undo"),cmd:"undo"});n.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:m("redo"),cmd:"redo"});n.addMenuItem("visualaid",{text:"Visual aids",selectable:true,onPostRender:p,cmd:"mceToggleVisualAid"});g({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(r,q){n.addMenuItem(q,{text:r[0],icon:q,shortcut:r[2],cmd:r[1]})});n.on("mousedown",function(){h.hideAll()});function j(q){if(q.control){q=q.control.value()}if(q){n.execCommand("mceToggleFormat",false,q)}}n.addButton("styleselect",{type:"menubutton",text:"Formats",menu:i});n.addButton("formatselect",function(){var q=[],r=l(n.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");g(r,function(s){q.push({text:s[0],value:s[1],textStyle:function(){return n.formatter.getCssText(s[1])}})});return{type:"listbox",text:r[0][0],values:q,fixedWidth:true,onselect:j,onPostRender:o(q)}});n.addButton("fontselect",function(){var r="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats";var q=[],s=l(n.settings.font_formats||r);g(s,function(t){q.push({text:{raw:t[0]},value:t[1],textStyle:t[1].indexOf("dings")==-1?"font-family:"+t[1]:""})});return{type:"listbox",text:"Font Family",tooltip:"Font Family",values:q,fixedWidth:true,onPostRender:o(q,"fontname"),onselect:function(t){if(t.control.settings.value){n.execCommand("FontName",false,t.control.settings.value)}}}});n.addButton("fontsizeselect",function(){var q=[],s="8pt 10pt 12pt 14pt 18pt 24pt 36pt";var r=n.settings.fontsize_formats||s;g(r.split(" "),function(u){var w=u,v=u;var t=u.split("=");if(t.length>1){w=t[0];v=t[1]}q.push({text:w,value:v})});return{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:q,fixedWidth:true,onPostRender:o(q,"fontsize"),onclick:function(t){if(t.control.settings.value){n.execCommand("FontSize",false,t.control.settings.value)}}}});n.addMenuItem("formats",{text:"Formats",menu:i})}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/GridLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/GridLayout",["tinymce/ui/AbsoluteLayout"],function(a){return a.extend({recalc:function(v){var L=v.settings,K,n,o,H,c,g,t,f,G,C,B,z,w,i,k,F,l,h,e,I,q,p,E=[],b=[],r,M,j,m,A,N;L=v.settings;o=v.items().filter(":visible");H=v.layoutRect();n=L.columns||Math.ceil(Math.sqrt(o.length));K=Math.ceil(o.length/n);l=L.spacingH||L.spacing||0;h=L.spacingV||L.spacing||0;e=L.alignH||L.align;I=L.alignV||L.align;k=v._paddingBox;A="reverseRows" in L?L.reverseRows:v.isRtl();if(e&&typeof e=="string"){e=[e]}if(I&&typeof I=="string"){I=[I]}for(C=0;C<n;C++){E.push(0)}for(B=0;B<K;B++){b.push(0)}for(B=0;B<K;B++){for(C=0;C<n;C++){G=o[B*n+C];if(!G){break}f=G.layoutRect();r=f.minW;M=f.minH;E[C]=r>E[C]?r:E[C];b[B]=M>b[B]?M:b[B]}}j=H.innerW-k.left-k.right;for(q=0,C=0;C<n;C++){q+=E[C]+(C>0?l:0);j-=(C>0?l:0)+E[C]}m=H.innerH-k.top-k.bottom;for(p=0,B=0;B<K;B++){p+=b[B]+(B>0?h:0);m-=(B>0?h:0)+b[B]}q+=k.left+k.right;p+=k.top+k.bottom;t={};t.minW=q+(H.w-H.innerW);t.minH=p+(H.h-H.innerH);t.contentW=t.minW-H.deltaW;t.contentH=t.minH-H.deltaH;t.minW=Math.min(t.minW,H.maxW);t.minH=Math.min(t.minH,H.maxH);t.minW=Math.max(t.minW,H.startMinWidth);t.minH=Math.max(t.minH,H.startMinHeight);if(H.autoResize&&(t.minW!=H.minW||t.minH!=H.minH)){t.w=t.minW;t.h=t.minH;v.layoutRect(t);this.recalc(v);if(v._lastRect===null){var s=v.parent();if(s){s._lastRect=null;s.recalc()}}return}if(H.autoResize){t=v.layoutRect(t);t.contentW=t.minW-H.deltaW;t.contentH=t.minH-H.deltaH}var u;if(L.packV=="start"){u=0}else{u=m>0?Math.floor(m/K):0}var J=0;var d=L.flexWidths;if(d){for(C=0;C<d.length;C++){J+=d[C]}}else{J=n}var D=j/J;for(C=0;C<n;C++){E[C]+=d?d[C]*D:D}w=k.top;for(B=0;B<K;B++){z=k.left;g=b[B]+u;for(C=0;C<n;C++){if(A){N=B*n+n-1-C}else{N=B*n+C}G=o[N];if(!G){break}i=G.settings;f=G.layoutRect();c=Math.max(E[C],f.startMinWidth);f.x=z;f.y=w;F=i.alignH||(e?(e[C]||e[0]):null);if(F=="center"){f.x=z+(c/2)-(f.w/2)}else{if(F=="right"){f.x=z+c-f.w}else{if(F=="stretch"){f.w=c}}}F=i.alignV||(I?(I[C]||I[0]):null);if(F=="center"){f.y=w+(g/2)-(f.h/2)}else{if(F=="bottom"){f.y=w+g-f.h}else{if(F=="stretch"){f.h=g}}}G.layoutRect(f);z+=c+l;if(G.recalc){G.recalc()}}w+=g+h}}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Iframe.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Iframe",["tinymce/ui/Widget"],function(a){return a.extend({renderHtml:function(){var b=this;b.addClass("iframe");b.canFocus=false;return('<iframe id="'+b._id+'" class="'+b.classes()+'" tabindex="-1" src="'+(b.settings.url||"javascript:''")+'" frameborder="0"></iframe>')},src:function(b){this.getEl().src=b},html:function(d,e){var c=this,b=this.getEl().contentWindow.document.body;if(!b){setTimeout(function(){c.html(d)},0)}else{b.innerHTML=d;if(e){e()}}return this}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/KeyboardNavigation.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/KeyboardNavigation",[],function(){return function(s){var o=s.root,a,h;try{a=document.activeElement}catch(r){a=document.body}h=o.getParentCtrl(a);function l(w){w=w||a;return w&&w.getAttribute("role")}function v(y){var x,w=y||a;while((w=w.parentNode)){if((x=l(w))){return x}}}function n(w){var x=a;if(x){return x.getAttribute("aria-"+w)}}function m(x){var w=x.tagName.toUpperCase();return w=="INPUT"||w=="TEXTAREA"}function b(w){if(m(w)&&!w.hidden){return true}if(/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell)$/.test(l(w))){return true}return false}function g(y){var x=[];function w(A){if(A.nodeType!=1||A.style.display=="none"){return}if(b(A)){x.push(A)}for(var z=0;z<A.childNodes.length;z++){w(A.childNodes[z])}}w(y||o.getEl());return x}function f(z){var x,w;z=z||h;w=z.parents().toArray();w.unshift(z);for(var y=0;y<w.length;y++){x=w[y];if(x.settings.ariaRoot){break}}return x}function p(y){var w=f(y);var x=g(w.getEl());if(w.settings.ariaRemember&&"lastAriaIndex" in w){j(w.lastAriaIndex,x)}else{j(0,x)}}function j(w,x){if(w<0){w=x.length-1}else{if(w>=x.length){w=0}}if(x[w]){x[w].focus()}return w}function u(y,A){var w=-1,x=f();A=A||g(x.getEl());for(var z=0;z<A.length;z++){if(A[z]===a){w=z}}w+=y;x.lastAriaIndex=j(w,A)}function e(){var w=v();if(w=="tablist"){u(-1,g(a.parentNode))}else{if(h.parent().submenu){d()}else{u(-1)}}}function t(){var x=l(),w=v();if(w=="tablist"){u(1,g(a.parentNode))}else{if(x=="menuitem"&&w=="menu"&&n("haspopup")){q()}else{u(1)}}}function i(){u(-1)}function k(){var x=l(),w=v();if(x=="menuitem"&&w=="menubar"){q()}else{if(x=="button"&&n("haspopup")){q({key:"down"})}else{u(1)}}}function c(x){var w=v();if(w=="tablist"){var y=g(h.getEl("body"))[0];if(y){y.focus()}}else{u(x.shiftKey?-1:1)}}function d(){h.fire("cancel")}function q(w){w=w||{};h.fire("click",{target:a,aria:w})}o.on("keydown",function(x){function w(z,y){if(m(a)){return}if(y(z)!==false){z.preventDefault()}}if(x.isDefaultPrevented()){return}switch(x.keyCode){case 37:w(x,e);break;case 39:w(x,t);break;case 38:w(x,i);break;case 40:w(x,k);break;case 27:d();break;case 14:case 13:case 32:w(x,q);break;case 9:if(c(x)!==false){x.preventDefault()}break}});o.on("focusin",function(w){a=w.target;h=w.control});return{focusFirst:p}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Label.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Label",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(b,a){return b.extend({init:function(d){var c=this;c._super(d);c.addClass("widget");c.addClass("label");c.canFocus=false;if(d.multiline){c.addClass("autoscroll")}if(d.strong){c.addClass("strong")}},initLayoutRect:function(){var c=this,e=c._super();if(c.settings.multiline){var d=a.getSize(c.getEl());if(d.width>e.maxW){e.minW=e.maxW;c.addClass("multiline")}c.getEl().style.width=e.minW+"px";e.startMinH=e.h=e.minH=Math.min(e.maxH,a.getSize(c.getEl()).height)}return e},repaint:function(){var c=this;if(!c.settings.multiline){c.getEl().style.lineHeight=c.layoutRect().h+"px"}return c._super()},text:function(d){var c=this;if(c._rendered&&d){this.innerHtml(c.encode(d))}return c._super(d)},renderHtml:function(){var d=this,c=d.settings.forId;return('<label id="'+d._id+'" class="'+d.classes()+'"'+(c?' for="'+c+'"':"")+">"+d.encode(d._text)+"</label>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Layout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Layout",["tinymce/util/Class","tinymce/util/Tools"],function(a,b){return a.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(c){this.settings=b.extend({},this.Defaults,c)},preRender:function(c){c.addClass(this.settings.containerClass,"body")},applyClasses:function(c){var e=this,h=e.settings,d,g,f;d=c.items().filter(":visible");g=h.firstControlClass;f=h.lastControlClass;d.each(function(i){i.removeClass(g).removeClass(f);if(h.controlClass){i.addClass(h.controlClass)}});d.eq(0).addClass(g);d.eq(-1).addClass(f)},renderHtml:function(c){var e=this,g=e.settings,d,f="";d=c.items();d.eq(0).addClass(g.firstControlClass);d.eq(-1).addClass(g.lastControlClass);d.each(function(h){if(g.controlClass){h.addClass(g.controlClass)}f+=h.renderHtml()});return f},recalc:function(){},postRender:function(){}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ListBox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ListBox",["tinymce/ui/MenuButton"],function(a){return a.extend({init:function(f){var d=this,c,e,h,b;function g(j){for(var k=0;k<j.length;k++){e=j[k].selected||f.value===j[k].value;if(e){h=h||j[k].text;d._value=j[k].value;break}if(j[k].menu){g(j[k].menu)}}}d._values=c=f.values;if(c){g(c);if(!e&&c.length>0){h=c[0].text;d._value=c[0].value}f.menu=c}f.text=f.text||h||c[0].text;d._super(f);d.addClass("listbox");d.on("select",function(j){var i=j.control;if(b){j.lastControl=b}if(f.multiple){i.active(!i.active())}else{d.value(j.control.settings.value)}b=i})},value:function(d){var b=this,e,h,g;function f(j,i){j.items().each(function(k){e=k.value()===i;if(e){h=h||k.text()}k.active(e);if(k.menu){f(k.menu,i)}})}function c(j){for(var k=0;k<j.length;k++){e=j[k].value==d;if(e){h=h||j[k].text}j[k].active=e;if(j[k].menu){c(j[k].menu)}}}if(typeof d!="undefined"){if(b.menu){f(b.menu,d)}else{g=b.settings.menu;c(g)}b.text(h||this.settings.text)}return b._super(d)}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Menu.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Menu",["tinymce/ui/FloatPanel","tinymce/ui/MenuItem","tinymce/util/Tools"],function(d,c,a){var b=d.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:true},init:function(h){var f=this;h.autohide=true;h.constrainToViewport=true;if(h.itemDefaults){var e=h.items,g=e.length;while(g--){e[g]=a.extend({},h.itemDefaults,e[g])}}f._super(h);f.addClass("menu")},repaint:function(){this.toggleClass("menu-align",true);this._super();this.getEl().style.height="";this.getEl("body").style.height="";return this},cancel:function(){var e=this;e.hideAll();e.fire("select")},hideAll:function(){var e=this;this.find("menuitem").exec("hideMenu");return e._super()},preRender:function(){var e=this;e.items().each(function(g){var f=g.settings;if(f.icon||f.selectable){e._hasIcons=true;return false}});return e._super()}});return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/MenuBar.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/MenuBar",["tinymce/ui/Toolbar"],function(a){return a.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:true,defaults:{type:"menubutton"}}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/MenuButton.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/MenuButton",["tinymce/ui/Button","tinymce/ui/Factory","tinymce/ui/MenuBar"],function(d,b,c){function a(g,f){while(g){if(f===g){return true}g=g.parentNode}return false}var e=d.extend({init:function(g){var f=this;f._renderOpen=true;f._super(g);f.addClass("menubtn");if(g.fixedWidth){f.addClass("fixed-width")}f.aria("haspopup",true);f.hasPopup=true},showMenu:function(){var f=this,g=f.settings,h;if(f.menu&&f.menu.visible()){return f.hideMenu()}if(!f.menu){h=g.menu||[];if(h.length){h={type:"menu",items:h}}else{h.type=h.type||"menu"}f.menu=b.create(h).parent(f).renderTo();f.fire("createmenu");f.menu.reflow();f.menu.on("cancel",function(i){if(i.control.parent()===f.menu){i.stopPropagation();f.focus();f.hideMenu()}});f.menu.on("select",function(){f.focus()});f.menu.on("show hide",function(i){if(i.control==f.menu){f.activeMenu(i.type=="show")}f.aria("expanded",i.type=="show")}).fire("show")}f.menu.show();f.menu.layoutRect({w:f.layoutRect().w});f.menu.moveRel(f.getEl(),f.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},hideMenu:function(){var f=this;if(f.menu){f.menu.items().each(function(g){if(g.hideMenu){g.hideMenu()}});f.menu.hide()}},activeMenu:function(f){this.toggleClass("active",f)},renderHtml:function(){var f=this,j=f._id,h=f.classPrefix;var g=f.settings.icon,i;i=f.settings.image;if(i){g="none";if(typeof i!="string"){i=window.getSelection?i[0]:i[1]}i=" style=\"background-image: url('"+i+"')\""}else{i=""}g=f.settings.icon?h+"ico "+h+"i-"+g:"";f.aria("role",f.parent() instanceof c?"menuitem":"button");return('<div id="'+j+'" class="'+f.classes()+'" tabindex="-1" aria-labelledby="'+j+'"><button id="'+j+'-open" role="presentation" type="button" tabindex="-1">'+(g?'<i class="'+g+'"'+i+"></i>":"")+"<span>"+(f._text?(g?"\u00a0":"")+f.encode(f._text):"")+'</span> <i class="'+h+'caret"></i></button></div>')},postRender:function(){var f=this;f.on("click",function(g){if(g.control===f&&a(g.target,f.getEl())){f.showMenu();if(g.aria){f.menu.items()[0].focus()}}});f.on("mouseenter",function(j){var g=j.control,i=f.parent(),h;if(g&&i&&g instanceof e&&g.parent()==i){i.items().filter("MenuButton").each(function(k){if(k.hideMenu&&k!=g){if(k.menu&&k.menu.visible()){h=true}k.hideMenu()}});if(h){g.focus();g.showMenu()}}});return f._super()},text:function(j){var f=this,h,g;if(f._rendered){g=f.getEl("open").getElementsByTagName("span");for(h=0;h<g.length;h++){g[h].innerHTML=(f.settings.icon&&j?"\u00a0":"")+f.encode(j)}}return this._super(j)},remove:function(){this._super();if(this.menu){this.menu.remove()}}});return e});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/MenuItem.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/MenuItem",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/Env"],function(c,a,b){return c.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var d=this;d.hasPopup=true;d._super(e);e=d.settings;d.addClass("menu-item");if(e.menu){d.addClass("menu-item-expand")}if(e.preview){d.addClass("menu-item-preview")}if(d._text==="-"||d._text==="|"){d.addClass("menu-item-sep");d.aria("role","separator");d._text="-"}if(e.selectable){d.aria("role","menuitemcheckbox");d.addClass("menu-item-checkbox");e.icon="selected"}if(!e.preview&&!e.selectable){d.addClass("menu-item-normal")}d.on("mousedown",function(f){f.preventDefault()});if(e.menu&&!e.ariaHideMenu){d.aria("haspopup",true)}},hasMenus:function(){return !!this.settings.menu},showMenu:function(){var e=this,g=e.settings,h,f=e.parent();f.items().each(function(i){if(i!==e){i.hideMenu()}});if(g.menu){h=e.menu;if(!h){h=g.menu;if(h.length){h={type:"menu",items:h}}else{h.type=h.type||"menu"}if(f.settings.itemDefaults){h.itemDefaults=f.settings.itemDefaults}h=e.menu=a.create(h).parent(e).renderTo();h.reflow();h.on("cancel",function(i){i.stopPropagation();e.focus();h.hide()});h.on("show hide",function(i){i.control.items().each(function(j){j.active(j.settings.selected)})}).fire("show");h.on("hide",function(i){if(i.control===h){e.removeClass("selected")}});h.submenu=true}else{h.show()}h._parentMenu=f;h.addClass("menu-sub");var d=h.testMoveRel(e.getEl(),e.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);h.moveRel(e.getEl(),d);h.rel=d;d="menu-sub-"+d;h.removeClass(h._lastRel);h.addClass(d);h._lastRel=d;e.addClass("selected");e.aria("expanded",true)}},hideMenu:function(){var d=this;if(d.menu){d.menu.items().each(function(e){if(e.hideMenu){e.hideMenu()}});d.menu.hide();d.aria("expanded",false)}return d},renderHtml:function(){var l=this,d=l._id,g=l.settings,i=l.classPrefix,k=l.encode(l._text);var j=l.settings.icon,f="",h=g.shortcut;function e(m){var o,p,n={};if(b.mac){n={alt:"⌥",ctrl:"⌘",shift:"⇧",meta:"⌘"}}else{n={meta:"Ctrl"}}m=m.split("+");for(o=0;o<m.length;o++){p=n[m[o].toLowerCase()];if(p){m[o]=p}}return m.join("+")}if(j){l.parent().addClass("menu-has-icons")}if(g.image){j="none";f=" style=\"background-image: url('"+g.image+"')\""}if(h){h=e(h)}j=i+"ico "+i+"i-"+(l.settings.icon||"none");return('<div id="'+d+'" class="'+l.classes()+'" tabindex="-1">'+(k!=="-"?'<i class="'+j+'"'+f+"></i>\u00a0":"")+(k!=="-"?'<span id="'+d+'-text" class="'+i+'text">'+k+"</span>":"")+(h?'<div id="'+d+'-shortcut" class="'+i+'menu-shortcut">'+h+"</div>":"")+(g.menu?'<div class="'+i+'caret"></div>':"")+"</div>")},postRender:function(){var e=this,f=e.settings;var g=f.textStyle;if(typeof g=="function"){g=g.call(this)}if(g){var d=e.getEl("text");if(d){d.setAttribute("style",g)}}e.on("mouseenter click",function(h){if(h.control===e){if(!f.menu&&h.type==="click"){e.fire("select");e.parent().hideAll()}else{e.showMenu();if(h.aria){e.menu.focus(true)}}}});e._super();return e},active:function(d){if(typeof d!="undefined"){this.aria("checked",d)}return this._super(d)},remove:function(){this._super();if(this.menu){this.menu.remove()}}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/MessageBox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/MessageBox",["tinymce/ui/Window"],function(b){var a=b.extend({init:function(c){c={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:true,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:true,maxWidth:500,maxHeight:200}};this._super(c)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(d){var e,f=d.callback||function(){};function c(i,g,h){return{type:"button",text:i,subtype:h?"primary":"",onClick:function(j){j.control.parents()[1].close();f(g)}}}switch(d.buttons){case a.OK_CANCEL:e=[c("Ok",true,true),c("Cancel",false)];break;case a.YES_NO:case a.YES_NO_CANCEL:e=[c("Yes",1,true),c("No",0)];if(d.buttons==a.YES_NO_CANCEL){e.push(c("Cancel",-1))}break;default:e=[c("Ok",true,true)];break}return new b({padding:20,x:d.x,y:d.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:e,title:d.title,role:"alertdialog",items:{type:"label",multiline:true,maxWidth:500,maxHeight:200,text:d.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:d.onClose,onCancel:function(){f(false)}}).renderTo(document.body).reflow()},alert:function(c,d){if(typeof c=="string"){c={text:c}}c.callback=d;return a.msgBox(c)},confirm:function(c,d){if(typeof c=="string"){c={text:c}}c.callback=d;c.buttons=a.OK_CANCEL;return a.msgBox(c)}}});return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Movable.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Movable",["tinymce/ui/DomUtils"],function(a){function b(c,k,n){var m,g,j,h,l,e,i,d,f,o;f=a.getViewPort();g=a.getPos(k);j=g.x;h=g.y;if(c._fixed&&a.getRuntimeStyle(document.body,"position")=="static"){j-=f.x;h-=f.y}m=c.getEl();o=a.getSize(m);l=o.width;e=o.height;o=a.getSize(k);i=o.width;d=o.height;n=(n||"").split("");if(n[0]==="b"){h+=d}if(n[1]==="r"){j+=i}if(n[0]==="c"){h+=Math.round(d/2)}if(n[1]==="c"){j+=Math.round(i/2)}if(n[3]==="b"){h-=e}if(n[4]==="r"){j-=l}if(n[3]==="c"){h-=Math.round(e/2)}if(n[4]==="c"){j-=Math.round(l/2)}return{x:j,y:h,w:l,h:e}}return{testMoveRel:function(g,d){var c=a.getViewPort();for(var e=0;e<d.length;e++){var f=b(this,g,d[e]);if(this._fixed){if(f.x>0&&f.x+f.w<c.w&&f.y>0&&f.y+f.h<c.h){return d[e]}}else{if(f.x>c.x&&f.x+f.w<c.w+c.x&&f.y>c.y&&f.y+f.h<c.h+c.y){return d[e]}}}return d[0]},moveRel:function(e,c){if(typeof c!="string"){c=this.testMoveRel(e,c)}var d=b(this,e,c);return this.moveTo(d.x,d.y)},moveBy:function(e,c){var d=this,f=d.layoutRect();d.moveTo(f.x+e,f.y+c);return d},moveTo:function(c,h){var e=this;function d(k,i,j){if(k<0){return 0}if(k+j>i){k=i-j;return k<0?0:k}return k}if(e.settings.constrainToViewport){var f=a.getViewPort(window);var g=e.layoutRect();c=d(c,f.w+f.x,g.w);h=d(h,f.h+f.y,g.h)}if(e._rendered){e.layoutRect({x:c,y:h}).repaint()}else{e.settings.x=c;e.settings.y=h}e.fire("move",{x:c,y:h});return e}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Panel.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Panel",["tinymce/ui/Container","tinymce/ui/Scrollable"],function(b,a){return b.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[a],renderHtml:function(){var d=this,e=d._layout,c=d.settings.html;d.preRender();e.preRender(d);if(typeof c=="undefined"){c=('<div id="'+d._id+'-body" class="'+d.classes("body")+'">'+e.renderHtml(d)+"</div>")}else{if(typeof c=="function"){c=c.call(d)}d._hasBody=false}return('<div id="'+d._id+'" class="'+d.classes()+'" hidefocus="1" tabindex="-1" role="group">'+(d._preBodyHtml||"")+c+"</div>")}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/PanelButton.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/PanelButton",["tinymce/ui/Button","tinymce/ui/FloatPanel"],function(a,b){return a.extend({showPanel:function(){var c=this,d=c.settings;c.active(true);if(!c.panel){var e=d.panel;if(e.type){e={layout:"grid",items:e}}e.role=e.role||"dialog";e.popover=true;e.autohide=true;e.ariaRoot=true;c.panel=new b(e).on("hide",function(){c.active(false)}).on("cancel",function(f){f.stopPropagation();c.focus();c.hidePanel()}).parent(c).renderTo(c.getContainerElm());c.panel.fire("show");c.panel.reflow()}else{c.panel.show()}c.panel.moveRel(c.getEl(),d.popoverAlign||(c.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var c=this;if(c.panel){c.panel.hide()}},postRender:function(){var c=this;c.aria("haspopup",true);c.on("click",function(d){if(d.control===c){if(c.panel&&c.panel.visible()){c.hidePanel()}else{c.showPanel();c.panel.focus(!!d.aria)}}});return c._super()},remove:function(){if(this.panel){this.panel.remove();this.panel=null}return this._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Path.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Path",["tinymce/ui/Widget"],function(a){return a.extend({init:function(c){var b=this;if(!c.delimiter){c.delimiter="\u00BB"}b._super(c);b.addClass("path");b.canFocus=true;b.on("click",function(g){var d,f=g.target;if((d=f.getAttribute("data-index"))){b.fire("select",{value:b.data()[d],index:d})}})},focus:function(){var b=this;b.getEl().firstChild.focus();return b},data:function(c){var b=this;if(typeof c!=="undefined"){b._data=c;b.update();return b}return b._data},update:function(){this.innerHtml(this._getPathHtml())},postRender:function(){var b=this;b._super();b.data(b.settings.data)},renderHtml:function(){var b=this;return('<div id="'+b._id+'" class="'+b.classes()+'">'+b._getPathHtml()+"</div>")},_getPathHtml:function(){var c=this,g=c._data||[],e,b,d="",f=c.classPrefix;for(e=0,b=g.length;e<b;e++){d+=((e>0?'<div class="'+f+'divider" aria-hidden="true"> '+c.settings.delimiter+" </div>":"")+'<div role="button" class="'+f+"path-item"+(e==b-1?" "+f+"last":"")+'" data-index="'+e+'" tabindex="-1" id="'+c._id+"-"+e+'" aria-level="'+e+'">'+g[e].name+"</div>")}if(!d){d='<div class="'+f+'path-item">\u00a0</div>'}return d}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Radio.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Radio",["tinymce/ui/Checkbox"],function(a){return a.extend({Defaults:{classes:"radio",role:"radio"}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Resizable.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(a){return{resizeToContent:function(){this._layoutRect.autoResize=true;this._lastRect=null;this.reflow()},resizeTo:function(b,c){if(b<=1||c<=1){var d=a.getWindowSize();b=b<=1?b*d.w:b;c=c<=1?c*d.h:c}this._layoutRect.autoResize=false;return this.layoutRect({minW:b,minH:c,w:b,h:c}).reflow()},resizeBy:function(c,e){var b=this,d=b.layoutRect();return b.resizeTo(d.w+c,d.h+e)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ResizeHandle.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/ResizeHandle",["tinymce/ui/Widget","tinymce/ui/DragHelper"],function(b,a){return b.extend({renderHtml:function(){var c=this,d=c.classPrefix;c.addClass("resizehandle");if(c.settings.direction=="both"){c.addClass("resizehandle-both")}c.canFocus=false;return('<div id="'+c._id+'" class="'+c.classes()+'"><i class="'+d+"ico "+d+'i-resize"></i></div>')},postRender:function(){var c=this;c._super();c.resizeDragHelper=new a(this._id,{start:function(){c.fire("ResizeStart")},drag:function(d){if(c.settings.direction!="both"){d.deltaX=0}c.fire("Resize",d)},stop:function(){c.fire("ResizeEnd")}})},remove:function(){if(this.resizeDragHelper){this.resizeDragHelper.destroy()}return this._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Scrollable.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Scrollable",["tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(a,b){return{init:function(){var c=this;c.on("repaint",c.renderScroll)},renderScroll:function(){var d=this,e=2;function f(){var j,i,h;function g(o,n,q,w,v,m){var p,t,s;var l,k,r,u;var x,y;t=d.getEl("scroll"+o);if(t){x=n.toLowerCase();y=q.toLowerCase();if(d.getEl("absend")){a.css(d.getEl("absend"),x,d.layoutRect()[w]-1)}if(!v){a.css(t,"display","none");return}a.css(t,"display","block");p=d.getEl("body");s=d.getEl("scroll"+o+"t");l=p["client"+q]-(e*2);l-=j&&i?t["client"+m]:0;k=p["scroll"+q];r=l/k;u={};u[x]=p["offset"+n]+e;u[y]=l;a.css(t,u);u={};u[x]=p["scroll"+n]*r;u[y]=l*r;a.css(s,u)}}h=d.getEl("body");j=h.scrollWidth>h.clientWidth;i=h.scrollHeight>h.clientHeight;g("h","Left","Width","contentW",j,"Height");g("v","Top","Height","contentH",i,"Width")}function c(){function g(n,j,h,o,l){var m,i=d._id+"-scroll"+n,k=d.classPrefix;d.getEl().appendChild(a.createFragment('<div id="'+i+'" class="'+k+"scrollbar "+k+"scrollbar-"+n+'"><div id="'+i+'t" class="'+k+'scrollbar-thumb"></div></div>'));d.draghelper=new b(i+"t",{start:function(){m=d.getEl("body")["scroll"+j];a.addClass(a.get(i),k+"active")},drag:function(s){var p,u,r,t,q=d.layoutRect();u=q.contentW>q.innerW;r=q.contentH>q.innerH;t=d.getEl("body")["client"+h]-(e*2);t-=u&&r?d.getEl("scroll"+n)["client"+l]:0;p=t/d.getEl("body")["scroll"+h];d.getEl("body")["scroll"+j]=m+(s["delta"+o]/p)},stop:function(){a.removeClass(a.get(i),k+"active")}})}d.addClass("scroll");g("v","Top","Height","Y","Width");g("h","Left","Width","X","Height")}if(d.settings.autoScroll){if(!d._hasScroll){d._hasScroll=true;c();d.on("wheel",function(h){var g=d.getEl("body");g.scrollLeft+=(h.deltaX||0)*10;g.scrollTop+=h.deltaY*10;f()});a.on(d.getEl("body"),"scroll",f)}f()}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Selector.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Selector",["tinymce/util/Class"],function(c){function g(l){var h=[],j=l.length,k;while(j--){k=l[j];if(!k.__checked){h.push(k);k.__checked=1}}j=h.length;while(j--){delete h[j].__checked}return h}var f=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i;var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=/^\s*|\s*$/g,d;var b=c.extend({init:function(i){var k=this.match;function j(q){if(q){q=q.toLowerCase();return function(r){return q==="*"||r.type===q}}}function o(q){if(q){return function(r){return r._name===q}}}function l(q){if(q){q=q.split(".");return function(s){var r=q.length;while(r--){if(!s.hasClass(q[r])){return false}}return true}}}function h(r,s,q){if(r){return function(t){var u=t[r]?t[r]():"";return !s?!!q:s==="="?u===q:s==="*="?u.indexOf(q)>=0:s==="~="?(" "+u+" ").indexOf(" "+q+" ")>=0:s==="!="?u!=q:s==="^="?u.indexOf(q)===0:s==="$="?u.substr(u.length-q.length)===q:false}}}function n(q){var r;if(q){q=/(?:not\((.+)\))|(.+)/i.exec(q);if(!q[1]){q=q[2];return function(u,s,t){return q==="first"?s===0:q==="last"?s===t-1:q==="even"?s%2===0:q==="odd"?s%2===1:u[q]?u[q]():false}}else{r=m(q[1],[]);return function(s){return !k(s,r)}}}}function p(q,r,u){var t;function s(v){if(v){r.push(v)}}t=f.exec(q.replace(e,""));s(j(t[1]));s(o(t[2]));s(l(t[3]));s(h(t[4],t[5],t[6]));s(n(t[7]));r.psuedo=!!t[7];r.direct=u;return r}function m(r,t){var v=[],q,u,s;do{a.exec("");u=a.exec(r);if(u){r=u[3];v.push(u[1]);if(u[2]){q=u[3];break}}}while(u);if(q){m(q,t)}r=[];for(s=0;s<v.length;s++){if(v[s]!=">"){r.push(p(v[s],[],v[s-1]===">"))}}t.push(r);return t}this._selectors=m(i,[])},match:function(o,v){var p,k,q,m,n,x,u,j,s,h,t,r,w;v=v||this._selectors;for(p=0,k=v.length;p<k;p++){n=v[p];m=n.length;w=o;r=0;for(q=m-1;q>=0;q--){j=n[q];while(w){if(j.psuedo){t=w.parent().items();s=h=t.length;while(s--){if(t[s]===w){break}}}for(x=0,u=j.length;x<u;x++){if(!j[x](w,s,h)){x=u+1;break}}if(x===u){r++;break}else{if(q===m-1){break}}w=w.parent()}}if(r===m){return true}}return false},find:function(j){var o=[],m,h,k=this._selectors;function n(u,r,t){var s,q,w,v,x,p=r[t];for(s=0,q=u.length;s<q;s++){x=u[s];for(w=0,v=p.length;w<v;w++){if(!p[w](x,s,q)){w=v+1;break}}if(w===v){if(t==r.length-1){o.push(x)}else{if(x.items){n(x.items(),r,t+1)}}}else{if(p.direct){return}}if(x.items){n(x.items(),r,t)}}}if(j.items){for(m=0,h=k.length;m<h;m++){n(j.items(),k[m],0)}if(h>1){o=g(o)}}if(!d){d=b.Collection}return new d(o)}});return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Spacer.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Spacer",["tinymce/ui/Widget"],function(a){return a.extend({renderHtml:function(){var b=this;b.addClass("spacer");b.canFocus=false;return'<div id="'+b._id+'" class="'+b.classes()+'"></div>'}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/SplitButton.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/SplitButton",["tinymce/ui/MenuButton","tinymce/ui/DomUtils"],function(b,a){return b.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var c=this,g=c.getEl(),e=c.layoutRect(),d,f;c._super();d=g.firstChild;f=g.lastChild;a.css(d,{width:e.w-a.getSize(f).width,height:e.h-2});a.css(f,{height:e.h-2});return c},activeMenu:function(d){var c=this;a.toggleClass(c.getEl().lastChild,c.classPrefix+"active",d)},renderHtml:function(){var c=this,g=c._id,e=c.classPrefix,f;var d=c.settings.icon;f=c.settings.image;if(f){d="none";if(typeof f!="string"){f=window.getSelection?f[0]:f[1]}f=" style=\"background-image: url('"+f+"')\""}else{f=""}d=c.settings.icon?e+"ico "+e+"i-"+d:"";return('<div id="'+g+'" class="'+c.classes()+'" role="button" tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(d?'<i class="'+d+'"'+f+"></i>":"")+(c._text?(d?" ":"")+c._text:"")+'</button><button type="button" class="'+e+'open" hidefocus="1" tabindex="-1">'+(c._menuBtnText?(d?"\u00a0":"")+c._menuBtnText:"")+' <i class="'+e+'caret"></i></button></div>')},postRender:function(){var c=this,d=c.settings.onclick;c.on("click",function(g){var f=g.target;if(g.control==this){while(f){if((g.aria&&g.aria.key!="down")||(f.nodeName=="BUTTON"&&f.className.indexOf("open")==-1)){g.stopImmediatePropagation();d.call(this,g);return}f=f.parentNode}}});delete c.settings.onclick;return c._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/StackLayout.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/StackLayout",["tinymce/ui/FlowLayout"],function(a){return a.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/TabPanel.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/TabPanel",["tinymce/ui/Panel","tinymce/ui/DomUtils"],function(b,a){return b.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(c){var d;if(this.activeTabId){d=this.getEl(this.activeTabId);a.removeClass(d,this.classPrefix+"active");d.setAttribute("aria-selected","false")}this.activeTabId="t"+c;d=this.getEl("t"+c);d.setAttribute("aria-selected","true");a.addClass(d,this.classPrefix+"active");this.items()[c].show().fire("showtab");this.reflow();this.items().each(function(f,e){if(c!=e){f.hide()}})},renderHtml:function(){var d=this,e=d._layout,c="",f=d.classPrefix;d.preRender();e.preRender(d);d.items().each(function(h,g){var j=d._id+"-t"+g;h.aria("role","tabpanel");h.aria("labelledby",j);c+=('<div id="'+j+'" class="'+f+'tab" unselectable="on" role="tab" aria-controls="'+h._id+'" aria-selected="false" tabIndex="-1">'+d.encode(h.settings.title)+"</div>")});return('<div id="'+d._id+'" class="'+d.classes()+'" hidefocus="1" tabindex="-1"><div id="'+d._id+'-head" class="'+f+'tabs" role="tablist">'+c+'</div><div id="'+d._id+'-body" class="'+d.classes("body")+'">'+e.renderHtml(d)+"</div></div>")},postRender:function(){var c=this;c._super();c.settings.activeTab=c.settings.activeTab||0;c.activateTab(c.settings.activeTab);this.on("click",function(g){var f=g.target.parentNode;if(g.target.parentNode.id==c._id+"-head"){var d=f.childNodes.length;while(d--){if(f.childNodes[d]==g.target){c.activateTab(d)}}}})},initLayoutRect:function(){var d=this,g,c,f;c=a.getSize(d.getEl("head")).width;c=c<0?0:c;f=0;d.items().each(function(h){c=Math.max(c,h.layoutRect().minW);f=Math.max(f,h.layoutRect().minH)});d.items().each(function(h){h.settings.x=0;h.settings.y=0;h.settings.w=c;h.settings.h=f;h.layoutRect({x:0,y:0,w:c,h:f})});var e=a.getSize(d.getEl("head")).height;d.settings.minWidth=c;d.settings.minHeight=f+e;g=d._super();g.deltaH+=e;g.innerH=g.h-g.deltaH;return g}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/TextBox.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/TextBox",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(b,a){return b.extend({init:function(d){var c=this;c._super(d);c._value=d.value||"";c.addClass("textbox");if(d.multiline){c.addClass("multiline")}else{c.on("keydown",function(f){if(f.keyCode==13){c.parents().reverse().each(function(e){f.preventDefault();if(e.hasEventListeners("submit")&&e.toJSON){e.fire("submit",{data:e.toJSON()});return false}})}})}},disabled:function(d){var c=this;if(c._rendered&&typeof d!="undefined"){c.getEl().disabled=d}return c._super(d)},value:function(d){var c=this;if(typeof d!="undefined"){c._value=d;if(c._rendered){c.getEl().value=d}return c}if(c._rendered){return c.getEl().value}return c._value},repaint:function(){var d=this,f,g,j,e=0,h=0,c;f=d.getEl().style;g=d._layoutRect;c=d._lastRepaintRect||{};var i=document;if(!d.settings.multiline&&i.all&&(!i.documentMode||i.documentMode<=8)){f.lineHeight=(g.h-h)+"px"}j=d._borderBox;e=j.left+j.right+8;h=j.top+j.bottom+(d.settings.multiline?8:0);if(g.x!==c.x){f.left=g.x+"px";c.x=g.x}if(g.y!==c.y){f.top=g.y+"px";c.y=g.y}if(g.w!==c.w){f.width=(g.w-e)+"px";c.w=g.w}if(g.h!==c.h){f.height=(g.h-h)+"px";c.h=g.h}d._lastRepaintRect=c;d.fire("repaint",{},false);return d},renderHtml:function(){var c=this,g=c._id,d=c.settings,f=c.encode(c._value,false),e="";if("spellcheck" in d){e+=' spellcheck="'+d.spellcheck+'"'}if(d.maxLength){e+=' maxlength="'+d.maxLength+'"'}if(d.size){e+=' size="'+d.size+'"'}if(d.subtype){e+=' type="'+d.subtype+'"'}if(c.disabled()){e+=' disabled="disabled"'}if(d.multiline){return('<textarea id="'+g+'" class="'+c.classes()+'" '+(d.rows?' rows="'+d.rows+'"':"")+' hidefocus="1"'+e+">"+f+"</textarea>")}return'<input id="'+g+'" class="'+c.classes()+'" value="'+f+'" hidefocus="1"'+e+" />"},postRender:function(){var c=this;a.on(c.getEl(),"change",function(d){c.fire("change",d)});return c._super()},remove:function(){a.off(this.getEl());this._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Throbber.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Throbber",["tinymce/ui/DomUtils","tinymce/ui/Control"],function(a,b){return function(g,f){var d=this,e,c=b.classPrefix;d.show=function(h){d.hide();e=true;window.setTimeout(function(){if(e){g.appendChild(a.createFragment('<div class="'+c+"throbber"+(f?" "+c+"throbber-inline":"")+'"></div>'))}},h||0);return d};d.hide=function(){var h=g.lastChild;if(h&&h.className.indexOf("throbber")!=-1){h.parentNode.removeChild(h)}e=false;return d}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Toolbar.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Toolbar",["tinymce/ui/Container"],function(a){return a.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(c){var b=this;b._super(c);b.addClass("toolbar")},postRender:function(){var b=this;b.items().addClass("toolbar-item");return b._super()}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Tooltip.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Tooltip",["tinymce/ui/Control","tinymce/ui/Movable"],function(b,a){return b.extend({Mixins:[a],Defaults:{classes:"widget tooltip tooltip-n"},text:function(d){var c=this;if(typeof d!="undefined"){c._value=d;if(c._rendered){c.getEl().lastChild.innerHTML=c.encode(d)}return c}return c._value},renderHtml:function(){var c=this,d=c.classPrefix;return('<div id="'+c._id+'" class="'+c.classes()+'" role="presentation"><div class="'+d+'tooltip-arrow"></div><div class="'+d+'tooltip-inner">'+c.encode(c._text)+"</div></div>")},repaint:function(){var c=this,d,e;d=c.getEl().style;e=c._layoutRect;d.left=e.x+"px";d.top=e.y+"px";d.zIndex=65535+65535}})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Widget.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Widget",["tinymce/ui/Control","tinymce/ui/Tooltip"],function(c,a){var d;var b=c.extend({init:function(f){var e=this;e._super(f);f=e.settings;e.canFocus=true;if(f.tooltip&&b.tooltips!==false){e.on("mouseenter",function(i){var h=e.tooltip().moveTo(-65535);if(i.control==e){var g=h.text(f.tooltip).show().testMoveRel(e.getEl(),["bc-tc","bc-tl","bc-tr"]);h.toggleClass("tooltip-n",g=="bc-tc");h.toggleClass("tooltip-nw",g=="bc-tl");h.toggleClass("tooltip-ne",g=="bc-tr");h.moveRel(e.getEl(),g)}else{h.hide()}});e.on("mouseleave mousedown click",function(){e.tooltip().hide()})}e.aria("label",f.ariaLabel||f.tooltip)},tooltip:function(){if(!d){d=new a({type:"tooltip"});d.renderTo()}return d},active:function(g){var e=this,f;if(g!==f){e.aria("pressed",g);e.toggleClass("active",g)}return e._super(g)},disabled:function(g){var e=this,f;if(g!==f){e.aria("disabled",g);e.toggleClass("disabled",g)}return e._super(g)},postRender:function(){var e=this,f=e.settings;e._rendered=true;e._super();if(!e.parent()&&(f.width||f.height)){e.initLayoutRect();e.repaint()}if(f.autofocus){e.focus()}},remove:function(){this._super();if(d){d.remove();d=null}}});return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/Window.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/ui/Window",["tinymce/ui/FloatPanel","tinymce/ui/Panel","tinymce/ui/DomUtils","tinymce/ui/DragHelper"],function(e,d,a,c){var b=e.extend({modal:true,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(g){var f=this;f._super(g);if(f.isRtl()){f.addClass("rtl")}f.addClass("window");f._fixed=true;if(g.buttons){f.statusbar=new d({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:f.isRtl()?"start":"end",defaults:{type:"button"},items:g.buttons});f.statusbar.addClass("foot");f.statusbar.parent(f)}f.on("click",function(h){if(h.target.className.indexOf(f.classPrefix+"close")!=-1){f.close()}});f.on("cancel",function(){f.close()});f.aria("describedby",f.describedBy||f._id+"-none");f.aria("label",g.title);f._fullscreen=false},recalc:function(){var g=this,j=g.statusbar,i,h,f,k;if(g._fullscreen){g.layoutRect(a.getWindowSize());g.layoutRect().contentH=g.layoutRect().innerH}g._super();i=g.layoutRect();if(g.settings.title&&!g._fullscreen){h=i.headerW;if(h>i.w){f=i.x-Math.max(0,h/2);g.layoutRect({w:h,x:f});k=true}}if(j){j.layoutRect({w:g.layoutRect().innerW}).recalc();h=j.layoutRect().minW+i.deltaW;if(h>i.w){f=i.x-Math.max(0,h-i.w);g.layoutRect({w:h,x:f});k=true}}if(k){g.recalc()}},initLayoutRect:function(){var f=this,j=f._super(),i=0,k;if(f.settings.title&&!f._fullscreen){k=f.getEl("head");var g=a.getSize(k);j.headerW=g.width;j.headerH=g.height;i+=j.headerH}if(f.statusbar){i+=f.statusbar.layoutRect().h}j.deltaH+=i;j.minH+=i;j.h+=i;var h=a.getWindowSize();j.x=Math.max(0,h.w/2-j.w/2);j.y=Math.max(0,h.h/2-j.h/2);return j},renderHtml:function(){var g=this,j=g._layout,m=g._id,k=g.classPrefix;var i=g.settings,f="",l="",h=i.html;g.preRender();j.preRender(g);if(i.title){f=('<div id="'+m+'-head" class="'+k+'window-head"><div id="'+m+'-title" class="'+k+'title">'+g.encode(i.title)+'</div><button type="button" class="'+k+'close" aria-hidden="true">\u00d7</button><div id="'+m+'-dragh" class="'+k+'dragh"></div></div>')}if(i.url){h='<iframe src="'+i.url+'" tabindex="-1"></iframe>'}if(typeof h=="undefined"){h=j.renderHtml(g)}if(g.statusbar){l=g.statusbar.renderHtml()}return('<div id="'+m+'" class="'+g.classes()+'" hidefocus="1"><div class="'+g.classPrefix+'reset" role="application">'+f+'<div id="'+m+'-body" class="'+g.classes("body")+'">'+h+"</div>"+l+"</div></div>")},fullscreen:function(l){var f=this,k=document.documentElement,g,j=f.classPrefix,i;if(l!=f._fullscreen){a.on(window,"resize",function(){var n;if(f._fullscreen){if(!g){n=new Date().getTime();var m=a.getWindowSize();f.moveTo(0,0).resizeTo(m.w,m.h);if((new Date().getTime())-n>50){g=true}}else{if(!f._timer){f._timer=setTimeout(function(){var o=a.getWindowSize();f.moveTo(0,0).resizeTo(o.w,o.h);f._timer=0},50)}}}});i=f.layoutRect();f._fullscreen=l;if(!l){f._borderBox=f.parseBox(f.settings.border);f.getEl("head").style.display="";i.deltaH+=i.headerH;a.removeClass(k,j+"fullscreen");a.removeClass(document.body,j+"fullscreen");f.removeClass("fullscreen");f.moveTo(f._initial.x,f._initial.y).resizeTo(f._initial.w,f._initial.h)}else{f._initial={x:i.x,y:i.y,w:i.w,h:i.h};f._borderBox=f.parseBox("0");f.getEl("head").style.display="none";i.deltaH-=i.headerH+2;a.addClass(k,j+"fullscreen");a.addClass(document.body,j+"fullscreen");f.addClass("fullscreen");var h=a.getWindowSize();f.moveTo(0,0).resizeTo(h.w,h.h)}}return f.reflow()},postRender:function(){var f=this,g;setTimeout(function(){f.addClass("in")},0);f._super();if(f.statusbar){f.statusbar.postRender()}f.focus();this.dragHelper=new c(f._id+"-dragh",{start:function(){g={x:f.layoutRect().x,y:f.layoutRect().y}},drag:function(h){f.moveTo(g.x+h.deltaX,g.y+h.deltaY)}});f.on("submit",function(h){if(!h.isDefaultPrevented()){f.close()}})},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var f=this,g=f.classPrefix;f.dragHelper.destroy();f._super();if(f.statusbar){this.statusbar.remove()}if(f._fullscreen){a.removeClass(document.documentElement,g+"fullscreen");a.removeClass(document.body,g+"fullscreen")}},getContentWindow:function(){var f=this.getEl().getElementsByTagName("iframe")[0];return f?f.contentWindow:null}});return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/Class.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/Class",["tinymce/util/Tools"],function(d){var e=d.each,f=d.extend;var c,b;function a(){}a.extend=c=function(g){var o=this,n=o.prototype,m,h,l;function i(){var s,p,r,q=this;if(!b){if(q.init){q.init.apply(q,arguments)}p=q.Mixins;if(p){s=p.length;while(s--){r=p[s];if(r.init){r.init.apply(q,arguments)}}}}}function j(){return this}function k(p,q){return function(){var r=this,t=r._super,s;r._super=n[p];s=q.apply(r,arguments);r._super=t;return s}}b=true;m=new o();b=false;if(g.Mixins){e(g.Mixins,function(p){p=p;for(var q in p){if(q!=="init"){g[q]=p[q]}}});if(n.Mixins){g.Mixins=n.Mixins.concat(g.Mixins)}}if(g.Methods){e(g.Methods.split(","),function(p){g[p]=j})}if(g.Properties){e(g.Properties.split(","),function(p){var q="_"+p;g[p]=function(t){var r=this,s;if(t!==s){r[q]=t;return r}return r[q]}})}if(g.Statics){e(g.Statics,function(q,p){i[p]=q})}if(g.Defaults&&n.Defaults){g.Defaults=f({},n.Defaults,g.Defaults)}for(h in g){l=g[h];if(typeof l=="function"&&n[h]){m[h]=k(h,l)}else{m[h]=l}}i.prototype=m;i.constructor=i;i.extend=c;return i};return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/Color.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/Color",[],function(){var c=Math.min,a=Math.max,b=Math.round;function d(o){var p=this,e=0,l=0,n=0;function i(q,u,x){var t,B,z,w,y,A;t=0;B=0;z=0;q=q/255;u=u/255;x=x/255;y=c(q,c(u,x));A=a(q,a(u,x));if(y==A){z=y;return{h:0,s:0,v:z*100}}w=(q==y)?u-x:((x==y)?q-u:x-q);t=(q==y)?3:((x==y)?1:5);t=60*(t-w/(A-y));B=(A-y)/A;z=A;return{h:b(t),s:b(B*100),v:b(z*100)}}function j(q,u,v){var t,s,g,r;q=(parseInt(q,10)||0)%360;u=parseInt(u,10)/100;v=parseInt(v,10)/100;u=a(0,c(u,1));v=a(0,c(v,1));if(u===0){e=l=n=b(255*v);return}t=q/60;s=v*u;g=s*(1-Math.abs(t%2-1));r=v-s;switch(Math.floor(t)){case 0:e=s;l=g;n=0;break;case 1:e=g;l=s;n=0;break;case 2:e=0;l=s;n=g;break;case 3:e=0;l=g;n=s;break;case 4:e=g;l=0;n=s;break;case 5:e=s;l=0;n=g;break;default:e=l=n=0}e=b(255*(e+r));l=b(255*(l+r));n=b(255*(n+r))}function f(){function g(q){q=parseInt(q,10).toString(16);return q.length>1?q:"0"+q}return"#"+g(e)+g(l)+g(n)}function m(){return{r:e,g:l,b:n}}function k(){return i(e,l,n)}function h(q){var g;if(typeof q=="object"){if("r" in q){e=q.r;l=q.g;n=q.b}else{if("v" in q){j(q.h,q.s,q.v)}}}else{if((g=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(q))){e=parseInt(g[1],10);l=parseInt(g[2],10);n=parseInt(g[3],10)}else{if((g=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(q))){e=parseInt(g[1],16);l=parseInt(g[2],16);n=parseInt(g[3],16)}else{if((g=/#([0-F])([0-F])([0-F])/gi.exec(q))){e=parseInt(g[1]+g[1],16);l=parseInt(g[2]+g[2],16);n=parseInt(g[3]+g[3],16)}}}}e=e<0?0:(e>255?255:e);l=l<0?0:(l>255?255:l);n=n<0?0:(n>255?255:n);return p}if(o){h(o)}p.toRgb=m;p.toHsv=k;p.toHex=f;p.parse=h}return d});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/EventDispatcher.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/EventDispatcher",["tinymce/util/Tools"],function(b){var c=b.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchend"," ");function a(i){var o=this,n,e={},l;function g(){return false}function j(){return true}i=i||{};n=i.scope||o;l=i.toggleEvent||g;function f(s,r){var q,t,p,u;s=s.toLowerCase();r=r||{};r.type=s;if(!r.target){r.target=n}if(!r.preventDefault){r.preventDefault=function(){r.isDefaultPrevented=j};r.stopPropagation=function(){r.isPropagationStopped=j};r.stopImmediatePropagation=function(){r.isImmediatePropagationStopped=j};r.isDefaultPrevented=g;r.isPropagationStopped=g;r.isImmediatePropagationStopped=g}if(i.beforeFire){i.beforeFire(r)}q=e[s];if(q){for(t=0,p=q.length;t<p;t++){u=q[t];if(u.once){h(s,u.func)}if(r.isImmediatePropagationStopped()){r.stopPropagation();return r}if(u.func.call(n,r)===false){r.preventDefault();return r}}}return r}function k(s,v,r,p){var q,u,t;if(v===false){v=g}if(v){v={func:v};if(p){b.extend(v,p)}u=s.toLowerCase().split(" ");t=u.length;while(t--){s=u[t];q=e[s];if(!q){q=e[s]=[];l(s,true)}if(r){q.unshift(v)}else{q.push(v)}}}return o}function h(r,v){var s,p,t,u,q;if(r){u=r.toLowerCase().split(" ");s=u.length;while(s--){r=u[s];p=e[r];if(!r){for(t in e){l(t,false);delete e[t]}return o}if(p){if(!v){p.length=0}else{q=p.length;while(q--){if(p[q].func===v){p=p.slice(0,q).concat(p.slice(q+1));e[r]=p}}}if(!p.length){l(r,false);delete e[r]}}}}else{for(r in e){l(r,false)}e={}}return o}function d(q,r,p){return k(q,r,p,{once:true})}function m(p){p=p.toLowerCase();return !(!e[p]||e[p].length===0)}o.fire=f;o.on=k;o.off=h;o.once=d;o.has=m}a.isNative=function(d){return !!c[d.toLowerCase()]};return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/I18n.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/I18n",[],function(){var b={},a="en";return{setCode:function(c){if(c){a=c;this.rtl=this.data[c]?this.data[c]._dir==="rtl":false}},getCode:function(){return a},rtl:false,add:function(f,d){var c=b[f];if(!c){b[f]=c={}}for(var e in d){c[e]=d[e]}this.setCode(f)},translate:function(e){var c;c=b[a];if(!c){c={}}if(typeof e=="undefined"){return e}if(typeof e!="string"&&e.raw){return e.raw}if(e.push){var d=e.slice(1);e=(c[e[0]]||e[0]).replace(/\{([0-9]+)\}/g,function(g,f){return d[f]})}return(c[e]||e).replace(/{context:\w+}$/,"")},data:b}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/JSON.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/JSON",[],function(){function a(g,c){var f,b,e,d;c=c||'"';if(g===null){return"null"}e=typeof g;if(e=="string"){b="\bb\tt\nn\ff\rr\"\"''\\\\";return c+g.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(i,h){if(c==='"'&&i==="'"){return i}f=b.indexOf(h);if(f+1){return"\\"+b.charAt(f+1)}i=h.charCodeAt().toString(16);return"\\u"+"0000".substring(i.length)+i})+c}if(e=="object"){if(g.hasOwnProperty&&Object.prototype.toString.call(g)==="[object Array]"){for(f=0,b="[";f<g.length;f++){b+=(f>0?",":"")+a(g[f],c)}return b+"]"}b="{";for(d in g){if(g.hasOwnProperty(d)){b+=typeof g[d]!="function"?(b.length>1?","+c:c)+d+c+":"+a(g[d],c):""}}return b+"}"}return""+g}return{serialize:a,parse:function(c){try{return window[String.fromCharCode(101)+"val"]("("+c+")")}catch(b){}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/JSONP.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/JSONP",["tinymce/dom/DOMUtils"],function(a){return{callbacks:{},count:0,send:function(c){var b=this,e=a.DOM,d=c.count!==undefined?c.count:b.count;var f="tinymce_jsonp_"+d;b.callbacks[d]=function(g){e.remove(f);delete b.callbacks[d];c.callback(g)};e.add(e.doc.body,"script",{id:f,src:c.url,type:"text/javascript"});b.count++}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/JSONRequest.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/JSONRequest",["tinymce/util/JSON","tinymce/util/XHR","tinymce/util/Tools"],function(d,c,b){var e=b.extend;function a(f){this.settings=e({},f);this.count=0}a.sendRPC=function(f){return new a().send(f)};a.prototype={send:function(h){var g=h.error,f=h.success;h=e(this.settings,h);h.success=function(j,i){j=d.parse(j);if(typeof j=="undefined"){j={error:"JSON Parse error."}}if(j.error){g.call(h.error_scope||h.scope,j.error,i)}else{f.call(h.success_scope||h.scope,j.result)}};h.error=function(j,i){if(g){g.call(h.error_scope||h.scope,j,i)}};h.data=d.serialize({id:h.id||"c"+(this.count++),method:h.method,params:h.params});h.content_type="application/json";c.send(h)}};return a});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/LocalStorage.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/LocalStorage",[],function(){var d,c,g,i,j,b;try{if(window.localStorage){return localStorage}}catch(f){}j="tinymce";c=document.documentElement;b=!!c.addBehavior;if(b){c.addBehavior("#default#userData")}function a(){i=[];for(var k in g){i.push(k)}d.length=i.length}function h(){var k,n,m,p=0;g={};if(!b){return}function l(q){var s,r;r=q!==undefined?p+q:n.indexOf(",",p);if(r===-1||r>n.length){return null}s=n.substring(p,r);p=r+1;return s}c.load(j);n=c.getAttribute(j)||"";do{var o=l();if(o===null){break}k=l(parseInt(o,32)||0);if(k!==null){o=l();if(o===null){break}m=l(parseInt(o,32)||0);if(k){g[k]=m}}}while(k!==null);a()}function e(){var n,m="";if(!b){return}for(var l in g){n=g[l];m+=(m?",":"")+l.length.toString(32)+","+l+","+n.length.toString(32)+","+n}c.setAttribute(j,m);try{c.save(j)}catch(k){}a()}d={key:function(k){return i[k]},getItem:function(k){return k in g?g[k]:null},setItem:function(k,l){g[k]=""+l;e()},removeItem:function(k){delete g[k];e()},clear:function(){g={};e()}};h();return d});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/Observable.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/Observable",["tinymce/util/EventDispatcher"],function(b){function a(c){if(!c._eventDispatcher){c._eventDispatcher=new b({scope:c,toggleEvent:function(d,e){if(b.isNative(d)&&c.toggleNativeEvent){c.toggleNativeEvent(d,e)}}})}return c._eventDispatcher}return{fire:function(f,e,c){var d=this;if(d.removed&&f!=="remove"){return e}e=a(d).fire(f,e,c);if(c!==false&&d.parent){var g=d.parent();while(g&&!e.isPropagationStopped()){g.fire(f,e,false);g=g.parent()}}return e},on:function(d,e,c){return a(this).on(d,e,c)},off:function(c,d){return a(this).off(c,d)},once:function(c,d){return a(this).once(c,d)},hasEventListeners:function(c){return a(this).has(c)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/Quirks.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/Quirks",["tinymce/util/VK","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/html/Node","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools"],function(f,e,d,c,g,a,b){return function(h){var ab=b.each,O=h.$;var k=f.BACKSPACE,w=f.DELETE,j=h.dom,y=h.selection,af=h.settings,N=h.parser,D=h.serializer;var m=a.gecko,u=a.ie,Y=a.webkit;var T="data:text/mce-internal,";var l=u?"Text":"URL";function S(al,ak){try{h.getDoc().execCommand(al,false,ak)}catch(aj){}}function B(){var aj=h.getDoc().documentMode;return aj?aj:6}function R(aj){return aj.isDefaultPrevented()}function I(ak){var aj;if(ak.dataTransfer){if(h.selection.isCollapsed()&&ak.target.tagName=="IMG"){y.select(ak.target)}aj=h.selection.getContent();if(aj.length>0){ak.dataTransfer.setData(l,T+escape(aj))}}}function C(ak){var al,aj;if(ak.dataTransfer){al=ak.dataTransfer.getData(l);if(al&&al.indexOf(T)>=0){aj=unescape(al.substr(T.length))}}return aj}function J(aj){if(h.queryCommandSupported("mceInsertClipboardContent")){h.execCommand("mceInsertClipboardContent",false,{content:aj})}else{h.execCommand("mceInsertContent",false,aj)}}function ah(){var av=h.getDoc(),ao=h.dom,aw=h.selection;var ak=window.MutationObserver,ap,au;if(!ak){ap=true;ak=function(){var ax=[],aA;function az(aC){var aB=aC.relatedNode||aC.target;ax.push({target:aB,addedNodes:[aB]})}function ay(aC){var aB=aC.relatedNode||aC.target;ax.push({target:aB,attributeName:aC.attrName})}this.observe=function(aB){aA=aB;aA.addEventListener("DOMSubtreeModified",az,false);aA.addEventListener("DOMNodeInsertedIntoDocument",az,false);aA.addEventListener("DOMNodeInserted",az,false);aA.addEventListener("DOMAttrModified",ay,false)};this.disconnect=function(){aA.removeEventListener("DOMSubtreeModified",az,false);aA.removeEventListener("DOMNodeInsertedIntoDocument",az,false);aA.removeEventListener("DOMNodeInserted",az,false);aA.removeEventListener("DOMAttrModified",ay,false)};this.takeRecords=function(){return ax}}}function aj(az){var ay=ao.schema.getBlockElements(),ax=h.getBody();if(az.nodeName!="BR"){return false}for(az=az;az!=ax&&!ay[az.nodeName];az=az.parentNode){if(az.nextSibling){return false}}return true}function al(ay,ax){var az;for(az=ay.nextSibling;az&&az!=ax;az=az.nextSibling){if(az.nodeType==3&&O.trim(az.data).length===0){continue}if(az!==ax){return false}}return az===ax}function aq(aA,az,ay){var aC,aB,ax;ax=ao.schema.getNonEmptyElements();aC=new d(ay||aA,aA);while((aB=aC[az?"next":"prev"]())){if(ax[aB.nodeName]&&!aj(aB)){return aB}if(aB.nodeType==3&&aB.data.length>0){return aB}}}function at(ay){var aB,az,ax,aA,aC;if(ay.collapsed){return}aB=ao.getParent(e.getNode(ay.startContainer,ay.startOffset),ao.isBlock);az=ao.getParent(e.getNode(ay.endContainer,ay.endOffset),ao.isBlock);aC=h.schema.getTextBlockElements();if(aB==az){return}if(!aC[aB.nodeName]||!aC[az.nodeName]){return}if(ao.getContentEditable(aB)==="false"||ao.getContentEditable(az)==="false"){return}ay.deleteContents();ax=aq(aB,false);aA=aq(az,true);if(!ao.isEmpty(az)){O(aB).append(az.childNodes)}O(az).remove();if(ax){if(ax.nodeType==1){if(ax.nodeName=="BR"){ay.setStartBefore(ax);ay.setEndBefore(ax)}else{ay.setStartAfter(ax);ay.setEndAfter(ax)}}else{ay.setStart(ax,ax.data.length);ay.setEnd(ax,ax.data.length)}}else{if(aA){if(aA.nodeType==1){ay.setStartBefore(aA);ay.setEndBefore(aA)}else{ay.setStart(aA,0);ay.setEnd(aA,0)}}}aw.setRng(ay);return true}function an(ay,aD){var aA,aC,az,aB,ax,aE;if(!ay.collapsed){return ay}ax=ay.startContainer;aE=ay.startOffset;if(ax.nodeType==3){if(aD){if(aE<ax.data.length){return ay}}else{if(aE>0){return ay}}}aA=e.getNode(ay.startContainer,ay.startOffset);az=ao.getParent(aA,ao.isBlock);aC=aq(h.getBody(),aD,aA);aB=ao.getParent(aC,ao.isBlock);if(!aA||!aC){return ay}if(aB&&az!=aB){if(!aD){if(!al(aB,az)){return ay}if(aC.nodeType==1){if(aC.nodeName=="BR"){ay.setStartBefore(aC)}else{ay.setStartAfter(aC)}}else{ay.setStart(aC,aC.data.length)}if(aA.nodeType==1){ay.setEnd(aA,0)}else{ay.setEndBefore(aA)}}else{if(!al(az,aB)){return ay}if(aA.nodeType==1){if(aA.nodeName=="BR"){ay.setStartBefore(aA)}else{ay.setStartAfter(aA)}}else{ay.setStart(aA,aA.data.length)}if(aC.nodeType==1){ay.setEnd(aC,0)}else{ay.setEndBefore(aC)}}}return ay}function am(ay){var ax=aw.getRng();ax=an(ax,ay);if(at(ax)){return true}}function ar(az){var ay,ax,aA;if(am(az)){return}b.each(h.getBody().getElementsByTagName("*"),function(aB){if(aB.tagName=="SPAN"){aB.setAttribute("mce-data-marked",1)}if(!aB.hasAttribute("data-mce-style")&&aB.hasAttribute("style")){h.dom.setAttrib(aB,"style",h.dom.getAttrib(aB,"style"))}});ay=new ak(function(){});ay.observe(h.getDoc(),{childList:true,attributes:true,subtree:true,attributeFilter:["style"]});h.getDoc().execCommand(az?"ForwardDelete":"Delete",false,null);ax=h.selection.getRng();aA=ax.startContainer.parentNode;b.each(ay.takeRecords(),function(aB){if(!ao.isChildOf(aB.target,h.getBody())){return}if(aB.attributeName=="style"){var aC=aB.target.getAttribute("data-mce-style");if(aC){aB.target.setAttribute("style",aC)}else{aB.target.removeAttribute("style")}}b.each(aB.addedNodes,function(aE){if(aE.nodeName=="SPAN"&&!aE.getAttribute("mce-data-marked")){var aF,aD;if(aE==aA){aF=ax.startOffset;aD=aE.firstChild}ao.remove(aE,true);if(aD){ax.setStart(aD,aF);ax.setEnd(aD,aF);h.selection.setRng(ax)}}})});ay.disconnect();b.each(h.dom.select("span[mce-data-marked]"),function(aB){aB.removeAttribute("mce-data-marked")})}h.on("keydown",function(aB){var aA=aB.keyCode==w,ax=aB.ctrlKey||aB.metaKey;if(!R(aB)&&(aA||aB.keyCode==k)){var az=h.selection.getRng(),ay=az.startContainer,aC=az.startOffset;if(!ax&&az.collapsed&&ay.nodeType==3){if(aA?aC<ay.data.length:aC>0){return}}aB.preventDefault();if(ax){h.selection.getSel().modify("extend",aA?"forward":"backward",aB.metaKey?"lineboundary":"word")}ar(aA)}});h.on("keypress",function(aC){if(!R(aC)&&!aw.isCollapsed()&&aC.charCode&&!f.metaKeyPressed(aC)){var ax,aD,aB,ay,az,aA;ax=h.selection.getRng();aA=String.fromCharCode(aC.charCode);aC.preventDefault();aD=O(ax.startContainer).parents().filter(function(aE,aF){return !!h.schema.getTextInlineElements()[aF.nodeName]});ar(true);aD=aD.filter(function(aE,aF){return !O.contains(h.getBody(),aF)});if(aD.length){aB=ao.createFragment();aD.each(function(aE,aF){aF=aF.cloneNode(false);if(aB.hasChildNodes()){aF.appendChild(aB.firstChild);aB.appendChild(aF)}else{az=aF;aB.appendChild(aF)}aB.appendChild(aF)});az.appendChild(h.getDoc().createTextNode(aA));ay=ao.getParent(ax.startContainer,ao.isBlock);if(ao.isEmpty(ay)){O(ay).empty().append(aB)}else{ax.insertNode(aB)}ax.setStart(az.firstChild,1);ax.setEnd(az.firstChild,1);h.selection.setRng(ax)}else{h.selection.setContent(aA)}}});h.addCommand("Delete",function(){ar()});h.addCommand("ForwardDelete",function(){ar(true)});if(ap){return}h.on("dragstart",function(ax){au=aw.getRng();I(ax)});h.on("drop",function(ax){if(!R(ax)){var ay=C(ax);if(ay){ax.preventDefault();window.setTimeout(function(){var az=e.getCaretRangeFromPoint(ax.x,ax.y,av);if(au){aw.setRng(au);au=null}ar();aw.setRng(az);J(ay)},0)}}});h.on("cut",function(ax){if(!R(ax)&&ax.clipboardData){ax.preventDefault();ax.clipboardData.clearData();ax.clipboardData.setData("text/html",h.selection.getContent());ax.clipboardData.setData("text/plain",h.selection.getContent({format:"text"}));ar(true)}})}function H(){function aj(am){var al=j.create("body");var an=am.cloneContents();al.appendChild(an);return y.serializer.serialize(al,{format:"html"})}function ak(al){if(!al.setStart){if(al.item){return false}var ap=al.duplicate();ap.moveToElementText(h.getBody());return e.compareRanges(al,ap)}var an=aj(al);var ao=j.createRng();ao.selectNode(h.getBody());var am=aj(ao);return an===am}h.on("keydown",function(ao){var an=ao.keyCode,am,al;if(!R(ao)&&(an==w||an==k)){am=h.selection.isCollapsed();al=h.getBody();if(am&&!j.isEmpty(al)){return}if(!am&&!ak(h.selection.getRng())){return}ao.preventDefault();h.setContent("");if(al.firstChild&&j.isBlock(al.firstChild)){h.selection.setCursorLocation(al.firstChild,0)}else{h.selection.setCursorLocation(al,0)}h.nodeChanged()}})}function ag(){h.shortcuts.add("meta+a",null,"SelectAll")}function ai(){if(!h.settings.content_editable){j.bind(h.getDoc(),"focusin",function(){y.setRng(y.getRng())});j.bind(h.getDoc(),"mousedown mouseup",function(aj){if(aj.target==h.getDoc().documentElement){h.getBody().focus();if(aj.type=="mousedown"){y.placeCaretAt(aj.clientX,aj.clientY)}else{y.setRng(y.getRng())}}})}}function V(){h.on("keydown",function(al){if(!R(al)&&al.keyCode===k){if(!h.getBody().getElementsByTagName("hr").length){return}if(y.isCollapsed()&&y.getRng(true).startOffset===0){var ak=y.getNode();var aj=ak.previousSibling;if(ak.nodeName=="HR"){j.remove(ak);al.preventDefault();return}if(aj&&aj.nodeName&&aj.nodeName.toLowerCase()==="hr"){j.remove(aj);al.preventDefault()}}}})}function Q(){if(!window.Range.prototype.getClientRects){h.on("mousedown",function(ak){if(!R(ak)&&ak.target.nodeName==="HTML"){var aj=h.getBody();aj.blur();setTimeout(function(){aj.focus()},0)}})}}function p(){h.on("click",function(ak){var aj=ak.target;if(/^(IMG|HR)$/.test(aj.nodeName)){ak.preventDefault();y.getSel().setBaseAndExtent(aj,0,aj,1);h.nodeChanged()}if(aj.nodeName=="A"&&j.hasClass(aj,"mce-item-anchor")){ak.preventDefault();y.select(aj)}})}function ac(){function ak(){var al=j.getAttribs(y.getStart().cloneNode(false));return function(){var am=y.getStart();if(am!==h.getBody()){j.setAttrib(am,"style",null);ab(al,function(an){am.setAttributeNode(an.cloneNode(true))})}}}function aj(){return !y.isCollapsed()&&j.getParent(y.getStart(),j.isBlock)!=j.getParent(y.getEnd(),j.isBlock)}h.on("keypress",function(am){var al;if(!R(am)&&(am.keyCode==8||am.keyCode==46)&&aj()){al=ak();h.getDoc().execCommand("delete",false,null);al();am.preventDefault();return false}});j.bind(h.getDoc(),"cut",function(am){var al;if(!R(am)&&aj()){al=ak();setTimeout(function(){al()},0)}})}function P(){document.body.setAttribute("role","application")}function M(){h.on("keydown",function(ak){if(!R(ak)&&ak.keyCode===k){if(y.isCollapsed()&&y.getRng(true).startOffset===0){var aj=y.getNode().previousSibling;if(aj&&aj.nodeName&&aj.nodeName.toLowerCase()==="table"){ak.preventDefault();return false}}}})}function Z(){if(B()>7){return}S("RespectVisibilityInDesign",true);h.contentStyles.push(".mceHideBrInPre pre br {display: none}");j.addClass(h.getBody(),"mceHideBrInPre");N.addNodeFilter("pre",function(aj){var al=aj.length,an,ak,ao,am;while(al--){an=aj[al].getAll("br");ak=an.length;while(ak--){ao=an[ak];am=ao.prev;if(am&&am.type===3&&am.value.charAt(am.value-1)!="\n"){am.value+="\n"}else{ao.parent.insert(new c("#text",3),ao,true).value="\n"}}}});D.addNodeFilter("pre",function(aj){var al=aj.length,an,ak,ao,am;while(al--){an=aj[al].getAll("br");ak=an.length;while(ak--){ao=an[ak];am=ao.prev;if(am&&am.type==3){am.value=am.value.replace(/\r?\n$/,"")}}}})}function o(){j.bind(h.getBody(),"mouseup",function(){var ak,aj=y.getNode();if(aj.nodeName=="IMG"){if((ak=j.getStyle(aj,"width"))){j.setAttrib(aj,"width",ak.replace(/[^0-9%]+/g,""));j.setStyle(aj,"width","")}if((ak=j.getStyle(aj,"height"))){j.setAttrib(aj,"height",ak.replace(/[^0-9%]+/g,""));j.setStyle(aj,"height","")}}})}function ae(){h.on("keydown",function(an){var al,ak,ao,aj,am;if(R(an)||an.keyCode!=f.BACKSPACE){return}al=y.getRng();ak=al.startContainer;ao=al.startOffset;aj=j.getRoot();am=ak;if(!al.collapsed||ao!==0){return}while(am&&am.parentNode&&am.parentNode.firstChild==am&&am.parentNode!=aj){am=am.parentNode}if(am.tagName==="BLOCKQUOTE"){h.formatter.toggle("blockquote",null,am);al=j.createRng();al.setStart(ak,0);al.setEnd(ak,0);y.setRng(al)}})}function ad(){function aj(){h._refreshContentEditable();S("StyleWithCSS",false);S("enableInlineTableEditing",false);if(!af.object_resizing){S("enableObjectResizing",false)}}if(!af.readonly){h.on("BeforeExecCommand MouseDown",aj)}}function L(){function aj(){ab(j.select("a"),function(am){var ak=am.parentNode,al=j.getRoot();if(ak.lastChild===am){while(ak&&!j.isBlock(ak)){if(ak.parentNode.lastChild!==ak||ak===al){return}ak=ak.parentNode}j.add(ak,"br",{"data-mce-bogus":1})}})}h.on("SetContent ExecCommand",function(ak){if(ak.type=="setcontent"||ak.command==="mceInsertLink"){aj()}})}function z(){if(af.forced_root_block){h.on("init",function(){S("DefaultParagraphSeparator",af.forced_root_block)})}}function F(){h.on("Undo Redo SetContent",function(aj){if(!aj.initial){h.execCommand("mceRepaint")}})}function q(){h.on("keydown",function(ak){var aj;if(!R(ak)&&ak.keyCode==k){aj=h.getDoc().selection.createRange();if(aj&&aj.item){ak.preventDefault();h.undoManager.beforeChange();j.remove(aj.item(0));h.undoManager.add()}}})}function K(){var aj;if(B()>=10){aj="";ab("p div h1 h2 h3 h4 h5 h6".split(" "),function(ak,al){aj+=(al>0?",":"")+ak+":empty"});h.contentStyles.push(aj+"{padding-right: 1px !important}")}}function aa(){if(B()<9){N.addNodeFilter("noscript",function(aj){var ak=aj.length,al,am;while(ak--){al=aj[ak];am=al.firstChild;if(am){al.attr("data-mce-innertext",am.value)}}});D.addNodeFilter("noscript",function(aj){var ak=aj.length,al,an,am;while(ak--){al=aj[ak];an=aj[ak].firstChild;if(an){an.value=g.decode(an.value)}else{am=al.attributes.map["data-mce-innertext"];if(am){al.attr("data-mce-innertext",null);an=new c("#text",3);an.value=am;an.raw=true;al.append(an)}}}})}}function G(){var ap=j.doc,ak=ap.body,am,an,aq;function ao(ar,av){var at=ak.createTextRange();try{at.moveToPoint(ar,av)}catch(au){at=null}return at}function al(at){var ar;if(at.button){ar=ao(at.x,at.y);if(ar){if(ar.compareEndPoints("StartToStart",an)>0){ar.setEndPoint("StartToStart",an)}else{ar.setEndPoint("EndToEnd",an)}ar.select()}}else{aj()}}function aj(){var ar=ap.selection.createRange();if(an&&!ar.item&&ar.compareEndPoints("StartToEnd",ar)===0){an.select()}j.unbind(ap,"mouseup",aj);j.unbind(ap,"mousemove",al);an=am=0}ap.documentElement.unselectable=true;j.bind(ap,"mousedown contextmenu",function(ar){if(ar.target.nodeName==="HTML"){if(am){aj()}aq=ap.documentElement;if(aq.scrollHeight>aq.clientHeight){return}am=1;an=ao(ar.x,ar.y);if(an){j.bind(ap,"mouseup",aj);j.bind(ap,"mousemove",al);j.getRoot().focus();an.select()}}})}function X(){h.on("keyup focusin mouseup",function(aj){if(aj.keyCode!=65||!f.metaKeyPressed(aj)){y.normalize()}},true)}function s(){h.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function t(){if(!h.inline){h.on("keydown",function(){if(document.activeElement==document.body){h.getWin().focus()}})}}function x(){if(!h.inline){h.contentStyles.push("body {min-height: 150px}");h.on("click",function(ak){if(ak.target.nodeName=="HTML"){var aj;aj=h.selection.getRng();h.getBody().focus();h.selection.setRng(aj);h.selection.normalize();h.nodeChanged()}})}}function v(){if(a.mac){h.on("keydown",function(aj){if(f.metaKeyPressed(aj)&&(aj.keyCode==37||aj.keyCode==39)){aj.preventDefault();h.selection.getSel().modify("move",aj.keyCode==37?"backward":"forward","lineboundary")}})}}function U(){S("AutoUrlDetect",false)}function A(){if(!h.inline){h.on("focus blur beforegetcontent",function(){var aj=h.dom.create("br");h.getBody().appendChild(aj);aj.parentNode.removeChild(aj)},true)}}function r(){h.on("click",function(aj){var ak=aj.target;do{if(ak.tagName==="A"){aj.preventDefault();return}}while((ak=ak.parentNode))});h.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function i(){h.on("touchstart",function(am){var an,al,ak,aj;an=am.target;al=new Date().getTime();aj=am.changedTouches;if(!aj||aj.length>1){return}ak=aj[0];h.once("touchend",function(aq){var ap=aq.changedTouches[0],ao;if(new Date().getTime()-al>500){return}if(Math.abs(ak.clientX-ap.clientX)>5){return}if(Math.abs(ak.clientY-ap.clientY)>5){return}ao={target:an};ab("pageX pageY clientX clientY screenX screenY".split(" "),function(ar){ao[ar]=ap[ar]});ao=h.fire("click",ao);if(!ao.isDefaultPrevented()){h.selection.placeCaretAt(ap.clientX,ap.clientY);h.nodeChanged()}})})}function E(){h.on("init",function(){h.dom.bind(h.getBody(),"submit",function(aj){aj.preventDefault()})})}function W(){N.addNodeFilter("br",function(aj){var ak=aj.length;while(ak--){if(aj[ak].attr("class")=="Apple-interchange-newline"){aj[ak].remove()}}})}function n(){h.on("dragstart",function(aj){I(aj)});h.on("drop",function(ak){if(!R(ak)){var al=C(ak);if(al){ak.preventDefault();var aj=e.getCaretRangeFromPoint(ak.x,ak.y,h.getDoc());y.setRng(aj);J(al)}}})}ae();H();X();if(Y){ah();ai();p();z();E();M();W();i();if(a.iOS){t();x();r()}else{ag()}}if(u&&a.ie<11){V();P();Z();o();q();K();aa();G()}if(a.ie>=11){x();A();M()}if(a.ie){ag();U();n()}if(m){V();Q();ac();ad();L();F();s();v();M()}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/Tools.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/Tools",["tinymce/Env"],function(a){var r=/^\s*|\s*$/g;function m(s){return(s===null||s===undefined)?"":(""+s).replace(r,"")}var g=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function e(t,s){if(!s){return t!==undefined}if(s=="array"&&g(t)){return true}return typeof t==s}function k(u){var v=u,t,s;if(!g(u)){v=[];for(t=0,s=u.length;t<s;t++){v[t]=u[t]}}return v}function i(s,v,u){var t;s=s||[];v=v||",";if(typeof s=="string"){s=s.split(v)}u=u||{};t=s.length;while(t--){u[s[t]]={}}return u}function c(w,t,v){var x,u;if(!w){return 0}v=v||w;if(w.length!==undefined){for(x=0,u=w.length;x<u;x++){if(t.call(v,w[x],x,w)===false){return 0}}}else{for(x in w){if(w.hasOwnProperty(x)){if(t.call(v,w[x],x,w)===false){return 0}}}}return 1}function q(u,t){var s=[];c(u,function(v){s.push(t(v))});return s}function f(s,t){var u=[];c(s,function(w){if(!t||t(w)){u.push(w)}});return u}function h(C,t,x){var B=this,u,w,y,z,v,A=0;C=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(C);y=C[3].match(/(^|\.)(\w+)$/i)[2];w=B.createNS(C[3].replace(/\.\w+$/,""),x);if(w[y]){return}if(C[2]=="static"){w[y]=t;if(this.onCreate){this.onCreate(C[2],C[3],w[y])}return}if(!t[y]){t[y]=function(){};A=1}w[y]=t[y];B.extend(w[y].prototype,t);if(C[5]){u=B.resolve(C[5]).prototype;z=C[5].match(/\.(\w+)$/i)[1];v=w[y];if(A){w[y]=function(){return u[z].apply(this,arguments)}}else{w[y]=function(){this.parent=u[z];return v.apply(this,arguments)}}w[y].prototype[y]=w[y];B.each(u,function(s,D){w[y].prototype[D]=u[D]});B.each(t,function(s,D){if(u[D]){w[y].prototype[D]=function(){this.parent=u[D];return s.apply(this,arguments)}}else{if(D!=y){w[y].prototype[D]=s}}})}B.each(t["static"],function(s,D){w[y][D]=s})}function n(t,u){var w,s;if(t){for(w=0,s=t.length;w<s;w++){if(t[w]===u){return w}}}return -1}function o(y,w){var v,s,u,t=arguments,x;for(v=1,s=t.length;v<s;v++){w=t[v];for(u in w){if(w.hasOwnProperty(u)){x=w[u];if(x!==undefined){y[u]=x}}}}return y}function p(v,u,w,t){t=t||this;if(v){if(w){v=v[w]}c(v,function(x,s){if(u.call(t,x,s,w)===false){return false}p(x,u,w,t)})}}function d(w,u){var t,s;u=u||window;w=w.split(".");for(t=0;t<w.length;t++){s=w[t];if(!u[s]){u[s]={}}u=u[s]}return u}function l(v,u){var t,s;u=u||window;v=v.split(".");for(t=0,s=v.length;t<s;t++){u=u[v[t]];if(!u){break}}return u}function j(t,u){if(!t||e(t,"array")){return t}return q(t.split(u||","),m)}function b(t){var s=a.cacheSuffix;if(s){t+=(t.indexOf("?")===-1?"?":"&")+s}return t}return{trim:m,isArray:g,is:e,toArray:k,makeMap:i,each:c,map:q,grep:f,inArray:n,extend:o,create:h,walk:p,createNS:d,resolve:l,explode:j,_addCacheSuffix:b}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/URI.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/URI",["tinymce/util/Tools"],function(c){var f=c.each,a=c.trim;var d="source protocol authority userInfo user password host port relative path directory file query anchor".split(" ");var e={ftp:21,http:80,https:443,mailto:25};function b(i,j){var h=this,l,k;i=a(i);j=h.settings=j||{};l=j.base_uri;if(/^([\w\-]+):([^\/]{2})/i.test(i)||/^\s*#/.test(i)){h.source=i;return}var g=i.indexOf("//")===0;if(i.indexOf("/")===0&&!g){i=(l?l.protocol||"http":"http")+"://mce_host"+i}if(!/^[\w\-]*:?\/\//.test(i)){k=j.base_uri?j.base_uri.path:new b(location.href).directory;if(j.base_uri.protocol===""){i="//mce_host"+h.toAbsPath(k,i)}else{i=/([^#?]*)([#?]?.*)/.exec(i);i=((l&&l.protocol)||"http")+"://mce_host"+h.toAbsPath(k,i[1])+i[2]}}i=i.replace(/@@/g,"(mce_at)");i=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(i);f(d,function(m,o){var n=i[o];if(n){n=n.replace(/\(mce_at\)/g,"@@")}h[m]=n});if(l){if(!h.protocol){h.protocol=l.protocol}if(!h.userInfo){h.userInfo=l.userInfo}if(!h.port&&h.host==="mce_host"){h.port=l.port}if(!h.host||h.host==="mce_host"){h.host=l.host}h.source=""}if(g){h.protocol=""}}b.prototype={setPath:function(h){var g=this;h=/^(.*?)\/?(\w+)?$/.exec(h);g.path=h[0];g.directory=h[1];g.file=h[2];g.source="";g.getURI()},toRelative:function(k){var h=this,g;if(k==="./"){return k}k=new b(k,{base_uri:h});if((k.host!="mce_host"&&h.host!=k.host&&k.host)||h.port!=k.port||(h.protocol!=k.protocol&&k.protocol!=="")){return k.getURI()}var i=h.getURI(),j=k.getURI();if(i==j||(i.charAt(i.length-1)=="/"&&i.substr(0,i.length-1)==j)){return i}g=h.toRelPath(h.path,k.path);if(k.query){g+="?"+k.query}if(k.anchor){g+="#"+k.anchor}return g},toAbsolute:function(h,g){h=new b(h,{base_uri:this});return h.getURI(g&&this.isSameOrigin(h))},isSameOrigin:function(g){if(this.host==g.host&&this.protocol==g.protocol){if(this.port==g.port){return true}var h=e[this.protocol];if(h&&((this.port||h)==(g.port||h))){return true}}return false},toRelPath:function(n,o){var h,m=0,j="",k,g;n=n.substring(0,n.lastIndexOf("/"));n=n.split("/");h=o.split("/");if(n.length>=h.length){for(k=0,g=n.length;k<g;k++){if(k>=h.length||n[k]!=h[k]){m=k+1;break}}}if(n.length<h.length){for(k=0,g=h.length;k<g;k++){if(k>=n.length||n[k]!=h[k]){m=k+1;break}}}if(m===1){return o}for(k=0,g=n.length-(m-1);k<g;k++){j+="../"}for(k=m-1,g=h.length;k<g;k++){if(k!=m-1){j+="/"+h[k]}else{j+=h[k]}}return j},toAbsPath:function(k,l){var h,g=0,n=[],j,m;j=/\/$/.test(l)?"/":"";k=k.split("/");l=l.split("/");f(k,function(i){if(i){n.push(i)}});k=n;for(h=l.length-1,n=[];h>=0;h--){if(l[h].length===0||l[h]==="."){continue}if(l[h]===".."){g++;continue}if(g>0){g--;continue}n.push(l[h])}h=k.length-g;if(h<=0){m=n.reverse().join("/")}else{m=k.slice(0,h).join("/")+"/"+n.reverse().join("/")}if(m.indexOf("/")!==0){m="/"+m}if(j&&m.lastIndexOf("/")!==m.length-1){m+=j}return m},getURI:function(i){var h,g=this;if(!g.source||i){h="";if(!i){if(g.protocol){h+=g.protocol+"://"}else{h+="//"}if(g.userInfo){h+=g.userInfo+"@"}if(g.host){h+=g.host}if(g.port){h+=":"+g.port}}if(g.path){h+=g.path}if(g.query){h+="?"+g.query}if(g.anchor){h+="#"+g.anchor}g.source=h}return g.source}};return b});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/VK.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/VK",["tinymce/Env"],function(a){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(b){return b.shiftKey||b.ctrlKey||b.altKey||this.metaKeyPressed(b)},metaKeyPressed:function(b){return(a.mac?b.metaKey:b.ctrlKey&&!b.altKey)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/classes/util/XHR.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/util/XHR",["tinymce/util/Observable","tinymce/util/Tools"],function(a,b){var c={send:function(e){var g,f=0;function d(){if(!e.async||g.readyState==4||f++>10000){if(e.success&&f<10000&&g.status==200){e.success.call(e.success_scope,""+g.responseText,g,e)}else{if(e.error){e.error.call(e.error_scope,f>10000?"TIMED_OUT":"GENERAL",g,e)}}g=null}else{setTimeout(d,10)}}e.scope=e.scope||this;e.success_scope=e.success_scope||e.scope;e.error_scope=e.error_scope||e.scope;e.async=e.async===false?false:true;e.data=e.data||"";g=new XMLHttpRequest();if(g){if(g.overrideMimeType){g.overrideMimeType(e.content_type)}g.open(e.type||(e.data?"POST":"GET"),e.url,e.async);if(e.crossDomain){g.withCredentials=true}if(e.content_type){g.setRequestHeader("Content-Type",e.content_type)}g.setRequestHeader("X-Requested-With","XMLHttpRequest");g=c.fire("beforeSend",{xhr:g,settings:e}).xhr;g.send(e.data);if(!e.async){return d()}setTimeout(d,10)}}};b.extend(c,a);return c});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/css/dialog.min.css Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+body{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;scrollbar-3dlight-color:#f0f0ee;scrollbar-arrow-color:#676662;scrollbar-base-color:#f0f0ee;scrollbar-darkshadow-color:#ddd;scrollbar-face-color:#e0e0dd;scrollbar-highlight-color:#f0f0ee;scrollbar-shadow-color:#f0f0ee;scrollbar-track-color:#f5f5f5;background:#f0f0ee;padding:0;margin:8px 8px 0 8px}html{background:#f0f0ee}td{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px}textarea{resize:none;outline:0}a:link,a:visited{color:black}a:hover{color:#2b6fb6}.nowrap{white-space:nowrap}fieldset{margin:0;padding:4px;border:1px solid #919b9c;font-family:Verdana,Arial;font-size:10px}legend{color:#2b6fb6;font-weight:bold}label.msg{display:none}label.invalid{color:#e00;display:inline}input.invalid{border:1px solid #e00}input{background:#FFF;border:1px solid #CCC}input,select,textarea{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px}input,select,textarea{border:1px solid #808080}input.radio{border:1px none #000;background:transparent;vertical-align:middle}input.checkbox{border:1px none #000;background:transparent;vertical-align:middle}.input_noborder{border:0}#insert,#cancel,input.button,.updateButton{border:0;margin:0;padding:0;font-weight:bold;width:94px;height:26px;background:url(../img/buttons.png) 0 -26px;cursor:pointer;padding-bottom:2px;float:left}#insert{background:url(../img/buttons.png) 0 -52px}#cancel{background:url(../img/buttons.png) 0 0;float:right}a.pickcolor,a.browse{text-decoration:none}a.browse span{display:block;width:20px;height:18px;background:url(../img/icons.gif) -20px 0 no-repeat;border:1px solid #FFF;margin-left:1px}.mceOldBoxModel a.browse span{width:22px;height:20px}a.browse:hover span{border:1px solid #0a246a;background-color:#b2bbd0}a.browse span.disabled{border:1px solid white;opacity:.3;-ms-filter:'alpha(opacity=30)';filter:alpha(opacity=30)}a.browse:hover span.disabled{border:1px solid white;background-color:transparent}a.pickcolor span{display:block;width:20px;height:16px;background:url(../img/icons.gif) -840px 0;margin-left:2px}.mceOldBoxModel a.pickcolor span{width:21px;height:17px}a.pickcolor:hover span{background-color:#b2bbd0}table.charmap{border:1px solid #AAA;text-align:center}td.charmap,#charmap a{width:18px;height:18px;color:#000;border:1px solid #AAA;text-align:center;font-size:12px;vertical-align:middle;line-height:18px}#charmap a{display:block;color:#000;text-decoration:none;border:0}#charmap a:hover{background:#CCC;color:#2b6fb6}#charmap #codeN{font-size:10px;font-family:Arial,Helvetica,sans-serif;text-align:center}#charmap #codeV{font-size:40px;height:80px;border:1px solid #AAA;text-align:center}.wordWrapCode{vertical-align:middle;border:1px none #000;background:transparent}.mceActionPanel{margin-top:5px}.tabs{width:100%;height:18px;line-height:normal;background:url(../img/tabs.gif) repeat-x 0 -72px}.tabs ul{margin:0;padding:0;list-style:none}.tabs li{float:left;background:url(../img/tabs.gif) no-repeat 0 0;margin:0 2px 0 0;padding:0 0 0 10px;line-height:17px;height:18px;display:block}.tabs li.current{background:url(../img/tabs.gif) no-repeat 0 -18px;margin-right:2px}.tabs span{float:left;display:block;background:url(../img/tabs.gif) no-repeat right -36px;padding:0 10px 0 0}.tabs .current span{background:url(../img/tabs.gif) no-repeat right -54px}.tabs a{text-decoration:none;font-family:Verdana,Arial;font-size:10px}.tabs a:link,.tabs a:visited,.tabs a:hover{color:black}.panel_wrapper div.panel{display:none}.panel_wrapper div.current{display:block;width:100%;height:300px;overflow:visible}.panel_wrapper{border:1px solid #919b9c;border-top:0;padding:10px;padding-top:5px;clear:both;background:white}.column{float:left}.properties{width:100%}.properties .column2{text-align:left}h1,h2,h3,h4{color:#2b6fb6;margin:0;padding:0;padding-top:5px}h3{font-size:14px}.title{font-size:12px;font-weight:bold;color:#2b6fb6}#link .panel_wrapper,#link div.current{height:125px}#image .panel_wrapper,#image div.current{height:200px}#plugintable thead{font-weight:bold;background:#DDD}#plugintable,#about #plugintable td{border:1px solid #919b9c}#plugintable{width:96%;margin-top:10px}#pluginscontainer{height:290px;overflow:auto}#colorpicker #preview{display:inline-block;padding-left:40px;height:14px;border:1px solid black;margin-left:5px;margin-right:5px}#colorpicker #previewblock{position:relative;top:-3px;padding-left:5px;padding-top:0;display:inline}#colorpicker #preview_wrapper{text-align:center;padding-top:4px;white-space:nowrap}#colorpicker #colors{float:left;border:1px solid gray;cursor:crosshair}#colorpicker #light{border:1px solid gray;margin-left:5px;float:left;width:15px;height:150px;cursor:crosshair}#colorpicker #light div{overflow:hidden}#colorpicker .panel_wrapper div.current{height:175px}#colorpicker #namedcolors{width:150px}#colorpicker #namedcolors a{display:block;float:left;width:10px;height:10px;margin:1px 1px 0 0;overflow:hidden}#colorpicker #colornamecontainer{margin-top:5px}#colorpicker #picker_panel fieldset{margin:auto;width:325px}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/tiny_mce_popup.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+var tinymce,tinyMCE;var tinyMCEPopup={init:function(){var a=this,d,c,b;d=a.getWin();tinymce=tinyMCE=d.tinymce;a.editor=tinymce.EditorManager.activeEditor;a.params=a.editor.windowManager.getParams();b=a.editor.windowManager.windows[a.editor.windowManager.windows.length-1];a.features=b.features;a.uiWindow=b;c=a.editor.settings;if(c.popup_css!==false){if(c.popup_css){c.popup_css=a.editor.documentBaseURI.toAbsolute(c.popup_css)}else{c.popup_css=a.editor.baseURI.toAbsolute("plugins/compat3x/css/dialog.css")}}if(c.popup_css_add){c.popup_css+=","+a.editor.documentBaseURI.toAbsolute(c.popup_css_add)}a.dom=a.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document,{ownEvents:true,proxy:tinyMCEPopup._eventProxy});a.dom.bind(window,"ready",a._onDOMLoaded,a);if(a.features.popup_css!==false){a.dom.loadCSS(a.features.popup_css||a.editor.settings.popup_css)}a.listeners=[];a.onInit={add:function(f,e){a.listeners.push({func:f,scope:e})}};a.isWindow=!a.getWindowArg("mce_inline");a.id=a.getWindowArg("mce_window_id")},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(b,a){var c=this.params[b];return tinymce.is(c)?c:a},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(c,b,d,a){a=a||{};a.skip_focus=1;this.restoreSelection();return this.editor.execCommand(c,b,d,a)},resizeToInnerSize:function(){},executeOnLoad:function(evil){this.onInit.add(function(){eval(evil)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var a=this,b=a.getWindowArg("plugin_url")||a.getWindowArg("theme_url"),c=a.editor.settings,d;if(c.language!==false){d=c.language||"en"}if(b&&d&&a.features.translate_i18n!==false&&c.language_load!==false){b+="/langs/"+d+"_dlg.js";if(!tinymce.ScriptLoader.isDone(b)){document.write('<script type="text/javascript" src="'+b+'"><\/script>');tinymce.ScriptLoader.markDone(b)}}},pickColor:function(d,a){var c=document.getElementById(a),b=this.editor.settings.color_picker_callback;if(b){b.call(this.editor,function(f){c.value=f;try{c.onchange()}catch(e){}},c.value)}},openBrowser:function(a,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,b,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var c=tinyMCEPopup,e=document.title,d,a;if(c.features.translate_i18n!==false){var f={update:"Ok",insert:"Ok",cancel:"Cancel",not_set:"--",class_name:"Class name",browse:"Browse"};var g=(tinymce.settings?tinymce.settings:c.editor.settings).language||"en";for(var b in f){tinymce.i18n.data[g+"."+b]=tinymce.i18n.translate(f[b])}d=document.body.innerHTML;if(tinymce.isIE){d=d.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=c.editor.getParam("directionality","");if((a=c.editor.translate(d))&&a!=d){document.body.innerHTML=a}if((a=c.editor.translate(e))&&a!=e){document.title=e=a}}if(!c.editor.getParam("browser_preferred_colors",false)||!c.isWindow){c.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.Env.ie){if(tinymce.Env.ie<11){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);c.dom.add(c.dom.select("head")[0],"base",{target:"_self"})}else{document.addEventListener("mouseup",tinyMCEPopup._restoreSelection,false)}}c.restoreSelection();c.resizeToInnerSize();if(!c.isWindow){c.editor.windowManager.setTitle(window,e)}else{window.focus()}if(!tinymce.isIE&&!c.isWindow){c.dom.bind(document,"focus",function(){c.editor.windowManager.focus(c.id)})}tinymce.each(c.dom.select("select"),function(h){h.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(c.listeners,function(h){h.func.call(h.scope,c.editor)});if(c.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(h){tinymce.each(h.elements,function(i){if(c.dom.hasClass(i,"mceFocus")&&!i.disabled){i.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler;if("textContent" in document){c.uiWindow.getEl("head").firstChild.textContent=document.title}else{c.uiWindow.getEl("head").firstChild.innerText=document.title}},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){var b=a.target||a.srcElement;if(b.onchange){b.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_eventProxy:function(a){return function(b){tinyMCEPopup.dom.events.callNativeHandler(a,b)}}};tinyMCEPopup.init();tinymce.util.Dispatcher=function(a){this.scope=a||this;this.listeners=[];this.add=function(c,b){this.listeners.push({cb:c,scope:b||this.scope});return c};this.addToTop=function(e,c){var b=this,d={cb:e,scope:c||b.scope};if(b.inDispatch){b.listeners=[d].concat(b.listeners)}else{b.listeners.unshift(d)}return e};this.remove=function(d){var c=this.listeners,b=null;tinymce.each(c,function(f,e){if(d==f.cb){b=f;c.splice(e,1);return false}});return b};this.dispatch=function(){var b=this,f,c=arguments,d,e=b.listeners,g;b.inDispatch=true;for(d=0;d<e.length;d++){g=e[d];f=g.cb.apply(g.scope,c.length>0?c:[g.scope]);if(f===false){break}}b.inDispatch=false;return f}};
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/utils/editable_selects.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+var TinyMCE_EditableSelects={editSelectElm:null,init:function(){var a=document.getElementsByTagName("select"),b,e=document,c;for(b=0;b<a.length;b++){if(a[b].className.indexOf("mceEditableSelect")!=-1){c=new Option(tinyMCEPopup.editor.translate("value"),"__mce_add_custom__");c.className="mceAddSelectValue";a[b].options[a[b].options.length]=c;a[b].onchange=TinyMCE_EditableSelects.onChangeEditableSelect}}},onChangeEditableSelect:function(c){var f=document,b,a=window.event?window.event.srcElement:c.target;if(a.options[a.selectedIndex].value=="__mce_add_custom__"){b=f.createElement("input");b.id=a.id+"_custom";b.name=a.name+"_custom";b.type="text";b.style.width=a.offsetWidth+"px";a.parentNode.insertBefore(b,a);a.style.display="none";b.focus();b.onblur=TinyMCE_EditableSelects.onBlurEditableSelectInput;b.onkeydown=TinyMCE_EditableSelects.onKeyDown;TinyMCE_EditableSelects.editSelectElm=a}},onBlurEditableSelectInput:function(){var a=TinyMCE_EditableSelects.editSelectElm;if(a){if(a.previousSibling.value!=""){addSelectValue(document.forms[0],a.id,a.previousSibling.value,a.previousSibling.value);selectByValue(document.forms[0],a.id,a.previousSibling.value)}else{selectByValue(document.forms[0],a.id,"")}a.style.display="inline";a.parentNode.removeChild(a.previousSibling);TinyMCE_EditableSelects.editSelectElm=null}},onKeyDown:function(a){a=a||window.event;if(a.keyCode==13){TinyMCE_EditableSelects.onBlurEditableSelectInput()}}};
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/utils/form_utils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+var themeBaseURL=tinyMCEPopup.editor.baseURI.toAbsolute("themes/"+tinyMCEPopup.getParam("theme"));function getColorPickerHTML(e,c){var a="",d=tinyMCEPopup.dom;if(label=d.select("label[for="+c+"]")[0]){label.id=label.id||d.uniqueId()}a+='<a role="button" aria-labelledby="'+e+'_label" id="'+e+'_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\''+c+'\');" onmousedown="return false;" class="pickcolor">';a+='<span id="'+e+'" title="'+tinyMCEPopup.getLang("browse")+'"> <span id="'+e+'_label" class="mceVoiceLabel mceIconOnly" style="display:none;">'+tinyMCEPopup.getLang("browse")+"</span></span></a>";return a}function updateColor(c,a){document.getElementById(c).style.backgroundColor=document.forms[0].elements[a].value}function setBrowserDisabled(e,c){var a=document.getElementById(e);var d=document.getElementById(e+"_link");if(d){if(c){d.setAttribute("realhref",d.getAttribute("href"));d.removeAttribute("href");tinyMCEPopup.dom.addClass(a,"disabled")}else{if(d.getAttribute("realhref")){d.setAttribute("href",d.getAttribute("realhref"))}tinyMCEPopup.dom.removeClass(a,"disabled")}}}function getBrowserHTML(i,f,e,h){var d=h+"_"+e+"_browser_callback",a,c;a=tinyMCEPopup.getParam(d,tinyMCEPopup.getParam("file_browser_callback"));if(!a){return""}c="";c+='<a id="'+i+'_link" href="javascript:openBrowser(\''+i+"','"+f+"', '"+e+"','"+d+'\');" onmousedown="return false;" class="browse">';c+='<span id="'+i+'" title="'+tinyMCEPopup.getLang("browse")+'"> </span></a>';return c}function openBrowser(c,f,e,d){var a=document.getElementById(c);if(a.className!="mceButtonDisabled"){tinyMCEPopup.openBrowser(f,e,d)}}function selectByValue(a,d,j,h,k){if(!a||!a.elements[d]){return}if(!j){j=""}var c=a.elements[d];var l=false;for(var e=0;e<c.options.length;e++){var f=c.options[e];if(f.value==j||(k&&f.value.toLowerCase()==j.toLowerCase())){f.selected=true;l=true}else{f.selected=false}}if(!l&&h&&j!=""){var f=new Option(j,j);f.selected=true;c.options[c.options.length]=f;c.selectedIndex=c.options.length-1}return l}function getSelectValue(a,c){var d=a.elements[c];if(d==null||d.options==null||d.selectedIndex===-1){return""}return d.options[d.selectedIndex].value}function addSelectValue(a,e,c,f){var d=a.elements[e];var h=new Option(c,f);d.options[d.options.length]=h}function addClassesToList(k,h){var d=document.getElementById(k);var e=tinyMCEPopup.getParam("theme_advanced_styles",false);e=tinyMCEPopup.getParam(h,e);if(e){var j=e.split(";");for(var c=0;c<j.length;c++){if(j!=""){var a,f;a=j[c].split("=")[0];f=j[c].split("=")[1];d.options[d.length]=new Option(a,f)}}}else{}}function isVisible(a){var c=document.getElementById(a);return c&&c.style.display!="none"}function convertRGBToHex(c){var d=new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)","gi");var a=c.replace(d,"$1,$2,$3").split(",");if(a.length==3){r=parseInt(a[0]).toString(16);g=parseInt(a[1]).toString(16);b=parseInt(a[2]).toString(16);r=r.length==1?"0"+r:r;g=g.length==1?"0"+g:g;b=b.length==1?"0"+b:b;return"#"+r+g+b}return c}function convertHexToRGB(a){if(a.indexOf("#")!=-1){a=a.replace(new RegExp("[^0-9A-F]","gi"),"");r=parseInt(a.substring(0,2),16);g=parseInt(a.substring(2,4),16);b=parseInt(a.substring(4,6),16);return"rgb("+r+","+g+","+b+")"}return a}function trimSize(a){return a.replace(/([0-9\.]+)(px|%|in|cm|mm|em|ex|pt|pc)/i,"$1$2")}function getCSSSize(a){a=trimSize(a);if(a==""){return""}if(/^[0-9]+$/.test(a)){a+="px"}else{if(!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(a))){return""}}return a}function getStyle(e,c,a){var d=tinyMCEPopup.dom.getAttrib(e,c);if(d!=""){return""+d}if(typeof(a)=="undefined"){a=c}return tinyMCEPopup.dom.getStyle(e,a)};
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/utils/mctabs.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+function MCTabs(){this.settings=[];this.onChange=tinyMCEPopup.editor.windowManager.createInstance("tinymce.util.Dispatcher")}MCTabs.prototype.init=function(a){this.settings=a};MCTabs.prototype.getParam=function(b,a){var c=null;c=(typeof(this.settings[b])=="undefined")?a:this.settings[b];if(c=="true"||c=="false"){return(c=="true")}return c};MCTabs.prototype.showTab=function(a){a.className="current";a.setAttribute("aria-selected",true);a.setAttribute("aria-expanded",true);a.tabIndex=0};MCTabs.prototype.hideTab=function(b){var a=this;b.className="";b.setAttribute("aria-selected",false);b.setAttribute("aria-expanded",false);b.tabIndex=-1};MCTabs.prototype.showPanel=function(a){a.className="current";a.setAttribute("aria-hidden",false)};MCTabs.prototype.hidePanel=function(a){a.className="panel";a.setAttribute("aria-hidden",true)};MCTabs.prototype.getPanelForTab=function(a){return tinyMCEPopup.dom.getAttrib(a,"aria-controls")};MCTabs.prototype.displayTab=function(e,b,g){var l,d,c,j,h,a,f,k=this;c=document.getElementById(e);if(b===undefined){b=k.getPanelForTab(c)}l=document.getElementById(b);d=l?l.parentNode:null;j=c?c.parentNode:null;h=k.getParam("selection_class","current");if(c&&j){a=j.childNodes;for(f=0;f<a.length;f++){if(a[f].nodeName=="LI"){k.hideTab(a[f])}}k.showTab(c)}if(l&&d){a=d.childNodes;for(f=0;f<a.length;f++){if(a[f].nodeName=="DIV"){k.hidePanel(a[f])}}if(!g){c.focus()}k.showPanel(l)}};MCTabs.prototype.getAnchor=function(){var b,a=document.location.href;if((b=a.lastIndexOf("#"))!=-1){return a.substring(b+1)}return""};var mcTabs=new MCTabs();tinyMCEPopup.onInit.add(function(){var a=tinyMCEPopup.getWin().tinymce,c=tinyMCEPopup.dom,b=a.each;b(c.select("div.tabs"),function(f){c.setAttrib(f,"role","tablist");var d=tinyMCEPopup.dom.select("li",f);var e=function(g){mcTabs.displayTab(g,mcTabs.getPanelForTab(g));mcTabs.onChange.dispatch(g)};b(d,function(g){c.setAttrib(g,"role","tab");c.bind(g,"click",function(h){e(g.id)})});c.bind(c.getRoot(),"keydown",function(g){if(g.keyCode===9&&g.ctrlKey&&!g.altKey){a.dom.Event.cancel(g)}});b(c.select("a",f),function(g){c.setAttrib(g,"tabindex","-1")})})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/compat3x/utils/validate.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+var Validator={isEmail:function(a){return this.test(a,"^[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&'*+\\/0-9=?A-Z^_`a-z{|}~]+.[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+$")},isAbsUrl:function(a){return this.test(a,"^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$")},isSize:function(a){return this.test(a,"^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)?$")},isId:function(a){return this.test(a,"^[A-Za-z_]([A-Za-z0-9_])*$")},isEmpty:function(c){var a,b;if(c.nodeName=="SELECT"&&c.selectedIndex<1){return true}if(c.type=="checkbox"&&!c.checked){return true}if(c.type=="radio"){for(b=0,a=c.form.elements;b<a.length;b++){if(a[b].type=="radio"&&a[b].name==c.name&&a[b].checked){return false}}return true}return new RegExp("^\\s*$").test(c.nodeType==1?c.value:c)},isNumber:function(a,b){return !isNaN(a.nodeType==1?a.value:a)&&(!b||!this.test(a,"^-?[0-9]*\\.[0-9]*$"))},test:function(a,b){a=a.nodeType==1?a.value:a;return a==""||new RegExp(b).test(a)}};var AutoValidator={settings:{id_cls:"id",int_cls:"int",url_cls:"url",number_cls:"number",email_cls:"email",size_cls:"size",required_cls:"required",invalid_cls:"invalid",min_cls:"min",max_cls:"max"},init:function(a){var b;for(b in a){this.settings[b]=a[b]}},validate:function(e){var b,a,d=this.settings,g=0;a=this.tags(e,"label");for(b=0;b<a.length;b++){this.removeClass(a[b],d.invalid_cls);a[b].setAttribute("aria-invalid",false)}g+=this.validateElms(e,"input");g+=this.validateElms(e,"select");g+=this.validateElms(e,"textarea");return g==3},invalidate:function(a){this.mark(a.form,a)},getErrorMessages:function(g){var a,d,k=this.settings,h,b,j,c=[],e=tinyMCEPopup.editor;a=this.tags(g,"label");for(d=0;d<a.length;d++){if(this.hasClass(a[d],k.invalid_cls)){h=document.getElementById(a[d].getAttribute("for"));j={field:a[d].textContent};if(this.hasClass(h,k.min_cls,true)){message=e.getLang("invalid_data_min");j.min=this.getNum(h,k.min_cls)}else{if(this.hasClass(h,k.number_cls)){message=e.getLang("invalid_data_number")}else{if(this.hasClass(h,k.size_cls)){message=e.getLang("invalid_data_size")}else{message=e.getLang("invalid_data")}}}message=message.replace(/{\#([^}]+)\}/g,function(i,f){return j[f]||"{#"+f+"}"});c.push(message)}}return c},reset:function(g){var d=["label","input","select","textarea"];var c,b,a,f=this.settings;if(g==null){return}for(c=0;c<d.length;c++){a=this.tags(g.form?g.form:g,d[c]);for(b=0;b<a.length;b++){this.removeClass(a[b],f.invalid_cls);a[b].setAttribute("aria-invalid",false)}}},validateElms:function(d,g){var a,c,b,l=this.settings,k=true,h=Validator,j;a=this.tags(d,g);for(c=0;c<a.length;c++){b=a[c];this.removeClass(b,l.invalid_cls);if(this.hasClass(b,l.required_cls)&&h.isEmpty(b)){k=this.mark(d,b)}if(this.hasClass(b,l.number_cls)&&!h.isNumber(b)){k=this.mark(d,b)}if(this.hasClass(b,l.int_cls)&&!h.isNumber(b,true)){k=this.mark(d,b)}if(this.hasClass(b,l.url_cls)&&!h.isAbsUrl(b)){k=this.mark(d,b)}if(this.hasClass(b,l.email_cls)&&!h.isEmail(b)){k=this.mark(d,b)}if(this.hasClass(b,l.size_cls)&&!h.isSize(b)){k=this.mark(d,b)}if(this.hasClass(b,l.id_cls)&&!h.isId(b)){k=this.mark(d,b)}if(this.hasClass(b,l.min_cls,true)){j=this.getNum(b,l.min_cls);if(isNaN(j)||parseInt(b.value)<parseInt(j)){k=this.mark(d,b)}}if(this.hasClass(b,l.max_cls,true)){j=this.getNum(b,l.max_cls);if(isNaN(j)||parseInt(b.value)>parseInt(j)){k=this.mark(d,b)}}}return k},hasClass:function(e,b,a){return new RegExp("\\b"+b+(a?"[0-9]+":"")+"\\b","g").test(e.className)},getNum:function(b,a){a=b.className.match(new RegExp("\\b"+a+"([0-9]+)\\b","g"))[0];a=a.replace(/[^0-9]/g,"");return a},addClass:function(f,e,a){var d=this.removeClass(f,e);f.className=a?e+(d!=""?(" "+d):""):(d!=""?(d+" "):"")+e},removeClass:function(b,a){a=b.className.replace(new RegExp("(^|\\s+)"+a+"(\\s+|$)")," ");return b.className=a!=" "?a:""},tags:function(b,a){return b.getElementsByTagName(a)},mark:function(b,c){var a=this.settings;this.addClass(c,a.invalid_cls);c.setAttribute("aria-invalid","true");this.markLabels(b,c,a.invalid_cls);return false},markLabels:function(d,e,a){var b,c;b=this.tags(d,"label");for(c=0;c<b.length;c++){if(b[c].getAttribute("for")==e.id||b[c].htmlFor==e.id){this.addClass(b[c],a)}}return null}};
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/classes/Clipboard.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/pasteplugin/Clipboard",["tinymce/Env","tinymce/dom/RangeUtils","tinymce/util/VK","tinymce/pasteplugin/Utils"],function(a,b,d,c){return function(i){var q=this,g,v,f=0,u=false;var j="%MCEPASTEBIN%",w;var k="data:text/mce-internal,";function s(C){var B,D=i.dom;B=i.fire("BeforePastePreProcess",{content:C});B=i.fire("PastePreProcess",B);C=B.content;if(!B.isDefaultPrevented()){if(i.hasEventListeners("PastePostProcess")&&!B.isDefaultPrevented()){var A=D.add(i.getBody(),"div",{style:"display:none"},C);B=i.fire("PastePostProcess",{node:A});D.remove(A);C=B.node.innerHTML}if(!B.isDefaultPrevented()){i.insertContent(C,{merge:i.settings.paste_merge_formats!==false})}}}function t(D){D=i.dom.encode(D).replace(/\r\n/g,"\n");var B=i.dom.getParent(i.selection.getStart(),i.dom.isBlock);var A=i.settings.forced_root_block;var C;if(A){C=i.dom.createHTML(A,i.settings.forced_root_block_attrs);C=C.substr(0,C.length-3)+">"}if((B&&/^(PRE|DIV)$/.test(B.nodeName))||!A){D=c.filter(D,[[/\n/g,"<br>"]])}else{D=c.filter(D,[[/\n\n/g,"</p>"+C],[/^(.*<\/p>)(<p>)$/,C+"$1"],[/\n/g,"<br />"]]);if(D.indexOf("<p>")!=-1){D=C+D}}s(D)}function l(){var C=i.dom,D=i.getBody();var E=i.dom.getViewPort(i.getWin()),B=E.y,G=20;var I;v=i.selection.getRng();if(i.inline){I=i.selection.getScrollContainer();if(I&&I.scrollTop>0){B=I.scrollTop}}function F(K){var L,N,M,J=K.startContainer;L=K.getClientRects();if(L.length){return L[0]}if(!K.collapsed||J.nodeType!=1){return}M=J.childNodes[v.startOffset];while(M&&M.nodeType==3&&!M.data.length){M=M.nextSibling}if(!M){return}if(M.tagName=="BR"){N=C.doc.createTextNode("\uFEFF");M.parentNode.insertBefore(N,M);K=C.createRng();K.setStartBefore(N);K.setEndAfter(N);L=K.getClientRects();C.remove(N)}if(L.length){return L[0]}}if(v.getClientRects){var H=F(v);if(H){G=B+(H.top-C.getPos(D).y)}else{G=B;var A=v.startContainer;if(A){if(A.nodeType==3&&A.parentNode!=D){A=A.parentNode}if(A.nodeType==1){G=C.getPos(A,I||D).y}}}}g=C.add(i.getBody(),"div",{id:"mcepastebin",contentEditable:true,"data-mce-bogus":"all",style:"position: absolute; top: "+G+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},j);if(a.ie||a.gecko){C.setStyle(g,"left",C.getStyle(D,"direction",true)=="rtl"?65535:-65535)}C.bind(g,"beforedeactivate focusin focusout",function(J){J.stopPropagation()});g.focus();i.selection.select(g,true)}function z(){if(g){var A;while((A=i.dom.get("mcepastebin"))){i.dom.remove(A);i.dom.unbind(A)}if(v){i.selection.setRng(v)}}g=v=null}function y(){var D="",B,C,E,A;B=i.dom.select("div[id=mcepastebin]");for(C=0;C<B.length;C++){E=B[C];if(E.firstChild&&E.firstChild.id=="mcepastebin"){E=E.firstChild}A=E.innerHTML;if(D!=j){D+=A}}return D}function n(C){var B={};if(C){if(C.getData){var E=C.getData("Text");if(E&&E.length>0){if(E.indexOf(k)==-1){B["text/plain"]=E}}}if(C.types){for(var A=0;A<C.types.length;A++){var D=C.types[A];B[D]=C.getData(D)}}}return B}function o(A){return n(A.clipboardData||i.getDoc().dataTransfer)}function m(D,B){var C=D.clipboardData||D.dataTransfer;function A(F){var H,I,E,J=false;function G(K){if(B){i.selection.setRng(B);B=null}s('<img src="'+K.result+'">')}if(F){for(H=0;H<F.length;H++){I=F[H];if(/^image\/(jpeg|png|gif|bmp)$/.test(I.type)){E=new FileReader();E.onload=G.bind(null,E);E.readAsDataURL(I.getAsFile?I.getAsFile():I);D.preventDefault();J=true}}}return J}if(i.settings.paste_data_images&&C){return A(C.items)||A(C.files)}}function r(A){var B=A.clipboardData;return navigator.userAgent.indexOf("Android")!=-1&&B&&B.items&&B.items.length===0}function e(A){return b.getCaretRangeFromPoint(A.clientX,A.clientY,i.getDoc())}function p(A,B){return B in A&&A[B].length>0}function x(A){return(d.metaKeyPressed(A)&&A.keyCode==86)||(A.shiftKey&&A.keyCode==45)}function h(){i.on("keydown",function(A){function B(C){if(x(C)&&!C.isDefaultPrevented()){z()}}if(x(A)&&!A.isDefaultPrevented()){w=A.shiftKey&&A.keyCode==86;if(w&&a.webkit&&navigator.userAgent.indexOf("Version/")!=-1){return}A.stopImmediatePropagation();f=new Date().getTime();if(a.ie&&w){A.preventDefault();i.fire("paste",{ieFake:true});return}z();l();i.once("keyup",B);i.once("paste",function(){i.off("keyup",B)})}});i.on("paste",function(E){var F=new Date().getTime();var D=o(E);var B=new Date().getTime()-F;var A=(new Date().getTime()-f-B)<1000;var C=q.pasteFormat=="text"||w;w=false;if(E.isDefaultPrevented()||r(E)){z();return}if(m(E)){z();return}if(!A){E.preventDefault()}if(a.ie&&(!A||E.ieFake)){l();i.dom.bind(g,"paste",function(G){G.stopPropagation()});i.getDoc().execCommand("Paste",false,null);D["text/html"]=y()}setTimeout(function(){var G;if(p(D,"text/html")){G=D["text/html"]}else{G=y();if(G==j){C=true}}G=c.trimHtml(G);if(g&&g.firstChild&&g.firstChild.id==="mcepastebin"){C=true}z();if(!G.length){C=true}if(C){if(p(D,"text/plain")&&G.indexOf("</p>")==-1){G=D["text/plain"]}else{G=c.innerText(G)}}if(G==j){if(!A){i.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")}return}if(C){t(G)}else{s(G)}},0)});i.on("dragstart dragend",function(A){u=A.type=="dragstart"});i.on("drop",function(D){var A=e(D);if(D.isDefaultPrevented()||u){return}if(m(D,A)){return}if(A&&i.settings.paste_filter_drop!==false){var B=n(D.dataTransfer);var C=B["mce-internal"]||B["text/html"]||B["text/plain"];if(C){D.preventDefault();i.undoManager.transact(function(){if(B["mce-internal"]){i.execCommand("Delete")}i.selection.setRng(A);C=c.trimHtml(C);if(!B["text/html"]){t(C)}else{s(C)}})}}});i.on("dragover dragend",function(A){if(i.settings.paste_data_images){A.preventDefault()}})}q.pasteHtml=s;q.pasteText=t;i.on("preInit",function(){h();i.parser.addNodeFilter("img",function(A){if(!i.settings.paste_data_images){var B=A.length;while(B--){var C=A[B].attributes.map.src;if(C&&/^(data:image|webkit\-fake\-url)/.test(C)){if(!A[B].attr("data-mce-object")&&C!==a.transparentSrc){A[B].remove()}}}}})})}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/classes/Plugin.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/pasteplugin/Plugin",["tinymce/PluginManager","tinymce/pasteplugin/Clipboard","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Quirks"],function(a,e,d,b){var c;a.add("paste",function(i){var g=this,j,h=i.settings;function f(){if(j.pasteFormat=="text"){this.active(false);j.pasteFormat="html"}else{j.pasteFormat="text";this.active(true);if(!c){i.windowManager.alert("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.");c=true}}}g.clipboard=j=new e(i);g.quirks=new b(i);g.wordFilter=new d(i);if(i.settings.paste_as_text){g.clipboard.pasteFormat="text"}if(h.paste_preprocess){i.on("PastePreProcess",function(k){h.paste_preprocess.call(g,g,k)})}if(h.paste_postprocess){i.on("PastePostProcess",function(k){h.paste_postprocess.call(g,g,k)})}i.addCommand("mceInsertClipboardContent",function(l,k){if(k.content){g.clipboard.pasteHtml(k.content)}if(k.text){g.clipboard.pasteText(k.text)}});if(i.paste_block_drop){i.on("dragend dragover draggesture dragdrop drop drag",function(k){k.preventDefault();k.stopPropagation()})}if(!i.settings.paste_data_images){i.on("drop",function(l){var k=l.dataTransfer;if(k&&k.files&&k.files.length>0){l.preventDefault()}})}i.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:f,active:g.clipboard.pasteFormat=="text"});i.addMenuItem("pastetext",{text:"Paste as text",selectable:true,active:j.pasteFormat,onclick:f})})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/classes/Quirks.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/pasteplugin/Quirks",["tinymce/Env","tinymce/util/Tools","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Utils"],function(a,b,d,c){return function(g){function h(i){g.on("BeforePastePreProcess",function(j){j.content=i(j.content)})}function f(i){if(!d.isWordContent(i)){return i}var j=[];b.each(g.schema.getBlockElements(),function(m,l){j.push(l)});var k=new RegExp("(?:<br> [\\s\\r\\n]+|<br>)*(<\\/?("+j.join("|")+")[^>]*>)(?:<br> [\\s\\r\\n]+|<br>)*","g");i=c.filter(i,[[k,"$1"]]);i=c.filter(i,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]]);return i}function e(k){if(d.isWordContent(k)){return k}var i=g.settings.paste_webkit_styles;if(g.settings.paste_remove_styles_if_webkit===false||i=="all"){return k}if(i){i=i.split(/[, ]/)}if(i){var l=g.dom,j=g.selection.getNode();k=k.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(t,r,s,m){var n=l.parseStyle(s,"span"),q={};if(i==="none"){return r+m}for(var p=0;p<i.length;p++){var o=n[i[p]],u=l.getStyle(j,i[p],true);if(/color/.test(i[p])){o=l.toHex(o);u=l.toHex(u)}if(u!=o){q[i[p]]=o}}q=l.serializeStyle(q,"span");if(q){return r+' style="'+q+'"'+m}return r+m})}else{k=k.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3")}k=k.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(m,o,n,p){return o+' style="'+n+'"'+p});return k}if(a.webkit){h(e)}if(a.ie){h(f)}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/classes/Utils.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/pasteplugin/Utils",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema"],function(a,f,d){function c(h,g){a.each(g,function(i){if(i.constructor==RegExp){h=h.replace(i,"")}else{h=h.replace(i[0],i[1])}});return h}function e(j){var l=new d(),n=new f({},l),m="";var i=l.getShortEndedElements();var h=a.makeMap("script noscript style textarea video audio iframe object"," ");var k=l.getBlockElements();function g(q){var o=q.name,p=q;if(o==="br"){m+="\n";return}if(i[o]){m+=" "}if(h[o]){m+=" ";return}if(q.type==3){m+=q.value}if(!q.shortEnded){if((q=q.firstChild)){do{g(q)}while((q=q.next))}}if(k[o]&&p.next){m+="\n";if(o=="p"){m+="\n"}}}j=c(j,[/<!\[[^\]]+\]>/g]);g(n.parse(j));return m}function b(g){function h(k,j,i){if(!j&&!i){return" "}return"\u00a0"}g=c(g,[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/g,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,h],/<br>$/i]);return g}return{filter:c,innerText:e,trimHtml:b}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/classes/WordFilter.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/pasteplugin/WordFilter",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema","tinymce/html/Serializer","tinymce/html/Node","tinymce/pasteplugin/Utils"],function(a,j,d,f,e,c){function i(k){return((/<font face="Times New Roman"|class="?Mso|style="[^"]*\bmso-|style='[^'']*\bmso-|w:WordDocument/i).test(k)||(/class="OutlineElement/).test(k)||(/id="?docs\-internal\-guid\-/.test(k)))}function b(m){var l,k;k=[/^[IVXLMCD]{1,2}\.[ \u00a0]/,/^[ivxlmcd]{1,2}\.[ \u00a0]/,/^[a-z]{1,2}[\.\)][ \u00a0]/,/^[A-Z]{1,2}[\.\)][ \u00a0]/,/^[0-9]+\.[ \u00a0]/,/^[\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]+\.[ \u00a0]/,/^[\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d\u62fe]+\.[ \u00a0]/];m=m.replace(/^[\u00a0 ]+/,"");a.each(k,function(n){if(n.test(m)){l=true;return false}});return l}function g(k){return/^[\s\u00a0]*[\u2022\u00b7\u00a7\u25CF]\s*/.test(k)}function h(l){var k=l.settings;l.on("BeforePastePreProcess",function(s){var u=s.content,t,p;u=u.replace(/<b[^>]+id="?docs-internal-[^>]*>/gi,"");u=u.replace(/<br class="?Apple-interchange-newline"?>/gi,"");t=k.paste_retain_style_properties;if(t){p=a.makeMap(t.split(/[, ]/))}function r(C){var z,I,x=1;function H(L){var K="";if(L.type===3){return L.value}if((L=L.firstChild)){do{K+=H(L)}while((L=L.next))}return K}function F(L,K){if(L.type===3){if(K.test(L.value)){L.value=L.value.replace(K,"");return false}}if((L=L.firstChild)){do{if(!F(L,K)){return false}}while((L=L.next))}return true}function B(K){if(K._listIgnore){K.remove();return}if((K=K.firstChild)){do{B(K)}while((K=K.next))}}function J(K,L,N){var M=K._listLevel||x;if(M!=x){if(M<x){if(z){z=z.parent.parent}}else{I=z;z=null}}if(!z||z.name!=L){I=I||z;z=new e(L,1);if(N>1){z.attr("start",""+N)}K.wrap(z)}else{z.append(K)}K.name="li";if(M>x&&I){I.lastChild.append(z)}x=M;B(K);F(K,/^\u00a0+/);F(K,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/);F(K,/^\u00a0+/)}var w=[],A=C.firstChild;while(typeof A!=="undefined"&&A!==null){w.push(A);A=A.walk();if(A!==null){while(typeof A!=="undefined"&&A.parent!==C){A=A.walk()}}}for(var D=0;D<w.length;D++){C=w[D];if(C.name=="p"&&C.firstChild){var G=H(C);if(g(G)){J(C,"ul");continue}if(b(G)){var E=/([0-9]+)\./.exec(G);var y=1;if(E){y=parseInt(E[1],10)}J(C,"ol",y);continue}if(C._listLevel){J(C,"ul",1);continue}z=null}else{I=z;z=null}}}function m(y,w){var A={},z,x=l.dom.parseStyle(w);a.each(x,function(C,B){switch(B){case"mso-list":z=/\w+ \w+([0-9]+)/i.exec(w);if(z){y._listLevel=parseInt(z[1],10)}if(/Ignore/i.test(C)&&y.firstChild){y._listIgnore=true;y.firstChild._listIgnore=true}break;case"horiz-align":B="text-align";break;case"vert-align":B="vertical-align";break;case"font-color":case"mso-foreground":B="color";break;case"mso-background":case"mso-highlight":B="background";break;case"font-weight":case"font-style":if(C!="normal"){A[B]=C}return;case"mso-element":if(/^(comment|comment-list)$/i.test(C)){y.remove();return}break}if(B.indexOf("mso-comment")===0){y.remove();return}if(B.indexOf("mso-")===0){return}if(t=="all"||(p&&p[B])){A[B]=C}});if(/(bold)/i.test(A["font-weight"])){delete A["font-weight"];y.wrap(new e("b",1))}if(/(italic)/i.test(A["font-style"])){delete A["font-style"];y.wrap(new e("i",1))}A=l.dom.serializeStyle(A,y.name);if(A){return A}return null}if(k.paste_enable_default_filters===false){return}if(i(s.content)){s.wordContent=true;u=c.filter(u,[/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\u00a0"],[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(x,w){return(w.length>0)?w.replace(/./," ").slice(Math.floor(w.length/2)).split("").join("\u00a0"):""}]]);var n=k.paste_word_valid_elements;if(!n){n=("-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody")}var q=new d({valid_elements:n,valid_children:"-li[p]"});a.each(q.elements,function(w){if(!w.attributes["class"]){w.attributes["class"]={};w.attributesOrder.push("class")}if(!w.attributes.style){w.attributes.style={};w.attributesOrder.push("style")}});var v=new j({},q);v.addAttributeFilter("style",function(w){var x=w.length,y;while(x--){y=w[x];y.attr("style",m(y,y.attr("style")));if(y.name=="span"&&y.parent&&!y.attributes.length){y.unwrap()}}});v.addAttributeFilter("class",function(w){var x=w.length,z,y;while(x--){z=w[x];y=z.attr("class");if(/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(y)){z.remove()}z.attr("class",null)}});v.addNodeFilter("del",function(w){var x=w.length;while(x--){w[x].remove()}});v.addNodeFilter("a",function(x){var z=x.length,A,w,y;while(z--){A=x[z];w=A.attr("href");y=A.attr("name");if(w&&w.indexOf("#_msocom_")!=-1){A.remove();continue}if(w&&w.indexOf("file://")===0){w=w.split("#")[1];if(w){w="#"+w}}if(!w&&!y){A.unwrap()}else{if(y&&!/^_?(?:toc|edn|ftn)/i.test(y)){A.unwrap();continue}A.attr({href:w,name:y})}}});var o=v.parse(u);if(k.paste_convert_word_fake_lists!==false){r(o)}s.content=new f({},q).serialize(o)}})}h.isWordContent=i;return h});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/paste/plugin.dev.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+(function(g){var k="",l;var e={},q=[],d=0;var f=document.getElementsByTagName("script");for(var h=0;h<f.length;h++){var a=f[h].src;if(a.indexOf("/plugin.dev.js")!=-1){l=a.substring(0,a.lastIndexOf("/"))}}function c(u,v){var t,r=[];for(var s=0;s<u.length;++s){t=e[u[s]]||p(u[s]);if(!t){throw"module definition dependecy not found: "+u[s]}r.push(t)}v.apply(null,r)}function p(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length;++s){if(!r[i[s]]){return}r=r[i[s]]}return r}function o(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length-1;++s){if(r[i[s]]===undefined){r[i[s]]={}}r=r[i[s]]}r[i[i.length-1]]=e[t]}function j(u,t,s){if(typeof u!=="string"){throw"invalid module definition, module id must be defined and be a string"}if(t===undefined){throw"invalid module definition, dependencies must be specified"}if(s===undefined){throw"invalid module definition, definition function must be specified"}c(t,function(){e[u]=s.apply(null,arguments)});if(--d===0){for(var r=0;r<q.length;r++){o(q[r])}}}function b(i){q=i}function n(){document.write(k)}function m(i){k+='<script type="text/javascript" src="'+l+"/"+i+'"><\/script>\n';d++}g.define=j;g.require=c;b(["tinymce/pasteplugin/Utils"]);m("classes/Utils.js");m("classes/Clipboard.js");m("classes/WordFilter.js");m("classes/Quirks.js");m("classes/Plugin.js");n()})(this);
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/spellchecker/classes/DomTextMatcher.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/spellcheckerplugin/DomTextMatcher",[],function(){return function(u,e){var t,c=[],j,y=e.dom;var q,k,w;q=e.schema.getBlockElements();k=e.schema.getWhiteSpaceElements();w=e.schema.getShortEndedElements();function x(C,D){if(!C[0]){throw"findAndReplaceDOMText cannot handle zero-length matches"}return{start:C.index,end:C.index+C[0].length,text:C[0],data:D}}function a(C){var m;if(C.nodeType===3){return C.data}if(k[C.nodeName]&&!q[C.nodeName]){return""}m="";if(q[C.nodeName]||w[C.nodeName]){m+="\n"}if((C=C.firstChild)){do{m+=a(C)}while((C=C.nextSibling))}return m}function z(E,G,K){var C,J,H,D,L=[],I=0,F=E,m,M=0;G=G.slice(0);G.sort(function(O,N){return O.start-N.start});m=G.shift();out:while(true){if(q[F.nodeName]||w[F.nodeName]){I++}if(F.nodeType===3){if(!J&&F.length+I>=m.end){J=F;D=m.end-I}else{if(C){L.push(F)}}if(!C&&F.length+I>m.start){C=F;H=m.start-I}I+=F.length}if(C&&J){F=K({startNode:C,startNodeIndex:H,endNode:J,endNodeIndex:D,innerNodes:L,match:m.text,matchIndex:M});I-=(J.length-D);C=null;J=null;L=[];m=G.shift();M++;if(!m){break}}else{if((!k[F.nodeName]||q[F.nodeName])&&F.firstChild){F=F.firstChild;continue}else{if(F.nextSibling){F=F.nextSibling;continue}}}while(true){if(F.nextSibling){F=F.nextSibling;break}else{if(F.parentNode!==E){F=F.parentNode}else{break out}}}}}function n(C){function m(F,D){var E=c[D];if(!E.stencil){E.stencil=C(E)}var G=E.stencil.cloneNode(false);G.setAttribute("data-mce-index",D);if(F){G.appendChild(y.doc.createTextNode(F))}return G}return function(J){var Q,D,K,F=J.startNode,M=J.endNode,R=J.matchIndex,S=y.doc;if(F===M){var G=F;K=G.parentNode;if(J.startNodeIndex>0){Q=S.createTextNode(G.data.substring(0,J.startNodeIndex));K.insertBefore(Q,G)}var E=m(J.match,R);K.insertBefore(E,G);if(J.endNodeIndex<G.length){D=S.createTextNode(G.data.substring(J.endNodeIndex));K.insertBefore(D,G)}G.parentNode.removeChild(G);return E}else{Q=S.createTextNode(F.data.substring(0,J.startNodeIndex));D=S.createTextNode(M.data.substring(J.endNodeIndex));var O=m(F.data.substring(J.startNodeIndex),R);var N=[];for(var I=0,H=J.innerNodes.length;I<H;++I){var T=J.innerNodes[I];var P=m(T.data,R);T.parentNode.replaceChild(P,T);N.push(P)}var L=m(M.data.substring(0,J.endNodeIndex),R);K=F.parentNode;K.insertBefore(Q,F);K.insertBefore(O,F);K.removeChild(F);K=M.parentNode;K.insertBefore(L,M);K.insertBefore(D,M);K.removeChild(M);return L}}}function f(C){var m=C.parentNode;m.insertBefore(C.firstChild,C);C.parentNode.removeChild(C)}function v(m){var G=u.getElementsByTagName("*"),F=[];m=typeof m=="number"?""+m:null;for(var E=0;E<G.length;E++){var D=G[E],C=D.getAttribute("data-mce-index");if(C!==null&&C.length){if(C===m||m===null){F.push(D)}}}return F}function b(m){var C=c.length;while(C--){if(c[C]===m){return C}}return -1}function i(C){var m=[];d(function(D,E){if(C(D,E)){m.push(D)}});c=m;return this}function d(D){for(var C=0,m=c.length;C<m;C++){if(D(c[C],C)===false){break}}return this}function h(m){if(c.length){z(u,c,n(m))}return this}function p(m,C){if(j&&m.global){while((t=m.exec(j))){c.push(x(t,C))}}return this}function s(m){var C,D=v(m?b(m):null);C=D.length;while(C--){f(D[C])}return this}function r(m){return c[m.getAttribute("data-mce-index")]}function l(m){return v(b(m))[0]}function o(D,m,C){c.push({start:D,end:D+m,text:j.substr(D,m),data:C});return this}function g(C){var D=v(b(C));var m=e.dom.createRng();m.setStartBefore(D[0]);m.setEndAfter(D[D.length-1]);return m}function A(C,D){var m=g(C);m.deleteContents();if(D.length>0){m.insertNode(e.dom.doc.createTextNode(D))}return m}function B(){c.splice(0,c.length);s();return this}j=a(u);return{text:j,matches:c,each:d,filter:i,reset:B,matchFromElement:r,elementFromMatch:l,find:p,add:o,wrap:h,unwrap:s,replace:A,rangeFromMatch:g,indexOf:b}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/spellchecker/classes/Plugin.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/spellcheckerplugin/Plugin",["tinymce/spellcheckerplugin/DomTextMatcher","tinymce/PluginManager","tinymce/util/Tools","tinymce/ui/Menu","tinymce/dom/DOMUtils","tinymce/util/XHR","tinymce/util/URI","tinymce/util/JSON"],function(h,c,b,e,f,d,a,g){c.add("spellchecker",function(j,m){var r,s=this,I,i,z,E=j.settings;var F;function H(){if(!s.textMatcher){s.textMatcher=new h(j.getBody(),j)}return s.textMatcher}function A(L,J){var K=[];b.each(J,function(M){K.push({selectable:true,text:M.name,data:M.value})});return K}var B=E.spellchecker_languages||"English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr_FR,German=de,Italian=it,Polish=pl,Portuguese=pt_BR,Spanish=es,Swedish=sv";r=A("Language",b.map(B.split(","),function(J){J=J.split("=");return{name:J[0],value:J[1]}}));function q(K){for(var J in K){return false}return true}function k(O,M){var L=[],J=I[O];b.each(J,function(Q){L.push({text:Q,onclick:function(){j.insertContent(j.dom.encode(Q));j.dom.remove(M);C()}})});L.push({text:"-"});if(F){L.push({text:"Add to Dictionary",onclick:function(){n(O,M)}})}L.push.apply(L,[{text:"Ignore",onclick:function(){u(O,M)}},{text:"Ignore all",onclick:function(){u(O,M,true)}}]);z=new e({items:L,context:"contextmenu",onautohide:function(Q){if(Q.target.className.indexOf("spellchecker")!=-1){Q.preventDefault()}},onhide:function(){z.remove();z=null}});z.renderTo(document.body);var P=f.DOM.getPos(j.getContentAreaContainer());var N=j.dom.getPos(M[0]);var K=j.dom.getRoot();if(K.nodeName=="BODY"){N.x-=K.ownerDocument.documentElement.scrollLeft||K.scrollLeft;N.y-=K.ownerDocument.documentElement.scrollTop||K.scrollTop}else{N.x-=K.scrollLeft;N.y-=K.scrollTop}P.x+=N.x;P.y+=N.y;z.moveTo(P.x,P.y+M[0].offsetHeight)}function y(){return j.getParam("spellchecker_wordchar_pattern")||new RegExp('[^\\s!"#$%&()*+,-./:;<=>?@[\\]^_{|}`\u00a7\u00a9\u00ab\u00ae\u00b1\u00b6\u00b7\u00b8\u00bb\u00bc\u00bd\u00be\u00bf\u00d7\u00f7\u00a4\u201d\u201c\u201e\u00a0\u2002\u2003\u2009]+',"g")}function l(O,N,K,L){var M={method:O},J="";if(O=="spellcheck"){M.text=N;M.lang=E.spellchecker_language}if(O=="addToDictionary"){M.word=N}b.each(M,function(Q,P){if(J){J+="&"}J+=P+"="+encodeURIComponent(Q)});d.send({url:new a(m).toAbsolute(E.spellchecker_rpc_url),type:"post",content_type:"application/x-www-form-urlencoded",data:J,success:function(P){P=g.parse(P);if(!P){L("Sever response wasn't proper JSON.")}else{if(P.error){L(P.error)}else{K(P)}}},error:function(P,Q){L("Spellchecker request error: "+Q.status)}})}function D(M,N,J,L){var K=E.spellchecker_callback||l;K.call(s,M,N,J,L)}function G(){if(i){x();return}else{x()}function J(K){j.windowManager.alert(K);j.setProgressState(false);x()}j.setProgressState(true);D("spellcheck",H().text,t,J);j.focus()}function C(){if(!j.dom.select("span.mce-spellchecker-word").length){x()}}function n(K,J){j.setProgressState(true);D("addToDictionary",K,function(){j.setProgressState(false);j.dom.remove(J,true);C()},function(L){j.windowManager.alert(L);j.setProgressState(false)})}function u(L,J,K){j.selection.collapse();if(K){b.each(j.dom.select("span.mce-spellchecker-word"),function(M){if(M.getAttribute("data-mce-word")==L){j.dom.remove(M,true)}})}else{j.dom.remove(J,true)}C()}function x(){H().reset();s.textMatcher=null;if(i){i=false;j.fire("SpellcheckEnd")}}function p(K){var J=K.getAttribute("data-mce-index");if(typeof J=="number"){return""+J}return J}function o(K){var J,M=[];J=b.toArray(j.getBody().getElementsByTagName("span"));if(J.length){for(var L=0;L<J.length;L++){var N=p(J[L]);if(N===null||!N.length){continue}if(N===K.toString()){M.push(J[L])}}}return M}j.on("click",function(M){var L=M.target;if(L.className=="mce-spellchecker-word"){M.preventDefault();var K=o(p(L));if(K.length>0){var J=j.dom.createRng();J.setStartBefore(K[0]);J.setEndAfter(K[K.length-1]);j.selection.setRng(J);k(L.getAttribute("data-mce-word"),K)}}});j.addMenuItem("spellchecker",{text:"Spellcheck",context:"tools",onclick:G,selectable:true,onPostRender:function(){var J=this;J.active(i);j.on("SpellcheckStart SpellcheckEnd",function(){J.active(i)})}});function w(K){var J=E.spellchecker_language;K.control.items().each(function(L){L.active(L.settings.data===J)})}function t(K){var J;if(K.words){F=!!K.dictionary;J=K.words}else{J=K}j.setProgressState(false);if(q(J)){j.windowManager.alert("No misspellings found");i=false;return}I=J;H().find(y()).filter(function(L){return !!J[L.text]}).wrap(function(L){return j.dom.create("span",{"class":"mce-spellchecker-word","data-mce-bogus":1,"data-mce-word":L.text})});i=true;j.fire("SpellcheckStart")}var v={tooltip:"Spellcheck",onclick:G,onPostRender:function(){var J=this;j.on("SpellcheckStart SpellcheckEnd",function(){J.active(i)})}};if(r.length>1){v.type="splitbutton";v.menu=r;v.onshow=w;v.onselect=function(J){E.spellchecker_language=J.control.settings.data}}j.addButton("spellchecker",v);j.addCommand("mceSpellCheck",G);j.on("remove",function(){if(z){z.remove();z=null}});j.on("change",C);this.getTextMatcher=H;this.getWordCharPattern=y;this.markErrors=t;this.getLanguage=function(){return E.spellchecker_language};E.spellchecker_language=E.spellchecker_language||E.language||"en"})});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/spellchecker/plugin.dev.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+(function(g){var k="",l;var e={},q=[],d=0;var f=document.getElementsByTagName("script");for(var h=0;h<f.length;h++){var a=f[h].src;if(a.indexOf("/plugin.dev.js")!=-1){l=a.substring(0,a.lastIndexOf("/"))}}function c(u,v){var t,r=[];for(var s=0;s<u.length;++s){t=e[u[s]]||p(u[s]);if(!t){throw"module definition dependecy not found: "+u[s]}r.push(t)}v.apply(null,r)}function p(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length;++s){if(!r[i[s]]){return}r=r[i[s]]}return r}function o(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length-1;++s){if(r[i[s]]===undefined){r[i[s]]={}}r=r[i[s]]}r[i[i.length-1]]=e[t]}function j(u,t,s){if(typeof u!=="string"){throw"invalid module definition, module id must be defined and be a string"}if(t===undefined){throw"invalid module definition, dependencies must be specified"}if(s===undefined){throw"invalid module definition, definition function must be specified"}c(t,function(){e[u]=s.apply(null,arguments)});if(--d===0){for(var r=0;r<q.length;r++){o(q[r])}}}function b(i){q=i}function n(){document.write(k)}function m(i){k+='<script type="text/javascript" src="'+l+"/"+i+'"><\/script>\n';d++}g.define=j;g.require=c;b(["tinymce/spellcheckerplugin/DomTextMatcher"]);m("classes/DomTextMatcher.js");m("classes/Plugin.js");n()})(this);
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/classes/CellSelection.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/tableplugin/CellSelection",["tinymce/tableplugin/TableGrid","tinymce/dom/TreeWalker","tinymce/util/Tools"],function(b,c,a){return function(h){var f=h.dom,k,j,e,l=true,i;function g(m){h.getBody().style.webkitUserSelect="";if(m||l){h.dom.removeClass(h.dom.select("td.mce-item-selected,th.mce-item-selected"),"mce-item-selected");l=false}}function d(q){var o,n,p=q.target;if(i){return}if(j&&(k||p!=j)&&(p.nodeName=="TD"||p.nodeName=="TH")){n=f.getParent(p,"table");if(n==e){if(!k){k=new b(h,n);k.setStartCell(j);h.getBody().style.webkitUserSelect="none"}k.setEndCell(p);l=true}o=h.selection.getSel();try{if(o.removeAllRanges){o.removeAllRanges()}else{o.empty()}}catch(m){}q.preventDefault()}}h.on("MouseDown",function(m){if(m.button!=2&&!i){g();j=f.getParent(m.target,"td,th");e=f.getParent(j,"table")}});h.on("mouseover",d);h.on("remove",function(){f.unbind(h.getDoc(),"mouseover",d)});h.on("MouseUp",function(){var n,r=h.selection,m,s,q,p;function o(t,v){var u=new c(t,t);do{if(t.nodeType==3&&a.trim(t.nodeValue).length!==0){if(v){n.setStart(t,0)}else{n.setEnd(t,t.nodeValue.length)}return}if(t.nodeName=="BR"){if(v){n.setStartBefore(t)}else{n.setEndBefore(t)}return}}while((t=(v?u.next():u.prev())))}if(j){if(k){h.getBody().style.webkitUserSelect=""}m=f.select("td.mce-item-selected,th.mce-item-selected");if(m.length>0){n=f.createRng();q=m[0];n.setStartBefore(q);n.setEndAfter(q);o(q,1);s=new c(q,f.getParent(m[0],"table"));do{if(q.nodeName=="TD"||q.nodeName=="TH"){if(!f.hasClass(q,"mce-item-selected")){break}p=q}}while((q=s.next()));o(p);r.setRng(n)}h.nodeChanged();j=k=e=null}});h.on("KeyUp Drop SetContent",function(m){g(m.type=="setcontent");j=k=e=null;i=false});h.on("ObjectResizeStart ObjectResized",function(m){i=m.type!="objectresized"});return{clear:g}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/classes/Dialogs.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/tableplugin/Dialogs",["tinymce/util/Tools","tinymce/Env"],function(b,a){var c=b.each;return function(f){var o=this;function i(){var p=f.settings.color_picker_callback;if(p){return function(){var q=this;p.call(f,function(r){q.value(r).fire("change")},q.value())}}}function l(p){return{title:"Advanced",type:"form",defaults:{onchange:function(){n(p,this.parents().reverse()[0],this.name()=="style")}},items:[{label:"Style",name:"style",type:"textbox"},{type:"form",padding:0,formItemDefaults:{layout:"grid",alignH:["start","right"]},defaults:{size:7},items:[{label:"Border color",type:"colorbox",name:"borderColor",onaction:i()},{label:"Background color",type:"colorbox",name:"backgroundColor",onaction:i()}]}]}}function e(p){return p?p.replace(/px$/,""):""}function m(p){if(/^[0-9]+$/.test(p)){p+="px"}return p}function k(p){c("left center right".split(" "),function(q){f.formatter.remove("align"+q,{},p)})}function g(p){c("top middle bottom".split(" "),function(q){f.formatter.remove("valign"+q,{},p)})}function h(r,p,s){function q(u,t){t=t||[];b.each(u,function(w){var v={text:w.text||w.title};if(w.menu){v.menu=q(w.menu)}else{v.value=w.value;if(p){p(v)}}t.push(v)});return t}return q(r,s||[])}function n(t,s,p){var r=s.toJSON();var q=t.parseStyle(r.style);if(p){s.find("#borderColor").value(q["border-color"]||"")[0].fire("change");s.find("#backgroundColor").value(q["background-color"]||"")[0].fire("change")}else{q["border-color"]=r.borderColor;q["background-color"]=r.backgroundColor}s.find("#style").value(t.serializeStyle(t.parseStyle(t.serializeStyle(q))))}function d(r,q,s){var p=r.parseStyle(r.getAttrib(s,"style"));if(p["border-color"]){q.borderColor=p["border-color"]}if(p["background-color"]){q.backgroundColor=p["background-color"]}q.style=r.serializeStyle(p)}function j(r,s,q){var p=r.parseStyle(r.getAttrib(s,"style"));c(q,function(t){p[t.name]=t.value});r.setAttrib(s,"style",r.serializeStyle(r.parseStyle(r.serializeStyle(p))))}o.tableProps=function(){o.table(true)};o.table=function(t){var q=f.dom,v,x,u,p,s={},y,r;function z(){function B(F,C,E){if(F.tagName==="TD"||F.tagName==="TH"){q.setStyle(F,C,E)}else{if(F.children){for(var D=0;D<F.children.length;D++){B(F.children[D],C,E)}}}}var A;n(q,this);s=b.extend(s,this.toJSON());if(s["class"]===false){delete s["class"]}f.undoManager.transact(function(){if(!v){v=f.plugins.table.insertTable(s.cols||1,s.rows||1)}f.dom.setAttribs(v,{style:s.style,"class":s["class"]});if(f.settings.table_style_by_css){r=[];r.push({name:"border",value:s.border});r.push({name:"border-spacing",value:m(s.cellspacing)});j(q,v,r);q.setAttribs(v,{"data-mce-border-color":s.borderColor,"data-mce-cell-padding":s.cellpadding,"data-mce-border":s.border});if(v.children){for(var C=0;C<v.children.length;C++){B(v.children[C],"border",s.border);B(v.children[C],"padding",m(s.cellpadding))}}}else{f.dom.setAttribs(v,{border:s.border,cellpadding:s.cellpadding,cellspacing:s.cellspacing})}if(q.getAttrib(v,"width")&&!f.settings.table_style_by_css){q.setAttrib(v,"width",e(s.width))}else{q.setStyle(v,"width",m(s.width))}q.setStyle(v,"height",m(s.height));A=q.select("caption",v)[0];if(A&&!s.caption){q.remove(A)}if(!A&&s.caption){A=q.create("caption");A.innerHTML=!a.ie?'<br data-mce-bogus="1"/>':"\u00a0";v.insertBefore(A,v.firstChild)}k(v);if(s.align){f.formatter.apply("align"+s.align,{},v)}f.focus();f.addVisual()})}function w(E,C){var B=f.dom.select("td,th",E),D;function A(I,H){for(var G=0;G<H.length;G++){var F=q.getStyle(H[G],C);if(typeof I==="undefined"){I=F}if(I!=F){return""}}return I}D=A(D,B);return D}if(t===true){v=q.getParent(f.selection.getStart(),"table");if(v){s={width:e(q.getStyle(v,"width")||q.getAttrib(v,"width")),height:e(q.getStyle(v,"height")||q.getAttrib(v,"height")),cellspacing:e(q.getStyle(v,"border-spacing")||q.getAttrib(v,"cellspacing")),cellpadding:q.getAttrib(v,"data-mce-cell-padding")||q.getAttrib(v,"cellpadding")||w(v,"padding"),border:q.getAttrib(v,"data-mce-border")||q.getAttrib(v,"border")||w(v,"border"),borderColor:q.getAttrib(v,"data-mce-border-color"),caption:!!q.select("caption",v)[0],"class":q.getAttrib(v,"class")};c("left center right".split(" "),function(A){if(f.formatter.matchNode(v,"align"+A)){s.align=A}})}}else{x={label:"Cols",name:"cols"};u={label:"Rows",name:"rows"}}if(f.settings.table_class_list){if(s["class"]){s["class"]=s["class"].replace(/\s*mce\-item\-table\s*/g,"")}p={name:"class",type:"listbox",label:"Class",values:h(f.settings.table_class_list,function(A){if(A.value){A.textStyle=function(){return f.formatter.getCssText({block:"table",classes:[A.value]})}}})}}y={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",labelGapCalc:false,padding:0,layout:"grid",columns:2,defaults:{type:"textbox",maxWidth:50},items:(f.settings.table_appearance_options!==false)?[x,u,{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell spacing",name:"cellspacing"},{label:"Cell padding",name:"cellpadding"},{label:"Border",name:"border"},{label:"Caption",name:"caption",type:"checkbox"}]:[x,u,{label:"Width",name:"width"},{label:"Height",name:"height"}]},{label:"Alignment",name:"align",type:"listbox",text:"None",values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},p]};if(f.settings.table_advtab!==false){d(q,s,v);f.windowManager.open({title:"Table properties",data:s,bodyType:"tabpanel",body:[{title:"General",type:"form",items:y},l(q)],onsubmit:z})}else{f.windowManager.open({title:"Table properties",data:s,body:y,onsubmit:z})}};o.merge=function(q,p){f.windowManager.open({title:"Merge cells",body:[{label:"Cols",name:"cols",type:"textbox",value:"1",size:10},{label:"Rows",name:"rows",type:"textbox",value:"1",size:10}],onsubmit:function(){var r=this.toJSON();f.undoManager.transact(function(){q.merge(p,r.cols,r.rows)})}})};o.cell=function(){var v=f.dom,r,u,s,p=[];function t(){n(v,this);u=b.extend(u,this.toJSON());f.undoManager.transact(function(){c(p,function(w){f.dom.setAttribs(w,{scope:u.scope,style:u.style,"class":u["class"]});f.dom.setStyles(w,{width:m(u.width),height:m(u.height)});if(u.type&&w.nodeName.toLowerCase()!=u.type){w=v.rename(w,u.type)}k(w);if(u.align){f.formatter.apply("align"+u.align,{},w)}g(w);if(u.valign){f.formatter.apply("valign"+u.valign,{},w)}});f.focus()})}p=f.dom.select("td.mce-item-selected,th.mce-item-selected");r=f.dom.getParent(f.selection.getStart(),"td,th");if(!p.length&&r){p.push(r)}r=r||p[0];if(!r){return}u={width:e(v.getStyle(r,"width")||v.getAttrib(r,"width")),height:e(v.getStyle(r,"height")||v.getAttrib(r,"height")),scope:v.getAttrib(r,"scope"),"class":v.getAttrib(r,"class")};u.type=r.nodeName.toLowerCase();c("left center right".split(" "),function(w){if(f.formatter.matchNode(r,"align"+w)){u.align=w}});c("top middle bottom".split(" "),function(w){if(f.formatter.matchNode(r,"valign"+w)){u.valign=w}});if(f.settings.table_cell_class_list){s={name:"class",type:"listbox",label:"Class",values:h(f.settings.table_cell_class_list,function(w){if(w.value){w.textStyle=function(){return f.formatter.getCssText({block:"td",classes:[w.value]})}}})}}var q={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",layout:"grid",columns:2,labelGapCalc:false,padding:0,defaults:{type:"textbox",maxWidth:50},items:[{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell type",name:"type",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{label:"Scope",name:"scope",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{label:"H Align",name:"align",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"V Align",name:"valign",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}]}]},s]};if(f.settings.table_cell_advtab!==false){d(v,u,r);f.windowManager.open({title:"Cell properties",bodyType:"tabpanel",data:u,body:[{title:"General",type:"form",items:q},l(v)],onsubmit:t})}else{f.windowManager.open({title:"Cell properties",data:u,body:q,onsubmit:t})}};o.row=function(){var r=f.dom,u,v,w,p,s,x=[],q;function t(){var y,z,A;n(r,this);s=b.extend(s,this.toJSON());f.undoManager.transact(function(){var B=s.type;c(x,function(C){f.dom.setAttribs(C,{scope:s.scope,style:s.style,"class":s["class"]});f.dom.setStyles(C,{height:m(s.height)});if(B!=C.parentNode.nodeName.toLowerCase()){y=r.getParent(C,"table");z=C.parentNode;A=r.select(B,y)[0];if(!A){A=r.create(B);if(y.firstChild){y.insertBefore(A,y.firstChild)}else{y.appendChild(A)}}A.appendChild(C);if(!z.hasChildNodes()){r.remove(z)}}k(C);if(s.align){f.formatter.apply("align"+s.align,{},C)}});f.focus()})}u=f.dom.getParent(f.selection.getStart(),"table");v=f.dom.getParent(f.selection.getStart(),"td,th");c(u.rows,function(y){c(y.cells,function(z){if(r.hasClass(z,"mce-item-selected")||z==v){x.push(y);return false}})});w=x[0];if(!w){return}s={height:e(r.getStyle(w,"height")||r.getAttrib(w,"height")),scope:r.getAttrib(w,"scope"),"class":r.getAttrib(w,"class")};s.type=w.parentNode.nodeName.toLowerCase();c("left center right".split(" "),function(y){if(f.formatter.matchNode(w,"align"+y)){s.align=y}});if(f.settings.table_row_class_list){p={name:"class",type:"listbox",label:"Class",values:h(f.settings.table_row_class_list,function(y){if(y.value){y.textStyle=function(){return f.formatter.getCssText({block:"tr",classes:[y.value]})}}})}}q={type:"form",columns:2,padding:0,defaults:{type:"textbox"},items:[{type:"listbox",name:"type",label:"Row type",text:"None",maxWidth:null,values:[{text:"Header",value:"thead"},{text:"Body",value:"tbody"},{text:"Footer",value:"tfoot"}]},{type:"listbox",name:"align",label:"Alignment",text:"None",maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height"},p]};if(f.settings.table_row_advtab!==false){d(r,s,w);f.windowManager.open({title:"Row properties",data:s,bodyType:"tabpanel",body:[{title:"General",type:"form",items:q},l(r)],onsubmit:t})}else{f.windowManager.open({title:"Row properties",data:s,body:q,onsubmit:t})}}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/classes/Plugin.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/tableplugin/Plugin",["tinymce/tableplugin/TableGrid","tinymce/tableplugin/Quirks","tinymce/tableplugin/CellSelection","tinymce/tableplugin/Dialogs","tinymce/util/Tools","tinymce/dom/TreeWalker","tinymce/Env","tinymce/PluginManager"],function(i,h,j,f,a,g,c,b){var e=a.each;function d(s){var t,v=this,m=new f(s);function o(w){return function(){s.execCommand(w)}}function p(C,B){var D,w,A,z;A='<table id="__mce"><tbody>';for(D=0;D<B;D++){A+="<tr>";for(w=0;w<C;w++){A+="<td>"+(c.ie?" ":"<br>")+"</td>"}A+="</tr>"}A+="</tbody></table>";s.undoManager.transact(function(){s.insertContent(A);z=s.dom.get("__mce");s.dom.setAttrib(z,"id",null);s.dom.setAttribs(z,s.settings.table_default_attributes||{});s.dom.setStyles(z,s.settings.table_default_styles||{})});return z}function n(x,w){function y(){x.disabled(!s.dom.getParent(s.selection.getStart(),w));s.selection.selectorChanged(w,function(z){x.disabled(!z)})}if(s.initialized){y()}else{s.on("init",y)}}function r(){n(this,"table")}function q(){n(this,"td,th")}function u(){var z="";z='<table role="grid" class="mce-grid mce-grid-border" aria-readonly="true">';for(var A=0;A<10;A++){z+="<tr>";for(var w=0;w<10;w++){z+='<td role="gridcell" tabindex="-1"><a id="mcegrid'+(A*10+w)+'" href="#" data-mce-x="'+w+'" data-mce-y="'+A+'"></a></td>'}z+="</tr>"}z+="</table>";z+='<div class="mce-text-center" role="presentation">1 x 1</div>';return z}function l(B,z,A){var G=A.getEl().getElementsByTagName("table")[0];var E,D,H,F,w;var C=A.isRtl()||A.parent().rel=="tl-tr";G.nextSibling.innerHTML=(B+1)+" x "+(z+1);if(C){B=9-B}for(D=0;D<10;D++){for(E=0;E<10;E++){F=G.rows[D].childNodes[E].firstChild;w=(C?E>=B:E<=B)&&D<=z;s.dom.toggleClass(F,"mce-active",w);if(w){H=F}}}return H.parentNode}if(s.settings.table_grid===false){s.addMenuItem("inserttable",{text:"Insert table",icon:"table",context:"table",onclick:m.table})}else{s.addMenuItem("inserttable",{text:"Insert table",icon:"table",context:"table",ariaHideMenu:true,onclick:function(w){if(w.aria){this.parent().hideAll();w.stopImmediatePropagation();m.table()}},onshow:function(){l(0,0,this.menu.items()[0])},onhide:function(){var w=this.menu.items()[0].getEl().getElementsByTagName("a");s.dom.removeClass(w,"mce-active");s.dom.addClass(w[0],"mce-active")},menu:[{type:"container",html:u(),onPostRender:function(){this.lastX=this.lastY=0},onmousemove:function(A){var z=A.target,w,B;if(z.tagName.toUpperCase()=="A"){w=parseInt(z.getAttribute("data-mce-x"),10);B=parseInt(z.getAttribute("data-mce-y"),10);if(this.isRtl()||this.parent().rel=="tl-tr"){w=9-w}if(w!==this.lastX||B!==this.lastY){l(w,B,A.control);this.lastX=w;this.lastY=B}}},onclick:function(x){var w=this;if(x.target.tagName.toUpperCase()=="A"){x.preventDefault();x.stopPropagation();w.parent().cancel();s.undoManager.transact(function(){p(w.lastX+1,w.lastY+1)});s.addVisual()}}}]})}s.addMenuItem("tableprops",{text:"Table properties",context:"table",onPostRender:r,onclick:m.tableProps});s.addMenuItem("deletetable",{text:"Delete table",context:"table",onPostRender:r,cmd:"mceTableDelete"});s.addMenuItem("cell",{separator:"before",text:"Cell",context:"table",menu:[{text:"Cell properties",onclick:o("mceTableCellProps"),onPostRender:q},{text:"Merge cells",onclick:o("mceTableMergeCells"),onPostRender:q},{text:"Split cell",onclick:o("mceTableSplitCells"),onPostRender:q}]});s.addMenuItem("row",{text:"Row",context:"table",menu:[{text:"Insert row before",onclick:o("mceTableInsertRowBefore"),onPostRender:q},{text:"Insert row after",onclick:o("mceTableInsertRowAfter"),onPostRender:q},{text:"Delete row",onclick:o("mceTableDeleteRow"),onPostRender:q},{text:"Row properties",onclick:o("mceTableRowProps"),onPostRender:q},{text:"-"},{text:"Cut row",onclick:o("mceTableCutRow"),onPostRender:q},{text:"Copy row",onclick:o("mceTableCopyRow"),onPostRender:q},{text:"Paste row before",onclick:o("mceTablePasteRowBefore"),onPostRender:q},{text:"Paste row after",onclick:o("mceTablePasteRowAfter"),onPostRender:q}]});s.addMenuItem("column",{text:"Column",context:"table",menu:[{text:"Insert column before",onclick:o("mceTableInsertColBefore"),onPostRender:q},{text:"Insert column after",onclick:o("mceTableInsertColAfter"),onPostRender:q},{text:"Delete column",onclick:o("mceTableDeleteCol"),onPostRender:q}]});var k=[];e("inserttable tableprops deletetable | cell row column".split(" "),function(w){if(w=="|"){k.push({text:"-"})}else{k.push(s.menuItems[w])}});s.addButton("table",{type:"menubutton",title:"Table",menu:k});if(!c.isIE){s.on("click",function(w){w=w.target;if(w.nodeName==="TABLE"){s.selection.select(w);s.nodeChanged()}})}v.quirks=new h(s);s.on("Init",function(){v.cellSelection=new j(s)});s.on("PreInit",function(){s.serializer.addAttributeFilter("data-mce-cell-padding,data-mce-border,data-mce-border-color",function(w,x){var y=w.length;while(y--){w[y].attr(x,null)}})});e({mceTableSplitCells:function(w){w.split()},mceTableMergeCells:function(x){var w;w=s.dom.getParent(s.selection.getStart(),"th,td");if(!s.dom.select("td.mce-item-selected,th.mce-item-selected").length){m.merge(x,w)}else{x.merge()}},mceTableInsertRowBefore:function(w){w.insertRow(true)},mceTableInsertRowAfter:function(w){w.insertRow()},mceTableInsertColBefore:function(w){w.insertCol(true)},mceTableInsertColAfter:function(w){w.insertCol()},mceTableDeleteCol:function(w){w.deleteCols()},mceTableDeleteRow:function(w){w.deleteRows()},mceTableCutRow:function(w){t=w.cutRows()},mceTableCopyRow:function(w){t=w.copyRows()},mceTablePasteRowBefore:function(w){w.pasteRows(t,true)},mceTablePasteRowAfter:function(w){w.pasteRows(t)},mceTableDelete:function(w){w.deleteTable()}},function(x,w){s.addCommand(w,function(){var y=new i(s);if(y){x(y);s.execCommand("mceRepaint");v.cellSelection.clear()}})});e({mceInsertTable:m.table,mceTableProps:function(){m.table(true)},mceTableRowProps:m.row,mceTableCellProps:m.cell},function(x,w){s.addCommand(w,function(y,z){x(z)})});if(s.settings.table_tab_navigation!==false){s.on("keydown",function(y){var x,w,z;if(y.keyCode==9){x=s.dom.getParent(s.selection.getStart(),"th,td");if(x){y.preventDefault();w=new i(s);z=y.shiftKey?-1:1;s.undoManager.transact(function(){if(!w.moveRelIdx(x,z)&&z>0){w.insertRow();w.refresh();w.moveRelIdx(x,z)}})}}})}v.insertTable=p}b.add("table",d)});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/classes/Quirks.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/tableplugin/Quirks",["tinymce/util/VK","tinymce/Env","tinymce/util/Tools"],function(e,b,c){var d=c.each;function a(g,f){return parseInt(g.getAttribute(f)||1,10)}return function(j){function k(){function l(u){var A=u.keyCode;function s(J,F){var E=J?"previousSibling":"nextSibling";var K=j.dom.getParent(F,"tr");var I=K[E];if(I){w(j,F,I,J);u.preventDefault();return true}else{var L=j.dom.getParent(K,"table");var H=K.parentNode;var D=H.nodeName.toLowerCase();if(D==="tbody"||D===(J?"tfoot":"thead")){var G=n(J,L,H,"tbody");if(G!==null){return p(J,G,F)}}return z(J,K,E,L)}}function n(H,F,G,J){var E=j.dom.select(">"+J,F);var D=E.indexOf(G);if(H&&D===0||!H&&D===E.length-1){return q(H,F)}else{if(D===-1){var I=G.tagName.toLowerCase()==="thead"?0:E.length-1;return E[I]}else{return E[D+(H?-1:1)]}}}function q(G,F){var E=G?"thead":"tfoot";var D=j.dom.select(">"+E,F);return D.length!==0?D[0]:null}function p(G,F,E){var D=m(F,G);if(D){w(j,E,D,G)}u.preventDefault();return true}function z(J,G,D,I){var E=I[D];if(E){y(E);return true}else{var H=j.dom.getParent(I,"td,th");if(H){return s(J,H,u)}else{var F=m(G,!J);y(F);u.preventDefault();return false}}}function m(E,D){var F=E&&E[D?"lastChild":"firstChild"];return F&&F.nodeName==="BR"?j.dom.getParent(F,"td,th"):F}function y(D){j.selection.setCursorLocation(D,0)}function v(){return A==e.UP||A==e.DOWN}function x(E){var F=E.selection.getNode();var D=E.dom.getParent(F,"tr");return D!==null}function t(E){var D=0;var F=E;while(F.previousSibling){F=F.previousSibling;D=D+a(F,"colspan")}return D}function o(F,D){var G=0,E=0;d(F.children,function(H,I){G=G+a(H,"colspan");E=I;if(G>D){return false}});return E}function w(F,I,K,H){var J=t(j.dom.getParent(I,"td,th"));var E=o(K,J);var D=K.childNodes[E];var G=m(D,H);y(G||D)}function C(D){var F=j.selection.getNode();var G=j.dom.getParent(F,"td,th");var E=j.dom.getParent(D,"td,th");return G&&G!==E&&r(G,E)}function r(E,D){return j.dom.getParent(E,"TABLE")===j.dom.getParent(D,"TABLE")}if(v()&&x(j)){var B=j.selection.getNode();setTimeout(function(){if(C(B)){s(!u.shiftKey&&A===e.UP,B,u)}},0)}}j.on("KeyDown",function(m){l(m)})}function f(){function l(n,o){var p=o.ownerDocument,m=p.createRange(),q;m.setStartBefore(o);m.setEnd(n.endContainer,n.endOffset);q=p.createElement("body");q.appendChild(m.cloneContents());return q.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length===0}j.on("KeyDown",function(o){var m,n,p=j.dom;if(o.keyCode==37||o.keyCode==38){m=j.selection.getRng();n=p.getParent(m.startContainer,"table");if(n&&j.getBody().firstChild==n){if(l(m,n)){m=p.createRng();m.setStartBefore(n);m.setEndBefore(n);j.selection.setRng(m);o.preventDefault()}}}})}function h(){j.on("KeyDown SetContent VisualAid",function(){var l;for(l=j.getBody().lastChild;l;l=l.previousSibling){if(l.nodeType==3){if(l.nodeValue.length>0){break}}else{if(l.nodeType==1&&(l.tagName=="BR"||!l.getAttribute("data-mce-bogus"))){break}}}if(l&&l.nodeName=="TABLE"){if(j.settings.forced_root_block){j.dom.add(j.getBody(),j.settings.forced_root_block,j.settings.forced_root_block_attrs,b.ie&&b.ie<11?" ":'<br data-mce-bogus="1" />')}else{j.dom.add(j.getBody(),"br",{"data-mce-bogus":"1"})}}});j.on("PreProcess",function(m){var l=m.node.lastChild;if(l&&(l.nodeName=="BR"||(l.childNodes.length==1&&(l.firstChild.nodeName=="BR"||l.firstChild.nodeValue=="\u00a0")))&&l.previousSibling&&l.previousSibling.nodeName=="TABLE"){j.dom.remove(l)}})}function g(){function l(t,p,q,v){var r=3,w=t.dom.getParent(p.startContainer,"TABLE");var s,o,u;if(w){s=w.parentNode}o=p.startContainer.nodeType==r&&p.startOffset===0&&p.endOffset===0&&v&&(q.nodeName=="TR"||q==s);u=(q.nodeName=="TD"||q.nodeName=="TH")&&!v;return o||u}function m(){var p=j.selection.getRng();var r=j.selection.getNode();var q=j.dom.getParent(p.startContainer,"TD,TH");if(!l(j,p,r,q)){return}if(!q){q=r}var o=q.lastChild;while(o.lastChild){o=o.lastChild}if(o.nodeType==3){p.setEnd(o,o.data.length);j.selection.setRng(p)}}j.on("KeyDown",function(){m()});j.on("MouseDown",function(n){if(n.button!=2){m()}})}function i(){j.on("keydown",function(o){if((o.keyCode==e.DELETE||o.keyCode==e.BACKSPACE)&&!o.isDefaultPrevented()){var n=j.dom.getParent(j.selection.getStart(),"table");if(n){var l=j.dom.select("td,th",n),m=l.length;while(m--){if(!j.dom.hasClass(l[m],"mce-item-selected")){return}}o.preventDefault();j.execCommand("mceTableDelete")}}})}i();if(b.webkit){k();g()}if(b.gecko){f();h()}if(b.ie>10){f();h()}}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/classes/TableGrid.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+define("tinymce/tableplugin/TableGrid",["tinymce/util/Tools","tinymce/Env"],function(c,b){var d=c.each;function a(f,e){return parseInt(f.getAttribute(e)||1,10)}return function(n,G){var f,F,K,B,o,J=n.selection,E=J.dom;function t(){var L=0;f=[];F=0;d(["thead","tbody","tfoot"],function(M){var N=E.select("> "+M+" tr",G);d(N,function(O,P){P+=L;d(E.select("> td, > th",O),function(V,Q){var R,S,T,U;if(f[P]){while(f[P][Q]){Q++}}T=a(V,"rowspan");U=a(V,"colspan");for(S=P;S<P+T;S++){if(!f[S]){f[S]=[]}for(R=Q;R<Q+U;R++){f[S][R]={part:M,real:S==P&&R==Q,elm:V,rowspan:T,colspan:U}}}F=Math.max(F,Q+1)})});L+=N.length})}function y(M,L){M=M.cloneNode(L);M.removeAttribute("id");return M}function x(L,N){var M;M=f[N];if(M){return M[L]}}function s(N,L,M){if(N){M=parseInt(M,10);if(M===1){N.removeAttribute(L,1)}else{N.setAttribute(L,M,1)}}}function h(L){return L&&(E.hasClass(L.elm,"mce-item-selected")||L==o)}function j(){var L=[];d(G.rows,function(M){d(M.cells,function(N){if(E.hasClass(N,"mce-item-selected")||(o&&N==o.elm)){L.push(M);return false}})});return L}function r(){var L=E.createRng();L.setStartAfter(G);L.setEndAfter(G);J.setRng(L);E.remove(G)}function e(L){var N,M={};if(n.settings.table_clone_elements!==false){M=c.makeMap((n.settings.table_clone_elements||"strong em b i span font h1 h2 h3 h4 h5 h6 p div").toUpperCase(),/[ ,]/)}c.walk(L,function(P){var O;if(P.nodeType==3){d(E.getParents(P.parentNode,null,L).reverse(),function(Q){if(!M[Q.nodeName]){return}Q=y(Q,false);if(!N){N=O=Q}else{if(O){O.appendChild(Q)}}O=Q});if(O){O.innerHTML=b.ie?" ":'<br data-mce-bogus="1" />'}return false}},"childNodes");L=y(L,false);s(L,"rowSpan",1);s(L,"colSpan",1);if(N){L.appendChild(N)}else{if(!b.ie||b.ie>10){L.innerHTML='<br data-mce-bogus="1" />'}}return L}function q(){var L=E.createRng(),M;d(E.select("tr",G),function(N){if(N.cells.length===0){E.remove(N)}});if(E.select("tr",G).length===0){L.setStartBefore(G);L.setEndBefore(G);J.setRng(L);E.remove(G);return}d(E.select("thead,tbody,tfoot",G),function(N){if(N.rows.length===0){E.remove(N)}});t();if(K){M=f[Math.min(f.length-1,K.y)];if(M){J.select(M[Math.min(M.length-1,K.x)].elm,true);J.collapse(true)}}}function u(R,P,T,Q){var O,M,L,N,S;O=f[P][R].elm.parentNode;for(L=1;L<=T;L++){O=E.getNext(O,"tr");if(O){for(M=R;M>=0;M--){S=f[P+L][M].elm;if(S.parentNode==O){for(N=1;N<=Q;N++){E.insertAfter(e(S),S)}break}}if(M==-1){for(N=1;N<=Q;N++){O.insertBefore(e(O.cells[0]),O.cells[0])}}}}}function A(){d(f,function(L,M){d(L,function(O,N){var R,Q,P;if(h(O)){O=O.elm;R=a(O,"colspan");Q=a(O,"rowspan");if(R>1||Q>1){s(O,"rowSpan",1);s(O,"colSpan",1);for(P=0;P<R-1;P++){E.insertAfter(e(O),O)}u(N,M,Q-1,R)}}})})}function p(V,S,Y){var R,O,N,X,W,U,Q,T,L,M,P;if(V){R=D(V);O=R.x;N=R.y;X=O+(S-1);W=N+(Y-1)}else{K=B=null;d(f,function(Z,aa){d(Z,function(ac,ab){if(h(ac)){if(!K){K={x:ab,y:aa}}B={x:ab,y:aa}}})});if(K){O=K.x;N=K.y;X=B.x;W=B.y}}T=x(O,N);L=x(X,W);if(T&&L&&T.part==L.part){A();t();T=x(O,N).elm;s(T,"colSpan",(X-O)+1);s(T,"rowSpan",(W-N)+1);for(Q=N;Q<=W;Q++){for(U=O;U<=X;U++){if(!f[Q]||!f[Q][U]){continue}V=f[Q][U].elm;if(V!=T){M=c.grep(V.childNodes);d(M,function(Z){T.appendChild(Z)});if(M.length){M=c.grep(T.childNodes);P=0;d(M,function(Z){if(Z.nodeName=="BR"&&E.getAttrib(Z,"data-mce-bogus")&&P++<M.length-1){T.removeChild(Z)}})}E.remove(V)}}}q()}}function k(P){var L,R,O,Q,S,T,M,U,N;d(f,function(V,W){d(V,function(X){if(h(X)){X=X.elm;S=X.parentNode;T=y(S,false);L=W;if(P){return false}}});if(P){return !L}});if(L===undefined){return}for(Q=0;Q<f[0].length;Q++){if(!f[L][Q]){continue}R=f[L][Q].elm;if(R!=O){if(!P){N=a(R,"rowspan");if(N>1){s(R,"rowSpan",N+1);continue}}else{if(L>0&&f[L-1][Q]){U=f[L-1][Q].elm;N=a(U,"rowSpan");if(N>1){s(U,"rowSpan",N+1);continue}}}M=e(R);s(M,"colSpan",R.colSpan);T.appendChild(M);O=R}}if(T.hasChildNodes()){if(!P){E.insertAfter(T,S)}else{S.parentNode.insertBefore(T,S)}}}function g(M){var N,L;d(f,function(O){d(O,function(Q,P){if(h(Q)){N=P;if(M){return false}}});if(M){return !N}});d(f,function(R,S){var O,P,Q;if(!R[N]){return}O=R[N].elm;if(O!=L){Q=a(O,"colspan");P=a(O,"rowspan");if(Q==1){if(!M){E.insertAfter(e(O),O);u(N,S,P-1,Q)}else{O.parentNode.insertBefore(e(O),O);u(N,S,P-1,Q)}}else{s(O,"colSpan",O.colSpan+1)}L=O}})}function m(){var L=[];d(f,function(M){d(M,function(O,N){if(h(O)&&c.inArray(L,N)===-1){d(f,function(R){var P=R[N].elm,Q;Q=a(P,"colSpan");if(Q>1){s(P,"colSpan",Q-1)}else{E.remove(P)}});L.push(N)}})});q()}function l(){var M;function L(O){var P,N;d(O.cells,function(Q){var R=a(Q,"rowSpan");if(R>1){s(Q,"rowSpan",R-1);P=D(Q);u(P.x,P.y,1,1)}});P=D(O.cells[0]);d(f[P.y],function(Q){var R;Q=Q.elm;if(Q!=N){R=a(Q,"rowSpan");if(R<=1){E.remove(Q)}else{s(Q,"rowSpan",R-1)}N=Q}})}M=j();d(M.reverse(),function(N){L(N)});q()}function C(){var L=j();E.remove(L);q();return L}function I(){var L=j();d(L,function(N,M){L[M]=y(N,true)});return L}function z(N,M){var O=j(),L=O[M?0:O.length-1],P=L.cells.length;if(!N){return}d(f,function(R){var Q;P=0;d(R,function(S){if(S.real){P+=S.colspan}if(S.elm.parentNode==L){Q=1}});if(Q){return false}});if(!M){N.reverse()}d(N,function(T){var R,S=T.cells.length,Q;for(R=0;R<S;R++){Q=T.cells[R];s(Q,"colSpan",1);s(Q,"rowSpan",1)}for(R=S;R<P;R++){T.appendChild(e(T.cells[S-1]))}for(R=P;R<S;R++){E.remove(T.cells[R])}if(M){L.parentNode.insertBefore(T,L)}else{E.insertAfter(T,L)}});E.removeClass(E.select("td.mce-item-selected,th.mce-item-selected"),"mce-item-selected")}function D(L){var M;d(f,function(N,O){d(N,function(Q,P){if(Q.elm==L){M={x:P,y:O};return false}});return !M});return M}function w(L){K=D(L)}function H(){var M,L;M=L=0;d(f,function(N,O){d(N,function(Q,P){var S,R;if(h(Q)){Q=f[O][P];if(P>M){M=P}if(O>L){L=O}if(Q.real){S=Q.colspan-1;R=Q.rowspan-1;if(S){if(P+S>M){M=P+S}}if(R){if(O+R>L){L=O+R}}}}})});return{x:M,y:L}}function v(T){var O,N,V,U,M,L,P,Q,S,R;B=D(T);if(K&&B){O=Math.min(K.x,B.x);N=Math.min(K.y,B.y);V=Math.max(K.x,B.x);U=Math.max(K.y,B.y);M=V;L=U;for(R=N;R<=L;R++){T=f[R][O];if(!T.real){if(O-(T.colspan-1)<O){O-=T.colspan-1}}}for(S=O;S<=M;S++){T=f[N][S];if(!T.real){if(N-(T.rowspan-1)<N){N-=T.rowspan-1}}}for(R=N;R<=U;R++){for(S=O;S<=V;S++){T=f[R][S];if(T.real){P=T.colspan-1;Q=T.rowspan-1;if(P){if(S+P>M){M=S+P}}if(Q){if(R+Q>L){L=R+Q}}}}}E.removeClass(E.select("td.mce-item-selected,th.mce-item-selected"),"mce-item-selected");for(R=N;R<=L;R++){for(S=O;S<=M;S++){if(f[R][S]){E.addClass(f[R][S].elm,"mce-item-selected")}}}}}function i(N,P){var O,M,L;O=D(N);M=O.y*F+O.x;do{M+=P;L=x(M%F,Math.floor(M/F));if(!L){break}if(L.elm!=N){J.select(L.elm,true);if(E.isEmpty(L.elm)){J.collapse(true)}return true}}while(L.elm==N);return false}G=G||E.getParent(J.getStart(),"table");t();o=E.getParent(J.getStart(),"th,td");if(o){K=D(o);B=H();o=x(K.x,K.y)}c.extend(this,{deleteTable:r,split:A,merge:p,insertRow:k,insertCol:g,deleteCols:m,deleteRows:l,cutRows:C,copyRows:I,pasteRows:z,getPos:D,setStartCell:w,setEndCell:v,moveRelIdx:i,refresh:t})}});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/table/plugin.dev.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+(function(g){var k="",l;var e={},q=[],d=0;var f=document.getElementsByTagName("script");for(var h=0;h<f.length;h++){var a=f[h].src;if(a.indexOf("/plugin.dev.js")!=-1){l=a.substring(0,a.lastIndexOf("/"))}}function c(u,v){var t,r=[];for(var s=0;s<u.length;++s){t=e[u[s]]||p(u[s]);if(!t){throw"module definition dependecy not found: "+u[s]}r.push(t)}v.apply(null,r)}function p(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length;++s){if(!r[i[s]]){return}r=r[i[s]]}return r}function o(t){var r=g;var i=t.split(/[.\/]/);for(var s=0;s<i.length-1;++s){if(r[i[s]]===undefined){r[i[s]]={}}r=r[i[s]]}r[i[i.length-1]]=e[t]}function j(u,t,s){if(typeof u!=="string"){throw"invalid module definition, module id must be defined and be a string"}if(t===undefined){throw"invalid module definition, dependencies must be specified"}if(s===undefined){throw"invalid module definition, definition function must be specified"}c(t,function(){e[u]=s.apply(null,arguments)});if(--d===0){for(var r=0;r<q.length;r++){o(q[r])}}}function b(i){q=i}function n(){document.write(k)}function m(i){k+='<script type="text/javascript" src="'+l+"/"+i+'"><\/script>\n';d++}g.define=j;g.require=c;m("classes/TableGrid.js");m("classes/Quirks.js");m("classes/CellSelection.js");m("classes/Dialogs.js");m("classes/Plugin.js");n()})(this);
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/dev/plugins/visualblocks/css/visualblocks.min.css Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+.mce-visualblocks p{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{padding-top:10px;border:1px dashed #BBB;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks hgroup{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks figcaption{border:1px dashed #BBB}.mce-visualblocks ul{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/langs/fr.min.js Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+tinymce.addI18n("fr",{Cut:"Couper","Heading 5":"En-t\u00eate 5","Header 2":"Titre 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Votre navigateur ne supporte pas la copie directe. Merci d'utiliser les touches Ctrl+X/C/V.","Heading 4":"En-t\u00eate 4",Div:"Div","Heading 2":"En-t\u00eate 2",Paste:"Coller",Close:"Fermer","Font Family":"Police",Pre:"Pre","Align right":"Aligner \u00e0 droite","New document":"Nouveau document",Blockquote:"Citation","Numbered list":"Num\u00e9rotation","Heading 1":"En-t\u00eate 1",Headings:"En-t\u00eates","Increase indent":"Augmenter le retrait",Formats:"Formats",Headers:"Titres","Select all":"Tout s\u00e9lectionner","Header 3":"Titre 3",Blocks:"Blocs",Undo:"Annuler",Strikethrough:"Barr\u00e9","Bullet list":"Puces","Header 1":"Titre 1",Superscript:"Exposant","Clear formatting":"Effacer la mise en forme","Font Sizes":"Taille de police",Subscript:"Indice","Header 6":"Titre 6",Redo:"R\u00e9tablir",Paragraph:"Paragraphe",Ok:"Ok",Bold:"Gras",Code:"Code",Italic:"Italique","Align center":"Centrer","Header 5":"Titre 5","Heading 6":"En-t\u00eate 6","Heading 3":"En-t\u00eate 3","Decrease indent":"Diminuer le retrait","Header 4":"Titre 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":'Le presse-papiers est maintenant en mode "texte plein". Les contenus seront coll\u00e9s sans retenir les formatages jusqu\'\u00e0 ce que vous d\u00e9sactiviez cette option.',Underline:"Soulign\u00e9",Cancel:"Annuler",Justify:"Justifier",Inline:"En ligne",Copy:"Copier","Align left":"Aligner \u00e0 gauche","Visual aids":"Aides visuelle","Lower Greek":"Grec minuscule",Square:"Carr\u00e9",Default:"Par d\u00e9faut","Lower Alpha":"Alpha minuscule",Circle:"Cercle",Disc:"Disque","Upper Alpha":"Alpha majuscule","Upper Roman":"Romain majuscule","Lower Roman":"Romain minuscule",Name:"Nom",Anchor:"Ancre","You have unsaved changes are you sure you want to navigate away?":"Vous avez des modifications non enregistr\u00e9es, \u00eates-vous s\u00fbr de quitter la page?","Restore last draft":"Restaurer le dernier brouillon","Special character":"Caract\u00e8res sp\u00e9ciaux","Source code":"Code source",Color:"Couleur","Right to left":"Droite \u00e0 gauche","Left to right":"Gauche \u00e0 droite",Emoticons:"Emotic\u00f4nes",Robots:"Robots","Document properties":"Propri\u00e9t\u00e9 du document",Title:"Titre",Keywords:"Mots-cl\u00e9s",Encoding:"Encodage",Description:"Description",Author:"Auteur",Fullscreen:"Plein \u00e9cran","Horizontal line":"Ligne horizontale","Horizontal space":"Espacement horizontal",B:"B","Insert/edit image":"Ins\u00e9rer/modifier une image",General:"G\u00e9n\u00e9ral",Advanced:"Avanc\u00e9",G:"V",R:"R",Source:"Source",Border:"Bordure","Constrain proportions":"Conserver les proportions","Vertical space":"Espacement vertical","Image description":"Description de l'image",Style:"Style",Dimensions:"Dimensions","Insert image":"Ins\u00e9rer une image","Insert date/time":"Ins\u00e9rer date/heure","Remove link":"Enlever le lien",Url:"Url","Text to display":"Texte \u00e0 afficher",Anchors:"Ancres","Insert link":"Ins\u00e9rer un lien","New window":"Nouvelle fen\u00eatre",None:"n/a","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"L'URL que vous avez entr\u00e9e semble \u00eatre un lien externe. Voulez-vous ajouter le pr\u00e9fixe http:// n\u00e9cessaire?",Target:"Cible","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"L'URL que vous avez entr\u00e9e semble \u00eatre une adresse e-mail. Voulez-vous ajouter le pr\u00e9fixe mailto: n\u00e9cessaire?","Insert/edit link":"Ins\u00e9rer/modifier un lien","Insert/edit video":"Ins\u00e9rer/modifier une vid\u00e9o",Poster:"Publier","Alternative source":"Source alternative","Paste your embed code below:":"Collez votre code d'int\u00e9gration ci-dessous :","Insert video":"Ins\u00e9rer une vid\u00e9o",Embed:"Int\u00e9grer","Nonbreaking space":"Espace ins\u00e9cable","Page break":"Saut de page","Paste as text":"Coller comme texte",Preview:"Pr\u00e9visualiser",Print:"Imprimer",Save:"Enregistrer","Could not find the specified string.":"Impossible de trouver la cha\u00eene sp\u00e9cifi\u00e9e.",Replace:"Remplacer",Next:"Suiv","Whole words":"Mots entiers","Find and replace":"Trouver et remplacer","Replace with":"Remplacer par",Find:"Chercher","Replace all":"Tout remplacer","Match case":"Respecter la casse",Prev:"Pr\u00e9c ",Spellcheck:"V\u00e9rification orthographique",Finish:"Finie","Ignore all":"Tout ignorer",Ignore:"Ignorer","Add to Dictionary":"Ajouter au dictionnaire","Insert row before":"Ins\u00e9rer une ligne avant",Rows:"Lignes",Height:"Hauteur","Paste row after":"Coller la ligne apr\u00e8s",Alignment:"Alignement","Border color":"Couleur de la bordure","Column group":"Groupe de colonnes",Row:"Ligne","Insert column before":"Ins\u00e9rer une colonne avant","Split cell":"Diviser la cellule","Cell padding":"Espacement interne cellule","Cell spacing":"Espacement inter-cellulles","Row type":"Type de ligne","Insert table":"Ins\u00e9rer un tableau",Body:"Corps",Caption:"Titre",Footer:"Pied","Delete row":"Effacer la ligne","Paste row before":"Coller la ligne avant",Scope:"Etendue","Delete table":"Supprimer le tableau","H Align":"Alignement H",Top:"Haut","Header cell":"Cellule d'en-t\u00eate",Column:"Colonne","Row group":"Groupe de lignes",Cell:"Cellule",Middle:"Milieu","Cell type":"Type de cellule","Copy row":"Copier la ligne","Row properties":"Propri\u00e9t\u00e9s de la ligne","Table properties":"Propri\u00e9t\u00e9s du tableau",Bottom:"Bas","V Align":"Alignement V",Header:"En-t\u00eate",Right:"Droite","Insert column after":"Ins\u00e9rer une colonne apr\u00e8s",Cols:"Colonnes","Insert row after":"Ins\u00e9rer une ligne apr\u00e8s",Width:"Largeur","Cell properties":"Propri\u00e9t\u00e9s de la cellule",Left:"Gauche","Cut row":"Couper la ligne","Delete column":"Effacer la colonne",Center:"Centr\u00e9","Merge cells":"Fusionner les cellules","Insert template":"Ajouter un th\u00e8me",Templates:"Th\u00e8mes","Background color":"Couleur d'arri\u00e8re-plan","Custom...":"Personnalis\u00e9...","Custom color":"Couleur personnalis\u00e9e","No color":"Aucune couleur","Text color":"Couleur du texte","Show blocks":"Afficher les blocs","Show invisible characters":"Afficher les caract\u00e8res invisibles","Words: {0}":"Mots : {0}",Insert:"Ins\u00e9rer",File:"Fichier",Edit:"Editer","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Zone Texte Riche. Appuyer sur ALT-F9 pour le menu. Appuyer sur ALT-F10 pour la barre d'outils. Appuyer sur ALT-0 pour de l'aide.",Tools:"Outils",View:"Voir",Table:"Tableau",Format:"Format"});
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_skin/resources/js/ext/tinymce/plugins/visualblocks/css/visualblocks.min.css Tue Sep 08 17:27:31 2015 +0200
@@ -0,0 +1,1 @@
+.mce-visualblocks p{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{padding-top:10px;border:1px dashed #BBB;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{padding-top:10px;border:1px dashed #BBB;margin-left:3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks hgroup{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks figcaption{border:1px dashed #BBB}.mce-visualblocks ul{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{padding-top:10px;border:1px dashed #BBB;margin:0 0 1em 3px;background:transparent no-repeat url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}
\ No newline at end of file