!function(e,t){"use strict";functionn(e,t){for(varn,i=[],r=0;r<e.length;++r){if(n=s[e[r]]||a(e[r]),!n)throw"module definition dependecy not found: "+e[r];i.push(n)}t.apply(null,i)}functioni(e,i,r){if("string"!=typeofe)throw"invalid module definition, module id must be defined and be a string";if(i===t)throw"invalid module definition, dependencies must be specified";if(r===t)throw"invalid module definition, definition function must be specified";n(i,function(){s[e]=r.apply(null,arguments)})}functionr(e){return!!s[e]}functiona(t){for(varn=e,i=t.split(/[.\/]/),r=0;r<i.length;++r){if(!n[i[r]])return;n=n[i[r]]}returnn}functiono(n){for(vari=0;i<n.length;i++){for(varr=e,a=n[i],o=a.split(/[.\/]/),c=0;c<o.length-1;++c)r[o[c]]===t&&(r[o[c]]={}),r=r[o[c]];r[o[o.length-1]]=s[a]}}vars={},c="tinymce/pasteplugin/Utils",l="tinymce/util/Tools",u="tinymce/html/DomParser",p="tinymce/html/Schema",d="tinymce/pasteplugin/Clipboard",f="tinymce/Env",m="tinymce/util/VK",g="tinymce/pasteplugin/WordFilter",v="tinymce/html/Serializer",h="tinymce/html/Node",y="tinymce/pasteplugin/Quirks",b="tinymce/pasteplugin/Plugin",x="tinymce/PluginManager";i(c,[l,u,p],function(e,t,n){functioni(t,n){returne.each(n,function(e){t=e.constructor==RegExp?t.replace(e,""):t.replace(e[0],e[1])}),t}functionr(i){functionr(e){vart=e.name,n=e;if("br"===t)returnvoid(s+="\n");if(c[t]&&(s+=" "),l[t])returnvoid(s+=" ");if(3==e.type&&(s+=e.value),!e.shortEnded&&(e=e.firstChild))dor(e);while(e=e.next);u[t]&&n.next&&(s+="\n","p"==t&&(s+="\n"))}vara=newn,o=newt({},a),s="",c=a.getShortEndedElements(),l=e.makeMap("script noscript style textarea video audio iframe object"," "),u=a.getBlockElements();returnr(o.parse(i)),s}return{filter:i,innerText:r}}),i(d,[f,m,c],function(e,t,n){returnfunction(i){functionr(e){vart,n=i.dom;if(t=i.fire("BeforePastePreProcess",{content:e}),t=i.fire("PastePreProcess",t),e=t.content,!t.isDefaultPrevented()){if(i.hasEventListeners("PastePostProcess")&&!t.isDefaultPrevented()){varr=n.add(i.getBody(),"div",{style:"display:none"},e);t=i.fire("PastePostProcess",{node:r}),n.remove(r),e=t.node.innerHTML}t.isDefaultPrevented()||i.insertContent(e)}}functiona(e){e=i.dom.encode(e).replace(/\r\n/g,"\n");vart=i.dom.getParent(i.selection.getStart(),i.dom.isBlock),a=i.settings.forced_root_block,o;a&&(o=i.dom.createHTML(a,i.settings.forced_root_block_attrs),o=o.substr(0,o.length-3)+">"),t&&/^(PRE|DIV)$/.test(t.nodeName)||!a?e=n.filter(e,[[/\n/g,"<br>"]]):(e=n.filter(e,[[/\n\n/g,"</p>"+o],[/^(.*<\/p>)(<p>)$/,o+"$1"],[/\n/g,"<br />"]]),-1!=e.indexOf("<p>")&&(e=o+e)),r(e)}functiono(){vart=i.dom,n=i.getBody(),r=i.dom.getViewPort(i.getWin()),a=r.y,o=20,s;if(h=i.selection.getRng(),i.inline&&(s=i.selection.getScrollContainer(),s&&(a=s.scrollTop)),h.getClientRects){varc=h.getClientRects();if(c.length)o=a+(c[0].top-t.getPos(n).y);else{o=a;varl=h.startContainer;l&&(3==l.nodeType&&l.parentNode!=n&&(l=l.parentNode),1==l.nodeType&&(o=t.getPos(l,s||n).y))}}v=t.add(i.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"1",style:"position: absolute; top: "+o+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},b),(e.ie||e.gecko)&&t.setStyle(v,"left","rtl"==t.getStyle(n,"direction",!0)?65535:-65535),t.bind(v,"beforedeactivate focusin focusout",function(e){e.stopPropagation()}),v.focus(),i.selection.select(v,!0)}functions(){if(v){for(vare;e=i.dom.get("mcepastebin");)i.dom.remove(e),i.dom.unbind(e);h&&i.selection.setRng(h)}x=!1,v=h=null}functionc(){vare=b,t,n;for(t=i.dom.select("div[id=mcepastebin]"),n=t.length;n--;){varr=t[n].innerHTML;e==b&&(e=""),r.length>e.length&&(e=r)}returne}functionl(e){vart={};if(e&&e.types){varn=e.getData("Text");n&&n.length>0&&(t["text/plain"]=n);for(vari=0;i<e.types.length;i++){varr=e.types[i];t[r]=e.getData(r)}}returnt}functionu(e){returnl(e.clipboardData||i.getDoc().dataTransfer)}functionp(e,t){functionn(e){if("image/png"==a[o].type){vart=newFileReader;returnt.onload=function(){r('<img src="'+t.result+'">')},t.readAsDataURL(e.getAsFile()),!0}}if(!(!i.settings.paste_data_images||"te