/* Compressed by the perl version of jsmin. */
/* JavaScript::Minifier 0.02 */

var ConvioTinyMCEUtil={};ConvioTinyMCEUtil.getTagInfo=function(tagSource,api_url,rest_config)
{var tagInfo;var params='method=getTagInfo&response_format=json'+'&content='+encodeURIComponent(tagSource);params+=rest_config.Utils.getCommonRequestParams();var myUrl=api_url+((api_url.indexOf('?')>-1)?'&':'?')+params;var ajax={url:myUrl,type:'POST',async:false,success:function(text)
{var response=tinymce.util.JSON.parse(text);tagInfo=response?response.getTagInfoResponse:null;}};tinymce.util.XHR.send(ajax);return tagInfo;}
ConvioTinyMCEUtil.convertURL=function(url,node,on_save,name,settings,pathInfo)
{if(settings.convert_urls&&(!node||(node.nodeName!='LINK'))&&(url.indexOf('file:')!==0)){var htmlEd=new ConvioHtmlEditor();htmlEd.setPathInfo(pathInfo);url=htmlEd.fixLinkPath(document,url,settings.relative_urls);}
return url;};var ConvioTinyMCEOverrides={};ConvioTinyMCEOverrides.getConvioWysiwygCssClasses=function()
{var t=this,each=tinymce.each,cl=[],i,lo={},f=t.settings.class_filter,ov;if(t.classes)
return t.classes;function addClasses(s){each(s.imports,function(r){addClasses(r);});if(!s||!s.href)
return;var ssHrefComponents=s.href.toString().split('/');var lastSsHrefComponent=ssHrefComponents[ssHrefComponents.length-1];if(lastSsHrefComponent!='CustomWysiwygStyle.css'){return;}
each(s.cssRules||s.rules,function(r){switch(r.type||1){case 1:if(r.selectorText){each(r.selectorText.split(','),function(v){v=v.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(v)||!/\.[\w\-]+$/.test(v))
return;ov=v;v=v.replace(/.*\.([a-z0-9_\-]+).*/i,'$1');if(f&&!(v=f(v,ov)))
return;if(!lo[v]){cl.push({'class':v});lo[v]=1;}});}
break;case 3:addClasses(r.styleSheet);break;}});};try{each(t.doc.styleSheets,addClasses);}
catch(ex){}
if(cl.length>0)
t.classes=cl;return cl;};ConvioTinyMCEOverrides.renderHTML=function(accessKey,accessText){var t=this,h='',c,co,dom=tinymce.DOM,s=t.settings,i,pr,nx,cl;cl=t.controls;for(i=0;i<cl.length;i++){co=cl[i];pr=cl[i-1];nx=cl[i+1];if(i===0){c='mceToolbarStart';if(co.Button)
c+=' mceToolbarStartButton';else if(co.SplitButton)
c+=' mceToolbarStartSplitButton';else if(co.ListBox)
c+=' mceToolbarStartListBox';var iText='<!-- IE -->';if(accessKey&&accessText){iText=dom.createHTML('a',{href:'javascript:;',onclick:'return false;',accesskey:accessKey,title:accessText},iText);}
h+=dom.createHTML('td',{'class':c},dom.createHTML('span',null,iText));}
if(pr&&co.ListBox){if(pr.Button||pr.SplitButton)
h+=dom.createHTML('td',{'class':'mceToolbarEnd'},dom.createHTML('span',null,'<!-- IE -->'));}
if(dom.stdMode)
h+='<td style="position: relative">'+co.renderHTML()+'</td>';else
h+='<td>'+co.renderHTML()+'</td>';if(nx&&co.ListBox){if(nx.Button||nx.SplitButton)
h+=dom.createHTML('td',{'class':'mceToolbarStart'},dom.createHTML('span',null,'<!-- IE -->'));}}
c='mceToolbarEnd';if(co.Button)
c+=' mceToolbarEndButton';else if(co.SplitButton)
c+=' mceToolbarEndSplitButton';else if(co.ListBox)
c+=' mceToolbarEndListBox';h+=dom.createHTML('td',{'class':c},dom.createHTML('span',null,'<!-- IE -->'));return dom.createHTML('table',{id:t.id,'class':'mceToolbar'+(s['class']?' '+s['class']:''),cellpadding:'0',cellspacing:'0',align:t.settings.align||''},'<tbody><tr>'+h+'</tr></tbody>');};function ConvioTinyMCEConfig(restrict_formatting,for_email,use_accessible_alternatives,accessKeyConfig,useAdvancedCodeEditor,useSpellCheck){this.restricted=restrict_formatting;this.for_email=for_email;this.use_accessible_alternatives=use_accessible_alternatives;this.getClipboardCtrlNames=function(prefix,suffix)
{var disabled=((navigator.userAgent.indexOf('Gecko')>-1)&&(navigator.userAgent.indexOf('WebKit')<0));return!disabled?(prefix||'')+'cut, copy, paste'+(suffix||''):'';};this.getFontCtrlNames=function(prefix,suffix)
{return!this.restricted?(prefix||'')+'fontselect, fontsizeselect'+(suffix||''):'';};this.getColorCtrlNames=function(prefix,suffix)
{return!this.restricted?(prefix||'')+'forecolor, backcolor'+(suffix||''):'';};this.getBIUCtrlName=function(prefix,suffix)
{return(prefix||'')+(this.restricted?'bold, italic':'bold, italic, underline')+(suffix||'');};this.getMediaCtrlName=function(prefix,suffix)
{return'';};this.getInlinePopups=function(prefix,suffix)
{return use_accessible_alternatives?'':(prefix||'')+'inlinepopups'+(suffix||'');};this.getSpellCheck=function(prefix,suffix)
{return useSpellCheck?(prefix||'')+'convio_spellcheck'+(suffix||''):'';};this.getSourceEditorButton=function()
{return useAdvancedCodeEditor?'advcode':'code';}
this.getSourceEditorPlugin=function(prefix,suffix)
{return useAdvancedCodeEditor?(prefix||'')+'advcode'+(suffix||''):'';}
this.getStylePropNames=function(prefix,suffix)
{return!this.restricted?(prefix||'')+'styleprops, attribs'+(suffix||''):'';};this.getCleanupName=function(prefix,suffix)
{return!this.restricted?(prefix||'')+'cleanup'+(suffix||''):'';};this.getToolbarAccessKey=function(tbIndex){switch(tbIndex){case 1:return accessKeyConfig.key_1;case 2:return accessKeyConfig.key_2;case 3:return accessKeyConfig.key_3;default:return null;}};this.getToolbarLabelName=function(tbIndex){switch(tbIndex){case 1:return accessKeyConfig.label_1;case 2:return accessKeyConfig.label_2;case 3:return accessKeyConfig.label_3;default:return null;}};this.getContentAccessKey=function(){return accessKeyConfig.key_content_block;};this.getContentBlockLabelName=function(){return accessKeyConfig.label_content_block;};this.getContentPathNavAccessKey=function(){return accessKeyConfig.key_content_path_nav;};this.getContentPathNavLabelName=function(){return accessKeyConfig.label_content_path_nav;};};ConvioTinyMCEConfig.prototype.MergeSettings=function(mergeInto,mergeFrom)
{if(mergeInto&&mergeFrom){Utils.subclass(mergeInto,mergeFrom);}
return mergeInto||mergeFrom;};ConvioTinyMCEConfig.prototype.CommonSettings={mode:'exact',remove_script_host:false,accessibility_focus:true,tab_focus:':prev,:next',custom_shortcuts:true,custom_undo_redo_keyboard_shortcuts:true,language:'en',docs_language:'en',doctype:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',cleanup:true,cleanup_on_startup:true,entity_encoding:'named',inline_styles:true,convert_fonts_to_spans:true,convert_urls:true,fix_content_duplication:true,fix_list_elements:false,fix_ie_paragraphs:true,forced_root_block:'p',force_br_newlines:false,force_p_newlines:true,font_size_classes:0,font_size_style_values:0,indent_mode:'simple',indent_char:'\t',indent_levels:1,remove_redundant_brs:true,element_format:'xhtml',object_resizing:true,paste_auto_cleanup_on_paste:true,paste_convert_middot_lists:true,paste_strip_class_attributes:'mso',paste_remove_styles:false,remove_linebreaks:false,apply_source_formatting:true,strict_loading_mode:true,fix_table_elements:true,width:'100%',height:'100%',auto_resize:false,theme:'advanced',skin:'convio',theme_advanced_fonts:'Arial=arial, helvetica, sans-serif; Arial Black=arial black, arial, helvetica, sans-serif; Arial Narrow=arial narrow, arial, helvetica, sans-serif; Courier New=courier new, courier, monospace; Times New Roman=times new roman; Verdana=verdana, arial, helvetica, sans-serif',theme_advanced_toolbar_location:'top',theme_advanced_toolbar_align:'left',theme_advanced_statusbar_location:'bottom',theme_advanced_layout_manager:'SimpleLayout',gecko_spellcheck:false,table_inline_editing:false,extended_valid_elements:'convio:choose[class|contenteditable|style],'
+'choose[class|contenteditable|style],'
+'convio:when[title|test|class|contenteditable|style|selected],'
+'when[title|test|class|contenteditable|style|selected],'
+'#convio:then[class|contenteditable|style],'
+'#then[class|contenteditable|style],'
+'convio:op[class|contenteditable|style],'
+'op[class|contenteditable|style],'
+'#convio:otherwise[title|class|contenteditable|style|selected],'
+'#otherwise[title|class|contenteditable|style|selected],'
+'#convio:session[title|name|param|class|contenteditable|style|propsurl],'
+'#session[title|name|param|class|contenteditable|style|propsurl],',valid_elements:"@[id|class|style|title|dir<ltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],"+"a[rel|rev|charset|hreflang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur],"+"strong/b,"+"em/i,"+"strike,"+"u,"+"#p[align],"+"-ol[type|compact],"+"-ul[type|compact],"+"-li,"+"br,"+"img[longdesc|usemap|src|border|alt=|title|hspace|vspace|width|height|align],"+"-sub,"+"-sup,"+"-blockquote,"+"-table[border=0|cellspacing|cellpadding|width|frame|rules|height|align|summary|bgcolor|background|bordercolor],"+"-tr[rowspan|width|height|align|valign|bgcolor|background|bordercolor],"+"tbody[align],"+"thead[align],"+"tfoot[align],"+"#td[colspan|rowspan|width|height|align|valign|bgcolor|background|bordercolor|scope],"+"#th[colspan|rowspan|width|height|align|valign|scope],"+"caption[align],"+"div[align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],"+"-span[align],"+"-code,"+"-pre,"+"address,"+"-h1[align],"+"-h2[align],"+"-h3[align],"+"-h4[align],"+"-h5[align],"+"-h6[align],"+"hr[size|noshade],"+"-font[face|size|color],"+"dd,"+"dl,"+"dt,"+"cite,"+"abbr,"+"acronym,"+"del[datetime|cite],"+"ins[datetime|cite],"+"object[align|classid|width|height|codebase|*],"+"param[name|value|_value],"+"embed[type|width|height|src|*],"+"script[src|type|language|charset|defer],"+"map[name],"+"area[shape|coords|href|alt|target],"+"bdo,"+"button,"+"col[align|char|charoff|span|valign|width],"+"colgroup[align|char|charoff|span|valign|width],"+"dfn,"+"fieldset,"+"form[name|id|action|method|enctype|accept-charset|onsubmit|onreset|target],"+"input[id|name|type|value|size|maxlength|checked|accept|src|width|height|disabled|readonly|tabindex|accesskey|onfocus|onblur|onchange|onselect|onclick|onmouseover|onmouseout|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|align],"+"kbd,"+"label[for],"+"legend[align],"+"noscript,"+"optgroup[label|disabled],"+"option[name|id|value|selected],"+"q[cite],"+"samp,"+"select[id|name|type|value|size|maxlength|checked|accept|src|width|height|disabled|readonly|tabindex|accesskey|onfocus|onblur|onchange|onselect|length|options|selectedIndex|onclick|onmouseover|onmouseout|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress],"+"small,"+"textarea[id|name|rows|cols|disabled|readonly|tabindex|accesskey|onfocus|onblur|onchange|onselect|onclick|onmouseover|onmouseout|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress],"+"tt,"+"var,"+"big,"+"style[media|title|type=text/css|lang|dir],"+"iframe[src|type|id|style|height|width|frameborder|scrolling|align],"+"link[*],"+"meta[*]",convio_plugin_width:800,convio_plugin_height:550,noneditable_handle_visual_aid:false,noneditable_use_unselectable:false,noneditable_hidden_is_noneditable:true,lastline:'nocomma'};ConvioTinyMCEConfig.prototype.ClubModeSettings=function(addConfig)
{var config={theme_advanced_buttons1:this.getClipboardCtrlNames('',',')
+this.getSpellCheck('',',')
+'pastetext, undo, redo, '
+'|, bullist, numlist, justifyleft, justifycenter, justifyright, justifyfull, indent, outdent, '
+'|, '+this.getSourceEditorButton()+', '
+this.getCleanupName('',',')
+'|, visualaid',theme_advanced_buttons2:this.getStylePropNames('',',|,')
+'formatselect, styleselect'
+this.getFontCtrlNames(',','')
+this.getBIUCtrlName(',','')
+this.getColorCtrlNames(',','')
+', selectall, removeformat, hr',theme_advanced_buttons3:'image, link, unlink, anchor,'
+'|, '+this.getMediaCtrlName('',',')+'charmap,'
+'|, table, row_props, cell_props, merge_cells, split_cells,'
+'|, row_before, row_after, col_before, col_after,'
+'|, delete_row, delete_col',plugins:this.getInlinePopups('',',')+'table, safari, style, xhtmlxtras, paste, media,'+this.getSourceEditorPlugin('',',')+'-convio_spellcheck',dialog_type:'modal',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),toolbar_access_key_row_2:this.getToolbarAccessKey(2),toolbar_access_name_row_2:this.getToolbarLabelName(2),toolbar_access_key_row_3:this.getToolbarAccessKey(3),toolbar_access_name_row_3:this.getToolbarLabelName(3),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName(),content_path_nav_access_key:this.getContentPathNavAccessKey(),content_path_nav_access_name:this.getContentPathNavLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.AdminNewsFeedModeSettings=function(addConfig)
{var config={theme_advanced_buttons1:this.getBIUCtrlName('',', ')
+'|, justifyleft, justifycenter, justifyright, '
+'|, numlist, bullist, outdent, indent, editor, |, link, unlink, | , code, editor',theme_advanced_buttons2:'',theme_advanced_buttons3:'',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.BasicDoubleMinusModeSettings=function(addConfig)
{var config={theme_advanced_buttons1:'bold, italic, '
+this.getColorCtrlNames('|,',',')
+'|, justifyleft, justifycenter, justifyright, '
+'|, numlist, bullist, outdent, indent'+this.getFontCtrlNames(',','')+', editor',theme_advanced_buttons2:'',theme_advanced_buttons3:'',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.BasicMinusModeSettings=function(addConfig)
{var config={theme_advanced_buttons1:'bold, italic, '
+this.getColorCtrlNames('|,',',')
+'|, justifyleft, justifycenter, justifyright, '
+'|, numlist, bullist, outdent, indent,'
+this.getFontCtrlNames('|,',',')
+'|, image, hr, template, code, editor',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.BasicPlusModeSettings=function(addConfig)
{var config={theme_advanced_buttons1:this.getBIUCtrlName('',', |, ')
+this.getClipboardCtrlNames('',',')
+this.getSpellCheck('',',')
+'pastetext, pasteword, '
+'|, undo, redo,'
+'|, selectall, removeformat, |, justifyleft, justifycenter, justifyright,'
+'numlist, bullist, outdent, indent, |, link, unlink, anchor, |, image, hr, template, '+this.getSourceEditorButton()+','
+this.getColorCtrlNames('|,',''),theme_advanced_buttons2:'tablecontrols, '
+'|, formatselect, '+this.getFontCtrlNames('',',')
+'|, add_personalization, cnv_conditional, edit_conditional, toggle_conditional, editor',theme_advanced_buttons3:'',plugins:'paste, '+this.getInlinePopups('',',')+'table, '+this.getSourceEditorPlugin('',',')
+'-convio_customtag, -convio_noneditable, -convio_personalization, -convio_conditional, -convio_spellcheck',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),toolbar_access_key_row_2:this.getToolbarAccessKey(2),toolbar_access_name_row_2:this.getToolbarLabelName(2),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName(),content_path_nav_access_key:this.getContentPathNavAccessKey(),content_path_nav_access_name:this.getContentPathNavLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.ReadOnlySettings=function(addConfig)
{var config={readonly:true};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};ConvioTinyMCEConfig.prototype.FullModeSettings=function(addConfig)
{var config={theme_advanced_layout_manager:'SimpleLayout',theme_advanced_buttons1:this.getClipboardCtrlNames('',',')
+this.getSpellCheck('',',')
+'pastetext, pasteword, undo, redo, '
+'|, bullist, numlist, justifyleft, justifycenter, justifyright, justifyfull, indent, outdent, '
+'|, '+this.getSourceEditorButton()+', '
+this.getCleanupName('',',')
+'|, visualaid',theme_advanced_buttons2:this.getStylePropNames('',',|,')
+'formatselect, styleselect, '
+this.getFontCtrlNames('',',')
+this.getBIUCtrlName('',',')
+this.getColorCtrlNames('',',')
+'selectall, removeformat, hr',theme_advanced_buttons3:'image, link, unlink, anchor, '
+'|, cnv_component, add_personalization, cnv_conditional, edit_conditional, toggle_conditional, '
+'|, '+this.getMediaCtrlName('',',')+'charmap,'
+'|, table, row_props, cell_props, merge_cells, split_cells, '
+'|, row_before, row_after, col_before, col_after, '
+'|, delete_row, delete_col',plugins:'paste, style, table, '
+'xhtmlxtras, media,'+this.getInlinePopups('',',')+'contextmenu, safari, '+this.getSourceEditorPlugin('',',')
+'-convio_customtag, -convio_noneditable, -convio_personalization, -convio_conditional, -convio_component, -convio_imagelibrary, -convio_links, -convio_spellcheck',theme_advanced_resizing:use_accessible_alternatives?false:true,theme_advanced_resize_horizontal:use_accessible_alternatives?false:true,theme_advanced_resizing_use_cookie:use_accessible_alternatives?false:true,toolbar_access_key_row_1:this.getToolbarAccessKey(1),toolbar_access_name_row_1:this.getToolbarLabelName(1),toolbar_access_key_row_2:this.getToolbarAccessKey(2),toolbar_access_name_row_2:this.getToolbarLabelName(2),toolbar_access_key_row_3:this.getToolbarAccessKey(3),toolbar_access_name_row_3:this.getToolbarLabelName(3),content_block_access_key:this.getContentAccessKey(),content_block_access_name:this.getContentBlockLabelName(),content_path_nav_access_key:this.getContentPathNavAccessKey(),content_path_nav_access_name:this.getContentPathNavLabelName()};this.MergeSettings(config,this.CommonSettings);return this.MergeSettings(addConfig,config);};
