tinyMCEPreInit={suffix:"",base:"/ClientSource/Scripts/Modules/tinymce",query:""},function(n,t){"use strict";function u(n,t){for(var u,e=[],i=0;in.cacheLength&&delete t[i.shift()],t[r+" "]=u}var i=[];return t}function h(n){return n[f]=!0,n}function v(n){var t=e.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ti(t,i){for(var u=t.split("|"),r=t.length;r--;)n.attrHandle[u[r]]=i}function pi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||ai)-(~n.sourceIndex||ai);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function hr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function cr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function it(n){return h(function(t){return t=+t,h(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ii(n){return n&&typeof n.getElementsByTagName!==ot&&n}function wi(){}function yt(n){for(var t=0,r=n.length,i="";t1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function lr(n,t,i){for(var u=0,f=t.length;u-1&&(f[l]=!(e[l]=a))}}else h=pt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):d.apply(e,h)})}function ei(t){for(var s,u,r,o=t.length,h=n.relative[t[0].type],c=h||n.relative[" "],i=h?1:0,l=ri(function(n){return n===s},c,!0),a=ri(function(n){return nt.call(s,n)>-1},c,!0),e=[function(n,t,i){return!h&&(i||t!==ct)||((s=t).nodeType?l(n,t,i):a(n,t,i))}];i1&&ui(e),i>1&&yt(t.slice(0,i-1).concat({value:t[i-2].type===" "?"*":""})).replace(at,"$1"),u,i0,f=t.length>0,o=function(o,s,h,c,l){var y,k,w,b=0,v="0",g=o&&[],p=[],nt=ct,tt=o||f&&n.find.TAG("*",l),it=a+=nt==null?1:Math.random()||.1,rt=tt.length;for(l&&(ct=s!==e&&s);v!==rt&&(y=tt[v])!=null;v++){if(f&&y){for(k=0;w=t[k++];)if(w(y,s,h)){c.push(y);break}l&&(a=it)}u&&((y=!w&&y)&&b--,o&&g.push(y))}if(b+=v,u&&v!==b){for(k=0;w=i[k++];)w(g,p,s,h);if(o){if(b>0)while(v--)g[v]||p[v]||(p[v]=di.call(c));p=pt(p)}d.apply(c,p);l&&!o&&p.length>0&&b+i.length>1&&r.uniqueSort(c)}return l&&(a=it,ct=nt),g};return u?h(o):o}var rt,u,n,ht,oi,ft,wt,si,ct,w,ut,b,e,c,l,o,g,lt,et,f="sizzle"+-new Date,s=window.document,a=0,bi=0,hi=ni(),ci=ni(),li=ni(),bt=function(n,t){return n===t&&(ut=!0),0},ot=typeof t,ai=-2147483648,ki={}.hasOwnProperty,k=[],di=k.pop,gi=k.push,d=k.push,vi=k.slice,nt=k.indexOf||function(n){for(var t=0,i=this.length;t+~]|"+i+")"+i+"*"),ir=new RegExp("="+i+"*([^\\]'\"]*?)"+i+"*\\]","g"),rr=new RegExp(dt),ur=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+yi),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+kt+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},fr=/^(?:input|select|textarea|button)$/i,er=/^h\d$/i,st=/^[^{]+\{\s*\[native \w/,or=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,sr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{d.apply(k=vi.call(s.childNodes),s.childNodes);k[s.childNodes.length].nodeType}catch(vr){d={apply:k.length?function(n,t){gi.apply(n,vi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}u=r.support={};oi=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};b=r.setDocument=function(t){var a,r=t?t.ownerDocument||t:s,h=r.defaultView;return r===e||r.nodeType!==9||!r.documentElement?e:(e=r,c=r.documentElement,l=!oi(r),h&&h!==h.top&&(h.addEventListener?h.addEventListener("unload",function(){b()},!1):h.attachEvent&&h.attachEvent("onunload",function(){b()})),u.attributes=v(function(n){return n.className="i",!n.getAttribute("className")}),u.getElementsByTagName=v(function(n){return n.appendChild(r.createComment("")),!n.getElementsByTagName("*").length}),u.getElementsByClassName=st.test(r.getElementsByClassName),u.getById=v(function(n){return c.appendChild(n).id=f,!r.getElementsByName||!r.getElementsByName(f).length}),u.getById?(n.find.ID=function(n,t){if(typeof t.getElementById!==ot&&l){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},n.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete n.find.ID,n.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!==ot&&n.getAttributeNode("id");return i&&i.value===t}}),n.find.TAG=u.getElementsByTagName?function(n,t){if(typeof t.getElementsByTagName!==ot)return t.getElementsByTagName(n)}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},n.find.CLASS=u.getElementsByClassName&&function(n,t){if(l)return t.getElementsByClassName(n)},g=[],o=[],(u.qsa=st.test(r.querySelectorAll))&&(v(function(n){n.innerHTML="",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ti("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),v(function(n){return n.getAttribute("disabled")==null})||ti(kt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),r});i("tinymce/util/Tools",[],function(){function r(n){return n===null||n===t?"":(""+n).replace(o,"")}function u(n,r){return r?r=="array"&&i(n)?!0:typeof n==r:n!==t}function s(n){var r=n,t,u;if(!i(n))for(r=[],t=0,u=n.length;t=534,{opera:u,webkit:i,ie:t,gecko:o,mac:s,iOS:e,contentEditable:h,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:t!=8,range:window.getSelection&&"Range"in window,documentMode:t?document.documentMode||7:10}});i("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(n,i,r,u){function c(n){return typeof n!="undefined"}function y(n){return typeof n=="string"}function d(n,t){var i,u,r;for(t=t||k,r=t.createElement("div"),i=t.createDocumentFragment(),r.innerHTML=n;u=r.firstChild;)i.appendChild(u);return i}function s(n,t,i,r){var u;if(y(t))t=d(t,p(n[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),r)for(u=t.length-1;u>=0;u--)s(n,t[u],i,r);else for(u=0;u)[^>]*$|#([\w\-]*)$)/,h=n.Event,o,st=r.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),ht=r.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),ct={"for":"htmlFor","class":"className",readonly:"readOnly"},tt={float:"cssFloat"},l={},a={},at=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(n,t){var i=this,u,r;if(!n)return i;if(n.nodeType)return i.context=i[0]=n,i.length=1,i;if(t&&t.nodeType)i.context=t;else{if(t)return f(n).attr(t);i.context=t=document}if(y(n))if(i.selector=n,u=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:ot.exec(n),u)if(u[1])for(r=d(n,p(t)).firstChild;r;)v.call(i,r),r=r.nextSibling;else{if(r=p(t).getElementById(u[2]),!r)return i;if(r.id!==u[2])return i.find(n);i.length=1;i[0]=r}else return f(t).find(n);else this.add(n,!1);return i},toArray:function(){return r.toArray(this)},add:function(n,t){var i=this,u,r;if(y(n))return i.add(f(n));if(n.nodeType)return i.add([n]);if(t!==!1)for(u=f.unique(i.toArray().concat(f.makeArray(n))),i.length=u.length,r=0;r1&&(r=f.unique(r),n.indexOf("parents")===0&&(r=r.reverse())),r=f(r),i)?r.filter(i):r}}),e({parentsUntil:function(n,t){return ut(n,"parentNode",t)},nextUntil:function(n,t){return w(n,"nextSibling",1,t).slice(1)},prevUntil:function(n,t){return w(n,"previousSibling",1,t).slice(1)}},function(n,t){f.fn[n]=function(i,r){var e=this,u=[];return(e.each(function(){var n=t.call(u,this,i,u);n&&(f.isArray(n)?u.push.apply(u,n):u.push(n))}),this.length>1&&(u=f.unique(u),(n.indexOf("parents")===0||n==="prevUntil")&&(u=u.reverse())),u=f(u),r)?u.filter(r):u}}),f.fn.is=function(n){return!!n&&this.filter(n).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(n){function i(r,u){return t=t||n(),arguments.length===0&&(r=t.element),u||(u=t.context),new i.fn.init(r,u)}var t;return f.extend(i,this),i},u.ie&&u.ie<8&&(b(l,"get",{maxlength:function(n){var t=n.maxLength;return t===2147483647?o:t},size:function(n){var t=n.size;return t===20?o:t},"class":function(n){return n.className},style:function(n){var t=n.style.cssText;return t.length===0?o:t}}),b(l,"set",{"class":function(n,t){n.className=t},style:function(n,t){n.style.cssText=t}})),u.ie&&u.ie<9&&(tt.float="styleFloat",b(a,"set",{opacity:function(n,t){var i=n.style;t===null||t===""?i.removeAttribute("filter"):(i.zoom=1,i.filter="alpha(opacity="+t*100+")")}})),f.attrHooks=l,f.cssHooks=a,f});i("tinymce/html/Styles",[],function(){return function(n,t){function a(n,t,i,r){function u(n){return n=parseInt(n,10).toString(16),n.length>1?n:"0"+n}return"#"+u(t)+u(i)+u(r)}var s=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,v=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,h=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,l,i,r={},u,e,f,o="";for(n=n||{},t&&(e=t.getValidStyles(),f=t.getInvalidStyles()),u=("\\\" \\' \\; \\: ; : "+o).split(" "),i=0;i-1&&r||(u[n+t]=i==-1?f[0]:f.join(" "),delete u[n+"-top"+t],delete u[n+"-right"+t],delete u[n+"-bottom"+t],delete u[n+"-left"+t])}}function p(n){var t=u[n],i;if(t){for(t=t.split(" "),i=t.length;i--;)if(t[i]!==t[0])return!1;return u[n]=t[0],!0}}function g(n,t,i,r){p(t)&&p(i)&&p(r)&&(u[n]=u[t]+" "+u[i]+" "+u[r],delete u[t],delete u[i],delete u[r])}function k(n){return y=!0,r[n]}function w(n,t){return y&&(n=n.replace(/\uFEFF[0-9]/g,function(n){return r[n]})),t||(n=n.replace(/\\([\'\";:])/g,"$1")),n}function nt(t,i,r,u,f,e){if(f=f||e,f)return f=w(f),"'"+f.replace(/\'/g,"\\'")+"'";if(i=w(i||r||u),!n.allow_script_urls){var o=i.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(o)||!n.allow_svg_data_urls&&/^data:image\/svg/i.test(o))return""}return b&&(i=b.call(d,i,"style")),"url('"+i.replace(/\'/g,"\\'")+"')"}var u={},l,e,f,y,b=n.url_converter,d=n.url_converter_scope||this;if(t){for(t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,k).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(n){return n.replace(/[;:]/g,k)});l=h.exec(t);){if(e=l[1].replace(c,"").toLowerCase(),f=l[2].replace(c,""),f=f.replace(/\\[0-9a-f]+/g,function(n){return String.fromCharCode(parseInt(n.substr(1),16))}),e&&f.length>0){if(!n.allow_script_urls&&(e=="behavior"||/expression\s*\(|\/\*|\*\//.test(f)))continue;e==="font-weight"&&f==="700"?f="bold":(e==="color"||e==="background-color")&&(f=f.toLowerCase());f=f.replace(s,a);f=f.replace(v,nt);u[e]=y?w(f,!0):f}h.lastIndex=l.index+l[0].length}o("border","",!0);o("border","-width");o("border","-color");o("border","-style");o("padding","");o("margin","");g("border","border-width","border-style","border-color");u.border==="medium none"&&delete u.border;u["border-image"]==="none"&&delete u["border-image"]}return u},serialize:function(n,t){function o(t){var r,u,o,f;if(r=e[t],r)for(u=0,o=r.length;u0&&(i+=(i.length>0?" ":"")+t+": "+f+";")}function s(n,t){var i;return(i=f["*"],i&&i[n])?!1:(i=f[t],i&&i[n])?!1:!0}var i="",r,u;if(t&&e)o("*"),o(t);else for(r in n)u=n[r],u!==l&&u.length>0&&(!f||s(r,t))&&(i+=(i.length>0?" ":"")+r+": "+u+";");return i}}}});i("tinymce/dom/TreeWalker",[],function(){return function(n,t){function r(n,i,r,u){var f,e;if(n){if(!u&&n[i])return n[i];if(n!=t){if(f=n[r],f)return f;for(e=n.parentNode;e&&e!=t;e=e.parentNode)if(f=e[r],f)return f}}}var i=n;this.current=function(){return i};this.next=function(n){return i=r(i,"firstChild","nextSibling",n)};this.prev=function(n){return i=r(i,"lastChild","previousSibling",n)}}});i("tinymce/dom/Range",["tinymce/util/Tools"],function(n){function t(i){function b(){return y.createDocumentFragment()}function k(n,t){ft(o,n,t)}function d(n,t){ft(c,n,t)}function it(n){k(n.parentNode,a(n))}function ht(n){k(n.parentNode,a(n)+1)}function ct(n){d(n.parentNode,a(n))}function rt(n){d(n.parentNode,a(n)+1)}function lt(n){n?(r[e]=r[u],r[s]=r[f]):(r[u]=r[e],r[f]=r[s]);r.collapsed=o}function at(n){it(n);rt(n)}function vt(n){k(n,0);d(n,n.nodeType===1?n.childNodes.length:n.nodeValue.length)}function yt(n,t){var i=r[u],o=r[f],h=r[e],c=r[s],l=t.startContainer,a=t.startOffset,v=t.endContainer,y=t.endOffset;return n===0?p(i,o,l,a):n===1?p(h,c,l,a):n===2?p(h,c,v,y):n===3?p(i,o,v,y):void 0}function pt(){nt(h)}function wt(){return nt(st)}function ut(){return nt(l)}function bt(n){var t=this[u],r=this[f],o,e;(t.nodeType===3||t.nodeType===4)&&t.nodeValue?r?r>=t.nodeValue.length?i.insertAfter(n,t):(o=t.splitText(r),t.parentNode.insertBefore(n,o)):t.parentNode.insertBefore(n,t):(t.childNodes.length>0&&(e=t.childNodes[r]),e?t.insertBefore(n,e):t.nodeType==3?i.insertAfter(n,t):t.appendChild(n))}function kt(n){var t=r.extractContents();r.insertNode(n);n.appendChild(t);r.selectNode(n)}function dt(){return tt(new t(i),{startContainer:r[u],startOffset:r[f],endContainer:r[e],endOffset:r[s],collapsed:r.collapsed,commonAncestorContainer:r.commonAncestorContainer})}function g(n,t){var i;if(n.nodeType==3||t<0)return n;for(i=n.firstChild;i&&t>0;)--t,i=i.nextSibling;return i?i:n}function gt(){return r[u]==r[e]&&r[f]==r[s]}function p(n,t,r,u){var f,h,e,c,o,s;if(n==r)return t==u?0:t0&&r.collapse(n):r.collapse(n);r.collapsed=gt();r.commonAncestorContainer=i.findCommonAncestor(r[u],r[e])}function nt(n){var i,l=0,a=0,t,s,f,o,h,c;if(r[u]==r[e])return ni(n);for(i=r[e],t=i.parentNode;t;i=t,t=t.parentNode){if(t==r[u])return ti(i,n);++l}for(i=r[u],t=i.parentNode;t;i=t,t=t.parentNode){if(t==r[e])return ii(i,n);++a}for(s=a-l,f=r[u];s>0;)f=f.parentNode,s--;for(o=r[e];s<0;)o=o.parentNode,s++;for(h=f.parentNode,c=o.parentNode;h!=c;h=h.parentNode,c=c.parentNode)f=h,o=c;return ri(f,o,n)}function ni(n){var i,p,e,t,c,k,d,a,v;if(n!=h&&(i=b()),r[f]==r[s])return i;if(r[u].nodeType==3)return(p=r[u].nodeValue,e=p.substring(r[f],r[s]),n!=l&&(t=r[u],a=r[f],v=r[s]-r[f],a===0&&v>=t.nodeValue.length-1?t.parentNode.removeChild(t):t.deleteData(a,v),r.collapse(o)),n==h)?void 0:(e.length>0&&i.appendChild(y.createTextNode(e)),i);for(t=g(r[u],r[f]),c=r[s]-r[f];t&&c>0;)k=t.nextSibling,d=w(t,n),i&&i.appendChild(d),--c,t=k;return n!=l&&r.collapse(o),i}function ti(n,t){var i,u,o,e,s,v;if(t!=h&&(i=b()),u=et(n,t),i&&i.appendChild(u),o=a(n),e=o-r[f],e<=0)return t!=l&&(r.setEndBefore(n),r.collapse(c)),i;for(u=n.previousSibling;e>0;)s=u.previousSibling,v=w(u,t),i&&i.insertBefore(v,i.firstChild),--e,u=s;return t!=l&&(r.setEndBefore(n),r.collapse(c)),i}function ii(n,t){var u,f,i,e,c,v;for(t!=h&&(u=b()),i=ot(n,t),u&&u.appendChild(i),f=a(n),++f,e=r[s]-f,i=n.nextSibling;i&&e>0;)c=i.nextSibling,v=w(i,t),u&&u.appendChild(v),--e,i=c;return t!=l&&(r.setStartAfter(n),r.collapse(o)),u}function ri(n,t,i){var f,u,s,v,c,e,y;for(i!=h&&(u=b()),f=ot(n,i),u&&u.appendChild(f),s=a(n),v=a(t),++s,c=v-s,e=n.nextSibling;c>0;)y=e.nextSibling,f=w(e,i),u&&u.appendChild(f),e=y,--c;return f=et(t,i),u&&u.appendChild(f),i!=l&&(r.setStartAfter(n),r.collapse(o)),u}function et(n,t){var i=g(r[e],r[s]-1),u,f,y,p,l,a=i!=r[e];if(i==n)return v(i,a,c,t);for(u=i.parentNode,f=v(u,c,c,t);u;){while(i)y=i.previousSibling,p=v(i,a,c,t),t!=h&&f.insertBefore(p,f.firstChild),a=o,i=y;if(u==n)return f;i=u.previousSibling;u=u.parentNode;l=v(u,c,c,t);t!=h&&l.appendChild(f);f=l}}function ot(n,t){var i=g(r[u],r[f]),l=i!=r[u],e,s,y,p,a;if(i==n)return v(i,l,o,t);for(e=i.parentNode,s=v(e,c,o,t);e;){while(i)y=i.nextSibling,p=v(i,l,o,t),t!=h&&s.appendChild(p),l=o,i=y;if(e==n)return s;i=e.nextSibling;e=e.parentNode;a=v(e,c,o,t);t!=h&&a.appendChild(s);s=a}}function v(n,t,u,e){var a,v,y,o,p;return t?w(n,e):n.nodeType==3?(a=n.nodeValue,u?(o=r[f],v=a.substring(o),y=a.substring(0,o)):(o=r[s],v=a.substring(0,o),y=a.substring(o)),e!=l&&(n.nodeValue=y),e==h)?void 0:(p=i.clone(n,c),p.nodeValue=v,p):e==h?void 0:i.clone(n,c)}function w(n,t){if(t!=h)return t==l?i.clone(n,o):n;n.parentNode.removeChild(n)}function ui(){return i.create("body",null,ut()).outerText}var r=this,y=i.doc,st=0,l=1,h=2,o=!0,c=!1,f="startOffset",u="startContainer",e="endContainer",s="endOffset",tt=n.extend,a=i.nodeIndex;return tt(r,{startContainer:y,startOffset:0,endContainer:y,endOffset:0,collapsed:o,commonAncestorContainer:y,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:k,setEnd:d,setStartBefore:it,setStartAfter:ht,setEndBefore:ct,setEndAfter:rt,collapse:lt,selectNode:at,selectNodeContents:vt,compareBoundaryPoints:yt,deleteContents:pt,extractContents:wt,cloneContents:ut,insertNode:bt,surroundContents:kt,cloneRange:dt,toStringIE:ui}),r}return t.prototype.toString=function(){return this.toStringIE()},t});i("tinymce/html/Entities",["tinymce/util/Tools"],function(n){function a(n){var t;return t=document.createElement("div"),t.innerHTML=n,t.textContent||t.innerText||n}function o(n,i){var r,u,f,e={};if(n){for(n=n.split(","),i=i||10,r=0;r\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/[<>&\"\']/g,c=/&(#x|#)?([\w]+);/g,l={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},i;return t={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},e={"<":"<",">":">","&":"&",""":'"',"'":"'"},r=o("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),i={encodeRaw:function(n,i){return n.replace(i?u:f,function(n){return t[n]||n})},encodeAllRaw:function(n){return(""+n).replace(h,function(n){return t[n]||n})},encodeNumeric:function(n,i){return n.replace(i?u:f,function(n){return n.length>1?"&#"+((n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320)+65536)+";":t[n]||"&#"+n.charCodeAt(0)+";"})},encodeNamed:function(n,i,e){return e=e||r,n.replace(i?u:f,function(n){return t[n]||e[n]||n})},getEncodeFunc:function(n,e){function h(n,i){return n.replace(i?u:f,function(n){return t[n]||e[n]||"&#"+n.charCodeAt(0)+";"||n})}function c(n,t){return i.encodeNamed(n,t,e)}return(e=o(e)||r,n=s(n.replace(/\+/g,",")),n.named&&n.numeric)?h:n.named?e?c:i.encodeNamed:n.numeric?i.encodeNumeric:i.encodeRaw},decode:function(n){return n.replace(c,function(n,t,i){return t?(i=parseInt(i,t.length===2?16:10),i>65535?(i-=65536,String.fromCharCode(55296+(i>>10),56320+(i&1023))):l[i]||String.fromCharCode(i)):e[n]||r[n]||a(n)})}}});i("tinymce/dom/StyleSheetLoader",[],function(){return function(n,t){function u(t){n.getElementsByTagName("head")[0].appendChild(t)}function e(t,e,o){function l(){for(var n=s.passed,t=n.length;t--;)n[t]();s.status=2;s.passed=[];s.failed=[]}function a(){for(var n=s.failed,t=n.length;t--;)n[t]();s.status=3;s.passed=[];s.failed=[]}function b(){var n=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(n&&n[1]<536)}function p(n,t){n()||((new Date).getTime()-y0){c=n.createElement("style");c.textContent='@import "'+t+'"';w();u(c);return}v()}u(h);h.href=t}}var f=0,i={},r;t=t||{};r=t.maxLoadTime||5e3;this.load=e}});i("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(n,i,r,u,f,e,o,s,h,c){function d(n,t){var i={},r=t.keep_values,u;return u={set:function(i,r,u){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||n,r,u,i[0]));i.attr("data-mce-"+u,r).attr(u,r)},get:function(n,t){return n.attr("data-mce-"+t)||n.attr(t)}},i={style:{set:function(n,t){if(t!==null&&typeof t=="object"){n.css(t);return}r&&n.attr("data-mce-style",t);n.attr("style",t)},get:function(t){var i=t.attr("data-mce-style")||t.attr("style");return n.serializeStyle(n.parseStyle(i),t[0].nodeName)}}},r&&(i.href=i.src=u),i}function l(n,t){var f=this,e;f.doc=n;f.win=window;f.files={};f.counter=0;f.stdMode=!a||n.documentMode>=8;f.boxModel=!a||n.compatMode=="CSS1Compat"||f.stdMode;f.styleSheetLoader=new c(n);f.boundEvents=[];f.settings=t=t||{};f.schema=t.schema;f.styles=new r({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema);f.fixDoc(n);f.events=t.ownEvents?new u(t.proxy):u.Event;f.attrHooks=d(f,t);e=t.schema?t.schema.getBlockElements():{};f.$=i.overrideDefaults(function(){return{context:n,element:f.getRoot()}});f.isBlock=function(n){if(!n)return!1;var t=n.nodeType;return t?!!(t===1&&e[n.nodeName]):!!e[n]}}var v=h.each,y=h.is,p=h.grep,w=h.trim,a=s.ie,b=/^([a-z0-9],?)+$/i,k=/^[ \t\r\n]*$/;return l.prototype={$$:function(n){return typeof n=="string"&&(n=this.get(n)),this.$(n)},root:null,fixDoc:function(n){var t=this.settings,i;if(a&&t.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(t){n.createElement(t)});for(i in t.schema.getCustomElements())n.createElement(i)}},clone:function(n,t){var i=this,r,u;return!a||n.nodeType!==1||t?n.cloneNode(t):(u=i.doc,!t)?(r=u.createElement(n.nodeName),v(i.getAttribs(n),function(t){i.setAttrib(r,t.nodeName,i.getAttrib(n,t.nodeName))}),r):r.firstChild},getRoot:function(){var n=this;return n.settings.root_element||n.doc.body},getViewPort:function(n){var i,t;return n=n?n:this.win,i=n.document,t=this.boxModel?i.documentElement:i.body,{x:n.pageXOffset||t.scrollLeft,y:n.pageYOffset||t.scrollTop,w:n.innerWidth||t.clientWidth,h:n.innerHeight||t.clientHeight}},getRect:function(n){var t=this,i,r;return n=t.get(n),i=t.getPos(n),r=t.getSize(n),{x:i.x,y:i.y,w:r.w,h:r.h}},getSize:function(n){var r=this,t,i;return n=r.get(n),t=r.getStyle(n,"width"),i=r.getStyle(n,"height"),t.indexOf("px")===-1&&(t=0),i.indexOf("px")===-1&&(i=0),{w:parseInt(t,10)||n.offsetWidth||n.clientWidth,h:parseInt(i,10)||n.offsetHeight||n.clientHeight}},getParent:function(n,t,i){return this.getParents(n,t,i,!1)},getParents:function(n,i,r,u){var f=this,e,o=[];for(n=f.get(n),u=u===t,r=r||(f.getRoot().nodeName!="BODY"?f.getRoot().parentNode:null),y(i,"string")&&(e=i,i=i==="*"?function(n){return n.nodeType==1}:function(n){return f.is(n,e)});n;){if(n==r||!n.nodeType||n.nodeType===9)break;if(!i||i(n))if(u)o.push(n);else return n;n=n.parentNode}return u?o:null},get:function(n){var t;return n&&this.doc&&typeof n=="string"&&(t=n,n=this.doc.getElementById(n),n&&n.id!==t)?this.doc.getElementsByName(t)[1]:n},getNext:function(n,t){return this._findSib(n,t,"nextSibling")},getPrev:function(n,t){return this._findSib(n,t,"previousSibling")},select:function(t,i){var r=this;return n(t,r.get(i)||r.settings.root_element||r.doc,[])},is:function(i,r){var u,f;if(i.length===t){if(r==="*")return i.nodeType==1;if(b.test(r)){for(r=r.toLowerCase().split(/,/),i=i.nodeName.toLowerCase(),u=r.length-1;u>=0;u--)if(r[u]==i)return!0;return!1}}return i.nodeType&&i.nodeType!=1?!1:(f=i.nodeType?[i]:i,n(r,f[0].ownerDocument||f[0],null,f).length>0)},add:function(n,t,i,r,u){var f=this;return this.run(n,function(n){var e;return e=y(t,"string")?f.doc.createElement(t):t,f.setAttribs(e,i),r&&(r.nodeType?e.appendChild(r):f.setHTML(e,r)),u?e:n.appendChild(e)})},create:function(n,t,i){return this.add(this.doc.createElement(n),n,t,i,1)},createHTML:function(n,t,i){var u="",r;u+="<"+n;for(r in t)t.hasOwnProperty(r)&&t[r]!==null&&typeof t[r]!="undefined"&&(u+=" "+r+'="'+this.encode(t[r])+'"');return typeof i!="undefined"?u+">"+i+"<\/"+n+">":u+" />"},createFragment:function(n){var t,r,u=this.doc,i;for(i=u.createElement("div"),t=u.createDocumentFragment(),n&&(i.innerHTML=n);r=i.firstChild;)t.appendChild(r);return t},remove:function(n,t){return n=this.$$(n),t?n.each(function(){for(var n;n=this.firstChild;)n.nodeType==3&&n.data.length===0?this.removeChild(n):this.parentNode.insertBefore(n,this)}).remove():n.remove(),n.length>1?n.toArray():n[0]},setStyle:function(n,t,i){n=this.$$(n).css(t,i);this.settings.update_styles&&n.attr("data-mce-style",null)},getStyle:function(n,i,r){return(n=this.$$(n),r)?n.css(i):(i=i.replace(/-(\D)/g,function(n,t){return t.toUpperCase()}),i=="float"&&(i=a?"styleFloat":"cssFloat"),n[0]&&n[0].style?n[0].style[i]:t)},setStyles:function(n,t){this.$$(n).css(t)},removeAllAttribs:function(n){return this.run(n,function(n){for(var i=n.attributes,t=i.length-1;t>=0;t--)n.removeAttributeNode(i.item(t))})},setAttrib:function(n,t,i){var u=this,f,r,e=u.settings;if(i===""&&(i=null),n=u.$$(n),f=n.attr(t),r=u.attrHooks[t],r&&r.set?r.set(n,i,t):n.attr(t,i),f!=i&&e.onSetAttrib)e.onSetAttrib({attrElm:n,attrName:t,attrValue:i})},setAttribs:function(n,t){var i=this;i.$$(n).each(function(n,r){v(t,function(n,t){i.setAttrib(r,t,n)})})},getAttrib:function(n,t,i){var f=this,r,u;return n=f.$$(n),r=f.attrHooks[t],u=r&&r.get?r.get(n,t):n.attr(t),typeof u=="undefined"&&(u=i||""),u},getPos:function(n,t){var e=this,u=0,f=0,i,r=e.doc,o;if(n=e.get(n),t=t||r.body,n){if(t===r.body&&n.getBoundingClientRect)return o=n.getBoundingClientRect(),t=e.boxModel?r.documentElement:r.body,u=o.left+(r.documentElement.scrollLeft||r.body.scrollLeft)-t.clientLeft,f=o.top+(r.documentElement.scrollTop||r.body.scrollTop)-t.clientTop,{x:u,y:f};for(i=n;i&&i!=t&&i.nodeType;)u+=i.offsetLeft||0,f+=i.offsetTop||0,i=i.offsetParent;for(i=n.parentNode;i&&i!=t&&i.nodeType;)u-=i.scrollLeft||0,f-=i.scrollTop||0,i=i.parentNode}return{x:u,y:f}},parseStyle:function(n){return this.styles.parse(n)},serializeStyle:function(n,t){return this.styles.serialize(n,t)},addStyle:function(n){var f=this,r=f.doc,u,t,i;if(f!==l.DOM&&r===document){if(i=l.DOM.addedStyles,i=i||[],i[n])return;i[n]=!0;l.DOM.addedStyles=i}t=r.getElementById("mceDefaultStyles");t||(t=r.createElement("style"),t.id="mceDefaultStyles",t.type="text/css",u=r.getElementsByTagName("head")[0],u.firstChild?u.insertBefore(t,u.firstChild):u.appendChild(t));t.styleSheet?t.styleSheet.cssText+=n:t.appendChild(r.createTextNode(n))},loadCSS:function(n){var i=this,t=i.doc,r;if(i!==l.DOM&&t===document){l.DOM.loadCSS(n);return}n||(n="");r=t.getElementsByTagName("head")[0];v(n.split(","),function(n){var u;i.files[n]||(i.files[n]=!0,u=i.create("link",{rel:"stylesheet",href:n}),a&&t.documentMode&&t.recalc&&(u.onload=function(){t.recalc&&t.recalc();u.onload=null}),r.appendChild(u))})},addClass:function(n,t){this.$$(n).addClass(t)},removeClass:function(n,t){this.toggleClass(n,t,!1)},hasClass:function(n,t){return this.$$(n).hasClass(t)},toggleClass:function(n,t,r){this.$$(n).toggleClass(t,r).each(function(){this.className===""&&i(this).attr("class",null)})},show:function(n){this.$$(n).show()},hide:function(n){this.$$(n).hide()},isHidden:function(n){return this.$$(n).css("display")=="none"},uniqueId:function(n){return(n?n:"mce_")+this.counter++},setHTML:function(n,t){n=this.$$(n);a?n.each(function(n,r){if(r.canHaveHTML!==!1){while(r.firstChild)r.removeChild(r.firstChild);try{r.innerHTML="
"+t;r.removeChild(r.firstChild)}catch(u){i("
").html("
"+t).contents().slice(1).appendTo(r)}return t}}):n.html(t)},getOuterHTML:function(n){return n=this.get(n),n.nodeType==1?n.outerHTML:i("
").append(i(n).clone()).html()},setOuterHTML:function(n,t){var r=this;r.$$(n).each(function(){try{this.outerHTML=t}catch(n){r.remove(i(this).html(t),!0)}})},decode:o.decode,encode:o.encodeAllRaw,insertAfter:function(n,t){return t=this.get(t),this.run(n,function(n){var i,r;return i=t.parentNode,r=t.nextSibling,r?i.insertBefore(n,r):i.appendChild(n),n})},replace:function(n,t,i){var r=this;return r.run(t,function(t){return y(t,"array")&&(n=n.cloneNode(!0)),i&&v(p(t.childNodes),function(t){n.appendChild(t)}),t.parentNode.replaceChild(n,t)})},rename:function(n,t){var i=this,r;return n.nodeName!=t.toUpperCase()&&(r=i.create(t),v(i.getAttribs(n),function(t){i.setAttrib(r,t.nodeName,i.getAttrib(n,t.nodeName))}),i.replace(r,n,1)),r||n},findCommonAncestor:function(n,t){for(var i=n,r;i;){for(r=t;r&&i!=r;)r=r.parentNode;if(i==r)break;i=i.parentNode}return!i&&n.ownerDocument?n.ownerDocument.documentElement:i},toHex:function(n){return this.styles.toHex(h.trim(n))},run:function(n,t,i){var u=this,r;return(typeof n=="string"&&(n=u.get(n)),!n)?!1:(i=i||this,!n.nodeType&&(n.length||n.length===0))?(r=[],v(n,function(n,f){n&&(typeof n=="string"&&(n=u.get(n)),r.push(t.call(i,n,f)))}),r):t.call(i,n)},getAttribs:function(n){var t,i;return(n=this.get(n),!n)?[]:a?(t=[],n.nodeName=="OBJECT")?n.attributes:(n.nodeName==="OPTION"&&this.getAttrib(n,"selected")&&t.push({specified:1,nodeName:"selected"}),i=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,n.cloneNode(!1).outerHTML.replace(i,"").replace(/[\w:\-]+/gi,function(n){t.push({specified:1,nodeName:n})}),t):n.attributes},isEmpty:function(n,t){var u=this,e,o,r,s,i,h=0;if(n=n.firstChild,n){s=new f(n,n.parentNode);t=t||u.schema?u.schema.getNonEmptyElements():null;do{if(r=n.nodeType,r===1){if(n.getAttribute("data-mce-bogus"))continue;if(i=n.nodeName.toLowerCase(),t&&t[i]){if(i==="br"){h++;continue}return!1}for(o=u.getAttribs(n),e=o.length;e--;)if(i=o[e].nodeName,i==="name"||i==="data-mce-bookmark")return!1}if(r==8||r===3&&!k.test(n.nodeValue))return!1}while(n=s.next())}return h<=1},createRng:function(){var n=this.doc;return n.createRange?n.createRange():new e(this)},nodeIndex:function(n,t){var u=0,r,i;if(n)for(r=n.nodeType,n=n.previousSibling;n;n=n.previousSibling)(i=n.nodeType,!t||i!=3||i!=r&&n.nodeValue.length)&&(u++,r=i);return u},split:function(n,t,i){function e(n){function o(n){var t=n.previousSibling&&n.previousSibling.nodeName=="SPAN",i=n.nextSibling&&n.nextSibling.nodeName=="SPAN";return t&&i}var i,t=n.childNodes,u=n.nodeType,f;if(u!=1||n.getAttribute("data-mce-type")!="bookmark"){for(i=t.length-1;i>=0;i--)e(t[i]);if(u!=9){if(u==3&&n.nodeValue.length>0){if(f=w(n.nodeValue).length,!r.isBlock(n.parentNode)||f>0||f===0&&o(n))return}else if(u==1&&(t=n.childNodes,t.length==1&&t[0]&&t[0].nodeType==1&&t[0].getAttribute("data-mce-type")=="bookmark"&&n.parentNode.insertBefore(t[0],n),t.length||/^(br|hr|input|img)$/i.test(n.nodeName)))return;r.remove(n)}return n}}var r=this,u=r.createRng(),o,s,f;if(n&&t)return u.setStart(n.parentNode,r.nodeIndex(n)),u.setEnd(t.parentNode,r.nodeIndex(t)),o=u.extractContents(),u=r.createRng(),u.setStart(t.parentNode,r.nodeIndex(t)+1),u.setEnd(n.parentNode,r.nodeIndex(n)+1),s=u.extractContents(),f=n.parentNode,f.insertBefore(e(o),n),i?f.replaceChild(i,t):f.insertBefore(t,n),f.insertBefore(e(s),n),r.remove(n),i||t},bind:function(n,t,i,r){var u=this,f;if(h.isArray(n)){for(f=n.length;f--;)n[f]=u.bind(n[f],t,i,r);return n}return u.settings.collect&&(n===u.doc||n===u.win)&&u.boundEvents.push([n,t,i,r]),u.events.bind(n,t,i,r||u)},unbind:function(n,t,i){var f=this,r,u;if(h.isArray(n)){for(r=n.length;r--;)n[r]=f.unbind(n[r],t,i);return n}if(f.boundEvents&&(n===f.doc||n===f.win))for(r=f.boundEvents.length;r--;)u=f.boundEvents[r],n!=u[0]||t&&t!=u[1]||i&&i!=u[2]||this.events.unbind(u[0],u[1],u[2]);return this.events.unbind(n,t,i)},fire:function(n,t,i){return this.events.fire(n,t,i)},getContentEditable:function(n){var t;return!n||n.nodeType!=1?null:(t=n.getAttribute("data-mce-contenteditable"),t&&t!=="inherit")?t:n.contentEditable!=="inherit"?n.contentEditable:null},getContentEditableParent:function(n){for(var i=this.getRoot(),t=null;n&&n!==i;n=n.parentNode)if(t=this.getContentEditable(n),t!==null)break;return t},destroy:function(){var t=this,r,i;if(t.boundEvents){for(r=t.boundEvents.length;r--;)i=t.boundEvents[r],this.events.unbind(i[0],i[1],i[2]);t.boundEvents=null}n.setDocument&&n.setDocument();t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(n,t){while(n){if(t===n)return!0;n=n.parentNode}return!1},dumpRng:function(n){return"startContainer: "+n.startContainer.nodeName+", startOffset: "+n.startOffset+", endContainer: "+n.endContainer.nodeName+", endOffset: "+n.endOffset},_findSib:function(n,t,i){var u=this,r=t;if(n)for(typeof r=="string"&&(r=function(n){return u.is(n,t)}),n=n[i];n;n=n[i])if(r(n))return n;return null}},l.DOM=new l(document),l});i("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(n,t){function r(){function a(n,t){function e(){f.remove(r);i&&(i.onreadystatechange=i.onload=i=null);t()}function o(){typeof console!="undefined"&&console.log&&console.log("Failed to load: "+n)}var f=u,i,r;r=f.uniqueId();i=document.createElement("script");i.id=r;i.type="text/javascript";i.src=n;"onreadystatechange"in i?i.onreadystatechange=function(){/loaded|complete/.test(i.readyState)&&e()}:i.onload=e;i.onerror=o;(document.getElementsByTagName("head")[0]||document.body).appendChild(i)}var l=0,s=1,r=2,n={},h=[],t={},e=[],o=0,c;this.isDone=function(t){return n[t]==r};this.markDone=function(t){n[t]=r};this.add=this.load=function(i,r,u){var f=n[i];f==c&&(h.push(i),n[i]=l);r&&(t[i]||(t[i]=[]),t[i].push({func:r,scope:u||this}))};this.loadQueue=function(n,t){this.loadScripts(h,n,t)};this.loadScripts=function(u,h,l){function y(n){i(t[n],function(n){n.func.call(n.scope)});t[n]=c}var v;e.push({func:h,scope:l||this});v=function(){var t=f(u);u.length=0;i(t,function(t){if(n[t]==r){y(t);return}n[t]!=s&&(n[t]=s,o++,a(t,function(){n[t]=r;o--;y(t);v()}))});o||(i(e,function(n){n.func.call(n.scope)}),e.length=0)};v()}}var u=n.DOM,i=t.each,f=t.grep;return r.ScriptLoader=new r,r});i("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(n,i){function r(){var n=this;n.items=[];n.urls={};n.lookup={}}var u=i.each;return r.prototype={get:function(n){return this.lookup[n]?this.lookup[n].instance:t},dependencies:function(n){var t;return this.lookup[n]&&(t=this.lookup[n].dependencies),t||[]},requireLangPack:function(t,i){var u=r.language;if(u&&r.languageLoad!==!1){if(i)if(i=","+i+",",i.indexOf(","+u.substr(0,2)+",")!=-1)u=u.substr(0,2);else if(i.indexOf(","+u+",")==-1)return;n.ScriptLoader.add(this.urls[t]+"/langs/"+u+".js")}},add:function(n,t,i){return this.items.push(t),this.lookup[n]={instance:t,dependencies:i},t},createUrl:function(n,t){return typeof t=="object"?t:{prefix:n.prefix,resource:t,suffix:n.suffix}},addComponents:function(t,i){var r=this.urls[t];u(i,function(t){n.ScriptLoader.add(r+"/"+t)})},load:function(i,f,e,o){function c(){var r=h.dependencies(i);u(r,function(n){var i=h.createUrl(f,n);h.load(i.resource,i,t,t)});e&&(o?e.call(o):e.call(n))}var h=this,s=f;h.urls[i]||(typeof f=="object"&&(s=f.prefix+f.resource+f.suffix),s.indexOf("/")!==0&&s.indexOf("://")==-1&&(s=r.baseURL+"/"+s),h.urls[i]=s.substring(0,s.lastIndexOf("/")),h.lookup[i]?c():n.ScriptLoader.add(s,c,o))}},r.PluginManager=new r,r.ThemeManager=new r,r});i("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker"],function(n,t){function u(n,t){var i=n.childNodes;return t--,t>i.length-1?t=i.length-1:t<0&&(t=0),i[t]||n}function i(n){this.walk=function(t,i){function p(n){var t;return t=n[0],t.nodeType===3&&t===e&&w>=t.nodeValue.length&&n.splice(0,1),t=n[n.length-1],b===0&&n.length>0&&t===o&&t.nodeType===3&&n.splice(n.length-1,1),n}function k(n,t,i){for(var r=[];n&&n!=i;n=n[t])r.push(n);return r}function d(n,t){do{if(n.parentNode==t)return n;n=n.parentNode}while(n)}function a(n,t,r){var u=r?"nextSibling":"previousSibling";for(f=n,v=f.parentNode;f&&f!=t;f=v)v=f.parentNode,h=k(f==n?f:f[u],u),h.length&&(r||h.reverse(),i(p(h)))}var e=t.startContainer,w=t.startOffset,o=t.endContainer,b=t.endOffset,s,c,l,f,v,h,y;if(y=n.select("td.mce-item-selected,th.mce-item-selected"),y.length>0){r(y,function(n){i([n])});return}if(e.nodeType==1&&e.hasChildNodes()&&(e=e.childNodes[w]),o.nodeType==1&&o.hasChildNodes()&&(o=u(o,b)),e==o)return i(p([e]));for(s=n.findCommonAncestor(e,o),f=e;f;f=f.parentNode){if(f===o)return a(e,s,!0);if(f===s)break}for(f=o;f;f=f.parentNode){if(f===e)return a(o,s);if(f===s)break}c=d(e,s)||e;l=d(o,s)||o;a(e,c,!0);h=k(c==e?c:c.nextSibling,"nextSibling",l==o?l.nextSibling:l);h.length&&i(p(h));a(o,l)};this.split=function(n){function f(n,t){return n.splitText(t)}var i=n.startContainer,r=n.startOffset,t=n.endContainer,u=n.endOffset;return i==t&&i.nodeType==3?r>0&&rr?(u=u-r,i=t=f(t,u).previousSibling,u=t.nodeValue.length,r=0):u=0):(i.nodeType==3&&r>0&&r0&&u0){o=e;s=i?e.nodeValue.length:0;r=!0;return}if(n.isBlock(e)||l[e.nodeName.toLowerCase()])return;h=e}u&&h&&(o=h,r=!0,s=0)}var o,s,a,c=n.getRoot(),e,l,h,y;if(o=i[(f?"start":"end")+"Container"],s=i[(f?"start":"end")+"Offset"],y=o.nodeType==1&&s===o.childNodes.length,l=n.schema.getNonEmptyElements(),h=f,o.nodeType==1&&s>o.childNodes.length-1&&(h=!1),o.nodeType===9&&(o=n.getRoot(),s=0),o===c){if(h&&(e=o.childNodes[s>0?s-1:0],e&&(l[e.nodeName]||e.nodeName=="TABLE")))return;if(o.hasChildNodes()&&(s=Math.min(!h&&s>0?s-1:s,o.childNodes.length-1),o=o.childNodes[s],s=0,o.hasChildNodes()&&!/TABLE/.test(o.nodeName))){e=o;a=new t(o,c);do{if(e.nodeType===3&&e.nodeValue.length>0){s=h?0:e.nodeValue.length;o=e;r=!0;break}if(l[e.nodeName.toLowerCase()]){s=n.nodeIndex(e);o=e.parentNode;e.nodeName!="IMG"||h||s++;r=!0;break}}while(e=h?a.next():a.prev())}}u&&(o.nodeType===3&&s===0&&v(!0),o.nodeType===1&&(e=o.childNodes[s],e||(e=o.childNodes[s-1]),!e||e.nodeName!=="BR"||w(e,"A")||p(e)||p(e,!0)||v(!0,e)));h&&!u&&o.nodeType===3&&s===o.nodeValue.length&&v(!1);r&&i["set"+(f?"Start":"End")](o,s)}var r,u;return u=i.collapsed,f(!0),u||f(),r&&u&&i.collapse(!0),r}}var r=n.each;return i.compareRanges=function(n,t){if(n&&t)if(n.item||n.duplicate){if(n.item&&t.item&&n.item(0)===t.item(0)||n.isEqual&&t.isEqual&&t.isEqual(n))return!0}else return n.startContainer==t.startContainer&&n.startOffset==t.startOffset;return!1},i});i("tinymce/NodeChange",["tinymce/dom/RangeUtils"],function(n){return function(t){function u(n){var r,u;if(u=t.$(n).parentsUntil(t.getBody()).add(n),u.length===i.length){for(r=u.length;r>=0;r--)if(u[r]!==i[r])break;if(r===-1)return i=u,!0}return i=u,!1}var r,i=[];if(!("onselectionchange"in t.getDoc()))t.on("NodeChange Click MouseUp KeyUp",function(i){var u,f;u=t.selection.getRng();f={startContainer:u.startContainer,startOffset:u.startOffset,endContainer:u.endContainer,endOffset:u.endOffset};i.type!="nodechange"&&n.compareRanges(f,r)||t.fire("SelectionChange");r=f});t.on("contextmenu",function(){t.fire("SelectionChange")});t.on("SelectionChange",function(){var n=t.selection.getStart();!u(n)&&t.dom.isChildOf(n,t.getBody())&&t.nodeChanged({selectionChange:!0})});this.nodeChanged=function(n){var f=t.selection,i,r,u;!t.initialized||t.settings.disable_nodechange||t.settings.readonly||(u=t.getBody(),i=f.getStart()||u,i=i.ownerDocument!=t.getDoc()?t.getBody():i,i.nodeName=="IMG"&&f.isCollapsed()&&(i=i.parentNode),r=[],t.dom.getParent(i,function(n){if(n===u)return!0;r.push(n)}),n=n||{},n.element=i,n.parents=r,t.fire("NodeChange",n))}}});i("tinymce/html/Node",[],function(){function t(n,t,i){var r,u,f=i?"lastChild":"firstChild",e=i?"prev":"next";if(n[f])return n[f];if(n!==t){if(r=n[e],r)return r;for(u=n.parent;u&&u!==t;u=u.parent)if(r=u[e],r)return r}}function n(n,t){this.name=n;this.type=t;t===1&&(this.attributes=[],this.attributes.map={})}var i=/^[ \t\r\n]*$/,r={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return n.prototype={replace:function(n){var t=this;return n.parent&&n.remove(),t.insert(n,t),t.remove(),t},attr:function(n,t){var u=this,i,r,f;if(typeof n!="string"){for(r in n)u.attr(r,n[r]);return u}if(i=u.attributes){if(t!==f){if(t===null){if(n in i.map)for(delete i.map[n],r=i.length;r--;)if(i[r].name===n)return i=i.splice(r,1),u;return u}if(n in i.map){for(r=i.length;r--;)if(i[r].name===n){i[r].value=t;break}}else i.push({name:n,value:t});return i.map[n]=t,u}return i.map[n]}},clone:function(){var r=this,u=new n(r.name,r.type),f,o,e,t,i;if(e=r.attributes){for(i=[],i.map={},f=0,o=e.length;f