<?xml version="1.0" encoding="UTF-8"?>
<theme name="Default" author_name="Invision Power Services, Inc" author_url="">
 <field sc_key="active_input_border" sc_type="Color" sc_multiple="0" sc_updated="1585851451" sc_app="core" sc_default="#3480bb" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_active_input_border" sc_order="36" sc_condition="">[]</field>
 <field sc_key="ajax_pagination" sc_type="YesNo" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="1" sc_tab_key="custom" sc_show_in_vse="1" sc_title="themesetting_ajax_pagination" sc_order="11" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="alternate_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_alternate_button" sc_order="3" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="alternate_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_alternate_button_font" sc_order="4" sc_condition="">[]</field>
 <field sc_key="area_background" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#edf2f7" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_area_background" sc_order="10" sc_condition="">[]</field>
 <field sc_key="area_background_dark" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#2d3748" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_area_background_dark" sc_order="9" sc_condition="">[]</field>
 <field sc_key="area_background_light" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#f7fafc" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_area_background_light" sc_order="11" sc_condition="">[]</field>
 <field sc_key="area_background_reset" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_area_background_reset" sc_order="12" sc_condition="">[]</field>
 <field sc_key="body_font" sc_type="Select" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="Inter" sc_tab_key="textcolors" sc_show_in_vse="1" sc_title="themesetting_body_font" sc_order="1" sc_condition="">[{&quot;key&quot;:&quot;default&quot;,&quot;value&quot;:&quot;Default&quot;},{&quot;key&quot;:&quot;Inter&quot;,&quot;value&quot;:&quot;Inter&quot;},{&quot;key&quot;:&quot;Lato&quot;,&quot;value&quot;:&quot;Lato&quot;},{&quot;key&quot;:&quot;Open Sans&quot;,&quot;value&quot;:&quot;Open Sans&quot;},{&quot;key&quot;:&quot;Roboto&quot;,&quot;value&quot;:&quot;Roboto&quot;},{&quot;key&quot;:&quot;Roboto Slab&quot;,&quot;value&quot;:&quot;Roboto Slab&quot;},{&quot;key&quot;:&quot;Montserrat&quot;,&quot;value&quot;:&quot;Montserrat&quot;},{&quot;key&quot;:&quot;Merriweather&quot;,&quot;value&quot;:&quot;Merriweather&quot;}]</field>
 <field sc_key="brand_primary" sc_type="Color" sc_multiple="0" sc_updated="1588158389" sc_app="core" sc_default="#177ec9" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_brand_primary" sc_order="1" sc_condition="">[]</field>
 <field sc_key="button_bar" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_button_bar" sc_order="13" sc_condition="">[]</field>
 <field sc_key="comment_count" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#edf2f7" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_comment_count" sc_order="33" sc_condition="">[]</field>
 <field sc_key="comment_count_font" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#2d3748" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_comment_count_font" sc_order="34" sc_condition="">[]</field>
 <field sc_key="enable_fluid_width" sc_type="YesNo" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="0" sc_tab_key="custom" sc_show_in_vse="1" sc_title="themesetting_enable_fluid_width" sc_order="8" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;},{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="featured" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#2c8c69" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_featured_color" sc_order="35" sc_condition="">[]</field>
 <field sc_key="fluid_width_size" sc_type="Number" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="95" sc_tab_key="custom" sc_show_in_vse="1" sc_title="themesetting_fluid_width_size" sc_order="9" sc_condition="">[]</field>
 <field sc_key="font_2x_large" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="24" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_2x_large" sc_order="7" sc_condition="">[]</field>
 <field sc_key="font_3x_large" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="30" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_3x_large" sc_order="8" sc_condition="">[]</field>
 <field sc_key="font_4x_large" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="36" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_4x_large" sc_order="9" sc_condition="">[]</field>
 <field sc_key="font_base" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="16" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_base" sc_order="4" sc_condition="">[]</field>
 <field sc_key="font_large" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="18" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_large" sc_order="5" sc_condition="">[]</field>
 <field sc_key="font_medium" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="14" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_medium" sc_order="3" sc_condition="">[]</field>
 <field sc_key="font_size" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="100" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="themesetting_font_size" sc_order="0" sc_condition="">[]</field>
 <field sc_key="font_small" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="13" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_small" sc_order="2" sc_condition="">[]</field>
 <field sc_key="font_x_large" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="20" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_x_large" sc_order="6" sc_condition="">[]</field>
 <field sc_key="font_x_small" sc_type="Number" sc_multiple="0" sc_updated="1586951714" sc_app="core" sc_default="12" sc_tab_key="typescale" sc_show_in_vse="0" sc_title="font_x_small" sc_order="1" sc_condition="">[]</field>
 <field sc_key="footer_text" sc_type="Color" sc_multiple="0" sc_updated="1458670894" sc_app="core" sc_default="#353c41" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_footer_text" sc_order="13" sc_condition="">[]</field>
 <field sc_key="header" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_header" sc_order="3" sc_condition="">[]</field>
 <field sc_key="header_height" sc_type="Number" sc_multiple="0" sc_updated="1623268512" sc_app="core" sc_default="80" sc_tab_key="custom" sc_show_in_vse="0" sc_title="header_height" sc_order="2" sc_condition="">[]</field>
 <field sc_key="header_height_mobile" sc_type="Number" sc_multiple="0" sc_updated="1623268512" sc_app="core" sc_default="55" sc_tab_key="custom" sc_show_in_vse="0" sc_title="header_height_mobile" sc_order="3" sc_condition="">[]</field>
 <field sc_key="header_text" sc_type="Color" sc_multiple="0" sc_updated="1588158389" sc_app="core" sc_default="#2d3748" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_header_text" sc_order="4" sc_condition="">[]</field>
 <field sc_key="headline_font" sc_type="Select" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="Inter" sc_tab_key="textcolors" sc_show_in_vse="1" sc_title="themesetting_headline_font" sc_order="2" sc_condition="">[{&quot;key&quot;:&quot;default&quot;,&quot;value&quot;:&quot;Default&quot;},{&quot;key&quot;:&quot;Inter&quot;,&quot;value&quot;:&quot;Inter&quot;},{&quot;key&quot;:&quot;Lato&quot;,&quot;value&quot;:&quot;Lato&quot;},{&quot;key&quot;:&quot;Open Sans&quot;,&quot;value&quot;:&quot;Open Sans&quot;},{&quot;key&quot;:&quot;Roboto&quot;,&quot;value&quot;:&quot;Roboto&quot;},{&quot;key&quot;:&quot;Roboto Slab&quot;,&quot;value&quot;:&quot;Roboto Slab&quot;},{&quot;key&quot;:&quot;Montserrat&quot;,&quot;value&quot;:&quot;Montserrat&quot;},{&quot;key&quot;:&quot;Merriweather&quot;,&quot;value&quot;:&quot;Merriweather&quot;}]</field>
 <field sc_key="important_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_important_button" sc_order="7" sc_condition="">[]</field>
 <field sc_key="important_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_important_button_font" sc_order="8" sc_condition="">[]</field>
 <field sc_key="item_status" sc_type="Color" sc_multiple="0" sc_updated="1444657491" sc_app="core" sc_default="#1265a1" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_item_status_active" sc_order="27" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="js_include" sc_type="Radio" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="footer" sc_tab_key="custom" sc_show_in_vse="0" sc_title="themesetting_js_location" sc_order="10" sc_condition="">[{&quot;key&quot;:&quot;head&quot;,&quot;value&quot;:&quot;themesetting_js_position_head&quot;},{&quot;key&quot;:&quot;footer&quot;,&quot;value&quot;:&quot;themesetting_js_position_body&quot;}]</field>
 <field sc_key="light_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#e8f2fa" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_light_button" sc_order="9" sc_condition="">[]</field>
 <field sc_key="light_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#0e4c79" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_light_button_font" sc_order="10" sc_condition="">[]</field>
 <field sc_key="link" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#1a202c" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_link" sc_order="7" sc_condition="">[]</field>
 <field sc_key="link_button" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#177ec9" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_link_button" sc_order="15" sc_condition="">[]</field>
 <field sc_key="link_hover" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_link_hover" sc_order="8" sc_condition="">[]</field>
 <field sc_key="main_nav" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#1265a1" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_main_nav" sc_order="5" sc_condition="">[]</field>
 <field sc_key="main_nav_font" sc_type="Color" sc_multiple="0" sc_updated="1452079061" sc_app="core" sc_default="#ffffff" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_main_nav_font" sc_order="6" sc_condition="">[]</field>
 <field sc_key="main_nav_tab" sc_type="Color" sc_multiple="0" sc_updated="1444657491" sc_app="core" sc_default="#ffffff" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_main_nav_active" sc_order="7" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="main_nav_tab_font" sc_type="Color" sc_multiple="0" sc_updated="1452079061" sc_app="core" sc_default="#353c41" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_main_nav_active_font" sc_order="8" sc_condition="">[]</field>
 <field sc_key="mentions" sc_type="Color" sc_multiple="0" sc_updated="1444657491" sc_app="core" sc_default="#3d6594" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_mentions" sc_order="29" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="moderated" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#f7edf1" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_moderated" sc_order="21" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="moderated_light" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#fcf7f9" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_moderated_light" sc_order="22" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="moderated_text" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#880e4f" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_moderated_text" sc_order="23" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="moderated_text_light" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#a4768f" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_moderated_text_light" sc_order="24" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="normal_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_normal_button" sc_order="5" sc_condition="">[]</field>
 <field sc_key="normal_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_normal_button_font" sc_order="6" sc_condition="">[]</field>
 <field sc_key="notification_bubble" sc_type="Color" sc_multiple="0" sc_updated="1444657491" sc_app="core" sc_default="#36ab80" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_notification_bubble" sc_order="28" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="page_background" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#edf0f4" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_page_background" sc_order="2" sc_condition="">[]</field>
 <field sc_key="pagination_active" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#3e4148" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_pagination_active" sc_order="14" sc_condition="">[]</field>
 <field sc_key="post_highlight" sc_type="Color" sc_multiple="0" sc_updated="1467127302" sc_app="core" sc_default="#fdf5e7" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_post_highlight" sc_order="31" sc_condition="">[]</field>
 <field sc_key="post_highlight_border" sc_type="Color" sc_multiple="0" sc_updated="1467127302" sc_app="core" sc_default="#81622e" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesettings_post_highlight_border" sc_order="32" sc_condition="">[]</field>
 <field sc_key="prefix" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_prefix" sc_order="18" sc_condition="">[]</field>
 <field sc_key="price" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#b63f3f" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_price" sc_order="14" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="primary_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#177ec9" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_primary_button" sc_order="1" sc_condition="">[]</field>
 <field sc_key="primary_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_primary_button_font" sc_order="2" sc_condition="">[]</field>
 <field sc_key="profile_header" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#353c41" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_profile_header" sc_order="15" sc_condition="">[]</field>
 <field sc_key="rating_on" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ff9800" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_rating_on" sc_order="25" sc_condition="">[]</field>
 <field sc_key="recaptcha_theme" sc_type="other" sc_multiple="0" sc_updated="1461013725" sc_app="core" sc_default="white" sc_tab_key="custom" sc_show_in_vse="0" sc_title="recaptcha_theme" sc_order="14" sc_condition="return \IPS\Settings::i()-&gt;bot_antispam_type === 'recaptcha';"><![CDATA[return new \IPS\Helpers\Form\Radio( "core_theme_setting_title_{$row['sc_id']}", $value, FALSE, array( 'options' => array(
			'clean'			=> "<img src='" . $theme->resource( 'recaptcha/clean.png', 'core' ) . "' alt='clean'>",
			'red'			=> "<img src='" . $theme->resource( 'recaptcha/red.png', 'core' ) . "' alt='clean'>",
			'white'			=> "<img src='" . $theme->resource( 'recaptcha/white.png', 'core' ) . "' alt='clean'>",
			'blackglass'	=> "<img src='" . $theme->resource( 'recaptcha/blackglass.png', 'core' ) . "' alt='clean'>",
			), 'parse' => 'raw' ), NULL, NULL, NULL, 'theme_setting_' . $row['sc_key'] );]]></field>
 <field sc_key="recaptcha2_theme" sc_type="other" sc_multiple="0" sc_updated="1461013725" sc_app="core" sc_default="light" sc_tab_key="custom" sc_show_in_vse="0" sc_title="recaptcha2_theme" sc_order="13" sc_condition="return \IPS\Settings::i()-&gt;bot_antispam_type === 'recaptcha2';"><![CDATA[return new \IPS\Helpers\Form\Radio( "core_theme_setting_title_{$row['sc_id']}", $value, FALSE, array( 'options' => array(
			'light'			=> "<img src='" . $theme->resource( 'recaptcha2/light.png', 'core' ) . "' alt='light'>",
			'dark'			=> "<img src='" . $theme->resource( 'recaptcha2/dark.png', 'core' ) . "' alt='dark'>",
			), 'parse' => 'raw' ), NULL, NULL, NULL, 'theme_setting_' . $row['sc_key'] );]]></field>
 <field sc_key="responsive" sc_type="YesNo" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="1" sc_tab_key="custom" sc_show_in_vse="0" sc_title="themesetting_responsive" sc_order="1" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;},{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="rounded_photos" sc_type="YesNo" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="1" sc_tab_key="custom" sc_show_in_vse="0" sc_title="themesetting_rounded_photos" sc_order="4" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;},{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="secondary_title" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ebedf0" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_secondary_title" sc_order="11" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="secondary_title_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#828e99" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_secondary_title_font" sc_order="12" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="section_title" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_section_title" sc_order="9" sc_condition="">[]</field>
 <field sc_key="section_title_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#1a202c" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_section_title_font" sc_order="10" sc_condition="">[]</field>
 <field sc_key="selected" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ebf4f9" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_selected" sc_order="13" sc_condition="">[]</field>
 <field sc_key="selected_border" sc_type="Color" sc_multiple="0" sc_updated="1588158389" sc_app="core" sc_default="#177ec9" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_selected_border" sc_order="14" sc_condition="">[]</field>
 <field sc_key="sidebar_position" sc_type="Select" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="right" sc_tab_key="custom" sc_show_in_vse="0" sc_title="themesetting_sidebar_position" sc_order="6" sc_condition="">[{&quot;key&quot;:&quot;left&quot;,&quot;value&quot;:&quot;Left&quot;},{&quot;key&quot;:&quot;right&quot;,&quot;value&quot;:&quot;Right&quot;}]</field>
 <field sc_key="sidebar_responsive" sc_type="YesNo" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="1" sc_tab_key="custom" sc_show_in_vse="1" sc_title="themesetting_sidebar_responsive" sc_order="7" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="social_links" sc_type="Radio" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="footer" sc_tab_key="custom" sc_show_in_vse="1" sc_title="themesetting_social_links_pos" sc_order="5" sc_condition="">[{&quot;key&quot;:&quot;header&quot;,&quot;value&quot;:&quot;themesetting_header&quot;},{&quot;key&quot;:&quot;footer&quot;,&quot;value&quot;:&quot;themesetting_footer&quot;}]</field>
 <field sc_key="tab_background" sc_type="Color" sc_multiple="0" sc_updated="1446569616" sc_app="core" sc_default="#4a5568" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_tabs_background" sc_order="30" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="tag" sc_type="Color" sc_multiple="0" sc_updated="1494515152" sc_app="core" sc_default="#fff4df" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_tag" sc_order="16" sc_condition="">[]</field>
 <field sc_key="tag_font" sc_type="Color" sc_multiple="0" sc_updated="1592999264" sc_app="core" sc_default="#9c4221" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_tag_font" sc_order="17" sc_condition="">[]</field>
 <field sc_key="text_color" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#353c41" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_text_color" sc_order="3" sc_condition="">[]</field>
 <field sc_key="text_dark" sc_type="Color" sc_multiple="0" sc_updated="1494515151" sc_app="core" sc_default="#000000" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_dark_text_color" sc_order="4" sc_condition="">[]</field>
 <field sc_key="text_light" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#718096" sc_tab_key="textcolors" sc_show_in_vse="0" sc_title="themesetting_text_light" sc_order="6" sc_condition="">[]</field>
 <field sc_key="text_very_light" sc_type="Color" sc_multiple="0" sc_updated="1623268512" sc_app="core" sc_default="#ffffff" sc_tab_key="textcolors" sc_show_in_vse="1" sc_title="themesetting_text_very_light" sc_order="5" sc_condition="">[]</field>
 <field sc_key="timeline_color" sc_type="Color" sc_multiple="0" sc_updated="1444657491" sc_app="core" sc_default="#2d3748" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="activity_stream_timeline" sc_order="26" sc_condition="">[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]</field>
 <field sc_key="very_light_button" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_very_light_button" sc_order="11" sc_condition="">[]</field>
 <field sc_key="very_light_button_font" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#0e4c79" sc_tab_key="buttoncolors" sc_show_in_vse="0" sc_title="themesetting_very_light_button_font" sc_order="12" sc_condition="">[]</field>
 <field sc_key="widget_title_bar" sc_type="Color" sc_multiple="0" sc_updated="1439688455" sc_app="core" sc_default="#ffffff" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_widget_title_bar" sc_order="19" sc_condition="">[]</field>
 <field sc_key="widget_title_font" sc_type="Color" sc_multiple="0" sc_updated="1494515150" sc_app="core" sc_default="#1a202c" sc_tab_key="frontendcolors" sc_show_in_vse="0" sc_title="themesetting_widget_font" sc_order="20" sc_condition="">[]</field>
 <template template_group="achievements" template_name="awardField" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<input type="number" name="{$name}[points]" value="{{if isset( $value['points'] )}}{$value['points']}{{else}}0{{endif}}" class="ipsField_short" min="0">
{lang="achievements_points_awarded"}
{lang="and"}
<select name="{$name}[badge]">
	<option value="">{lang="achievements_badge_none"}</option>
	{{foreach \IPS\core\Achievements\Badge::roots() as $badge}}
		<option value="{$badge->id}" {{if isset( $value['badge'] ) and $value['badge'] == $badge->id}}selected{{endif}}>{$badge->_title}</option>
	{{endforeach}}
</select>
{lang="achievements_badge"}]]></template>
 <template template_group="achievements" template_name="badgeExport" template_data="$exportableBadges" template_location="admin" template_app="core"><![CDATA[{{if $exportableBadges}}
<div class='acpBlock ipsPad'>
<div class="ipsMessage ipsMessage_info">
	{lang="acp_achievements_export_badges_blurb" sprintf="$exportableBadges" pluralize="$exportableBadges"}
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=achievements&controller=badges&do=export"}" class="ipsButton ipsButton_primary">{lang="acp_achievements_export"}</a>
	</div>
</div>
{{else}}
<div class='acpBlock ipsPad'>
<div class="ipsMessage ipsMessage_error">
	{lang="acp_achievements_export_badges_blurb_error"}
</div>
{{endif}}]]></template>
 <template template_group="achievements" template_name="memberCount" template_data="$url, $count" template_location="admin" template_app="core"><![CDATA[<div class="ipsPos_right ipsTree_row_cells ipsType_unbold ipsType_normal">
	<a href="{$url}" class="ipsTree_row_cell">
		{lang="x_members" pluralize="$count"}
	</a>
</div>]]></template>
 <template template_group="achievements" template_name="milestoneWithSubjectSwitch" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<select name="{$name}[0]">
	<option value="receiver" {{if isset( $value[0] ) and $value[0] == 'receiver'}}selected="selected"{{endif}}>{lang="achievement_who_reciever"}</option>
	<option value="giver" {{if isset( $value[0] ) and $value[0] == 'giver'}}selected="selected"{{endif}}>{lang="achievement_who_giver"}</option>
</select>
<input type="number" class="ipsField_short" min="0" name="{$name}[1]" value="{{if isset( $value[1] )}}{$value[1]}{{endif}}">
{lang="achievement_who_suffix"}
]]></template>
 <template template_group="achievements" template_name="rebuildProgress" template_data="$data, $needsBottomSpacer=FALSE" template_location="admin" template_app="core"><![CDATA[<div data-ipsSticky data-ipsSticky-spacing='60' class="ipsPad_half ipsAreaBackground_reset ipsType_center {{if $needsBottomSpacer}}ipsSpacer_bottom{{endif}}">
	<strong class="ipsType_large">{lang="acp_rules_rebuilding_title"}</strong>
	<p class="ipsType_light">{lang="acp_rules_rebuilding_blurb"}</p>
	<div class="ipsProgressBar">
	<div class="ipsProgressBar_progress" style="width:{expression="number_format( $data['percentage'], 2)"}%" data-role="percentageBar"><span data-role="percentage">{$data['percentage']}</span>% (<span data-role="number">{$data['processed']}</span> /{$data['count']})</div>
	</div>
</div>]]></template>
 <template template_group="achievements" template_name="ruleAwards" template_data="$points, $badge, $title" template_location="admin" template_app="core"><![CDATA[<ul class="ipsList_reset ipsCaterpillar" data-ipsTooltip data-ipsTooltip-safe title="{{if $title}}<strong>{lang="$title"}</strong><br>{{endif}}{{if $points and $badge}}{lang="achievements_awards_points_and_badge" sprintf="$badge->_title" pluralize="$points"}{{elseif $points}}{lang="achievements_awards_points" pluralize="$points"}{{elseif $badge}}{lang="achievements_awards_badge" sprintf="$badge->_title"}{{endif}}">
	{{if $points}}
		<li class='ipsCaterpillar__item ipsDimension_height:4 ipsDimension_minWidth:4 ipsAreaBackground ipsRadius:full ipsFlex ipsFlex-ai:center ipsFlex-jc:center'>
			{$points}
		</li>
	{{endif}}
	{{if $badge}}
		<li class='ipsCaterpillar__item'>{$badge->html('ipsDimension:4', FALSE)|raw}</li>
	{{endif}}
</ul>]]></template>
 <template template_group="achievements" template_name="ruleDescription" template_data="$conciseAction, $conditions" template_location="admin" template_app="core"><![CDATA[<strong>{$conciseAction}</strong>
{{foreach $conditions as $condition}}
	{$condition}
{{endforeach}}]]></template>
 <template template_group="achievements" template_name="ruleDescriptionBadge" template_data="$type, $value, $hoverValues = NULL" template_location="admin" template_app="core"><![CDATA[<span class="ipsAchievementsBadge ipsAchievementsBadge--{$type}" {{if $hoverValues}}data-ipsTooltip data-ipsTooltip-safe title="{expression="implode( '<br>', $hoverValues )"}"{{endif}}>
	{$value}
</span>]]></template>
 <template template_group="achievements" template_name="rulesForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[

<div class='cRulesForm ipsPos_center ipsMargin_top:double'>
	{{if isset( $hiddenValues['rule_enabled'] ) and ! $hiddenValues['rule_enabled']}}
		<div class="ipsMessage ipsMessage_general ipsMargin_bottom">
			{lang="acp_rule_is_paused"}
		</div>
	{{endif}}

	<form accept-charset="utf-8" action="{$action}" method="post" data-controller="core.admin.members.achievementRuleForm" class='ipsBox ipsBox_shadowed '>
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			{{if \is_array($v)}}
				{{foreach $v as $_k => $_v}}
					{{if $_k != 'rule_enabled'}}
					<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
					{{endif}}
				{{endforeach}}
			{{else}}
				<input type="hidden" name="{$k}" value="{$v}">
			{{endif}}
		{{endforeach}}

		<div class='ipsPadding' id='acpPageHeader'>
			<h1 class='ipsType_pageTitle ipsType_break'>
				{{if request.id}}{lang="edit_achievement_rule"}{{else}}{lang="new_achievement_rule"}{{endif}}
			</h1>
			<p class='ipsMargin:none ipsType_medium'>{lang="achievement_desc"}</p>
		</div>
		<div class='ipsAreaBackground_light ipsBorder_vertical ipsPadding sm:ipsPadding:half ipsPos_relative cRulesForm__container'>
			
			{{$ruleSelect = $elements['']['achievement_rule_action'];}}
			{{$options = $ruleSelect->options['options']; }}
			{{$toggles = $ruleSelect->options['toggles']; }}
			{{$ruleSelect->options['toggles'] = array();}}
			{{$parts = array();}}

			{{// First, just store the elements in groups so we can build the HTML later}}
			{{foreach $options as $option => $extension}}
				{{foreach $elements[''] as $k => $element}}
					{{if \in_array( $k, $toggles[ $option ] ) }}
						{{// Find related filters}}
						{{if \substr( $k, 0, 19 ) === 'achievement_filter_'}}
							{{$parts[ $option ]['filter'][$k]['element'] = $element;}}
							{{$subFilterPrefix = "achievement_subfilter_" . \substr( $k, 19 ) . "_";}}
							
							{{// Find related subfilters}}
							{{foreach $elements[''] as $j => $subElement}}
								{{if \substr( $j, 0, \strlen( $subFilterPrefix ) ) === $subFilterPrefix}}
									{{$parts[ $option ]['filter'][$k]['subFilters'][$j] = $subElement;}}
								{{endif}}
							{{endforeach}}	
						{{endif}}
						{{// Find award fields }}
						{{if \substr( $k, -14 ) === '_award_subject'}}
							{{$parts[ $option ]['awardSubject'] = $element;}}
						{{elseif \substr( $k, -12 ) === '_award_other'}}
							{{$parts[ $option ]['awardOther'] = $element;}}
						{{endif}}

                        {{// Find award translatable fields }}
                        {{if \substr( $k, -20 ) === '_award_subject_badge'}}
                            {{$parts[ $option ]['awardSubjectTranslatable'] = $element;}}
                        {{elseif \substr( $k, -18 ) === '_award_other_badge'}}
                            {{$parts[ $option ]['awardOtherTranslatable'] = $element;}}
                        {{endif}}
					{{endif}}
				{{endforeach}}
			{{endforeach}}

			{{// Now we can build all the HTML}}
			<div class="cRulesForm__condition ipsBox ipsBox_shadowed ipsPos_relative ipsPadding ipsMargin_bottom ipsFlex ipsFlex-ai:start sm:ipsFlex-fd:column ipsFieldRow_fullWidth">
				<h2 class='cRulesForm__condition__title ipsRadius ipsType_center ipsType_medium ipsType_semiBold ipsType_veryLight ipsMargin_vertical:none ipsMargin_right sm:ipsMargin_bottom ipsFlex-flex:00'>{lang="achievement_rule_action"}</h2>
				<div>{$elements['']['achievement_rule_action']->html()|raw}</div>
			</div>

			{{foreach $options as $option => $extension}}
				<div id='rule_{$option}' data-role="ruleWrap" style='display: none'>
					{{if \count( $parts[ $option ]['filter'])}}
						<div class='cRulesForm__conditionButtons ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap sm:ipsFlex-fd:column sm:ipsFlex-ai:start sm:ipsGap_row:2 ipsGap:2 ipsGap_row:0' data-role="conditionButtons">
							{{foreach $parts[ $option ]['filter'] as $k => $filter}}
								{template="rulesForm_addFilterButton" group="achievements" params="$k, $filter['element'], $form"}
							{{endforeach}}
						</div>

						{{foreach $parts[ $option ]['filter'] as $k => $filter}}
							{template="rulesForm_filter" group="achievements" params="$filter['element']"}

							{{if isset( $filter['subFilters'] ) && \count( $filter['subFilters'])}}
								<div class='cRulesForm__conditionButtons ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap sm:ipsFlex-fd:column sm:ipsFlex-ai:start sm:ipsGap_row:2 ipsGap:2 ipsGap_row:0' data-role="conditionButtons">
									{{foreach $filter['subFilters'] as $j => $subFilter}}
										{template="rulesForm_addFilterButton" group="achievements" params="$j, $subFilter, $form"}
									{{endforeach}}
								</div>

								{{foreach $filter['subFilters'] as $j => $subFilter}}
									{template="rulesForm_filter" group="achievements" params="$subFilter"}
								{{endforeach}}
							{{endif}}
						{{endforeach}}
					{{endif}}				

					<div class="cRulesForm__condition ipsBox ipsBox_shadowed ipsPos_relative ipsPadding ipsMargin_top ipsFlex ipsFlex-ai:start sm:ipsFlex-fd:column">
						<h2 class='cRulesForm__condition__title ipsRadius ipsType_center ipsType_medium ipsType_semiBold ipsType_veryLight ipsMargin_vertical:none ipsMargin_right sm:ipsMargin_bottom ipsFlex-flex:00'>{lang="achievement_rule_award"}</h2>
						<div class='ipsFlex-flex:11'>
							{{$awardSubject = $parts[ $option ]['awardSubject'];}}
							{{$awardOther = $parts[ $option ]['awardOther'] ?? NULL;}}
                            {{$awardSubjectTranslatable = $parts[ $option ]['awardSubjectTranslatable'];}}
                            {{$awardOtherTranslatable = $parts[ $option ]['awardOtherTranslatable'] ?? NULL;}}

							<div id="{$awardSubject->htmlId}">
								{{if $awardSubject->label}}
									<p class='ipsType_reset ipsType_bold cRulesForm__condition__toDesc'>{$awardSubject->label}</p>
								{{endif}}
								{$awardSubject->html()|raw}
							</div>
                            <div id="{$awardSubjectTranslatable->htmlId}" class='ipsPadding_top' style='display: none'>
                                <p class='ipsType_reset cRulesForm__condition__toDesc'>{lang="Achievement_reason_badge_awarded"}</p>
                                {$awardSubjectTranslatable->html()|raw}
                            </div>

							{{if $awardOther !== NULL}}
								<div id="{$awardOther->htmlId}" class='ipsBorder_top ipsMargin_top ipsPadding_top'>
									{{if $awardOther->label}}
										<p class='ipsType_reset ipsType_bold cRulesForm__condition__toDesc'>{$awardOther->label}</p>
									{{endif}}
									{$awardOther->html()|raw}
								</div>
                                <div id="{$awardOtherTranslatable->htmlId}" class='ipsPadding_top' style='display: none'>
                                    <p class='ipsType_reset cRulesForm__condition__toDesc'>{lang="Achievement_reason_badge_awarded"}</p>
                                    {$awardOtherTranslatable->html()|raw}
                                </div>
							{{endif}}
						</div>
					</div>
				</div>			
			{{endforeach}}
		</div>
		<div class='ipsPadding ipsFlex ipsFlex-jc:end'>
			<button type="submit" class='ipsButton ipsButton_primary ipsButton_medium'>{lang="save_rule"}</button>
		</div>
	</form>
</div>]]></template>
 <template template_group="achievements" template_name="rulesForm_addFilterButton" template_data="$k, $element, $form" template_location="admin" template_app="core"><![CDATA[
<div data-role="toggleFilter">
	<div id="{$element->htmlId}" style="visibility: hidden; position: absolute">
		<input type="checkbox" id="{$element->htmlId}_filterCheckbox" name="activeFilters[{$element->name}]" value="1" data-control="toggle" data-togglesOn="{$element->htmlId}_filter" data-togglesOff="{$element->htmlId}_button" data-filter="{$element->htmlId}_filter" {{if \in_array( $k, $form->_activeFilters )}}checked{{endif}}>
	</div>
	<a href='javascript:void(0)' type="button" class='cRulesForm__conditionButton ipsRadius ipsType_small' data-action="filterReveal" data-filter="{$element->htmlId}_filterCheckbox" id="{$element->htmlId}_button">
		<span class='cRulesForm__conditionButton__icon ipsFlex-inline ipsFlex-ai:center ipsFlex-jc:center'><i class='fa fa-plus'></i></span> {{if $element->label}}{$element->label}{{else}}{lang="$element->name"}{{endif}}
	</a>
</div>]]></template>
 <template template_group="achievements" template_name="rulesForm_filter" template_data="$element" template_location="admin" template_app="core"><![CDATA[<div data-role="filterField" class='cRulesForm_conditionWrap' id="{$element->htmlId}_filter" style='display: none;'>
	<div class="cRulesForm__condition cRulesForm__condition--subCondition ipsBox ipsBox_shadowed ipsPos_relative ipsPadding ipsMargin_top ipsFlex ipsFlex-ai:start sm:ipsFlex-fd:column">
		<h2 class='cRulesForm__condition__title ipsRadius ipsType_center ipsType_medium ipsType_semiBold ipsType_veryLight ipsMargin_vertical:none ipsMargin_right sm:ipsMargin_bottom ipsFlex-flex:00'>{lang="achievement_filter"}</h2>
		<div class='ipsFlex ipsFlex-ai:center ipsFlex-flex:11 ipsGap:2 ipsGap_row:0'>
			<div>{$element->prefix}</div>
			<div>{$element->html()|raw}</div>
			<button type="button" data-action="filterCollapse" data-filter="{$element->htmlId}_filterCheckbox" data-ipsTooltip title='{lang="remove_condition"}' class='cRulesForm__condition__close ipsClose ipsClose_small'></button>
		</div>
	</div>
</div>]]></template>
 <template template_group="achievements" template_name="rulesList" template_data="$rules, $pagination, $rootButtons" template_location="admin" template_app="core"><![CDATA[<div data-baseurl="{url="app=core&module=achievements&controller=rules"}" data-controller="core.global.core.table">
	<!--<div class="ipsBox ipsBox_shadowed ipsPad ipsSpacer_bottom ipsClearfix">
		<ul class="ipsList_inline">
			<li><strong>{lang="achievement_rules_filters"}</strong></li>
			{{foreach [ 'points', 'badges', 'milestone' ] as $filter}}
				<li>
					<span class="ipsCustomInput">
						<input type="checkbox" id="filter_{$filter}" name="filter_{$filter}" data-action="filter" checked>
						<span></span>
					</span>
					<label for="filter_{$filter}">{lang="achievement_rules_filters_{$filter}"}</label>
				</li>
			{{endforeach}}
		</ul>
	</div>-->
	{{if $data = \IPS\core\Achievements\Rule::getRebuildProgress()}}
		{template="rebuildProgress" group="achievements" params="$data"}
	{{endif}}
	<div class='ipsClearfix'>
		<div data-role="tablePagination" class="ipsSpacer_bottom {{if !$pagination}}ipsHide{{endif}}">{$pagination|raw}</div>
		{template="buttons" params="$rootButtons" group="global" app="core"}
	</div>
	<div class="acpBlock">
		<div class="ipsTree_wrapper">
            {{if empty( $rules )}}
            <div class='ipsType_light ipsPad'>
                {lang="no_results"}
            </div>
            {{else}}
			<div class="ipsTree_rows">
				<ol class="ipsTree" data-role="tableRows">
					{template="rulesListRows" group="achievements" params="$rules"}
				</ol>
			</div>
            {{endif}}
		</div>
	</div>
	<div data-role="tablePagination" class='ipsSpacer_top {{if !$pagination}}ipsHide{{endif}}'>{$pagination|raw}</div>
</div>]]></template>
 <template template_group="achievements" template_name="rulesListRows" template_data="$rules" template_location="admin" template_app="core"><![CDATA[{{foreach $rules as $rule}}
    {{$canUse = $rule->extension()->canUse();}}
	<li data-role="node">
		<div class="ipsTree_row ipsType_normal">
			<div class="ipsTree_rowData ipsClearfix {{if !$rule->enabled or !$canUse}}ipsFaded{{endif}}">
				{{if !$rule->enabled}}
					{lang="acp_rule_paused"}
				{{elseif !$canUse}}
                    {lang="acp_rule_disabled"}
                {{endif}}
				{$rule->extension()->ruleDescription( $rule )|raw}
                {{if !$canUse}}
                <div class="ipsType_small">{lang="acp_rule_disabled_reason"}</div>
                {{endif}}
			</div>
			<div class="ipsTree_row_cells {{if !$rule->enabled}}ipsFaded{{endif}}">
				<!-- {lang="achievements_awards"} -->
				<div class='ipsFlex-inline ipsFlex-ai:center ipsMargin_right:double'>
					{{if ( $rule->points_subject or $rule->badgeSubject() ) and ( $rule->points_other or $rule->badgeOther() )}}
						{template="ruleAwards" group="achievements" params="$rule->points_subject, $rule->badgeSubject(), $rule->extension()->awardOptions( $rule->filters )['subject']"}
						<span class='ipsMargin_horizontal:half'>{lang="and"}</span>
						{template="ruleAwards" group="achievements" params="$rule->points_other, $rule->badgeOther(), $rule->extension()->awardOptions( $rule->filters )['other']"}
					{{elseif $rule->points_subject or $rule->badgeSubject()}}
						{template="ruleAwards" group="achievements" params="$rule->points_subject, $rule->badgeSubject(), $rule->extension()->awardOptions( $rule->filters )['subject']"}
                    {{elseif $rule->points_other or $rule->badgeOther()}}
                        {template="ruleAwards" group="achievements" params="$rule->points_other, $rule->badgeOther(), $rule->extension()->awardOptions( $rule->filters )['subject']"}
					{{else}}
						{template="ruleAwards" group="achievements" params="$rule->points_other, NULL, NULL"}
					{{endif}}
				</div>
			</div>
			<div class="ipsTree_controls">
				{template="controlStrip" params="$rule->getButtons( \IPS\Http\Url::internal('app=core&module=achievements&controller=rules') )" group="global" app="core"}
			</div>
		</div>
	</li>
{{endforeach}}]]></template>
 <template template_group="achievements" template_name="statsBadgeCount" template_data="$count, $groupId, $startTime, $endTime" template_location="admin" template_app="core"><![CDATA[<a href='{url="app=core&module=stats&controller=badges&do=showBadges&member_group_id={$groupId}&badgeDateStart={$startTime}&badgeDateEnd={$endTime}"}' data-ipsDialog data-ipsDialog-size="narrow" data-ipsDialog-title='{lang="stats_badges_count"}' title="{lang="stats_badge_tooltip"}" data-ipsTooltip>{$count}</a>
]]></template>
 <template template_group="achievements" template_name="statsBadgeModal" template_data="$results" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<table class="ipsTable ipsTable_responsive ipsTable_zebra " data-role="table">
		<thead>
			<tr class="ipsAreaBackground">
				<th>{lang="stats_badge_mgroup_badge"}</th>
				<th>{lang="stats_badge_mgroup_count"}</th>
			</tr>
		</thead>
		<tbody>
{{foreach $results as $row}}
		<tr class="ipsClearfix">
			<td class=" ipsTable_wrap ipsTable_primary ">
				{$row['badge']->html('ipsDimension:3')|raw} {$row['badge']->_title}
			</td>
			<td>{$row['count']}</td>
		</tr>
{{endforeach}}
</tbody>
</table>]]></template>
 <template template_group="achievements" template_name="statsBadgeWrapper" template_data="$form, $table" template_location="admin" template_app="core"><![CDATA[<div class=''>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{lang="stats_badges_title"}</h1>
		<div>
			{$form|raw}
		</div>
	</div>
</div>


<div class='ipsSpacer_top ipsSpacer_double'>
	{$table|raw}
</div>
]]></template>
 <template template_group="achievements" template_name="statsMemberBadgeCount" template_data="$count, $memberId, $startTime, $endTime" template_location="admin" template_app="core"><![CDATA[<a href='{url="app=core&module=stats&controller=badges&do=showMemberBadges&member_id={$memberId}&badgeDateStart={$startTime}&badgeDateEnd={$endTime}"}' data-ipsDialog data-ipsDialog-size="narrow" data-ipsDialog-title='{lang="stats_badges_count"}' title="{lang="stats_badge_tooltip"}" data-ipsTooltip>{$count}</a>
]]></template>
 <template template_group="achievements" template_name="statsMemberBadgeModal" template_data="$results" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<table class="ipsTable ipsTable_responsive ipsTable_zebra " data-role="table">
		<thead>
			<tr class="ipsAreaBackground">
				<th>{lang="stats_badge_member_badge"}</th>
				<th>{lang="stats_badge_member_date"}</th>
			</tr>
		</thead>
		<tbody>
{{foreach $results as $row}}
		<tr class="ipsClearfix">
			<td class=" ipsTable_wrap ipsTable_primary ">
				{$row['badge']->html('ipsDimension:3')|raw} {$row['badge']->_title}
			</td>
			<td>{datetime="$row['datetime']"}</td>
		</tr>
{{endforeach}}
</tbody>
</table>]]></template>
 <template template_group="activitystats" template_name="contentCell" template_data="$comment" template_location="admin" template_app="core"><![CDATA[<div clsas='ipsContained_container'>
	{{if $comment instanceof \IPS\Content\Comment}}
		<h3 class='ipsContained ipsType_break'><a href='{$comment->url()}' target='_blank' rel="noopener">{$comment->item()->mapped('title')}</a></h3>
		<p class='ipsComment_meta ipsSpacer_bottom ipsSpacer_half ipsType_light'>
			{template="icon" app="core" location="front" group="tables" params="\get_class($comment), $comment->item()->containerWrapper()"}
		</p>
		<p class='ipsComment_meta ipsSpacer_bottom ipsSpacer_half ipsType_light'>
			{lang="posted_by_x" htmlsprintf="$comment->author()->link(), \IPS\DateTime::ts( $comment->mapped('date') )->html(FALSE)"}
		</p>
	{{else}}
		<h3 class='ipsContained ipsType_break'><a href='{$comment->url()}' target='_blank' rel="noopener">{$comment->mapped('title')}</a></h3>
		<p class='ipsComment_meta ipsSpacer_bottom ipsSpacer_half ipsType_light'>
			{template="icon" app="core" location="front" group="tables" params="\get_class($comment), $comment->containerWrapper()"}
		</p>
		<p class='ipsComment_meta ipsSpacer_bottom ipsSpacer_half ipsType_light'>
			{lang="posted_by_x" htmlsprintf="$comment->author()->link(), \IPS\DateTime::ts( $comment->mapped('date') )->html(FALSE)"}
		</p>
	{{endif}}
</div>]]></template>
 <template template_group="activitystats" template_name="deletedPercentage" template_data="$value, $total, $deleted" template_location="admin" template_app="core"><![CDATA[{{if settings.dellog_retention_period}}
<div>
	<span class='cStat__number cStat__number--medium' data-number='{$value}' data-ipsTooltip title="{lang="stats_deleted_tooltip" sprintf="$deleted, $total"}">{$value}%</span>
</div>
{{else}}
    <p class='ipsType_light ipsType_center'>
        {lang="no_data"}
    </p>
{{endif}}]]></template>
 <template template_group="activitystats" template_name="overview" template_data="$form, $blocks, $excludedApps=array()" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.stats.overview' data-url='?app=core&module=activitystats&controller=overview&do=loadBlock'>
	<div class='ipsBox ipsBox_shadowed ipsPad ipsSpacer_bottom ipsClearfix ipsFlex ipsFlex-fw:wrap ipsFlex-jc:between ipsFlex-ai:center'>
		<ul class='ipsList_inline ipsFlex-grow:1 ipsSpacer_both ipsSpacer_half'>
			<li>
				<strong>{lang="stats_show_c"}</strong>
			</li>
			{{$apps = array();}}
			{{foreach $blocks as $blockKey => $block}}
				{{if $block->page == 'activity' AND $subBlocks = $block->getBlocks()}}
					{{foreach $subBlocks as $subBlock}}
						{{if $details = $block->getBlockDetails( $subBlock )}}
							{{if $details['app'] && !isset( $apps[ $details['app'] ] )}}
								{{$apps[ $details['app'] ] = \IPS\Application::load( $details['app'] );}}
							{{endif}}
						{{endif}}
					{{endforeach}}
				{{endif}}
			{{endforeach}}

			{{foreach \IPS\Application::applications() as $key => $app}}
				{{if isset( $apps[ $key ] )}}
					<li>
						<span class='ipsCustomInput'>
							<input type='checkbox' id='toggle_app_{$app->directory}' name='toggle_app_{$app->directory}' data-action='toggleApp' data-toggledApp='{$app->directory}' {{if !\count( $excludedApps ) || !\in_array( $app->directory, $excludedApps )}}checked{{endif}}>
							<span></span>
						</span>
						<label for='toggle_app_{$app->directory}'>{$app->_title}</label>
					</li>
				{{endif}}
			{{endforeach}}
		</ul>
		{$form|raw}
	</div>
	<div class='cStatsGrid'>
		<div class='ipsGrid ipsGrid_collapseTablet' data-ipsGrid data-ipsGrid-minItemSize='350'>
			{{foreach $blocks as $blockKey => $block}}
				{{if $block->page == 'activity' AND $subBlocks = $block->getBlocks()}}
					{{foreach $subBlocks as $subBlock}}
						{{if $details = $block->getBlockDetails( $subBlock )}}
							<div class='ipsGrid_span3 ipsBox ipsBox_shadowed cStatTile {{if \count( $excludedApps ) && \in_array( $details['app'], $excludedApps )}}ipsHide{{endif}}' data-role='statsBlock' data-refresh='{$details['refresh']}' data-block='{$blockKey}' data-subblock='{$subBlock}' data-app='{$details['app']}' data-controller='core.admin.stats.overviewBlock'{{if isset( $details['form'] ) AND $details['form'] === TRUE}} data-nodeFilter=''{{endif}}>
								<div class='cStatTile__header'>
									<h2 class='ipsType_reset cStatTile__title'>{lang="$details['title']"}</h2>
									{{if $details['description']}}
										<a href='javascript:void(0)' class='cStatTile__info' title="{lang="$details['description']"}" data-ipsTooltip>?</a>
									{{endif}}
									{{if isset( $details['form'] ) AND $details['form'] === TRUE}}
										<a href='{url="app=core&module=activitystats&controller=overview&do=loadBlockForm&blockKey={$blockKey}&subBlockKey={$subBlock}"}' data-ipsHover data-ipsHover-onClick="true" data-ipsHover-width="600" class='cStatTile__info cStatTile__form' data-role="filterForm" title="{lang="overview_stats_form"}" data-ipsTooltip id='{$blockKey}_{expression="md5($subBlock)"}'><i class='fa fa-cog'></i></a>
									{{endif}}
								</div>
								<div class='cStatTile__body ipsLoading ipsLoading_small'>
									<div class='cStatTile__bodyInner ipsType_center' data-role='statBlockContent'></div>
								</div>
							</div>
						{{endif}}
					{{endforeach}}
				{{endif}}
			{{endforeach}}
		</div>
	</div>
</div>]]></template>
 <template template_group="activitystats" template_name="overviewCounts" template_data="$values, $previousValues=array(), $nodes=array()" template_location="admin" template_app="core"><![CDATA[	{{reset($values);}}
	{{$firstTitle = key( $values );}}
	{{$firstCount = array_shift( $values );}}

	<div>
		<span class='cStat__number cStat__number--medium' data-number='{$firstCount}'>{number="$firstCount"}</span>
		{{if isset( $previousValues[ $firstTitle ] )}}
			<p class='ipsType_reset cStat__change cStat__change--large {{if $previousValues[ $firstTitle ] > $firstCount}}ipsType_negative{{elseif $previousValues[ $firstTitle ] < $firstCount}}ipsType_positive{{else}}ipsType_neutral{{endif}}' data-ipsTooltip title="{lang="previous_period"} {number="$previousValues[ $firstTitle ]"}">
				{{if $previousValues[ $firstTitle ] > $firstCount}}
					-{expression="round( 100 - ( $firstCount / $previousValues[ $firstTitle ] * 100 ), 2 )"}%
				{{elseif $previousValues[ $firstTitle ] < $firstCount}}
					{{if $previousValues[ $firstTitle ]}}+{expression="round( ( ( $firstCount - $previousValues[ $firstTitle ] ) / $previousValues[ $firstTitle ] ) * 100, 2 )"}%{{else}}+ ∞{{endif}}
				{{else}}
					&mdash;
				{{endif}}
			</p>
		{{endif}}

		{{if \count( $values )}}
			<hr class='ipsHr'>
			<div class='ipsFlex'>
				{{foreach $values as $title => $count}}
					<div class='cStatTile__split'>
						<h3 class='ipsType_reset cStatTile__subTitle ipsTruncate ipsTruncate_line'>{lang="$title"}</h3>
						<span class='cStat__number cStat__number--small' data-number='{$count}'>{number="$count"}</span>
						{{if isset( $previousValues[ $title ] )}}
							<p class='ipsType_reset cStat__change cStat__change--small {{if $previousValues[ $title ] > $count}}ipsType_negative{{elseif $previousValues[ $title ] < $count}}ipsType_positive{{else}}ipsType_neutral{{endif}}' data-ipsTooltip title="{lang="previous_period"} {number="$previousValues[ $title ]"}">
								{{if $previousValues[ $title ] > $count}}
									-{expression="round( 100 - ( $count / $previousValues[ $title ] * 100 ), 2 )"}%
								{{elseif $previousValues[ $title ] < $count}}
									{{if $previousValues[ $title ]}}+{expression="round( ( ( $count - $previousValues[ $title ] ) / $previousValues[ $title ] ) * 100, 2 )"}%{{else}}+ ∞{{endif}}
								{{else}}
									&mdash;
								{{endif}}
							</p>
						{{endif}}
					</div>
				{{endforeach}}
			</div>
		{{endif}}	

		{{if \count( $nodes )}}
			<hr class='ipsHr'>
			<div class='ipsFlex'>
				<div class='cStatTile__split'>
					<p class='ipsType_reset cStat__change cStat__change--small'>
						{lang="overview_stats_curfilter" list="$nodes"}
					</p>
				</div>
			</div>
		{{endif}}
	</div>]]></template>
 <template template_group="activitystats" template_name="repWrapper" template_data="$form, $count, $table" template_location="admin" template_app="core"><![CDATA[<div class=''>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{lang="rep_date"}</h1>
		<div>
			{$form|raw}
		</div>
	</div>
</div>

{{if $count !== NULL}}
	<div class='ipsSpacer_top ipsSpacer_double'>
		{$table|raw}
	</div>
{{endif}}]]></template>
 <template template_group="advancedsettings" template_name="ruleCriteriaForm" template_data="$name, $field, $type, $value" template_location="admin" template_app="core"><![CDATA[<select name="{$name}[criteria_field]">
	<option value='to'{{if $field == 'to' }} selected{{endif}}>{lang="ie_cf_to"}</option>
	<option value='from'{{if $field == 'from' }} selected{{endif}}>{lang="ie_cf_from"}</option>
	<option value='sbjt'{{if $field == 'sbjt' }} selected{{endif}}>{lang="ie_cf_sbjt"}</option>
	<option value='body'{{if $field == 'body' }} selected{{endif}}>{lang="ie_cf_body"}</option>
</select>
<select name="{$name}[criteria_type]">
	<option value='ctns'{{if $field == 'ctns' }} selected{{endif}}>{lang="ie_ct_ctns"}</option>
	<option value='eqls'{{if $field == 'eqls' }} selected{{endif}}>{lang="ie_ct_eqls"}</option>
	<option value='regx'{{if $field == 'regx' }} selected{{endif}}>{lang="ie_ct_regx"}</option>
</select>
<input type="text" name="{$name}[criteria_value]" value="{$value}" required>]]></template>
 <template template_group="advancedsettings" template_name="taskResult" template_data="$success, $message, $id" template_location="admin" template_app="core"><![CDATA[{{if $success}}
	<div class="ipsAreaBackground_light ipsPad">
		{lang="task_manager_ran_log"}
		<pre>{{if \is_string( $message )}}{$message}{{else}}{expression="var_export( $message, TRUE )"}{{endif}}</pre>
	</div>
{{else}}
	<p class="ipsMessage ipsMessage_error">
		{$message}
	</p>
{{endif}}
<div class="ipsAreaBackground ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=settings&controller=advanced&do=runTask&id={$id}" csrf="true"}" class="ipsButton ipsButton_primary">{lang="task_manager_run_again"}</a> {lang="or"} <a href="{url="app=core&module=settings&controller=advanced&do=tasks"}" class="ipsButton ipsButton_alternate">{lang="task_manager_return"}</a>
</div>]]></template>
 <template template_group="alerts" template_name="alertModal" template_data="$alert, $url" template_location="front" template_app="core"><![CDATA[<div id='elAlert' class='ipsModal'>
	<div class='ipsBox'>
		<form action="{url="app=core&module=system&controller=alerts&do=dismiss&id={$alert->id}" seoTemplate="alert"}" method="post" accept-charset='utf-8' data-ipsForm class="ipsForm ipsForm_fullWidth">
			<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
            <input type="hidden" name="url" value="{$url}">

            <h4 class='ipsDialog_title'>{{if $alert->anonymous}}<i class="fa fa-bullhorn"></i>{{endif}} {$alert->title}</h4>
            {{if $alert->author()->member_id and ! $alert->anonymous}}
                <p class='ipsPadding_left:half ipsType_reset ipsType_medium ipsType_light ipsMargin_top:half'>
                    {template="userPhoto" app="core" group="global" params="$alert->author(), 'tiny'"}
                    {lang="byline_nodate" htmlsprintf="$alert->author()->link()"}
                </p>
            {{endif}}
            <hr class="ipsHr">
            <div class='ipsPadding ipsType_normal ipsType_break ipsType_richText'>
                {$alert->content|raw}
            </div>
            {{if $alert->reply === 2 and $alert->author()->member_id and ! $alert->anonymous and ! member.canUseMessenger()}}
            <hr class="ipsHr">
            <div class="ipsPadding:half ipsType_light ipsType_small">
                <span class="ipsBadge ipsBadge_icon ipsBadge_negative ipsMargin_right:half"><i class="fa fa-info"></i></span> {lang="alert_must_reply_modal_but_no_messenger" sprintf="$alert->author()->name"}
            </div>
            {{elseif $alert->reply == 2 and $alert->author()->member_id and ! $alert->anonymous}}
            <hr class="ipsHr">
            <div class="ipsPadding:half ipsType_light ipsType_small">
                <span class="ipsBadge ipsBadge_icon ipsBadge_negative ipsMargin_right:half"><i class="fa fa-info"></i></span> {lang="alert_must_reply_modal" sprintf="$alert->author()->name"}
            </div>
            {{endif}}
            <div class='ipsPadding:half ipsAreaBackground_light'>
                <div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:end ipsGap:2'>
                    {{if ( $alert->reply !== 2 or !$alert->author()->member_id ) or ( $alert->reply === 2 and ! member.canUseMessenger() ) }}
                        <a class="ipsButton ipsButton_light ipsButton_verySmall" href="{url="app=core&module=system&controller=alerts&do=dismiss&id={$alert->id}&ref={$url}" seoTemplate="alert" csrf="true"}">{lang="alert_dismiss"}</a>
                    {{endif}}
                    {{if !$alert->anonymous and $alert->reply and $alert->author()->member_id and member.canUseMessenger()}}
                        <a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$alert->member_id}&title={$alert->title}&alert={$alert->id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="alert_modal_title" sprintf="$alert->title"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsButton ipsButton_primary ipsButton_verySmall' onclick="$('#elAlert').remove()">{lang="reply"}</a>
                    {{endif}}
                </div>
            </div>
		</form>
	</div>
</div>]]></template>
 <template template_group="api" template_name="apiKey" template_data="$key" template_location="admin" template_app="core"><![CDATA[<code>{$key}</code>]]></template>
 <template template_group="api" template_name="apiKeyField" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<input type="hidden" name="{$name}" value="{$value}">
<div class="cApiKey">{$value}</div>]]></template>
 <template template_group="api" template_name="apiLogCredentials" template_data="$row, $apiKey, $client, $member" template_location="admin" template_app="core"><![CDATA[{{if $row['api_key']}}
	{{if $apiKey}}
		<i class="fa fa-key" title="{lang="api_id"}" data-ipsTooltip></i> {$apiKey->_title}
	{{else}}
		<i class="fa fa-key" title="{lang="api_id"}" data-ipsTooltip></i> <code>{$row['api_key']}</code>
	{{endif}}
{{elseif $row['access_token']}}
	{{if $row['member_id'] and $member}}
		{template="userPhoto" group="global" params="$member, 'tiny'"}
		{{if $member->member_id}}
			{template="userLink" group="global" params="$member, 'tiny'"}
		{{else}}
			{lang="deleted_member"}
		{{endif}}
		{lang="api_log_member_client" sprintf="$client->_title"}
	{{elseif $client}}
		<i class="fa fa-cubes" title="{lang="oauth_client"}" data-ipsTooltip></i> {$client->_title}
	{{else}}
		<i class="fa fa-cubes" title="{lang="oauth_client"}" data-ipsTooltip></i> <code>{$row['access_token']}</code>
	{{endif}}
{{else}}
	<em class="ipsType_light">{lang="none"}</em>
{{endif}}]]></template>
 <template template_group="api" template_name="apiPermissionDesc" template_data="$title, $description" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_left">
	{$title}
	{{if $description}}
		<br><span class="ipsType_light ipsType_small">{$description}</span>
	{{endif}}
</div>]]></template>
 <template template_group="api" template_name="clientDetails" template_data="$val, $agent=NULL" template_location="admin" template_app="core"><![CDATA[{{if $agent}}
	<span data-ipsTooltip title="{$val}">{lang="mobile_app_user_agent" sprintf="$agent->browserVersion, $agent->platform"}</span>
{{elseif mb_strlen( $val ) > 40}}
	<code title="{$val}">{expression="mb_substr( $val, 0, 37 )"}...</code>
{{else}}
	<code>{$val}</code>
{{endif}}]]></template>
 <template template_group="api" template_name="htaccess" template_data="$error, $url, $errorMessage" template_location="admin" template_app="core"><![CDATA[{{if $errorMessage}}
	<p class="ipsMessage ipsMessage_error">{lang="api_instructions_error" sprintf="(string)$url"}
		<br>
		{lang="api_returned_error" sprintf="$errorMessage"}
	</p>
{{endif}}
{lang="api_instructions_intro"}
<ol>
	<li>{lang="api_instructions_1"}</li>
	<li>{lang="api_instructions_2" sprintf="\IPS\ROOT_PATH"}</li>
	<li>{lang="api_instructions_3"}</li>
</ol>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=applications&controller=api&tab=apiLogs&recheck=1"}" class="ipsButton ipsButton_primary">{lang="continue"}</a>
</div>]]></template>
 <template template_group="api" template_name="oauthClientLink" template_data="$client" template_location="admin" template_app="core"><![CDATA[<a {{if member.hasAcpRestriction( 'core', 'api', 'oauth_manage' )}}href="{url="app=core&module=applications&controller=oauth&do=view&client_id={$client->client_id}"}"{{endif}}>{$client->_title}</a>]]></template>
 <template template_group="api" template_name="oauthScopeField" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<div class="ipsFieldRow_title">
	{lang="oauth_auth_scope_name"}
</div>
<div class="ipsFieldRow_content ipsClearfix">
	<input type="text" name="{$name}[key]" value="{{if $value}}{$value['key']}{{endif}}"><br>
</div>
<div class="ipsFieldRow_title">
	{lang="oauth_auth_scope_desc"}
</div>
<div class="ipsFieldRow_content ipsClearfix">
	{lang="oauth_auth_scope_title"}<br>
	<textarea name="{$name}[desc]" class="ipsField_fullWidth" rows="5">{{if $value}}{$value['desc']}{{endif}}</textarea><br>
	<p class="ipsFieldRow_desc">{lang="oauth_auth_scope_desc_desc"}</p>
</div>
]]></template>
 <template template_group="api" template_name="oauthSecret" template_data="$client, $secret, $bruteForce" template_location="admin" template_app="core"><![CDATA[{{if $client->type == 'wordpress'}}
	<p class="ipsType_normal">{lang="oauth_wordpress_blurb"}</p>
	<h2 class="ipsBox_title">{lang="oauth_wordpress_app_settings"}</h2>
	<div class="ipsBox ipsSpacer_bottom">
		<ul class="ipsDataList">
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_application"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					{lang="oauth_wordpress_application_val"}
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_app_name"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					{setting="board_name"}
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_client_id"}</strong>
				</span>
				<span class="ipsDataItem_generic" data-ipsCopy>
					<code>{$client->client_id}</code>
                    <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{$client->client_id}">{lang="copy"}</button>
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_client_secret"}</strong>
				</span>
				<span class="ipsDataItem_generic" data-ipsCopy>
					{{if $secret}}
						<code>{$secret}</code><br>
                    <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{$secret}">{lang="copy"}</button>
						<span class="ipsType_warning"><i class="fa fa-exclamation-triangle"></i> {lang="oauth_client_secret_desc"}</span>
					{{else}}
						<span class="ipsType_light">{lang="hidden"}</span>
						{{if member.hasAcpRestriction( 'core', 'applications', 'oauth_secrets' )}}
							<br>
							<a href="{url="app=core&module=applications&controller=api&tab=oauth&do=view&client_id={$client->client_id}&newSecret=1" csrf="true"}" data-confirm data-confirmSubMessage="{lang="oauth_regenerate_warning"}">{lang="oauth_regenerate_secret"}</a>
						{{endif}}
					{{endif}}
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_scope"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					<code>email</code>
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_authorize_uri"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					<code>{url="oauth/authorize/" base="interface" protocol="\IPS\Http\Url::PROTOCOL_HTTPS"}</code>
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_token_uri"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					<code>{url="oauth/token/" base="interface" protocol="\IPS\Http\Url::PROTOCOL_HTTPS"}</code>
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_user_uri"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					{{if settings.use_friendly_urls and settings.htaccess_mod_rewrite}}
						<code>{expression="rtrim( \IPS\Settings::i()->base_url, '/' )"}/api/core/me</code>
					{{else}}
						<code>{expression="rtrim( \IPS\Settings::i()->base_url, '/' )"}/api/index.php?/core/me</code>
					{{endif}}
				</span>
			</li>
		</ul>
	</div>
	<h2 class="ipsBox_title">{lang="oauth_wordpress_attribute_mapping"}</h2>
	<div class="ipsBox ipsSpacer_bottom">
		<ul class="ipsDataList">
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_map_email"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					<code>email</code>
				</span>
			</li>
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_wordpress_map_name"}</strong>
				</span>
				<span class="ipsDataItem_generic">
					<code>name</code>
				</span>
			</li>
		</ul>
	</div>
{{else}}
	<h2 class="ipsBox_title">{lang="oauth_client_credentials"}</h2>
	<div class="ipsBox ipsSpacer_bottom">
		<ul class="ipsDataList">
			<li class="ipsDataItem">
				<span class="ipsDataItem_generic ipsDataItem_size6">
					<strong>{lang="oauth_client_id"}</strong>
				</span>
				<span class="ipsDataItem_generic" data-ipsCopy>
                    <code>{$client->client_id}</code>
                    <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{$client->client_id}">{lang="copy"}</button>
				</span>
			</li>
			{{if $client->client_secret}}
				<li class="ipsDataItem">
					<span class="ipsDataItem_generic ipsDataItem_size6">
						<strong>{lang="oauth_client_secret"}</strong>
					</span>
					<span class="ipsDataItem_generic" data-ipsCopy>
						{{if $secret}}
                        <code id="secret">{$secret}</code>
                         <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{$secret}">{lang="copy"}</button>
                        <br>
							<span class="ipsType_warning"><i class="fa fa-exclamation-triangle"></i> {lang="oauth_client_secret_desc"}</span>
						{{else}}
							<span class="ipsType_light">{lang="hidden"}</span>
							{{if member.hasAcpRestriction( 'core', 'applications', 'oauth_secrets' )}}
								<br>
								<a href="{url="app=core&module=applications&controller=api&tab=oauth&do=view&client_id={$client->client_id}&newSecret=1" csrf="true"}" data-confirm data-confirmSubMessage="{lang="oauth_regenerate_warning"}">{lang="oauth_regenerate_secret"}</a>
							{{endif}}
						{{endif}}
					</span>
				</li>
			{{endif}}
		</ul>
	</div>
	{{if $client->type != 'invision'}}
		<div class="ipsSpacer_bottom">
			<h2 class="ipsBox_title">{lang="oauth_endpoint_details"}</h2>
			<div class="ipsBox">
				<ul class="ipsDataList">
					{{$grants = explode( ',', $client->grant_types );}}
					{{if \in_array( 'authorization_code', $grants ) or \in_array( 'token', $grants )}}
						<li class="ipsDataItem">
							<span class="ipsDataItem_generic ipsDataItem_size6">
								<strong>{lang="oauth_authorize_uri"}</strong>
							</span>
							<span class="ipsDataItem_generic">
								<code>{url="oauth/authorize/" base="interface" protocol="\IPS\Http\Url::PROTOCOL_HTTPS"}</code><br>
								{{if \in_array( 'authorization_code', $grants ) and \in_array( 'token', $grants )}}
									<span class="ipsType_desc">{lang="oauth_authorize_uri_desc_3"}</span>
								{{elseif \in_array( 'authorization_code', $grants )}}
									<span class="ipsType_desc">{lang="oauth_authorize_uri_desc_1"}</span>
								{{else}}
									<span class="ipsType_desc">{lang="oauth_authorize_uri_desc_2"}</span>
								{{endif}}
							</span>
						</li>
					{{endif}}
					{{if \in_array( 'authorization_code', $grants ) or \in_array( 'client_credentials', $grants ) or \in_array( 'password', $grants )}}
						<li class="ipsDataItem">
							<span class="ipsDataItem_generic ipsDataItem_size6">
								<strong>{lang="oauth_token_uri"}</strong>
							</span>
							<span class="ipsDataItem_generic">
								<code>{url="oauth/token/" base="interface" protocol="\IPS\Http\Url::PROTOCOL_HTTPS"}</code><br>
								<span class="ipsType_desc">{lang="oauth_token_uri_desc"}</span>
							</span>
						</li>
					{{endif}}
				</ul>
			</div>
		</div>
	{{endif}}
{{endif}}

{{if $bruteForce}}
	<div class="ipsSpacer_bottom">
		<h2 class="ipsBox_title">{lang="oauth_brute_force"}</h2>
		<div class="ipsType_light">{lang="oauth_brute_force_desc"}</div>
		{$bruteForce|raw}
	</div>
{{endif}}]]></template>
 <template template_group="api" template_name="oauthStatus" template_data="$accessToken, $useRefreshTokens" template_location="admin" template_app="core"><![CDATA[{{if $accessToken['status'] == 'revoked'}}
	<i class="fa fa-times"></i> {lang="oauth_status_revoked"}
{{elseif $accessToken['access_token_expires']}}
	{{if $accessToken['access_token_expires'] > time()}}
		<i class="fa fa-check"></i> {lang="oauth_status_active"}
	{{else}}
		{{if $useRefreshTokens and $accessToken['refresh_token']}}
			{{if $accessToken['refresh_token_expires']}}
				{{if $accessToken['refresh_token_expires'] > time()}}
					<i class="fa fa-refresh"></i> {lang="oauth_status_refresh"}
				{{else}}
					<i class="fa fa-times"></i> {lang="oauth_status_expired"}
				{{endif}}
			{{else}}
				<i class="fa fa-refresh"></i> {lang="oauth_status_refresh"}
			{{endif}}
		{{else}}
			<i class="fa fa-times"></i> {lang="oauth_status_expired"}
		{{endif}}
	{{endif}}
{{else}}
	<i class="fa fa-check"></i> {lang="oauth_status_active"}
{{endif}}]]></template>
 <template template_group="api" template_name="permissionsField" template_data="$endpoints, $name, $value, $type=NULL" template_location="admin" template_app="core"><![CDATA[
<li class='ipsFieldRow ipsPad_half ipsClearfix'>
	<div class='ipsFieldRow_title'>
		{lang="api_permissions_endpoint"}
	</div>
	<div class='ipsFieldRow_content'>
		<p class='ipsType_reset ipsSpacer_bottom'>
			{lang="api_permissions_endpoint_desc"}
		</p>

		{template="permissionsFieldHtml" group="api" params="$endpoints, $name, $value, $type"}
	</div>
</li>
]]></template>
 <template template_group="api" template_name="permissionsFieldHtml" template_data="$endpoints, $name, $value, $type=NULL" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.system.apiPermissions'>
	{{foreach $endpoints as $app => $sections}}
		<div class='ipsSpacer_bottom ipsSpacer_double'>
			<div class='ipsAreaBackground ipsPad cApiPermissions_header'>
				<h2 class='ipsType_reset ipsType_large'>{lang="__app_{$app}"}</h2>
				<span data-role="massToggle" class="ipsJS_show">
					<a href="#" data-action="checkAll">{lang="all"}</a> /  <a href="#" data-action="checkNone">{lang="none"}</a>
				</span>
			</div>
			<ul class='ipsList_reset cApiPermissions'>
				{{foreach $sections as $sectionID => $sectionEndpoints}}
					<li class='cApiPermissions_closed'>
						<h3 class='ipsType_reset ipsCursor_pointer' data-action='toggleSection'>{lang="__api_{$app}_{$sectionID}"}</h3> 
						<span class='ipsType_light ipsType_small' data-role='endpointOverview'></span>
						<span data-role="massToggle" class="ipsJS_show">
							<a href="#" data-action="checkAll">{lang="all"}</a> /  <a href="#" data-action="checkNone">{lang="none"}</a>
						</span>
						<ul class='ipsList_reset'>
							{{foreach $sectionEndpoints as $endpointKey => $endpoint}}
								<li>
									<ul class='ipsList_inline'>
										<li>
											<span class='ipsCustomInput'>
												<input type="checkbox" name="{$name}[{$endpointKey}][access]" value="1" {{if isset( $value[ $endpointKey ]['access'] ) and $value[ $endpointKey ]['access']}}checked{{endif}}>
												<span></span>												
											</span>
											<label>{lang="api_permissions_access"}</label>
										</li>
										<li>
											<span class='ipsCustomInput'>
												<input type="checkbox" name="{$name}[{$endpointKey}][log]" value="1" {{if isset( $value[ $endpointKey ]['log'] ) and $value[ $endpointKey ]['log']}}checked{{endif}}>
												<span></span>												
											</span>
											<label>{lang="api_permissions_log"}</label>
										</li>
										<li><strong><code>{expression="\IPS\Api\Controller::parseEndpointForDisplay( $endpoint['title'] )" raw="true"}</code></strong></li>
									</ul>
								</li>
							{{endforeach}}
						</ul>
					</li>
				{{endforeach}}
			</ul>
		</div>
	{{endforeach}}
</div>]]></template>
 <template template_group="api" template_name="referenceEndpoint" template_data="$data, $params, $exceptions, $response, $additionalClasses" template_location="admin" template_app="core"><![CDATA[<div class="cApi">
	<div class='ipsBox ipsPad'>
		<h2 class="ipsType_sectionHead"><code>{expression="\IPS\Api\Controller::parseEndpointForDisplay( $data['title'], 'large', TRUE )" raw="true"}</code></h2>
		<hr class='ipsHr'>
		<p class="ipsType_normal">{expression="nl2br( $data['description'] )"}</p>
		{{if isset( $data['details']['apimemberonly'])}}
			<p class="ipsMessage ipsMessage_warning">{lang="api_endpoint_member_only"}</p>
		{{endif}}
		{{if isset( $data['details']['apiclientonly'])}}
			<p class="ipsMessage ipsMessage_warning">{lang="api_endpoint_client_only"}</p>
		{{endif}}
		{{if isset( $data['details']['note'])}}
			{{foreach $data['details']['note'] as $note}}
				<p class="ipsMessage ipsMessage_info">{$note[0]}</p>
			{{endforeach}}
		{{endif}}
		<hr class='ipsHr'>
		
		<h3 class="ipsType_sectionHead {{if $params}}ipsSpacer_bottom ipsSpacer_half{{endif}}">{lang="api_parameters"}</h3>
		{{if $params}}
			{template="referenceTable" group="api" params="$params"}
		{{else}}
			<div class='ipsType_normal ipsType_light'>{lang="api_parameters_none"}</div>
		{{endif}}
		
		<hr class='ipsHr'>

		<h3 class="ipsType_sectionHead  {{if $exceptions}}ipsSpacer_bottom ipsSpacer_half{{endif}}">{lang="api_exceptions"}</h3>
		{{if $exceptions}}
			<table class="ipsTable">
				<tr>
					<th>{lang="api_exception_code"}</th>
					<th>{lang="api_exception_message"}</th>
					<th>{lang="api_exception_desc"}</th>
				</tr>
				{{foreach $exceptions as $exception}}
					<tr>
						<td><code>{$exception[0]}</code></td>
						<td><code>{$exception[1]}</code></td>
						<td>{$exception[2]}</td>
					</tr>
				{{endforeach}}
			</table>
		{{else}}
			<div class='ipsType_normal ipsType_light'>{lang="api_exceptions_none"}</div>
		{{endif}}
		
		<hr class='ipsHr'>

		<h3 class="ipsType_sectionHead {{if $response}}ipsSpacer_bottom ipsSpacer_half{{endif}}">{lang="api_response"}</h3>
		{{if $response}}
			{$response|raw}
		{{else}}
			<div class='ipsType_normal ipsType_light'>{lang="api_response_none"}</div>
		{{endif}}
		
		<hr class='ipsHr'>

		{{foreach $additionalClasses as $class => $data}}
			<a id="object-{$class}"></a>
			<h3 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half ipsType_blendLinks"><code>{$class}</code> {lang="api_object"}</h3>
			{$data|raw}
			<hr class='ipsHr'>
		{{endforeach}}
	</div>
</div>]]></template>
 <template template_group="api" template_name="referenceTable" template_data="$rows" template_location="admin" template_app="core"><![CDATA[<table class="ipsTable">
	<tr>
		<th>{lang="api_param_name"}</th>
		<th>{lang="api_param_type"}</th>
		<th>{lang="api_param_desc"}</th>
	</tr>
	{{foreach $rows as $column}}
		<tr>
			<td>
				{{if isset( $column[4] )}}
					{{if $column[4] === 'required'}}
						<span class="ipsBadge ipsBadge_neutral">{lang="required"}</span>
					{{elseif $column[4] === 'client'}}
						<i class="fa fa-key" title="{lang="api_response_client"}" data-ipsTooltip></i>
					{{elseif $column[4] === 'member'}}
						<i class="fa fa-user" title="{lang="api_response_member"}" data-ipsTooltip></i>
					{{endif}}
				{{endif}}
				<code>{$column[1]}</code>
			</td>
			<td>
				{{if mb_strpos( $column[0], '|' ) !== FALSE OR \in_array( $column[0], array( 'array', 'int', 'string', 'float', 'datetime', 'bool', 'object' ) )}}
					{$column[0]}
				{{elseif mb_substr( $column[0], 0, 1 ) == '['}}
					{{if \in_array( mb_substr( $column[0], 1, -1 ), array( 'int', 'string', 'float', 'datetime', 'bool', 'object' ) )}}
						{lang="api_array_of_scalar" sprintf="mb_substr( $column[0], 1, -1 )"}
					{{else}}
						{lang="api_array_of"} <a href="#object-{expression="mb_strtolower( mb_substr( $column[0], mb_strrpos( $column[0], '\\' ) + 1, -1 ) )"}">{expression="mb_strtolower( mb_substr( $column[0], mb_strrpos( $column[0], '\\' ) + 1, -1 ) )"}</a> {lang="api_array_objects"}
					{{endif}}
				{{else}}
					<a href="#object-{expression="mb_strtolower( mb_substr( $column[0], mb_strrpos( $column[0], '\\' ) + 1 ) )"}">{expression="mb_strtolower( mb_substr( $column[0], mb_strrpos( $column[0], '\\' ) + 1 ) )"}</a> {lang="api_object"}
				{{endif}}
			</td>
			<td class='ipsTable_wrap'>{lang="$column[2]"}</td>
		</tr>
	{{endforeach}}
</table>]]></template>
 <template template_group="api" template_name="referenceTemplate" template_data="$endPoints, $tree, $selected, $content" template_location="admin" template_app="core"><![CDATA[<div class="ipsAreaBackground_light ipsPad">
	{{if !request.isSecure()}}
		<div class="ipsMessage ipsMessage_warning">{lang="api_https_warning"}</div>
	{{endif}}
	<div class="ipsColumns ipsColumns_collapsePhone cApiReference" data-controller='core.admin.system.api'>
		<div class="ipsColumn ipsColumn_veryWide">
			<h2 class='ipsBox_title'>{lang="api_endpoints"}</h2>
			<div class='ipsBox'>
				<div class="ipsPad_half ipsScrollbar">
					<ul class="cApiTree ipsList_reset ipsSpacer_both ipsSpacer_half">
						{{foreach $tree as $app => $controllers}}
							<li class='cApiTree_activeBranch'>
								<a href='#' data-action='toggleBranch'>{lang="__app_{$app}"}</a>
								<ul class='ipsList_reset'>
									{{foreach $controllers as $controller => $endpoints}}
										{{if \count( $endpoints ) > 1}}
											<li class='cApiTree_inactiveBranch'>
												<a href='#' data-action='toggleBranch'>{lang="__api_{$app}_{$controller}"}</a>
												<ul class='ipsList_reset'>
													{{foreach $endpoints as $key => $endpoint}}
														<li><a href='{url="app=core&module=applications&controller=api&tab=apiReference&endpoint={$key}"}' data-action='showEndpoint'><code>{expression="\IPS\Api\Controller::parseEndpointForDisplay( $endpoint['title'] )" raw="true"}</code></a></li>
													{{endforeach}}
												</ul>
											</li>
										{{else}}
											<li>
												{{foreach $endpoints as $key => $endpoint}}
													<a href='{url="app=core&module=applications&controller=api&tab=apiReference&endpoint={$key}"}' data-action='showEndpoint'><code>{expression="\IPS\Api\Controller::parseEndpointForDisplay( $endpoint['title'] )" raw="true"}</code></a>
												{{endforeach}}
											</li>
										{{endif}}
									{{endforeach}}
								</ul>
							</li>
						{{endforeach}}
					</ul>
				</div>
			</div>
		</div>
		<div class="ipsColumn ipsColumn_fluid" data-role="referenceContainer">
			{{if $content}}
				{$content|raw}
			{{endif}}
		</div>
	</div>
</div>]]></template>
 <template template_group="api" template_name="viewLog" template_data="$request, $response" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<h2 class="ipsType_minorHeading">{lang="api_request_data"}</h2>
	<pre>{$request}</pre>
	<h2 class="ipsType_minorHeading">{lang="api_response"}</h2>
	<pre>{$response}</pre>
</div>]]></template>
 <template template_group="api" template_name="webhookDesc" template_data="$hook" template_location="admin" template_app="core"><![CDATA[    <span class="ipsType_light ipsType_small">
        {{foreach $hook->events as $badge}}
            <span class="ipsBadge ipsBadge_normal"> {$badge}</span>
        {{endforeach}}
    </span>]]></template>
 <template template_group="api" template_name="webhooks" template_data="$webhooks" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPad_half'>
	<div class='acpBlock'>
	    <div class='ipsTabs ipsClearfix' id='tabs_hooks' data-ipsTabBar data-ipsTabBar-contentArea='#elWebhookReference' data-ipstabbar-updateurl="false">
	        <a href='#tabs_hooks' data-action='expandTabs'><i class='icon-caret-down'></i></a>
	        <ul role='tablist'>
	            {{foreach $webhooks as $app => $appWebhooks}}
	            {{if \count($appWebhooks)}}
	            <li role='presentation'>
	                <a href='#ipsTabs_tabs_hooks_elTab_{$app}_panel' role='tab' id='elTab_{$app}' class='ipsTabs_item' aria-selected="true">
	                    {lang="__app_{$app}"}
	                </a>
	            </li>
	            {{endif}}
	            {{endforeach}}
	        </ul>
	    </div>
	
	    <section id='elWebhookReference' class='acpFormTabContent'>
	        {{foreach $webhooks as $app => $appWebhooks}}
	        {{$additionalClasses = [];}}
	        {{if \count($appWebhooks)}}
	            <div id='ipsTabs_tabs_hooks_elTab_{$app}_panel' class="ipsTabs_panel" aria-labelledby="elTab_{$app}" aria-hidden="false">
	                <div class="ipsPad">
	                    {{foreach $appWebhooks as $key => $data}}
	                    <div class="ipsPadding_top">
	                        <h2 class="ipsType_sectionHead ipsType_center">{$key}</h2>
	                        <hr class="ipsHr">
	                        <p class="ipsType_normal">{{if \IPS\Member::loggedIn()->language()->checkKeyExists( "webhook_" . $key ) }}{lang="webhook_{$key}"}{{endif}}</p>
	                        <hr class="ipsHr">
	                        <p class="ipsType_bold ipsSpacer_bottom ipsSpacer_half">{lang="webhook_payload"}</p>
	
	                        {{if \is_string($data)}}
	                        {{$additionalClasses[$data] = \IPS\Api\DocumentationHelper::getDescriptionForClass($data);}}
                            {{foreach \IPS\Api\DocumentationHelper::getAdditionalClasses($data) as $c}}
                                {{$additionalClasses[$c] = \IPS\Api\DocumentationHelper::getDescriptionForClass($c);}}
                            {{endforeach}}

	                        <pre><a href="#object-{expression="mb_strtolower( mb_substr( $data, mb_strrpos( $data, '\\' ) + 1 ) )"}">{$data}</a></pre>
	                        {{else}}
	                        <table class="ipsTable">
	                            <thead><tr><th>{lang="webhook_key"}</th><th>{lang="webhook_description"}</th></tr></thead>
	                            {{if \is_array($data)}}
	                            {{foreach $data as $k => $v}}
	                            <tr>
	                                <td>{$k}</td>
	                                <td>{$v}</td>
	                            </tr>
	                            {{endforeach}}
	                            {{endif}}
	                        </table>
	                        {{endif}}
	                    </div>
	                    <hr class="ipsHr_thick">
	                    {{endforeach}}
	                </div>
	                <div class="ipsPad">
	                    <h2>{lang="webhook_class_payload"}</h2>
                        {{foreach $additionalClasses as $class => $data}}
                            <a id="object-{expression="mb_strtolower( mb_substr( $class, mb_strrpos( $class, '\\' ) + 1 ) )"}"></a>
                            <h3 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half ipsType_blendLinks"><code>{$class}</code> {lang="api_object"}</h3>
                            {$data|raw}
                            <hr class='ipsHr'>
                        {{endforeach}}
	                </div>
	            </div>
	        {{endif}}
	        {{endforeach}}
	    </section>
	</div>
</div>]]></template>
 <template template_group="api" template_name="webhookselector" template_data="$name, $value, $required, $options, $multiple=FALSE, $class='', $disabled=FALSE, $toggles=array(), $id=NULL, $unlimited=NULL, $unlimitedLang='all', $unlimitedToggles=array(), $toggleOn=TRUE, $descriptions=array(), $impliedUnlimited=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $multiple}}
<input type="hidden" name="{$name}[__EMPTY]" value="__EMPTY">
{{endif}}
<div data-control="granularCheckboxset" data-count="{expression="\count( $options )"}">
{{if $unlimited !== NULL AND $impliedUnlimited === FALSE}}
<div data-role="checkboxsetUnlimited" class="{{if !\is_array( $value )}}ipsJS_show{{else}}ipsHide{{endif}}">
	<input
		type='checkbox'
		name="{expression="trim( $name, '[]' )"}_unlimited"
	value='{$unlimited}'
	id="{expression="trim( $id ?: $name, '[]' )"}_unlimited"
	{{if $unlimited === $value}}checked aria-checked='true'{{else}}aria-checked='false'{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	data-ipsToggle
	data-role="checkboxsetUnlimitedToggle"
	>
	&nbsp;
	{lang="or"}
	&nbsp;
	<a class="ipsCursor_pointer" data-action="checkboxsetCustomize">{lang="customize"}</a>
</div>
{{endif}}
<div data-role="checkboxsetGranular" class="ipsField__checkboxOverflow {{if $unlimited !== NULL AND $impliedUnlimited === FALSE and !\is_array( $value )}}ipsJS_hide{{endif}}">

	<div class="ipsGrid">
		{{foreach $options as $k => $v}}
        <div class='ipsGrid_span3'>Span 3</div>

					<span class='ipsCustomInput'>
						<input type="checkbox" {{if $class}}class="{$class}"{{endif}} name="{$name}[{$k}]" value="1" {{if ( $unlimited !== NULL AND $unlimited === $value ) or ( \is_array( $value ) AND \in_array( $k, $value ) )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elCheckbox_{$name}_{$k}">
						<span></span>
					</span>
			<div class='ipsField_fieldList_content'>
				<label for='elCheckbox_{$name}_{$k}' id='elField_{$name}_label' data-role="label">{$v|raw}</label>
				{{if isset( $descriptions[ $k ] )}}
				<br>
				<span class='ipsFieldRow_desc'>
								{$descriptions[ $k ]|raw}
							</span>
				{{endif}}
			</div>
        </div>>
		{{endforeach}}
	</div>

	<div class="ipsSpacer_top ipsSpacer_half ipsJS_show ipsField__checkboxOverflow__toggles" data-role="massToggles">
		{lang="or"}
		&nbsp;
		<a class="ipsCursor_pointer" data-action="checkboxsetAll">{lang="all"}</a> / <a class="ipsCursor_pointer" data-action="checkboxsetNone">{lang="none"}</a>
	</div>
</div>
</div>]]></template>
 <template template_group="api" template_name="zapier" template_data="$apiKey" template_location="admin" template_app="core"><![CDATA[<p class="ipsType_normal">{lang="zapier_setup_intro"}</p>
<div class="ipsBox">
	<ul class="ipsForm ipsForm_horizontal">
		<li class="ipsFieldRow ipsFieldRow_yesNo ">
			<div class="ipsFieldRow_title">
				{lang="zapier_community_url"}
			</div>
			<div class="ipsFieldRow_content ipsClearfix" data-ipscopy>
				<code class=" prettyprint prettyprinted" data-role="copyTarget">{expression="rtrim( \IPS\Settings::i()->base_url, '/' )"}/</code>
                <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{expression="rtrim( \IPS\Settings::i()->base_url, '/' )"}">{lang="copy"}</button>
            </div>
		</li>

		<li class="ipsFieldRow ipsFieldRow_yesNo ">
			<div class="ipsFieldRow_title">
				{lang="api_id"}
			</div>
			<div class="ipsFieldRow_content ipsClearfix" data-ipscopy>
				<code class=" prettyprint prettyprinted" data-role="copyTarget" >{$apiKey->id}</code>
                <button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right" data-role="copyButton" data-clipboard-text="{$apiKey->id}">{lang="copy"}</button>
            </div>
		</li>
	</ul>
	<hr class="ipsHr_thick">
	<div class="ipsBox ipsPad">
		<script type="module" src="https://zapier.com/partner/embed/app-directory/wrapper.js?app=invision-community&link-target=new-tab&theme=auto&applimit=5&zaplimit=6&zapstyle=card&introcopy=hide"></script>
	</div>

</div>
]]></template>
 <template template_group="applications" template_name="applicationWrapper" template_data="$tree, $lang" template_location="admin" template_app="core"><![CDATA[
<div class='acpBlock ipsSpacer_top'>
	<div class='ipsBox_titleBar'>{lang="$lang"}</div>
	{$tree|raw}
</div>]]></template>
 <template template_group="applications" template_name="appRowAdditional" template_data="$app" template_location="admin" template_app="core"><![CDATA[
<div class="ipsPos_right ipsTree_row_cells ipsType_unbold ipsType_normal">
	&nbsp;
	<span class="ipsTree_row_cell">
		{{if \in_array( $app->directory, \IPS\IPS::$ipsApps )}}
			<span class="ipsType_success"><i class="fa fa-check"></i> {lang="invision"}</span>
		{{else}}
			<span class="ipsType_issue"><i class="fa fa-exclamation-triangle"></i> {lang="custom"}</span>
		{{endif}}
	</span>
</div>]]></template>
 <template template_group="applications" template_name="appRowDescription" template_data="$application" template_location="admin" template_app="core"><![CDATA[{{if $application->_disabledMessage}}
	{$application->_disabledMessage}<br>
{{endif}}

{{if !\in_array( $application->directory, \IPS\IPS::$ipsApps )  AND ( $application->author != '' OR $application->website != '' )}}
{{if $application->author != '' }} {lang="byline_nodate" sprintf="$application->author"}{{endif}}{{if $application->website}} {template="basicUrl" group="global" app="core" location="global" params="$application->website(), TRUE, $application->website(), TRUE, TRUE, TRUE"}{{endif}}
{{endif}}]]></template>
 <template template_group="applications" template_name="appRowTitle" template_data="$app" template_location="admin" template_app="core"><![CDATA[{$app->_title} <span class='ipsType_small ipsType_unbold ipsType_light'>{$app->version}</span>]]></template>
 <template template_group="applications" template_name="codeHookEditor" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input->error}}
				<div class="ipsPad ipsAreaBackground_light">
					<p class='ipsMessage ipsMessage_error'>{lang="$input->error"}</p>
				</div>
			{{endif}}
		{{endforeach}}
	{{endforeach}}
	<section class='ipsAreaBackground_light ipsPad_half' id='elCodeHookEditor' data-controller='core.admin.system.codeHook'>
		<div class="ipsColumns ipsColumns_collapsePhone">
			<div class="ipsColumn ipsColumn_wide">
				{expression="array_pop( $sidebar )" raw="true"}
			</div>
			<div class='ipsColumn ipsColumn_fluid'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $input}}
						{$input->html()|raw}
					{{endforeach}}
				{{endforeach}}
			</div>
		</div>

		<div class="ipsAreaBackground_light ipsClearfix ipsType_center ipsSpacer_top">
			{{foreach $actionButtons as $button}}
				{$button|raw}
			{{endforeach}}
		</div>
	</section>
</form>]]></template>
 <template template_group="applications" template_name="codeHookSidebar" template_data="$data" template_location="admin" template_app="core"><![CDATA[<div class="cHookEditor_sidebar ipsScrollbar ipsSideMenu">
		{{foreach $data as $className => $constructs}}
			<h3 class='ipsType_reset ipsAreaBackground ipsPad_half'>{$className}</h3>
			<br>
			{{if isset( $constructs['properties'] )}}
				<h4 class='ipsSideMenu_title'>{lang="plugin_hook_properties"}</h4>
				<ul class="ipsSideMenu_list">
					{{foreach $constructs['properties'] as $property}}
						<li class="ipsSideMenu_item" data-signature='{$property->signature}' data-codeToInject='{$property->codeToInject}'>
							<a href='#'>
							{{if $property->isPublic()}}
								<i class="fa fa-circle-o" title="public"></i>
							{{else}}
								<i class="fa fa-circle" title="protected"></i>
							{{endif}}
							{{if $property->isStatic()}}
								static
							{{endif}}
							${$property->getName()}
							</a>
						</li>
					{{endforeach}}
				</ul>
			{{endif}}
			{{if isset( $constructs['methods'] )}}
				<h4 class='ipsSideMenu_title'>{lang="plugin_hook_methods"}</h4>
				<ul class="ipsSideMenu_list">
					{{foreach $constructs['methods'] as $method}}
						<li class="ipsSideMenu_item" data-signature='{$method->signature}' data-codeToInject='{$method->codeToInject}'>
							<a href='#'>
							{{if $method->isPublic()}}
								<i class="fa fa-circle-o" title="public"></i>
							{{else}}
								<i class="fa fa-circle" title="protected"></i>
							{{endif}}
							{{if $method->isFinal()}}
								final
							{{endif}}
							{{if $method->isStatic()}}
								static
							{{endif}}
							{{if $method->isAbstract()}}
								abstract
							{{endif}}
							{{if !$method->getNumberOfParameters()}}
								{$method->getName()}()
							{{else}}
								{{if !$method->getNumberOfRequiredParameters()}}
									{$method->getName()}( {$method->getNumberOfParameters()} )
								{{elseif $method->getNumberOfParameters() != $method->getNumberOfRequiredParameters()}}
									{$method->getName()}( {$method->getNumberOfRequiredParameters()} [, {expression="$method->getNumberOfParameters() - $method->getNumberOfRequiredParameters()"} ] )
								{{else}}
									{$method->getName()}( [ {$method->getNumberOfParameters()} ] )
								{{endif}}
							{{endif}}
							</a>
						</li>
					{{endforeach}}
				</ul>
			{{endif}}
		{{endforeach}}
</div>]]></template>
 <template template_group="applications" template_name="details" template_data="$application, $lastUpgrade" template_location="admin" template_app="core"><![CDATA[<table class='ipsTable'>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="app_details_app_title"}</strong>
		</td>
		<td class="field_field">
			{lang="__app_{$application->directory}"}
		</td>
	</tr>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="app_details_app_version"}</strong>
		</td>
		<td class="field_field">
			{lang="app_version_string" sprintf="$application->version, $application->long_version"}
		</td>
	</tr>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="app_details_app_author"}</strong>
		</td>
		<td class="field_field">
			{$application->author}{{if $application->website}} <a href='{$application->website}' target='_blank' rel="noopener"><i class="fa fa-external-link-square" title='{$application->website}'></i></a>{{endif}}
		</td>
	</tr>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="app_details_app_installed"}</strong>
		</td>
		<td class="field_field">
			{datetime="$application->added"}
		</td>
	</tr>
	{{if $lastUpgrade !== NULL}}
	<tr>
		<td class="field_title">
			<strong class="title">{lang="app_details_app_updated"}</strong>
		</td>
		<td class="field_field">
			{datetime="$lastUpgrade"}
		</td>
	</tr>
	{{endif}}
</table>
]]></template>
 <template template_group="applications" template_name="enhancements" template_data="$rows" template_location="admin" template_app="core"><![CDATA[<div id='acpEnhancements'>
	<h2 class='ipsType_pageTitle'>{lang="enhancements_ips"}</h2>
	<br>

	<ul class='ipsGrid ipsGrid_collapsePhone ipsSpacer_bottom ipsSpacer_double' data-ipsGrid data-ipsGrid-minItemSize='320' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
		{{foreach $rows[1] as $key => $data}}
			<li class='ipsBox ipsGrid_span4 acpEnhancement  {{if $data['enabled'] == 1}}acpEnhancement_enabled{{endif}}'>
				{{if $data['enabled'] == 1}}
					<span class='ipsBadge ipsBadge_icon ipsBadge_positive' data-ipsTooltip title='{lang="enabled"}'><i class='fa fa-check'></i></span>
				{{endif}}
				<div class='acpEnhancement__title'>
					<h3>{lang="$data['title']"}</h3>
					{{if $data['icon'] != ""}}<img src='{resource="enhancements/{$data['icon']}" app="core" location="admin"}' class='acpEnhancement_logo'>{{endif}}
				</div>
				<div class='ipsType_normal ipsPad'>
					{{if $data['description']}}
						<div class='ipsType_richText'>
							<p>
								{lang="$data['description']"}
							</p>
						</div>
					{{endif}}
					<ul class='ipsGrid acpEnhancement_buttons'>
						<li class='{{if $data['config'] && $data['enabled'] == 1}}ipsGrid_span5{{else}}ipsGrid_span12{{endif}}'>	
							{{if $data['enabled'] == 1}}
								<a href='{url="app=core&module=applications&controller=enhancements&do=enableToggle&id={$key}&status=0" csrf="true"}' class='ipsButton ipsButton_fullWidth ipsButton_medium ipsButton_light' data-keyAction='t'>{lang="disable"}</a>
							{{else}}
								<a href='{url="app=core&module=applications&controller=enhancements&do=enableToggle&id={$key}&status=1" csrf="true"}' class='ipsButton ipsButton_fullWidth ipsButton_medium ipsButton_primary' data-keyAction='t'>{lang="enable"}</a>
							{{endif}}
						</li>
						{{if $data['config'] && $data['enabled'] == 1}}
							<li class='ipsGrid_span7'>
								<a href='{url="app=core&module=applications&controller=enhancements&do=edit&id={$key}&_new=1"}' class='ipsButton ipsButton_fullWidth ipsButton_light ipsButton_medium'>{lang="enhancements_configure"}</a>
							</li>
						{{endif}}
					</ul>
				</div>
			</li>
		{{endforeach}}
	</ul>

	<h2 class='ipsType_pageTitle'>{lang="enhancements_thirdparty"}</h2>
	<br>

	<ul class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='320' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
		{{foreach $rows[0] as $key => $data}}
			<li class='ipsBox ipsGrid_span4 acpEnhancement {{if $data['enabled'] == 1}}acpEnhancement_enabled{{endif}}'>
				{{if $data['enabled'] == 1}}
					<span class='ipsBadge ipsBadge_icon ipsBadge_positive' data-ipsTooltip title='{lang="enabled"}'><i class='fa fa-check'></i></span>
				{{endif}}
				<div class='acpEnhancement__title'>
					<h3>{lang="$data['title']"}</h3>
					{{if $data['icon'] }}<img src='{resource="enhancements/{$data['icon']}" app="{$data['app']}" location="admin"}' class='acpEnhancement_logo'>{{endif}}
				</div>
				<div class='ipsType_normal ipsPad'>
					{{if $data['description']}}
						<div class='ipsType_richText'>
							<p>
								{lang="$data['description']"}
							</p>
						</div>
					{{endif}}
					<ul class='ipsGrid acpEnhancement_buttons'>
						<li class='{{if $data['config'] && $data['enabled'] == 1}}ipsGrid_span5{{else}}ipsGrid_span12{{endif}}'>
							{{if $data['enabled'] == 1}}
								<a href='{url="app=core&module=applications&controller=enhancements&do=enableToggle&id={$key}&status=0" csrf="true"}' class='ipsButton ipsButton_fullWidth ipsButton_medium ipsButton_light'>{lang="disable"}</a>
							{{else}}
								<a href='{url="app=core&module=applications&controller=enhancements&do=enableToggle&id={$key}&status=1" csrf="true"}' class='ipsButton ipsButton_fullWidth ipsButton_medium ipsButton_primary'>{lang="enable"}</a>
							{{endif}}
						</li>
						{{if $data['config'] && $data['enabled'] == 1}}
							<li class='ipsGrid_span7'>
								<a href='{url="app=core&module=applications&controller=enhancements&do=edit&id={$key}&_new=1"}' class='ipsButton ipsButton_fullWidth ipsButton_light ipsButton_medium'>{lang="enhancements_configure"}</a>
							</li>
						{{endif}}
					</ul>
				</div>
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="applications" template_name="enhancementsGoogleMapsApi" template_data="$k" template_location="admin" template_app="core"><![CDATA[<li class="ipsPad" id="googleApi_{$k}">
	<a href="{url="googlemaps_{$k}" ips="true"}" target="_blank" rel="noopener" class="ipsUserPhoto ipsUserPhoto_tiny">
		<img src="{resource="enhancements/google_maps/{$k}.png" app="core" location="admin"}" alt="{$k}">
	</a>
	<a href="{url="googlemaps_{$k}" ips="true"}" target="_blank" rel="noopener">
		{lang="googlemaps_api_{$k}"}
	</a>
</li>]]></template>
 <template template_group="applications" template_name="enhancementsGoogleMapsKeyRestrictions" template_data="$public, $websiteUrl, $data" template_location="admin" template_app="core"><![CDATA[<li class="ipsPad">{lang="google_maps_create_restrictions"}</li>
<li class="ipsFieldRow ipsFieldRow_yesNo">
	<div class="ipsFieldRow_title">
		{lang="google_maps_api_key_name"}
	</div>
	<div class="ipsFieldRow_content ipsClearfix">
		<div data-ipsCopy>
			<code class="prettyprint lang-sql" data-role="copyTarget">{{if $public}}{lang="google_maps_api_key_public"}{{else}}{lang="google_maps_api_key_secret_name"}{{endif}}</code>
			<button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right ipsHide" data-role="copyButton" data-clipboard-text="{{if $public}}{lang="google_maps_api_key_public"}{{else}}{lang="google_maps_api_key_secret_name"}{{endif}}">{lang="copy"}</button>
		</div>	
	</div>
</li>
<li class="ipsFieldRow ipsFieldRow_yesNo">
	<div class="ipsFieldRow_title">
		{lang="google_maps_api_key_app_restrict"}
	</div>
	<div class="ipsFieldRow_content ipsClearfix">
		{{if $public}}
			{lang="google_maps_api_key_app_restrict_public"}
		{{else}}
			{{if \IPS\CIC or !isset( $_SERVER['SERVER_ADDR'] )}}
				{lang="google_maps_api_key_app_restrict_secret_none"}
			{{else}}
				{lang="google_maps_api_key_app_restrict_secret_ip" sprintf="$_SERVER['SERVER_ADDR']"}
			{{endif}}
		{{endif}}
	</div>
</li>
{{if $public}}
	<li class="ipsFieldRow ipsFieldRow_yesNo">
		<div class="ipsFieldRow_title">
			{lang="google_maps_api_key_web_restrict"}
		</div>
		<div class="ipsFieldRow_content ipsClearfix">
			{lang="google_maps_api_key_web_restrict_val"}
			<div class="ipsSpacer_top" data-ipsCopy>
				<code class="prettyprint lang-sql" data-role="copyTarget">{$websiteUrl}</code>
				<button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right ipsHide" data-role="copyButton" data-clipboard-text="{$websiteUrl}">{lang="copy"}</button>
			</div>
		</div>
	</li>
{{endif}}
<li class="ipsFieldRow ipsFieldRow_yesNo">
	<div class="ipsFieldRow_title">
		{lang="google_maps_api_key_api_restrict"}
	</div>
	<div class="ipsFieldRow_content ipsClearfix">
		{lang="google_maps_api_key_api_restrict_val"}
		<ul>
			{{if $public}}
				{{if $data['googlemaps']}}
					<li>{lang="googlemaps_api_jsapi"}</li>
					<li>{lang="googlemaps_api_staticapi"}</li>
				{{endif}}
				{{if $data['googleplacesautocomplete']}}
					<li>{lang="googlemaps_api_places"}</li>
				{{endif}}
			{{else}}
				<li>{lang="googlemaps_api_geocodeapi"}</li>
			{{endif}}
		</ul>
	</div>
</li>]]></template>
 <template template_group="applications" template_name="enhancementsLabel" template_data="$langKey" template_location="admin" template_app="core"><![CDATA[{lang="$langKey"}</strong><br>
<span class="ipsType_light">{lang="{$langKey}_desc"}</span><strong>]]></template>
 <template template_group="applications" template_name="menuItem" template_data="$item, $id, $baseUrl" template_location="admin" template_app="core"><![CDATA[
<div class='cMenuManager_leaf' data-role="menuItem" data-itemID='{$id}'>
	{template="menuItemTools" group="applications" app="core" params="$item, $id, $baseUrl"}
	<h3 class='cMenuManager_leafTitle'>{$item->title()}</h3>
</div>]]></template>
 <template template_group="applications" template_name="menuItemTools" template_data="$item, $id, $baseUrl" template_location="admin" template_app="core"><![CDATA[<ul class='ipsList_inline ipsPos_right cMenuManager_tools'>
	<li class='ipsJS_hide'>
		<a href='{$baseUrl->setQueryString( array( 'do' => 'form', 'id' => $id ) )}' data-ipsTooltip title='{lang="edit_menu_item"}' data-action='editItem'>
			{lang="edit"}
		</a>
	</li>
	{{if $item instanceof \IPS\core\extensions\core\FrontNavigation\Menu}}
		<li>
			<a href='#' data-action='editDropdown' data-ipsTooltip title='{lang="menu_manager_dropdown_edit"}' class='ipsType_blendLinks'>
				<i class='fa fa-server'></i> <i class='fa fa-caret-right'></i>
			</a>
		</li>
	{{endif}}
	<li>
		<a href='{$baseUrl->setQueryString( array( 'do' => 'remove', 'id' => $id ) )->csrf()}' data-action='removeItem' data-ipsTooltip title='{lang="menu_manager_dropdown_delete"}' class='ipsType_blendLinks'>
			<i class='fa fa-times'></i></i>
		</a>
	</li>
</ul>]]></template>
 <template template_group="applications" template_name="menuManager" template_data="$items, $menus, $baseUrl, $showPreviewAndPublish = TRUE, $supportsChildren = TRUE" template_location="admin" template_app="core"><![CDATA[
<div data-controller='core.admin.system.menuManager' data-baseUrl="{$baseUrl}" {{if $supportsChildren}}data-supportsChildren="true"{{endif}}>
	{{if $showPreviewAndPublish}}
		<div class='cMenuManager_preview ipsResponsive_hidePhone' data-role='preview'>
			<h2 class='ipsType_reset'>
				<a href='#' data-action='previewToggle' class='ipsPos_right'>
					<span class='ipsHide' data-role='closePreview'>&times;</span>
					<i class='fa fa-chevron-up' data-role='openPreview'></i>
				</a>
				{lang="menu_manager_live_preview"}
				&nbsp;&nbsp;&nbsp;
				{{$themes = \IPS\Theme::getThemesWithAccessPermission();}}
				{{if \count( $themes ) > 1 }}
					<a href='#elPreviewTheme_menu' id='elPreviewTheme' data-ipsMenu data-ipsMenu-above class='ipsType_medium ipsType_light'>{lang="menu_manager_preview_theme"} <i class='fa fa-caret-down'></i></a>
					<ul id='elPreviewTheme_menu' class='ipsMenu ipsMenu_selectable ipsHide'>
					{{foreach $themes as $id => $set }}
						<li class='ipsMenu_item{{if ( isset( \IPS\Request::i()->previewThemeId ) and $id == \IPS\Request::i()->previewThemeId ) or ( !isset( \IPS\Request::i()->previewThemeId ) and $id == \IPS\Theme::i()->id )}} ipsMenu_itemChecked{{endif}}'>
							<a href="{$baseUrl->setQueryString( 'previewThemeId', $id )}">{$set->_title}</a>
						</li>
					{{endforeach}}
					</ul>
				{{endif}}
			</h2>
			<div data-role='previewBody'>
				{{if $previewThemeId = \IPS\Request::i()->previewThemeId}}
					<iframe src="{url="app=core&module=system&controller=ajax&do=menuPreview&theme={$previewThemeId}" base="front"}"></iframe>
				{{else}}
					<iframe src="{url="app=core&module=system&controller=ajax&do=menuPreview" base="front"}"></iframe>
				{{endif}}
			</div>
		</div>
	{{endif}}
	<div class='cMenuManager'>
		<div class='ipsColumns ipsColumns_collapsePhone'>
			<div class='ipsColumn ipsColumn_veryWide cMenuManager_column'>
				<div class='cMenuManager_editorWrapper'>
					<div class='cMenuManager_main' data-manager='main'>
						{{if $showPreviewAndPublish}}
							<div class='ipsSpacer_bottom'>
								<p class='ipsType_reset ipsType_light ipsType_medium ipsType_center ipsSpacer_bottom ipsSpacer_half'>
									{lang="menu_manager_publish_desc"}
								</p>
								<a href='{$baseUrl->setQueryString( 'do', 'publish' )->csrf()}' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium {{if ( isset( \IPS\Data\Store::i()->frontNavigation ) && \IPS\Data\Store::i()->frontNavigation == \IPS\core\FrontNavigation::frontNavigation( TRUE ) )}}ipsButton_disabled{{endif}}' data-action='publishMenu'><i class='fa fa-cloud-upload'></i> {lang="menu_manager_publish"}</a>
							</div>
							<hr class='ipsHr'>
						{{endif}}
						<ul class='ipsList_inline ipsClearfix'>
							<li class='ipsPos_right'>
								<a href="{$baseUrl->setQueryString( array( 'do' => 'form', 'parent' => 0 ) )}" class='ipsButton ipsButton_verySmall ipsButton_alternate' data-ipsTooltip title='{lang="add_menu_item"}' data-action='newItem'>{lang="add_menu_item_short"}</a>
							</li>
						</ul>
						<h2 class='ipsType_sectionHead ipsSpacer_top ipsSpacer_half'>
							{lang="menu_manager_main_menu"}
						</h2>

						<div class='cMenuManager_root'>
							<ol data-bar-id='0' class='cMenuManager_branch'>
								{{foreach $items[0] as $id => $item}}
									<li id='menu_{$id}' data-role='menuNode'>
										{template="menuItem" group="applications" app="core" params="$item, $id, $baseUrl"}
										<ol>
											{{if isset( $items[ $id ] ) && \count( $items[ $id ] )}}
												{{foreach $items[ $id ] as $cid => $citem}}
													<li id='menu_{$cid}' data-role='menuNode'>
														{template="menuItem" group="applications" app="core" params="$citem, $cid, $baseUrl"}
													</li>
												{{endforeach}}
											{{endif}}
										</ol>
									</li>
								{{endforeach}}
							</ol>
						</div>
					</div>
					<div class='cMenuManager_dropdown ipsHide' data-manager='dropdown'>
						{{foreach $menus as $id => $item}}
							{template="menuManagerDropdown" group="applications" app="core" params="$item, $id, 0, $baseUrl"}
						{{endforeach}}
					</div>
				</div>
			</div>
			<div class='ipsColumn ipsColumn_fluid cMenuManager_form' data-role='editForm' id='elMenuManager_formColumn'>
				
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="applications" template_name="menuManagerDropdown" template_data="$item, $id, $parent, $baseUrl" template_location="admin" template_app="core"><![CDATA[{{$children = $item->children( TRUE );}}
{{if $children !== NULL}}
	<div data-dropdownID='{$id}'>
		<ul class='ipsList_inline ipsList_noSpacing ipsClearfix'>
			<li class='ipsPos_right'>
				<a href="{$baseUrl->setQueryString( array( 'do' => 'form', 'parent' => $id ) )}" class='ipsButton ipsButton_verySmall ipsButton_alternate' data-ipsTooltip title='{lang="add_menu_item"}' data-action='newDropdown'>{lang="add_menu_item_short"}</a>
			</li>
			<li>
				{{if $parent}}
					<a href='#' class='ipsButton ipsButton_link ipsButton_narrow ipsButton_verySmall' data-action='navBack' data-parentID='{$parent->id}'><i class='fa fa-chevron-left'></i> {lang="menu_manager_back_to" sprintf="$parent->title()"}</a>
				{{else}}
					<a href='#' class='ipsButton ipsButton_link ipsButton_narrow ipsButton_verySmall' data-action='navBack' data-parentID='0'><i class='fa fa-chevron-left'></i> {lang="menu_manager_back_to" sprintf="\IPS\Member::loggedIn()->language()->addToStack('menu_manager_main_menu')"}</a>
				{{endif}}
			</li>
		</ul>
		<h2 class='ipsType_sectionHead ipsSpacer_top ipsSpacer_half'>
			{lang="menu_manager_dropdown_for" sprintf="$item->title()"}
		</h2>

		<ol id="elDropDownMenu_{$id}" data-menuID='{$id}' class="ipsList_reset ipsMenu ipsMenu_auto ipsMenu_bottomCenter">
			{{if \count( $children )}}
				{{foreach $children as $cid => $citem}}
					{template="menuManagerDropdownItem" group="applications" app="core" params="$citem, $cid, $baseUrl"}
				{{endforeach}}
			{{else}}
				<li class='cMenuManager_emptyList ipsType_light ipsType_center'>{lang="menu_manager_list"}</li>
			{{endif}}
		</ol>
	</div>
	{{$parent = $item;}}
	{{foreach $children as $i => $_items}}
		{{foreach $_items as $id => $item}}
			{{if $item instanceof \IPS\core\extensions\core\FrontNavigation\Menu}}
				{template="menuManagerDropdown" group="applications" app="core" params="$item, $id, $parent, $baseUrl"}
			{{endif}}
		{{endforeach}}
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="applications" template_name="menuManagerDropdownItem" template_data="$citem, $cid, $baseUrl" template_location="admin" template_app="core"><![CDATA[
<li class='ipsMenu_item' data-role='menuItem' id='menu_{$cid}' data-itemID='{$cid}'>
	<div>
		{template="menuItemTools" group="applications" app="core" params="$citem, $cid, $baseUrl"}
		{$citem->title()}
	</div>
</li>]]></template>
 <template template_group="applications" template_name="menuManagerForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[
<div>
	<div>
		<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-itemID='{expression="\IPS\Request::i()->id"}'>
			<input type="hidden" name="{$id}_submitted" value="1">
			{{foreach $hiddenValues as $k => $v}}
				{{if \is_array($v)}}
					{{foreach $v as $_k => $_v}}
						<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
					{{endforeach}}
				{{else}}
					<input type="hidden" name="{$k}" value="{$v}">
				{{endif}}
			{{endforeach}}
			{{if $uploadField}}
				<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
				<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
			{{endif}}
			
			{{if isset( $elements['']['menu_manager_extension'])}}
				<div class='ipsFieldRow_section'>{lang="menu_item_type"}</div>
				{{$elem = $elements['']['menu_manager_extension'];}}
				{{$options = $elem->options['options'];}}
				{{$leftOver = \count( $options ) % 3;}}
				{{$perCol1 = $perCol2 = $perCol3 = ( \count( $options ) - $leftOver ) / 3;}}
				{{if $leftOver >= 1}}
					{{$perCol1++;}}
				{{elseif $leftOver == 2}}
					{{$perCol2++;}}
				{{endif}}
				<div class='ipsPad ipsAreaBackground_reset'>
					<div class='ipsGrid ipsGrid_collapsePhone' data-ipsSideMenu data-ipsSideMenu-type='radio'>
						{template="menuManagerTypeColumn" group="applications" app="core" params="\array_slice( $options, 0, $perCol1 ), $elem->value, $elem->options['disabled'], $elem->options['toggles']"}
						{template="menuManagerTypeColumn" group="applications" app="core" params="\array_slice( $options, $perCol1, $perCol2 ), $elem->value, $elem->options['disabled'], $elem->options['toggles']"}
						{template="menuManagerTypeColumn" group="applications" app="core" params="\array_slice( $options, ( $perCol1 + $perCol2 ) ), $elem->value, $elem->options['disabled'], $elem->options['toggles']"}
					</div>
				</div>
			{{endif}}
			<div class='ipsFieldRow_section'>{lang="menu_configuration"}</div>
			<ul class='ipsList_reset ipsPad ipsAreaBackground_reset'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $inputName => $input}}
						{{if $inputName !== 'menu_manager_extension'}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
			</ul>
			<ul class="ipsPad ipsType_center ipsList_reset ipsClearfix ipsAreaBackground_light">
				{{foreach $actionButtons as $button}}
					<li>{$button|raw}</li>
				{{endforeach}}
			</ul>
		</form>
	</div>
</div>]]></template>
 <template template_group="applications" template_name="menuManagerTypeColumn" template_data="$items, $value, $disabled, $toggles" template_location="admin" template_app="core"><![CDATA[
<div class='ipsGrid_span4'>
	<ul class='ipsSideMenu_list ipsSideMenu_withRadios' role='radiogroup'>
		{{foreach $items as $k => $option}}
			<li {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}title="{lang="menu_manager_feature_disabled"}" data-ipsTooltip{{endif}}>
				<a href='#' class='ipsSideMenu_item {{if (string) $value == (string) $k}}ipsSideMenu_itemActive{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}ipsSideMenu_itemDisabled{{endif}}' data-ipsMenuValue='{$k}' id='elRadioType_{$k}'>
					<input type="radio" name="menu_manager_extension" value="{$k}" {{if (string) $value == (string) $k}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}" data-toggle-visibleCheck="#elRadioType_{$k}" {{endif}} id="elRadio_menu_manager_extension_{$k}">
					<label for='elMenuManagerExtension_{$k}'>{lang="$option"}</label>
				</a>
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="applications" template_name="menuPreviewWrapper" template_data="$html, $title=NULL" template_location="admin" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{expression="output.getTitle( $title )"}</title>
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""}
	</head>
	<body class="ipsApp ipsPad ipsClearfix ipsLayout_container" id='elMenuManagerPreview_body'>
		<div id="ipsLayout_header">
			{$html|raw}
		</div>
		<main>
			<div id="ipsLayout_contentArea">
				<div id="ipsLayout_contentWrapper">					
					<div id="ipsLayout_mainArea">
						<p class='ipsType_center ipsType_normal ipsType_light'>
							{lang="menu_manager_preview_note"}
						</p>
					</div>
				</div>
			</div>
		</main>
		{template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""}
		{expression="output.endBodyCode" raw="true"}
	</body>
</html>]]></template>
 <template template_group="applications" template_name="pluginVersionData" template_data="$plugin" template_location="admin" template_app="core"><![CDATA[<span class='ipsType_small ipsType_unbold ipsType_light'>{$plugin->version_human}</span>
<div class="ipsPos_right ipsTree_row_cells">
	<span class="ipsTree_row_cell">
        <span class="ipsType_issue"><i class="fa fa-exclamation-triangle"></i> {lang="custom"}</span>
	</span>
	&nbsp;
</div>]]></template>
 <template template_group="applications" template_name="schemaConflict" template_data="$name, $diff" template_location="admin" template_app="core"><![CDATA[
<p class="ipsMessage ipsMessage_error">{lang="database_conflict_message"}</p>

<div class="acpBlock">
	<div class="acpBlock_title">{lang="database_conflict_title"}</div>
	<table class="ipsTable diff">
		<tr>
			<th>{lang="database_conflict_schema"}</th>
			<th>{lang="database_conflict_local"}</th>
		</tr>
	</table>
	{$diff|raw}
	<div class="ipsAreaBackground_light ipsPad">
		<div class='ipsGrid'>
			<div class='ipsGrid_span6'>
				<a href='{url="app=core&module=applications&controller=developer&appKey="}{request="appKey"}&do=resolveSchemaConflicts&local=0&_name={$name}&csrfKey={expression="\IPS\Session::i()->csrfKey"}' class='ipsButton ipsButton_primary' data-delete-confirm="">{lang="database_conflict_choose"}</a>
			</div>
			<div class='ipsGrid_span6'>
				<a href='{url="app=core&module=applications&controller=developer&appKey="}{request="appKey"}&do=resolveSchemaConflicts&local=1&_name={$name}&csrfKey={expression="\IPS\Session::i()->csrfKey"}' class='ipsButton ipsButton_primary'>{lang="database_conflict_choose"}</a>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="applications" template_name="themeHookEditor" template_data="$bits, $hookData, $hookId, $template, $tabbedContent, $url" template_location="admin" template_app="core"><![CDATA[<section class='ipsPad_half ipsAreaBackground' id='elSkinHookEditor' data-controller='core.admin.system.themeHookEditor'>
	<div class="ipsColumns ipsColumns_collapsePhone">
		<div class="ipsColumn ipsColumn_wide" data-role="themeHookSidebar">
			<div class="cHookEditor_sidebar ipsSideMenu ipsScrollbar">
				<ul class="ipsSideMenu_list">
					{{foreach $bits as $k => $data}}
						<li class="ipsSideMenu_item {{if $template == $k}}ipsSideMenu_itemActive{{endif}}">
							<a class="{{if $template == $k}}cHookEditor_activeTemplate{{endif}}" href='{$url->setQueryString( 'do', 'editHook' )->setQueryString( 'template', $k )}' data-action="templateLink">
								{$k}
								{{if isset( $hookData[ $k ] ) AND \count( $hookData[ $k ] )}}
									<span class='ipsCommentCount ipsPos_right'>{expression="\count( $hookData[ $k ] )"}</span>
								{{endif}}
							</a>
						</li>
					{{endforeach}}
				</ul>
			</div>
		</div>
		<div class="ipsColumn ipsColumn_fluid" data-role="themeHookWindow">
			{{if $template }}
				<div class='cHookEditor_content' data-template='{$template}'>
					{$tabbedContent|raw}
				</div>
			{{else}}
				<div class="ipsType_center ipsType_large ipsEmpty" data-role="themeHookWindowPlaceholder">
					<i class="fa fa-cogs"></i>
				</div>
			{{endif}}
		</div>
	</div>
</section>]]></template>
 <template template_group="applications" template_name="themeHookEditorTree" template_data="$node" template_location="admin" template_app="core"><![CDATA[{{if $node->nodeType === XML_TEXT_NODE or $node->nodeType === XML_CDATA_SECTION_NODE}}
	{{if trim( $node->wholeText ) !== ''}}
		<li><span data-unselectable>{$node->wholeText}</span></li>
	{{endif}}
{{elseif $node->nodeType === XML_COMMENT_NODE}}
	<li><span data-unselectable>&lt;!-- ... --&gt;</span></li>
{{elseif $node->nodeName === 'if' or $node->nodeName === 'foreach' or $node->nodeName === 'for' or $node->nodeName === 'else'}}
	<li>
		<span data-unselectable>{\0{\0{$node->nodeName}{{if $node->nodeName !== 'else'}} {$node->attributes->getNamedItem('code')->nodeValue}{{endif}}\0}\0}</span>
		{{if $node->hasChildNodes()}}
			<ul>
				{{foreach $node->childNodes as $child}}
					{template="themeHookEditorTree" group="applications" params="$child"}
				{{endforeach}}
			</ul>
		{{endif}}
		<span data-unselectable>{\0{\0end{$node->nodeName}\0}\0}</span>
	</li>
{{else}}
	<li data-selector="{expression="\IPS\core\modules\admin\applications\plugins::getSelector( $node )"}">
		{{if $node->nodeName != 'ipscontent'}}
			<span data-selectable>&lt;{expression="preg_replace( '/^(x_)?([a-z]+)(_x)?$/i', '$2', $node->nodeName )"}{{if $node->hasAttributes()}}{{for $i = 0; $i < $node->attributes->length; ++$i}} {$node->attributes->item( $i )->nodeName}="{$node->attributes->item( $i )->nodeValue}"{{endfor}}{{endif}}&gt;</span>
		{{endif}}
		{{if $node->hasChildNodes()}}
			<ul>
				{{foreach $node->childNodes as $child}}
					{template="themeHookEditorTree" group="applications" params="$child"}
				{{endforeach}}
			</ul>
		{{endif}}
		{{if $node->nodeName != 'ipscontent'}}
			<span data-selectable>&lt;/{expression="preg_replace( '/^(x_)?([a-z]+)(_x)?$/i', '$2', $node->nodeName )"}&gt;</span>
		{{endif}}
	</li>
{{endif}}]]></template>
 <template template_group="applications" template_name="themeHookEditorTreeRoot" template_data="$tree" template_location="admin" template_app="core"><![CDATA[<div class='cHookEditor_tree'>
	<ul>
		{template="themeHookEditorTree" group="applications" params="$tree"}
	</ul>
</div>]]></template>
 <template template_group="applications" template_name="versionFormField" template_data="" template_location="admin" template_app="core"><![CDATA[<div class='ipsGrid ipsGrid_collapsePhone'>
	<div class='ipsGrid_span6'>
		<input type='text' name='app_versions[0]' id='app_version_human' required aria-required='true' placeholder="1.0.0" size="10">
		<br />
		<span class='ipsFieldRow_desc'>{lang="add_app_version_ph"}</span>
	</div>
	<div class='ipsGrid_span6'>
		<input type='text' name='app_versions[1]' id='app_version_long' required aria-required='true' placeholder="100000" size="8" maxlength="8">
		<br />
		<span class='ipsFieldRow_desc'>{lang="add_app_versionl_ph"}</span>
	</div>
</div>
]]></template>
 <template template_group="clubs" template_name="clubCard" template_data="$club, $approvalQueue=FALSE" template_location="front" template_app="core"><![CDATA[{{$coverPhoto = $club->coverPhoto( FALSE );}}
{{$memberStatus = $club->memberStatus( \IPS\Member::loggedIn() );}}

<div class="cClubCard {{if settings.clubs_require_approval and !$club->approved}}{{if $approvalQueue}}ipsBox{{else}}ipsModerated{{endif}}{{endif}}" {{if $approvalQueue}}id="elApprovePanel"{{endif}}>
	{{if \in_array( $memberStatus, array( $club::STATUS_MEMBER, $club::STATUS_MODERATOR, $club::STATUS_LEADER ) )}}
		<span class='ipsBadge ipsBadge_positive ipsBadge_icon ipsBadge_large cClubCard_status' data-ipsTooltip title="{lang="club_member"}"><i class='fa fa-check'></i></span>
	{{elseif \in_array( $memberStatus, array( $club::STATUS_EXPIRED, $club::STATUS_EXPIRED_MODERATOR ) )}}
		<span class='ipsBadge ipsBadge_intermediary ipsBadge_icon ipsBadge_large cClubCard_status' data-ipsTooltip title="{lang="club_expired"}"><i class='fa fa-exclamation-triangle'></i></span>
	{{elseif $memberStatus == $club::STATUS_INVITED or $memberStatus == $club::STATUS_INVITED_BYPASSING_PAYMENT}}
		<span class='ipsBadge ipsBadge_neutral ipsBadge_icon ipsBadge_large cClubCard_status' data-ipsTooltip title="{lang="club_invited"}"><i class='fa fa-envelope'></i></span>
	{{elseif $memberStatus == $club::STATUS_REQUESTED}}
		<span class='ipsBadge ipsBadge_intermediary ipsBadge_icon ipsBadge_large cClubCard_status' data-ipsTooltip title="{lang="club_requested_desc_short"}"><i class='fa fa-clock-o'></i></span>
	{{elseif $memberStatus == $club::STATUS_WAITING_PAYMENT}}
		<span class='ipsBadge ipsBadge_neutral ipsBadge_icon ipsBadge_large cClubCard_status' data-ipsTooltip title="{lang="club_awaiting_payment_title"}"><i class='fa fa-check'></i></span>
	{{endif}}

	<div class='ipsPageHead_special' data-controller='core.global.core.coverPhoto' data-url="{$club->url()->csrf()}" data-coverOffset='{$coverPhoto->offset}'>
		{{$cfObject = $coverPhoto->object;}}
		{{if $coverPhoto->file}}
			<div class='ipsCoverPhoto_container'>
				{{if settings.lazy_load_enabled}}
					<img src="{expression="\IPS\Text\Parser::blankImage()"}" data-src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' alt='{$club->name}'>
				{{else}}
					<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' alt='{$club->name}'>
				{{endif}}
			</div>
		{{elseif ! empty( $cfObject::$coverPhotoDefault )}}
			<div class='ipsCoverPhoto_container' style="background-color: {$coverPhoto->object->coverPhotoBackgroundColor()}">
				<img src='{resource="pattern.png" app="core" location="global"}' class='ipsCoverPhoto_photo' alt=''>
			</div>
		{{endif}}
		{template="clubIcon" group="clubs" app="core" params="$club, 'medium'"}
		<h2 class="ipsType_reset cClubCard_title ipsType_blendLinks">
			<span class='ipsPageHead_barText_small ipsTruncate ipsTruncate_line'>
				{{if !$approvalQueue and settings.clubs_require_approval and !$club->approved}}
					<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="club_unapproved"}'><i class='fa fa-eye-slash'></i></span>
				{{elseif $club->featured}}
					<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
				{{endif}}
				<a href='{$club->url()}' title="{$club->name}">{$club->name}</a>
			</span>
		</h2>
	</div>

	<p class='ipsType_reset ipsType_light ipsType_medium cClubCard_info'>
		{lang="club_{$club->type}"}
		{{if $club->type !== $club::TYPE_PUBLIC}}
			&nbsp;&middot;&nbsp;
			{lang="club_members_count" pluralize="$club->members"}
		{{endif}}
		{{if $club->last_activity}}
			&nbsp;&middot;&nbsp;
			{lang="club_last_activity"} {datetime="$club->last_activity"}
		{{endif}}
		{{if ( \in_array( $club->type, array( $club::TYPE_OPEN, $club::TYPE_CLOSED ) ) or \in_array( $memberStatus, array( $club::STATUS_MEMBER, $club::STATUS_MODERATOR, $club::STATUS_LEADER, $club::STATUS_INVITED, $club::STATUS_INVITED_BYPASSING_PAYMENT, $club::STATUS_REQUESTED, $club::STATUS_EXPIRED, $club::STATUS_EXPIRED_MODERATOR ) ) ) and $priceBlurb = $club->priceBlurb()}}
			<br>
			<span class="ipsType_medium">
				<span class="cClubPrice">{$priceBlurb}</span>
				{{if $club->isPaid() and $club->joiningFee() and \IPS\Member::loggedIn()->language()->checkKeyExists('nexus_tax_explain_val')}}
					<span class='cNexusPrice_tax ipsType_light'>{lang="nexus_tax_explain_val"}</span>
				{{endif}}
			</span>
		{{endif}}
	</p>

	<div class='ipsPad'>
		{{if $club->about}}
			<div class='ipsType_richText ipsType_medium' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='2 lines'>
				{$club->about}
			</div>
		{{else}}
			<div class='ipsType_light ipsType_medium'>
				<em>{lang="club_no_about"}</em>
			</div>
		{{endif}}

		{{if $club->type != $club::TYPE_PUBLIC}}
			{{if $club->canViewMembers() }}
				<hr class='ipsHr ipsHr_small'>
				<ul class='cClubCard_memberList ipsList_inline ipsList_noSpacing'>
					{{foreach $club->randomTenMembers() as $member}}
						<li>
							{template="userPhotoFromData" group="global" app="core" params="$member['core_members']['member_id'], $member['core_members']['name'], $member['core_members']['members_seo_name'], \IPS\Member::photoUrl( $member['core_members'] ), 'tiny'"}
						</li>
					{{endforeach}}
				</ul>
			{{endif}}

			{{if $club->canJoin()}}
				<hr class='ipsHr ipsHr_small'>
				<a class="ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth" href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and $memberStatus !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>{lang="club_join"}</a>
			{{endif}}
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="clubClientArea" template_data="$club" template_location="front" template_app="core"><![CDATA[<div class="ipsAreaBackground ipsPad">
	<div class="ipsBox">
		{template="clubCard" group="clubs" app="core" params="$club"}
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="clubIcon" template_data="$club, $size='medium', $classes=''" template_location="front" template_app="core"><![CDATA[
<a href='{$club->url()}' class='ipsUserPhoto ipsUserPhoto_{$size} cClubIcon {$classes}'>
	{{if $club->profile_photo}}
		<img src='{file="$club->profile_photo" extension="core_Clubs"}' alt='{$club->name}'>
	{{else}}
		<img src='{resource="default_club.png" app="core" location="global"}' alt='{$club->name}'>
	{{endif}}
</a>]]></template>
 <template template_group="clubs" template_name="clubLocationBox" template_data="$club, $location" template_location="front" template_app="core"><![CDATA[<div class="ipsWidget ipsWidget_vertical ipsBox">
	<h2 class='ipsWidget_title ipsType_reset'>{lang="club_location"}</h2>
	<div class='ipsWidget_inner ipsPad ipsPad_half ipsType_center'>
		{$location->map()->render( 500, 300 )|raw}
		<div class='ipsType_richText ipsType_center ipsType_medium ipsPad_half ipsType_blendLinks'>
			{$location}
		</div>
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="clubMemberBox" template_data="$club" template_location="front" template_app="core"><![CDATA[<div class="ipsWidget ipsWidget_vertical ipsBox">
	<h2 class='ipsWidget_title ipsType_reset'>{lang="club_members_count" pluralize="$club->members"}</h2>
	<div class='ipsWidget_inner'>
		<ol class='ipsDataList'>
			{{$membersToShow = $club->members( array('member', 'moderator', 'leader'), 15, "IF(core_clubs_memberships.status='leader' OR core_clubs_memberships.status='moderator',0,1), core_clubs_memberships.joined ASC", 1);}}
			{{foreach $membersToShow as $memberData}}
			{{$member = \IPS\Member::constructFromData( $memberData['core_members'] );}}
			<li class='ipsDataItem ipsClearfix'>
				<div class='ipsDataItem_icon ipsPos_top'>
					{template="userPhoto" app="core" group="global" params="$member, 'mini'"}
				</div>
				<div class='ipsDataItem_main'>
					<h3 class='ipsType_sectionHead ipsType_normal'>
						{template="userLinkFromData" group="global" app="core" params="$member->member_id, $member->name, $member->seo_name, $member->member_group_id"}
					</h3>

					{{if $memberData['core_clubs_memberships']['status'] == \IPS\Member\Club::STATUS_LEADER && ( $club->owner and $club->owner->member_id == $member->member_id ) }}
					<br><span class="ipsBadge ipsBadge_positive">{lang="club_owner"}</span>
					{{elseif $memberData['core_clubs_memberships']['status'] == \IPS\Member\Club::STATUS_LEADER}}
					<br><span class="ipsBadge ipsBadge_positive">{lang="club_leader"}</span>
					{{elseif \in_array( $memberData['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
					<br><span class="ipsBadge ipsBadge_intermediary">{lang="club_moderator"}</span>
					{{endif}}

					<p class='ipsType_reset ipsType_light ipsType_medium'>
						{lang="club_joined" sprintf="\IPS\DateTime::ts( $memberData['core_clubs_memberships']['joined'] )->relative( \IPS\DateTime::RELATIVE_FORMAT_LOWER )"}
					</p>
				</div>
			</li>
			{{endforeach}}
		</ol>
		{{if $club->members > \count( $membersToShow	)}}
		<div class='ipsType_center ipsType_medium ipsPad_half ipsType_blendLinks'>
			<a href='{$club->url()->setQueryString('do', 'members')}'>{lang="club_see_all_members"} <i class='fa fa-angle-right'></i></a>
		</div>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="clubRow" template_data="$club" template_location="front" template_app="core"><![CDATA[{{$memberStatus = $club->memberStatus( \IPS\Member::loggedIn() );}}
<li class="ipsDataItem {{if settings.clubs_require_approval and !$club->approved}}ipsModerated{{endif}}">
	<div class='ipsDataItem_icon'>
		{template="clubIcon" group="clubs" app="core" params="$club, 'tiny'"}
	</div>
	<div class='ipsDataItem_main'>
		<h4 class='ipsDataItem_title ipsContained_container'>
			{{if settings.clubs_require_approval and !$club->approved}}
				<span><span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="club_unapproved"}'><i class='fa fa-eye-slash'></i></span></span>
			{{else}}
				{{if $club->featured}}
					<span><span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
				{{endif}}
				{{if \in_array( $memberStatus, array( $club::STATUS_MEMBER, $club::STATUS_MODERATOR, $club::STATUS_LEADER ) )}}
					<span><span class='ipsBadge ipsBadge_positive ipsBadge_icon ipsBadge_small' data-ipsTooltip title="{lang="club_member"}"><i class='fa fa-check'></i></span></span>
				{{elseif \in_array( $memberStatus, array( $club::STATUS_EXPIRED, $club::STATUS_EXPIRED_MODERATOR ) )}}
					<span><span class='ipsBadge ipsBadge_intermediary ipsBadge_icon ipsBadge_small' data-ipsTooltip title="{lang="club_expired"}"><i class='fa fa-exclamation-triangle'></i></span></span>
				{{elseif $memberStatus == $club::STATUS_INVITED or $memberStatus == $club::STATUS_INVITED_BYPASSING_PAYMENT}}
					<span><span class='ipsBadge ipsBadge_neutral ipsBadge_icon ipsBadge_small' data-ipsTooltip title="{lang="club_invited"}"><i class='fa fa-envelope'></i></span></span>
				{{elseif $memberStatus == $club::STATUS_WAITING_PAYMENT}}
					<span><span class='ipsBadge ipsBadge_neutral ipsBadge_icon ipsBadge_small' data-ipsTooltip title="{lang="club_awaiting_payment_title"}"><i class='fa fa-check'></i></span></span>
				{{elseif $memberStatus == $club::STATUS_REQUESTED}}
					<span><span class='ipsBadge ipsBadge_intermediary ipsBadge_icon ipsBadge_small' data-ipsTooltip title="{lang="club_requested_desc_short"}"><i class='fa fa-clock-o'></i></span></span>
				{{endif}}
			{{endif}}
			<span class='ipsType_break ipsContained'>
				<a href='{$club->url()}' title="{$club->name}">{$club->name}</a>
			</span>
		</h4>
		<div class='ipsDataItem_meta ipsType_reset ipsType_light ipsType_blendLinks ipsType_break ipsContained' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='1 lines'>
			{$club->about}
		</div>
	</div>
	<ul class='ipsDataItem_stats'>
		<li>
			{lang="club_{$club->type}"}
		</li>
		{{if $club->type !== $club::TYPE_PUBLIC}}
			<li class="ipsType_light">
				{lang="club_members_count" pluralize="$club->members"}
			</li>
		{{endif}}
	</ul>
</li>]]></template>
 <template template_group="clubs" template_name="clubRules" template_data="$club" template_location="front" template_app="core"><![CDATA[
{{if ! \IPS\Request::i()->isAjax()}}
	{{if \IPS\Settings::i()->clubs_header != 'sidebar'}}
		{template="header" group="clubs" app="core" params="$club"}
	{{endif}}

	<h1 class='ipsType_pageTitle'>{lang="club_rules"}</h1>
	<br>
{{endif}}

<div id='elClubContainer'>
	<div class='ipsBox ipsPad'>
		<div class='ipsType_normal ipsType_richText ipsContained'>
			{$club->rules|raw}
		</div>
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="clubTypesBar" template_data="$percentages, $rawCounts" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsAreaBackground_light">
	<h2 class='ipsType_sectionHead'>{lang="stats_club_types"}</h2>
	<div class='acpStatsBar ipsSpacer_bottom'>
		{{foreach $percentages as $type => $percent}}
			<div class='acpStatsBar_segment' style='width: {$percent}%;' title='{lang="club_type_{$type}"}: {number="$rawCounts[ $type ]"}' data-ipsTooltip-label='{lang="club_type_{$type}"}: {number="$rawCounts[ $type ]"}' data-ipsTooltip data-ipsTooltip-safe></div>
		{{endforeach}}
	</div>
	<ul class='ipsList_inline'>
		{{foreach $percentages as $type => $percent}}
			<li class='acpStatsBar_legend'>
				<span class='acpStatsBar_preview'></span>
				{lang="club_type_{$type}"}
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="clubs" template_name="coverPhotoOverlay" template_data="$club, $position='full'" template_location="front" template_app="core"><![CDATA[
{{if $position == 'full'}}
	<div class='ipsColumns ipsColumns_collapsePhone'>
		<div class='ipsColumn ipsColumn_fixed ipsColumn_narrow ipsPos_center'>
			{template="clubIcon" group="clubs" app="core" params="$club, 'medium', 'ipsResponsive_hidePhone'"}
			{{if $club->isLeader()}}
				<a href='{$club->url()->setQueryString( 'do', 'editPhoto' )}' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow' data-action='editPhoto' data-ipsDialog data-ipsDialog-forceReload='true' data-ipsDialog-modal='true' data-ipsDialog-title='{lang="club_profile_photo"}' title='{lang="club_profile_photo"}' data-ipsTooltip><i class='fa fa-photo'></i></a>
			{{endif}}
		</div>
		<div class='ipsColumn ipsColumn_fluid cClubHeaderInfo ipsTruncate'>
			<h2 class='ipsType_pageTitle ipsType_blendLinks ipsPageHead_barText'>
				{{if settings.clubs_require_approval and !$club->approved}}
					<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="club_unapproved"}'><i class='fa fa-eye-slash'></i></span>
				{{elseif $club->featured}}
					<span class="ipsBadge ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
				{{endif}}
				<a href='{$club->url()}' title='{$club->name}'>{$club->name}</a>
			</h2>
			<br>
			<p class='ipsType_reset ipsType_normal ipsPageHead_barText_small'>
				{lang="club_{$club->type}"}
				{{if $club->type !== $club::TYPE_PUBLIC}}
					&nbsp;&middot;&nbsp;
					{lang="club_members_count" pluralize="$club->members"}
				{{endif}}
				{{if $club->isLeader() and $club->type === $club::TYPE_CLOSED and $pendingMembers = $club->members( array( $club::STATUS_REQUESTED ), NULL, NULL, 4 )}}
					&nbsp;&middot;&nbsp;
					<a href='{$club->url()->setQueryString('do', 'members')->setQueryString('filter', 'requested')->setQueryString('filter', 'requested')}' class='ipsType_issue'><i class='fa fa-info-circle'></i> &nbsp;{lang="club_pending_members" pluralize="$pendingMembers"}</a>
				{{endif}}
				{{if $club->rules}}
					&nbsp;&middot;&nbsp;
					<a href='{$club->url()->setQueryString('do', 'rules')}' data-ipsDialog data-ipsDialog-title='{lang="club_rules"}'>{lang="club_rules"}</a>
				{{endif}}
				{{if ( \in_array( $club->type, array( $club::TYPE_OPEN, $club::TYPE_CLOSED ) ) or ( $memberStatus = $club->memberStatus( \IPS\Member::loggedIn() ) and \in_array( $memberStatus, array( $club::STATUS_MEMBER, $club::STATUS_MODERATOR, $club::STATUS_LEADER, $club::STATUS_INVITED, $club::STATUS_INVITED_BYPASSING_PAYMENT, $club::STATUS_REQUESTED, $club::STATUS_EXPIRED, $club::STATUS_EXPIRED_MODERATOR ) ) ) ) and $priceBlurb = $club->priceBlurb()}}
					&nbsp;&middot;&nbsp;
					<span class="ipsType_medium">{$priceBlurb}</span>
					{{if $club->isPaid() and $club->joiningFee() and \IPS\Member::loggedIn()->language()->checkKeyExists('nexus_tax_explain_val')}}
						<span class="ipsType_small">{lang="nexus_tax_explain_val"}</span>
					{{endif}}
				{{endif}}
			</p>
		</div>
	</div>
{{else}}
	<div class='ipsPos_center ipsType_center'>
		{template="clubIcon" group="clubs" app="core" params="$club, 'large'"}
	</div>
{{endif}}]]></template>
 <template template_group="clubs" template_name="create" template_data="$form" template_location="front" template_app="core"><![CDATA[
{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->get('create_club')"}
<div class='ipsBox ipsPad'>
	{$form|raw}
</div>]]></template>
 <template template_group="clubs" template_name="directory" template_data="$featuredClubs, $allClubs, $pagination, $baseUrl, $sortOption, $myClubsActivity, $mapMarkers=NULL, $view='grid', $mineOnly=FALSE" template_location="front" template_app="core"><![CDATA[
<div class='ipsPageHeader ipsClearfix ipsMargin_bottom'>
	{{if settings.clubs_allow_view_change AND member.member_id}}
		<div class="ipsPos_right">
			<ul class="ipsButton_split">
				<li>
					<a href="{url="app=core&module=clubs&controller=directory&view=grid" seoTemplate="clubs_list" csrf="true"}" class="ipsButton {{if $view == 'grid'}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}} ipsButton_narrow ipsButton_small" data-ipsTooltip title="{lang="club_view_grid"}" rel="nofollow">
						<i class="fa fa-th-large"></i>
					</a>
				</li>
				<li>
					<a href="{url="app=core&module=clubs&controller=directory&view=list" seoTemplate="clubs_list" csrf="true"}" class="ipsButton {{if $view == 'list'}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}} ipsButton_narrow ipsButton_small" data-ipsTooltip title="{lang="club_view_list"}" rel="nofollow">
						<i class="fa fa-align-justify"></i>
					</a>
				</li>			
			</ul>
		</div>
	{{endif}}
	<h1 class='ipsType_pageTitle'>{lang="club_directory"}</h1>
</div>

{{if \count( $featuredClubs )}}
	<div class="ipsBox ipsMargin_bottom">
		<h2 class="ipsType_sectionTitle ipsType_reset">{lang="featured_clubs"}</h2>
		{{if $view == 'grid'}}
			<div class="ipsAreaBackground_reset ipsPadding">
				<ul class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='500' data-ipsGrid-maxItemSize='600' data-ipsGrid-equalHeights='row'>
					{{foreach $featuredClubs as $club}}
						<li class='ipsGrid_span6 ipsBox ipsBox--child'>{template="clubCard" group="clubs" app="core" params="$club"}</li>
					{{endforeach}}
				</ul>
			</div>
		{{else}}
			<ol class="ipsDataList ipsDataList_zebra ipsAreaBackground_reset">
				{{foreach $featuredClubs as $club}}
					{template="clubRow" group="clubs" app="core" params="$club"}
				{{endforeach}}
			</ol>
		{{endif}}
	</div>
{{endif}}

{{if $mapMarkers !== NULL && settings.clubs_locations}}
	<div class='ipsBox ipsMargin_bottom'>
		<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="club_find_by_location"}</h2>
		<div class='ipsPad_half'>
			<div data-ipsMap data-ipsMap-markers="{expression="json_encode( $mapMarkers )"}" data-ipsMap-contentUrl="{url="app=core&module=clubs&controller=view&do=mapPopup&id="}" class="ipsMap ipsMap_small ipsJS_show"></div>
		</div>
	</div>
{{endif}}

<div class="ipsBox ipsMargin_bottom">
	<h2 class="ipsType_sectionTitle ipsType_reset">{{if $mineOnly}}{lang="my_clubs"}{{else}}{lang="all_clubs"}{{endif}}</h2>
	{{if \count( $allClubs )}}
		<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a href="#elSortByMenu_menu" id="elSortByMenu" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
				</li>
				{{if member.member_id or \IPS\Member\Club\CustomField::areFilterableFields() or ( \IPS\Application::appIsEnabled( 'nexus' ) and settings.clubs_paid_on )}}
					<li>
						<a href="{$baseUrl->setQueryString( 'do', 'filters' )}" data-ipsDialog data-ipsDialog-title="{lang="filter"}">{lang="filter"}</a>
					</li>
				{{endif}}
			</ul>
			{$pagination|raw}
			<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_menu">
				{{foreach array('last_activity', 'members', 'content', 'created', 'name') as $k}}
					<li class="ipsMenu_item {{if $k == $sortOption}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$k}">
						<a href="{url="app=core&module=clubs&controller=directory&sort={$k}" seoTemplate="clubs_list"}">{lang="clubs_sort_{$k}"}</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		{{if $view == 'grid'}}
			<div class="ipsAreaBackground_reset ipsPadding">
				<ul class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='500' data-ipsGrid-maxItemSize='600' data-ipsGrid-equalHeights='row'>
					{{foreach $allClubs as $club}}
						<li class='ipsGrid_span6 ipsBox ipsBox--child'>{template="clubCard" group="clubs" app="core" params="$club"}</li>
					{{endforeach}}
				</ul>
			</div>
		{{else}}
			<ol class="ipsDataList ipsDataList_zebra ipsAreaBackground_reset">
				{{foreach $allClubs as $club}}
					{template="clubRow" group="clubs" app="core" params="$club"}
				{{endforeach}}
			</ol>
		{{endif}}
		{{if trim( $pagination )}}
			<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
				{$pagination|raw}
			</div>
		{{endif}}
	{{else}}
		<div class="ipsType_reset ipsType_large ipsType_center ipsPadding">
			{lang="all_clubs_empty"}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="clubs" template_name="disabled" template_data="$availableTypes" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox ipsPad'>
	<p class="ipsType_large">{lang="clubs_enable_blurb_1" sprintf="$availableTypes"}</p>
	<p class="ipsType_large">{lang="clubs_enable_blurb_2"}</p>
	<p class="ipsType_large">{lang="clubs_enable_blurb_3"}</p>
	<br>
	<a href="{url="app=core&module=clubs&controller=clubs&do=enable" csrf="true"}" class="ipsButton ipsButton_positive">{lang="enable"}</a>
</div>]]></template>
 <template template_group="clubs" template_name="embedClub" template_data="$club" template_location="front" template_app="core"><![CDATA[{{$coverPhoto = $club->coverPhoto( FALSE );}}
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed cClubEmbed'>
	<div class='ipsRichEmbed_header ipsAreaBackground_light ipsClearfix'>
		<a href='{$club->url()}' class='ipsRichEmbed_openItem'><i class='fa fa-external-link-square'></i></a>
		<div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsType_blendLinks'>
			{template="userPhoto" app="core" group="global" params="$club->owner, 'tiny'"}
			<div>
				<p class='ipsRichEmbed_title ipsType_reset ipsTruncate ipsTruncate_line'>
					<a href='{$club->url()}'>{lang="club_embed_created_line" sprintf="$club->owner->name"}</a>
				</p>
				<p class='ipsRichEmbed_author ipsType_reset ipsType_light ipsTruncate ipsTruncate_line'>
					<a href='{$club->url()}'>{datetime="$club->created"}</a>
				</p>
			</div>
		</div>
	</div>
	<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center cClubEmbedHeader{{if !$coverPhoto->file}} cClubEmbedHeaderNoPhoto{{endif}}'>
		{{if $coverPhoto->file}}
			<span style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $coverPhoto->file->url )"}" )'>
				{template="clubIcon" group="clubs" app="core" params="$club, 'medium'"}
			</span>
		{{else}}
			<span>{template="clubIcon" group="clubs" app="core" params="$club, 'medium'"}</span>
		{{endif}}
	</div>
	<div class='ipsPadding:half ipsClearfix'>
		<p class='ipsRichEmbed_itemTitle ipsType_reset ipsTruncate ipsTruncate_line ipsType_blendLinks'>
			<a href='{$club->url()}'>{$club->name}</a>
		</p>
		<p class='ipsType_reset ipsType_light ipsType_medium'>
			{lang="club_{$club->type}"}&nbsp;&middot;&nbsp;{lang="club_members_count" pluralize="$club->members"}{{if $club->last_activity}}&nbsp;&middot;&nbsp;{lang="club_last_activity"} {datetime="$club->last_activity"}{{endif}}
		</p>
		{{if $desc = $club->about}}
			<div class='ipsType_richText ipsType_medium ipsSpacer_top ipsSpacer_half' data-truncate='3'>
				{$desc}
			</div>
		{{endif}}

		{{if $club->type != $club::TYPE_PUBLIC}}
			{{if $club->canJoin()}}
				<hr class='ipsHr ipsHr_small'>
				<a class="ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth" href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and $club->memberStatus( \IPS\Member::loggedIn() ) !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>{lang="club_join"}</a>
			{{endif}}
			{{if $club->canViewMembers() }}
				<hr class='ipsHr ipsHr_small'>
				<ul class='cClubCard_memberList ipsList_inline ipsList_noSpacing ipsMargin_top:half'>
					{{foreach $club->randomTenMembers() as $member}}
						<li>
							{template="userPhotoFromData" group="global" app="core" params="$member['core_members']['member_id'], $member['core_members']['name'], $member['core_members']['members_seo_name'], \IPS\Member::photoUrl( $member['core_members'] ), 'tiny'"}
						</li>
					{{endforeach}}
				</ul>
			{{endif}}
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="header" template_data="$club, $container=NULL, $position='full', $page=NULL" template_location="front" template_app="core"><![CDATA[
{{\IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'styles/clubs.css', 'core', 'front' ) );}}
{{if theme.responsive}}
	{{\IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'styles/clubs_responsive.css', 'core', 'front' ) );}}
{{endif}}

{{$memberStatus = $club->memberStatus( \IPS\Member::loggedIn() );}}

{{if $position == 'full'}}
	<!-- FULL CLUB HEADER -->
	<div id="elClubHeader" class='cClubHeader ipsSpacer_bottom ipsSpacer_double'>
		{$club->coverPhoto(TRUE, 'full')|raw}

		<div id='elClubControls'>

			<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsFlex-fw:wrap-reverse ipsGap:2'>
				<div class='cClubControls__tabs ipsFlex-flex:11'>
					<div class='ipsTabs ipsClearfix ipsJS_show' id='tabs_club' data-ipsTabBar data-ipsTabBar-disableNav data-controller="core.front.clubs.navbar" data-clubID="{$club->id}">
						<a href='#tabs_club' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
						<ul role='tablist'>
							{{foreach $club->tabs( $container ) as $id => $tab}}
								<li data-tab="{$id}">
									<a href="{$tab['href']}" class="ipsTabs_item {{if isset( $tab['isActive'] ) AND $tab['isActive']}} ipsTabs_activeItem{{endif}}"> {$tab['title']}</a>
								</li>
							{{endforeach}}
						</ul>
					</div>
					<div id='elClubTabs_tab_content' class='ipsTabs_panels ipsHide'>
						{{foreach $club->tabs( $container ) as $id => $tab}}
							<div id="ipsTabs_tabs_club_elClubTabs_tab_tab_{$id}_panel" class="ipsTabs_panel" aria-hidden="false"></div>
						{{endforeach}}
					</div>
				</div>
				<div class='cClubControls__moderate ipsFlex ipsFlex-flex:00'>
					<a href="#" data-action="saveClubmenu" class="ipsHide ipsButton ipsButton_verySmall ipsButton_positive ipsFlex-flex:00 ipsMargin_right:half">{lang="save"}</a>
					<ul class='ipsButton_split ipsFlex-flex:00'>
						{{if $club->isLeader() || ( $club->owner and $club->owner->member_id == \IPS\Member::loggedIn()->member_id ) or member.modPermission('can_access_all_clubs')}}
							<li>
								<a class="ipsButton ipsButton_verySmall ipsButton_light" href="#" id='elClubFeatures' data-ipsMenu>{lang="club_manage"} <i class='fa fa-caret-down'></i></a>
							</li>
						{{endif}}
						{{if $club->type !== \IPS\Member\Club::TYPE_PUBLIC}}
							{{if $memberStatus === \IPS\Member\Club::STATUS_BANNED}}
								<li>
									<span class="ipsButton ipsButton_verySmall ipsButton_link ipsButton_disabled" data-ipsTooltip title="{lang="club_banned_desc_short"}"><i class='fa fa-times'></i> {lang="club_banned_title"}</span>
								</li>
							{{elseif \in_array( $memberStatus, array( \IPS\Member\Club::STATUS_MEMBER, \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_LEADER, \IPS\Member\Club::STATUS_EXPIRED, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR, \IPS\Member\Club::STATUS_WAITING_PAYMENT ) )}}
								{{if $memberStatus === \IPS\Member\Club::STATUS_WAITING_PAYMENT}}
									<li>
										<a class="ipsButton ipsButton_verySmall ipsButton_light" href="{$club->url()->setQueryString('do', 'join')->csrf()}">{lang="club_pay_membership_fee"}</a>
									</li>
								{{endif}}
								{{if \in_array( $memberStatus, array( \IPS\Member\Club::STATUS_EXPIRED, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
									<li>
										<a class="ipsButton ipsButton_verySmall ipsButton_light" href="{$club->url()->setQueryString('do', 'renew')->csrf()}">{lang="club_renew_membership"}</a>
									</li>
								{{endif}}
								{{if !$club->owner or $club->owner->member_id != \IPS\Member::loggedIn()->member_id}}
									<li>
										<a class="ipsButton ipsButton_verySmall ipsButton_light" href="{$club->url()->setQueryString('do', 'leave')->csrf()}" data-confirm {{if $club->isPaid()}}data-confirmSubMessage="{lang="club_leave_paid_warning"}"{{endif}}>{lang="club_leave"}</a>
									</li>
								{{endif}}
							{{elseif $club->canJoin() AND request.do != 'rules'}}
								<li>
									{{if $club->isPaid()}}
										<a class="ipsButton ipsButton_verySmall ipsButton_light" href="{$club->url()->setQueryString('do', 'join')->csrf()->addRef( \IPS\Request::i()->url() ) }" {{if $memberStatus !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>{lang="club_join"}</a>
									{{else}}
										<a class="ipsButton ipsButton_verySmall ipsButton_light" href="{$club->url()->setQueryString('do', 'join')->csrf()->addRef( \IPS\Request::i()->url() ) }">{lang="club_join"}</a>
									{{endif}}
								</li>
							{{elseif !$club->canRead()}}
								{{if $memberStatus === \IPS\Member\Club::STATUS_REQUESTED}}
									<li>
										<a class="ipsButton ipsButton_verySmall ipsButton_link" href="{$club->url()->setQueryString('do', 'cancelJoin')->csrf()}"><i class='fa fa-times'></i> {lang="club_cancel_request"}</a>
									</li>
								{{elseif $memberStatus === \IPS\Member\Club::STATUS_DECLINED}}
									<li>
										<span class="ipsButton ipsButton_verySmall ipsButton_link ipsButton_disabled" data-ipsTooltip title="{lang="club_denied_desc_short"}"><i class='fa fa-times'></i> {lang="club_denied_title"}</span>
									</li>
								{{endif}}
							{{endif}}
						{{endif}}
					</ul>
				</div>
			</div>
		</div>
		{template="clubIcon" group="clubs" app="core" params="$club, 'medium', 'ipsResponsive_showPhone ipsResponsive_inlineBlock'"}
	</div>

{{else}}
	<!-- SIDEBAR CLUB HEADER -->
	<div id="elClubHeader_small" class='cClubHeader ipsBox'>
		{$club->coverPhoto(TRUE, 'sidebar')|raw}
		<div class='ipsPad' data-controller="core.front.clubs.navbar" data-clubID="{$club->id}">
			<p class='ipsType_minorHeading ipsType_center ipsType_reset'>{lang="club_currently_viewing"}</p>
			<h1 class='ipsType_pageTitle ipsTruncate ipsTruncate_line ipsType_center'>
				{{if settings.clubs_require_approval and !$club->approved}}
					<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="club_unapproved"}'><i class='fa fa-eye-slash'></i></span>
				{{elseif $club->featured}}
					<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
				{{endif}}
				<a href='{$club->url()}'>{$club->name}</a>
			</h1>
			<p class='ipsType_reset ipsType_medium ipsType_center'>
				{lang="club_{$club->type}"}
				{{if $club->type !== $club::TYPE_PUBLIC}}
				&nbsp;&middot;&nbsp;
				{lang="club_members_count" pluralize="$club->members"}
				{{endif}}
				{{if $club->isLeader() and $club->type === $club::TYPE_CLOSED and $pendingMembers = $club->members( array( $club::STATUS_REQUESTED ), NULL, NULL, 4 )}}
					<br>
					<a href='{$club->url()->setQueryString('do', 'members')->setQueryString('filter', 'requested')->setQueryString('filter', 'requested')}' class='ipsType_issue'><i class='fa fa-info-circle'></i> &nbsp;{lang="club_pending_members" pluralize="$pendingMembers"}</span>
				{{endif}}
			</p>

			{{if $club->type !== \IPS\Member\Club::TYPE_PUBLIC and $club->type !== $club::TYPE_READONLY and $club->canJoin()}}
				<hr class='ipsHr ipsHr_small'>
				<a class="ipsButton ipsButton_verySmall ipsButton_primary ipsButton_fullWidth" href="{$club->url()->setQueryString('do', 'join')->csrf()->addRef( \IPS\Request::i()->url() ) }" {{if $club->isPaid() and $memberStatus !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>{lang="club_join"}</a>
			{{endif}}

			{{if $club->isLeader() || ( $club->owner and $club->owner->member_id == \IPS\Member::loggedIn()->member_id ) or member.modPermission('can_access_all_clubs')}}
				<hr class='ipsHr ipsHr_small'>
				<a class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth" href="#" id='elClubFeatures' data-ipsMenu>{lang="club_manage"} <i class='fa fa-caret-down'></i></a>
			{{endif}}
			<a href="#" data-action="saveClubmenu" class="ipsButton ipsButton_verySmall ipsButton_fullWidth ipsHide ipsButton_fullWidth ipsButton_positive ipsSpacer_top ipsSpacer_half">{lang="save"}</a>

			<hr class='ipsHr ipsHr_small'>
			<div class='ipsSideMenu'>
				<ul class='ipsSideMenu_list'>
						{{foreach $club->tabs( $container ) as $id => $tab}}
							<li data-tab="{$id}">
								<a href="{$tab['href']}" class="ipsSideMenu_item {{if isset( $tab['isActive'] ) AND $tab['isActive']}}ipsSideMenu_itemActive{{endif}}" role="tab"> {$tab['title']}</a>
							</li>
						{{endforeach}}
				</ul>
			</div>
			
			<div class='ipsResponsive_hideTablet ipsResponsive_hideDesktop'>
				<a href='#elBrowseClub_menu' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth' id='elBrowseClub' data-ipsMenu>{lang="browse_club"} <i class='fa fa-caret-down'></i></a>
				
				<ul id='elBrowseClub_menu' class='ipsMenu ipsMenu_auto ipsHide'>
					<li class='ipsMenu_title'>{lang="browse_club"}</li>
					{{foreach $club->tabs( $container ) as $id => $tab}}
					<li class="ipsMenu_item"><a href="{$tab['href']}"> {$tab['title']}</a></li>
					{{endforeach}}
				</ul>
			</div>
				

			{{if $club->type !== $club::TYPE_PUBLIC and \in_array( $memberStatus, array( \IPS\Member\Club::STATUS_MEMBER, \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_LEADER, \IPS\Member\Club::STATUS_EXPIRED,  \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) ) and ( !$club->owner or $club->owner->member_id != \IPS\Member::loggedIn()->member_id )}}
				<hr class='ipsHr ipsHr_small'>
				<p class='ipsType_reset ipsType_right ipsType_small ipsType_blendLinks ipsType_light'>
					<a href="{$club->url()->setQueryString('do', 'leave')->csrf()}" data-confirm {{if $club->isPaid()}}data-confirmSubMessage="{lang="club_leave_paid_warning"}"{{endif}}>{lang="club_leave"}</a>
				</p>
			{{elseif !$club->canRead()}}
				{{if $memberStatus === \IPS\Member\Club::STATUS_REQUESTED}}
					<hr class='ipsHr ipsHr_small'>
					<p class='ipsType_reset ipsType_medium ipsType_center'>
						<span class="ipsButton ipsButton_verySmall ipsButton_link ipsButton_disabled" data-ipsTooltip title="{lang="club_requested_desc_short"}"><i class='fa fa-clock-o'></i> {lang="club_requested_title"}</span>
					</p>
				{{elseif $memberStatus === \IPS\Member\Club::STATUS_DECLINED}}
					<hr class='ipsHr ipsHr_small'>
					<p class='ipsType_reset'>
						<span class="ipsButton ipsButton_verySmall ipsButton_link ipsButton_disabled" data-ipsTooltip title="{lang="club_denied_desc_short"}"><i class='fa fa-times'></i> {lang="club_denied_title"}</span>
					</p>
				{{endif}}
			{{endif}}
		</div>
	</div>
{{endif}}

{{if $club->isLeader() || ( $club->owner and $club->owner->member_id == \IPS\Member::loggedIn()->member_id ) or member.modPermission('can_access_all_clubs')}}
	<ul class='ipsMenu ipsMenu_auto ipsHide' id='elClubFeatures_menu'>
		{{if !settings.clubs_require_approval or $club->approved}}
			{{if $club->isLeader() and $nodeTypes = \IPS\Member\Club::availableNodeTypes( \IPS\Member::loggedIn() )}}
				<li class='ipsMenu_title'>{lang="club_create_node"}</li>
				{{foreach $nodeTypes as $nodeType}}
					<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'nodeForm', 'type' => $nodeType ) )}" data-ipsDialog data-ipsDialog-title="{lang="club_create_node"}">{lang="{$nodeType::clubFrontTitle()}"}</a></li>
				{{endforeach}}
			{{endif}}
			{{if ( $club->owner and $club->owner->member_id == \IPS\Member::loggedIn()->member_id ) or member.modPermission('can_access_all_clubs') or member.modPermission('can_manage_featured_clubs')}}
				<li class='ipsMenu_sep'><hr class='ipsHr'></li>
			{{endif}}
		{{endif}}
		{{if ( $club->owner and $club->owner->member_id == \IPS\Member::loggedIn()->member_id ) or member.modPermission('can_access_all_clubs')}}
			<li class='ipsMenu_item'>
				<a href="{$club->url()->setQueryString('do', 'edit')}" data-ipsDialog data-ipsDialog-title="{lang="club_edit_settings"}">{lang="club_edit_settings"}</a>
			</li>
		{{endif}}
		{{if member.modPermission('can_manage_featured_clubs')}}
			<li class='ipsMenu_item'>
				{{if $club->featured}}
					<a href="{$club->url()->setQueryString('do', 'unfeature')->csrf()}" data-confirm>{lang="club_unfeature"}</a>
				{{else}}
					<a href="{$club->url()->setQueryString('do', 'feature')->csrf()}" data-confirm>{lang="club_feature"}</a>
				{{endif}}
			</li>
		{{endif}}
		{{if $club->canInvite()}}
			<li class='ipsMenu_item'>
				<a href="{$club->url()->setQueryString( 'do', 'invite' )}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title="{lang="club_invite_members"}">{lang="club_invite_members"}</a>
			</li>
		{{endif}}
		{{if $club->canManageNavigation() AND \count( $club->tabs( $container ) ) > 1 }}
			<li class='ipsMenu_item ipsJS_show ipsResponsive_hidePhone'>
				<a href="#" data-action="reorderClubmenu">{lang="reorder_club_menu"}</a>
			</li>
		{{endif}}
		{{if \IPS\Member\Club\Page::canAdd( $club )}}
			<li class='ipsMenu_item'>
				<a href="{$club->url()->setQuerystring( 'do', 'addPage' )}" data-ipsDialog data-ipsDialog-title='{lang="add_page_to_club" sprintf="$club->name"}'>{lang="club_add_page"}</a>
			</li>
		{{endif}}
        {{if $page}}
            {{if $page->canEdit()}}
                <li class='ipsMenu_item'><a href='{$page->url('edit')}' data-ipsDialog data-ipsDialog-title='{lang="edit"}'>{lang="edit_page"}</a></li>
            {{endif}}
            {{if $page->canDelete()}}
                <li class='ipsMenu_item'><a href='{$page->url('delete')->csrf()}' data-confirm>{lang="delete_page"}</a></li>
            {{endif}}
        {{endif}}
		{{if $container and $club->isLeader()}}
			<li class='ipsMenu_sep'><hr class='ipsHr'></li>
			<li class='ipsMenu_item'>
				<a href="{$club->url()->setQueryString( array( 'do' => 'nodeForm', 'type' => \get_class( $container ), 'node' => $container->_id ) )}" data-ipsDialog data-ipsDialog-title="{$container->_title}">{lang="clubs_edit_this_container" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $container::$nodeTitle . '_sg' )"}</a>
			</li>
			{{if isset( $container::$contentItemClass ) and $itemClass = $container::$contentItemClass and ( $container->modPermission( 'delete', \IPS\Member::loggedIn(), $itemClass ) or !$itemClass::contentCount( $container, TRUE, TRUE, TRUE, 1 ) )}}
				<li class='ipsMenu_item'>
					<a href="{$club->url()->setQueryString( array( 'do' => 'nodeDelete', 'type' => \get_class( $container ), 'node' => $container->_id ) )->csrf()}" data-confirm data-confirmSubMessage="{lang="clubs_delete_container_confirm"}">{lang="clubs_delete_this_container" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $container::$nodeTitle . '_sg' )"}</a>
				</li>
			{{endif}}
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="clubs" template_name="mapPopup" template_data="$club" template_location="front" template_app="core"><![CDATA[<div class='ipsPhotoPanel ipsPhotoPanel_mini'>
	{template="clubIcon" group="clubs" app="core" params="$club, 'mini'"}
	<div class='ipsPad_half'>
		<h3 class='ipsType_sectionHead ipsType_large ipsType_blendLinks'>
			<a href='{$club->url()}'>{$club->name}</a>
		</h3>
		<p class='ipsType_reset ipsType_light'>
			{lang="club_{$club->type}"}
			&nbsp;&middot;&nbsp;
			{lang="club_members_count" pluralize="$club->members"}
		</p>
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="members" template_data="$value, $link" template_location="admin" template_app="core"><![CDATA[<a href="{$link}" target="_blank" rel="noopener">{$value}</a>]]></template>
 <template template_group="clubs" template_name="members" template_data="$club, $members, $pagination, $sortBy, $filter, $clubStaff" template_location="front" template_app="core"><![CDATA[
{{if \IPS\Settings::i()->clubs_header != 'sidebar'}}
	{template="header" group="clubs" app="core" params="$club"}
{{endif}}

<div class="ipsPageHeader ipsClearfix ipsSpacer_bottom">
	<h1 class="ipsType_pageTitle">{lang="members"}</h1>
</div>

{{$memberStatus = $club->memberStatus( \IPS\Member::loggedIn(), 2 );}}
{template="nonMemberClubStatus" group="clubs" app="core" params="$club, $memberStatus"}

{{if $club->canInvite()}}
	<ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both">
		<li class="ipsToolList_primaryAction">
			<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{$club->url()->setQueryString( 'do', 'invite' )}" data-ipsDialog data-ipsDialog-title="{lang="club_invite_members"}" rel='nofollow noindex'>{lang="club_invite_members"}</a>
		</li>
	</ul>
{{endif}}

<div class='ipsBox ipsSpacer_bottom'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="club_leaders"}</h2>
	{template="membersRows" group="clubs" params="$club, $clubStaff"}
</div>


<div class='ipsBox'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="club_all_members"}</h2>
	<div data-baseurl='{$club->url()->setQueryString('do', 'members')}' data-controller='core.global.core.table'>
		<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a href="#elSortByMenu_menu" id="elSortByMenu" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_menu">
						<li class="ipsMenu_item {{if $sortBy == 'joined'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="joined"><a href="{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => $filter, 'sortby' => 'joined' ) )->setPage( 'page', 1 )}">{lang="newest"}</a></li>
						<li class="ipsMenu_item {{if $sortBy == 'name'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="name"><a href="{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => $filter, 'sortby' => 'name' ) )->setPage( 'page', 1 )}">{lang="username"}</a></li>
					</ul>
				</li>
				<li>
					<a href="#elFilterByMenu_menu" data-role="tableFilterMenu" id="elFilterByMenu" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => NULL, 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>
								{{if $club->isPaid() and $club->renewal_price}}
									{lang="club_active_members"}
								{{else}}
									{lang="club_members"}
								{{endif}}
							</a>
						</li>
						{{if $club->isLeader() and $club->isPaid() and $club->renewal_price}}
							<li data-action="tableFilter" data-ipsMenuValue='expired' class='ipsMenu_item {{if $filter == 'expired'}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'expired', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_expired_members"}</a>
							</li>
						{{endif}}
						<li data-action="tableFilter" data-ipsMenuValue='leader' class='ipsMenu_item {{if $filter == 'leader'}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'leader', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_leaders_and_moderators"}</a>
						</li>
						{{if $club->isLeader()}}
							{{if $club->type === $club::TYPE_CLOSED}}
								<li data-action="tableFilter" data-ipsMenuValue='requested' class='ipsMenu_item {{if $filter == 'requested'}}ipsMenu_itemChecked{{endif}}'>
									<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'requested', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_requests"}</a>
								</li>
								{{if $club->isPaid()}}
									<li data-action="tableFilter" data-ipsMenuValue='payment_pending' class='ipsMenu_item {{if $filter == 'payment_pending'}}ipsMenu_itemChecked{{endif}}'>
										<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'payment_pending', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_payment_pending"}</a>
									</li>
								{{endif}}
							{{endif}}
							<li data-action="tableFilter" data-ipsMenuValue='invited' class='ipsMenu_item {{if $filter == 'invited'}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'invited', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_invitations"}</a>
							</li>
							<li data-action="tableFilter" data-ipsMenuValue='banned' class='ipsMenu_item {{if $filter == 'banned'}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$club->url()->setQueryString( array( 'do' => 'members', 'filter' => 'banned', 'sortby' => $sortBy ) )->setPage( 'page', 1 )}' class='{{if !$filter}}ipsButtonRow_active{{endif}}'>{lang="club_banned"}</a>
							</li>
						{{endif}}
					</ul>
				</li>
			</ul>
			<div data-role="tablePagination">
				{$pagination|raw}
			</div>
		</div>
		<div data-role='tableRows' {{if $club->isLeader()}}data-controller='core.front.clubs.requests'{{endif}}>
			{template="membersRows" group="clubs" params="$club, $members"}
		</div>
		{{if trim( $pagination )}}
			<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear" data-role="tablePagination">
				{$pagination|raw}
			</div>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="clubs" template_name="membersRows" template_data="$club, $members" template_location="front" template_app="core"><![CDATA[<ol class='ipsAreaBackground_reset ipsList_reset ipsPad ipsGrid ipsGrid_collapsePhone ipsClear' data-ipsGrid data-ipsGrid-equalHeights='row' data-ipsGrid-minItemSize='170' data-ipsGrid-maxItemSize='400'>
{{if \count( $members )}}
	{{foreach $members as $member}}
		<li class='ipsGrid_span2 ipsClearfix ipsMemberCard ipsBox ipsBox--child ipsPadding:half ipsMargin_top:half ipsType_center'>
			{template="userPhotoFromData" group="global" app="core" params="$member['core_members']['member_id'], $member['core_members']['name'], $member['core_members']['members_seo_name'], \IPS\Member::photoUrl( $member['core_members'] ), 'medium', 'ipsMemberCard_photo'"}

			<h3 class='ipsType_sectionHead ipsMemberCard_name'>
				{$member['core_members']['name']}
			</h3>

			{{if $club->owner and $member['core_members']['member_id'] === $club->owner->member_id}}
				<span class="ipsBadge ipsBadge_positive cClubMemberStatus">{lang="club_owner"}</span>
			{{elseif $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_LEADER}}
				<span class="ipsBadge ipsBadge_positive cClubMemberStatus">{lang="club_leader"}</span>
			{{elseif \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
				<span class="ipsBadge ipsBadge_intermediary cClubMemberStatus">{lang="club_moderator"}</span>
			{{endif}}

			{{if $club->isLeader() and !\in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_REQUESTED ) ) and ( !$club->owner or $member['core_members']['member_id'] !== $club->owner->member_id )}}
				<a href="#elMember{$member['core_members']['member_id']}Menu_menu" id="elMember{$member['core_members']['member_id']}Menu" data-ipsMenu class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsMemberCard_controls"><i class="fa fa-cog"></i> <i class='fa fa-angle-down'></i></a>
				<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elMember{$member['core_members']['member_id']}Menu_menu">
					{{if \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_DECLINED, \IPS\Member\Club::STATUS_BANNED ) )}}
						<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'reInvite', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm>{lang="club_banned_invite"}</a></li>
					{{else}}
						{{if $club->isPaid() and $club->renewal_price}}
							{{if $member['nexus_purchases']['ps_expire'] or \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_INVITED, \IPS\Member\Club::STATUS_WAITING_PAYMENT ) )}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'bypassPayment', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm data-confirmSubMessage="{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_INVITED}}{lang="club_bypass_fee_renew_warn"}{{else}}{lang="club_bypass_fee_existing_warn"}{{endif}}">{lang="club_bypass_fee"}</a></li>
							{{elseif !$member['nexus_purchases']['ps_expire']}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'restorePayment', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm {{if $member['nexus_purchases']['ps_expire'] === NULL and !\in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_INVITED_BYPASSING_PAYMENT ) )}}data-confirmSubMessage="{lang="club_restore_fee_no_purchase_warn"}"{{endif}}>{lang="club_restore_fee"}</a></li>
							{{endif}}
						{{endif}}
						{{if !\in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_INVITED, \IPS\Member\Club::STATUS_INVITED_BYPASSING_PAYMENT, \IPS\Member\Club::STATUS_WAITING_PAYMENT ) )}}
							{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_LEADER}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'demoteLeader', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm>{lang="club_demote_leader"}</a></li>
							{{else}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'makeLeader', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm data-confirmSubMessage="{lang="club_make_leader_confirm"}">{lang="club_make_leader"}</a></li>
							{{endif}}
							{{if \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'demoteModerator', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm>{lang="club_demote_moderator"}</a></li>
							{{elseif \IPS\Settings::i()->clubs_modperms != -1}}
								<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'makeModerator', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm data-confirmSubMessage="{lang="club_make_moderator_confirm"}">{lang="club_make_moderator"}</a></li>
							{{endif}}
							<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'removeMember', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm data-confirmSubMessage="{lang="club_remove_member_confirm"}">{lang="club_remove_member"}</a></li>
						{{else}}
							<li class="ipsMenu_item" ><a href="{$club->url()->setQueryString( array( 'do' => 'removeMember', 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-confirm data-confirmSubMessage="{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_INVITED}}{lang="club_remove_accepted_confirm"}{{else}}{lang="club_remove_invitation_confirm"}{{endif}}">{lang="club_remove_invitation"}</a></li>
						{{endif}}
					{{endif}}
				</ul>
			{{endif}}

			<hr class='ipsHr ipsHr_small'>

			<h4 class='ipsType_minorHeading ipsType_unbold'>
				{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_REQUESTED}}
					{lang="club_date_joined_request"}
				{{elseif \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_INVITED, \IPS\Member\Club::STATUS_INVITED_BYPASSING_PAYMENT ) )}}
					{lang="club_date_joined_invite"}
				{{else}}
					{lang="club_date_joined"}
				{{endif}}
			</h4>
			<p class='ipsType_reset ipsTruncate ipsTruncate_line'>
				{expression="\IPS\DateTime::ts( $member['core_clubs_memberships']['joined'] )->relative()"}
			</p>

			{{if $club->isLeader()}}
				{{if $club->isPaid() and $club->renewal_price}}
					{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_INVITED_BYPASSING_PAYMENT}}
						<p class='ipsType_reset ipsContained ipsType_break'>
							{lang="club_fee_waived"}
						</p>
					{{elseif \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_MEMBER, \IPS\Member\Club::STATUS_EXPIRED, \IPS\Member\Club::STATUS_MODERATOR, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
						<hr class='ipsHr ipsHr_small'>
						<h4 class='ipsType_minorHeading ipsType_unbold'>
							{lang="club_membership_renews"}
						</h4>
						<p class='ipsType_reset ipsContained ipsType_break'>
							{{if $member['nexus_purchases']['ps_expire']}}
								{{if !$member['nexus_purchases']['ps_active']}}
								<span class="ipsType_warning">
								{{endif}}
								{datetime="$member['nexus_purchases']['ps_expire']"}
								{{if !$member['nexus_purchases']['ps_active']}}
								</span>
								{{endif}}
							{{else}}
								{lang="never"}
							{{endif}}
						</p>
					{{endif}}
				{{endif}}
				{{if ( $member['added_by']['name'] or $member['invited_by']['name'] )}}
					<hr class='ipsHr ipsHr_small'>
					<p class='ipsType_reset ipsContained ipsType_break'>
						{{if \in_array( $member['core_clubs_memberships']['status'], array( \IPS\Member\Club::STATUS_DECLINED, \IPS\Member\Club::STATUS_BANNED ) )}}
							{{if $member['added_by']['name']}}
								{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_BANNED}}
									{lang="club_banned_by" sprintf="$member['added_by']['name']"}
								{{else}}
									{lang="club_declined_by" sprintf="$member['added_by']['name']"}
								{{endif}}
							{{else}}
								{{if $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_BANNED}}
									{lang="club_banned"}
								{{else}}
									{lang="club_declined"}
								{{endif}}
							{{endif}}
						{{else}}
							{{if $member['invited_by']['name']}}
								{lang="club_invited_by" sprintf="$member['invited_by']['name']"}
							{{else}}
								{lang="club_added_by" sprintf="$member['added_by']['name']"}
							{{endif}}
						{{endif}}
					</p>
				{{endif}}
			{{endif}}


			{{if $club->isLeader() && $member['core_clubs_memberships']['status'] === \IPS\Member\Club::STATUS_REQUESTED}}
				<hr class='ipsHr ipsHr_small'>
				<ul class='ipsMemberCard_buttons'>
					<li>
						{{if $club->isPaid()}}
							<ul class="ipsButton_split ipsButton_fullWidth">
								<li class='ipsFlex-flex:11'>
									<a href="{$club->url()->setQueryString( array( 'do' => 'acceptRequest', 'member' => $member['core_members']['member_id'] ) )->csrf()}" class="ipsButton ipsButton_small ipsButton_positive ipsButton_fullWidth" data-ipsTooltip title='{lang="club_accept_request"}' data-action='requestApprove'>
										<i class='fa fa-check'></i>
									</a>
								</li>
								<li>
									<a href="#elMember{$member['core_members']['member_id']}AcceptMenu_menu" id="elMember{$member['core_members']['member_id']}AcceptMenu" data-ipsMenu class="ipsButton ipsButton_small ipsButton_positive ipsButton_narrow"><i class='fa fa-caret-down'></i></a>
									<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elMember{$member['core_members']['member_id']}AcceptMenu_menu" data-role="acceptMenu">
										<li class="ipsMenu_item"><a href="{$club->url()->setQueryString( array( 'do' => 'acceptRequest', 'waiveFee' => 1, 'member' => $member['core_members']['member_id'] ) )->csrf()}" data-action='requestApprove'>{lang="club_bypass_fee"}</a></li>
									</ul>
								</li>
							</ul>
						{{else}}
							<a href="{$club->url()->setQueryString( array( 'do' => 'acceptRequest', 'member' => $member['core_members']['member_id'] ) )->csrf()}" class="ipsButton ipsButton_small ipsButton_positive ipsButton_fullWidth" data-ipsTooltip title='{lang="club_accept_request"}' data-action='requestApprove'><i class='fa fa-check'></i></a>
						{{endif}}
					</li>
					<li>
						<a href="{$club->url()->setQueryString( array( 'do' => 'declineRequest', 'member' => $member['core_members']['member_id'] ) )->csrf()}" class="ipsButton ipsButton_small ipsButton_negative ipsButton_fullWidth" data-ipsTooltip title='{lang="club_decline_request"}' data-action='requestDecline'><i class='fa fa-times'></i></a>
					</li>
				</ul>
			{{endif}}
		</li>
	{{endforeach}}
{{else}}
	<li>{lang="no_results"}</li>
{{endif}}
</ol>]]></template>
 <template template_group="clubs" template_name="myClubsSidebar" template_data="$clubs, $myClubsActivity=NULL, $myClubsInvites=NULL" template_location="front" template_app="core"><![CDATA[
{{if member.member_id and member.group['g_create_clubs']}}
	<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth ipsMargin_bottom" href="{url="app=core&module=clubs&controller=directory&do=create" seoTemplate="clubs_list"}" data-ipsDialog data-ipsDialog-title="{lang="create_club"}">{lang="create_club"}</a>
{{endif}}

{{if \count( $myClubsInvites )}}
<div id='elMyClubsInvites' class="ipsWidget ipsWidget_vertical ipsBox">
	<h2 class="ipsType_reset ipsWidget_title">{lang="my_clubs_invites"}</h2>
	<section class="ipsWidget_inner">
		<ul class='ipsDataList ipsDataList_reducedSpacing'>
			{{foreach $myClubsInvites as $club}}
			<li class='ipsDataItem ipsClearfix'>
				<div class="ipsButton_split ipsPos_right ipsSpacer_top ipsSpacer_half">
					{{if $club->status !== $club::STATUS_REQUESTED}}
					<a class="ipsButton ipsButton_small ipsButton_narrow ipsButton_positive" data-ipstooltip title='{lang="club_join"}' href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and $club->status !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>
						<i class="fa fa-check"></i>
					</a>
					{{endif}}
					<a class="ipsButton ipsButton_small ipsButton_narrow ipsButton_negative" data-ipstooltip title='{{if $club->status !== $club::STATUS_REQUESTED}}{lang="club_decline_invite"}{{else}}{lang="club_cancel_request"}{{endif}}' href="{$club->url()->setQueryString('do', 'leave')->csrf()}" data-confirm>
						<i class="fa fa-remove"></i>
					</a>
				</div>
				<div class='ipsDataItem_icon'>
					{template="clubIcon" group="clubs" app="core" params="$club, 'tiny', 'ipsPos_left'"}
				</div>
				<div class='ipsDataItem_main'>
					<h3 class='ipsType_sectionHead ipsType_large ipsContained_container'>
						<span class='ipsContained ipsType_break'><a href='{$club->url()}'>{$club->name}</a></span>
					</h3>
					<p class='ipsType_reset ipsType_medium ipsType_light'>
						{lang="club_{$club->type}"}
						{{if $club->type !== $club::TYPE_PUBLIC}}
						&nbsp;&middot;&nbsp;
						{lang="club_members_count" pluralize="$club->members"}
						{{endif}}
					</p>
				</div>
			</li>
			{{endforeach}}
		</ul>
	</section>
</div>
{{endif}}

<div id='elMyClubs' class="ipsWidget ipsWidget_vertical ipsBox">
	<h2 class="ipsType_reset ipsWidget_title">{lang="my_clubs"}</h2>
	{{if \count( $clubs )}}
		{template="clubs" group="widgets" params="$clubs"}
	{{else}}
		<section class="ipsWidget_inner ipsPad_half">
			<p class='ipsType_light ipsType_center ipsPad_half'>
				{lang="my_clubs_empty"}
			</p>
		</section>
	{{endif}}
</div>

<div id='elMyClubsActivity' class="ipsWidget ipsWidget_vertical ipsBox">
	<h2 class="ipsType_reset ipsWidget_title">{lang="clubs_recent_activity"}</h2>
	{{if !\count( $myClubsActivity )}}
		<p class='ipsType_light ipsType_center ipsPad'>
			{lang="clubs_no_recent_activity"}
		</p>
	{{else}}
		<ol class="ipsStream ipsList_reset ipsPad">
			{{foreach $myClubsActivity as $result}}
				{{if $result !== NULL}}
					{$result->html()|raw}
				{{endif}}
			{{endforeach}}
		</ol>
	{{endif}}
</div>]]></template>
 <template template_group="clubs" template_name="name" template_data="$name, $data" template_location="admin" template_app="core"><![CDATA[{{if !$data['approved']}}
	<span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" title="{lang="club_unapproved"}" data-ipsTooltip>
		<i class="fa fa fa-eye-slash"></i>
	</span>
{{endif}}
{$name}]]></template>
 <template template_group="clubs" template_name="nonMemberClubStatus" template_data="$club, $memberStatus" template_location="front" template_app="core"><![CDATA[
{{if \is_array( $memberStatus ) AND \in_array( $memberStatus['status'], array( $club::STATUS_INVITED, $club::STATUS_INVITED_BYPASSING_PAYMENT ) ) && $club->canJoin()}}
    {{if $memberStatus['invited_by']}}
    	{{$invitedBy = \IPS\Member::load( $memberStatus['invited_by'] );}}
    	<div class='ipsBox ipsPadding sm:ipsPadding:half'>
	    	<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsFlex-fw:wrap ipsGap:2'>
	    		<div class='ipsFlex-flex:11'>
					<div class='ipsPhotoPanel ipsPhotoPanel_tiny'>
						{template="userPhoto" group="global" app="core" params="$invitedBy, 'tiny'"}
						<div class='ipsType_medium'>
							<h3 class='ipsType_reset ipsType_large'>{lang="club_youre_invited"}</h3>
							<p class='ipsType_reset ipsType_medium'>
								{{if $memberStatus['status'] === $club::STATUS_INVITED_BYPASSING_PAYMENT}}
									{lang="club_invited_bypassing_payment" sprintf="$invitedBy->name"}
								{{else}}
									{lang="club_youre_invited_desc" sprintf="$invitedBy->name"}
								{{endif}}
							</p>
						</div>
					</div>
				</div>
				<div>
					<div  class='ipsFlex ipsGap:2 ipsGap_row:0'>
						<div class='ipsFlex-flex:00'>
							<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_positive" href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and $memberStatus['status'] !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>
								{lang="club_join"}
							</a>
						</div>
						<div class='ipsFlex-flex:00'>
							<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_negative" href="{$club->url()->setQueryString('do', 'leave')->csrf()}" data-confirm>
								{lang="club_decline_invite"}
							</a>
						</div>
					</div>
				</div>
			</div>
		</div>
		<hr class='ipsHr'>
    {{endif}}
{{elseif \is_array( $memberStatus ) AND $memberStatus['status'] == \IPS\Member\Club::STATUS_BANNED}}
	<div class='ipsBox ipsPadding sm:ipsPadding:half ipsSpacer_bottom'>
		<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
			<i class='fa fa-times ipsPos_left ipsType_large'></i>
			<div>
				<h3 class='ipsType_reset ipsType_large'>{lang="club_banned_title"}</h3>
				<p class='ipsType_reset ipsType_medium'>
					{lang="club_banned_desc"}
				</p>
			</div>
		</div>
	</div>
{{elseif \is_array( $memberStatus ) AND \in_array( $memberStatus['status'], array( \IPS\Member\Club::STATUS_EXPIRED, \IPS\Member\Club::STATUS_EXPIRED_MODERATOR ) )}}
	<div class='ipsBox ipsPadding sm:ipsPadding:half ipsSpacer_bottom'>
    	<div class='ipsColumns ipsColumns_collapsePhone'>
    		<div class='ipsColumn ipsColumn_fluid'>
				<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
					<i class='fa fa-exclamation-triangle ipsPos_left ipsType_large'></i>
					<div>
						<h3 class='ipsType_reset ipsType_large'>{lang="club_expired_title"}</h3>
						<p class='ipsType_reset ipsType_medium'>
							{lang="club_expired_desc"}
						</p>
					</div>
				</div>
			</div>
			<div class='ipsColumn ipsColumn_medium'>
				<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_positive" href="{$club->url()->setQueryString('do', 'renew')->csrf()}">
					{lang="club_renew_now"}
				</a>
			</div>
		</div>
	</div>
	<hr class='ipsHr'>
{{elseif !$club->canRead()}}
	<div class='ipsBox ipsPadding sm:ipsPadding:half ipsSpacer_bottom'>
		{{if \is_array( $memberStatus ) AND $memberStatus['status'] === $club::STATUS_REQUESTED}}
			<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
				<i class='fa fa-clock-o ipsPos_left ipsType_large'></i>
				<div>
					<h3 class='ipsType_reset ipsType_large'>{lang="club_requested_title"}</h3>
					<p class='ipsType_reset ipsType_medium'>
						{{if $club->isPaid()}}
							{lang="club_requested_desc_paid"}
						{{else}}
							{lang="club_requested_desc"}
						{{endif}}
					</p>
				</div>
			</div>
		{{elseif \is_array( $memberStatus ) AND $memberStatus['status'] === $club::STATUS_WAITING_PAYMENT}}
			<div class='ipsColumns ipsColumns_collapsePhone'>
	    		<div class='ipsColumn ipsColumn_fluid'>
					<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
						<i class='fa fa-check ipsPos_left ipsType_large'></i>
						<div>
							<h3 class='ipsType_reset ipsType_large'>{lang="club_awaiting_payment_title"}</h3>
							<p class='ipsType_reset ipsType_medium'>
								{lang="club_awaiting_payment_desc"}
							</p>
						</div>
					</div>
				</div>
				<div class='ipsColumn ipsColumn_narrow'>
					<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_positive" href="{$club->url()->setQueryString('do', 'join')->csrf()}">
						{lang="club_pay_membership_fee"}
					</a>
				</div>
			</div>			
		{{elseif \is_array( $memberStatus ) AND $memberStatus['status'] === \IPS\Member\Club::STATUS_DECLINED}}
			<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
				<i class='fa fa-times ipsPos_left ipsType_large'></i>
				<div>
					<h3 class='ipsType_reset ipsType_large'>{lang="club_denied_title"}</h3>
					<p class='ipsType_reset ipsType_medium'>
						{lang="club_denied_desc"}
					</p>
				</div>
			</div>
		{{else}}
			<div class='ipsColumns ipsColumns_collapsePhone'>
	    		<div class='ipsColumn ipsColumn_fluid'>
					<div class='ipsPhotoPanel ipsPhotoPanel_tiny cClubStatus'>
						<i class='fa fa-lock ipsPos_left ipsType_large'></i>
						<div>
							<h3 class='ipsType_reset ipsType_large'>{lang="club_closed_title"}</h3>
							<p class='ipsType_reset ipsType_medium'>
								{lang="club_closed_desc"}
							</p>
						</div>
					</div>
				</div>
				{{if $club->canJoin()}}
				<div class='ipsColumn ipsColumn_narrow'>
					<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_positive" href="{$club->url()->setQueryString('do', 'join')->csrf()}" {{if $club->isPaid() and \is_array( $memberStatus ) AND $memberStatus['status'] !== $club::STATUS_INVITED_BYPASSING_PAYMENT}}data-confirm data-confirmIcon="info" data-confirmMessage="{lang="club_membership_item"}" data-confirmSubmessage="{$club->memberFeeMessage()}"{{endif}}>
						{lang="club_join"}
					</a>
				</div>
				{{endif}}
			</div>
		{{endif}}
	</div>
{{endif}}]]></template>
 <template template_group="clubs" template_name="owner" template_data="$owner" template_location="admin" template_app="core"><![CDATA[{template="userPhoto" group="global" params="$owner, 'tiny'"}
{{if $owner->member_id}}
	{template="userLink" group="global" params="$owner"}
{{else}}
	<em class="ipsType_light">{lang="deleted_member"}</em>
{{endif}}]]></template>
 <template template_group="clubs" template_name="privacy" template_data="$value" template_location="admin" template_app="core"><![CDATA[{{if $value === \IPS\Member\Club::TYPE_PUBLIC}}
	<span class="ipsBadge ipsBadge_style4">{lang="club_type_public"}</span>
{{elseif $value === \IPS\Member\Club::TYPE_OPEN}}
	<span class="ipsBadge ipsBadge_style1">{lang="club_type_open"}</span>
{{elseif $value === \IPS\Member\Club::TYPE_CLOSED}}
	<span class="ipsBadge ipsBadge_style7">{lang="club_type_closed"}</span>
{{elseif $value === \IPS\Member\Club::TYPE_PRIVATE}}
	<span class="ipsBadge ipsBadge_style5">{lang="club_type_private"}</span>
{{elseif $value === \IPS\Member\Club::TYPE_READONLY}}
	<span class="ipsBadge ipsBadge_style2">{lang="club_type_readonly"}</span>
{{endif}}]]></template>
 <template template_group="clubs" template_name="rulesForm" template_data="$club, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method="post" action="{$action}" id='elStatusSubmit' {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	{{if \IPS\Settings::i()->clubs_header != 'sidebar'}}
		{template="header" group="clubs" app="core" params="$club"}
	{{endif}}
	<div class="ipsPad ipsBox">
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
			<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
		{{endif}}
		
		<h1 class='ipsType_pageTitle'>{lang="club_rules"}</h1>
		<br>
		
		<div class="ipsMessage ipsMessage_info">{lang="clubs_rules_accept_msg"}</div>
		
		<div class='ipsType_normal ipsType_richText ipsContained'>
			{$club->rules|raw}
		</div>
		
		{{foreach $elements as $collection}}
			{{foreach $collection as $input}}
				{{if $input instanceof \IPS\Helpers\Form\Editor}}
					{$input->html()|raw}
					{{if $input->error}}
						<br>
						<span class="ipsType_warning">{lang="$input->error"}</span>
					{{endif}}
				{{endif}}
			{{endforeach}}
		{{endforeach}}
		<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground ipsSpacer_top">
			{{foreach $actionButtons as $button}}
				<li>{$button|raw}</li>
			{{endforeach}}
		</ul>
	</div>
</form>	
]]></template>
 <template template_group="clubs" template_name="statsOverview" template_data="$clubTypes, $clubSignups, $clubCreations" template_location="admin" template_app="core"><![CDATA[<div class='ipsSpacer_bottom ipsChart'>
	{$clubTypes|raw}
</div>
<hr class='ipsHr'>
<div class='ipsChart'>{$clubSignups|raw}</div>
<hr class='ipsHr'>
<div>{$clubCreations|raw}</div>]]></template>
 <template template_group="clubs" template_name="view" template_data="$club, $activity, $fieldValues" template_location="front" template_app="core"><![CDATA[
{{if \IPS\Settings::i()->clubs_header != 'sidebar'}}
	{template="header" group="clubs" app="core" params="$club"}
{{endif}}


<div class="ipsPageHeader ipsClearfix ipsSpacer_bottom">
	<h1 class="ipsType_pageTitle">{lang="overview"}</h1>
</div>

<div class='ipsColumns ipsColumns_collapsePhone'>
	<section class='ipsColumn ipsColumn_fluid'>
	
		{{if settings.clubs_require_approval and !$club->approved}}
			<div class='ipsBox ipsPad ipsSpacer_bottom ipsModerated'>
				<div class='ipsFlex ipsFlex-ai:center ipsGap sm:ipsFlex-fd:column'>
		    		<div class='ipsFlex-flex:11'>
						<div class='ipsFlex ipsFlex-ai:center ipsGap cClubStatus'>
							<i class='fa fa-eye-slash ipsPos_left ipsType_large ipsFlex-flex:00'></i>
							<div class='ipsFlex-flex:11'>
								<h3 class='ipsType_reset ipsType_large'>{lang="club_unapproved"}</h3>
								<p class='ipsType_reset ipsType_medium'>
									{{if member.modPermission('can_access_all_clubs')}}
										{lang="club_unapproved_desc_mod"}
									{{else}}
										{lang="club_unapproved_desc_public"}
									{{endif}}
								</p>
							</div>
						</div>
					</div>
					{{if member.modPermission('can_access_all_clubs')}}
						<div class='ipsFlex-flex:00'>
							<div class='ipsFlex ipsFlex-ai:center ipsGap'>
								<div class='ipsFlex-flex:00'>
									<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_positive" href="{$club->url()->setQueryString( array( 'do' => 'approve', 'approved' => 1 ) )->csrf()}" data-confirm>
										{lang="approve"}
									</a>
								</div>
								<div class='ipsFlex-flex:00'>
									<a class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_negative" href="{$club->url()->setQueryString( array( 'do' => 'approve', 'approved' => 0 ) )->csrf()}" data-confirm>
										{lang="delete"}
									</a>
								</div>
							</div>
						</div>
					{{endif}}
				</div>
			</div>
		{{endif}}

		{{$memberStatus = $club->memberStatus( \IPS\Member::loggedIn(), 2 );}}
		{template="nonMemberClubStatus" group="clubs" app="core" params="$club, $memberStatus"}

		{{if $club->canRead() || $club->about || ( $club->location() && settings.clubs_locations && ( !\IPS\GeoLocation::enabled() ) ) || \IPS\Member\Club\CustomField::roots()}}
			<div class='ipsBox ipsResponsive_pull ipsPadding ipsSpacer_bottom'>
				{{if $club->canRead()}}
					<div class='ipsClearfix {{if $club->about OR ($club->location() && settings.clubs_locations && ( !\IPS\GeoLocation::enabled() ))}}ipsPadding_bottom ipsBorder_bottom ipsMargin_bottom{{endif}}'>
						<div class='ipsPos_right ipsResponsive_noFloat'>
							{template="follow" app="core" group="global" params="'core','club', $club->id, $club->followersCount()"}
						</div>
					</div>
				{{endif}}

				{{if $club->about}}
					<div>
						<h3 class='ipsType_sectionHead'>{lang="club_about_this_club"}</h3>
						<div class='ipsType_richText ipsType_normal'>
							{$club->about}
						</div>
					</div>
				{{endif}}
				{{if $club->location() && settings.clubs_locations && ( !\IPS\GeoLocation::enabled() )}}
					<div class='{{if $club->about}}ipsSpacer_top{{endif}}'>
						<h3 class='ipsType_sectionHead'>{lang="club_location"}</h3>
						<div class='ipsType_richText ipsType_normal'>
							{$club->location()}
						</div>
					</div>
				{{endif}}
				{{$printedHr = FALSE;}}
				{{if \IPS\Member\Club\CustomField::roots()}}
					{{foreach \IPS\Member\Club\CustomField::roots() as $field}}
						{{if isset( $fieldValues[ "field_" . $field->id ] )}}
							{{if !$printedHr}}
								<hr class='ipsHr'>
								{{$printedHr = TRUE;}}
							{{endif}}
							<div class='ipsSpacer_bottom'>
								<h3 class='ipsType_sectionHead'>{$field->_title}</h3>
								<div class='ipsType_richText ipsType_normal'>
									{$field->displayValue( $fieldValues[ "field_" . $field->id ] )|raw}
								</div>
							</div>
						{{endif}}
					{{endforeach}}
				{{endif}}
			</div>
		{{endif}}

		{{if $club->isLeader() and $club->type === $club::TYPE_CLOSED and $pendingMembers = $club->members( array( $club::STATUS_REQUESTED ), NULL, NULL, 3 ) and \count( $pendingMembers )}}
			<div class='ipsBox ipsSpacer_bottom'>
				<h2 class='ipsType_sectionTitle ipsType_reset'><i class='fa fa-lock' data-ipsTooltip title="{lang="club_requested_users_desc"}"></i> {lang="club_requested_users"}</h2>
				<div data-controller='core.front.clubs.requests'>
					{template="membersRows" group="clubs" params="$club, $pendingMembers"}
				</div>
			</div>
			<hr class='ipsHr'>
		{{endif}}

		{{if $club->canRead()}}
			<div class='ipsBox_alt ipsResponsive_pull'>
				<ol class="ipsStream ipsStream_withTimeline ipsList_reset ipsSpacer_top">
					<li class='ipsStreamItem_time'>{lang="club_whats_new"}</li>
					{{foreach $activity as $result}}
						{{if $result !== NULL}}
							{$result->html()|raw}
						{{endif}}
					{{endforeach}}
					<li class='ipsStreamItem_terminator'>&nbsp;</li>
				</ol>
			</div>
		{{endif}}
	</section>
</div>]]></template>
 <template template_group="clubs" template_name="viewPage" template_data="$page" template_location="front" template_app="core"><![CDATA[
{{if \IPS\Settings::i()->clubs_header != 'sidebar'}}
	{template="header" group="clubs" app="core" params="$page->club, NULL, 'full', $page"}
{{endif}}

<h1 class='ipsType_pageTitle'>{$page->title}</h1>
<br>
<div id='elClubContainer'>
	<div class='ipsBox ipsPad'>
		<div class='ipsType_normal ipsType_richText ipsContained' id='elPageContent'>
			{$page->content|raw}
		</div>
	</div>
</div>]]></template>
 <template template_group="customization" template_name="diff" template_data="$skinSet, $diff" template_location="admin" template_app="core"><![CDATA[<p class="ipsMessage ipsMessage_info">{lang="core_theme_set_diff_desc" sprintf="$skinSet->name"}</p>
<div class="acpBlock">
	{{foreach $diff['templates'] as $app => $appData}}
		{{foreach $appData as $location => $locationData}}
			{{foreach $locationData as $group => $groupData}}
				{{foreach $groupData as $name => $template}}
					<div class="acpBlock_title">
						{$template['template_app']}/{$template['template_location']}/{$template['template_group']}/{$template['template_name']}
						{{if $template['added'] === true}}
						<span class='ipsBadge ipsBadge_positive'>{lang="core_theme_set_template_new"}<span>
						{{endif}}
						{{if $template['deleted'] === true}}
						<span class='ipsBadge ipsBadge_warning'>{lang="core_theme_set_template_deleted"}<span>
						{{endif}}
					</div>
					{{if isset($template['oldHumanVersion']) AND isset($template['newHumanVersion'])}}
						<table class="ipsTable diff restrict_height">
						<tr>
							<th><span>{$template['oldHumanVersion']}</span></th>
							<th><span>{$template['newHumanVersion']}</span></th>
						</tr>
						</table>
					{{endif}}
					<div>
						{$template['diff']|raw}
					</div>
				{{endforeach}}
			{{endforeach}}
		{{endforeach}}
	{{endforeach}}
	
	{{foreach $diff['css'] as $app => $appData}}
		{{foreach $appData as $location => $locationData}}
			{{foreach $locationData as $group => $pathData}}
				{{foreach $pathData as $name => $css}}
					<div class="acpBlock_title">
					{$css['css_app']}/{$css['css_location']}/{$css['css_path']}/{$css['css_name']}
					{{if $css['added'] === true}}
						<span class='ipsBadge ipsBadge_positive'>{lang="core_theme_set_css_new"}<span>
						{{endif}}
						{{if $css['deleted'] === true}}
						<span class='ipsBadge ipsBadge_warning'>{lang="core_theme_set_css_deleted"}<span>
						{{endif}}	
					</div>
					<div>
						{$css['diff']|raw}
					</div>
				{{endforeach}}
			{{endforeach}}
		{{endforeach}}
	{{endforeach}}
</div>
]]></template>
 <template template_group="customization" template_name="diffExportWrapper" template_data="$html" template_location="admin" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<meta charset="utf-8">
		<title>Diff Export</title>
		<link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
		<style type="text/css">
		/* ACP */
		html {
			background: #f9f9f9;
			/*background: #f7f7f7;*/
			/*background: #f9f9f9;*/
			min-height: 100%;
			position: relative;
		}
		
		body {
			font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
			font-size: 13px;
			line-height: 18px;
			color: #404040;	
			height: 100%;
		}
		
		a {
			color: #166693;
			text-decoration: none;
		}
		
			a:hover {
				color: #cd3816;
			}
		
		.ipsAreaBackground_dark {
			background: #394248;
		}
		
		/* BLOCKS */
		.acpBlock_title {
			padding: 15px;
			margin: 0;
			background: #f0f0f0;
			color: #151515;
			font-size: 16px;
			font-weight: normal;
		}
		
		/* Badges */
		.ipsBadge {
			height: 17px;
			line-height: 17px;
			padding: 0 8px;
			border-radius: 10px;
			font-size: 9px;
			text-transform: uppercase;
			font-weight: 500;
			display: inline-block;
			color: #fff;
			vertical-align: bottom;
			font-weight: bold;
			text-shadow: none;
		}
		
		.ipsBadge.ipsBadge_medium {
			height: 18px;
			line-height: 18px;
			font-size: 11px;
		} 
		
		.ipsBadge.ipsBadge_large {
			height: 23px;
			line-height: 23px;
			padding: 0 10px;
		}
		
		/* Styles */
		.ipsBadge_new, .ipsBadge_style1 {
			background: #323232;
		}
		
		.ipsBadge_style2 {
			background: #d42b39;
		}
		
		.ipsBadge_warning, .ipsBadge_style3 {
			background: #834250;
		}
		
		.ipsBadge_positive, .ipsBadge_style4 {
			background: #68a72f;
		}
		
		.ipsBadge_negative, .ipsBadge_style5 {
			background: #a72f35;
		}
		
		.ipsBadge_neutral, .ipsBadge_style6 {
			background: #b3b3b3;
		}
		
		.ipsBadge_intermediary, .ipsBadge_style7 {
			background: #cbb641;
		}

		/* JS STUFF */
		/* Used when JS is disabled and element set to show when JS enabled */
		.ipsJS_none .ipsJS_show {
			display: none;
		}
		
		.ipsJS_has .ipsJS_hide {
			display: none;
		}


		/* Table */
		.ipsTable {
			width: 100%;
			border-collapse: collapse;
		}
		
		.ipsTable th {
			text-align: left;
			background: #f3f3f3;
			padding: 15px 10px;
			font-size: 13px;
		}
			
			.ipsTable th a {
				color: inherit;
			}
			
		.ipsTable th, .ipsTable td {
			vertical-align: middle;
		}
		
		.ipsTable td {
			padding: 7px;
			border-bottom: 1px solid rgba(0,0,0,0.01);
		}

		/* Diff */
		table.diff {
			width: 100%;
		}
		
		table.diff td, table.diff th {
			width: 50%;
			max-width: 500px;
			overflow-x: auto;
		}
		
		table.diff td {
			padding: 10px;
			vertical-align: top;
			white-space: pre;
			white-space: pre-wrap;
			font-family: monospace;
		}
		
		.diffDeleted {
			background:rgb(255,224,224);
		}
		
		.diffInserted {
			background:rgb(224,255,224);
		}
		
		/* Messages */
		.ipsMessage {
			padding: 15px 15px 15px 45px;
			border-radius: 2px;
			position: relative;
			margin-bottom: 10px;
			color: #fff;
		}
		
			.ipsMessage:before {
				font-family: 'FontAwesome';
				position: absolute;
				top: 15px;
				left: 15px;
				font-size: 20px;
			}
		
		.ipsMessage_error {
			background: #b52b38;
		}
		
			.ipsMessage_error:before {
				content: '\\f06a';
			}
		
		.ipsMessage_success {
			background: #53902f;
		}
		
			.ipsMessage_success:before {
				content: '\\f00c';
			}
		
		.ipsMessage_warning {
			background: #c48712;
		}
		
			.ipsMessage_warning:before {
				content: '\\f071';
			}
		
		.ipsMessage_info, .ipsMessage_information {
			background: #447a9a;
		}
		
			.ipsMessage_info:before, .ipsMessage_information:before {
				content: '\\f05a';
			}
		
		.ipsMessage_code {
			padding: 7px;
			display: inline-block;
			background: rgba(0,0,0,0.2);
			border-radius: 3px;
			float: right;
			margin-top: -7px;
			margin-right: -7px;
			color: rgba(255,255,255,0.8);
		}
		</style>
	</head>
	<body>
	{$html|raw}
	</div>
	</body>
</html>
]]></template>
 <template template_group="customization" template_name="editor" template_data="$config, $dummy" template_location="admin" template_app="core"><![CDATA[
<noscript>
	<p class="ipsMessage ipsMessage_error">{lang="editor_no_js"}</p>
</noscript>

<div class="ipsJS_show" data-controller="core.admin.customization.editorToolbars" data-url="{url="app=core&module=editor&controller=toolbar"}">
	<div class="acpBlock">
		<div class='ipsTabs ipsTabs_stretch ipsTabs_withIcons ipsClearfix ipsJS_show acpFormTabBar' id='editor_tabbar' data-ipsTabBar data-ipsTabBar-contentArea='#editor_panels' data-ipsTabBar-updateURL='false'>
			<ul role='tablist'>
				<li>
					<a href='#' class='ipsTabs_item ipsType_center ipsTabs_activeItem' id='desktop_tab' role="tab" aria-selected="true">
						<i class='fa fa-desktop'></i>
						{lang="editor_size_large"}
					</a>
				</li>
				<li>
					<a href='#' class='ipsTabs_item ipsType_center' id='tablet_tab' role="tab" aria-selected="false">
						<i class='fa fa-tablet'></i>
						{lang="editor_size_medium"}
					</a>
				</li>
				<li>
					<a href='#' class='ipsTabs_item ipsType_center' id='phone_tab' role="tab" aria-selected="false">
						<i class='fa fa-mobile'></i>
						{lang="editor_size_small"}
					</a>
				</li>
			</ul>
		</div>
		<div id='editor_panels'>
			{{foreach array( 'desktop', 'tablet', 'phone' ) as $key}}
				<div id='ipsTabs_editor_tabbar_{$key}_tab_panel' data-role="devicePanel" data-deviceKey="{$key}" class='ipsTabs_panel ipsPad acpFormTabContent'>
					<div class='ipsPad'>
						<ul class='ipsToolList ipsToolList_horizontal ipsClearfix'>
							<li>
								<a class='ipsButton ipsButton_normal ipsButton_small ipsButton_fullWidth editor_toolbarAddToolbar' href="#" data-action="addToolbar" data-deviceKey="{$key}"><i class='fa fa-plus'></i> {lang="theme_editor_add_toolbar"}</a>
							</li>
							<li>
								<a class='ipsButton ipsButton_normal ipsButton_small ipsButton_fullWidth editor_toolbarAddSeperator' href="#" data-action="addSep" data-deviceKey="{$key}"><i class='fa fa-plus'></i> {lang="theme_editor_add_separator"}</a>
							</li>
						</ul>
					</div>
					<div class='ipsPad'>
						<p class='ipsType_normal ipsType_reset'>{lang="editor_toolbar_desc"}</p>
						<p class='ipsType_light ipsType_normal ipsType_reset ipsSpacer_bottom ipsSpacer_double'>
							{lang="editor_toolbar_width_info"}
						</p>
						
						<div class='editor_dummy editor_dummy_{$key} cke_reset' data-role="dummyEditor" data-deviceKey="{$key}" id='editor_dummy_{$key}'>
							<div class="dummy_toolbars cke_top cke_reset_all" id="{$key}_editor_toolbars">
								{{if empty( $config[ $key ] )}}
									<ul class="dummy_toolbar clearfix cke_toolbar" data-role="dummyToolbar"></ul>
								{{else}}
									{{foreach $config[ $key ] as $row}}
										{{if isset( $row['name'] )}}
											<div class='cke_toolbar'>
												<ul class="dummy_toolbar clearfix cke_toolgroup" data-role="dummyToolbar">
													{{if ( \is_array( $row['items'] ))}}
														{{foreach $row['items'] as $item}}
															{{if $item === '-'}}
																<li><span class="cke_toolbar_separator"></span></li>
															{{else}}
																<li id='{$key}_editorButton_{$item}'></li>
															{{endif}}
														{{endforeach}}
													{{endif}}
												</ul>
											</div>
										{{endif}}
									{{endforeach}}
								{{endif}}
							</div>
							<div id="dummy_{$key}_contents" class='dummy_contents cke_bottom'>
								<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vel urna ut leo dignissim auctor ut eget quam. Nullam ac gravida leo. Vestibulum accumsan vulputate lorem nec faucibus. Quisque vitae fringilla orci. Cras est lectus, sollicitudin a bibendum eget, sodales luctus eros. Nam nec erat ac nulla placerat elementum et non sem. Etiam a augue eu arcu tincidunt convallis. Pellentesque volutpat facilisis enim nec aliquet. Integer eu luctus est. Integer nec elit at urna auctor molestie. Vivamus facilisis, elit at molestie tristique, orci augue malesuada magna, at molestie nunc libero ut ante. Fusce feugiat suscipit accumsan.</p>
								<p>Phasellus vel dolor condimentum arcu pellentesque faucibus a rutrum enim. Aliquam nec sem dolor, vel molestie nunc. Donec ac leo urna, vitae adipiscing sapien. Etiam nec elit neque. Suspendisse venenatis eros et ante dictum in adipiscing neque iaculis. Mauris at tellus neque. Phasellus pharetra lectus at quam convallis placerat.</p>
							</div>
						</div>
						<br><br>
						<h2 class='ipsClear ipsType_sectionHead'>{lang="editor_unused"}</h2>
						<p class='ipsType_normal ipsType_reset'>{lang="editor_unused_desc"}</p>
						<br>

						<div class="editor_dummy cke_reset">
							<div class="dummy_toolbars clearfix cke_top cke_reset_all">
								<div class='cke_toolbar'>
									<ul class="dummy_toolbar clearfix editor_unusedButtons cke_toolgroup" id="{$key}_editor_unusedButtons" data-role="dummyToolbar"></ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			{{endforeach}}
		</div>
	</div>
</div>

<div class="ipsHide">
	{$dummy->html()|raw}
</div>]]></template>
 <template template_group="customization" template_name="email" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[
<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-itemID='{expression="\IPS\Request::i()->id"}'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}

	<div class='ipsBox'>
		<div class='ipsPad'>
			<h3 class='ipsType_sectionHead'>{lang="emailtpl_title"}</h3>
			<p class='ipsType_reset ipsType_normal'>
				{lang="emailtpl_info"}
			</p>
		
			<hr class='ipsHr'>
		
			<ul class='ipsForm ipsForm_vertical'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $inputName => $input}}
						{{if \is_object( $input ) }}
							{$input->rowHtml($form)|raw}
						{{else}}
							{$input|raw}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
			</ul>
		</div>
		<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
			{expression="implode( '', $actionButtons)" raw="true"}
		</div>
	</div>
</form>]]></template>
 <template template_group="customization" template_name="emailFrame" template_data="$url" template_location="admin" template_app="core"><![CDATA[
<iframe src="{$url}" style='width: 100%; height: 100%; min-height: 500px; border: 0' class='ipsLoading'></iframe>]]></template>
 <template template_group="customization" template_name="emoticons" template_data="$sets" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsAreaBackground_light">
	{{if member.hasAcpRestriction( 'core', 'editor', 'emoticons_add' )}}
		<div class="ipsClearfix ipsSpacer_bottom">
			<div class="ipsPos_right">
				<ul class="ipsList ipsList_inline" data-controller="core.admin.core.pageActions">
					<li class="acpToolbar_primary">
						<a href="{url="app=core&module=editor&controller=emoticons&do=add"}" class="ipsButton ipsButton_alternate ipsButton_small ipsButton_fullWidth" data-ipsDialog data-ipsdialog-title="{lang="emoticons_add"}">
							<i class="fa fa-plus-circle"></i> &nbsp;&nbsp;<span data-role="title">{lang="emoticons_add"}</span>
						</a>
					</li>
				</ul>
			</div>
		</div>
	{{endif}}
	<form accept-charset='utf-8' action="{url="app=core&module=editor&controller=emoticons&do=edit"}" method="post" data-controller="core.admin.customization.emoticons" id="emoticonsManagement">
		<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
		<ul class='ipsList_reset' data-role="setList">
			{{foreach $sets as $setKey => $emoticons}}
				<li data-emoticonSet="{$setKey}">
					<div class='ipsClearfix'>
						<ul class='ipsList_inline ipsPos_right ipsType_medium ipsSpacer_top ipsSpacer_half'>
							<li>
								<a href="{url="app=core&module=editor&controller=emoticons&do=editTitle&key=$setKey"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title="{lang="emoticons_edit_groupname"}" title="{lang="emoticons_edit_groupname"}" class='ipsType_blendLinks'><i class='fa fa-pencil'></i> {lang="emoticons_edit_groupname"}</a>
							</li>
							{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'editor', 'emoticons_delete' )}}
								<li>
									<a href="{url="app=core&module=editor&controller=emoticons&do=deleteSet&key=$setKey" csrf="true"}" data-confirm data-confirmsubmessage="{lang="emoticons_delete_set_confirm"}" title="{lang="emoticons_delete_set"}" class='ipsType_negative'><i class='fa fa-times-circle'></i> {lang="emoticons_delete_set"}</a>
								</li>
							{{endif}}
						</ul>
						<h2 class='ipsType_pageTitle ipsPos_left'>
							{lang="$setKey"}
						</h2>
					</div>
					<hr class='ipsHr ipsSpacer_both ipsSpacer_half ipsClear'>
					<ul class='ipsList_reset ipsGrid ipsGrid_collapsePhone ipsSpacer_both' data-role="emoticonsList" data-emoticonGroup="{$setKey}" data-ipsGrid data-ipsGrid-equalHeights='all' data-ipsGrid-minItemSize='175' data-ipsGrid-maxItemSize='300'>
						{{foreach $emoticons as $emo}}
							<li id="emo_{$emo['id']}" data-emoticonID='{$emo['id']}' class='ipsGrid_span3'>
								<div class='ipsBox cEmoticons_box'>
									<div class='ipsPad_half' data-role='dragHandle'>
										{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'editor', 'emoticons_delete' )}}
											<a href='{url="app=core&module=editor&controller=emoticons&do=delete&id="}{$emo['id']}' data-delete data-delete-warning="{lang="emoticons_delete_confirm"}" data-deleterow="#emo_{$emo['id']}">&times;</a>
										{{endif}}
										{{try{}}
											{{if $emo['image_2x']}}
												<img src="{file="$emo['image']" extension="core_Emoticons"}" srcset="{file="$emo['image_2x']" extension="core_Emoticons"} 2x" alt='' class='ipsImage' {{if $emo['width'] AND $emo['width']}} width='{$emo['width']}' height='{$emo['height']}'{{endif}}>
											{{else}}
												<img src="{file="$emo['image']" extension="core_Emoticons"}" alt='' class='ipsImage'>
											{{endif}}
										{{} catch( \Exception $ex ){}}
											{lang="emoticon_invalid" sprintf="$emo['image']"}
										{{ } }}
									</div>						
									<div class='cEmoticons_input ipsAreaBackground_light ipsPad_half'>
										{{if $emo['image_2x']}}
											<span class='cEmoticons_hd ipsType_small ipsType_light' title='{lang="emoticon_hd"}' data-ipsTooltip><i class='fa fa-check'></i> HD</span>
										{{endif}}
										<input type="hidden" name="emo[{$emo['id']}][set]" value="{$setKey}" data-emoticon-id="{$emo['id']}">
										<input value="{$emo['typed']}" name="emo[{$emo['id']}][name]" data-role="emoticonTyped">
										<noscript>
											<br>
											<input type="number" value="{$emo['emo_position']}" name="emo[{$emo['id']}][order]">
										</noscript>
									</div>
								</div>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endforeach}}
		</ul>
		{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'editor', 'emoticons_edit' )}}
			<div class="ipsBox ipsClear ipsClearfix ipsPad ipsType_center">		
				<button class='ipsButton ipsButton_primary'>{lang="save"}</button>
			</div>
		{{endif}}
	</form>
</div>]]></template>
 <template template_group="customization" template_name="formLogo" template_data="$url, $type='img'" template_location="admin" template_app="core"><![CDATA[<img src="{$url}" {{if $type == 'img'}}class="ipsThumb_large"{{endif}} />]]></template>
 <template template_group="customization" template_name="langDescription" template_data="$lang" template_location="admin" template_app="core"><![CDATA[{{if mb_strtolower( $lang->author_name ) != 'invision power services' and ( $lang->author_name != '' OR $lang->author_url != '' )}}
{{if $lang->author_name != '' }} {lang="byline_nodate" sprintf="$lang->author_name"}{{endif}}{{if $lang->author_url}} {template="basicUrl" group="global" app="core" location="global" params="$lang->author_url, TRUE, $lang->author_url, TRUE, TRUE, TRUE"}{{endif}}
{{endif}}]]></template>
 <template template_group="customization" template_name="langRowAdditional" template_data="$lang, $hasBeenCustomized" template_location="admin" template_app="core"><![CDATA[
<div class="ipsPos_right ipsTree_row_cells ipsType_unbold ipsType_normal">
	&nbsp;
	<span class="ipsTree_row_cell">
		{{if !$hasBeenCustomized}}
			<span class="ipsType_success"><i class="fa fa-check"></i> {lang="invision"}</span>
		{{else}}
			<span class="ipsType_neutral"><i class="fa fa-info-circle"></i> {lang="theme_has_been_customized"}</span>
		{{endif}}
	</span>
</div>]]></template>
 <template template_group="customization" template_name="langRowTitle" template_data="$lang" template_location="admin" template_app="core"><![CDATA[{$lang->_title} <span class='ipsType_small ipsType_unbold ipsType_light'>{$lang->version}</span>]]></template>
 <template template_group="customization" template_name="langString" template_data="$value, $key, $lang, $js" template_location="admin" template_app="core"><![CDATA[<div data-controller="core.admin.core.langString" data-saveURL='{url="app=core&module=languages&controller=languages&do=translateWord&key={$key}&lang={$lang}&js={$js}"}'>
	<a href="{url="app=core&module=languages&controller=languages&do=translateWord&key={$key}&lang={$lang}&js={$js}"}" >{$value}</a>
	{{if !$value}}
		<noscript>
			<em><a href="{url="app=core&module=languages&controller=languages&do=translateWord&key={$key}&lang={$lang}&js={$js}"}">{lang="no_value"}</a></em>
		</noscript>
	{{endif}}
</div>]]></template>
 <template template_group="customization" template_name="resourceDisplay" template_data="$resource" template_location="admin" template_app="core"><![CDATA[<a href="{file="$resource['resource_filename']" extension="core_Theme"}" target="_blank" rel="noopener" data-ipsLightbox>{{if \in_array( mb_substr( $resource['resource_filename'], mb_strrpos( $resource['resource_filename'], '.' ) + 1 ), array_merge( array('svg'), \IPS\Image::supportedExtensions() ) )}}<img src="{file="$resource['resource_filename']" extension="core_Theme"}" class="ipsImage" />{{else}}{$resource['resource_filename']}{{endif}}</a>]]></template>
 <template template_group="customization" template_name="resourceName" template_data="$resource" template_location="admin" template_app="core"><![CDATA[<a href="{file="$resource['resource_filename']" extension="core_Theme"}" target="_blank" rel="noopener">{$resource['resource_name']}</a>]]></template>
 <template template_group="customization" template_name="resourceTag" template_data="$tag" template_location="admin" template_app="core"><![CDATA[<code>{$tag}</code>]]></template>
 <template template_group="customization" template_name="templateConflict" template_data="$skinSet, $conflicts, $templates, $css, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $formClass='', $attributes=array(), $sidebar=''" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' data-controller='core.admin.templates.conflict' data-normalURL="{url="app=core&module=customization&controller=themes&id={$skinSet->_id}"}" data-ajaxURL="{url="app=core&module=customization&controller=ajax&id={$skinSet->_id}"}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm class="{$formClass}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	<p class="ipsMessage ipsMessage_error">{lang="theme_conflict_message"}</p>
	
	<div class="acpBlock">
		{{foreach $conflicts['template'] as $key => $data}}
		<div class="acpBlock_title">{$data['conflict_app']}/{$data['conflict_location']}/{$data['conflict_path']}/{$data['conflict_name']}</div>
		<table class="ipsTable diff restrict_height">
			<tr>
				<th><span data-conflict-id="{$data['conflict_id']}" data-conflict-name="old">{lang="theme_conflict_old_version"}</span></th>
				<th><span data-conflict-id="{$data['conflict_id']}" data-conflict-name="new">{lang="theme_conflict_new_version"} </span></th>
			</tr>
		</table>
		<div data-conflict-id="{$data['conflict_id']}">
		{$data['diff']|raw}
		</div>
		<div class="ipsAreaBackground_light ipsPad">
			<div class='ipsGrid'>
				<div class='ipsGrid_span6'>
					<span class='ipsButton ipsButton_primary' data-conflict-name="old">
						{{foreach $elements as $collection}}
							{{foreach $collection as $name => $input}}
								{{if $name == 'conflict_' . $data['conflict_id']}}
									<input id='elField_{$name}' type="radio" name="{$name}" value="old" checked="checked" />
								{{endif}}
							{{endforeach}}
						{{endforeach}}
						<strong>{lang="theme_conflict_use_this"}</strong>
					</span>
				</div>
				<div class='ipsGrid_span6'>
					<span class='ipsButton ipsButton_primary' data-conflict-name="new">
						{{foreach $elements as $collection}}
							{{foreach $collection as $name => $input}}
								{{if $name == 'conflict_' . $data['conflict_id']}}
									<input id='elField_{$name}'  type="radio" name="{$name}" value="new" />
								{{endif}}
							{{endforeach}}
						{{endforeach}}
						<strong>{lang="theme_conflict_use_this"}</strong>
					</span>
				</div>
			</div>
		</div>
		{{endforeach}}
		{{foreach $conflicts['css'] as $key => $data}}
		<div class="acpBlock_title">{$data['conflict_app']}/{$data['conflict_location']}/{$data['conflict_path']}/{$data['conflict_name']}</div>
		<table class="ipsTable diff restrict_height">
			<tr>
				<th><span data-conflict-id="{$data['conflict_id']}" data-conflict-name="old">{lang="theme_conflict_old_version"}</span></th>
				<th><span data-conflict-id="{$data['conflict_id']}" data-conflict-name="new">{lang="theme_conflict_new_version"} </span></th>
			</tr>
		</table>
		<div data-conflict-id="{$data['conflict_id']}" class="ipsPad">
			{{if isset( $data['large'] ) and $data['large']}}
				<div class="ipsMessage ipsMessage_info">{lang="theme_confict_view_too_large"}</div>
			{{endif}}
			{{if isset( $data['diff'] )}}
				{$data['diff']|raw}
			{{endif}}
		</div>
		<div class="ipsAreaBackground_light ipsPad">
			<div class='ipsGrid'>
				<div class='ipsGrid_span6'>
					<span class='ipsButton ipsButton_primary' data-conflict-name="old">
						{{foreach $elements as $collection}}
							{{foreach $collection as $name => $input}}
								{{if $name == 'conflict_' . $data['conflict_id']}}
									<input id='elField_{$name}' type="radio" name="{$name}" value="old" checked="checked" />
								{{endif}}
							{{endforeach}}
						{{endforeach}}
						<strong>{lang="theme_conflict_use_this"}</strong>
					</span>
				</div>
				<div class='ipsGrid_span6'>
					<span class='ipsButton ipsButton_primary' data-conflict-name="new">
						{{foreach $elements as $collection}}
							{{foreach $collection as $name => $input}}
								{{if $name == 'conflict_' . $data['conflict_id']}}
									<input id='elField_{$name}'  type="radio" name="{$name}" value="new" />
								{{endif}}
							{{endforeach}}
						{{endforeach}}
						<strong>{lang="theme_conflict_use_this"}</strong>
					</span>
				</div>
			</div>
		</div>
		{{endforeach}}
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		{expression="implode( '', $actionButtons)" raw="true"}
	</div>
</form>]]></template>
 <template template_group="customization" template_name="templateConflictLarge" template_data="$one, $two, $type='css'" template_location="admin" template_app="core"><![CDATA[{{$id = md5(mt_rand());}}
<div class="ipsGrid">
	<div class="ipsGrid_span6">
		<textarea name="editor_one" id="{$id}_one" data-type="{$type}" data-role="editor">{$one}</textarea>
	</div>
	<div class="ipsGrid_span6">
		<textarea name="editor_two" id="{$id}_two" data-type="{$type}" data-role="editor">{$two}</textarea>
	</div>
</div>
]]></template>
 <template template_group="customization" template_name="templateEditor" template_data="$theme, $templateNames, $template, $current" template_location="admin" template_app="core"><![CDATA[
<form accept-charset='utf-8' action="{url="app=core&module=customization&controller=themes&do=saveTemplate&id={$theme->_id}"}" method="POST" id="editorForm">
	<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
	<input type="hidden" name="t_type" value="{$current['type']}">
	<input type="hidden" name="t_key" value="{{if $current['type'] == 'templates'}}{$template['TemplateKey']}{{else}}{$template['CssKey']}{{endif}}">
	<input type="hidden" name="t_app" value="{$current['app']}">
	<input type="hidden" name="t_location" value="{$current['location']}">
	<input type="hidden" name="t_group" value="{$current['group']}">
	<input type="hidden" name="t_name" value="{$current['template']}">
	<input type="hidden" name="t_item_id" value="{$current['item_id']}">
	
	<div id='elTemplateEditor' data-controller='core.admin.templates.main' data-normalURL="{url="app=core&module=customization&controller=themes&id={$theme->_id}"}" data-ajaxURL="{url="app=core&module=customization&controller=ajax&id={$theme->_id}"}">
		<div class='ipsColumns'>
			<div class='ipsColumn ipsColumn_wide' data-role="fileList" data-controller='core.admin.templates.fileList'>
				<div class='cTemplateControls' id='elTemplateEditor_fileListControls'>
					<div class="ipsClearfix" class="ipsJS_show">
						<input type='text' data-role="templateSearch" placeholder="{lang="search_templates"}" class="ipsPos_left">
						<a href='#elTemplateFilterMenu_menu' id='elTemplateFilterMenu' class='ipsButton ipsButton_light ipsButton_narrow ipsButton_small ipsPos_right' data-ipsMenu data-ipsMenu-selectable><i class="fa fa-filter"></i> &nbsp;<i class='fa fa-caret-down'></i></a>
					</div>
					<ul id='elTemplateFilterMenu_menu' role='menu' class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsMenu_withStem ipsHide'>
						<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='outofdate'><a href='#'>{lang="theme_template_outofdate"}</a></li>
						<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='modified'><a href='#'>{lang="theme_template_modified"}</a></li>
						<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='inherited'><a href='#'>{lang="theme_template_inherited"}</a></li>
						<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='unique'><a href='#'>{lang="theme_template_unique"}</a></li>
						<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='unmodified'><a href='#'>{lang="theme_template_unmodified"}</a></li>
					</ul>
					<ul id='elTemplateEditor_newItemMenu_menu' role='menu' class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide'>
						<li class='ipsMenu_item'><a role='menuitem' href='{url="app=core&module=customization&controller=themes&do=cssForm&id={$theme->_id}"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="theme_template_add_css"}'>{lang="theme_template_new_css"}</a></li>
						<li class='ipsMenu_item'><a  role='menuitem' href='{url="app=core&module=customization&controller=themes&do=templateForm&id={$theme->_id}"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="theme_template_add_html"}'>{lang="theme_template_new_html"}</a></li>
					</ul>
				</div>
				<div class='ipsAreaBackground_reset'>
					<div class='ipsTabs ipsTabs_stretch ipsClearfix acpFormTabBar' id='elTemplateEditor_typeTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_fileList' data-ipsTabBar-updateURL='false'>
						<ul role="tablist">
							<li><a href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_type=templates"}' class='ipsTabs_item ipsType_center {{if $current['type'] == 'templates'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=core&module=customization&controller=ajax&id={$theme->_id}&do=loadMenu&t_type=templates"}' data-type='templates'>{lang="theme_templates"}</a></li>
							<li><a href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_type=css"}' class='ipsTabs_item ipsType_center {{if $current['type'] == 'css'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=core&module=customization&controller=ajax&id={$theme->_id}&do=loadMenu&t_type=css"}' data-type='css'>{lang="theme_css"}</a></li>
						</ul>
					</div>
					<section id='elTemplateEditor_fileList'>
						{template="templateEditorMenu" params="$theme, $templateNames, $current" app="core" location="admin" group="customization"}
					</section>
				</div>
				<div class='ipsAreaBackground_light ipsPad' id='elTemplateEditor_newButton'>
					<a href='#elTemplateEditor_newItemMenu_menu' id='elTemplateEditor_newItemMenu' class='ipsButton ipsButton_normal ipsButton_small ipsButton_fullWidth' data-ipsMenu data-ipsMenu-above>{lang="theme_template_new"} &nbsp;<i class='fa fa-caret-down'></i></a>
				</div>
			</div>
			<div class='ipsColumn ipsColumn_fluid'  data-controller='core.admin.templates.fileEditor'>
				<div class='cTemplateControls'>
					<ul class='ipsList_inline ipsClearfix' id='elTemplateEditor_panelToolbar'>
						<li class='ipsPos_right'>
							<a href='#elTemplateEditor_preferences_menu' id='elTemplateEditor_preferences' class='ipsButton ipsButton_veryLight ipsButton_small' data-ipsMenu data-ipsMenu-selectable><i class='fa fa-cog'></i> <i class='fa fa-caret-down'></i></a>
							<ul id='elTemplateEditor_preferences_menu' class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsMenu_withStem ipsHide'>
								<li class='ipsMenu_item' data-ipsMenuValue='wrap'><a href='#'>{lang="theme_wrap"}</a></li>
								<li class='ipsMenu_item' data-ipsMenuValue='lines'><a href='#'>{lang="theme_show_line"}</a></li>
								<li class='ipsMenu_item' data-ipsMenuValue='diff'><a href='#'>{lang="theme_show_original"}</a></li>
                                {{if $theme->parent()}}
                                <li class='ipsMenu_item' data-ipsMenuValue='diffparent'><a href='#'>{lang="theme_show_parent"}</a></li>
                                {{endif}}
							</ul>
						</li>
						<li class='ipsPos_right {{if $current['type'] == 'css'}}ipsHide{{endif}}'>
							<a href='#' id='elTemplateEditor_variables' class='ipsButton ipsButton_veryLight ipsButton_small' data-ipsDialog data-ipsDialog-title='{lang="theme_edit_variables"}' data-ipsDialog-content="#elTemplateEditor_variablesDialog" data-ipsDialog-size='narrow'>{lang="theme_variables"}</a>
						</li>
						<li class='ipsPos_right {{if $current['type'] == 'templates'}}ipsHide{{endif}}'>
							<a href='#' id='elTemplateEditor_attributes' class='ipsButton ipsButton_veryLight ipsButton_small' data-ipsDialog data-ipsDialog-title='{lang="theme_edit_css"}' data-ipsDialog-content="#elTemplateEditor_attributesDialog" data-ipsDialog-size='narrow'>{lang="theme_attributes"}</a>
						</li>
						<li class='ipsPos_right'>
							<a href='{url="app=core&module=customization&controller=themes&do=deleteTemplate&t_type={$current['type']}&id={$theme->_id}&t_item_id={$current['item_id']}"}' class='ipsButton ipsButton_veryLight ipsButton_small {{if $template['InheritedValue'] == 'original'}}ipsButton_disabled{{endif}}' data-action="revert">{{if $template['InheritedValue'] == 'custom'}}{lang="delete"}{{else}}{lang="revert"}{{endif}}</a>
						</li>
						<li>
							<button type='submit' class='ipsButton ipsButton_primary ipsButton_small' data-action="save">{lang="save"}</button>
						</li>					
						<li>
							<span data-role='loading' class='ipsHide'><i class='icon-spinner2 ipsLoading_tinyIcon'></i> &nbsp;{lang="loading"}</span>
						</li>
					</ul>
				</div>
				<div id='elTemplateEditor_outerPanelWrap'>
					<div id='elTemplateEditor_panelWrap'>
						<ul id='elTemplateEditor_tabbar' class='ipsTabs ipsClearfix acpFormTabBar' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_panels'>
							{{if $current['type'] == 'templates'}}
								<li data-fileid='{$template['TemplateKey']}'>
									<a href='#' class='ipsTabs_item' id='tab_{$template['TemplateKey']}'>{$current['template']} <span data-action='closeTab'><i class='fa fa-times'></i></span></a>
								</li>
							{{else}}
								<li data-fileid='{$template['jsDataKey']}'>
									<a href='#' class='ipsTabs_item' id='tab_{$template['jsDataKey']}'>{$template['css_name']} <span data-action='closeTab'><i class='fa fa-times'></i></span></a>
								</li>
							{{endif}}
						</ul>
						<section data-role="templatePanelWrap" id='elTemplateEditor_panels'>
							{{if $current['type'] == 'templates'}}
								{template="templateEditorHtmlPane" params="$theme, $templateNames, $template, $current" app="core" location="admin" group="customization"}
							{{else}}
								{template="templateEditorCssPane" params="$theme, $templateNames, $template, $current" app="core" location="admin" group="customization"}
							{{endif}}
						</section>
					</div>
				</div>
			</div>
		</div>
		<br>
		<div id='elTemplateEditor_variablesDialog' class='ipsHide'>
			<div data-controller='core.admin.templates.variablesDialog'>
				<div class='ipsPad'>
					<div class='ipsMessage ipsMessage_info'> 
						{lang="template_variables_save_warning_msg"}
					</div>
					<p class='ipsType_textBlock'>
						{lang="theme_template_variables_info"}
					</p>
					<br>
					<textarea class='ipsField_fullWidth' data-role='variables' placeholder='{lang="theme_template_variables"}'></textarea>
					<input type='hidden' name='_variables_fileid' value=''>
					<input type='hidden' name='_variables_type' value=''>
				</div>
				<div class='ipsPad ipsAreaBackground ipsType_right'>
					<input type='submit' class='ipsButton ipsButton_primary' value='{lang="save"}'>
				</div>
			</div>
		</div>

		<div id='elTemplateEditor_attributesDialog' class='ipsHide'>
			<div data-controller='core.admin.templates.variablesDialog'>
				<div class='ipsPad'>
					<p class='ipsType_textBlock'>
						{lang="theme_css_attributes"}
					</p>
					<br>
					<input class='ipsField_fullWidth' data-role='variables' placeholder="e.g. media='screen'">
					<input type='hidden' name='_variables_fileid' value=''>
					<input type='hidden' name='_variables_type' value=''>
				</div>
				<div class='ipsPad ipsAreaBackground ipsType_right'>
					<input type='submit' class='ipsButton ipsButton_primary' value='{lang="save"}'>
				</div>
			</div>
		</div>
	</div>
</form>
<ul class='ipsList_inline ipsType_light ipsType_small' id='elTemplateEditor_info'>
	<li class='cTemplateState_outofdate'> {lang="theme_template_outofdate"}</li>
	<li class='cTemplateState_changed'> {lang="theme_template_modified"}</li>
	<li class='cTemplateState_inherit'> {lang="theme_template_inherited"}</li>
	<li class='cTemplateState_custom'> {lang="theme_template_unique"}</li>
</ul>]]></template>
 <template template_group="customization" template_name="templateEditorAddForm" template_data="$formHTML, $type" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.templates.addForm' data-type='{$type}'>
	{$formHTML|raw}
</div>]]></template>
 <template template_group="customization" template_name="templateEditorCssPane" template_data="$theme, $templateNames, $template, $current" template_location="admin" template_app="core"><![CDATA[<div data-role="templatePanel">
	<div data-role="templatePanel" data-fileid="{$template['jsDataKey']}" data-app="{$current['app']}" data-location="{$current['location']}" data-group="{$current['group']}" data-name="{$current['template']}" data-type='css' data-itemID='{$current['item_id']}' data-inherited-value="{$template['InheritedValue']}">
		<textarea  name="editor_{$template['jsDataKey']}" id="editor_{$template['jsDataKey']}" data-role="editor">{$template['css_content']}</textarea>
	</div>
</div>]]></template>
 <template template_group="customization" template_name="templateEditorHtmlPane" template_data="$theme, $templateNames, $template, $current" template_location="admin" template_app="core"><![CDATA[<div class='ipsTabs_panel' data-role="templatePanel" id='ipsTabs_elTemplateEditor_tabbar_tab_{$template['TemplateKey']}_panel' data-fileid="{$template['TemplateKey']}" data-app="{$current['app']}" data-location="{$current['location']}" data-group="{$current['group']}" data-name="{$current['template']}" data-type='templates' data-itemID='{$current['item_id']}' data-inherited-value="{$template['InheritedValue']}">
	<input data-role="variables" type="text" name="variables_{$template['TemplateKey']}" class="ipsField_fullWidth" value='{$template['template_data']}' placeholder="{lang="skin_set_template_templatevars"}">
	<textarea name="editor_{$template['TemplateKey']}" id="editor_{$template['TemplateKey']}" data-role="editor">{$template['template_content']}</textarea>
</div>]]></template>
 <template template_group="customization" template_name="templateEditorMenu" template_data="$theme, $templateNames, $current" template_location="admin" template_app="core"><![CDATA[<ul class='cTemplateList ipsList_reset' data-type='{$current['type']}'>
{{foreach $templateNames as $app => $data}}
<li {{if $app == $current['app']}}class="cTemplateList_activeBranch"{{else}}class="cTemplateList_inactiveBranch"{{endif}} data-app="{$app}">
<a href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_app={$app}"}' data-action="toggleBranch">{$app}</a>
<ul class='ipsList_reset'>
    {{foreach $templateNames[$app] as $location => $data}}
    <li {{if $location == $current['location']}}class="cTemplateList_activeBranch"{{else}}class="cTemplateList_inactiveBranch"{{endif}} data-location="{$location}">
    <a href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_app={$app}&t_location={$location}"}' data-action="toggleBranch">{$location}</a>
    <ul class='ipsList_reset'>
        {{foreach $templateNames[$app][$location] as $group => $data}}
        {{if $current['type'] == 'css' AND $group == '.'}}
        {{foreach $data as $id => $css}}
        <li {{if $css['css_name'] == $current['template'] && !\IPS\Request::i()->isAjax()}}class="cTemplateList_activeNode"{{endif}}>
        <a data-type="{$current['type']}" href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_app={$app}&t_location={$location}&t_group={$group}&t_name="}{expression="urlencode($css['css_name'])"}' data-action="openFile" data-name="{$css['css_name']}" data-inherited-value="{$css['InheritedValue']}" data-key="{$css['jsDataKey']}" data-itemID='{$css['css_id']}'>{$css['css_name']}</a>
        </li>
        {{endforeach}}
        {{else}}
        <li {{if $location == $current['location'] AND $group == $current['group']}}class="cTemplateList_activeBranch"{{else}}class="cTemplateList_inactiveBranch"{{endif}} data-group="{$group}">
        <a href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_app={$app}&t_location={$location}&t_group={$group}"}' data-action="toggleBranch">{$group}</a>
        <ul class='ipsList_reset'>
            {{foreach $templateNames[$app][$location][$group] as $name => $data}}
            <li {{if $name == $current['template'] && !\IPS\Request::i()->isAjax()}}class="cTemplateList_activeNode"{{endif}}>
            <a data-type="{$current['type']}" href='{url="app=core&module=customization&controller=themes&do=templates&id={$theme->_id}&t_type={$current['type']}&t_app={$app}&t_location={$location}&t_group={$group}&t_name="}{expression="urlencode($name)"}' data-action="openFile" data-name="{$name}" data-inherited-value="{$data['InheritedValue']}" data-key="{$data['jsDataKey']}" data-itemID='{{if $current['type'] == 'css'}}{$data['css_id']}{{else}}{$data['template_id']}{{endif}}'>{$name}</a>
            </li>
            {{endforeach}}
        </ul>
        </li>
        {{endif}}
        {{endforeach}}
    </ul>
    </li>
    {{endforeach}}
</ul>
</li>
{{endforeach}}
</ul>]]></template>
 <template template_group="customization" template_name="templateEditorSimple" template_data="$theme, $form" template_location="admin" template_app="core"><![CDATA[<div class="acpBlock" id='elTemplateEditor' data-controller='core.admin.templates.simple'>
	{$form|raw}
</div>]]></template>
 <template template_group="customization" template_name="themeDescription" template_data="$theme" template_location="admin" template_app="core"><![CDATA[{{if mb_strtolower( $theme->author_name ) != 'invision power services' and ( $theme->author_name != '' OR $theme->author_url != '' )}}
{{if $theme->author_name != '' }} {lang="byline_nodate" sprintf="$theme->author_name"}{{endif}}{{if $theme->author_url}} {template="basicUrl" group="global" app="core" location="global" params="$theme->website(), TRUE, $theme->website(), TRUE, TRUE, TRUE"}{{endif}}
{{endif}}]]></template>
 <template template_group="customization" template_name="themeRowTitle" template_data="$theme" template_location="admin" template_app="core"><![CDATA[{$theme->_title} <span class='ipsType_small ipsType_unbold ipsType_light'>{$theme->version}</span>
<div class="ipsPos_right ipsTree_row_cells ipsType_unbold ipsType_normal">
	&nbsp;
	<span class="ipsTree_row_cell">
		{{if !$theme->customized}}
			<span class="ipsType_success"><i class="fa fa-check"></i> {lang="invision"}</span>
		{{else}}
			<span class="ipsType_neutral"><i class="fa fa-info-circle"></i> {lang="theme_has_been_customized"}</span>
		{{endif}}
	</span>
</div>]]></template>
 <template template_group="customization" template_name="themeSettingLabelWithKey" template_data="$setting" template_location="admin" template_app="core"><![CDATA[<span class='ipsThemeKey' data-ipsTooltip title="{$setting['sc_key']}">{lang="$setting['sc_title']"}</span>]]></template>
 <template template_group="customization" template_name="themeSettingRevert" template_data="$themeId, $setting" template_location="admin" template_app="core"><![CDATA[&nbsp; <a data-controller="core.admin.customization.themes" href='{url="app=core&module=customization&controller=themes&do=revertThemeSetting&id=$themeId&key={$setting['sc_key']}" csrf="true"}' class="ipsButton ipsButton_normal ipsButton_verySmall" data-ipsThemeSetting="{$setting['sc_key']}">{lang="revert"}</a>]]></template>
 <template template_group="customization" template_name="vseBadge" template_data="$themeId" template_location="admin" template_app="core"><![CDATA[<a href='{url="app=core&module=customization&controller=themes&do=launchvse&id=$themeId" csrf="true"}' class="ipsType_blendLinks" target='_blank' rel="noopener" data-ipstooltip title='{lang="core_theme_launch_vse_tooltip"}'>{lang="core_theme_launch_vse"}</a>]]></template>
 <template template_group="dashboard" template_name="adminnotes" template_data="$lastUpdated, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $formClass='', $attributes=array(), $sidebar=array(), $form=NULL" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.dashboard.adminNotes'>
	<form id='admin_notes' accept-charset='utf-8' action="{$action}" method="post" data-ipsForm class="{$formClass}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}}>
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endforeach}}


		{{foreach $elements as $collection}}
			{{foreach $collection as $input}}
				{$input->html()|raw}
			{{endforeach}}
		{{endforeach}}

		<div class='ipsClearfix ipsType_light ipsType_medium ipsSpacer_top ipsSpacer_half'>
			<div class='ipsPos_right'>
				<input type='submit' class='ipsButton ipsButton_light ipsButton_small' value="{lang="save"}">
			</div>
			<div class='ipsPos_left'>
				<span data-role='notesLoading' class='ipsHide'>
					<i class='icon-spinner2 ipsLoading_tinyIcon'></i> {lang="saving"}&nbsp;&nbsp;
				</span>

					<h3 class='ipsType_minorHeading'>{lang="admin_notes_last_update"}</h3>
					<span data-role='notesInfo' class='ipsType_medium'>
						{{if $lastUpdated}}
						{$lastUpdated}
						{{else}}
						{lang="never"}
						{{endif}}
					</span>
			</div>
		</div>
	</form>
</div>]]></template>
 <template template_group="dashboard" template_name="backgroundQueue" template_data="$rows, $totalCount" template_location="admin" template_app="core"><![CDATA[{{if \count( $rows )}}
	<div class='ipsDataList'>
		{{foreach $rows as $row}}
			<div class='ipsDataItem ipsDataItem_fullWidth'>
				<div class='ipsDataItem_generic ipsDataItem_size7'>
					{{if $row['complete'] === NULL OR $row['complete'] > 100}}
						<div class="ipsProgressBar ipsProgressBar_small ipsProgressBar_fullWidth ipsProgressBar_animated"><div class="ipsProgressBar_progress ipsProgressBar_indeterminate">{lang="progress_bar_percent_not_available"}</div></div>
					{{else}}
						<div class="ipsProgressBar ipsProgressBar_small ipsProgressBar_fullWidth"><div class="ipsProgressBar_progress" data-progress='{$row['complete']}%' style="width: {expression="number_format( $row['complete'], 2)" }%"></div></div>
					{{endif}}
				</div>
				<div class='ipsDataItem_title'>
					<span class='ipsType_medium ipsType_reset ipsSpacer_bottom ipsSpacer_half ipsTruncate ipsTruncate_line'><strong>{$row['text']|raw}</strong></span>
				</div>
			</div>
		{{endforeach}}
	</div>
	{{if $totalCount > 100}}
		<p class="ipsType_medium">
			{lang="background_process_more" pluralize="$totalCount - 100"}
		</p>
	{{endif}}
	<p class="ipsType_medium ipsType_light ipsType_center">
		{{if settings.task_use_cron == 'normal' AND !\IPS\CIC}}
			{lang="background_processes_desc_nocron"}
		{{else}}
			{lang="background_processes_desc"}
		{{endif}}
		{{if !\IPS\CIC}}
			<br>
			{lang="background_processes_run_now" sprintf="\IPS\Member::loggedIn()->language()->addToStack('background_process_run_title')"}
		{{endif}}
	</p>
{{else}}
	<div class="ipsType_medium ipsType_light ipsType_center">
		{lang="no_background_processes"}
	</div>
{{endif}}
]]></template>
 <template template_group="dashboard" template_name="connectFailures" template_data="$failures, $failureCount=0" template_location="admin" template_app="core"><![CDATA[{lang="connect_failures_desc" pluralize="$failureCount"}<br><br>
{{if !empty( $failures )}}
	<ul class='ipsDataList ipsDataList_reducedSpacing'>
	{{foreach $failures as $failure }}
		<li class='ipsDataItem'>
			<div class='ipsDataItem_main'>
				<div class='ipsPos_right ipsTree_controls'>
					<ul data-ipscontrolstrip class="ipsControlStrip ipsType_noBreak ipsList_reset">
						<li class="ipsControlStrip_button">
							<a href='{url="app=core&module=settings&controller=login&do=retryConnect&slave={$failure['slave']['slave_id']}"}' title='{lang="slave_try_again"}' data-ipsTooltip>
								<i class='ipsControlStrip_icon fa fa-play-circle'></i>
								<span class='ipsControlStrip_item'>{lang="slave_try_again"}</span>
							</a>
						</li>
						<li class="ipsControlStrip_button">
							<a href='{url="app=core&module=overview&controller=dashboard&deleteSlave={$failure['slave']['slave_id']}" csrf="1"}' title='{lang="remove_slave"}' data-confirm data-ipsTooltip data-confirmMessage="{lang="delete_slave_confirm"}">
								<i class='ipsControlStrip_icon fa fa-times-circle'></i>
								<span class='ipsControlStrip_item'>{lang="remove_slave"}</span>
							</a>
						</li>
					</ul>
				</div>
				<h4 class='ipsDataItem_title'>{$failure['slave']['slave_url']}</h4>
				<p class='ipsDataItem_meta'>
					{$failure['count']} {lang="failed_logins_suffix"}
				</p>
			</div>
		</li>
	{{endforeach}}
	</ul>
{{endif}}]]></template>
 <template template_group="dashboard" template_name="dashboard" template_data="$cols, $blocks, $info" template_location="admin" template_app="core"><![CDATA[
<div data-controller='core.admin.dashboard.main'>	
	<div class='ipsGrid ipsGrid_collapseTablet'>
		<div class='ipsGrid_span8' data-role="mainerColumn">
			<ol class='ipsList_reset' data-role="mainColumn">
				{{foreach $cols['main'] as $cellKey}}
					{{if array_key_exists( $cellKey, $blocks ) and isset($info[ $cellKey ])}}
						{template="widgetWrapper" group="dashboard" app="core" params="$blocks[ $cellKey ], $info[ $cellKey ], $cols['collapsed']"}
					{{endif}}
				{{endforeach}}
			</ol>
		</div>
		<div class='ipsGrid_span4 acpWidget_sidebar'>
			<ol class='ipsList_reset' data-role="sideColumn">
				{{foreach $cols['side'] as $cellKey}}
					{{if array_key_exists( $cellKey, $blocks ) and isset($info[ $cellKey ])}}
						{template="widgetWrapper" group="dashboard" app="core" params="$blocks[ $cellKey ], $info[ $cellKey ], $cols['collapsed']"}
					{{endif}}
				{{endforeach}}
			</ol>
		</div>
	</div>
</div>]]></template>
 <template template_group="dashboard" template_name="dashboardHeader" template_data="$info, $blocks" template_location="admin" template_app="core"><![CDATA[
<div id='acpPageHeader' class='cDashboardHeader acpPageHeader_flex'>
	<div>
		<h1 class='ipsType_pageTitle'>
			{expression="\IPS\Output::i()->title"}
			{{if \IPS\IN_DEV}}
				{template="searchKeywords" group="global" app="core" params="'app=' . \IPS\Request::i()->app . '&module=' . \IPS\Request::i()->module . '&controller=' . \IPS\Request::i()->controller . ( ( isset( \IPS\Request::i()->do ) and \IPS\Request::i()->do != 'do' ) ? ( '&do=' . \IPS\Request::i()->do ) : '' ) . ( ( \IPS\Request::i()->controller == 'enhancements' and ( isset( \IPS\Request::i()->id ) ) ) ? ( '&id=' . \IPS\Request::i()->id ) : '' )"}
			{{endif}}
		</h1>
		<p class='ipsType_reset ipsType_normal'>
			Invision Community {lang="acp_version_number" sprintf="\IPS\Application::load('core')->version"} NULLED
		</p>
	</div>

	{{$unusedBlocks = 0;}}
	{{foreach $info as $block}}
		{{if !isset($blocks[ $block['key'] ]) }}
			{{$unusedBlocks++;}}
		{{endif}}
	{{endforeach}}

	<div class='acpToolbar ipsPos_right ipsClearfix'>
		{template="pageButtons" group="global" app="core" location="admin" params="array( 'add' => array( 'primary' => true, 'icon' => 'plus', 'title' => 'add_button', 'link' => \IPS\Http\Url::internal( '#elAddWidgets_button_menu' ), 'id' => 'elAddWidgets', 'dropdown' => true, 'class' => ( $unusedBlocks > 0 ? '' : 'ipsButton_disabled' ), 'data' => array( 'ipsMenu' => true )  ) )"}
	</div>
</div>
<ul id='elAddWidgets_menu' class='ipsMenu ipsMenu_auto ipsHide'>
	{{foreach $info as $block}}
		<li class='ipsMenu_item {{if isset($blocks[ $block['key'] ]) }}ipsHide{{endif}}' data-ipsMenuValue='{$block['key']}' data-widgetName='{$block['name']}'>
			<a href='#'>{$block['name']}</a>
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="dashboard" template_name="failedLogins" template_data="$logins" template_location="admin" template_app="core"><![CDATA[{{if \count( $logins )}}
	<ul class='ipsDataList ipsDataList_reducedSpacing'>
	{{foreach $logins as $login }}
		<li class='ipsDataItem'>
			<div class='ipsDataItem_main'>
		<h4 class='ipsDataItem_title'>{$login['admin_username']}</h4>
		<p class='ipsDataItem_meta'>
			{datetime="$login['admin_time']"}
		</p>
	</div>
		</li>
	{{endforeach}}
	</ul>
	<a href="{url="app=core&module=staff&controller=admin&do=loginLogs&filter=adminloginlogs_unsuccessful"}">{lang="block_failed_logins_all"}</a>
{{else}}
	<div class='ipsType_medium ipsType_light ipsType_center'>
		{lang="no_failed_logins"}
	</div>
{{endif}}]]></template>
 <template template_group="dashboard" template_name="filesystemNotCic" template_data="$classname" template_location="admin" template_app="core"><![CDATA[{$classname}
<div class='ipsMessage ipsMessage_warning ipsSpacer_top'>{lang="file_storage_cic_filesystem"}</div>]]></template>
 <template template_group="dashboard" template_name="fileTable" template_data="$table, $headers, $rows, $quickSearch" template_location="admin" template_app="core"><![CDATA[<div data-baseurl="{$table->baseUrl}" data-resort='{$table->resortKey}' data-controller="core.global.core.table( file.moderate ),core.front.core.moderation">
	<div class='ipsFlex ipsFlex-jc:between ipsFlex-ai:center'>
		<div data-role="tablePagination" class='ipsSpacer_bottom'>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
		{template="buttons" params="$table->rootButtons, ''" group="global" app="core" if="isset( $headers['_buttons'] )"}
	</div>
	<div class="acpBlock ipsClear">
		{{if $quickSearch !== NULL or $table->advancedSearch or !empty( $table->filters )}}
		<div class='acpWidgetToolbar ipsFlex ipsFlex-jc:between ipsFlex-ai:center' data-role="tableSortBar">

			<!-- Filters -->
			{{if !empty( $table->filters )}}
				<div class='ipsButtonBar ipsClearfix ipsResponsive_showDesktop'>
					<ul class='ipsButtonRow ipsPos_left'>
						<li data-action="tableFilter" data-filter="">
							<a href='{$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'filter' => '' ) )->setPage( 'page', 1 )}' class='{{if !array_key_exists( $table->filter, $table->filters )}}ipsButtonRow_active{{endif}}'>{lang="all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-filter="{$k}">
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}' class='{{if $k === $table->filter}}ipsButtonRow_active{{endif}}'>{lang="$k"}</a>
							</li>
						{{endforeach}}
					</ul>
				</div>
			{{endif}}

			<div class='ipsFlex'>

				<!-- Search -->
				<div class='ipsFlex ipsMargin-l:auto ipsPosition:relative'>
					{{if $quickSearch !== NULL}}
						<input type='text' class='acpTable_search ipsJS_show' data-role='tableSearch' results placeholder="{{if \is_string( $quickSearch )}}{lang="search_prefix" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $table->langPrefix . $quickSearch )"}{{else}}{lang="search"}{{endif}}" value="{expression="\IPS\Request::i()->quicksearch"}">
					{{endif}}
					{{if $table->advancedSearch}}
						<a class='acpWidgetSearch' data-ipsTooltip aria-label='{lang="search"}' href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="search"}'><i class='fa fa-cog'></i></a>
					{{endif}}
				</div>

				<!-- Checkbox -->
				<div class='ipsButtonBar ipsClearfix ipsPos_right ipsResponsive_showDesktop'>
					<ul class="ipsButtonRow ipsPos_right ipsClearfix">
						<li>
							<a class="ipsJS_show" href="#elCheck_menu" id="elCheck" title='{lang="select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elFileResults" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" style='line-height: 41px'>
								<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
								<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
							</a>
							<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_menu">
								<li class="ipsMenu_title">{lang="select_rows"}</li>
								<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
								<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
							</ul>
						</li>
					</ul>
				</div>

			</div>
			
			<div class='ipsButtonBar ipsClearfix ipsResponsive_hideDesktop ipsResponsive_block'>
				{{if !empty( $table->filters )}}
					<ul class='ipsButtonRow ipsPos_left ipsClearfix'>
						<li>
							<a href='#elFilterMenu_menu' data-role="tableFilterMenu" id='elFilterMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="filter"} <i class='fa fa-caret-down'></i></a>
							<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterMenu_menu'>
								<li data-ipsMenuValue='' class='ipsMenu_item {{if !array_key_exists( $table->filter, $table->filters )}}ipsMenu_itemChecked{{endif}}'><a href={$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="all"}</a></li>
								{{foreach $table->filters as $k => $q}}
									<li class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}' data-action="tableFilter" data-ipsMenuValue='{$k}'><a href={$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="$k"}</a></li>
								{{endforeach}}
							</ul>
						</li>
					</ul>
				{{endif}}
				<ul class='ipsButtonRow ipsPos_left ipsClearfix'>
					<li>
						<a href='#elSortMenu_menu' id='elSortMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="sort_by"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elSortMenu_menu'>
							{{foreach $headers as $k => $header}}
								{{if $header !== '_buttons' && !\in_array( $header, $table->noSort )}}
									<li class='ipsMenu_item {{if $header == $table->sortBy}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$header}'>
										{{if $header == $table->sortBy and $table->sortDirection == 'desc'}}
											<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'desc' ) )}'>
										{{else}}
											<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'asc' ) )}'>
										{{endif}}
										{lang="{$table->langPrefix}{$header}"}
										</a>
									</li>
								{{endif}}
							{{endforeach}}
						</ul>
					</li>
					<li>
						<a href='#elOrderMenu_menu' id='elOrderMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="order_by"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elOrderMenu_menu'>
							<li class='ipsMenu_item {{if $table->sortDirection == 'asc'}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='asc'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => 'asc' ) )}'>{lang="ascending"}</a>
							</li>
							<li class='ipsMenu_item {{if $table->sortDirection == 'desc'}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='desc'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => 'desc' ) )}'>{lang="descending"}</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
		{{endif}}

		<div data-role="extraHtml">{$table->extraHtml|raw}</div>
		<form action="{$table->baseUrl->csrf()->setQueryString('do','multimod')}" method="post" data-role='moderationTools' data-ipsPageAction>
			<table class='ipsTable ipsTable_responsive ipsTable_zebra {{foreach $table->classes as $class}}{$class} {{endforeach}}' data-role="table" data-ipsKeyNav data-ipsKeyNav-observe='e d return'>
				<thead>
					<tr class='ipsAreaBackground'>
						{{foreach $headers as $k => $header}}
							{{if $header != 'attach_id'}}
								{{if $header !== '_buttons'}}
									<th class='{{if !\in_array( $header, $table->noSort )}}ipsTable_sortable {{if $header == ( mb_strrpos( $table->sortBy, ',' ) !== FALSE ? trim( mb_substr( $table->sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}ipsTable_sortableActive ipsTable_sortable{{if $table->sortDirection == 'asc'}}Asc{{else}}Desc{{endif}} {{else}}ipsTable_sortableAsc{{endif}}{{endif}} {{if array_key_exists( $header, $table->classes )}}{$table->classes[ $header ]}{{endif}}' data-key="{$header}" {{if !\in_array( $header, $table->noSort )}}data-action="tableSort" {{if $header == ( mb_strrpos( $table->sortBy, ',' ) !== FALSE ? trim( mb_substr( $table->sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}aria-sort="{{if $table->sortDirection == 'asc'}}ascending{{else}}descending{{endif}}"{{endif}}{{endif}} {{if isset( $table->widths[ $header ] )}}style="width: {$table->widths[ $header ]}%"{{endif}}>
									{{if !\in_array( $header, $table->noSort )}}
										{{if $header == $table->sortBy and $table->sortDirection == 'desc'}}
											<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'asc' ) )}'>
										{{else}}
											<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'desc' ) )}'>
										{{endif}}
										{lang="{$table->langPrefix}{$header}"}
										<span class='ipsTable_sortIcon'></span>
										</a>
									{{else}}
										{lang="{$table->langPrefix}{$header}"}
									{{endif}}
									</th>
								{{else}}
									<th>&nbsp;</th>
								{{endif}}
							{{endif}}
						{{endforeach}}
						<th>&nbsp;</th>
					</tr>
				</thead>
				<tbody data-role="tableRows" id="elFileResults" data-controller='ips.admin.files.multimod'>
					{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
				</tbody>
				<tfoot class="ipsClearfix ipsAreaBackground ipsJS_hide" data-role="pageActionOptions">
					<tr>
						<td colspan="8">
							<div class="ipsPos_right">
								<select name="modaction" data-role="moderationAction">
									{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'overview', 'files_delete')}}
										<option value="delete" data-icon="trash">{lang="delete"}</option>
									{{endif}}
								</select>
								<button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
							</div>
						</td>
					</tr>
				</tfoot>
			</table>
		</form>
	</div>
	<div data-role="tablePagination" class='ipsSpacer_top'>
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
	</div>
</div>
]]></template>
 <template template_group="dashboard" template_name="fileTableRows" template_data="$table, $headers, $rows" template_location="admin" template_app="core"><![CDATA[{{if empty( $rows )}}
	<tr>
		<td colspan="{expression="\count( $headers )"}">
			<div class='ipsPad_double ipsType_light'>
				{lang="no_results"}
				{{if isset( $table->rootButtons['add'] )}}
				&nbsp;&nbsp;
				<a
					{{if isset( $table->rootButtons['add']['link'] )}}href='{$table->rootButtons['add']['link']}'{{endif}}
					title='{lang="$table->rootButtons['add']['title']"}'
					class='ipsButton ipsButton_alternate ipsButton_small {{if isset( $table->rootButtons['add']['class'] )}}{$table->rootButtons['add']['class']}{{endif}}'
					role="button"
					{{if isset( $table->rootButtons['add']['data'] )}}
						{{foreach $table->rootButtons['add']['data'] as $k => $v}}
							data-{$k}="{$v}"
						{{endforeach}}
					{{endif}}
					{{if isset( $table->rootButtons['add']['hotkey'] )}}
						data-keyAction='{$table->rootButtons['add']['hotkey']}'
					{{endif}}
					>{lang="$table->rootButtons['add']['title']"}</a>
				{{endif}}
			</div>
		</td>
	</tr>
{{else}}
	{{foreach $rows as $r}}
		<tr class='ipsClearfix' data-keyNavBlock {{if isset( $r['_buttons']['view'] )}}data-tableClickTarget="view"{{elseif isset( $r['_buttons']['edit'] )}}data-tableClickTarget="edit"{{endif}}>
			{{foreach $r as $k => $v}}
				{{if $k != 'attach_id'}}
					<td class='{{if $k === ( $table->mainColumn ?: $table->quickSearch )}}ipsTable_wrap{{endif}} {{if $k === $table->mainColumn}}ipsTable_primary{{endif}} {{if $k === '_buttons'}}ipsTable_controls{{endif}}{{if isset( $table->rowClasses[ $k ] )}}{expression="implode( ' ', $table->rowClasses[ $k ] )"}{{endif}}' {{if $k !== $table->mainColumn && $k !== '_buttons' && $k !== 'photo'}}data-title="{lang="{$table->langPrefix}{$k}"}"{{endif}}>
						{{if $k === '_buttons'}}
							{template="controlStrip" params="$v" group="global" app="core"}
						{{else}}
							{$v|raw}
						{{endif}}
					</td>
				{{endif}}
			{{endforeach}}
			{{if member.hasAcpRestriction( 'core', 'overview', 'files_delete' )}}
				<td class='cFilesTable_multimod'>
					<span class='ipsCustomInput'>
						<input type="checkbox" name="multimod[{$r['attach_id']}]" value="1" data-role="moderation" data-actions="delete" data-state>
						<span></span>
					</span>
				</td>
			{{endif}}
		</tr>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="dashboard" template_name="ipsNews" template_data="$news" template_location="admin" template_app="core"><![CDATA[<ul class="ipsDataList">
	{{if isset($news) }}
	{{foreach $news as $article}}
		<li class="ipsDataItem">
			<span class='ipsDataItem_generic ipsDataItem_size4 ipsType_light ipsType_medium ipsType_right'>
				{expression="\IPS\DateTime::ts( strtotime( $article['date'] ) )->relative()"}
			</span>
			<span class="ipsDataItem_main">
				<a href="{$article['link']}" target="_blank" rel="noopener">
					{$article['title']}
				</a>
			</span>
		</li>
	{{endforeach}}
	{{else}}
	{lang="ipsnews_error_generic"}
	{{endif}}
</ul>]]></template>
 <template template_group="dashboard" template_name="memberStats" template_data="$stats, $chart" template_location="admin" template_app="core"><![CDATA[<div class='ipsType_center ipsType_light ipsType_large'>
	{lang="memberStatsDashboard_title" sprintf="$stats['member_count']" pluralize="$stats['member_count']"}
</div>
<div>{$chart|raw}</div>
]]></template>
 <template template_group="dashboard" template_name="noConnectFailures" template_data="" template_location="admin" template_app="core"><![CDATA[<div class='ipsType_medium ipsType_light ipsType_center'>
	{lang="no_failed_connect_requests"}
</div>
]]></template>
 <template template_group="dashboard" template_name="noOnlineUsers" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='ipsType_large ipsEmpty'>
	<i class='fa fa-group'></i>
	<br>{lang="no_online_users"}
</div>
]]></template>
 <template template_group="dashboard" template_name="onboard" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='ipsBox ipsBox_shadowed ipsPadding:double cOnboardBox cOnboardBox--nextSteps'>
	<h1 class='ipsType_pageTitle'>{lang="onboard_complete"}</h1>
	<p class='cOnboardBox__text'>{lang="onboard_next_steps_subtitle"}</p>
	<hr class='ipsHr'>

	<p class='cOnboardBox__text'>{lang="onboard_next_steps_intro"}</p>
	<p class='cOnboardBox__text'>{lang="onboard_next_steps_intro2"}</p>

	<hr class='ipsHr'>


	{{if \IPS\Application::appIsEnabled( 'forums' )}}
		<div class='ipsBox ipsBox_shadowed ipsMargin_bottom ipsFlex sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsFlex-ai:center ipsFlex-jc:center ipsPadding:double'>
			<div class='cOnboardBox__stepIcon ipsFlex-flex:00 ipsType_center ipsMargin_right:double'>
				<i class='fa fa-comments fa-lg'></i>
			</div>
			<div class='cOnboardBox__stepText ipsMargin_right:double sm:ipsMargin_vertical ipsFlex-flex:11'>
				<h2 class='ipsType_reset cOnboardBox__stepTitle ipsMargin_bottom:half'>{lang="onboard_next_forums_title"}</h2>
				<p class='ipsType_reset ipsType_normal'>{lang="onboard_next_forums"}</p>
			</div>
			<div class='ipsFlex-flex:00'>
				<a class="ipsButton ipsButton_light ipsButton_small" href='{url="app=forums&module=forums&controller=forums"}'>{lang="onboard_takeme"}</a>
			</div>
		</div>
	{{endif}}

	<div class='ipsBox ipsBox_shadowed ipsMargin_bottom ipsFlex sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsFlex-ai:center ipsFlex-jc:center ipsPadding:double'>
		<div class='cOnboardBox__stepIcon ipsFlex-flex:00 ipsType_center ipsMargin_right:double'>
			<i class='fa fa-group fa-lg'></i>
		</div>
		<div class='cOnboardBox__stepText ipsMargin_right:double sm:ipsMargin_vertical ipsFlex-flex:11'>
			<h2 class='ipsType_reset cOnboardBox__stepTitle ipsMargin_bottom:half'>{lang="onboard_next_groups_title"}</h2>
			<p class='ipsType_reset ipsType_normal'>{lang="onboard_next_groups"}</p>
		</div>
		<div class='ipsFlex-flex:00'>
			<a class="ipsButton ipsButton_light ipsButton_small" href='{url="app=core&module=members&controller=groups"}'>{lang="onboard_takeme"}</a>
		</div>
	</div>

	<div class='ipsBox ipsBox_shadowed ipsMargin_bottom ipsFlex sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsFlex-ai:center ipsFlex-jc:center ipsPadding:double'>
		<div class='cOnboardBox__stepIcon ipsFlex-flex:00 ipsType_center ipsMargin_right:double'>
			<i class='fa fa-unlock-alt fa-lg'></i>
		</div>
		<div class='cOnboardBox__stepText ipsMargin_right:double sm:ipsMargin_vertical ipsFlex-flex:11'>
			<h2 class='ipsType_reset cOnboardBox__stepTitle ipsMargin_bottom:half'>{lang="onboard_next_staff_title"}</h2>
			<p class='ipsType_reset ipsType_normal'>{lang="onboard_next_staff"}</p>
		</div>
		<div class='ipsFlex-flex:00'>
			<a class="ipsButton ipsButton_light ipsButton_small sm:ipsMargin_bottom:half" href='{url="app=core&module=staff&controller=admin"}'>{lang="onboard_takeme_admins"}</a>
			<a class="ipsButton ipsButton_light ipsButton_small" href='{url="app=core&module=staff&controller=moderators"}'>{lang="onboard_takeme_mods"}</a>
		</div>
	</div>

	<div class='ipsBox ipsBox_shadowed ipsMargin_bottom ipsFlex sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsFlex-ai:center ipsFlex-jc:center ipsPadding:double'>
		<div class='cOnboardBox__stepIcon ipsFlex-flex:00 ipsType_center ipsMargin_right:double'>
			<i class='fa fa-paint-brush fa-lg'></i>
		</div>
		<div class='cOnboardBox__stepText ipsMargin_right:double sm:ipsMargin_vertical ipsFlex-flex:11'>
			<h2 class='ipsType_reset cOnboardBox__stepTitle ipsMargin_bottom:half'>{lang="onboard_next_themes_title"}</h2>
			<p class='ipsType_reset ipsType_normal'>{lang="onboard_next_themes"}</p>
		</div>
		<div class='ipsFlex-flex:00'>
			<a class="ipsButton ipsButton_light ipsButton_small" href='{url="app=core&module=customization&controller=themes"}'>{lang="onboard_takeme"}</a>
		</div>
	</div>

	{{if \IPS\Application::appIsEnabled( 'nexus' )}}

		<div class='ipsBox ipsBox_shadowed ipsMargin_bottom ipsFlex sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsFlex-ai:center ipsFlex-jc:center ipsPadding:double'>
			<div class='cOnboardBox__stepIcon ipsFlex-flex:00 ipsType_center ipsMargin_right:double'>
				<i class='fa fa-usd fa-lg'></i>
			</div>
			<div class='cOnboardBox__stepText ipsMargin_right:double sm:ipsMargin_vertical ipsFlex-flex:11'>
				<h2 class='ipsType_reset cOnboardBox__stepTitle ipsMargin_bottom:half'>{lang="onboard_next_nexus_title"}</h2>
				<p class='ipsType_reset ipsType_normal'>{lang="onboard_next_nexus"}</p>
			</div>
			<div class='ipsFlex-flex:00'>
				<a class="ipsButton ipsButton_light ipsButton_small sm:ipsMargin_bottom:half" href='{url="app=nexus&module=subscriptions&controller=subscriptions"}'>{lang="onboard_takeme_subs"}</a>
				<a class="ipsButton ipsButton_light ipsButton_small" href='{url="app=nexus&module=store&controller=packages"}'>{lang="onboard_takeme_packages"}</a>
			</div>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="dashboard" template_name="onboardForm" template_data="$id, $action, $tabs, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $errorTabs=array()" template_location="admin" template_app="core"><![CDATA[
<div class='cOnboard' data-controller='core.admin.dashboard.onboard'>
	<form accept-charset='utf-8' data-formId="{$id}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm class="{$form->class}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}}>
		<input type="hidden" name="{$id}_activeTab" value="{$form->activeTab}">
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			{{if \is_array($v)}}
				{{foreach $v as $_v}}
					<input type="hidden" name="{$k}[]" value="{$_v}">
				{{endforeach}}
			{{else}}
				<input type="hidden" name="{$k}" value="{$v}">
			{{endif}}
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		{{endif}}
		{{if $form->error}}
			<div class="ipsMessage ipsMessage_error">
				{$form->error}
			</div>
		{{endif}}
		{{if !empty( $errorTabs )}}
			<p class="ipsMessage ipsMessage_error ipsJS_show">{lang="tab_error"}</p>
		{{endif}}

		{{$count = 1;}}
		{{foreach $tabs as $name => $collection}}
			{{if $name}}
				{{$closed = TRUE;}}
				{{if $count == 1}}
					{{$closed = FALSE;}}
				{{endif}}
				<div class='ipsBox ipsBox_shadowed ipsMargin_bottom cOnboard__section {{if $closed}}cOnboard__section--closed{{endif}}' data-role="sectionWrap">
					<h2 class='ipsType_pageTitle ipsPadding cOnboard__sectionTitle' data-role="sectionToggle">
						<i class="fa fa-angle-down ipsMargin_right cOnboard__sectionIcon" data-role="closeSection"></i>
						{{if \in_array( $name, $errorTabs )}}<i class="fa fa-exclamation-circle"></i> {{endif}}{lang="$name"}
					</h2>

					<div class="ipsFlex ipsFlex-fd:row sm:ipsFlex-fd:column ipsMargin_vertical:double cOnboard__sectionContents" aria-hidden="false" data-role="sectionForm">
						{{$key = str_replace( 'onboard_tab_', '', $name );}}
						<div class='ipsFlex ipsFlex-fd:column ipsFlex-flex:01 sm:ipsFlex-fd:column ipsPadding_horizontal:double cOnboard__column cOnboard__column--info cOnboard__column--withBorder'>
							<div>
								<h3 class='ipsType_sectionHead cOnboard__infoTitle'>{lang="onboard_what_are_these"}</h3>
								<p>{lang="onboard_msg_$key"}</p>
							</div>
							<div>
								<h3 class='ipsType_sectionHead cOnboard__infoTitle ipsMargin_top'>{lang="onboard_where_are_these"}</h3>
								<p>{lang="onboard_location_$key"}</p>
							</div>
						</div>

						<div class='ipsFlex-flex:11 cOnboard__column cOnboard__column--form ipsPadding_horizontal:double'>
							<ul class='ipsForm {$form->class}'>
								{{foreach $collection as $input}}
									{{if \is_string( $input )}}
										{$input|raw}
									{{else}}
										{$input->rowHtml( $form )|raw}
									{{endif}}
								{{endforeach}}
							</ul>
						</div>
					</div>

					<div class='ipsAreaBackground_light cOnboard__sectionButtons' data-role="sectionButtons">
						<div class='ipsFlex ipsFlex-fd:row sm:ipsFlex-fd:column cOnboard__sectionContents'>
							<div class='cOnboard__column cOnboard__column--info'>&nbsp;</div>
							<div class='cOnboard__column cOnboard__column--form ipsPadding_vertical'>
								<button class='ipsButton ipsButton_veryLight ipsButton_medium' data-action="nextStep" type='button'>{lang="next"}</button>
							</div>
						</div>
					</div>
				</div>
				{{$count++;}}
			{{endif}}
		{{endforeach}}

		<div class="ipsBox ipsBox_shadowed ipsClearfix ipsPad ipsType_center">
			{expression="implode( '', $actionButtons)" raw="true"}
		</div>
	</form>
</div>]]></template>
 <template template_group="dashboard" template_name="onboardWelcome" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='ipsBox ipsBox_shadowed cOnboardBox cOnboardBox--welcome'>
	<div class='ipsPos_right cOnboardBox__image'>
		<img src='{resource="welcome.svg" app="core" location="admin"}' alt=''>
	</div>
	<h1 class='ipsType_pageTitle'>{lang="onboard_pagetitle"}</h1>
	<p class='ipsMargin_bottom:double ipsMargin_top:none cOnboardBox__text'>{lang="onboard_subtitle"}</p>
	<hr class='ipsHr'>
	{lang="onboard_welcome_message"}

	<div class="ipsClearfix ipsPad ipsType_right">
		<a href='{url="app=core&module=overview&controller=onboard&do=dismiss" csrf="true"}' class='ipsButton ipsButton_link ipsButton_link_secondary'>{lang="onboard_skipquicksetup"}</a>
		<a href='{url="app=core&module=overview&controller=onboard&initial=1"}' class='ipsButton ipsButton_primary'>{lang="onboard_startquicksetup"}</a>
	</div>
</div>
]]></template>
 <template template_group="dashboard" template_name="onlineAdmins" template_data="$admins" template_location="admin" template_app="core"><![CDATA[{{if !empty( $admins )}}
	<ul class='ipsDataList ipsDataList_reducedSpacing' >
	{{foreach $admins as $admin }}
		<li class='ipsDataItem'>
			<div class='ipsDataItem_main'>
				<h4 class='ipsDataItem_title'><a href='{$admin['user']->url()}' target='_blank' rel="noopener">{$admin['user']->name}</a>{{if $admin['user'] != \IPS\Member::loggedIn() and $admin['session']['session_location'] != "app=core&module=system&controller=login"}} <a href='{expression="preg_replace( '/csrfKey=([a-zA-Z0-9]+?)&/', '&', $admin['session']['session_url'] )"}'><i class='fa fa-arrow-right'></i></a>{{endif}} </h4>
				<p class='ipsDataItem_meta'>
					{datetime="$admin['session']['session_running_time']"}
				</p>
			</div>
		</li>
	{{endforeach}}
	</ul>
{{endif}}]]></template>
 <template template_group="dashboard" template_name="onlineUsers" template_data="$online, $chart, $total" template_location="admin" template_app="core"><![CDATA[{{if \count( $online ) > 0}}
	<div class='ipsType_center ipsType_light ipsType_large'>
		{lang="onlineUsersDashboard_title" sprintf="$total" pluralize="$total"}
	</div>
	<div>{$chart|raw}</div>
{{else}}
	<div class='ipsType_center ipsType_light ipsType_large ipsFaded ipsFaded_more'>
		<i class='fa fa-group ipsType_huge'></i>
		<br>{lang="no_online_users"}
	</div>
{{endif}}
]]></template>
 <template template_group="dashboard" template_name="registrations" template_data="$chart" template_location="admin" template_app="core">{$chart|raw}</template>
 <template template_group="dashboard" template_name="widgetWrapper" template_data="$blockHtml, $info, $collapsed=array()" template_location="admin" template_app="core"><![CDATA[
<li data-widgetKey='{$info['key']}' data-widgetName='{$info['name']}'>
	<div class='ipsBox acpWidget_item'>
		<h2 class='ipsBox_titleBar ipsType_reset ipsCursor_pointer' data-widgetCollapse>
			<ul class='ipsList_reset ipsList_inline acpWidget_tools'>
				<li>
					<noscript>
						<input type='text' value='{{if isset($info['position'])}}{$info['position']}{{else}}0{{endif}}' class='acpWidget_manualReorder'>
					</noscript>
					<a href='#' class='acpWidget_reorder ipsJS_show ipsCursor_drag' data-ipsTooltip title='{lang="reorder_widget"}'><i class='fa fa-bars'></i></a>
				</li>
				<li>
					<a href='#' class='acpWidget_close' data-ipsTooltip title='{lang="close_widget"}'><i class='fa fa-times'></i></a>
				</li>
			</ul>
			<i class='fa fa-{{if \in_array( $info['key'], $collapsed )}}caret-right{{else}}caret-down{{endif}}'></i> {lang="block_{$info['key']}"}
		</h2>
		<div data-role="widgetContent" data-widgetCollapsed='{{if \in_array( $info['key'], $collapsed )}}true{{else}}false{{endif}}' data-widgetCollapse-content class='ipsPad'>
			{$blockHtml|raw}
		</div>
	</div>
</li>]]></template>
 <template template_group="editor" template_name="attachedAudio" template_data="$realUrl, $linkUrl, $title, $mimeType, $id" template_location="global" template_app="core"><![CDATA[<audio controls src="<fileStore.core_Attachment>/{$realUrl}" type="{$mimeType}" data-fileid="{$id}" data-controller="core.global.core.embeddedaudio">
    <a class="ipsAttachLink" href="{$linkUrl}">{$title}</a>
</audio>]]></template>
 <template template_group="editor" template_name="attachedFile" template_data="$url, $title, $pTag=TRUE, $ext='', $fileId='', $fileKey=''" template_location="global" template_app="core"><![CDATA[{{if $pTag}}<p>{{endif}}<a class="ipsAttachLink" href="{$url}" data-fileExt='{$ext}' {{if $fileId}}data-fileid='{$fileId}'{{endif}} {{if $fileKey}}data-filekey='{$fileKey}'{{endif}}>{$title}</a>{{if $pTag}}</p>{{endif}}]]></template>
 <template template_group="editor" template_name="attachedImage" template_data="$url, $thumbnail, $title, $id, $width, $ratio=1, $altText=NULL" template_location="global" template_app="core"><![CDATA[<p><a href="<fileStore.core_Attachment>/{$url}" class="ipsAttachLink ipsAttachLink_image" {{if $altText}}title="{$altText}"{{endif}}><img data-fileid="{$id}" {{if settings.lazy_load_enabled}}src="{expression="\IPS\Text\Parser::blankImage()"}" data-src="<fileStore.core_Attachment>/{$thumbnail}"{{else}}src="<fileStore.core_Attachment>/{$thumbnail}"{{endif}} data-ratio="{$ratio}" width="{$width}" class="ipsImage ipsImage_thumbnailed" alt="{{if $altText}}{$altText}{{else}}{$title}{{endif}}"></a></p>]]></template>
 <template template_group="editor" template_name="attachedVideo" template_data="$realUrl, $linkUrl, $title, $mimeType, $id" template_location="global" template_app="core"><![CDATA[<video controls class="ipsEmbeddedVideo" data-fileid="{$id}" {{if settings.lazy_load_enabled}}data-video-embed{{else}}data-controller="core.global.core.embeddedvideo"{{endif}}>
	<source {{if settings.lazy_load_enabled}}data-video-{{endif}}src="<fileStore.core_Attachment>/{$realUrl}" type="{$mimeType}">
	<a class="ipsAttachLink" href="{$linkUrl}">{$title}</a>
</video>]]></template>
 <template template_group="editor" template_name="code" template_data="$val, $editorId, $randomString, $language='html'" template_location="global" template_app="core"><![CDATA[<div class="ipsPad ipsForm ipsForm_vertical" data-controller='core.global.editor.code' data-editorid='{$editorId}' data-randomstring='{$randomString}'>
	<form method='get' action='#'>
		<div class="ipsPad ipsAreaBackground_light">
			<div class="ipsFieldRow ipsFieldRow_fullWidth ipsFieldRow_primary ipsLoading" data-role="codeContainer">
				<textarea id='elCodeInput{$randomString}'>{$val}</textarea>
			</div>
			<div class='ipsFieldRow'>
				<button type='submit' class="ipsButton ipsButton_primary cEditorURLButton cEditorURLButtonInsert" data-action="linkButton">{lang="editor_media_insert"}</button>
				<div class="ipsPos_right">
					<select id='elCodeMode{$randomString}' data-role="codeModeSelect" data-codeLanguage="{$language}">
						<option value="null">{lang="editor_code_null"}</option>
						<option value="htmlmixed" {{if $language == 'html' OR $language == 'htmlmixed'}}selected{{endif}}>{lang="editor_code_htmlmixed"}</option>
						<option value="css" {{if $language == 'css'}}selected{{endif}}>{lang="editor_code_css"}</option>
						<option value="javascript" {{if $language == 'javascript'}}selected{{endif}}>{lang="editor_code_javascript"}</option>
						<option value="php" {{if $language == 'php'}}selected{{endif}}>{lang="editor_code_php"}</option>
						<option value="sql" {{if $language == 'sql'}}selected{{endif}}>{lang="editor_code_sql"}</option>
						<option value="xml" {{if $language == 'xml'}}selected{{endif}}>{lang="editor_code_xml"}</option>
					</select>
				</div>
			</div>
		</div>
	</form>
</div>]]></template>
 <template template_group="editor" template_name="fakeFormTemplate" template_data="$id, $action, $tabs, $hiddenValues, $actionButtons, $uploadField" template_location="global" template_app="core"><![CDATA[<form accept-charset='utf-8' action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{foreach $tabs as $elements}}
		{{foreach $elements as $element}}
			{$element->html()|raw}
		{{endforeach}}
	{{endforeach}}
</form>
]]></template>
 <template template_group="editor" template_name="image" template_data="$editorId, $width, $height, $maximumWidth, $maximumHeight, $float, $link, $ratioWidth, $ratioHeight, $imageAlt, $editorUniqueId" template_location="global" template_app="core"><![CDATA[<div class=" ipsForm ipsForm_vertical" data-controller="core.global.editor.image" data-imageWidthRatio='{$ratioWidth}' data-imageHeightRatio='{$ratioHeight}' data-editorid='{$editorId}' data-editorUniqueId='{$editorUniqueId}'>
	<form method='get' action='#'>
		<div class='ipsPad'>
			<div class="ipsFieldRow ipsFieldRow_fullWidth ipsFieldRow_primary">
				<label class='ipsFieldRow_title'>{lang="image_link"}</label>
				<input type="text" class="" value="{$link}" data-role="imageLink">
			</div>

			<div class="ipsFieldRow ipsFieldRow_fullWidth ipsFieldRow_primary">
				<label class='ipsFieldRow_title'>{lang="image_alt"}</label>
				<input type="text" class="" value="{$imageAlt}" data-role="imageAlt">
				<span class='ipsType_light'>{lang="image_alt_desc"}</span>
			</div>

			<div class="ipsFieldRow ipsFieldRow_primary">
				<label class='ipsFieldRow_title'>{lang="image_size"}</label>
				<div class='ipsComposeArea_imageDims'>
					<input type="number" class="ipsField_short" value="{$width}" max="{$maximumWidth}" data-role="imageWidth">
					<span class='ipsType_small ipsType_light'>{lang="image_width_help"}</span>
				</div> &times; 
				<div class='ipsComposeArea_imageDims'>
					<input type="number" class="ipsField_short" value="{$height}" max="{$maximumHeight}" data-role="imageHeight">
					<span class='ipsType_small ipsType_light'>{lang="image_height_help"}</span>
				</div> {lang="px"}
				<p class='ipsType_reset ipsSpacer_top ipsSpacer_half'>
					<span class='ipsCustomInput'>
						<input type='checkbox' name='image_aspect_ratio' id='elEditorImageRatio' {{if round( \IPS\Request::i()->actualWidth / \IPS\Request::i()->actualHeight, 2 ) == round( $width / $height, 2 )}}checked{{endif}}>
						<span></span>
					</span> <label for='elEditorImageRatio'>{lang="image_aspect"}</label>
				</p>
				<br>
				<span class="ipsType_warning" data-role="imageSizeWarning"></span>
			</div>
			<div class="ipsFieldRow ipsFieldRow_primary">
				<label class='ipsFieldRow_title'>{lang="image_align"}</label>
				<ul class='ipsButton_split ipsComposeArea_imageAlign'>
					<li>
						<input type='radio' name='image_align' value='left' id='image_align_left' data-role="imageAlign" {{if $float == 'left'}}checked{{endif}} class=''>
						<label for='image_align_left' class='ipsButton ipsButton_fullWidth {{if $float == 'left'}}ipsButton_primary{{else}}ipsButton_light{{endif}} ipsButton_small'>
							{lang="image_align_left"}
						</label>
					</li>
					<li>
						<input type='radio' name='image_align' value='' id='image_align_none' data-role="imageAlign" {{if $float != 'left' and $float != 'right'}}checked{{endif}} class=''>
						<label for='image_align_none' class='ipsButton ipsButton_fullWidth {{if $float !== 'left' && $float !=='right'}}ipsButton_primary{{else}}ipsButton_light{{endif}} ipsButton_small'>
							{lang="none"}
						</label>
					</li>
					<li>
						<input type='radio' name='image_align' value='right' id='image_align_right' data-role="imageAlign" {{if $float == 'right'}}checked{{endif}} class=''>
						<label for='image_align_right' class='ipsButton ipsButton_fullWidth {{if $float == 'right'}}ipsButton_primary{{else}}ipsButton_light{{endif}} ipsButton_small'>
							{lang="image_align_right"}
						</label>
					</li>
				</ul>
			</div>
		</div>
		<div class='ipsPad ipsAreaBackground ipsFieldRow'>
			<button type='submit' class="ipsButton ipsButton_primary ipsButton_large ipsButton_fullWidth" autofocus>{lang="update"}</button>
		</div>
	</form>
</div>]]></template>
 <template template_group="editor" template_name="link" template_data="$val, $editorId" template_location="global" template_app="core"><![CDATA[<div class="ipsPad ipsForm ipsForm_vertical" data-controller='core.global.editor.link' data-editorid='{$editorId}' {{if request.image}}data-image="1"{{else}}data-image="0"{{endif}}>
	<form method='get' action='#'>
		<div class="ipsPad ipsAreaBackground_light">
			<div class="ipsFieldRow ipsFieldRow_fullWidth ipsFieldRow_primary">
				<label for='elLinkURL{$editorId}' class='ipsFieldRow_title'>{lang="url"}</label>
				<input type="text" id='elLinkURL{$editorId}' class="ipsField_fullWidth ipsField_primary cEditorURL" placeholder="{lang="editor_link_url_label"}" data-role="linkURL" value="{$val}" autofocus>
			</div>
			{{if !request.image and !request.block}}
				<div class="ipsFieldRow ipsFieldRow_fullWidth" data-role="linkTextRow">
					<label for='elLinkText{$editorId}' class='ipsFieldRow_title'>{lang="editor_link_text"}</label>
					<input type="text" id='elLinkText{$editorId}' class="ipsField_fullWidth cEditorURL" placeholder="{lang="editor_link_text_label"}" data-role="linkText" {{if request.title}}value="{expression="\IPS\Request::i()->title"}"{{else}}value=""{{endif}}>
				</div>
			{{endif}}
			<div class='ipsFieldRow'>
				<button type='submit' class="ipsButton ipsButton_primary cEditorURLButton cEditorURLButtonInsert" data-action="linkButton">{lang="editor_media_insert"}</button>
				{{if $val}}
					&nbsp;{lang="or"}&nbsp;
					<button type="button" class="ipsButton ipsButton_light ipsButton_small" data-action="linkRemoveButton">{lang="editor_link_remove"}</button>
				{{endif}}
			</div>
		</div>
	</form>
</div>]]></template>
 <template template_group="editor" template_name="linkedImage" template_data="$imageUrl, $imageName" template_location="global" template_app="core"><![CDATA[<p><img {{if settings.lazy_load_enabled}}src="{expression="\IPS\Text\Parser::blankImage()"}" data-{{endif}}src="{$imageUrl}" class="ipsImage ipsImage_thumbnailed" alt="{$imageName}"></p>]]></template>
 <template template_group="editor" template_name="mentionRow" template_data="$member" template_location="global" template_app="core"><![CDATA[<li class='ipsMenu_item ipsCursor_pointer' data-mentionhref='{$member->url()}' data-mentionid='{$member->member_id}' data-mentionhover='{$member->url()->setQueryString('do', 'hovercard')}'>
	<a>
		<img src='{$member->photo}' alt='' class='ipsUserPhoto ipsUserPhoto_tiny' loading='lazy'>
		<span class="ipsPad_half" data-role='mentionname'>{$member->name}</span>
	</a>
</li>]]></template>
 <template template_group="editor" template_name="myMedia" template_data="$editorId, $mediaSources, $currentMediaSource, $url, $results" template_location="global" template_app="core"><![CDATA[{{$safeEditorId = preg_replace( "/[^a-zA-Z0-9\-_]/", '_', $editorId );}}
<div class="cMyMedia" data-controller='core.global.editor.mymedia, core.global.editor.insertable' data-editorid='{$editorId}'>
	<div id="elEditor{$safeEditorId}Attach">
		{{if \count( $mediaSources ) > 1}}
			<div class="ipsColumns ipsColumns_collapsePhone"  data-ipsTabBar data-ipsTabBar-contentArea='#elEditor{$safeEditorId}AttachTabContent' data-ipsTabBar-itemSelector=".ipsSideMenu_item" data-ipsTabBar-activeClass="ipsSideMenu_itemActive" data-ipsTabBar-updateURL="false">
				<div class="ipsColumn ipsColumn_medium">
					<div class="ipsSideMenu ipsPad" id='elAttachmentsMenu_{$safeEditorId}' data-ipsSideMenu>
						<h3 class='ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium'>
							<a href='#elAttachmentsMenu_{$safeEditorId}' class='ipsPad_double' data-action='openSideMenu'><i class='fa fa-bars'></i> &nbsp;{lang="editor_attachment_location"}&nbsp;<i class='fa fa-caret-down'></i></a>
						</h3>
						<ul class="ipsSideMenu_list">
							{{foreach $mediaSources as $k}}
								<li>
									<a href="{url="app=core&module=system&controller=editor&do=myMedia&tab={$k}&existing=1"}" id="elEditor{$safeEditorId}AttachTabMedia{$k}" class="ipsSideMenu_item {{if $currentMediaSource == $k}}ipsSideMenu_itemActive{{endif}}">{lang="editorMedia_{$k}"}</a>
								</li>
							{{endforeach}}
						</ul>
					</div>
				</div>
				<div class="ipsColumn ipsColumn_fluid">
		{{endif}}
			<div id="elEditor{$safeEditorId}AttachTabContent" data-role="myMediaContent" class='ipsPad'>
				{{if \count( $mediaSources ) }}
					{$results|raw}
				{{else}}
					{lang="editor_no_media"}
				{{endif}}
			</div>
		{{if \count( $mediaSources ) > 1}}
				</div>
			</div>
		{{endif}}
	</div>
	<div class='ipsPad ipsAreaBackground cMyMedia_controls'>
		<ul class='ipsList_inline ipsType_right'>
			<li><a href='#' data-action="clearAll" class='ipsButton ipsButton_verySmall ipsButton_veryLight ipsButton_disabled'>{lang="editor_clear_selection"}</a></li>
			<li><a href='#' data-action="insertSelected" class='ipsButton ipsButton_verySmall ipsButton_normal ipsButton_disabled'>{lang="editor_image_upload_insert_selected"}</a></li>
		</ul>
	</div>
</div>]]></template>
 <template template_group="editor" template_name="myMediaContent" template_data="$files, $pagination, $url, $extension" template_location="global" template_app="core"><![CDATA[<div data-controller='core.global.editor.mymediasection' data-url="{$url}&search=1">
	<div class='ipsAreaBackground ipsPad_half'>
		<input type="search" class="ipsField_fullWidth" placeholder="{lang="editor_media_search"}" data-role="myMediaSearch">
	</div>
	<div data-role="myMediaResults" data-extension="{$extension}">
		{template="myMediaResults" app="core" group="editor" location="global" params="$files, $pagination, $url, $extension"}
	</div>	
</div>]]></template>
 <template template_group="editor" template_name="myMediaResults" template_data="$files, $pagination, $url" template_location="global" template_app="core"><![CDATA[{{if empty($files)}}
	<div class='ipsPad ipsAreaBackground_light'>
		{lang="no_results"}
	</div>
{{else}}
	<div class="ipsGrid ipsAttachment_fileList">
		{{foreach $files as $url => $file}}
			{template="uploadFile" group="forms" location="global" params="preg_replace( '/' . preg_quote( \IPS\Settings::i()->base_url . 'applications/core/interface/file/attachment.php?id=', '/' ) . '(\d+)(&key=[a-z0-9]+)?/i', '$1', $url ), $file, NULL, TRUE, TRUE, $url"}
		{{endforeach}}
	</div>
	<br>
	{$pagination|raw}
{{endif}}
]]></template>
 <template template_group="editor" template_name="preview" template_data="$editorID" template_location="global" template_app="core"><![CDATA[<div data-controller='core.global.editor.preview' data-editorID='{$editorID}'>
	<div class='ipsPad ipsAreaBackground_reset ipsType_richText ipsType_break ipsType_contained ipsType_normal' data-role='previewContainer'>

	</div>
</div>]]></template>
 <template template_group="embed" template_name="brightcove" template_data="$url" template_location="global" template_app="core"><![CDATA[<div class="ipsEmbeddedBrightcove">
  <div class="ipsEmbeddedBrightcove_inner">
    <iframe src="{$url|raw}"
      allowfullscreen
      webkitallowfullscreen
      mozallowfullscreen
	  class="ipsEmbeddedBrightcove_frame">
    </iframe>
  </div>
</div>
]]></template>
 <template template_group="embed" template_name="embedCommentUnavailable" template_data="$type, $item" template_location="global" template_app="core"><![CDATA[
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	<div class='ipsType_center ipsType_light ipsPadding'>
		<i class='fa fa-frown-o ipsType_veryLarge ipsType_light'></i>
		<p class='ipsType_reset ipsType_normal ipsPad'>
			{lang="embed_comment_unavailable_desc" sprintf="$type, $item->url(), $item->title"}
		</p>
	</div>
</div>]]></template>
 <template template_group="embed" template_name="embedHeader" template_data="$content, $lang, $date, $url" template_location="front" template_app="core"><![CDATA[
<div class='ipsRichEmbed_header ipsAreaBackground_light ipsClearfix'>
	<a href='{{if $url}}{$url}{{else}}{$content->url( "getPrefComment" )}{{endif}}' class='ipsRichEmbed_openItem'><i class='fa fa-external-link-square'></i></a>
	<div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsType_blendLinks'>
		{template="userPhoto" app="core" group="global" params="$content->author(), 'tiny', $content->warningRef()"}
		<div>
			<p class='ipsRichEmbed_title ipsType_reset ipsTruncate ipsTruncate_line'>
				<a href='{{if $url}}{$url}{{else}}{$content->url( "getPrefComment" )}{{endif}}'>{$lang}</a>
			</p>
			<p class='ipsRichEmbed_author ipsType_reset ipsType_light ipsTruncate ipsTruncate_line'>
				<a href='{{if $url}}{$url}{{else}}{$content->url( "getPrefComment" )}{{endif}}'>{datetime="$date"}</a>
			</p>
		</div>
	</div>
</div>]]></template>
 <template template_group="embed" template_name="embedItemStats" template_data="$content, $commentsEnabled=TRUE" template_location="front" template_app="core"><![CDATA[
{{$reactionItem = $content;}}
{{if $content::$firstCommentRequired}}
	{{$reactionItem = $content->firstComment();}}
{{endif}}

{{if ( $content instanceof \IPS\Content\Ratings and $content->averageRating() ) || ( isset( $content::$reviewClass ) AND $content->averageReviewRating() ) || $content::$commentClass || ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $reactionItem, 'IPS\Content\Reactable' ) and \count( $reactionItem->reactions() ) )}}
	<ul class='ipsList_inline ipsRichEmbed_stats ipsType_normal ipsType_blendLinks ipsSpacer_top ipsSpacer_half'>
		{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $reactionItem, 'IPS\Content\Reactable' ) and \count( $reactionItem->reactions() )}}
			<li>
				{template="reactionOverview" app="core" group="global" params="$reactionItem, TRUE, 'small'"}
			</li>
		{{endif}}
		{{if $content instanceof \IPS\Content\Ratings and $rating = $content->averageRating()}}
			<li>{template="rating" app="core" params="'large', $rating, 5" group="global"}</li>
		{{elseif isset( $content::$reviewClass ) AND $rating = $content->averageReviewRating()}}
			<li>{template="rating" app="core" params="'large', $rating, \IPS\Settings::i()->reviews_rating_out_of" group="global"}<span class='ipsType_light'>{{if $content->mapped('num_reviews')}}({lang="from_num_reviews" pluralize="$content->mapped('num_reviews')"}){{else}}{lang="no_reviews_yet"}{{endif}}</span></li>
		{{endif}}
		{{if $content::$commentClass AND $commentsEnabled}}
			<li>
				<a href='{$content->url( "getPrefComment" )->setQueryString('tab', 'comments')}'>
					<i class='fa fa-comment'></i> 
					{{if $content::$firstCommentRequired}}
						{lang="num_replies" pluralize="$content->mapped('num_comments') - 1"}
					{{else}}
						{lang="num_comments" pluralize="$content->mapped('num_comments')"}
					{{endif}}
				</a>
			</li>
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="embed" template_name="embedNoPermission" template_data="" template_location="global" template_app="core"><![CDATA[
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	<div class='ipsType_center ipsType_light ipsPadding'>
		<i class='fa fa-frown-o ipsType_veryLarge ipsType_light'></i>
		<p class='ipsType_reset ipsType_normal ipsPad'>
			{{if \IPS\Member::loggedIn()->member_id}}
				{lang="embed_no_perm_desc"}
			{{else}}
				{lang="embed_no_perm_desc_log_in"}
			{{endif}}
		</p>
	</div>
</div>]]></template>
 <template template_group="embed" template_name="embedOriginalItem" template_data="$item, $showContent=FALSE, $otherInfo=NULL" template_location="front" template_app="core"><![CDATA[
<h3 class='ipsRichEmbed_itemTitle ipsTruncate ipsTruncate_line ipsType_blendLinks'>
	<a href='{$item->url( "getPrefComment" )}' title="{$item->mapped('title')}">{$item->mapped('title')}</a>
</h3>
{{if $showContent}}
	<div class='ipsType_richText ipsType_medium' data-truncate='1'>
		{$item->truncated(TRUE)|raw}
	</div>
{{endif}}
{{if $otherInfo}}
	{$otherInfo|raw}
{{endif}}
<ul class='ipsList_inline ipsType_medium ipsType_light ipsSpacer_top ipsSpacer_half'>
	<li class='ipsRichEmbed_commentPhoto'>
		{template="userPhoto" group="global" app="core" params="$item->author(), 'tinier'"}
	</li>
	<li>
		<a href='{$item->url()->setQueryString( 'do', 'getFirstComment' )}'>
			{lang="byline" sprintf="$item->author()->name"} {datetime="$item->mapped('date')"}
		</a>
	</li>
	{{if $item::$commentClass}}
		<li>
			<a href='{$item->url()->setQueryString( 'do', 'getLastComment' )}'>
				{{if $item::$firstCommentRequired}}
					<i class='fa fa-comment'></i> {lang="num_replies" pluralize="$item->mapped('num_comments') - 1"}
				{{else}}
					<i class='fa fa-comment'></i> {lang="num_comments" pluralize="$item->mapped('num_comments')"}
				{{endif}}
			</a>
		</li>
	{{endif}}
</ul>]]></template>
 <template template_group="embed" template_name="embedUnavailable" template_data="" template_location="global" template_app="core"><![CDATA[
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	<div class='ipsType_center ipsType_light ipsPadding'>
		<i class='fa fa-frown-o ipsType_veryLarge ipsType_light'></i>
		<p class='ipsType_reset ipsType_normal ipsPad'>
			{lang="embed_unavailable_desc"}
		</p>
	</div>
</div>]]></template>
 <template template_group="embed" template_name="googleMaps" template_data="$q, $mapType, $zoom = NULL" template_location="global" template_app="core"><![CDATA[<div class='ipsEmbeddedOther' contenteditable="false">
	<iframe height="450"
	{{if $mapType == 'place'}}
		src="https://www.google.com/maps/embed/v1/place?key={setting="google_maps_api_key"}&q={$q}"
	{{elseif $mapType == 'dir'}}
		{{if isset( $q['waypoints'] )}}
			src="https://www.google.com/maps/embed/v1/directions?key={setting="google_maps_api_key"}&origin={$q['origin']}&waypoints={$q['waypoints']}&destination={$q['destination']}"
		{{else}}
			src="https://www.google.com/maps/embed/v1/directions?key={setting="google_maps_api_key"}&origin={$q['origin']}&destination={$q['destination']}"
		{{endif}}
	{{elseif $mapType == 'search'}}
		src="https://www.google.com/maps/embed/v1/search?key={setting="google_maps_api_key"}&q={$q}"
	{{elseif $mapType =='coordinates'}}
		src="https://www.google.com/maps/embed/v1/view?key={setting="google_maps_api_key"}&center={$q}&zoom={$zoom}"
	{{endif}}>
	</iframe>
</div>
]]></template>
 <template template_group="embed" template_name="iframe" template_data="$url, $width=NULL, $height=NULL, $embedId=NULL" template_location="global" template_app="core"><![CDATA[<div class='ipsEmbeddedOther' contenteditable="false">
	<iframe src="{$url|raw}" data-controller="core.front.core.autosizeiframe" {{if $embedId}}data-embedId='{$embedId}'{{endif}} allowfullscreen=''></iframe>
</div>]]></template>
 <template template_group="embed" template_name="link" template_data="$url, $title" template_location="global" template_app="core"><![CDATA[<a href='{$url}' target='_blank' rel='noopener'>{$title}</a>]]></template>
 <template template_group="embed" template_name="photo" template_data="$imageUrl, $linkUrl=NULL, $title=NULL, $width=NULL, $height=NULL" template_location="global" template_app="core"><![CDATA[{{if $linkUrl}}<a href='{$linkUrl}' target='_blank' rel='noopener'>{{endif}}
	{{if settings.lazy_load_enabled}}
		<img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{$imageUrl}' alt='{$title}' class='ipsImage' {{if $width}}width="{$width}"{{endif}} {{if $height}}height="{$height}"{{endif}}>
	{{else}}
		<img src='{$imageUrl}' alt='{$title}' class='ipsImage' {{if $width}}width="{$width}"{{endif}} {{if $height}}height="{$height}"{{endif}}>
    {{endif}}
{{if $linkUrl}}</a>{{endif}}]]></template>
 <template template_group="embed" template_name="video" template_data="$html" template_location="global" template_app="core"><![CDATA[<div class='ipsEmbeddedVideo' contenteditable="false"><div>{$html|raw}</div></div>]]></template>
 <template template_group="feeds" template_name="importPreview" template_data="$feed" template_location="admin" template_app="core"><![CDATA[<form method="post">
	<input type="hidden" name="continue" value="1">
	<ol class='ipsDataList ipsClear'>
		{{foreach $feed as $item}}
			<li class="ipsDataItem">
				<div class='ipsDataItem_main'>
					<h3 class='ipsDataItem_title'>{$item['title']}</h3>
					<div class='ipsDataItem_meta ipsType_light'>
						{$item['date']}
					</div>
				</div>
			</li>
		{{endforeach}}
	</ol>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<button type="submit" class="ipsButton ipsButton_primary">{lang="continue"}</button>
	</div>
</form>]]></template>
 <template template_group="feeds" template_name="importRow" template_data="$node" template_location="admin" template_app="core"><![CDATA[{{$url = $node->_importedIntoUrl;}}
&nbsp; <span class="ipsBadge ipsBadge_style6">
    {{if $url}}<a href="{$url}" target="_blank" data-ipsToolTip title="{$url}">{{endif}}{$node->_application->_title}{{if $url}} &nbsp; <i class="fa fa-external-link" aria-hidden="true"></i></a>{{endif}}
</span>]]></template>
 <template template_group="forms" template_name="address" template_data="$name, $value, $googleApiKey, $minimize=FALSE, $requireFullAddress=TRUE" template_location="global" template_app="core"><![CDATA[<ul class="ipsField_fieldList" data-ipsAddressForm {{if $googleApiKey}}data-ipsAddressForm-googlePlaces data-ipsAddressForm-googleApiKey="{$googleApiKey}"{{endif}} data-ipsAddressForm-requireFullAddress="{{if $requireFullAddress}}true{{else}}false{{endif}}" {{if $minimize}}data-ipsAddressForm-minimize{{endif}}{{if $value->country AND !$value->city AND !$value->region AND !$value->postalCode}} data-ipsAddressForm-country="{$value->country}"{{endif}}>
	<li>
		<select name="{$name}[country]" data-role="countrySelect" data-sort>
			<option value='' {{if !$value->country OR (!$value->city AND !$value->region AND !$value->postalCode)}}selected{{endif}}>{lang="country"}</option>
			{{foreach \IPS\GeoLocation::$countries as $k}}
				<option value="{$k}" {{if $k == $value->country AND ( ( $value->city AND ( $value->postalCode OR $value->region ) ) OR !$minimize )}}selected{{endif}}>
					{lang="country-{$k}"}
				</option>
			{{endforeach}}
		</select>
	</li>
	{{foreach $value->addressLines as $i => $line}}
		<li>
			<input type="text" name="{$name}[address][]" placeholder="{lang="address_line"}" value="{$line}" data-role="addressLine">
		</li>
	{{endforeach}}
	<li>
		<input type="text" name="{$name}[city]" placeholder="{lang="city"}" value="{$value->city}" data-role="city" autocomplete="address-level2">
	</li>
	<li>
		<input type="text" name="{$name}[region]" placeholder="{lang="region"}" value="{$value->region}" data-role="regionText" autocomplete="address-level1">
	</li>
	<li>
		<input type="text" name="{$name}[postalCode]" placeholder="{lang="zip"}" value="{$value->postalCode}" data-role="postalCode" autocomplete="postal-code">
	</li>
</ul>]]></template>
 <template template_group="forms" template_name="autocomplete" template_data="$name, $value, $required, $maxlength=NULL, $disabled=FALSE, $class='', $placeholder='', $nullLang=NULL, $autoComplete=NULL" template_location="global" template_app="core"><![CDATA[
{{$valueAsArray = \is_array( $value ) ? $value : ( \is_string( $value ) ? explode( ',', $value ) : [] );}}
{{$valueToDisplay = \is_array( $value ) ? implode( "\n", $value ) : $value;}}

{{if ( !isset( $autoComplete['commaTrigger'] ) || $autoComplete['commaTrigger'] !== FALSE )}}
	{{// If the stored value has commas in it, we need to explode then implode to get the newlines}}
	{{if $valueToDisplay and mb_stripos( $valueToDisplay, ',') !== FALSE}}
		{{$valueToDisplay = implode("\n", explode(",", $valueToDisplay));}}
	{{endif}}	
{{endif}}

<div>
{{if ( isset( $autoComplete['freeChoice'] ) && !$autoComplete['freeChoice'] ) || ( isset( $autoComplete['prefix'] ) and $autoComplete['prefix'] ) }}
<div {{if isset( $autoComplete['freeChoice'] ) && !$autoComplete['freeChoice']}}class="ipsJS_show"{{endif}} {{if isset( $autoComplete['prefix'] ) and $autoComplete['prefix']}}data-controller='core.global.core.prefixedAutocomplete'{{endif}}>
{{endif}}
<textarea
	name="{$name}"
	id='elInput_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'
	class="{$class}"
	{{if $maxlength !== NULL}}maxlength="{$maxlength}"{{endif}}
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	{{if $placeholder}}placeholder="{$placeholder}"{{endif}}
	data-ipsAutocomplete
	{{if isset( $autoComplete['freeChoice'] ) && !$autoComplete['freeChoice']}}data-ipsAutocomplete-freeChoice='false'{{endif}}
	{{if isset( $autoComplete['forceLower'] ) && $autoComplete['forceLower']}}data-ipsAutocomplete-forceLower{{endif}}
	data-ipsAutocomplete-lang='{{if isset( $autoComplete['lang'] ) && $autoComplete['lang']}}{$autoComplete['lang']}{{else}}ac_optional{{endif}}'
	{{if isset( $autoComplete['maxItems'] )}}data-ipsAutocomplete-maxItems='{$autoComplete['maxItems']}'{{endif}}
	{{if !empty($autoComplete['unique'])}}
		data-ipsAutocomplete-unique
	{{endif}}
	{{if isset($autoComplete['source']) AND \is_array( $autoComplete['source'] )}}
		list='{$name}_datalist'
	{{elseif !empty($autoComplete['source'])}}
		data-ipsAutocomplete-dataSource="{url="{$autoComplete['source']}"}"
		data-ipsAutocomplete-queryParam='input'
	{{endif}}
	{{if !empty($autoComplete['resultItemTemplate'])}}
		data-ipsAutocomplete-resultItemTemplate="{$autoComplete['resultItemTemplate']}"
	{{endif}}
	{{if isset( $autoComplete['minLength'] )}}data-ipsAutocomplete-minLength='{$autoComplete['minLength']}'{{endif}}
	{{if isset( $autoComplete['maxLength'] )}}data-ipsAutocomplete-maxLength='{$autoComplete['maxLength']}'{{endif}}
	{{if isset( $autoComplete['minAjaxLength'] )}}data-ipsAutocomplete-minAjaxLength='{$autoComplete['minAjaxLength']}'{{endif}}
	{{if isset( $autoComplete['disallowedCharacters'] )}}data-ipsAutocomplete-disallowedCharacters='{expression="json_encode( $autoComplete['disallowedCharacters'] )"}'{{endif}}
	{{if isset( $autoComplete['commaTrigger'] ) && $autoComplete['commaTrigger'] === FALSE}}data-ipsAutocomplete-commaTrigger='false'{{endif}}
	{{if isset( $autoComplete['minimized'] )}}data-ipsAutocomplete-minimized{{endif}}
>{{if $valueToDisplay}}{$valueToDisplay}{{endif}}</textarea>

{{if isset( $autoComplete['prefix'] ) and $autoComplete['prefix']}}
	<div data-role='prefixRow' class='ipsHide' id='{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}_prefixWrap'>
		<input type='checkbox' name='{$name}_freechoice_prefix' {{if isset($valueAsArray['prefix'])}}checked{{endif}} class='ipsJS_hide'> <button type='button' id='{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}_prefix' data-role="prefixButton" data-ipsMenu data-ipsMenu-selectable="radio" data-ipsMenu-appendTo="{{if ! empty($htmlId)}}#{$htmlId}{{else}}#{$name}{{endif}}_prefixWrap" class='ipsButton ipsButton_light ipsButton_verySmall'><span>{{if isset($valueAsArray['prefix'])}}{$valueAsArray['prefix']}{{else}}{lang="select_prefix"}{{endif}}</span> <i class='fa fa-caret-down'></i></button>
		<input type='hidden' data-role='prefixValue' name='{$name}_prefix' value='{{if isset($valueAsArray['prefix'])}}{$valueAsArray['prefix']}{{endif}}'>
		<ul id='{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}_prefix_menu' data-role="prefixMenu" class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide'>
			<li data-ipsMenuValue='-' class='ipsMenu_item ipsMenu_itemChecked'>
				<a href='#'>{lang="no_prefix"}</a>
			</li>
			<li class='ipsMenu_sep'>
				<hr>
			</li>
		</ul>
	</div>
	<noscript>
		<input type="hidden" name="{$name}_first_as_prefix" value="0">
		{{$valueKeys = \is_array( $value ) ? array_keys( $value ) : array_keys( explode( ',', $value ) );}}
		<input type="checkbox" name="{$name}_first_as_prefix" value="1" id="{$name}_first_as_prefix" {{if array_shift( $valueKeys ) === 'prefix'}}checked{{endif}}> <label for="{$name}_first_as_prefix">{lang="use_first_tag_as_prefix"}</label>
	</noscript>
{{endif}}

{{if ( isset( $autoComplete['freeChoice'] ) && !$autoComplete['freeChoice'] ) || ( isset( $autoComplete['prefix'] ) and $autoComplete['prefix'] ) }}
</div>
{{endif}}
</div>

{{if isset( $autoComplete['desc'] )}}
	<span class='ipsFieldRow_desc'>
		{$autoComplete['desc']|raw}
	</span>
{{endif}}

{{if $nullLang}}
	{lang="or"} 
	<span class='ipsCustomInput'>
		<input type="checkbox" data-control="unlimited" name="{$name}_null" id="{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null" value="1" {{if $value === NULL}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled{{endif}} aria-controls='{$name}' aria-labelledby='{$name}_null_label'>
		<span></span>
	</span> <label for='{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null' id='{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null_label' class='ipsField_unlimited'>{lang="$nullLang"}</label>
{{endif}}

{{if isset($autoComplete['source']) AND \is_array( $autoComplete['source'] )}}
	<datalist id="{$name}_datalist">
		{{foreach $autoComplete['source'] as $v}}
			<option value="{$v}">{$v}</option>
		{{endforeach}}
	</datalist>
{{endif}}

{{if isset( $autoComplete['freeChoice'] ) && !$autoComplete['freeChoice']}}
<noscript>
	<select name="{$name}_noscript[]" multiple>
		{{foreach $autoComplete['source'] as $v}}
			<option value="{$v}" {{if \in_array( $v, $valueAsArray )}}selected{{endif}}>{$v}</option>
		{{endforeach}}
	</select>
	{{if isset( $autoComplete['prefix'] ) and $autoComplete['prefix']}}
		<br><br>
		{lang="prefix_noscript"}
		<select name="{$name}_noscript_prefix">
			<option value=""></option>
			{{foreach $autoComplete['source'] as $v}}
				<option value="{$v}" {{if isset( $valueAsArray['prefix'] ) and $valueAsArray['prefix'] === $v}}selected{{endif}}>{$v}</option>
			{{endforeach}}
		</select>
	{{endif}}
</noscript>
{{endif}}]]></template>
 <template template_group="forms" template_name="blurb" template_data="$lang, $parse=TRUE, $background=FALSE" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_normal ipsType_richText ipsSpacer_bottom {{if $background}}ipsPad ipsAreaBackground_light{{endif}}">
	{{if $parse}}{lang="$lang"}{{else}}{$lang|raw}{{endif}}
</div>]]></template>
 <template template_group="forms" template_name="button" template_data="$lang, $type, $href=NULL, $class='', $attributes=array()" template_location="global" template_app="core"><![CDATA[{{if $type === 'link'}}
	<a href="{$href}" class='{{if ! $class or ! mb_stristr( $class, 'ipsButton' )}}ipsButton ipsButton_link{{endif}} {{if $class}}{$class}{{endif}}' {{if $attributes}}{{foreach $attributes as $key => $value}}{$key}="{$value}"{{endforeach}}{{endif}} role="button">{lang="$lang"}</a>
{{else}}
	<button type="{$type}" {{if $class}}class="{$class}"{{endif}} {{if $attributes}}{{foreach $attributes as $key => $value}}{$key}="{$value}" {{endforeach}}{{endif}} role="button">{lang="$lang"}</button>
{{endif}}]]></template>
 <template template_group="forms" template_name="captchaInvisible" template_data="$publicKey, $lang, $rowHtml=FALSE" template_location="global" template_app="core"><![CDATA[{{if $rowHtml}}<li>{{endif}}
<div data-ipsCaptcha data-ipsCaptcha-service='recaptcha_invisible' data-ipsCaptcha-key="{$publicKey}" data-ipsCaptcha-lang="{$lang}">
	<noscript>
	  <div style="width: 302px; height: 352px;">
	    <div style="width: 302px; height: 352px; position: relative;">
	      <div style="width: 302px; height: 352px; position: absolute;">
	        <iframe src="https://www.google.com/recaptcha/api/fallback?k={$publicKey}" style="width: 302px; height:352px; border-style: none;">
	        </iframe>
	      </div>
	      <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
	        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;"></textarea>
	      </div>
	    </div>
	  </div>
	</noscript>
</div>
{{if $rowHtml}}</li>{{endif}}]]></template>
 <template template_group="forms" template_name="captchaKeycaptcha" template_data="$userId, $uniq, $sign, $sign2" template_location="global" template_app="core"><![CDATA[<input type='hidden' id='capcode' name='keycaptcha'>
<script type="text/javascript">
	// required
	var s_s_c_user_id = '{$userId}';
	var s_s_c_session_id = '{$uniq}';
	var s_s_c_captcha_field_id = 'capcode';
	var s_s_c_submit_button_id ='sbutton-#-r';
	var s_s_c_web_server_sign = '{$sign}';
	var s_s_c_web_server_sign2 = '{$sign2}';
</script>
<div data-ipsCaptcha data-ipsCaptcha-service='keycaptcha' id='div_for_keycaptcha'></div>
]]></template>
 <template template_group="forms" template_name="captchaRecaptcha" template_data="$publicKey, $lang, $theme, $error" template_location="global" template_app="core"><![CDATA[<div data-ipsCaptcha data-ipsCaptcha-service='recaptcha' data-ipsCaptcha-key="{$publicKey}" data-ipsCaptcha-lang="{$lang}" data-ipsCaptcha-theme="{$theme}">
	<noscript>
		<iframe src="//www.google.com/recaptcha/api/noscript?k={$publicKey}&hl={$lang}&error={$error}" height="300" width="500"></iframe>
		<br>
		<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
		<input type="hidden" name="recaptcha_response_field" value="manual_challenge">
	</noscript>
</div>]]></template>
 <template template_group="forms" template_name="captchaRecaptcha2" template_data="$publicKey, $lang, $theme" template_location="global" template_app="core"><![CDATA[<div data-ipsCaptcha data-ipsCaptcha-service='recaptcha2' data-ipsCaptcha-key="{$publicKey}" data-ipsCaptcha-lang="{$lang}" data-ipsCaptcha-theme="{$theme}">
	<noscript>
	  <div style="width: 302px; height: 352px;">
	    <div style="width: 302px; height: 352px; position: relative;">
	      <div style="width: 302px; height: 352px; position: absolute;">
	        <iframe src="https://www.google.com/recaptcha/api/fallback?k={$publicKey}" style="width: 302px; height:352px; border-style: none;">
	        </iframe>
	      </div>
	      <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
	        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;"></textarea>
	      </div>
	    </div>
	  </div>
	</noscript>
</div>]]></template>
 <template template_group="forms" template_name="checkbox" template_data="$name, $value=FALSE, $disabled=FALSE, $togglesOn=array(), $togglesOff=array(), $label='', $hiddenName=''" template_location="admin" template_app="core"><![CDATA[<input type="hidden" name="{$hiddenName}" value="0" />
<span class='ipsCustomInput'>
	<input
		type='checkbox'
		role='checkbox'
		name='{$name}'
		value='1'
		id='check_{$name}'
		{{if $value}}checked aria-checked='true'{{endif}}
		{{if $disabled}}disabled aria-disabled='true'{{endif}}
		{{if !empty($togglesOn) OR !empty($togglesOff)}}data-control="toggle"{{endif}}
		{{if !empty($togglesOn)}} data-togglesOn="{expression="implode( ',', $togglesOn )"}" aria-controls="{expression="implode( ',', $togglesOn )"}"{{endif}}
		{{if !empty($togglesOff)}} data-togglesOff="{expression="implode( ',', $togglesOff )"}" aria-controls="{expression="implode( ',', $togglesOff )"}"{{endif}}
	>
	<span></span>
</span>
<label for='check_{$name}'>{lang="$label"}</label>]]></template>
 <template template_group="forms" template_name="checkbox" template_data="$name, $value=FALSE, $disabled=FALSE, $togglesOn=array(), $togglesOff=array(), $label='', $hiddenName='', $id=NULL, $fancyToggle=FALSE, $tooltip=NULL" template_location="global" template_app="core"><![CDATA[<input type="hidden" name="{$hiddenName}" value="0">
{{if !$fancyToggle}}<span class='ipsCustomInput'>{{endif}}
	<input
		type='checkbox'
		name='{$name}'
		value='1'
		id="check_{$id}"
		data-toggle-id="{$id}"
		{{if $value}}checked aria-checked='true'{{else}}aria-checked='false'{{endif}}
		{{if $disabled}}disabled aria-disabled='true'{{endif}}
		{{if !empty($togglesOn) OR !empty($togglesOff)}}
			data-control="toggle"
			{{if $fancyToggle}}
				data-toggle-visibleCheck="#check_{$id}_wrapper"
			{{endif}}
		{{endif}}
		{{if !empty($togglesOn)}} data-togglesOn="{expression="implode( ',', $togglesOn )"}" aria-controls="{expression="implode( ',', $togglesOn )"}"{{endif}}
		{{if !empty($togglesOff)}} data-togglesOff="{expression="implode( ',', $togglesOff )"}" aria-controls="{expression="implode( ',', $togglesOff )"}"{{endif}}
		{{if $fancyToggle}}
			data-ipsToggle
		{{endif}}
		{{if $tooltip}}title='{$tooltip}' data-ipsTooltip{{endif}}
	>
	{{if !$fancyToggle}}
	<span></span>
</span>
{{endif}}
{{if $label}}
<label for="check_{$id}">
	{lang="$label"}
</label>
{{endif}}]]></template>
 <template template_group="forms" template_name="checkboxset" template_data="$name, $value, $required, $options, $multiple=FALSE, $class='', $disabled=FALSE, $toggles=array(), $id=NULL, $unlimited=NULL, $unlimitedLang='all', $unlimitedToggles=array(), $toggleOn=TRUE, $descriptions=array(), $impliedUnlimited=FALSE, $showAllNone=TRUE, $condense=TRUE" template_location="global" template_app="core"><![CDATA[{{if $multiple}}
	<input type="hidden" name="{$name}[__EMPTY]" value="__EMPTY">
{{endif}}
<div data-control="granularCheckboxset"{{if $condense}} data-count="{expression="\count( $options )"}"{{endif}}>
	{{if $unlimited !== NULL AND $impliedUnlimited === FALSE}}
			<div data-role="checkboxsetUnlimited" class="{{if !\is_array( $value )}}ipsJS_show{{else}}ipsHide{{endif}}">
				<input
					type='checkbox'
					name="{expression="trim( $name, '[]' )"}_unlimited"
					value='{$unlimited}'
					id="{expression="trim( $id ?: $name, '[]' )"}_unlimited"
					{{if $unlimited === $value}}checked aria-checked='true'{{else}}aria-checked='false'{{endif}}
					{{if $disabled}}disabled aria-disabled='true'{{endif}}
					data-ipsToggle
					data-role="checkboxsetUnlimitedToggle"
				>
				&nbsp;
				{lang="or"}
				&nbsp;
				<a class="ipsCursor_pointer" data-action="checkboxsetCustomize">{lang="customize"}</a>
			</div>
	{{endif}}
	<div data-role="checkboxsetGranular" class="ipsField__checkboxOverflow {{if $unlimited !== NULL AND $impliedUnlimited === FALSE and !\is_array( $value )}}ipsJS_hide{{endif}}">
		<input type="search" data-role="search" placeholder="{lang="search"}" class="ipsHide ipsField__checkboxOverflow__search" />
		<ul class="ipsField_fieldList">
			{{foreach $options as $k => $v}}
				<li data-role="result">
					<span class='ipsCustomInput'>
						<input type="checkbox" {{if $class}}class="{$class}"{{endif}} name="{$name}[{$k}]" value="1" {{if ( $unlimited !== NULL AND $unlimited === $value ) or ( \is_array( $value ) AND \in_array( $k, $value ) )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elCheckbox_{$name}_{$k}">
						<span></span>
					</span>
					<div class='ipsField_fieldList_content'>
						<label for='elCheckbox_{$name}_{$k}' id='elField_{$name}_label' data-role="label">{$v|raw}</label>
						{{if isset( $descriptions[ $k ] )}}
							<br>
							<span class='ipsFieldRow_desc'>
								{$descriptions[ $k ]|raw}
							</span>
						{{endif}}
					</div>
				</li>
			{{endforeach}}
		</ul>
		
		{{if $showAllNone}}
		<div class="ipsSpacer_top ipsSpacer_half ipsJS_show ipsField__checkboxOverflow__toggles" data-role="massToggles">
			{lang="or"}
			&nbsp;
			<a class="ipsCursor_pointer" data-action="checkboxsetAll">{lang="all"}</a> / <a class="ipsCursor_pointer" data-action="checkboxsetNone">{lang="none"}</a>
		</div>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="forms" template_name="codemirror" template_data="$name, $value, $required, $maxlength=NULL, $disabled=FALSE, $class='', $placeholder='', $tags=array(), $mode='htmlmixed', $id=NULL, $height='300px', $preview=NULL, $tagLinks=array(), $tagSource=NULL" template_location="global" template_app="core"><![CDATA[{{if !empty( $tags ) OR $tagSource !== NULL}}
<div class='ipsColumns ipsColumns_collapseTablet' data-controller='core.global.editor.customtags' data-tagFieldType='codemirror' data-tagFieldID='elCodemirror_{{if $id}}{$id}{{else}}{$name}{{endif}}' {{if $tagSource}}data-tagSource='{$tagSource}'{{endif}}>
	<div class='ipsColumn_fluid ipsColumn'>
{{endif}}
<div class='ipsAreaBackground ipsPad_half ipsClearfix' data-role="editor" {{if $preview}}data-controller="core.global.editor.codePreview" data-name="{$name}" data-preview-url="{$preview}"{{endif}}>
	<textarea
	name="{$name}"
	id='elCodemirror_{{if $id}}{$id}{{else}}{$name}{{endif}}'
	value="{{if $value}}{expression="htmlentities( $value, ENT_DISALLOWED, 'UTF-8', TRUE )"}{{endif}}"
	class="ipsField_fullWidth {$class}"
	{{if $maxlength !== NULL}}maxlength="{$maxlength}"{{endif}}
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	{{if $placeholder}}placeholder="{$placeholder}"{{endif}}
	data-control="codemirror"
	data-mode="{$mode}"
	{{if $height}}data-height="{$height}"{{endif}}
>{{if $value}}{$value}{{endif}}</textarea>
	{{if $preview}}
		<button type="button" data-action="preview" data-ipsDialog data-ipsDialog-content="#{$name}_preview" class="ipsButton ipsButton_veryLight ipsSpacer_top ipsButton_verySmall ipsPos_right ipsJs_hide"><i class="fa fa-search"></i> {lang="preview"}</button>
		<div id="{$name}_preview" class="ipsHide ipsDialog_loading"></div>
	{{endif}}
</div>

{{if !empty( $tags ) OR $tagSource}}
	</div>
	<div class='ipsColumn_medium ipsColumn ipsAreaBackground_light ipsComposeArea_sidebar {{if !isset( \IPS\Request::i()->cookie['tagSidebar'] )}}ipsComposeArea_sidebarOpen{{else}}ipsComposeArea_sidebarClosed{{endif}}' data-codemirrorid='elCodemirror_{{if $id}}{$id}{{else}}{$name}{{endif}}'>
		<a href='#' data-action='tagsToggle' data-ipsTooltip data-ipsTooltip-label="{lang="toggle_sidebar"}">{lang="toggle_sidebar"}</a>
		<h3 class='ipsAreaBackground ipsPad_half ipsType_reset' data-role='tagsHeader'>{lang="editor_tags"}</h3>
		<ul class='ipsList_reset ipsScrollbar' data-role='tagsList'>
		{{if !empty( $tags )}}
			{template="editorTags" app="core" location="global" group="forms" params="$tags, $tagLinks"}
		{{endif}}
		</ul>
	</div>
</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="color" template_data="$name, $value, $required, $disabled=FALSE, $swatches=NULL, $rgba=FALSE" template_location="global" template_app="core"><![CDATA[<input type="text" name="{$name}" value="{$value}" {{if $swatches}}data-swatches="true"{{endif}} {{if $rgba}}data-rgba="true"{{endif}} {{if $required === TRUE}}aria-required='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}} data-control="color" class="">]]></template>
 <template template_group="forms" template_name="colorDisplay" template_data="$color" template_location="global" template_app="core"><![CDATA[<div class="ipsClearFix">
	<div style="background-color: {$color}; height: 15px; width: 15px; border: 1px solid black;" class="ipsPos_left"></div><div class="ipsPos_left"> &nbsp; {expression="mb_strtoupper( $color )"}</div>
</div>]]></template>
 <template template_group="forms" template_name="colorSelection" template_data="$name, $value" template_location="front" template_app="core"><![CDATA[
<ul class='ipsList_inline cColorChoices'>
	{{foreach array('none', 'information', 'general', 'warning', 'error', 'success' ) as $type}}
		<li data-ipsTooltip title='{lang="message_type_{$type}"}'>
			<input type='radio' name='{$name}' value='{$type}' {{if $value === $type}}checked{{endif}}>
			<span class='cColorChoice_chooser ipsMessage ipsMessage_{$type}'></span>
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="forms" template_name="commentTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[{{$minimized = false;}}
<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div class='ipsComposeArea ipsComposeArea_withPhoto ipsClearfix ipsContained'>
		<div data-role='whosTyping' class='ipsHide ipsMargin_bottom'></div>
		<div class='ipsPos_left ipsResponsive_hidePhone ipsResponsive_block'>{template="userPhoto" app="core" group="global" params="\IPS\Member::loggedIn(), 'small'"}</div>
		<div class='ipsComposeArea_editor'>
			{{foreach $elements as $collection}}
				{{foreach $collection as $input}}
					{{if $input->name == 'guest_name' or $input->name == 'guest_email' or $input instanceof \IPS\Helpers\Form\Select}}
						<ul class='ipsForm ipsForm_horizontal ipsMargin_bottom:half' data-ipsEditor-toolList>
							<li class='ipsFieldRow ipsFieldRow_fullWidth'>
								{$input->html()|raw}
								{{if $input->error}}
									<div class="ipsType_warning ipsSpacer_top" data-role="commentFormError">{lang="$input->error"}</div>
								{{endif}}
							</li>
						</ul>
					{{endif}}
				{{endforeach}}
			{{endforeach}}
			{{foreach $elements as $collection}}
				{{foreach $collection as $input}}
					{{if $input instanceof \IPS\Helpers\Form\Editor}}
						{{if $input->options['minimize'] !== NULL}}
							{{$minimized = true;}}
						{{endif}}
						{$input->html( TRUE )|raw}
						{{if $input->error}}
							<div class="ipsType_warning ipsSpacer_top" data-role="commentFormError">{lang="$input->error"}</div>
						{{endif}}
					{{endif}}
				{{endforeach}}
			{{endforeach}}
			<ul class='ipsToolList ipsToolList_horizontal ipsClear ipsClearfix {{if $minimized}}ipsJS_hide{{endif}}' data-ipsEditor-toolList>
				{{foreach $elements as $collection}}
					{{foreach $collection as $input}}
						{{if !($input instanceof \IPS\Helpers\Form\Select) && !($input instanceof \IPS\Helpers\Form\Editor) && $input->name != 'guest_name' && $input->name != 'guest_email'}}
							<li class='ipsPos_left ipsResponsive_noFloat {{if !($input instanceof \IPS\Helpers\Form\Captcha)}}ipsComposeArea_formControl{{endif}} ipsType_medium ipsType_light'>
								{$input->html()|raw}
								{{if $input->error}}
									<div class="ipsType_warning ipsSpacer_top" data-role="commentFormError">{lang="$input->error"}</div>
								{{endif}}
							</li>
						{{endif}}
					{{endforeach}}
				{{endforeach}}
				{{foreach $actionButtons as $button}}
					<li>{$button|raw}</li>
				{{endforeach}}
			</ul>
		</div>
	</div>
</form>]]></template>
 <template template_group="forms" template_name="commentUnavailable" template_data="$lang, $warnings=array(), $ends=NULL" template_location="front" template_app="core"><![CDATA[<div class='ipsComposeArea ipsComposeArea_withPhoto ipsComposeArea_unavailable ipsClearfix'>
	<div class='ipsPos_left ipsResponsive_hidePhone ipsResponsive_block'>{template="userPhoto" app="core" group="global" params="\IPS\Member::loggedIn(), 'small'"}</div>
	<div class='ipsComposeArea_editor'>
		<div class="ipsComposeArea_dummy">
			<span class='ipsType_warning'><i class="fa fa-warning"></i> {lang="$lang"} {{if $ends !== NULL AND $ends > 0}}{lang="restriction_ends" sprintf="\IPS\DateTime::ts( $ends )->relative()"}{{endif}}</span>
		
			{{if \count( $warnings) }}
				{{foreach $warnings as $idx => $warning}}
					{{if $idx === 0}}
						<br><br>
						<a href="{$warning->url()}" data-ipsDialog data-ipsDialog-size='narrow' class='ipsButton ipsButton_verySmall ipsButton_light'>{lang="view_warning_details"}</a>
					{{endif}}
				{{endforeach}}
			{{endif}}
		</div>
	</div>
</div>]]></template>
 <template template_group="forms" template_name="createItemUnavailable" template_data="$lang, $warnings" template_location="front" template_app="core"><![CDATA[
{lang="$lang"} 

{{if \count( $warnings) }}
	{{foreach $warnings as $idx => $warning}}
		{{if $idx === 0}}
			<br><br>
			<a href="{$warning->url()}" data-ipsDialog data-ipsDialog-size='narrow' class='ipsButton ipsButton_verySmall ipsButton_light'>{lang="view_warning_details"}</a>
		{{endif}}
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="forms" template_name="date" template_data="$name, $value, $required, $min=NULL, $max=NULL, $disabled=FALSE, $time=FALSE, $unlimited=NULL, $unlimitedLang=NULL, $unlimitedName=NULL, $toggles=array(), $toggleOn=TRUE, $class='ipsField_short', $placeholder=NULL" template_location="global" template_app="core"><![CDATA[<input
	type="date"
	name="{$name}"
	{{if $value and ($unlimited === NULL or $value and $value !== $unlimited )}}value="{{if $value instanceof \IPS\DateTime}}{$value->format('Y-m-d')}{{else}}{$value}{{endif}}" data-preferredFormat="{{if $value instanceof \IPS\DateTime}}{$value->localeDate()}{{else}}{$value}{{endif}}"{{endif}}
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $min !== NULL}}min="{$min}"{{endif}}
	{{if $max !== NULL}}max="{$max}"{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	class="{$class}"
	data-control="date"
>
{{if $time}}
<input name="{$time}" type="time" size="12" class="ipsField_short" placeholder="{lang="_time_format_hhmm"}" step='60' min='00:00' value="{{if $value instanceof \IPS\DateTime}}{$value->format('H:i')}{{endif}}" {{if $disabled}}disabled aria-disabled='true'{{endif}}>
{{endif}}
{{if $unlimited !== NULL and ( !$disabled or $unlimited === $value )}}
	&nbsp;
	{lang="or"}
	&nbsp;
	<span class='ipsCustomInput'>
		<input type="checkbox" data-control="unlimited{{if \count( $toggles )}} toggle{{endif}}" name="{$unlimitedName}" id='{$unlimitedName}' value="{$unlimited}" {{if $unlimited === $value}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled{{endif}} {{if \count( $toggles )}}{{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles )"}"{{endif}} aria-labelledby='label_{$unlimitedName}'>
		<span></span>
	</span>
	<label for='{$unlimitedName}' id='label_{$unlimitedName}' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
{{endif}}]]></template>
 <template template_group="forms" template_name="dateinterval" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[{lang="every"}
<br>
<ul class="ipsField_fieldList">
	<li><input type="number" name="{$name}[y]" class="ipsField_short" value="{$value->y}" min="0" /> {lang="years"}</li>
	<li><input type="number" name="{$name}[m]" class="ipsField_short" value="{$value->m}" min="0" /> {lang="months"}</li>
	<li><input type="number" name="{$name}[d]" class="ipsField_short" value="{$value->d}" min="0" /> {lang="days"}</li>
	<li><input type="number" name="{$name}[h]" class="ipsField_short" value="{$value->h}" min="0" /> {lang="hours"}</li>
	<li><input type="number" name="{$name}[i]" class="ipsField_short" value="{$value->i}" min="0" /> {lang="minutes"}</li>
	<li><input type="number" name="{$name}[s]" class="ipsField_short" value="{$value->s}" min="0" /> {lang="seconds"}</li>
</ul>]]></template>
 <template template_group="forms" template_name="dateRange" template_data="$start, $end, $unlimited=NULL, $unlimitedLang=NULL, $unlimitedName=NULL, $unlimitedChecked=FALSE, $toggles=array(), $toggleOn=TRUE" template_location="global" template_app="core"><![CDATA[{lang="between"} {$start|raw} {lang="and"} {$end|raw}
{{if $unlimited !== NULL}}
	&nbsp;
	{lang="or"}
	&nbsp;
	<span class='ipsCustomInput'>
		<input type="checkbox" data-control="unlimited{{if \count( $toggles )}} toggle{{endif}}" name="{$unlimitedName}" id='{$unlimitedName}' value="{$unlimited}" {{if $unlimitedChecked}}checked aria-checked='true'{{endif}} {{if \count( $toggles )}}{{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles )"}"{{endif}} aria-labelledby='label_{$unlimitedName}'>
		<span></span>
	</span>
	<label for='{$unlimitedName}' id='label_{$unlimitedName}' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
{{endif}}]]></template>
 <template template_group="forms" template_name="editContentForm" template_data="$title, $form, $container=NULL" template_location="front" template_app="core"><![CDATA[
{{if $container and \IPS\IPS::classUsesTrait( $container, 'IPS\Content\ClubContainer' ) and $club = $container->club()}}
	{{if settings.clubs and settings.clubs_header == 'full'}}
		{template="header" app="core" group="clubs" params="$club, $container"}
	{{endif}}
{{endif}}

<div class="ipsPageHeader ipsClearfix ipsSpacer_bottom">
	<h1 class="ipsType_pageTitle">{$title}</h1>
</div>
<div class='ipsBox'>{$form|raw}</div>]]></template>
 <template template_group="forms" template_name="editor" template_data="$name, $value, $options, $toolbars, $postKey, $uploadControl, $emoticons, $tags=array(), $contentClass=NULL, $contentId=NULL" template_location="global" template_app="core"><![CDATA[{{if !empty( $tags )}}
<div class='ipsColumns ipsColumns_collapseTablet' data-controller='core.global.editor.customtags' data-tagFieldType='editor' data-tagFieldID='{$name}'>
	<div class='ipsColumn_fluid ipsColumn'>
{{endif}}
		<div class='ipsComposeArea_editor' data-role="editor">
			{template="editorRaw" group="forms" app="core" location="global" params="$name, $value, $options, $toolbars, $postKey, $uploadControl, $emoticons, $tags, $contentClass, $contentId"}
		</div>
{{if !empty( $tags )}}
	</div>
	<div class='ipsColumn_medium ipsColumn ipsAreaBackground_light ipsComposeArea_sidebar {{if !isset( \IPS\Request::i()->cookie['tagSidebar'] )}}ipsComposeArea_sidebarOpen{{else}}ipsComposeArea_sidebarClosed{{endif}}'>
		<a href='#' class="ipsJS_show" data-action='tagsToggle' data-ipsTooltip data-ipsTooltip-label="{lang="toggle_sidebar"}">{lang="toggle_sidebar"}</a>
		<h3 class='ipsAreaBackground ipsPad_half ipsType_reset' data-role='tagsHeader'>{lang="editor_tags"}</h3>
		<ul class='ipsList_reset ipsScrollbar' data-role='tagsList'>
		{{foreach $tags as $tagKey => $tagValue }}
			<li class='ipsPad_half'>
				<label class="ipsJS_show" data-tagKey="{$tagKey}">{$tagKey}</label>
				<div class='ipsJS_hide ipsType_light'><strong>{$tagKey}</strong></div>
				<div class='ipsType_light '>{$tagValue}</div>
			</li>
		{{endforeach}}
		</ul>
	</div>
</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="editorAttachments" template_data="$name, $value, $minimize, $maxFileSize, $maxFiles, $maxChunkSize, $totalMaxSize, $allowedFileTypes, $pluploadKey, $multiple=FALSE, $editor=FALSE, $forceNoscript=FALSE, $template='core.attachments.fileItem', $existing=array(), $default=NULL, $supportsDelete = TRUE, $maxImageDims = NULL, $allowStockPhotos=FALSE" template_location="global" template_app="core"><![CDATA[<input name="{$name}" type="hidden" value="{$pluploadKey}">
{{if $forceNoscript}}
	<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
{{else}}
	<noscript>
		<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
		<span class="ipsType_light ipsType_small">
			{{if $allowedFileTypes !== NULL}}
				<strong>{lang="form_upload_accepted"}</strong>
				{expression="implode( ', ', $allowedFileTypes )"}
			{{endif}}
			{{if $multiple and $totalMaxSize}}
				{{if $allowedFileTypes !== NULL}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_total_max"}</strong>
				{filesize="$totalMaxSize * 1048576"}
			{{endif}}
			{{if !$multiple or !$totalMaxSize or $maxChunkSize < $totalMaxSize}}
				{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_max"}</strong>
				{$maxChunkSize}MB
			{{endif}}
			{{if $maxFiles}}
				<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
			{{endif}}
		</span>
	</noscript>
	{{if $value}}
		{{foreach $value as $id => $file}}
			<input type="hidden" name="{$name}_existing[{$id}]" value="">
		{{endforeach}}
	{{endif}}
	<div data-ipsEditor-toolList>
		{{$editorName = preg_replace( "/(.+?)_(\d+?)_$/", "$1[$2]", mb_substr( $name, 0, -7 ) );}}
		<div data-role='attachmentArea' data-controller='core.global.editor.uploader, core.global.editor.insertable' data-editorID='{$editorName}' class='ipsComposeArea_attachments ipsClearfix ipsAreaBackground_light ipsUploader ipsUploader--withBorder ipsUploader--insertable' id="{$name}_drop_{expression="md5( mt_rand() )"}" data-ipsUploader data-ipsUploader-dropTarget='#elEditorDrop_{$name}' data-ipsUploader-button='[data-action="browse"]' {{if $maxFileSize}}data-ipsUploader-maxFileSize="{expression="number_format( $maxFileSize, 3, '.', '' )"}"{{endif}} data-ipsUploader-maxChunkSize="{expression="number_format( $maxChunkSize, 3, '.', '' )"}" {{if $allowedFileTypes}}data-ipsUploader-allowedFileTypes='{expression="json_encode( $allowedFileTypes )"}'{{endif}} data-ipsUploader-name="{$name}" data-ipsUploader-key="{$pluploadKey}" {{if $multiple}}data-ipsUploader-multiple {{if $totalMaxSize}}data-ipsUploader-maxTotalSize="{expression="$totalMaxSize"}"{{endif}}{{endif}} {{if $minimize}}data-ipsUploader-minimized{{endif}} data-ipsUploader-insertable data-ipsUploader-postkey="{$editor}" data-ipsUploader-template='core.editor.attachments' {{if $value}}data-ipsUploader-existingFiles='{expression="json_encode( $existing )"}'{{endif}} {{if isset( $default )}}data-ipsUploader-default='{$default}'{{endif}} {{if $maxImageDims}}data-ipsUploader-maxImageDims="{$maxImageDims}"{{endif}} {{if $allowStockPhotos}}data-ipsUploader-allowStockPhotos="{$allowStockPhotos}"{{endif}}>
			<div class="ipsComposeArea_dropZone {{if $minimize}}ipsComposeArea_dropZoneSmall{{endif}} ipsClearfix" id='elEditorDrop_{$name}'>
				<i class='fa fa-paperclip'></i>
				<div>
					<ul class='ipsList_reset ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap ipsGap:2'>
						<li class="ipsAttachment_loading ipsLoading_small ipsAttachment_loading_editor ipsFlex-flex:00 ipsHide"><i class='fa fa-circle-o-notch fa-spin fa-fw'></i></li>
						<li class='ipsType_normal ipsFlex-flex:11' data-action='browse'>
							<div class='ipsAttachment_supportDrag ipsType_blendLinks'>
								<span>{lang="editor_attach_drag"}</span>
								<a href='#'>{lang="editor_attach_choose_drag"}</a>
							</div>
							<div class='ipsAttachment_nonDrag'>
								<button type='button' class='ipsButton ipsButton_veryLight ipsButton_verySmall ipsButton_fullWidth'>{lang="editor_attach_choose_nodrag"}</button>
							</div>
						</li>
						<li class='ipsFlex-flex:00 sm:ipsFlex-flex:10 ipsFlex'>
							<button type='button' class='ipsButton ipsButton_veryLight ipsButton_verySmall sm:ipsFlex-flex:11' data-ipsMenu id='elEditorAttach_media{expression="md5($editorName)"}'>{lang="editor_attach_other"} <i class='fa fa-caret-down'></i></button>
							<ul class='ipsMenu ipsMenu_auto ipsHide' id='elEditorAttach_media{expression="md5($editorName)"}_menu'>
								<li class='ipsMenu_item'><a href='#' data-ipsDialog data-ipsDialog-fixed data-ipsDialog-forceReload data-ipsDialog-destructOnClose data-ipsDialog-remoteSubmit='false' data-ipsDialog-remoteVerify='false' data-ipsDialog-title='{lang="editor_insert_existing_file"}' data-ipsDialog-url="{url="app=core&module=system&controller=editor&do=myMedia&postKey={$editor}&editorId={$editorName}" csrf="1"}">{lang="editor_insert_existing_file"}</a></li>
								{{if \IPS\Settings::i()->allow_remote_images}}
									<li class='ipsMenu_item'><a href='#' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="editor_insert_from_url"}' data-ipsDialog-url="{url="app=core&module=system&controller=editor&do=link&image=1&postKey={$editor}&editorId={$editorName}" csrf="1"}">{lang="editor_insert_from_url"}</a></li>
								{{endif}}
								{{if $allowStockPhotos}}
									<li class='ipsMenu_item'><a href='#' data-action='stockPhoto'>{lang="form_upload_stockart_choose_editor"}</a></li>
								{{endif}}
							</ul>
						</li>
					</ul>
					{{if $allowedFileTypes !== NULL || $maxFileSize || $totalMaxSize}}
						<ul class='ipsList_reset ipsFlex ipsFlex-fd:row sm:ipsFlex-fd:column ipsGap:4 ipsGap_row:1 ipsType_medium ipsType_light sm:ipsMargin_top:half'>
							{{if $allowedFileTypes !== NULL}}
								<li>
									<strong>{lang="form_upload_accepted"}:</strong>
									{expression="implode( ', ', $allowedFileTypes )"}
								</li>
							{{endif}}
							{{if $multiple and $totalMaxSize}}
								<li>
									<strong>{lang="form_upload_total_max"}:</strong>
									{filesize="$totalMaxSize * 1048576"}
								</li>
							{{endif}}
							{{if $maxFileSize and ( !$multiple or !$totalMaxSize or $maxFileSize < $totalMaxSize )}}
								<li>
									<strong>{lang="form_upload_max"}:</strong>
									{expression="round($maxFileSize,2)"}MB
								</li>
							{{endif}}
							{{if $maxFiles}}
								<li>{lang="form_upload_max_files" pluralize="$maxFiles"}</li>
							{{endif}}
						</ul>
					{{endif}}
					<div data-role='fileList' class='ipsComposeArea_attachmentsInner {{if \count($value) == 0}}ipsHide{{endif}}'>
						<div data-role='files' class='ipsHide ipsComposeArea_attachmentsContainer'>
							<h4 class='ipsType_small ipsType_withHr ipsType_uppercase ipsType_reset'>{lang="editor_uploaded_files"}</h4>
							<div class='ipsUploader__container ipsUploader__container--files' data-role='fileContainer'>
								{{foreach $value as $attachID => $file}}
									{{if $file->mediaType() === 'file'}}
										<div class='ipsUploader__row ipsUploader__row--insertable ipsAttach ipsContained ipsAttach_done' id='elAttach_{$attachID}' data-role='file' data-fileid='{$attachID}' data-filesize='{$file->filesize()}'{{if $file->securityKey}} data-filekey='{$file->securityKey}'{{endif}}>
											<div class='ipsUploader__rowPreview ipsType_center' data-role='preview' data-action='insertFile'>
												<div class='ipsUploader__rowPreview__generic ipsFlex ipsFlex-ai:center ipsFlex-jc:center'>
													<i class='fa fa-{expression="\IPS\File::getIconFromName( $file->originalFilename )"} ipsType_large'></i> 
												</div>
											</div>
											<div class='ipsUploader_rowMeta ipsFlex ipsFlex-flex:11 ipsFlex-fd:column ipsFlex-jc:center ipsFlex-ai:start' data-action='insertFile'>
												<h2 class='ipsUploader_rowTitle ipsMargin:none ipsType_reset ipsAttach_title ipsTruncate ipsTruncate_line' data-role='title'>{$file->originalFilename}</h2>
												<p class='ipsDataItem_meta ipsType_medium ipsType_light'>
													{filesize="$file->filesize()"}
												</p>
												<div data-role='insert' class='ipsUploader__rowInsert'>
													<a href='#' data-ipsTooltip title='{lang="insert_into_post"}'>
														{lang="editor_insert"}
													</a>
												</div>
											</div>
											<div data-role='deleteFileWrapper'>
												<a href='#' data-role='deleteFile' class='ipsUploader__rowDelete' data-ipsTooltip title='{lang="editor_media_remove"}'>
													&times;
												</a>
											</div>
										</div>
									{{endif}}
								{{endforeach}}
							</div>
						</div>
						<div data-role='images' class='ipsHide ipsComposeArea_attachmentsContainer'>
							<h4 class='ipsType_small ipsType_withHr ipsType_uppercase ipsType_reset'>{lang="editor_uploaded_images"}</h4>
							<div class='ipsUploader__container ipsUploader__container--images' data-role='fileContainer'>
								{{foreach $value as $attachID => $file}}
									{{if $file->mediaType() === 'image'}}
										<div class='ipsUploader__row ipsUploader__row--insertable ipsAttach ipsContained ipsAttach_done' id='elAttach_{$attachID}' data-role='file' data-fileid='{$attachID}' data-fullsizeurl='{$file->url}' data-thumbnailurl='{$file->attachmentThumbnailUrl}' data-fileType="image">
											<div class='ipsUploader__rowPreview ipsType_center' data-role='preview' data-action='insertFile'>
												<img src='{$file->url}' alt=''>
											</div>
											<div class='ipsUploader_rowMeta ipsFlex ipsFlex-flex:11 ipsFlex-fd:column ipsFlex-jc:center ipsFlex-ai:start' data-action='insertFile'>
												<h2 class='ipsUploader_rowTitle ipsMargin:none ipsType_reset ipsAttach_title ipsTruncate ipsTruncate_line' data-role='title'>{$file->originalFilename}</h2>
												<p class='ipsDataItem_meta ipsType_medium ipsType_light'>
													{filesize="$file->filesize()"}
												</p>
												<div data-role='insert' class='ipsUploader__rowInsert'>
													<a href='#' data-ipsTooltip title='{lang="insert_into_post"}'>
														{lang="editor_insert"}
													</a>
												</div>
											</div>
											<div data-role='deleteFileWrapper'>
												<a href='#' data-role='deleteFile' class='ipsUploader__rowDelete' data-ipsTooltip title='{lang="editor_media_remove"}'>
													&times;
												</a>
											</div>
										</div>
									{{endif}}
								{{endforeach}}
							</div>
						</div>
						<div data-role='videos' class='ipsHide ipsComposeArea_attachmentsContainer'>
							<h4 class='ipsType_small ipsType_withHr ipsType_uppercase ipsType_reset'>{lang="editor_uploaded_videos"}</h4>
							<div class='ipsUploader__container ipsUploader__container--images' data-role='fileContainer'>
								{{foreach $value as $attachID => $file}}
									{{if $file->mediaType() === 'video'}}
										<div class='ipsUploader__row ipsUploader__row--image ipsUploader__row--insertable ipsAttach ipsContained ipsAttach_done' id='elAttach_{$attachID}' data-role='file' data-fileid='{$attachID}' data-fullsizeurl='{$file->url}' data-thumbnailurl='{$file->attachmentThumbnailUrl}' data-fileType="video" data-mimeType="{expression="\IPS\File::getMimeType( $file->originalFilename )"}">
											<div class='ipsUploader__rowPreview__generic ipsFlex ipsFlex-ai:center ipsFlex-jc:center' data-role='preview' data-action='insertFile'>
												<video>
													 <source src="{$file->url}" type="{expression="\IPS\File::getMimeType( $file->originalFilename )"}">
												</video>
											</div>
											<div class='ipsUploader_rowMeta ipsFlex ipsFlex-flex:11 ipsFlex-fd:column ipsFlex-jc:center ipsFlex-ai:start' data-action='insertFile'>
												<h2 class='ipsUploader_rowTitle ipsMargin:none ipsType_reset ipsAttach_title ipsTruncate ipsTruncate_line' data-role='title'>{$file->originalFilename}</h2>
												<p class='ipsDataItem_meta ipsType_medium ipsType_light'>
													{filesize="$file->filesize()"}
												</p>
												<div data-role='insert' class='ipsUploader__rowInsert'>
													<a href='#' data-ipsTooltip title='{lang="insert_into_post"}'>
														{lang="editor_insert"}
													</a>
												</div>
											</div>
											<div data-role='deleteFileWrapper'>
												<a href='#' data-role='deleteFile' class='ipsUploader__rowDelete' data-ipsTooltip title='{lang="editor_media_remove"}'>
													&times;
												</a>
											</div>
										</div>
									{{endif}}
								{{endforeach}}
							</div>
						</div>
						<div data-role='audio' class='ipsHide ipsComposeArea_attachmentsContainer'>
							<h4 class='ipsType_small ipsType_withHr ipsType_uppercase ipsType_reset'>{lang="editor_uploaded_audio"}</h4>
							<div class='ipsUploader__container ipsUploader__container--files' data-role='fileContainer'>
								{{foreach $value as $attachID => $file}}
									{{if $file->mediaType() === 'audio'}}
										<div class='ipsUploader__row ipsUploader__row--insertable ipsAttach ipsContained ipsAttach_done' id='elAttach_{$attachID}' data-role='file' data-fileid='{$attachID}' data-fullsizeurl='{$file->url}' data-thumbnailurl='{$file->attachmentThumbnailUrl}' data-fileType="audio" data-mimeType="{expression="\IPS\File::getMimeType( $file->originalFilename )"}">
											<div class='ipsUploader__rowPreview ipsType_center' data-role='preview' data-action='insertFile'>
												<div class='ipsUploader__rowPreview__generic ipsFlex ipsFlex-ai:center ipsFlex-jc:center'>
													<i class='fa fa-{expression="\IPS\File::getIconFromName( $file->originalFilename )"} ipsType_large'></i> 
												</div>
											</div>
											<div class='ipsUploader_rowMeta ipsFlex ipsFlex-flex:11 ipsFlex-fd:column ipsFlex-jc:center ipsFlex-ai:start' data-action='insertFile'>
												<h2 class='ipsUploader_rowTitle ipsMargin:none ipsType_reset ipsAttach_title ipsTruncate ipsTruncate_line' data-role='title'>{$file->originalFilename}</h2>
												<p class='ipsDataItem_meta ipsType_medium ipsType_light'>
													{filesize="$file->filesize()"}
												</p>
												<div data-role='insert' class='ipsUploader__rowInsert'>
													<a href='#' data-ipsTooltip title='{lang="insert_into_post"}'>
														{lang="editor_insert"}
													</a>
												</div>
											</div>
											<div data-role='deleteFileWrapper'>
												<a href='#' data-role='deleteFile' class='ipsUploader__rowDelete' data-ipsTooltip title='{lang="editor_media_remove"}'>
													&times;
												</a>
											</div>
										</div>
									{{endif}}
								{{endforeach}}
							</div>
						</div>
					</div>
				</div>
			</div>		
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="editorAttachmentsMinimized" template_data="$name" template_location="global" template_app="core"><![CDATA[<div data-ipsEditor-toolList data-ipsEditor-toolListMinimized data-name="{$name}" class="ipsAreaBackground_light ipsClearfix ipsHide">
	<div data-role='attachmentArea'>
		<div class="ipsComposeArea_dropZone ipsComposeArea_dropZoneSmall ipsClearfix">
			<i class='fa fa-paperclip'></i>
			<div class='ipsType_light ipsType_normal'>
				{lang="loading"}
			</div>
		</div>		
	</div>
</div>]]></template>
 <template template_group="forms" template_name="editorAttachmentsPlaceholder" template_data="$name, $editor, $noUploaderError=NULL, $allowMedia=TRUE" template_location="global" template_app="core"><![CDATA[	<div data-ipsEditor-toolList class="ipsAreaBackground_light ipsClearfix">
		<div data-role='attachmentArea'>
			<div class="ipsComposeArea_dropZone ipsComposeArea_dropZoneSmall ipsClearfix ipsClearfix" id='elEditorDrop_{$name}'>
				<div>
					<ul class='ipsList_inline ipsClearfix'>
						{{if $noUploaderError}}
						<li>
							{lang="$noUploaderError"}
							<a href="{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}">{lang="manage_attachments"}</a>
						</li>
						{{endif}}
						{{if $allowMedia}}
						<li class='ipsPos_right'>
							<a href='#' class='ipsButton ipsButton_veryLight ipsButton_verySmall' data-ipsMenu id='elEditorAttach_media{expression="md5($name)"}'>{lang="editor_attach_other"} <i class='fa fa-caret-down'></i></a>
							<ul class='ipsMenu ipsMenu_auto ipsHide' id='elEditorAttach_media{expression="md5($name)"}_menu'>
								<li class='ipsMenu_item'><a href='#' data-ipsDialog data-ipsDialog-fixed data-ipsDialog-forceReload data-ipsDialog-title='{lang="editor_insert_existing_file"}' data-ipsDialog-url="{url="app=core&module=system&controller=editor&do=myMedia&postKey={$editor}&editorId={$name}" csrf="1"}">{lang="editor_insert_existing_file"}</a></li>
								{{if \IPS\Settings::i()->allow_remote_images}}
								<li class='ipsMenu_item'><a href='#' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="editor_insert_from_url"}' data-ipsDialog-url="{url="app=core&module=system&controller=editor&do=link&image=1&postKey={$editor}&editorId={$name}" csrf="1"}">{lang="editor_insert_from_url"}</a></li>
								{{endif}}
							</ul>
						</li>
						{{elseif \IPS\Settings::i()->allow_remote_images }}
						<div>
							<ul class='ipsList_inline ipsClearfix'>
								<li class='ipsPos_right'>
									<a class="ipsButton ipsButton_veryLight ipsButton_verySmall" href='#' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="editor_insert_from_url"}' data-ipsDialog-url="{url="app=core&module=system&controller=editor&do=link&image=1&postKey={$editor}&editorId={$name}" csrf="1"}">{lang="editor_insert_from_url"}</a></li>
								</li>
							</ul>
						</div>
						{{endif}}
					</ul>
				</div>
			</div>		
		</div>
	</div>]]></template>
 <template template_group="forms" template_name="editorRaw" template_data="$name, $value, $options, $toolbars, $postKey, $uploadControl, $emoticons, $tags=array(), $contentClass=NULL, $contentId=NULL" template_location="global" template_app="core"><![CDATA[{{if ! empty( $options['profanityBlock'] ) and \is_array( $options['profanityBlock'] )}}
<div data-role='editorCensorBlock' data-controller='core.global.editor.censorBlock' data-censorBlockWords='{expression="json_encode($options['profanityBlock'])"}' data-editorID='{$name}' class='ipsHide ipsMargin_bottom ipsAreaBackground_light ipsPad_half ipsLoading_small'>
    <div class="ipsMessage ipsMessage_warning">
        {lang="profanity_block_public_explanation"}
    </div>
    <div data-role="editorCensorBlockMessage" class="ipsType_normal ipsType_richText"><div data-role="editorCensorBlockMessageInternal"></div></div>
</div>
{{endif}}
<div class='ipsType_normal ipsType_richText ipsType_break' data-ipsEditor data-ipsEditor-controller="{url="{$options['controller']}"}" {{if $options['minimize'] !== NULL}}data-ipsEditor-minimized{{endif}} {{if @$options['minimizeAfterReset']}}data-ipseditor-minimizeafterreset{{endif}} {{if $options['allButtons']}}data-ipsEditor-allbuttons='true'{{else}}data-ipsEditor-toolbars='{expression="json_encode( $toolbars )"}'{{endif}} data-ipsEditor-extraPlugins='{setting="ckeditor_extraPlugins"}' {{if $postKey}}data-ipsEditor-postKey="{$postKey}"{{endif}} {{if $options['autoSaveKey']}}data-ipsEditor-autoSaveKey="{$options['autoSaveKey']}" {{if $options['defaultIfNoAutoSave']}}data-ipsEditor-defaultIfNoAutoSave{{endif}}{{endif}} data-ipsEditor-skin="{expression="\IPS\IN_DEV ? 'ips' : \IPS\Theme::i()->editor_skin"}" data-ipsEditor-name="{$name}"{{if !$options['autoGrow']}} data-ipsEditor-autoGrow='false'{{endif}} data-ipsEditor-pasteBehaviour='{setting="editor_paste_behaviour"}' {{if !\IPS\Settings::i()->editor_embeds}}data-ipsEditor-autoEmbed='false'{{endif}} data-ipsEditor-ipsPlugins="{$options['ipsPlugins']}" {{if $contentClass AND $contentId}}data-ipsEditor-contentClass='{$contentClass}' data-ipsEditor-contentId='{$contentId}'{{endif}}>
    <div data-role='editorComposer'>
		<noscript>
			<textarea name="{$name}_noscript" rows="15">{expression="\IPS\Helpers\Form\Editor::valueForNoJsFallback( $value )"}</textarea>
		</noscript>
		<div {{if $options['minimize']}}class="ipsHide norewrite"{{else}}class="norewrite"{{endif}} data-role="mainEditorArea">
			<textarea name="{$name}" data-role='contentEditor' class="ipsHide" tabindex='1'>{$value|doubleencode}</textarea>
		</div>
		{{if $options['minimize']}}
			<div class='ipsComposeArea_dummy ipsJS_show' tabindex='1'><i class='{$options['minimizeIcon']}'></i> {lang="$options['minimize']"}</div>
		{{endif}}
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="pasteMessage">
			<p class='ipsType_reset ipsPad_half'>
				{{if settings.editor_paste_behaviour == 'force'}}
					<a class="ipsPos_right ipsType_normal ipsCursor_pointer ipsComposeArea_editorPasteSwitch" data-action="removePasteFormatting" title='{lang="editor_keep_no_formatting"}' data-ipsTooltip>&times;</a>
					<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_pasted_with_formatting"}. &nbsp;&nbsp;<a class='ipsCursor_pointer' data-action="keepPasteFormatting">{lang="editor_restore_formatting"}</a>
				{{else}}
					<a class="ipsPos_right ipsType_normal ipsCursor_pointer ipsComposeArea_editorPasteSwitch" data-action="keepPasteFormatting" title='{lang="editor_keep_formatting"}' data-ipsTooltip>&times;</a>
					<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_pasted_with_formatting"}. &nbsp;&nbsp;<a class='ipsCursor_pointer' data-action="removePasteFormatting">{lang="editor_remove_formatting"}</a>
				{{endif}}
			</p>
		</div>
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="emoticonMessage">
			<p class='ipsType_reset ipsPad_half'>
				<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_too_many_emoticons"}.
			</p>
		</div>
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="embedMessage">
			<p class='ipsType_reset ipsPad_half'>
				<a class="ipsPos_right ipsType_normal ipsCursor_pointer ipsComposeArea_editorPasteSwitch" data-action="keepEmbeddedMedia" title='{lang="editor_keep_embed"}' data-ipsTooltip>&times;</a>
				<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_pasted_embed_link"}. &nbsp;&nbsp;<a class='ipsCursor_pointer' data-action="removeEmbeddedMedia">{lang="editor_remove_embed"}</a>
			</p>
		</div>
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="embedFailMessage">
			<p class='ipsType_reset ipsPad_half'>
			</p>
		</div>
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="autoSaveRestoreMessage">
			<p class='ipsType_reset ipsPad_half'>
				<a class="ipsPos_right ipsType_normal ipsCursor_pointer ipsComposeArea_editorPasteSwitch" data-action="keepRestoredContents" title='{lang="editor_keep_restored_contents"}' data-ipsTooltip>&times;</a>
				<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_restored_autosave"}. &nbsp;&nbsp;<a class='ipsCursor_pointer' data-action="clearEditorContents">{lang="clear_editor_contents"}</a>
			</p>
		</div>
		<div class="ipsHide ipsComposeArea_editorPaste" data-role="imageMessage">
			<p class='ipsType_reset ipsPad_half'>
				<a class="ipsPos_right ipsType_normal ipsCursor_pointer ipsComposeArea_editorPasteSwitch" data-action="removeImageMessage">&times;</a>
				<i class="fa fa-info-circle"></i>&nbsp; {lang="editor_cannot_paste_images"}
			</p>
		</div>
		{$uploadControl|raw}
	</div>
	<div data-role='editorPreview' class='ipsHide'>
		<div class='ipsAreaBackground_light ipsPad_half' data-role='previewToolbar'>
			<a href='#' class='ipsPos_right' data-action='closePreview' title='{lang="editor_close_preview"}' data-ipsTooltip>&times;</a>
			<ul class='ipsButton_split'>
				<li data-action='resizePreview' data-size='desktop'><a href='#' title='{lang="device_desktop_preview"}' data-ipsTooltip class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="device_desktop"}</a></li>
				<li data-action='resizePreview' data-size='tablet'><a href='#' title='{lang="device_tablet_preview"}' data-ipsTooltip class='ipsButton ipsButton_verySmall ipsButton_light'>{lang="device_tablet"}</a></li>
				<li data-action='resizePreview' data-size='phone'><a href='#' title='{lang="device_phone_preview"}' data-ipsTooltip class='ipsButton ipsButton_verySmall ipsButton_light'>{lang="device_phone"}</a></li>
			</ul>
		</div>
		<div data-role='previewContainer' class='ipsAreaBackground ipsType_center'></div>
	</div>
</div>]]></template>
 <template template_group="forms" template_name="editorTags" template_data="$tags=array(), $tagLinks=array()" template_location="global" template_app="core"><![CDATA[
{{foreach $tags as $tagKey => $tagValue}}
	{{if \is_array( $tagValue )}}
		<li>
			<ul class='ipsList_reset'>
				<li>
					<h4 class='ipsAreaBackground ipsPad_half ipsType_reset'>
						{{if isset( $tagLinks[$tagKey] )}}
						<a href='{$tagLinks[$tagKey]['link']}' target='_blank' {{if isset( $tagLinks[$tagKey]['data'] )}}{{foreach $tagLinks[$tagKey]['data'] AS $dataKey => $dataValue}}data-{$dataKey}='{$dataValue}'{{endforeach}}{{endif}} {{if isset( $tagLinks[$tagKey]['title'] )}}title='{$tagLinks[$tagKey]['title']}' data-ipsTooltip{{endif}}'>
							<ul class='ipsPos_right ipsButton_split'>
								<li  class='ipsButton ipsButton_tiny ipsButton_light'><i class='fa fa-{$tagLinks[$tagKey]['icon']}'></i></li>
							</ul>
						</a>
						{{endif}}
						{lang="$tagKey"}
					</h4>
				</li>
				<li>
					<ul class='ipsList_reset' data-role='tagList_{$tagKey}'>
					{{foreach $tagValue as $key => $value}}
						<li class='ipsPad_half'>
							<label data-tagKey="{$key}">{$key}</label>
							<div class='ipsType_light ipsType_small'>{$value}</div>
						</li>
					{{endforeach}}
					</ul>
				</li>
			</ul>
		</li>
	{{else}}
		<li class='ipsPad_half'>
			<label data-tagKey="{$tagKey}">{$tagKey} {{if isset( $tagLinks[$tagKey] )}}<a href='{$tagLinks[$tagKey]['link']}' target='_blank' {{if isset( $tagLinks[$tagKey]['data'] )}}{{foreach $tagLinks[$tagKey]['data'] AS $dataKey => $dataValue}}data-{$dataKey}='{$dataValue}'{{endforeach}}{{endif}} {{if isset( $tagLinks[$tagKey]['title'] )}}title='{$tagLinks[$tagKey]['title']}' data-ipsTooltip{{endif}}'><i class='fa fa-{$tagLinks[$tagKey]['icon']}'></i></a>{{endif}}</label>
			{{if $tagValue}}<div class='ipsType_light ipsType_small'>{$tagValue}</div>{{endif}}
		</li>
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="forms" template_name="editTagsForm" template_data="$form" template_location="front" template_app="core"><![CDATA[<div class="ipsPad">
	{$form|raw}
</div>]]></template>
 <template template_group="forms" template_name="emptyRow" template_data="$contents, $id=NULL" template_location="admin" template_app="core"><![CDATA[<li class='ipsFieldRow ipsPad_half ipsClearfix' {{if $id}}id="{$id}"{{endif}}>
	{$contents|raw}
</li>]]></template>
 <template template_group="forms" template_name="emptyRow" template_data="$contents, $id=NULL" template_location="front" template_app="core"><![CDATA[<li class='ipsFieldRow ipsPad_half ipsClearfix' {{if $id}}id="{$id}"{{endif}}>
	{$contents|raw}
</li>]]></template>
 <template template_group="forms" template_name="ftp" template_data="$name, $value, $showBypassValidationCheckbox=FALSE" template_location="global" template_app="core"><![CDATA[<div data-controller="core.global.core.ftp">
	<ul class='ipsList_reset'>
		<li class='ipsFieldRow_inlineCheckbox'>
			<input type="radio" name="{$name}[protocol]" value="ftp" id="{$name}_ftp" data-role="portToggle" data-port="21" {{if !isset( $value['protocol'] ) or $value['protocol'] == 'ftp'}}checked{{endif}}> <label for='{$name}_ftp'>{lang="FTP"}</label>
		</li>
		<li class='ipsFieldRow_inlineCheckbox'>
			<input type="radio" name="{$name}[protocol]" value="ssl_ftp" id="{$name}_ssl_ftp" data-role="portToggle" data-port="21" {{if isset( $value['protocol'] ) and $value['protocol'] == 'ssl_ftp'}}checked{{endif}}> <label for='{$name}_ssl_ftp'>{lang="ftp_with_ssl"}</label>
		</li>
		<li class='ipsFieldRow_inlineCheckbox'>
			<input type="radio" name="{$name}[protocol]" value="sftp" id="{$name}_sftp" data-role="portToggle" data-port="22" {{if isset( $value['protocol'] ) and $value['protocol'] == 'sftp'}}checked{{endif}}> <label for='{$name}_sftp'>{lang="SFTP"}</label>
		</li>
	</ul>
	<br>
	<ul class='ipsField_translatable ipsList_inline ipsList_reset'>
		<li class='ipsClearfix'>
			<span class="ipsFlag fa fa-globe"></span>
			<input type='text' name="{$name}[server]" placeholder="ftp.example.com" data-role="serverInput" {{if isset( $value['server'] )}}value="{$value['server']}"{{endif}} class="ipsField_medium">
		</li>
		<li class='ipsClearfix'>
			<span class="ipsFlag fa fa-bolt"></span>
			<input type='text' name="{$name}[port]" data-role="portInput" placeholder="{lang="port"}" value="{{if isset( $value['port'] )}}{$value['port']}{{else}}21{{endif}}" class="ipsField_tiny">
		</li>
	</ul>
	<ul class='ipsField_translatable ipsList_reset'>
		<li class='ipsClearfix'>
			<span class="ipsFlag fa fa-user"></span>
			<input type='text' name="{$name}[un]" data-role="usernameInput" placeholder="{lang="ftp_username"}" {{if isset( $value['un'] )}}value="{$value['un']}"{{endif}}>
		</li>
		<li class='ipsClearfix'>
			<span class="ipsFlag fa fa-lock"></span>
			<input type='password' name="{$name}[pw]" data-role="passwordInput" placeholder="{lang="password"}" {{if isset( $value['pw'] )}}value="{$value['pw']}"{{endif}}>
		</li>
		<li class='ipsClearfix'>
			<span class="ipsFlag fa fa-folder-o"></span>
			<input type='text' name="{$name}[path]" data-role="pathInput" placeholder="/path/" {{if isset( $value['path'] )}}value="{$value['path']}"{{endif}}>
		</li>
	</ul>
	{{if $showBypassValidationCheckbox}}
		<ul class='ipsList_reset'>
			<li>
				<label for='{$name}_bypassValidation'>
					<input type='checkbox' name="{$name}[bypassValidation]" value="1" id='{$name}_bypassValidation'>
					{lang="ftp_bypass_validation"}
				</label>
			</li>
		</ul>
	{{endif}}
</div>]]></template>
 <template template_group="forms" template_name="ftpDisplay" template_data="$value, $url" template_location="global" template_app="core"><![CDATA[{{if $value}}
	<div class="ipsClearFix">
		<ul class="ipsList ipsList_inline">
			<li>
				{{if $value['protocol'] === 'sftp'}}
					<span class="ipsBadge ipsBadge_style1">SFTP</span>
				{{elseif $value['protocol'] === 'ssl_ftp'}}
					<span class="ipsBadge ipsBadge_style6">{lang="ftp_with_ssl"}</span>
				{{endif}}
				<span class="ipsType_monospace">{$value['server']}{{if $value['port']}}:{$value['port']}{{endif}}</span>
			</li>
			<li>
				<i class="fa fa-user"></i> <span class="ipsType_monospace">{$value['un']}</span>
			</li>
			<li>
				<i class="fa fa-lock"></i> <span class="ipsType_monospace">{$value['pw']}</span>
			</li>
			{{if $value['path']}}
				<li>
					<i class="fa fa-folder"></i> <span class="ipsType_monospace">{$value['path']}</span>
				</li>
			{{endif}}
			{{if $url}}
				<li>
					<a href="{$url}" class="ipsButton ipsButton_light ipsButton_veryVerySmall">{lang="connect"}</a>
				</li>
			{{endif}}
		</ul>
	</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="hCaptcha" template_data="$siteKey" template_location="global" template_app="core"><![CDATA[<div data-ipsCaptcha data-ipsCaptcha-service='hcaptcha' data-ipsCaptcha-key="{$siteKey}">
	<div class="h-captcha" data-sitekey="{$siteKey}"></div>
</div>
]]></template>
 <template template_group="forms" template_name="header" template_data="$lang, $id=NULL" template_location="admin" template_app="core"><![CDATA[<li {{if $id !== NULL}} id="{$id}"{{endif}}>
	<h2 class='ipsFieldRow_section'>{lang="$lang"}</h2>
</li>]]></template>
 <template template_group="forms" template_name="header" template_data="$lang, $id=NULL" template_location="front" template_app="core"><![CDATA[<li {{if $id !== NULL}} id="{$id}"{{endif}}>
	<h2 class='ipsFieldRow_section'>{lang="$lang"}</h2>
</li>
<br>]]></template>
 <template template_group="forms" template_name="interval" template_data="$name, $valueNumber, $selectedUnit, $required, $unlimited, $unlimitedLang, $unlimitedToggles, $unlimitedToggleOn, $valueToggles, $minSeconds, $maxSeconds, $disabled=FALSE, $suffix = NULL" template_location="global" template_app="core"><![CDATA[<input
	type="number"
	name="{$name}[val]"
	size="5"
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $unlimited !== NULL and $valueNumber == $unlimited}}
		value=""
		data-jsdisable="true"
	{{else}}
		value="{$valueNumber}"
	{{endif}}
	class="ipsField_short"
	{{if $minSeconds !== NULL}}
		min="{expression="floor($minSeconds/86400)"}"
	{{endif}}
	{{if $maxSeconds !== NULL}}
		max="{$maxSeconds}"
	{{endif}}
	step="any"
	{{if $disabled}}
		disabled aria-disabled='true'
	{{endif}}
	{{if \count( $valueToggles )}}
		data-control="toggle" data-toggles="{expression="implode( ',', $valueToggles )"}"
	{{endif}}
>
<select name="{$name}[unit]" {{if $required === TRUE}}aria-required='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}}>
	{{if $maxSeconds === NULL or $maxSeconds >= 604800}}
		<option value="w" {{if $selectedUnit === 'w'}}selected{{endif}}>{lang="weeks"}</option>
	{{endif}}
	{{if ( $maxSeconds === NULL or $maxSeconds >= 86400 ) and ( $minSeconds === NULL or $minSeconds < 604800 )}}
		<option value="d" {{if $selectedUnit === 'd'}}selected{{endif}}>{lang="days"}</option>
	{{endif}}
	{{if ( $maxSeconds === NULL or $maxSeconds >= 3600 ) and ( $minSeconds === NULL or $minSeconds < 86400 )}}
		<option value="h" {{if $selectedUnit === 'h'}}selected{{endif}}>{lang="hours"}</option>
	{{endif}}
	{{if ( $maxSeconds === NULL or $maxSeconds >= 60 ) and ( $minSeconds === NULL or $minSeconds < 3600 )}}
		<option value="i" {{if $selectedUnit === 'i'}}selected{{endif}}>{lang="minutes"}</option>
	{{endif}}
	{{if $minSeconds === NULL or $minSeconds < 60}}
		<option value="s" {{if $selectedUnit === 's'}}selected{{endif}}>{lang="seconds"}</option>
	{{endif}}
</select>
{{if \is_string( $suffix )}}
	{$suffix|raw}
{{endif}}
{{if $unlimited !== NULL}}
	&nbsp;
	<div class="ipsFieldRow_inlineCheckbox">
		{lang="or"}
		&nbsp;
		<span class='ipsCustomInput'>
			<input
				type="checkbox"
				data-control="unlimited{{if \count($unlimitedToggles)}} toggle{{endif}}"
				name="{$name}[unlimited]"
				id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck'
				value="1"
				{{if $unlimited == $valueNumber}}
					checked aria-checked='true'
				{{endif}}
				{{if $disabled}}
					disabled aria-disabled='true'
				{{endif}}
				{{if \count( $unlimitedToggles )}}
					{{if $unlimitedToggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $unlimitedToggles )"}"
				{{endif}}
				aria-labelledby='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label'
			>
			<span></span>
		</span>
		<label for='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck' id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label' class='ipsField_unlimited'>
			{lang="$unlimitedLang"}
		</label>
	</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="item" template_data="$name, $value, $maxItems, $minAjaxLength, $datasource, $template" template_location="global" template_app="core"><![CDATA[<input type="hidden" name="{$name}_values" value="{expression="implode( ',', array_keys($value) )"}">
<input
	type="text"
	name="{$name}"
	value=""
	id="elInput_{$name}"
	data-ipsContentItem
	{{if $maxItems}}data-ipsContentItem-maxItems="{$maxItems}"{{endif}}
	data-ipsContentItem-dataSource="{$datasource}"
	data-ipsContentItem-minAjaxLength="{$minAjaxLength}"
>
<ul data-contentItem-results="{$name}" class="ipsList_reset ipsContentItemSelector">
{{if \is_array($value)}}
	{{foreach $value as $item}}
		{{$html = $template( $item );}}
		{{$idColumn = $item::$databaseColumnId;}}
		<li data-id='{$item->$idColumn}'>
			<span class='cContentItem_delete' data-action='delete'>&times;</span>
			{$html|raw}
		</li>
	{{endforeach}}
{{endif}}
</ul>
]]></template>
 <template template_group="forms" template_name="itemResult" template_data="$item" template_location="global" template_app="core"><![CDATA[{{$idField = $item::$databaseColumnId;}}
<div data-itemid="{$item->$idField}" data-role='contentItemRow'>
	<strong>{$item->mapped('title')}</strong>
	{{if $item->container()}}
		<em>{lang="item_selector_added_to_container" sprintf="$item->container()->_title"}</em>
	{{endif}}
	{{if isset( $item::$databaseColumnMap['date'] )}}
		<span class='ipsType_light'>{lang="item_selector_added_on" htmlsprintf="\IPS\DateTime::ts($item->mapped('date'))->html()"}</span>
	{{endif}}	
</div>

]]></template>
 <template template_group="forms" template_name="keyValue" template_data="$key, $value" template_location="global" template_app="core"><![CDATA[<div class="ipsField_stackItem_keyValue">{lang="form_key_value_key"} <span data-ipsStack-keyvalue-name="key">{$key|raw}</span> {lang="form_key_value_value"} <span data-ipsStack-keyvalue-name="key">{$value|raw}</span></div>]]></template>
 <template template_group="forms" template_name="matrix" template_data="$id, $headers, $rows, $action, $hiddenValues, $actionButtons, $langPrefix, $widths=array(), $manageable=TRUE, $checkAlls=array(), $checkAllRows=FALSE, $classes=array(), $showTooltips=FALSE, $squashFields=TRUE, $sortable=FALSE, $styledRowTitle=FALSE" template_location="global" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm" action="{$action}" method="post" data-ipsMatrix {{if $sortable}}data-ipsMatrix-sortable='true'{{endif}} data-ipsMatrix-manageable='{{if $manageable}}true{{else}}false{{endif}}' {{if $squashFields}}data-ipsMatrix-squashFields{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{foreach $rows as $rowId => $row}}
		<input type='hidden' name='{$id}_matrixRows[{$rowId}]' data-matrixrowid='{$rowId}' value='1'>
	{{endforeach}}
	{{if $manageable}}
		<div class='ipsClearfix'>
			<div class="ipsJS_show">
				{template="buttons" group="global" app="core" params="array( 'add' => array( 'link' => \IPS\Http\Url::internal( '#' ), 'icon' => 'plus', 'title' => 'add_button', 'class' => 'matrixAdd', 'data' => array( 'matrixID' => $id ) ) )"}
			</div>
		</div>
	{{endif}}
	<table class='ipsTable ipsMatrix ipsClear ipsTable_responsive {{if \count( $classes )}}{expression="implode( ' ', $classes )"}{{endif}}' role='grid' data-matrixID='{$id}'>
		{template="matrixRows" group="forms" location="global" app="core" params="$headers, $rows, $langPrefix, $manageable, $widths, $checkAlls, $checkAllRows, $showTooltips, $sortable ? $id : FALSE, $styledRowTitle"}
	</table>	
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		{{foreach $actionButtons as $button}}{$button|raw} {{endforeach}}
	</div>
</form>]]></template>
 <template template_group="forms" template_name="matrixNested" template_data="$id, $headers, $rows, $action, $hiddenValues, $actionButtons, $langPrefix, $widths=array(), $manageable=TRUE, $checkAlls=array(), $checkAllRows=FALSE, $classes=array(), $showTooltips=FALSE, $squashFields=TRUE, $sortable=FALSE, $styledRowTitle=FALSE" template_location="global" template_app="core"><![CDATA[<div data-ipsMatrix data-ipsMatrix-manageable='{{if $manageable}}true{{else}}false{{endif}}' {{if $sortable}}data-ipsMatrix-sortable='true'{{endif}} {{if $squashFields}}data-ipsMatrix-squashFields{{endif}}>
	{{foreach $rows as $rowId => $row}}
		<input type='hidden' name='{$id}_matrixRows[{$rowId}]' data-matrixrowid='{$rowId}' value='1'>
	{{endforeach}}
	{{if $manageable}}
		<div class='ipsClearfix'>
			<div class="ipsJS_show">
				{template="buttons" group="global" app="core" location="admin" params="array( 'add' => array( 'link' => \IPS\Http\Url::internal( '#' ), 'icon' => 'plus', 'title' => 'add_button', 'class' => 'matrixAdd', 'data' => array( 'matrixID' => $id ) ) )"}
			</div>
		</div>
	{{endif}}
	<table class='ipsTable ipsMatrix ipsClear ipsTable_responsive {{if \count( $classes )}}{expression="implode( ' ', $classes )"}{{endif}}' role='grid' data-matrixID='{$id}'>
		{template="matrixRows" group="forms" app="core" location="global" params="$headers, $rows, $langPrefix, $manageable, $widths, $checkAlls, $checkAllRows, $showTooltips, $sortable ? $id : FALSE, $styledRowTitle"}
	</table>	
</div>]]></template>
 <template template_group="forms" template_name="matrixRows" template_data="$headers, $rows, $langPrefix, $manageable=TRUE, $widths=array(), $checkAlls=array(), $checkAllRows=FALSE, $showTooltips=FALSE, $sortable=FALSE, $styledRowTitle=FALSE" template_location="global" template_app="core"><![CDATA[<thead>
	<tr>
		{{if $sortable}}
			<th></th>
		{{endif}}
		{{foreach $headers as $header}}
			<th class="ipsMatrixHeader ipsType_center" style="width: {$widths[ $header ]}%">
				{lang="{$langPrefix}{$header}"}
				{{if array_key_exists( $header, $checkAlls )}}
					<br>
					<span class='ipsCustomInput'>
						<input type="checkbox" data-action="checkAll" name="__all[{$header}]" data-checkallheader="{$header}" {{if $checkAlls[ $header ]}}checked aria-checked='true'{{endif}}>
						<span></span>
					</span>
				{{endif}}
			</th>
		{{endforeach}}
		{{if $manageable}}
			<th class='ipsTable_controls'>
				<noscript>{lang="delete"}</noscript>
			</th>
		{{endif}}
	</tr>
</thead>
<tbody>
	<tr role='row' class='ipsMatrix_empty {{if \count( $rows ) > 0}}ipsHide{{endif}}'>
		<td colspan="{expression="\count( $headers )"}" class='ipsPad ipsType_light'>
			{lang="matrix_no_rows"}
		</td>
	</tr>
	{{foreach $rows as $rowId => $row}}
		{{if \is_string( $row )}}
			<tr>
				<th class="ipsMatrix_subHeader" colspan="{expression="\count( $headers )"}">{$row|raw}</th>
			</tr>
		{{else}}
			<tr data-matrixrowid="{$rowId}" role='row' {{if \IPS\Request::i()->type && \IPS\Request::i()->type == $rowId}}class='ipsMatrix_highlighted'{{endif}}>
				{{if $sortable}}
					<td>
						<input type="hidden" name="{$sortable}_matrixOrder[]" value="{$rowId}" data-role="noMatrixSquash">
						<div class='ipsTree_drag ipsDrag'>
							<i class='ipsTree_dragHandle ipsDrag_dragHandle fa fa-bars ipsJS_show' data-ipsTooltip data-ipsTooltip-label='{lang="reorder"}'></i>
						</div>
					</td>
				{{endif}}
				{{foreach $headers as $header}}
					{{if \is_object( $row[ $header ] )}}
						<td role='gridcell' {{if $showTooltips}}data-ipsTooltip title="{lang="{$langPrefix}{$header}"}"{{endif}} data-col='{$header}' data-title="{lang="{$langPrefix}{$header}"}" class="ipsType_center{{if $row[$header]->error}} ipsMatrix_error{{endif}}" data-role="unlimitedCatch">
							{$row[ $header ]->html()|raw}
							{{if $row[$header]->error}}
								<p class="ipsType_warning">{lang="$row[$header]->error"}</p>
							{{endif}}
						</td>
					{{elseif \is_string( $row[ $header ] )}}
						<td role='gridcell' class="ipsMatrix_rowTitle">
							<div {{if isset( $row['_level'] )}}style="margin-left: {expression="$row['_level']*15"}px"{{endif}}>
                                {{if $styledRowTitle}}
                                    {$row[ $header ]|raw}
                                {{else}}
								    <strong>{{if $langPrefix === FALSE}}{$row[ $header ]|raw}{{else}}{lang="$row[ $header ]"}{{endif}}</strong>
                                {{endif}}
								{{if $checkAllRows}}
									<br>
                                    <div class="ipsMatrix_buttons ipsJS_show">
                                        <a href='#' data-action="checkRow" class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-plus'></i></a> <a href='#' data-action="unCheckRow" class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-minus'></i></a>
                                    </div>
								{{endif}}
							</div>
						</td>
					{{endif}}
				{{endforeach}}
				{{if $manageable}}
					<td role='gridcell' class="ipsTable_controls">
						{{if mb_substr( $rowId, 0, 5 ) !== '_new_'}}
							<span class="ipsJS_show">
								{template="controlStrip" app="core" group="global" params="array( 'add' => array( 'icon' => 'times-circle', 'title' => 'delete', 'class' => 'matrixDelete' ) )"}
							</span>
							<noscript>
								{template="checkbox" app="core" group="forms" location="global" params="$rowId . '_delete'"}
							</noscript>
						{{endif}}
					</td>
				{{endif}}
			</tr>
		{{endif}}
	{{endforeach}}
</tbody>]]></template>
 <template template_group="forms" template_name="message" template_data="$lang, $id=NULL, $css='', $parse=FALSE" template_location="global" template_app="core"><![CDATA[<li {{if $id !== NULL}} id="{$id}"{{endif}}>
	<div class="ipsPad ipsType_richText {$css}">
		{{if $parse}}
			{lang="$lang"}
		{{else}}
			{$lang|raw}
		{{endif}}
	</div>
</li>]]></template>
 <template template_group="forms" template_name="node" template_data="$name, $value, $multiple, $url, $title, $roots, $zeroVal, $noJs, $permCheck, $subnodes, $togglePerm=NULL, $toggleIds=array(), $disabledCallback=NULL, $zeroValTogglesOn=array(), $zeroValTogglesOff=array(), $autoPopulate=FALSE, $children=NULL, $nodeClass=NULL, $where=NULL, $disabledArray=array(), $noParentNodesTitle=NULL, $noParentNodes=array(), $clubs=FALSE, $togglePermPBR=TRUE, $toggleIdsOff=array(), $loadMoreLink=FALSE" template_location="global" template_app="core"><![CDATA[<div class='ipsSelectTree ipsJS_show' data-name='{$name}' data-ipsSelectTree data-ipsSelectTree-url="{$url}" {{if $multiple}}data-ipsSelectTree-multiple{{endif}} data-ipsSelectTree-selected='{$value|raw}'>
	<input type="hidden" name="{$name}" value="" data-role="nodeValue">
	<div class='ipsSelectTree_value ipsSelectTree_placeholder'></div>
	<span class='ipsSelectTree_expand'><i class='fa fa-chevron-down'></i></span>
	<div class='ipsSelectTree_nodes ipsHide'>
		<div data-role='nodeList' class='ipsScrollbar'>
			{{if $clubs}}
				<div class='ipsTabs ipsTabs_small ipsTabs_stretch ipsClearfix ipsJS_show' id='tabs_nodeSelect_{$name}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_nodeSelect_{$name}'>
					<a href='#tabs_nodeSelect_{$name}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
					<ul role='tablist'>
						<li>
							<a href='#ipsTabs_tabs_nodeSelect_{$name}_nodeSelect_{$name}_tab_global_panel' id='nodeSelect_{$name}_tab_global' class="ipsTabs_item" role="tab">
								{lang="club_node_selector_global"}
							</a>
						</li>
						<li>
							<a href='#ipsTabs_tabs_nodeSelect_{$name}_nodeSelect_{$name}_tab_clubs_panel' id='nodeSelect_{$name}_tab_clubs' class="ipsTabs_item" role="tab">
								{lang="club_node_selector_clubs"}
							</a>
						</li>
					</ul>
				</div>
				<div id='ipsTabs_content_nodeSelect_{$name}' class='ipsTabs_panels'>
					<div id='ipsTabs_tabs_nodeSelect_{$name}_nodeSelect_{$name}_tab_global_panel' class="ipsTabs_panel" aria-labelledby="nodeSelect_{$name}_tab_global" aria-hidden="false" data-role="globalNodeList">
						{template="nodeCascade" app="core" group="forms" location="global" params="$roots, FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, $autoPopulate, $children, $nodeClass, $where, $disabledArray, $noParentNodesTitle, $noParentNodes, FALSE, $togglePermPBR, $toggleIdsOff"}
					</div>
					<div id='ipsTabs_tabs_nodeSelect_{$name}_nodeSelect_{$name}_tab_clubs_panel' class="ipsTabs_panel" aria-labelledby="nodeSelect_{$name}_tab_clubs" aria-hidden="false" data-role="clubNodeList">
						{template="nodeCascade" app="core" group="forms" location="global" params="$roots, FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, $autoPopulate, $children, $nodeClass, $where, $disabledArray, $noParentNodesTitle, $noParentNodes, TRUE, $togglePermPBR, $toggleIdsOff"}
					</div>
				</div>		
			{{else}}
				{template="nodeCascade" app="core" group="forms" location="global" params="$roots, FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, $autoPopulate, $children, $nodeClass, $where, $disabledArray, $noParentNodesTitle, $noParentNodes, NULL, $togglePermPBR, $toggleIdsOff"}
			{{endif}}
		</div>
		{{if $loadMoreLink}}
			<div class='ipsSelectTree_loadMore' data-action='nodeLoadMore' data-offset='{$loadMoreLink}'>
				<a class='ipsButton ipsButton_light ipsButton_fullWidth'><span class='ipsLoading ipsLoading_tiny ipsHide'>&nbsp;</span>&nbsp;&nbsp;{lang="node_load_more"}</a>
			</div>
		{{endif}}
	</div>
</div>
{{if $zeroVal !== NULL}}
	&nbsp;{lang="or"}&nbsp;
	<span class='ipsCustomInput'>
		<input type="checkbox" name="{$name}-zeroVal" id="{$name}-zeroVal" data-role="zeroVal" {{if $value === 0}}checked{{endif}} {{if !empty($zeroValTogglesOn) OR !empty($zeroValTogglesOff)}}data-control="toggle"{{endif}} {{if !empty($zeroValTogglesOn)}} data-togglesOn="{expression="implode( ',', $zeroValTogglesOn )"}" aria-controls="{expression="implode( ',', $zeroValTogglesOn )"}"{{endif}} {{if !empty($zeroValTogglesOff)}} data-togglesOff="{expression="implode( ',', $zeroValTogglesOff )"}" aria-controls="{expression="implode( ',', $zeroValTogglesOff )"}"{{endif}} > 
		<span></span>
	</span>
	<label for="{$name}-zeroVal" class='ipsField_unlimited'>{lang="$zeroVal"}</label>
{{endif}}
<noscript>
	{{if $noJs}}
		{$noJs|raw}
	{{else}}
		<a href="{$url->setQueryString( '_noJs', '1' )}">{lang="click_here_to_refresh"}</a>
	{{endif}}
</noscript>]]></template>
 <template template_group="forms" template_name="nodeAutocomplete" template_data="$v" template_location="global" template_app="core"><![CDATA[<ol class="ipsNodeSelect_breadcrumb">
	{{foreach $v->parents() as $parent}}
		<li><span class="ipsType_light">{$parent->_title} <i class="fa fa-angle-right"></i></span></li>
	{{endforeach}}
	<li>{$v->_title}</li>
</ol>]]></template>
 <template template_group="forms" template_name="nodeCascade" template_data="$nodes, $results=FALSE, $permCheck=NULL, $subnodes=TRUE, $togglePerm=NULL, $toggleIds=array(), $disabledCallback=NULL, $autoPopulate=FALSE, $children=NULL, $nodeClass=NULL, $where=NULL, $disabledArray=array(), $noParentNodesTitle=NULL, $noParentNodes=array(), $clubs=NULL, $togglePermPBR=TRUE, $toggleIdsOff=array()" template_location="global" template_app="core"><![CDATA[{{if empty( $nodes )}}
	<p class='ipsPad_half ipsType_reset ipsType_light'>{lang="no_results"}</p>
{{else}}
	<ul class='ipsList_reset'>
		{{foreach $nodes as $node}}
			{{if $clubs === NULL or ( $clubs === TRUE and $node->club() ) or ( $clubs === FALSE and !$node->club() )}}
				<li>
					{{if ( $permCheck === NULL or $node->can( $permCheck ) ) and ( $disabledCallback === NULL or $disabledCallback( $node ) ) and !\in_array( $node->_id, $disabledArray )}}
						<div data-action="nodeSelect" class='ipsSelectTree_item {{if $node->hasChildren( 'view', NULL, $subnodes, $where )}}ipsSelectTree_withChildren{{endif}} {{if $autoPopulate AND isset( $children[ $node->_id ] )}}ipsSelectTree_itemOpen{{endif}}' data-id="{$node->_id}{{if $nodeClass and !( $node instanceof $nodeClass )}}.s{{endif}}" data-breadcrumb='{expression="json_encode( array_values( array_map( function( $val ){ return isset( $val::$titleLangPrefix ) ? \IPS\Member::loggedIn()->language()->addToStack( $val::$titleLangPrefix . $val->_id, FALSE, array( 'json' => TRUE, 'escape' => TRUE, 'striptags' => TRUE ) ) : ( $val->_title ? $val->_title : $val->_title ); }, iterator_to_array( $node->parents() ) ) ) )"}' {{if $togglePerm and $node->can( $togglePerm, NULL, $togglePermPBR )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggleIds )"}"{{elseif !$togglePerm and isset( $toggleIds[ $node->_id ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggleIds[ $node->_id ] )"}"{{elseif \count( $toggleIdsOff )}}data-toggles="{expression="implode( ',', $toggleIdsOff )"}"{{endif}} {{if $autoPopulate AND isset( $children[ $node->_id ] )}}data-childrenloaded="true"{{endif}}>
							{{if $node->hasChildren( 'view', NULL, $subnodes, $where )}}
								<a href='#' data-action="getChildren" class='ipsSelectTree_toggle'></a>
							{{endif}}
							<span data-role="nodeTitle">
								{{if $clubs === TRUE}}
									{lang="club_container_title" sprintf="$node->club()->name, $node->_title"}
								{{else}}
									{$node->_title}
								{{endif}}
							</span>
						</div>
						{{if $autoPopulate AND isset( $children[ $node->_id ] ) and \get_class( $node ) == ltrim( $nodeClass, '\\' )}}
							<div data-role="childWrapper">
								{template="nodeCascade" app="core" group="forms" location="global" params="$children[ $node->_id ], FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, FALSE, $children, $nodeClass, $where, $disabledArray, NULL, array(), NULL, $togglePermPBR, $toggleIdsOff"}
							</div>
						{{endif}}
					{{else}}
						{{if $disabledCallback === NULL or $disabledCallback( $node ) !== NULL}}
							<div class='ipsSelectTree_item ipsSelectTree_itemDisabled {{if $node->hasChildren( 'view', NULL, $subnodes, $where )}}ipsSelectTree_withChildren{{endif}} {{if $autoPopulate AND isset( $children[ $node->_id ] )}}ipsSelectTree_itemOpen{{endif}}' data-id="{$node->_id}" data-breadcrumb='{expression="json_encode( array_values( array_map( function( $val ){ return isset( $val::$titleLangPrefix ) ? \IPS\Member::loggedIn()->language()->addToStack( $val::$titleLangPrefix . $val->_id, FALSE, array( 'json' => TRUE, 'escape' => TRUE, 'striptags' => TRUE ) ) : ( $val->_title ? $val->_title : $val->_title ); }, iterator_to_array( $node->parents() ) ) ) )"}' {{if $autoPopulate AND isset( $children[ $node->_id ] )}}data-childrenloaded="true"{{endif}}>
								{{if $node->hasChildren( 'view', NULL, $subnodes, $where )}}
									<a href='#' data-action="getChildren" class='ipsSelectTree_toggle'></a>
								{{endif}}
								<span data-role="nodeTitle">
									{{if $clubs === TRUE}}
										{lang="club_container_title" sprintf="$node->club()->name, $node->_title"}
									{{else}}
										{$node->_title}
									{{endif}}
								</span>
							</div>
							{{if $autoPopulate AND isset( $children[ $node->_id ] )}}
								<div data-role="childWrapper">
									{template="nodeCascade" app="core" group="forms" location="global" params="$children[ $node->_id ], FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, FALSE, $children, $nodeClass, $where, $disabledArray, NULL, array(), NULL, $togglePermPBR, $toggleIdsOff"}
								</div>
							{{endif}}
						{{endif}}
					{{endif}}
				</li>
			{{endif}}
		{{endforeach}}
		{{if $noParentNodesTitle and \count( $noParentNodes )}}
			<li>
				<div class='ipsSelectTree_item ipsSelectTree_itemDisabled ipsSelectTree_withChildren {{if $autoPopulate}}ipsSelectTree_itemOpen{{endif}}' data-id="0" data-breadcrumb='{expression="json_encode( array() )"}' {{if $autoPopulate}}data-childrenloaded="true"{{endif}}>
					<a href='#' data-action="getChildren" class='ipsSelectTree_toggle'></a>
					<span data-role="nodeTitle">{lang="$noParentNodesTitle"}</span>
				</div>
				{{if $autoPopulate}}
					<div data-role="childWrapper">
						{template="nodeCascade" app="core" group="forms" location="global" params="$noParentNodes, FALSE, $permCheck, $subnodes, $togglePerm, $toggleIds, $disabledCallback, $autoPopulate, $children, $nodeClass, $where, $disabledArray, NULL, array(), NULL, $togglePermPBR, $toggleIdsOff"}
					</div>
				{{endif}}
			</li>
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="forms" template_name="number" template_data="$name, $value, $required, $unlimited=NULL, $range=FALSE, $min=NULL, $max=NULL, $step=NULL, $decimals=0, $unlimitedLang='unlimited', $disabled=FALSE, $suffix=NULL, $toggles=array(), $toggleOn=TRUE, $valueToggles=array(), $id=NULL, $prefix=NULL" template_location="global" template_app="core"><![CDATA[{{if $range && $min !== NULL}}
<strong class='ipsType_small' data-role='rangeBoundary'>{$min}</strong>
{{endif}}

<input
	type="{{if $range}}range{{else}}number{{endif}}"
	name="{$name}"
	{{if $id !== NULL}}
		id="elNumber_{$id}"
	{{endif}}
	size="5"
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $unlimited !== NULL and $value === $unlimited}}
		value=""
		data-jsdisable="true"
	{{elseif \is_numeric( $value )}}
		value="{expression="number_format( $value, $decimals === true ? mb_strlen( mb_substr( $value, mb_strpos( $value, '.' ) + 1 ) ) : $decimals, '.', '' )"}"
	{{else}}
		value="0"
	{{endif}}
	class="ipsField_short"
	{{if $min !== NULL}}
		min="{$min}"
	{{endif}}
	{{if $max !== NULL}}
		max="{$max}"
	{{endif}}
	{{if $step !== NULL and $step != 'any'}}
		step="{expression="number_format( $step, $decimals, '.', '' )"}"
	{{else}}
		step="any"
	{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	{{if \count($valueToggles)}}data-control="toggle" data-toggles="{expression="implode( ',', $valueToggles )"}"{{endif}}
>
{{if $range && $max !== NULL}}
<strong class='ipsType_small' data-role='rangeBoundary'><span id='{$name}_rangeValue' data-role='rangeValue'>{$value}</span>/{$max}</strong>
{{endif}}
{{if \is_string( $suffix )}}
	{$suffix|raw}
{{elseif isset( $suffix['preUnlimited'] )}}
	{$suffix['preUnlimited']|raw}
{{endif}}
{{if $unlimited !== NULL}}
	&nbsp;
	<div class="ipsFieldRow_inlineCheckbox">
		{lang="or"}
		&nbsp;
		<span class='ipsCustomInput'>
			<input type="checkbox" data-control="unlimited{{if \count($toggles)}} toggle{{endif}}" name="{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}" id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck' value="{$unlimited}" {{if $unlimited === $value}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}} {{if \count($toggles)}}{{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles )"}"{{endif}} aria-labelledby='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label'>
			<span></span>
		</span> <label for='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck' id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
	</div>
{{endif}}
{{if \is_array( $suffix ) and isset( $suffix['postUnlimited'] )}}
	&nbsp;&nbsp;&nbsp;{$suffix['postUnlimited']|raw}
{{endif}}]]></template>
 <template template_group="forms" template_name="numberRange" template_data="$start, $end" template_location="global" template_app="core">{lang=&quot;between&quot;} {$start|raw} {lang=&quot;and&quot;} {$end|raw}</template>
 <template template_group="forms" template_name="poll" template_data="$name, $value, $pollData, $allowPollOnly" template_location="global" template_app="core"><![CDATA[<div data-controller='core.front.core.pollEditor' data-pollName='{$name}' data-maxQuestions="{expression="\IPS\Settings::i()->max_poll_questions"}" data-maxChoices="{expression="\IPS\Settings::i()->max_poll_choices"}" class='cPoll'>	
	<noscript>
		{{if $value}}
		<input type="hidden" name="{$name}[fallback]" value="{$value->pid}">
		{{endif}}
		{lang="poll_no_js"}
	</noscript>
	<div class='ipsForm_vertical ipsJS_show'>
		<ul class='ipsList_reset ipsAreaBackground_light ipsBox ipsBox_transparent ipsPad'>
			<li class='ipsFieldRow'>
				<input type='text' class='ipsField_primary ipsField_fullWidth' placeholder='{lang="poll_title"}' name="{$name}[title]" maxlength="255" {{if $value}}value="{$value->poll_question}"{{endif}}>
			</li>
			<li class='ipsFieldRow'>
				<ul class='ipsFieldRow_content ipsList_reset'>
					{{if settings.poll_allow_public}}
						<li class='ipsFieldRow_inlineCheckbox'>
							<span class='ipsCustomInput'>
								<input type="checkbox" name="{$name}[public]" id='elPoll_{$name}_public' {{if $value and $value->poll_view_voters}}checked{{endif}}>
								<span></span>
							</span>
							<label for='elPoll_{$name}_public'>{lang="make_votes_public"}</label>
						</li>
					{{endif}}
					{{if settings.ipb_poll_only and $allowPollOnly}}
						<li class='ipsFieldRow_inlineCheckbox'>
							<span class='ipsCustomInput'>
								<input type="checkbox" name="{$name}[poll_only]" id='elPoll_{$name}_pollOnly' {{if $value and $value->poll_only}}checked{{endif}}>
								<span></span>
							</span>
							<label for='elPoll_{$name}_pollOnly'>{lang="poll_only_content"}</label>
						</li>
					{{endif}}
					<li class='ipsFieldRow_inlineCheckbox'>
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$name}[has_close_date]" id='elPoll_{$name}_hasCloseDate' value='1' data-control="toggle" data-toggles='elPoll_closeDate' {{if ($value and $value->poll_close_date instanceof \IPS\DateTime)}}checked{{endif}}>
							<span></span>
						</span>
						<label for='elPoll_{$name}_hasCloseDate'>{lang="poll_specify_close_time"}</label>
					</li>
				</ul>
			</li>
			<li class='ipsFieldRow' id='elPoll_closeDate'>
				<label class='ipsFieldRow_label' for='poll_close_date'>{lang="poll_close_date"}</label>
				<div class='ipsFieldRow_content'>
					{template="date" group="forms" app="core" location="global" params="$name . '[poll_close_date]', ( $value and $value->poll_close_date instanceof \IPS\DateTime ) ? $value->poll_close_date : ( isset( \IPS\Request::i()->topic_poll['poll_close_date'] ) ? \IPS\Request::i()->topic_poll['poll_close_date'] : \IPS\DateTime::create()->add( new \DateInterval( 'P1D' ) ) ), NULL, NULL, FALSE, FALSE, $name . '[poll_close_time]'"}
				</div>
			</li>
		</ul>
	</div>
	<br> 

	<section data-role='pollContainer'>

	</section>

	<a href='#' data-action='addQuestion' class='ipsButton ipsButton_small ipsButton_light ipsJS_show' title='{lang="add_poll_question_title"}'><i class='fa fa-plus'></i> {lang="add_poll_question"}</a>
</div>]]></template>
 <template template_group="forms" template_name="popupRegisterTemplate" template_data="$login, $postBeforeRegister, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[{{if \IPS\Request::i()->isAjax() AND $buttonMethods = $login->buttonMethods()}}
	<div id='elRegisterSocial'>
		<div class='ipsPadding'>
			<h2 class='ipsType_sectionHead'>{lang='reg_start_faster'}</h2>
			<p class='ipsType_normal ipsType_reset ipsType_light'>{lang='reg_connect'}</p>
				<form data-bypassValidation='true' accept-charset='utf-8' method='post' action='{$login->url}'>
				<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
				<div class='ipsGap:2 ipsMargin_top:half'>
					{{foreach $buttonMethods as $method}}
						<div class='ipsType_center'>
							{$method->button()|raw}
						</div>
					{{endforeach}}
				</div>
			</form>
		</div>
	</div>
	<hr class='ipsHr'>
{{endif}}

<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{if \count( $form->elements ) < 2}}
		<div class="ipsPadding">
			{{if !empty( $sidebar )}}
				<div class='ipsGrid ipsGrid_collapsePhone'>
					<div class='ipsGrid_span8'>
			{{endif}}
				<ul class='ipsList_reset'>
					{{foreach $elements as $collection}}
						{{foreach $collection as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					{{endforeach}}
				</ul>
			{{if !empty( $sidebar )}}
					</div>
					<div class='ipsGrid_span4'>
						{expression="array_pop( $sidebar )" raw="true"}
					</div>
				</div>
			{{endif}}
		</div>
	{{else}}
		<div class='ipsTabs ipsClearfix ipsJS_show' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
			<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $elements as $name => $content}}
					<li>
						<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if $name == request.tab}}ipsTabs_activeItem{{endif}}" role="tab">
							{{foreach $content as $element}}{{if !\is_string( $element ) and $element->error}}<i class="fa fa-exclamation-circle"></i> {{break;}}{{endif}}{{endforeach}} {lang="$name"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_content_{$id}' class=''>
			{{foreach $elements as $name => $content}}
				<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
					<ul class='ipsList_reset'>
						{{foreach $content as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					</ul>
				</div>
			{{endforeach}}
		</div>
	{{endif}}
	<ul class="ipsPadding ipsList_reset ipsClearfix ipsBorder_top">
		<li>{template="button" group="forms" app="core" location="global" params="'register_button', 'submit', null, 'ipsButton ipsButton_primary ipsButton_large ipsButton_fullWidth', array( 'tabindex' => '2', 'accesskey' => 's' )"}</li>
		{{if $postBeforeRegister}}
		<li class='ipsPadding_top:half'><a href="{url="app=core&module=system&controller=register&do=cancelPostBeforeRegister&id={$postBeforeRegister['id']}&pbr={$postBeforeRegister['secret']}" csrf="true" seoTemplate="register"}" class='ipsButton ipsButton_veryLight ipsButton_large ipsButton_fullWidth' data-ipsPbrCancel="true">{lang="post_before_register_delete_submission"}</a></li>
		{{endif}}
	</ul>
</form>]]></template>
 <template template_group="forms" template_name="popupTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{if $form->error}}
		<div class="ipsMessage ipsMessage_error">
			{$form->error}
		</div>
	{{endif}}
	{{if \count( $form->elements ) < 2}}
		<div class="ipsPadding">
			{{if !empty( $sidebar )}}
				<div class='ipsGrid ipsGrid_collapsePhone'>
					<div class='ipsGrid_span8'>
			{{endif}}
				<ul class='ipsList_reset'>
					{{foreach $elements as $collection}}
						{{foreach $collection as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					{{endforeach}}
				</ul>
			{{if !empty( $sidebar )}}
					</div>
					<div class='ipsGrid_span4'>
						{expression="array_pop( $sidebar )" raw="true"}
					</div>
				</div>
			{{endif}}
		</div>
	{{else}}
		<div class='ipsTabs ipsClearfix ipsJS_show' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
			<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $elements as $name => $content}}
					<li>
						<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if $name == request.tab}}ipsTabs_activeItem{{endif}}" role="tab">
							{{foreach $content as $element}}{{if !\is_string( $element ) and $element->error}}<i class="fa fa-exclamation-circle"></i> {{break;}}{{endif}}{{endforeach}} {lang="$name"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_content_{$id}' class=''>
			{{foreach $elements as $name => $content}}
				<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
					<ul class='ipsList_reset'>
						{{foreach $content as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					</ul>
				</div>
			{{endforeach}}
		</div>
	{{endif}}
	<ul class="ipsPadding ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsBorder_top">
		{{foreach $actionButtons as $button}}
			<li>{$button|raw}</li>
		{{endforeach}}
	</ul>
</form>]]></template>
 <template template_group="forms" template_name="postingInformation" template_data="$guestPostBeforeRegister, $modQueued, $standalone=false" template_location="front" template_app="core"><![CDATA[{{if !member.member_id}}
	{{if !$standalone}}
		<div class='ipsPadding_bottom ipsBorder_bottom ipsMargin_bottom cGuestTeaser'>
			<h2 class='ipsType_pageTitle'>{lang="guest_post_header"}</h2>
			<p class='ipsType_normal ipsType_reset'>
	{{else}}
			<p class='ipsType_reset ipsType_normal sm:ipsPadding_horizontal:half ipsMargin_bottom'>
	{{endif}}
				{{if $guestPostBeforeRegister}}
					{lang="guest_post_pbr_blurb"}
				{{else}}
					{lang="guest_post_normal_blurb"}
				{{endif}}
				{lang="guest_post_sign_in"}
				{{if $modQueued}}
					<br><span class='ipsType_warning'>{lang="guest_post_mod_approval"}</span>
				{{endif}}
			</p>
	{{if !$standalone}}
		</div>
	{{endif}}
{{elseif $modQueued}}
	<div class="ipsType_reset ipsPadding ipsAreaBackground_light ipsSpacer_bottom {{if $standalone}}ipsBox{{endif}}">
		{{$warnings = member.warnings( 1, NULL, 'mq' );}}
		{{foreach $warnings as $idx => $warning}}
			<a href="{$warning->url()}" class='ipsButton ipsButton_verySmall ipsButton_veryLight ipsPos_right' data-ipsDialog data-ipsDialog-size='narrow'>{lang="view_warning_details"}</a>
		{{endforeach}}
		<strong class="ipsType_warning ipsType_normal">{lang="mod_queue_message"}</strong>
		{{if \count( $warnings ) and member.mod_posts > time()}}
			<p class="ipsType_light ipsType_reset ipsType_normal">
				{{if \count( $warnings )}}
					{lang="this_will_be_moderated"}
				{{endif}}
				{lang="restriction_ends" sprintf="\IPS\DateTime::ts( \IPS\Member::loggedIn()->mod_posts )->relative()"}
			</p>
		{{endif}}
	</div>	
{{endif}}]]></template>
 <template template_group="forms" template_name="profileCompleteTemplate" template_data="$step, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{if \count( $form->elements ) < 2}}
		{{if \IPS\Member::loggedIn()->language()->checkKeyExists( 'profile_step_text_' . $step->id ) and \IPS\Member::loggedIn()->language()->words[ 'profile_step_text_' . $step->id ]}}
			<div class='ipsPadding'>
				<div class="ipsMessage ipsMessage_info">
					{lang="profile_step_text_{$step->id}"}
				</div>
			</div>
		{{endif}}
		<div class="ipsPad">
			{{if !empty( $sidebar )}}
				<div class='ipsGrid ipsGrid_collapsePhone'>
					<div class='ipsGrid_span8'>
			{{endif}}
				<ul class='ipsList_reset'>
					{{foreach $elements as $collection}}
						{{foreach $collection as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					{{endforeach}}
				</ul>
			{{if !empty( $sidebar )}}
					</div>
					<div class='ipsGrid_span4'>
						{expression="array_pop( $sidebar )" raw="true"}
					</div>
				</div>
			{{endif}}
		</div>
	{{else}}
	{{if \IPS\Member::loggedIn()->language()->checkKeyExists( 'profile_step_text_' . $step->id ) and \IPS\Member::loggedIn()->language()->words[ 'profile_step_text_' . $step->id ]}}
		<div class='ipsPadding'>
			<div class="ipsMessage ipsMessage_info">
				{lang="profile_step_text_{$step->id}"}
			</div>
		</div>
	{{endif}}
		<div class='ipsTabs ipsClearfix ipsJS_show' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
			<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $elements as $name => $content}}
					<li>
						<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if $name == request.tab}}ipsTabs_activeItem{{endif}}" role="tab">
							{{foreach $content as $element}}{{if !\is_string( $element ) and $element->error}}<i class="fa fa-exclamation-circle"></i> {{break;}}{{endif}}{{endforeach}} {lang="$name"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_content_{$id}' class=''>
			{{foreach $elements as $name => $content}}
				<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
					<ul class='ipsList_reset'>
						{{foreach $content as $input}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endforeach}}
					</ul>
				</div>
			{{endforeach}}
		</div>
	{{endif}}
	<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground">
		{{foreach $actionButtons as $button}}
			<li>{$button|raw}</li>
		{{endforeach}}
		{{if !$step->required OR $step->completed()}}
			<li><a href="{$action->setQueryString('_moveToStep', $step->getNextStep())}" data-action="wizardLink" class="ipsButton ipsButton_link ipsJS_none">{lang="profile_complete_skip_step"}</a></li>
			<li><a href="{url="app=core&module=system&controller=settings" seoTemplate="settings"}" class="ipsButton ipsButton_link">{lang="profile_wizard_cancel"}</a></li>
		{{endif}}
	</ul>
</form>]]></template>
 <template template_group="forms" template_name="radio" template_data="$name, $value, $required, $options, $disabled=FALSE, $toggles=array(), $descriptions=array(), $warnings=array(), $userSuppliedInput=''" template_location="admin" template_app="core"><![CDATA[<ul class="ipsField_fieldList" role="radiogroup">
{{foreach $options as $k => $v}}
	<li>
		<span class='ipsCustomInput'>
			<input type="radio" role="radio" id='elField_{$name}' name="{$name}" value="{$k}" {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}checked aria-checked='true'{{endif}} {{if $required === TRUE}}required aria-required='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}" aria-controls="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} aria-labelledby='elField_{$name}_label'>
			<span></span>
		</span>
		
		<div class='ipsField_fieldList_content'>
			<label for='elField_{$name}' id='elField_{$name}_label'>{$v|raw}</label>
			{{if isset( $descriptions[ $k ] )}}
				<br>
				<span class='ipsFieldRow_desc'>
					{$descriptions[ $k ]|raw}
				</span>
			{{endif}}
			{{if isset( $warnings[ $k ] )}}
				<div id="{$name}_{$k}_warning">
					<br>
					<p class='ipsMessage ipsMessage_warning'>{$warnings[ $k ]|raw}</p>
				</div>
			{{endif}}
			{{if !empty( $userSuppliedInput )}}
				<input type='text' name='{$userSuppliedInput}_{$name}' value="{{if !\in_array( $value, array_keys( $options ) )}}{$value}{{endif}}" id='{$userSuppliedInput}_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'>
			{{endif}}
		</div>
	</li>
{{endforeach}}
</ul>]]></template>
 <template template_group="forms" template_name="radio" template_data="$name, $value, $required, $options, $disabled=FALSE, $toggles=array(), $descriptions=array(), $warnings=array(), $userSuppliedInput='', $unlimited=NULL, $unlimitedLang=NULL, $htmlId=NULL" template_location="global" template_app="core"><![CDATA[{{if $unlimited !== NULL}}
	<ul class="ipsField_fieldList" role="radiogroup">
		<li>
			<span class='ipsCustomInput'>
				<input type="checkbox" name="{$name}" value="{$unlimited}" id='elRadio_{$name}_{unlimited}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}' data-control="toggle" data-togglesOff="elRadio_{$name}" {{if $value === $unlimited}}checked{{endif}}>
				<span></span>
			</span>
			<div class='ipsField_fieldList_content'>
				<label for='elRadio_{$name}_{unlimited}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}'>
					{lang="$unlimitedLang"}
				</label>
			</div>
		</li>
	</ul>
{{endif}}
<input type="hidden" name="radio_{$name}__empty" value='1'>
<ul class="ipsField_fieldList" role="radiogroup" id="elRadio_{$name}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}">
{{foreach $options as $k => $v}}
	<li>
		<span class='ipsCustomInput'>
			<input type="radio" name="{$name}" value="{$k}" {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elRadio_{$name}_{$k}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}">
			<span></span>
		</span>
		<div class='ipsField_fieldList_content ipsType_break'>
			<label for='elRadio_{$name}_{$k}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}' id='elField_{$name}_{$k}_label'>{$v|raw}</label>
			{{if !empty( $userSuppliedInput ) AND $userSuppliedInput == $k}}
				<input type='text' name='{$userSuppliedInput}_{$name}' value="{{if !\in_array( $value, array_keys( $options ) )}}{$value}{{endif}}" id='{$userSuppliedInput}_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}'>
			{{endif}}
			{{if isset( $descriptions[ $k ] )}}
				{$descriptions[ $k ]|raw}
			{{endif}}
			{{if isset( $warnings[ $k ] )}}
				{$warnings[ $k ]|raw}
			{{endif}}
		</div>
	</li>
{{endforeach}}
</ul>]]></template>
 <template template_group="forms" template_name="radioImages" template_data="$name, $value, $required, $options, $disabled=FALSE, $toggles=array(), $descriptions=array(), $warnings=array(), $userSuppliedInput='', $unlimited=NULL, $unlimitedLang=NULL, $htmlId=NULL, $gridspan=3" template_location="global" template_app="core"><![CDATA[
<div class="ipsGrid ipsGrid_collapsePhone ipsAttachment_fileList ipsContained" data-ipsGrid data-ipsGrid-equalHeights='row'>
	{{foreach $options as $k => $v}}
		<div class='ipsGrid_span{$gridspan} ipsBox ipsAttach ipsImageAttach ipsPad_half'>
			<div class=' ipsType_center' data-role='preview'>
				<label for="elRadio_{$name}_{$k}_{$htmlId}" class='ipsCursor_pointer'><img src="{$v}" alt='' class='ipsImage'></label>
			</div>
			<div class="ipsType_center ipsPad_half">
				<span class='ipsCustomInput'>
					<input type="radio" name="{$name}" value="{$k}" {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elRadio_{$name}_{$k}_{$htmlId}">
					<span></span>
				</span>
			</div>
			{{if isset( $descriptions[ $k ] )}}
				<p class='ipsType_light ipsType_center'>{$descriptions[ $k ]|raw}</p>
			{{endif}}
		</div>
	{{endforeach}}
</div>]]></template>
 <template template_group="forms" template_name="rating" template_data="$name, $value, $required, $max=5, $display=NULL, $userRated=NULL" template_location="global" template_app="core"><![CDATA[<input type='hidden' name='{$name}' value="0">
<div data-ipsRating data-ipsRating-changeRate='true' data-ipsRating-size='veryLarge' {{if $display}}data-ipsRating-value="{expression="number_format( $display, 1 )"}"{{endif}} {{if $userRated}}data-ipsRating-userRated="{expression="$userRated"}"{{endif}}>
	{{foreach range( 1, $max ) as $i}}
		<input type='radio' name='{$name}' id='{$name}_{$i}' value='{$i}' {{if $i == floor( $value )}}checked{{endif}}> <label for='{$name}_{$i}'>{$i}</label>
	{{endforeach}}
</div>]]></template>
 <template template_group="forms" template_name="ratingTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-controller="core.front.core.rating">
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{$input->html()|raw}
		{{endforeach}}
	{{endforeach}}
	<noscript><button type="submit">{lang="submit"}</button></noscript>
</form>]]></template>
 <template template_group="forms" template_name="recommendCommentTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div class="ipsPad">
		<ul class='ipsList_reset'>
			{{foreach $elements as $collection}}
				{{foreach $collection as $input}}
					{{if \is_object( $input ) }}
						{$input->rowHtml($form)|raw}
					{{else}}
						{$input|raw}
					{{endif}}
				{{endforeach}}
			{{endforeach}}
		</ul>
	</div>
	<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground">
		{{foreach $actionButtons as $button}}
			<li>{$button|raw}</li>
		{{endforeach}}
	</ul>
</form>]]></template>
 <template template_group="forms" template_name="reviewTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[<div class='ipsPhotoPanel ipsPhotoPanel_medium ipsPhotoPanel_notPhone ipsClearfix' {{if \IPS\Member::loggedIn()->member_id}}data-controller='core.front.core.reviewForm'{{endif}}>
	{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'medium'"}
	<div>
		<form accept-charset='utf-8' class="ipsForm" action="{$action->setQueryString( '_review', 1 )}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
			<input type="hidden" name="{$id}_submitted" value="1">
			{{foreach $hiddenValues as $k => $v}}
				<input type="hidden" name="{$k}" value="{$v}">
			{{endforeach}}
			{{if $uploadField}}
				<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
				<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
			{{endif}}
			{{if !isset( \IPS\Request::i()->_review ) and \IPS\Member::loggedIn()->member_id}}
				<div data-role='reviewIntro' class="">
					<h3 class='ipsType_reset'>{lang="review_intro_1" sprintf="\IPS\Member::loggedIn()->name"} <span class='ipsType_unbold'>{lang="review_intro_2"}</span></h3>
					<br>
					<a href='#' class='ipsButton ipsButton_primary ipsButton_small ipsJS_show' data-action='writeReview'>{lang="write_a_review"}</a>
				</div>
			{{endif}}
			<ul class='ipsForm ipsForm_vertical {{if !isset( \IPS\Request::i()->_review ) and \IPS\Member::loggedIn()->member_id}}ipsJS_hide{{endif}}' data-role='reviewForm'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $input}}
						{$input|raw}
					{{endforeach}}
				{{endforeach}}
				<li class='ipsFieldRow ipsClearfix'>
					<div class='ipsFieldRow_content'>
						<button type='submit' class='ipsButton ipsButton_primary'>{lang="add_review"}</button>
					</div>
				</li>
			</ul>
		</form>
	</div>
</div>]]></template>
 <template template_group="forms" template_name="reviewUnavailable" template_data="$lang, $warnings=array(), $ends=NULL" template_location="front" template_app="core"><![CDATA[
<div class='ipsPhotoPanel ipsPhotoPanel_medium ipsPhotoPanel_notPhone ipsClearfix'>
	{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'medium'"}
	<div>
		<strong class='ipsType_warning'><i class="fa fa-warning"></i> {lang="$lang"} {{if $ends !== NULL AND $ends > 0}}{lang="restriction_ends" sprintf="\IPS\DateTime::ts( $ends )->relative()"}{{endif}}</strong>
		{{if \count( $warnings) }}
			{{foreach $warnings as $idx => $warning}}
				{{if $idx === 0}}
					<br><br>
					<a href="{$warning->url()}" data-ipsDialog data-ipsDialog-size='narrow' class='ipsButton ipsButton_verySmall ipsButton_light'>{lang="view_warning_details"}</a>
				{{endif}}
			{{endforeach}}
		{{endif}}
	</div>
</div>
<hr class='ipsHr'>]]></template>
 <template template_group="forms" template_name="row" template_data="$langKey, $element, $desc, $warning, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL, $rowClasses=NULL" template_location="admin" template_app="core"><![CDATA[<li class='ipsFieldRow ipsPad_half {{if $object instanceof \IPS\Helpers\Form\YesNo}}ipsFieldRow_yesNo{{endif}} ipsClearfix {{if $object and isset( request.searchResult ) and ( request.searchResult === $object->name or request.searchResult === $id )}}ipsFieldRow_searchResult{{endif}} {{if $rowClasses}}{expression="implode(' ', $rowClasses)"}{{endif}}' {{if $id !== NULL}}id="{$id}"{{endif}}>
	<div class='ipsFieldRow_title {{if $error}}ipsFieldRow_error{{endif}}'>
		{$langKey|raw}
		{{if $required}}<span class='ipsFieldRow_required'>{lang="required"}</span>{{endif}}
		{{if \IPS\IN_DEV and $form and $object}}{template="searchKeywords" app="core" group="global" params="$form->action->setQueryString( array( 'do' => ( isset( $form->action->queryString['do'] ) and ( $form->action->queryString['do'] != 'form' or $form->action->queryString['do'] != 'edit' ) ) ? $form->action->queryString['do'] : NULL, 'id' => NULL, 'searchResult' => $id ) )->acpQueryString(), $object->name"}{{endif}}
	</div>
	<div class='ipsFieldRow_content {{if $error}}ipsFieldRow_error{{endif}} ipsClearfix'>
		{{if $object and $form and !( $object instanceof \IPS\Helpers\Form\Translatable ) and !( $object instanceof \IPS\Helpers\Form\Editor ) and !( $object instanceof \IPS\Helpers\Form\Upload ) and !( $object instanceof \IPS\Helpers\Form\Codemirror ) and $form->copyButton and ( !isset( $object->options['disableCopy'] ) or !$object->options['disableCopy'] )}}
		<a href="#" data-baseLink="{$form->copyButton->setQueryString( array( 'key' => $object->name ) )}" data-controller="core.admin.core.nodeCopySetting" data-field="{$object->name}" class='ipsJS_show ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsFaded ipsFaded_more ipsFaded_withHover ipsPos_right cCopyNode' title='{lang="copy_value"}' data-ipsTooltip tabindex="999"><i class="fa fa-cog"></i> <i class='fa fa-caret-right'></i></a>
		{{endif}}
		{$prefix|raw}
		{$element|raw}
		{$suffix|raw}
		{$desc|raw}
		{$warning|raw}
		{{if $error}}
			<span class='ipsType_warning'><i class='fa fa-exclamation-circle'></i> {lang="$error"}</span>
		{{else:}}
			<span class='ipsType_warning'></span>
		{{endif}}
	</div>
</li>]]></template>
 <template template_group="forms" template_name="row" template_data="$label, $element, $desc, $warning, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL, $rowClasses=NULL" template_location="front" template_app="core"><![CDATA[<li class='ipsFieldRow{{if $object === NULL}} ipsFieldRow_textValue{{endif}}{{if $object instanceof \IPS\Helpers\Form\Checkbox and !( $object instanceof \IPS\Helpers\Form\YesNo )}} ipsFieldRow_checkbox{{endif}} ipsClearfix {{if $error}}ipsFieldRow_error{{endif}} {{if $rowClasses}}{expression="implode(' ', $rowClasses)"}{{endif}}' {{if $id}}id="{$id}"{{endif}}>
	{{if $object instanceof \IPS\Helpers\Form\Checkbox and !( $object instanceof \IPS\Helpers\Form\YesNo )}}
		{$prefix|raw}
		{$element|raw}
		{$suffix|raw}
		<div class='ipsFieldRow_content'>
			<label class='ipsFieldRow_label' for='check_{$id}'><span>{$label|raw}</span> {{if $required}}<span class='ipsFieldRow_required'>{lang="required"}</span>{{endif}}</label>
			{$desc|raw}
			{$warning|raw}
			{{if $error}}
				<br>
				<span class="ipsType_warning">{lang="$error"}</span>
			{{endif}}
		</div>
	{{else}}
		{{if $label}}
			<label class='ipsFieldRow_label' {{if $object !== NULL AND $object->getLabelForAttribute() !== NULL}}for='{$object->getLabelForAttribute()}'{{endif}}>
				<span>{$label|raw}</span> {{if $required}}<span class='ipsFieldRow_required'>{lang="required"}</span>{{endif}}
			</label>
		{{endif}}
		<div class='ipsFieldRow_content' {{if $object instanceof \IPS\Helpers\Form\Text && !$required && $object->options['autocomplete'] !== NULL && !$object->value}}data-controller='core.global.core.optionalAutocomplete'{{endif}}>
			{$prefix|raw}
			{$element|raw}
			{$suffix|raw}
			{$desc|raw}
			{$warning|raw}
			{{if $error}}
				<br>
				<span class="ipsType_warning">{lang="$error"}</span>
			{{endif}}
		</div>
	{{endif}}
</li>]]></template>
 <template template_group="forms" template_name="rowDesc" template_data="$label, $element, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" template_location="global" template_app="core"><![CDATA[{{if \IPS\Dispatcher::i()->controllerLocation == 'admin' AND !( $object instanceof \IPS\Helpers\Form\Address ) AND !( $object instanceof \IPS\Helpers\Form\Upload ) AND !( $object instanceof \IPS\Helpers\Form\Node ) AND !( $object instanceof \IPS\Helpers\Form\Codemirror )}}<br>{{endif}}
{{if \IPS\Dispatcher::i()->controllerLocation == 'front' AND ( !( $object instanceof \IPS\Helpers\Form\Checkbox ) OR $object instanceof \IPS\Helpers\Form\YesNo )}}<br>{{endif}}
<span class='ipsFieldRow_desc'>
	%s
</span>]]></template>
 <template template_group="forms" template_name="rowWarning" template_data="$label, $element, $required=FALSE, $error=NULL, $prefix=NULL, $suffix=NULL, $id=NULL, $object=NULL, $form=NULL" template_location="global" template_app="core"><![CDATA[<div {{if $id !== NULL}}id="{$id}_warning"{{endif}}>
	<br>{{if \IPS\Dispatcher::i()->controllerLocation == 'front'}}<br>{{endif}}
	<p class='ipsMessage ipsMessage_warning'>%s</p>
</div>]]></template>
 <template template_group="forms" template_name="select" template_data="$name, $value, $required, $options, $multiple=FALSE, $class='', $disabled=FALSE, $toggles=array(), $id=NULL, $unlimited=NULL, $unlimitedLang='all', $unlimitedToggles=array(), $toggleOn=TRUE, $userSuppliedInput='', $sort=FALSE, $parse=NULL" template_location="admin" template_app="core"><![CDATA[{{if $multiple}}
	<input type="hidden" name="{$name}" value="__EMPTY">
{{endif}}
<select name="{$name}" class="{$class}" {{if $multiple}}multiple{{endif}} {{if $required === TRUE}}required aria-required='true'{{endif}} {{if $disabled === TRUE}}disabled aria-disabled='true'{{endif}} {{if $id !== NULL}}id="elSelect_{$id}"{{endif}} {{if $sort}}data-sort{{endif}}>
	{{foreach $options as $k => $v}}
		{{if \is_array( $v )}}
			<optgroup label="{{if $parse === 'raw'}}{$k}{{else}}{lang="$k"}{{endif}}">
				{{foreach $v as $_k => $_v}}
					<option value='{$_k}' {{if ( ( $value === 0 and $_k === 0 ) or ( $value !== 0 and $value === $_k ) ) or ( \is_array( $value ) and \in_array( $_k, $value ) )}}selected{{endif}} {{if isset( $toggles[ $_k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $_k ] )"}" aria-controls="{expression="implode( ',', $toggles[ $_k ] )"}"{{endif}} {{if \is_array($disabled) and \in_array( $_k, $disabled )}}disabled{{endif}}>{$_v|raw}</option>
				{{endforeach}}
			</optgroup>
		{{else}}
			<option value='{$k}' {{if ( ( $value === 0 and $k === 0 ) or ( $value !== 0 and $value === $k ) or ( $value !== 0 and \is_numeric( $value ) and \is_numeric( $k ) and $value == $k ) ) or ( \is_array( $value ) and \in_array( $k, $value ) ) or ( !empty( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}selected{{endif}} {{if isset( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} {{if \is_array($disabled) and \in_array( $k, $disabled )}}disabled{{endif}}>{$v|raw}</option>
		{{endif}}
	{{endforeach}}
</select>
{{if !empty( $userSuppliedInput )}}
	<input type='text' name='{$userSuppliedInput}_{$name}' value="{{if !\in_array( $value, array_keys( $options ) )}}{$value}{{endif}}" id='{$userSuppliedInput}_{$id}'>
{{endif}}
{{if $unlimited !== NULL}}
	<br><br>
	{lang="or"}
	&nbsp;
	<span class='ipsCustomInput'>
		<input type="checkbox" role='checkbox' data-control="unlimited{{if \count($unlimitedToggles)}} toggle{{endif}}" name="{expression="trim( $name, '[]' )"}_unlimited" id='{expression="trim( $id ?: $name, '[]' )"}_unlimited' value="{$unlimited}" {{if $unlimited === $value}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}} {{if \count( $unlimitedToggles )}}{{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $unlimitedToggles )"}" {{if \is_array( $toggleOn )}}data-togglesOff="{expression="implode( ',', $toggleOn )"}"{{endif}} aria-controls="{expression="implode( ',', $unlimitedToggles )"}"{{endif}} aria-labelledby='{expression="trim( $id ?: $name, '[]' )"}_unlimited_label'>
		<span></span>
	</span>
	<label for='{expression="trim( $id ?: $name, '[]' )"}_unlimited' id='{expression="trim( $id ?: $name, '[]' )"}_unlimited_label' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
{{endif}}]]></template>
 <template template_group="forms" template_name="select" template_data="$name, $value, $required, $options, $multiple=FALSE, $class='', $disabled=FALSE, $toggles=array(), $id=NULL, $unlimited=NULL, $unlimitedLang='all', $unlimitedToggles=array(), $toggleOn=TRUE, $userSuppliedInput='', $sort=FALSE" template_location="front" template_app="core"><![CDATA[{{if $multiple}}
	<input type="hidden" name="{$name}" value="__EMPTY">
{{endif}}
<select name="{$name}" class="{$class}" {{if $multiple}}multiple{{endif}} {{if $required === TRUE}}required aria-required='true'{{endif}} {{if $disabled === TRUE}}disabled aria-disabled='true'{{endif}} {{if $id !== NULL}}id="elSelect_{$id}"{{endif}} {{if $sort}}data-sort{{endif}}>
	{{foreach $options as $k => $v}}
		{{if \is_array( $v )}}
			<optgroup label="{lang="$k"}">
				{{foreach $v as $_k => $_v}}
					<option value='{$_k}' {{if ( ( $value === 0 and $_k === 0 ) or ( $value !== 0 and $value === $_k ) ) or ( \is_array( $value ) and \in_array( $_k, $value ) )}}selected{{endif}} {{if isset( $toggles[ $_k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $_k ] )"}" aria-controls="{expression="implode( ',', $toggles[ $_k ] )"}"{{endif}}>{$_v|raw}</option>
				{{endforeach}}
			</optgroup>
		{{else}}
			<option value='{$k}'  {{if ( ( $value === 0 and $k === 0 ) or ( $value !== 0 and $value === $k ) or ( $value !== 0 and \is_numeric( $value ) and \is_numeric( $k ) and $value == $k ) ) or ( \is_array( $value ) and \in_array( $k, $value ) ) or ( !empty( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}selected{{endif}} {{if \is_array( $disabled ) and \in_array( $k, $disabled )}}disabled{{endif}} {{if isset( $toggles[ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}}>{$v|raw}</option>
		{{endif}}
	{{endforeach}}
</select>
{{if $unlimited !== NULL}}
	<br><br>
	{lang="or"}
	&nbsp;
	<span class='ipsCustomInput'>
		<input type="checkbox" data-control="unlimited{{if \count($unlimitedToggles)}} toggle{{endif}}" name="{expression="trim( $name, '[]' )"}_unlimited" id='{expression="trim( $id ?: $name, '[]' )"}_unlimited' value="{$unlimited}" {{if $unlimited === $value}}checked aria-checked='true'{{endif}} {{if $disabled === TRUE}}disabled aria-disabled='true'{{endif}} {{if \count( $unlimitedToggles )}}{{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $unlimitedToggles )"}" aria-controls="{expression="implode( ',', $unlimitedToggles )"}"{{endif}} aria-labelledby='{expression="trim( $id ?: $name, '[]' )"}_unlimited_label'>
		<span></span>
	</span> <label for='{expression="trim( $id ?: $name, '[]' )"}_unlimited' id='{expression="trim( $id ?: $name, '[]' )"}_unlimited_label' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
{{endif}}
]]></template>
 <template template_group="forms" template_name="seperator" template_data=" " template_location="front" template_app="core"><![CDATA[<li>
	<hr class='ipsHr'>
</li>]]></template>
 <template template_group="forms" template_name="socialProfiles" template_data="$key, $value" template_location="admin" template_app="core"><![CDATA[<div class="ipsField_stackItem_keyValue">
	<span data-ipsStack-keyvalue-name="key">{$key|raw}</span> 
	<span data-ipsStack-keyvalue-name="key">{$value|raw}</span>
</div>]]></template>
 <template template_group="forms" template_name="sort" template_data="$name, $value, $options" template_location="global" template_app="core"><![CDATA[<div class="ipsField_stack" data-ipsStack data-ipsStack-sortable data-ipsStack-fieldName="{$name}">
	<ul class="ipsList_reset" data-role="stack">
	{{$i = 0;}}
	{{foreach $value as $id => $val}}
		{{$i++;}}
		<li class='ipsField_stackItem' data-role="stackItem">
			<input type="hidden" name="{$name}[{$id}]" value="{$val}">
			<div class="ipsCursor_drag" data-action='stackDrag'>
				<span class="ipsField_stackDrag ipsDrag ipsJS_show">
					<i class='fa fa-bars ipsDrag_dragHandle'></i>
				</span>
				<div data-ipsStack-wrapper class="ipsPad ipsPad_half">
					{{if $options['checkboxes']}}
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$name}_checkboxes[{$id}]" value="1" {{if $val}}checked{{endif}} id="elCheckbox_{$name}_{$id}">
							<span></span>
						</span>
						<label for="elCheckbox_{$name}_{$id}">
							{lang="{$options['checkboxes']}{$id}"}
						</label>
					{{else}}
						{$val}
					{{endif}}
				</div>
			</div>
		</li>
	{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="forms" template_name="stack" template_data="$name, $fields, $options=array()" template_location="global" template_app="core"><![CDATA[<div class="ipsField_stack" data-ipsStack data-ipsStack-sortable data-ipsStack-fieldName="{$name}" {{if isset( $options['maxItems'] )}}data-ipsStack-maxItems="{$options['maxItems']}"{{endif}}>
	<ul class="ipsList_reset" data-role="stack">
	{{foreach $fields as $field}}
		<li class='ipsField_stackItem' data-role="stackItem">
			<span class="ipsField_stackDrag ipsDrag ipsJS_show" data-action='stackDrag'>
				<i class='fa fa-bars ipsDrag_dragHandle'></i>
			</span>
			<a href='#' class="ipsField_stackDelete ipsCursor_pointer ipsJS_show" data-action="stackDelete">
				&times;
			</a>
			<input type="submit" class="ipsField_stackDelete ipsJS_hide" name="form_remove_stack[{expression="md5($field)"}]" value="&cross;">
			<div data-ipsStack-wrapper>{$field|raw}</div>
		</li>
	{{endforeach}}
	</ul>
	<a class="ipsField_stackAdd ipsButton ipsButton_light ipsButton_small ipsJS_show" href='#' data-action="stackAdd" role="button"><i class='fa fa-plus-circle'></i>&nbsp; {lang="stack_add"}</a>
	<input type="submit" class="ipsJS_hide" name="form_add_stack" value="{lang="stack_add"}">
</div>]]></template>
 <template template_group="forms" template_name="statusPopupTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method="post" action="{$action}" id='elStatusSubmit' {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	<div class="ipsPadding">
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
			<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
		{{endif}}
		{{foreach $elements as $collection}}
			{{foreach $collection as $input}}
				{{if $input instanceof \IPS\Helpers\Form\Editor}}
					{$input->html()|raw}
					{{if $input->error}}
						<br>
						<span class="ipsType_warning">{lang="$input->error"}</span>
					{{endif}}
				{{endif}}
			{{endforeach}}
		{{endforeach}}
	</div>
	<ul class="ipsPadding ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsBorder_top">
		{{foreach $actionButtons as $button}}
			<li>{$button|raw}</li>
		{{endforeach}}
	</ul>
</form>	
]]></template>
 <template template_group="forms" template_name="statusTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method="post" action="{$action}" id='elStatusSubmit' {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Editor}}
				{$input->html( TRUE )|raw}
				{{if $input->error}}
					<br>
					<span class="ipsType_warning">{lang="$input->error"}</span>
				{{endif}}
			{{endif}}
		{{endforeach}}
	{{endforeach}}
<ul class='ipsToolList ipsToolList_horizontal ipsClear ipsClearfix' data-ipsEditor-toolList>
	<li><button class='ipsButton ipsButton_primary ipsButton_fullWidth' data-action="submitComment">{lang="status_new"}</button></li>
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Checkbox}}
				<li class='ipsPos_left ipsResponsive_noFloat ipsComposeArea_formControl ipsType_medium ipsType_light'>
					{$input->html()|raw}
					<label for="check_{$input->htmlId}">
						{lang="$input->name"}
					</label>
					{{if $input->error}}
						<div class="ipsType_warning ipsSpacer_top" data-role="commentFormError">{lang="$input->error"}</div>
					{{endif}}
				</li>
			{{endif}}
		{{endforeach}}
	{{endforeach}}
</ul>
</form>	]]></template>
 <template template_group="forms" template_name="statusWidgetForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method="post" action="{$action}" id='elStatusSubmit' {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Editor}}
				{$input->html()|raw}
				{{if $input->error}}
					<br>
					<span class="ipsType_warning">{lang="$input->error"}</span>
				{{endif}}
			{{endif}}
		{{endforeach}}
	{{endforeach}}
	<div class='ipsSpacer_top ipsSpacer_half'>
		<button type='submit' class='ipsButton ipsButton_primary ipsButton_medium ipsButton_fullWidth'>{lang="status_new"}</button>
	</div>
</form>	
]]></template>
 <template template_group="forms" template_name="tags" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<input type='text' name="{$name}" value="{expression="implode( ',', $value )"}" data-ipsAutocomplete>
<noscript>
	<br>
	<span class="ipsFieldRow_desc">{lang="tags_no_js"}</span>
</noscript>]]></template>
 <template template_group="forms" template_name="template" template_data="$id, $action, $tabs, $activeTab, $error, $errorTabs, $hiddenValues, $actionButtons, $uploadField, $sidebar, $tabClasses=array(), $formClass='', $attributes=array(), $tabArray=array(), $usingIcons=FALSE" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' data-formId="{$id}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm class="{$formClass}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} {{if \count($tabArray) > 1}}novalidate="true"{{endif}}>
	<input type="hidden" name="{$id}_activeTab" value="{{if $activeTab}}{$activeTab}{{endif}}">
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_v}}
				<input type="hidden" name="{$k}[]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
	{{endif}}
	{{if $error}}
		<div class="ipsMessage ipsMessage_error">
			{$error}
		</div>
	{{endif}}
	{{if \count( $tabs ) === 1}}
		{{if !empty( $sidebar )}}
			<div class='ipsColumns'>
				<div class='ipsColumn ipsColumn_fluid'>
		{{endif}}
					<ul class='ipsForm'>
						{expression="array_pop( $tabs )" raw="true"}
					</ul>
		{{if !empty( $sidebar )}}
				</div>
				<div class='ipsColumn ipsColumn_wide'>
					{expression="array_pop( $sidebar )" raw="true"}
				</div>
			</div>
		{{endif}}
	{{else}}
		{{if !empty( $errorTabs )}}
			<p class="ipsMessage ipsMessage_error ipsJS_show">{lang="tab_error"}</p>
		{{endif}}
		<div class='ipsTabs ipsClearfix ipsJS_show acpFormTabBar{{if $usingIcons}} ipsTabs_withIcons{{endif}}' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}' {{if $activeTab}}data-ipsTabBar-defaultTab="{$activeTab}"{{endif}}>
			<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $tabs as $name => $content}}
					<li>
						<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if $name == $activeTab}}ipsTabs_activeItem{{endif}} {{if \in_array( $name, $errorTabs )}}ipsTabs_error{{endif}}" role="tab" aria-selected="{{if $activeTab == $name}}true{{else}}false{{endif}}">
							{{if \in_array( $name, $errorTabs )}}<i class="fa fa-exclamation-circle"></i> {{endif}}{{if isset($tabArray[$name]['icon'])}}<i class='fa fa-{$tabArray[$name]['icon']}'></i> {{endif}}{lang="$name"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_content_{$id}' class='acpFormTabContent'>
			{{foreach $tabs as $name => $contents}}
				<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
					{{if isset( $sidebar[ $name ] )}}
						<div class='ipsColumns ipsColumns_collapsePhone'>
							<div class='ipsColumn ipsColumn_fluid'>
					{{endif}}
								<ul class='ipsForm {$formClass} {{if isset( $tabClasses[ $name ] )}}{$tabClasses[ $name ]}{{endif}}'>
									<li class='ipsTabs_dummyItem ipsPad ipsType_normal ipsJS_hide'>{lang="$name"}</li>
									{$contents|raw}
								</ul>
					{{if isset( $sidebar[ $name ] )}}
							</div>
							<div class='ipsColumn ipsColumn_wide'>
								{$sidebar[ $name ]|raw}
							</div>
						</div>
					{{endif}}
				</div>
			{{endforeach}}
		</div>
	{{endif}}
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		{expression="implode( '', $actionButtons)" raw="true"}
	</div>
</form>]]></template>
 <template template_group="forms" template_name="template" template_data="$id, $action, $tabs, $activeTab, $error, $errorTabs, $hiddenValues, $actionButtons, $uploadField, $sidebar, $tabClasses=array(), $formClass='', $attributes=array(), $tabArray=array(), $usingIcons=FALSE" template_location="front" template_app="core"><![CDATA[<form action="{$action}" method="post" accept-charset='utf-8' {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm class="ipsForm {$formClass}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} {{if \count($tabArray) > 1}}novalidate="true"{{endif}}>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	{{if $error}}
		<div class="ipsMessage ipsMessage_error">
			{$error}
		</div>
	{{endif}}
	{{if \count( $tabs ) < 2}}
		{{if !empty( $sidebar )}}
			<div class='ipsColumns ipsColumns_collapsePhone'>
				<div class='ipsColumn ipsColumn_fluid'>
		{{endif}}
					<ul class='ipsForm'>
						{expression="array_pop( $tabs )" raw="true"}
						<li class='ipsFieldRow'>
							<div class='ipsFieldRow_content'>
								{expression="implode( '', $actionButtons)" raw="true"}
							</div>
						</li>
					</ul>
		{{if !empty( $sidebar )}}
				</div>
				<div class='ipsColumn ipsColumn_wide'>
					{expression="array_pop( $sidebar )" raw="true"}
				</div>
			</div>
		{{endif}}
	{{else}}
		{{if !empty( $errorTabs )}}
			<p class="ipsMessage ipsMessage_error ipsJS_show">{lang="tab_error"}</p>
		{{endif}}
		<div class='ipsTabs ipsClearfix ipsJS_show{{if $usingIcons}} ipsTabs_withIcons{{endif}}' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
			<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $tabs as $name => $content}}
					<li>
						<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if $name == $activeTab}}ipsTabs_activeItem{{endif}} {{if \in_array( $name, $errorTabs )}}ipsTabs_error{{endif}}" role="tab" aria-selected="{{if $activeTab == $name}}true{{else}}false{{endif}}">
							{{if \in_array( $name, $errorTabs )}}<i class="fa fa-exclamation-circle"></i> {{endif}}{{if isset($tabArray[$name]['icon'])}}<i class='fa fa-{$tabArray[$name]['icon']}'></i> {{endif}}{lang="$name"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_content_{$id}' class=''>
			{{foreach $tabs as $name => $contents}}
				<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
					{{if isset( $sidebar[ $name ] )}}
						<div class='ipsColumns ipsColumns_collapsePhone'>
							<div class='ipsColumn ipsColumn_fluid'>
					{{endif}}
								<ul class='ipsForm {$formClass} {{if isset( $tabClasses[ $name ] )}}{$tabClasses[ $name ]}{{endif}}'>
									<li class='ipsJS_hide'>{lang="$name"}</li>
									{$contents|raw}
								</ul>
					{{if isset( $sidebar[ $name ] )}}
							</div>
							<div class='ipsColumn ipsColumn_wide'>
								{$sidebar[ $name ]|raw}
							</div>
						</div>
					{{endif}}
				</div>
			{{endforeach}}
		</div>
		<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
			{expression="implode( '', $actionButtons)" raw="true"}
		</div>
	{{endif}}
</form>]]></template>
 <template template_group="forms" template_name="text" template_data="$name, $type, $value, $required, $maxlength=NULL, $size=NULL, $disabled=FALSE, $autoComplete=NULL, $placeholder=NULL, $regex=NULL, $nullLang=NULL, $htmlId=NULL, $showMeter=FALSE, $htmlAutocomplete=NULL, $pwCheckAgainstMember=NULL, $pwCheckAgainstRequest=array()" template_location="global" template_app="core"><![CDATA[{{if $showMeter}}
	<div data-ipsPasswordStrength{{if settings.password_strength_meter_enforce}} data-ipsPasswordStrength-enforced data-ipsPasswordStrength-enforcedStrength='{setting="password_strength_option"}'{{endif}}{{if $pwCheckAgainstMember !== NULL}} data-ipsPasswordStrength-checkAgainstMember='{expression="json_encode( array( $pwCheckAgainstMember->name, $pwCheckAgainstMember->email ) )" raw="true"}'{{endif}}{{if \count( $pwCheckAgainstRequest )}} data-ipsPasswordStrength-checkAgainstRequest='{expression="json_encode($pwCheckAgainstRequest)" raw="true"}'{{endif}}>
{{endif}}
{{if $autoComplete}}
	{template="autocomplete" group="forms" location="global" app="core" params="$name, $value, $required, $maxlength, $disabled, '', $placeholder, $nullLang, $autoComplete"}
{{else}}
	<input
		type="{$type}"
		name="{$name}"
        {{if !is_null( $value )}}
		value="{{if \is_array( $value )}}{expression="implode( ',', $value )"}{{else}}{$value}{{endif}}"
        {{endif}}
		id="elInput_{{if ! empty($htmlId)}}{$htmlId}{{else}}{$name}{{endif}}"
		{{if $required === TRUE}}aria-required='true'{{endif}}
		{{if $maxlength !== NULL}}maxlength="{$maxlength}"{{endif}}
		{{if $size !== NULL}}size="{$size}"{{endif}}
		{{if $disabled}}disabled aria-disabled='true'{{endif}}
		{{if $placeholder !== NULL}}placeholder='{$placeholder}'{{endif}}
		{{if $regex !== NULL and $regex}}pattern="{$regex}"{{endif}}
		{{if $htmlAutocomplete !== NULL and $htmlAutocomplete}}autocomplete="{$htmlAutocomplete}"{{endif}}
	>
	{{if $showMeter}}
		<div data-role='strengthInfo' class='ipsHide'>
			<meter max="100" value="0" class='ipsForm_meter' data-role='strengthMeter'></meter>
			<span data-role='strengthText' class='ipsForm_meterAdvice'></span>
		</div>
	{{endif}}
	{{if $nullLang}}
		{lang="or"} 
		<span class='ipsCustomInput'>
			<input type="checkbox" data-control="unlimited" name="{$name}_null" id='{$name}_null' value="1" {{if $value === NULL}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled aria-disabled='true'{{endif}} aria-labelledby='{$name}_null_label'>
			<span></span>
		</span> <label for='{$name}_null' id='{$name}_null_label' class='ipsField_unlimited'>{lang="$nullLang"}</label>
	{{endif}}
	{{if $showMeter}}
	</div>
	{{endif}}
{{endif}}]]></template>
 <template template_group="forms" template_name="textarea" template_data="$name, $value, $required, $maxlength=NULL, $disabled=FALSE, $class='', $placeholder='', $nullLang=NULL, $tags=array(), $rows=NULL" template_location="global" template_app="core"><![CDATA[{{if !empty( $tags )}}
<div class='ipsColumns ipsColumns_collapseTablet' data-controller='core.global.editor.customtags' data-tagFieldType='text' data-tagFieldID='elTextarea_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'>
	<div class='ipsColumn_fluid ipsColumn'>
		<div data-role="editor">
{{endif}}
<textarea
	name="{$name}"
	id='elTextarea_{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}'
	value="{{if $value }}{$value}{{endif}}"
	class="ipsField_fullWidth {$class}"
	{{if $rows !== NULL}}rows="{$rows}"{{endif}}
	{{if $maxlength !== NULL}}maxlength="{$maxlength}"{{endif}}
	{{if $required === TRUE}}aria-required='true'{{endif}}
	{{if $disabled}}disabled aria-disabled='true'{{endif}}
	{{if $placeholder}}placeholder="{$placeholder}"{{endif}}
>{{if $value }}{$value}{{endif}}</textarea>
{{if !empty( $tags )}}
	</div>
{{endif}}
{{if $nullLang}}
	{lang="or"} 
	<span class='ipsCustomInput'>
		<input type="checkbox" data-control="unlimited" name="{$name}_null" id="{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null" value="1" {{if $value === NULL}}checked aria-checked='true'{{endif}} {{if $disabled}}disabled{{endif}} aria-controls='{$name}' aria-labelledby='{$name}_null_label'>
		<span></span>
	</span> <label for='{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null' id='{expression="preg_replace('/[^a-zA-Z0-9\-_]/', '_', $name)"}_null_label' class='ipsField_unlimited'>{lang="$nullLang"}</label>
{{endif}}
{{if !empty( $tags )}}
	</div>
	<div class='ipsColumn_medium ipsColumn ipsAreaBackground_light ipsComposeArea_sidebar {{if !isset( \IPS\Request::i()->cookie['tagSidebar'] )}}ipsComposeArea_sidebarOpen{{else}}ipsComposeArea_sidebarClosed{{endif}}'>
		<a href='#' class="ipsJS_show" data-action='tagsToggle' data-ipsTooltip data-ipsTooltip-label="{lang="toggle_sidebar"}">{lang="toggle_sidebar"}</a>
		<h3 class='ipsAreaBackground ipsPad_half ipsType_reset' data-role='tagsHeader'>{lang="editor_tags"}</h3>
		<ul class='ipsList_reset ipsScrollbar' data-role='tagsList'>
		{{foreach $tags as $tagKey => $tagValue }}
			<li class='ipsPad_half'>
				<label class="ipsJS_show" data-tagKey="{$tagKey}">{$tagKey}</label>
				<div class='ipsJS_hide ipsType_light'><strong>{$tagKey}</strong></div>
				<div class='ipsType_light ipsType_small'>{$tagValue}</div>
			</li>
		{{endforeach}}
		</ul>
	</div>
</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="translatable" template_data="$name, $languages, $values, $editors, $placeholder, $textarea=FALSE, $required=FALSE" template_location="global" template_app="core"><![CDATA[{{if \count( $languages ) === 1}}
	{{foreach $languages as $lang}}
		{{if !isset( $editors[ $lang->id ] ) }}
			{{if $textarea}}
				<textarea name="{$name}[{$lang->id}]">{{if isset($values[ $lang->id ])}}{$values[ $lang->id ]}{{endif}}</textarea>
			{{else}}
				<input type='text' name="{$name}[{$lang->id}]" value="{{if isset($values[ $lang->id ])}}{$values[ $lang->id ]}{{endif}}" {{if $placeholder !== NULL}}placeholder='{$placeholder}'{{endif}}>
			{{endif}}
		{{else}}
			{$editors[ $lang->id ]->html()|raw}
		{{endif}}
	{{endforeach}}
{{else}}
	{{if $textarea}}
		{{foreach $languages as $lang}}
			<span class="{$lang->_icon}"></span> {$lang->_title} {{if $required and $lang->default}}<span class="ipsFieldRow_required">{lang="required"}</span>{{endif}}<br>
			<br>
			<textarea name="{$name}[{$lang->id}]" aria-label='{$lang->title}' {{if !$required || !$lang->default}}class='ipsFieldRow_errorExclude'{{endif}}>{{if isset( $values[ $lang->id ])}}{$values[ $lang->id ]}{{endif}}</textarea><br>
			<br>
		{{endforeach}}
	{{else}}
		<ul class='ipsField_translatable ipsList_reset'>
			{{foreach $languages as $lang}}
				<li class='ipsClearfix'>
					{{if !isset( $editors[ $lang->id ] ) }}
						<span class="{$lang->_icon}"></span>
						<input type='text' name="{$name}[{$lang->id}]" aria-label='{$lang->title}' placeholder="{$lang->title}" {{if isset( $values[ $lang->id ])}}value="{$values[ $lang->id ]}"{{endif}} {{if !$required || !$lang->default}}class='ipsFieldRow_errorExclude'{{endif}}>
						{{if $required and $lang->default}}
							<span class="ipsFieldRow_required">{lang="required"}</span>
						{{endif}}
					{{else}}
						<p class='ipsFlagEditor'>
							<span class="{$lang->_icon}"></span> <span class='ipsFlagLabel'>{$lang->_title}</span>
							{{if $required and $lang->default}}<span class="ipsFieldRow_required">{lang="required"}</span>{{endif}}
						</p>
						{$editors[ $lang->id ]->html()|raw}
					{{endif}}
				</li>
			{{endforeach}}
		</ul>
	{{endif}}
{{endif}}]]></template>
 <template template_group="forms" template_name="trbl" template_data="$name, $top, $right, $bottom, $left" template_location="global" template_app="core"><![CDATA[<div class="ipsWidthHeight_container">
	<div class="ipsWidthHeight_controls">
		{lang="form_input_top"} <input type="number" name="{$name}[0]" class="ipsField_tiny" value="{$top}" aria-label='{lang="form_input_top"}'>
		{lang="form_input_right"} <input type="number" name="{$name}[1]" class="ipsField_tiny" value="{$right}" aria-label='{lang="form_input_right"}'>
		{lang="form_input_bottom"} <input type="number" name="{$name}[2]" class="ipsField_tiny" value="{$bottom}" aria-label='{lang="form_input_bottom"}'>
		{lang="form_input_left"} <input type="number" name="{$name}[3]" class="ipsField_tiny" value="{$left}" aria-label='{lang="form_input_left"}'> {lang="px"}
	</div>
</div>]]></template>
 <template template_group="forms" template_name="upload" template_data="$name, $value, $minimize, $maxFileSize, $maxFiles, $maxChunkSize, $totalMaxSize, $allowedFileTypes, $pluploadKey, $multiple=FALSE, $editor=FALSE, $forceNoscript=FALSE, $template='core.attachments.fileItem', $existing=array(), $default=NULL, $supportsDelete = TRUE, $maxImageDims = NULL, $allowStockPhotos=FALSE" template_location="global" template_app="core"><![CDATA[<input name="{$name}" type="hidden" value="{$pluploadKey}">
{{if $forceNoscript}}
	<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
	<span class="ipsType_light ipsType_small">
		{{if $allowedFileTypes !== NULL}}
			<strong>{lang="form_upload_accepted"}</strong>
			{expression="implode( ', ', $allowedFileTypes )"}
		{{endif}}
		{{if $multiple and $totalMaxSize}}
			{{if $allowedFileTypes !== NULL}}
				&middot;
			{{endif}}
			<strong>{lang="form_upload_total_max"}</strong>
			{filesize="$totalMaxSize * 1048576"}
		{{endif}}
		{{if !$multiple or !$totalMaxSize or $maxChunkSize < $totalMaxSize}}
			{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
				&middot;
			{{endif}}
			<strong>{lang="form_upload_max"}</strong>
			{$maxChunkSize}MB
		{{endif}}
		{{if $maxFiles}}
			<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
		{{endif}}
	</span>
{{else}}
	<noscript>
		<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
		<span class="ipsType_light ipsType_small">
			{{if $allowedFileTypes !== NULL}}
				<strong>{lang="form_upload_accepted"}</strong>
				{expression="implode( ', ', $allowedFileTypes )"}
			{{endif}}
			{{if $multiple and $totalMaxSize}}
				{{if $allowedFileTypes !== NULL}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_total_max"}</strong>
				{filesize="$totalMaxSize * 1048576"}
			{{endif}}
			{{if !$multiple or !$totalMaxSize or $maxChunkSize < $totalMaxSize}}
				{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_max"}</strong>
				{$maxChunkSize}MB
			{{endif}}
			{{if $maxFiles}}
				<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
			{{endif}}
		</span>
	</noscript>
	{{if $value}}
		{{foreach $value as $id => $file}}
			<input type="hidden" name="{$name}_existing[{$id}]" value="{{if $file->tempId}}{$file->tempId}{{endif}}">
		{{endforeach}}
	{{endif}}
	<div id="{$name}_drop_{expression="md5( mt_rand() )"}"
		 data-ipsUploader
		 {{if $maxFileSize}}data-ipsUploader-maxFileSize="{expression="number_format( $maxFileSize, 3, '.', '' )"}"{{endif}}
		 {{if $maxFiles}}data-ipsUploader-maxFiles="{$maxFiles}"{{endif}}
		 data-ipsUploader-maxChunkSize="{expression="number_format( $maxChunkSize, 3, '.', '' )"}"
		 {{if $allowedFileTypes}}data-ipsUploader-allowedFileTypes='{expression="json_encode( $allowedFileTypes )"}'{{endif}}
		 data-ipsUploader-name="{$name}"
		 data-ipsUploader-key="{$pluploadKey}"
		 {{if $multiple}}data-ipsUploader-multiple {{if $totalMaxSize}}data-ipsUploader-maxTotalSize="{expression="number_format( $totalMaxSize, 3, '.', '' )"}"{{endif}}{{endif}}
		 {{if $minimize}}data-ipsUploader-minimized{{endif}}
		 {{if $editor}}data-ipsUploader-insertable{{endif}}
		 data-ipsUploader-template='{$template}'
		 data-ipsUploader-existingFiles='{expression="json_encode( $existing )"}'
		 {{if isset( $default )}}data-ipsUploader-default='{$default}'{{endif}}
		 {{if $supportsDelete}}data-ipsUploader-supportsDelete{{else}}data-ipsUploader-supportsDelete='false'{{endif}}
		 {{if $maxImageDims}}data-ipsUploader-maxImageDims="{$maxImageDims}"{{endif}}
         {{if $allowStockPhotos}}data-ipsUploader-allowStockPhotos="{$allowStockPhotos}"{{endif}}
		 class='ipsUploader'
	>
		<div class="ipsAttachment_dropZone {{if $minimize}}ipsAttachment_dropZoneSmall{{endif}} ipsClearfix">
			{{if $minimize}}
				<div class='ipsFlex ipsFlex-ai:center sm:ipsFlex-fd:column sm:ipsFlex-ai:stretch'>
					<a href="#" data-action='uploadFile' class="ipsButton ipsButton_small ipsButton_primary ipsMargin_right sm:ipsMargin_right:none" id="{$name}_browse_{expression="md5( mt_rand() )"}">{{if $multiple}}{lang="form_upload_choose"}{{else}}{lang="form_upload_choose_one"}{{endif}}</a>
					{{if $allowStockPhotos}}
						<a href="#" data-action='stockPhoto' class="ipsButton ipsButton_small ipsButton_veryLight ipsMargin_right sm:ipsMargin:none" id="{$name}_stockphoto_{expression="md5( mt_rand() )"}">{lang="form_upload_stockart_choose"}</a>
					{{endif}}
					<!--<div class="ipsAttachment_loading ipsLoading_small ipsPos_left ipsHide"><i class='fa fa-circle-o-notch fa-spin fa-fw'></i></div>-->
					<!-- <i class='fa fa-cloud-upload ipsType_large'></i> -->
					<div class='ipsAttachment_dropZoneSmall_info ipsFlex ipsFlex-fd:column ipsFlex-jc:center sm:ipsMargin_top:half'>
						<span class="ipsAttachment_supportDrag">
							{{if $multiple}}{lang="form_upload_dad_mini"}{{else}}{lang="form_upload_dad_mini_one"}{{endif}}
						</span>
						<span class="ipsType_light ipsType_small">
							{{if $allowedFileTypes !== NULL}}
								{lang="form_upload_accepted"}:
								{expression="implode( ', ', $allowedFileTypes )"}
							{{endif}}
							{{if $multiple and $totalMaxSize}}
								{{if $allowedFileTypes !== NULL}}
									&middot;
								{{endif}}
								{lang="form_upload_total_max"}:
								{filesize="$totalMaxSize * 1048576"}
							{{endif}}
							{{if $maxFileSize and ( !$multiple or !$totalMaxSize or $maxFileSize < $totalMaxSize )}}
								{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
									&middot;
								{{endif}}
								{lang="form_upload_max"}:
								{expression="round($maxFileSize,2)"}MB
							{{endif}}
							{{if $maxFiles}}
								<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
							{{endif}}
						</span>
					</div>
				</div>
			{{else}}
				<i class="fa fa-cloud-upload"></i>
				<span class="ipsAttachment_supportDrag">{{if $multiple}}{lang="form_upload_dad"}{{else}}{lang="form_upload_dad_one"}{{endif}}<br></span>
				<a href="#" data-action='uploadFile' class="ipsButton ipsButton_verySmall ipsButton_primary" id="{$name}_browse_{expression="md5( mt_rand() )"}">{{if $multiple}}{lang="form_upload_choose"}{{else}}{lang="form_upload_choose_one"}{{endif}}</a>
                {{if $allowStockPhotos}}
                    <a href="#" data-action='stockPhoto' class="ipsButton ipsButton_verySmall ipsButton_veryLight" id="{$name}_stockphoto_{expression="md5( mt_rand() )"}">{lang="form_upload_stockart_choose"}</a>
                {{endif}}
                <div class="ipsAttachment_loading ipsLoading_small ipsHide"><i class='fa fa-circle-o-notch fa-spin fa-fw'></i></div>
                <br>
				<span class="ipsType_light ipsType_small">
					{{if $allowedFileTypes !== NULL}}
						<strong>{lang="form_upload_accepted"}</strong>
						{expression="implode( ', ', $allowedFileTypes )"}
					{{endif}}
					{{if $multiple and $totalMaxSize}}
						{{if $allowedFileTypes !== NULL}}
							&middot;
						{{endif}}
						<strong>{lang="form_upload_total_max"}</strong>
						{filesize="$totalMaxSize * 1048576"}
					{{endif}}
					{{if $maxFileSize and ( !$multiple or !$totalMaxSize or $maxFileSize < $totalMaxSize )}}
						{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
							&middot;
						{{endif}}
						<strong>{lang="form_upload_max"}</strong>
						{expression="round($maxFileSize,2)"}MB
					{{endif}}
					{{if $maxFiles}}
						<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
					{{endif}}
				</span>
			{{endif}}
			<div class="ipsAttachment_fileList ipsScrollbar ipsClear">
				<div data-role='fileList'></div>
				<noscript>
					{{if $value}}
						{{foreach $value as $id => $file}}
							{template="uploadFile" group="forms" location="global" app="core" params="$id, $file, $name, $editor, ( $template === 'core.attachments.imageItem' )"}
						{{endforeach}}
					{{endif}}
				</noscript>
			</div>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="uploadDisplay" template_data="$file, $downloadUrl" template_location="global" template_app="core"><![CDATA[{{if $file->isImage()}}
	<img src="{$file->url}" class="ipsImage" data-ipsLightbox>
{{else}}
	<a href="{$downloadUrl}">{$file->originalFilename}</a>
{{endif}}]]></template>
 <template template_group="forms" template_name="uploadFile" template_data="$id, $file, $name=NULL, $editor=FALSE, $showAsImages=FALSE, $link=NULL" template_location="global" template_app="core"><![CDATA[{{if $showAsImages}}
	<div class='ipsGrid_span3 ipsAttach ipsImageAttach ipsPad_half ipsAreaBackground_light {{if $editor}}ipsAttach_done{{endif}}' data-role='file' data-fileid="{$id}" {{if $link}}data-filelink="{$link}"{{endif}} data-fileType="{$file->mediaType()}" {{if $file->attachmentThumbnailUrl}}data-thumbnailurl="{$file->attachmentThumbnailUrl}"{{endif}} {{if $file->isImage() or $file->isVideo()}}data-fullsizeurl="{$file->url}"{{endif}} {{if $file->isVideo()}}data-mimeType="{expression="\IPS\File::getMimeType( $file->originalFilename )"}"{{endif}}>
		<ul class='ipsList_inline ipsImageAttach_controls'>
			{{if $editor}}
				<li><a href='#' data-action='selectFile' class='ipsAttach_selection' data-ipsTooltip title='{lang="form_upload_insert_one"}'><i class='fa fa-check'></i></a></li>
			{{endif}}
			{{if $name}}
				<li class='ipsPos_right'>
					<input type="hidden" name="{$name}_keep[{$id}]" value="1">
					<a href='#' data-role='deleteFile' class='ipsButton ipsButton_verySmall ipsButton_light' data-ipsTooltip title='{lang="editor_media_remove"}'><i class='fa fa-trash-o'></i></a>
				</li>
			{{endif}}
		</ul>
		{{$screenshot = isset( $file->screenshot ) ? $file->screenshot : $file;}}
		{{$extension =  mb_strtolower( mb_substr( $screenshot->filename, mb_strrpos( $screenshot->filename, '.' ) + 1 ) );}}
		{{if \in_array( $extension, \IPS\Image::supportedExtensions() )}}
			<div class='ipsImageAttach_thumb ipsType_center' data-role='preview' data-grid-ratio='65' data-action='selectFile' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), ( $screenshot->attachmentThumbnailUrl ) ? $screenshot->attachmentThumbnailUrl : $screenshot->url )"}" );'>
				<img src="{$screenshot->url}" alt='' class='ipsImage'>
			</div>
		{{elseif \in_array( $extension, \IPS\File::$videoExtensions )}}
			<div class='ipsImageAttach_thumb ipsType_center' data-role='preview' data-grid-ratio='65' data-action='selectFile'>
				<video>
					 <source src="{$screenshot->url}" type="{expression="\IPS\File::getMimeType( $screenshot->originalFilename )"}">
				</video>
			</div>
		{{else}}
			<div class='ipsImageAttach_thumb ipsType_center' data-role='preview' data-grid-ratio='65' data-action='selectFile'>
				<div class='ipsNoThumb'></div>
			</div>
		{{endif}}		
		<h2 class='ipsType_reset ipsAttach_title ipsType_medium ipsTruncate ipsTruncate_line ipsType_break' data-role='title'>{{if isset( $file->contextInfo )}}{$file->contextInfo}{{else}}{$file->originalFilename}{{endif}}</h2>
		<p class='ipsType_light ipsType_small ipsTruncate ipsTruncate_line ipsType_break'><span data-role='status'>{filesize="$file->filesize()"}</span>{{if isset( $file->contextInfo )}} &middot; {$file->originalFilename}{{endif}}</p>
	</div>
{{else}}
	<div class='ipsDataItem ipsAttach {{if $editor}}ipsAttach_done{{endif}}' {{if $file->attachmentThumbnailUrl}}data-thumbnailurl="{$file->attachmentThumbnailUrl}"{{endif}} data-role='file' data-fileid="{$id}" {{if $link}}data-filelink="{$link}"{{endif}} data-fileType="{$file->mediaType()}">
		<div class='ipsDataItem_generic ipsDataItem_size3 ipsResponsive_hidePhone ipsResponsive_block ipsType_center' data-action='selectFile'>
			{{if \in_array( mb_strtolower( mb_substr( $file->filename, mb_strrpos( $file->filename, '.' ) + 1 ) ), \IPS\Image::supportedExtensions() )}}
				<img src="{{if $file->attachmentThumbnailUrl}}{$file->attachmentThumbnailUrl}{{else}}{$file->url}{{endif}}" alt='' class='ipsImage ipsThumb_small'>
			{{else}}
				<i class='fa fa-file ipsType_large'></i>
			{{endif}}
		</div>
		<div class='ipsDataItem_main' data-action='selectFile'>
			<h2 class='ipsDataItem_title ipsType_reset ipsType_medium ipsAttach_title ipsTruncate ipsTruncate_line ipsType_break' data-role='title'>{$file->originalFilename}</h2>
			<p class='ipsDataItem_meta ipsType_light'>
				{filesize="$file->filesize()"}
			</p>
		</div>
		<div class='ipsDataItem_generic ipsDataItem_size9 ipsType_light' data-role='status'>
			
		</div>
		<div class='ipsDataItem_generic ipsDataItem_size3 ipsType_right'>
			<ul class='ipsList_inline'>
				{{if $editor}}
					<li><a href='#' data-action='selectFile' class='ipsAttach_selection' data-ipsTooltip title='{lang="form_upload_insert_one"}'><i class='fa fa-check'></i></a></li>
				{{endif}}
				{{if $name}}
					<li>
						<input type="hidden" name="{$name}_keep[{$id}]" value="1">
						<a href='#' data-role='deleteFile' class='ipsButton ipsButton_verySmall ipsButton_light' data-ipsTooltip title='{lang="editor_media_remove"}'><i class='fa fa-trash-o'></i></a>
					</li>
				{{endif}}
			</ul>
		</div>		
	</div>
{{endif}}]]></template>
 <template template_group="forms" template_name="uploadNoScript" template_data="$name, $value, $required, $multiple" template_location="front" template_app="core"></template>
 <template template_group="forms" template_name="webhookselector" template_data="$name, $value, $required, $options, $multiple=FALSE, $class='', $disabled=FALSE, $toggles=array(), $id=NULL, $unlimited=NULL, $unlimitedLang='all', $unlimitedToggles=array(), $toggleOn=TRUE, $descriptions=array(), $impliedUnlimited=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $multiple}}
<input type="hidden" name="{$name}[__EMPTY]" value="__EMPTY">
{{endif}}

<div data-control="granularCheckboxset" data-count="{expression="\count( $options )"}">

<div data-role="checkboxsetGranular" class=" ">

    <div class="ipsGrid">
        {{foreach $options as $k => $v}}
       <div class="ipsGrid_span4">
					<span class=''>
						<input type="checkbox" {{if $class}}class="{$class}"{{endif}} name="{$name}[{$k}]" value="1" {{if ( $unlimited !== NULL AND $unlimited === $value ) or ( \is_array( $value ) AND \in_array( $k, $value ) )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} {{if isset( $toggles[ $k ] ) and !empty( $toggles[ $k ] )}}data-control="toggle" {{if $toggleOn === FALSE}}data-togglesOff{{else}}data-togglesOn{{endif}}="{expression="implode( ',', $toggles[ $k ] )"}"{{endif}} id="elCheckbox_{$name}_{$k}">
                        <span class="ipsFieldRow_label">     <label for='elCheckbox_{$name}_{$k}' id='elField_{$name}_label' data-role="label">{$k|raw}</label>
                        </span>
                         {{if isset( $descriptions[ $k ] )}}
                        <div class="ipsField_fieldList_content">
                            {$descriptions[ $k ]|raw}
                        </div>
                        {{endif}}
					</span>

       </div>
        {{endforeach}}
    </div>
</div>
</div>]]></template>
 <template template_group="forms" template_name="widthheight" template_data="$name, $width, $height, $unlimited, $unlimitedLang, $image=NULL, $resizableDiv=TRUE" template_location="global" template_app="core"><![CDATA[<div class="ipsWidthHeight_container">
	{{if $image !== NULL}}
		<img class="ipsJS_show ipsWidthHeight" data-control="dimensions" src="{$image->url}" style="width:{$width}px; height:{$height}px">
	{{elseif $image === NULL AND $resizableDiv === TRUE}}
		<div class="ipsJS_show ipsWidthHeight" data-control="dimensions" style="width:{$width}px; height:{$height}px"></div>
	{{endif}}
	<div class="ipsWidthHeight_controls">
		<input type="number" name="{$name}[0]" class="ipsField_short ipsWidthHeight_width" value="{$width}" aria-label='{lang="width"}'> &times; <input type="number" name="{$name}[1]" class="ipsField_short ipsWidthHeight_height" value="{$height}" aria-label='{lang="height"}'> {lang="px"}
		{{if $unlimited !== NULL}}
			&nbsp; {lang="or"} &nbsp;
			<span class='ipsCustomInput'>
				<input type="checkbox" role='checkbox' class="ipsWidthHeight_unlimited" data-control="dimensionsUnlimited" name="{$name}[unlimited]" id='{$name}_unlimited' {{if $unlimited == array( $width, $height )}}checked aria-checked='true'{{endif}} aria-labelledby='{$name}_unlimited_label'>
				<span></span>
			</span> <label for='{$name}_unlimited' id='{$name}_unlimited_label' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="global" template_name="acknowledgeWarning" template_data="$warnings=array()" template_location="front" template_app="core"><![CDATA[{{foreach $warnings as $idx => $warning}}
	{{if $idx === 0}}
		<div class='ipsMessage ipsMessage_error'>
			<h4 class='ipsMessage_title'>{lang="you_have_been_warned" sprintf="\IPS\Member::load( $warning->moderator )->name"}</h4>
			{{if \IPS\Member::loggedIn()->isBanned()}}
				{{if $warning->note_member}}
					<p class='ipsType_reset ipsType_medium'>{$warning->note_member|raw}</p>
				{{endif}}
			{{else}}
				<p class='ipsType_reset ipsType_medium'>{lang="must_acknowledge_msg"}</p>
				<br>
				<a href='{url="app=core&module=system&controller=warnings&do=view&id={$warning->member}&w={$warning->id}" seoTemplate="warn_view" seoTitle="\IPS\Member::loggedIn()->members_seo_name" ref="(string) \IPS\Request::i()->url()"}' class='ipsButton ipsButton_verySmall ipsButton_veryLight' data-ipsDialog data-ipsDialog-size='narrow'>{lang="view_warning_details"}</a>
			{{endif}}
		</div>
		<br>
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="global" template_name="advertisementImage" template_data="$advertisement, $acpLink=NULL" template_location="global" template_app="core"><![CDATA[{{if \count( $advertisement->_images )}}
<div class='ips{expression="mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)"} ipsSpacer_both ipsSpacer_half'>
	<ul class='ipsList_inline ipsType_center ipsList_reset ipsList_noSpacing'>
		{{$hmacKey = hash_hmac( "sha256", $advertisement->link, \IPS\Settings::i()->site_secret_key . 'a' );}}
		<li class='ips{expression="mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)"}_large ipsResponsive_showDesktop ipsResponsive_inlineBlock ipsAreaBackground_light'>
			{{if $advertisement->link}}
				<a href='{{if $acpLink}}{$acpLink}{{else}}{url="app=core&module=system&controller=redirect&do=advertisement&ad={$advertisement->id}&key={$hmacKey}" base="front"}{{endif}}' {{if $advertisement->new_window}}target='_blank'{{endif}} rel='nofollow noopener'>
			{{endif}}
				<img src='{file="$advertisement->_images['large']" extension="$advertisement->storageExtension()"}' alt="{{if $advertisement->image_alt}}{$advertisement->image_alt}{{else}}{lang="advertisement_alt"}{{endif}}" class='ipsImage ipsContained'>
			{{if $advertisement->link}}
				</a>
			{{endif}}
		</li>
		{{if !$acpLink }}
		<li class='ips{expression="mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)"}_medium ipsResponsive_showTablet ipsResponsive_inlineBlock ipsAreaBackground_light'>
			{{if $advertisement->link}}
				<a href='{{if $acpLink}}{$acpLink}{{else}}{url="app=core&module=system&controller=redirect&do=advertisement&ad={$advertisement->id}&key={$hmacKey}" base="front"}{{endif}}' {{if $advertisement->new_window}}target='_blank'{{endif}} rel='nofollow noopener'>
			{{endif}}
				<img src='{{if !empty( $advertisement->_images['medium'] )}}{file="$advertisement->_images['medium']" extension="$advertisement->storageExtension()"}{{else}}{file="$advertisement->_images['large']" extension="$advertisement->storageExtension()"}{{endif}}' alt="{{if $advertisement->image_alt}}{$advertisement->image_alt}{{else}}{lang="advertisement_alt"}{{endif}}" class='ipsImage ipsContained'>
			{{if $advertisement->link}}
				</a>
			{{endif}}
		</li>

		<li class='ips{expression="mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)"}_small ipsResponsive_showPhone ipsResponsive_inlineBlock ipsAreaBackground_light'>
			{{if $advertisement->link}}
				<a href='{{if $acpLink}}{$acpLink}{{else}}{url="app=core&module=system&controller=redirect&do=advertisement&ad={$advertisement->id}&key={$hmacKey}" base="front"}{{endif}}' {{if $advertisement->new_window}}target='_blank'{{endif}} rel='nofollow noopener'>
			{{endif}}
				<img src='{{if !empty( $advertisement->_images['small'] )}}{file="$advertisement->_images['small']" extension="$advertisement->storageExtension()"}{{elseif !empty( $advertisement->_images['medium'] )}}{file="$advertisement->_images['medium']" extension="$advertisement->storageExtension()"}{{else}}{file="$advertisement->_images['large']" extension="$advertisement->storageExtension()"}{{endif}}' alt="{{if $advertisement->image_alt}}{$advertisement->image_alt}{{else}}{lang="advertisement_alt"}{{endif}}" class='ipsImage ipsContained'>
			{{if $advertisement->link}}
				</a>
			{{endif}}
		</li>
		{{endif}}
	</ul>
	{{if $acpLink}}
		<div class="ipsType_center ipsType_small"><a href="{$acpLink}" rel="noreferrer">{$acpLink}</a></div>
	{{endif}}
</div>
{{endif}}]]></template>
 <template template_group="global" template_name="analytics" template_data="$item, $lastCommenter, $members, $busy, $reacted, $images" template_location="front" template_app="core"><![CDATA[{{$commentClass = $item::$commentClass;}}
{{if \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Statistics' )}}
<div class="ipsAreaBackground_light">
<div class='ipsWidget ipsBox {{if ! \IPS\Application::appIsEnabled('cloud')}}ipsMargin_bottom{{endif}}'>
    <h4 class='ipsWidget_title'>{$item->mapped('title')}
        <span class="analytics-and-statistics ipsType_normal ipsType_medium ipsPos_right">
            <span class="ipsMargin_right"><i class="fa fa-comments" aria-hidden="true"></i> {lang="num_replies" pluralize="$item->mapped('num_comments')"}</span>
            <span><i class="fa fa-eye" aria-hidden="true"></i> {lang="num_views_with_number" pluralize="$item->mapped('views')"}</span>
        </span>
    </h4>
</div>
{{if \IPS\Application::appIsEnabled('cloud')}}
    {template="analyticsItem" app="cloud" group="analytics" params="$item"}
{{endif}}
<div class='ipsPad ipsFluidGrid ipsFluidGrid--analytics-and-statistics'>
    <div class='ipsWidget ipsBox'>
        <h4 class='ipsWidget_title'>{lang="active_members"}</h4>
        <div class='ipsWidget_inner'>
            {{if count( $members )}}
                <ul class='ipsDataList ipsDataList_reducedSpacing'>
                    {{foreach $members AS $member}}
                        <li class='ipsDataItem'>
                            <div class='ipsDataItem_icon ipsPos_top'>
                                {template="userPhoto" group="global" app="core" params="$member['member'], 'tiny'"}
                            </div>
                            <div class='ipsDataItem_main'>
                                <div>{$member['member']->link()|raw}</div>
                                <div>{lang="num_comments" pluralize="$member['count']"}</div>
                            </div>
                        </li>
                    {{endforeach}}
                </ul>
            {{else}}
                <p class='ipsPadding'>{lang="no_content_to_show"}</p>
            {{endif}}
        </div>
    </div>
    <div class='ipsWidget ipsBox'>
        <h4 class='ipsWidget_title'>{lang="popular_days"}</h4>
        <div class='ipsWidget_inner'>
            {{if count( $busy )}}
                <ul class='ipsDataList '>
                    {{foreach $busy AS $date => $day}}
                        <li class='ipsDataItem'>
                            <div class='ipsDataItem_main'>
                                <div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between'>
                                    <a href='{$item->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $day['commentId'] ) )}' class='ipsType_semiBold'>{datetime="$day['date']"}</a>
                                    <span class='ipsType_light'>{lang="num_comments" pluralize="$day['count']"}</span>
                                </div>
                            </div>
                        </li>
                    {{endforeach}}
                </ul>
            {{else}}
                <p class='ipsPadding'>{lang="no_content_to_show"}</p>
            {{endif}}
        </div>
    </div>
    <div class='ipsWidget ipsBox'>
        <h4 class='ipsWidget_title'>{lang="top_reacted"}</h4>
        <div class='ipsWidget_inner'>
            {{if count( $reacted )}}
                <ul class='ipsDataList ipsDataList_reducedSpacing'>
                    {{foreach $reacted AS $react}}
                        <li class='ipsDataItem'>
                            <div class='ipsDataItem_icon ipsPos_top'>
                                {template="userPhoto" group="global" app="core" params="$react['comment']->author(), 'tiny'"}
                            </div>
                            <div class='ipsDataItem_main'>
                                <div class='ipsFlex ipsFlex-jc:between ipsFlex-fw:wrap'>
                                    <div>
                                        <div class='ipsType_semiBold'>{$react['comment']->author()->link()|raw}</div>
                                        <div class='ipsType_light'><a href="{$react['comment']->url()}" rel="nofollow" class='ipsType_blendLinks'>{$react['comment']->dateLine()|raw}</a></div>
                                    </div>
                                    <div class='ipsType_light'>{lang="react_total" pluralize="$react['count']"}</div>
                                </div>
                                <div class='ipsMargin_top:half' data-ipsTruncate data-ipsTruncate-size='4 lines' data-ipsTruncate-type='remove'>{$react['comment']->truncated()|raw}</div>
                            </div>
                        </li>
                    {{endforeach}}
                </ul>
            {{else}}
                <p class='ipsPadding'>{lang="no_content_to_show"}</p>
            {{endif}}
        </div>
    </div>
</div>
{{if count( $images )}}
<div class="ipsPad">
    <div class='ipsWidget ipsBox'>
        <h4 class='ipsWidget_title'>{lang="images"}</h4>
        <div class='ipsPadding'>
            <div class='ipsImageGrid'>
                {{foreach $images AS $image}}
                    <div><a href='{$image['commentUrl']}'><img src='{file="$image['attach_location']" extension="core_Attachment"}' loading='lazy' alt=''></a></div>
                {{endforeach}}
            </div>
        </div>
    </div>
</div>
{{endif}}
{{endif}}
</div>]]></template>
 <template template_group="global" template_name="announcementContentTop" template_data="" template_location="front" template_app="core"><![CDATA[
{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation('content')}}
	<div class='cAnnouncementsContent'>
		{{foreach $announcements as $announcement}}
		<div class='cAnnouncementContentTop ipsAnnouncement ipsMessage_{$announcement->color} ipsType_center'>
            {{if $announcement->type == \IPS\core\Announcements\Announcement::TYPE_CONTENT}}
			<a href='{$announcement->url()}' data-ipsDialog data-ipsDialog-title="{$announcement->title}">{$announcement->title}</a>
            {{elseif $announcement->type == \IPS\core\Announcements\Announcement::TYPE_URL}}
            <a href='{$announcement->url}' target="_blank" rel='noopener'>{$announcement->title}</a>
            {{else}}
            <span>{$announcement->title}</span>
            {{endif}}
		</div>
		{{endforeach}}
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="announcementSidebar" template_data="$announcements" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox ipsSpacer_bottom' id="cAnnouncementSidebar">
	<span class="cAnnouncementIcon"><i class='fa fa-bullhorn fa-3x fa-fw'></i></span>
	<h3 class='ipsType_minorHeading ipsType_center ipsType_medium ipsType_dark ipsSpacer_bottom'>{lang="announcements"}</h3>
	<ul class='ipsList_reset'>
	{{foreach $announcements as $announcement}}
		<li class="cAnnouncementSidebar ipsAnnouncement ipsMessage_{$announcement->color}">
            {{if $announcement->type == \IPS\core\Announcements\Announcement::TYPE_CONTENT}}
            <a href='{$announcement->url()}' data-ipsDialog data-ipsDialog-title="{$announcement->title}">{$announcement->title}</a>
            {{elseif $announcement->type == \IPS\core\Announcements\Announcement::TYPE_URL}}
            <a href='{$announcement->url}' target="_blank" rel='noopener'>{$announcement->title}</a>
            {{else}}
            <span>{$announcement->title}</span>
            {{endif}}
        </li>
	{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="global" template_name="announcementTop" template_data="" template_location="front" template_app="core"><![CDATA[
{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation('top')}}
<div class='cAnnouncements' data-controller="core.front.core.announcementBanner" >
	{{foreach $announcements as $announcement}}
	<div class='cAnnouncementPageTop ipsJS_hide ipsAnnouncement ipsMessage_{$announcement->color}' data-announcementId="{$announcement->id}">
        {{if $announcement->type == \IPS\core\Announcements\Announcement::TYPE_CONTENT}}
        <a href='{$announcement->url()}' data-ipsDialog data-ipsDialog-title="{$announcement->title}">{$announcement->title}</a>
        {{elseif $announcement->type == \IPS\core\Announcements\Announcement::TYPE_URL}}
        <a href='{$announcement->url}' target="_blank" rel='noopener'>{$announcement->title}</a>
        {{else}}
        <span>{$announcement->title}</span>
        {{endif}}

		<a href='#' data-role="dismissAnnouncement">×</a>
	</div>
	{{endforeach}}
</div>
{{endif}}]]></template>
 <template template_group="global" template_name="applePieChart" template_data="$segments, $sorted=TRUE, $classes=''" template_location="global" template_app="core"><![CDATA[
{{if \count( $segments )}}
    <div class='ipsPieBar {$classes}'>
        <div class='ipsPieBar__bar'>
            {{foreach $segments as $segment}}
                <div class='ipsPieBar__barSegment' style='width: {expression="number_format( $segment['percentage'], 2, '.', '' )"}%' 
                    {{if !empty( $segment['title'] ) || !empty( $segment['tooltip'] )}}
                        {{if !empty( $segment['title'] )}}title="{$segment['title']}"{{endif}} {{if !empty( $segment['tooltip'] )}}data-ipsTooltip data-ipsTooltip-label="{$segment['tooltip']}" {{if !empty( $segment['tooltipSafe'] )}}data-ipsTooltip-safe{{endif}}{{endif}}
                    {{else}}
                        title="{$segment['value']} ({$segment['percentage']}%)"
                        data-ipsTooltip
                    {{endif}}
                ></div>
            {{endforeach}}
        </div>
        <ul class='ipsList_inline ipsPieBar__legend'>
            {{foreach $segments as $segment}}
                <li class='ipsPieBar__legendItem'>
                    <span class='ipsPieBar__legendItemKey'></span>
                    {{if isset( $segment['nameRaw'] )}}{$segment['nameRaw']|raw}{{else}}{$segment['name']}{{endif}}
                </li>
            {{endforeach}}
        </ul>
    </div>
{{else}}
    <p class='ipsType_light ipsType_center'>
        {lang="no_data"}
    </p>
{{endif}}]]></template>
 <template template_group="global" template_name="appmenu" template_data="$menu, $currentTab, $currentItem" template_location="admin" template_app="core"><![CDATA[<ul id='acpAppList' class='ipsList_reset' data-controller='core.admin.core.nav'>
	<li id='elLogo'>
		<a href='{url="&"}'>
			<img src='{resource="logo.png" app="core" location="admin"}' alt=''>
		</a>
	</li>
	{{foreach $menu['tabs'] as $tab => $items}}
		<li class='{{if $tab === $currentTab}}acpAppList_active{{endif}}' data-tab="tab_{$tab}">
			<a href='{url="$menu['defaults'][$tab]"}'>
				{{$totalBadge = 0;}}
				{{foreach $items as $appAndModule => $item}}
					{{foreach $item as $key => $url}}
						{{$badgeNumber = NULL; try { $badgeNumber = \IPS\Application::load( mb_substr( $appAndModule, 0, mb_strpos( $appAndModule, '_' ) ) )->acpMenuNumber( $url ); } catch( \Exception $ex ){ } }}
						{{if $badgeNumber}}
							{{$totalBadge += $badgeNumber;}}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
				<span class='acpAppList_icon'>
					<i class='fa fa-{lang="menutab__{$tab}_icon"}'></i>
				</span>
				{{if $totalBadge > 0}}
					<span class='ipsNotificationCount'>{$totalBadge}</span>
				{{endif}}
			</a>
			<ul class='ipsList_reset ipsScrollbar ipsScrollbar_light'>
				<li class='acpAppList_header'>{lang="menutab__{$tab}"}</li>
				{{foreach $items as $appAndModule => $item}}
						<li data-menuKey='{$appAndModule}'>
							<h3>{lang="menu__{$appAndModule}"}</h3>
							<ul class='ipsList_reset'>
								{{foreach $item as $key => $url}}
									<li class='{{if $appAndModule . "_" . $key === $currentItem}}acpAppListItem_active{{endif}}'>
										{{$badgeNumber = NULL; try { $badgeNumber = \IPS\Application::load( mb_substr( $appAndModule, 0, mb_strpos( $appAndModule, '_' ) ) )->acpMenuNumber( $url ); } catch( \Exception $ex ){ } }}
										{{if $badgeNumber}}
											<a href='{url="$url"}'>
												{lang="menu__{$appAndModule}_{$key}"}
												<span class='ipsNotificationCount'>{$badgeNumber}</span>
											</a>
										{{else}}
											{{$customLink = NULL; try { $customLink = \IPS\Dispatcher::i()->acpMenuCustom( $url ); } catch( \Exception $ex ){ } }}
											{{if $customLink}}
												{$customLink|raw}
											{{else}}
												<a href='{url="$url"}'>{lang="menu__{$appAndModule}_{$key}"}</a>
											{{endif}}
										{{endif}}
									</li>
								{{endforeach}}
							</ul>
						</li>
				{{endforeach}}
			</ul>
		</li>
	{{endforeach}}
	<li id='elHideMenu' class='ipsJS_show'>
		<a href='#'>
			<i class='fa fa-angle-left' data-action='toggleClose'></i>
			<i class='fa fa-angle-right' data-action='toggleOpen'></i>
		</a>
	</li>
	<li id='elReorderAppMenu'>
		<a href='#' data-action='reorder' title='{lang="reorder_menu"}' data-ipsTooltip><i class='fa fa-bars'></i></a>
		<a href='#' data-action='saveOrder' title='{lang="save_reorder_menu"}' data-ipsTooltip class='ipsButton ipsButton_important ipsButton_narrow ipsButton_verySmall ipsButton_fullWidth ipsHide'><i class='fa fa-check'></i></a>
	</li>
</ul>]]></template>
 <template template_group="global" template_name="badge" template_data="$badge, $cssClass = NULL, $tooltip = TRUE, $showRare = FALSE" template_location="global" template_app="core"><![CDATA[
<span class='ipsPos_relative'>
    <img src='{file="$badge->image" extension="core_Badges"}' loading="lazy" alt="{$badge->_title}" class='ipsOutline {$cssClass}' {{if $tooltip}}data-ipsTooltip title='{$badge->_title}'{{endif}}>
    {{if $showRare && $badge->isRare()}}
        <span class='ipsBadge ipsBadge_small ipsBadge_rare'>{lang="rare_badge"}</span>
    {{endif}}
</span>]]></template>
 <template template_group="global" template_name="basicHover" template_data="$message" template_location="global" template_app="core"><![CDATA[<div class="ipsPad">
{$message}
</div>]]></template>
 <template template_group="global" template_name="basicUrl" template_data="$url, $newWindow=TRUE, $title=NULL, $wordbreak=TRUE, $nofollow=FALSE, $noreferrer=FALSE, $titleRaw = FALSE" template_location="global" template_app="core"><![CDATA[{{if $wordbreak}}<div class='ipsType_break ipsContained'>{{endif}}
<a href='{$url}'{{if $newWindow === TRUE}} target='_blank' {{if $nofollow === FALSE}}rel="{{if $noreferrer}}noreferrer{{else}}noopener{{endif}}"{{endif}}{{endif}}{{if $nofollow === TRUE}} rel="nofollow{{if $newWindow === TRUE}} {{if $noreferrer}}noreferrer{{else}}noopener{{endif}}{{endif}}"{{endif}}>
	{{if $title}}
		{{if $titleRaw}}
			 {$title|raw}
		{{else}}
			{$title}
		{{endif}}
	{{else}}
		{$url}
	{{endif}}
</a>
{{if $wordbreak}}</div>{{endif}}]]></template>
 <template template_group="global" template_name="blankTemplate" template_data="$html" template_location="admin" template_app="core"><![CDATA[<meta charset="utf-8">
{template="includeCSS" app="core" group="global" location="global" params=""}
{template="includeJS" app="core" group="global" location="global" params=""}
{$html|raw}]]></template>
 <template template_group="global" template_name="blankTemplate" template_data="$html, $title=NULL" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{expression="output.getTitle( $title )"}</title>
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""}
	</head>
	<body class='ipsApp ipsApp_front ipsClearfix ipsLayout_noBackground {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' {{if output.globalControllers}}data-controller='{expression="implode( ',', output.globalControllers )"}'{{endif}} {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}}>
		{$html|raw}
		{template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""}
		{expression="output.endBodyCode" raw="true"}
	</body>
</html>]]></template>
 <template template_group="global" template_name="block" template_data="$title, $content, $margins=TRUE, $class='', $id=NULL, $showTitle=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $title and $showTitle}}
<div class='ipsClearfix ipsPad'>
	<h1 class='ipsType_pageTitle'>{$title}</h1>
</div>
{{endif}}
<div class='acpBlock {$class}' {{if $id !== NULL}}id="{$id}"{{endif}}>
	{$content|raw}
</div>]]></template>
 <template template_group="global" template_name="box" template_data="$content=NULL, $classes=array()" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox {{if \count( $classes)}}{expression="implode( ' ', $classes )"}{{endif}}'>
	{$content|raw}
</div>]]></template>
 <template template_group="global" template_name="breadcrumb" template_data="" template_location="admin" template_app="core"><![CDATA[
{{if \count( \IPS\Output::i()->breadcrumb )}}
	<nav class='ipsBreadcrumb ipsSubNavigation'>
		<ul id='breadcrumb'>
			{{$i = 0;}}
			{{foreach \IPS\Output::i()->breadcrumb as $k => $b}}
				<li>
					{{if $b[0] === NULL}}
						{lang="$b[1]"}
					{{else}}
						<a href='{$b[0]}'>
							<span>{lang="$b[1]"} {{if ( $i + 1 != \count( \IPS\Output::i()->breadcrumb ) )}}<i class='fa fa-angle-right'></i>{{endif}}</span>
						</a>
					{{endif}}
				</li>
				{{$i++;}}
			{{endforeach}}
		</ul>
	</nav>
{{endif}}]]></template>
 <template template_group="global" template_name="breadcrumb" template_data="$position='top', $markRead=TRUE" template_location="front" template_app="core"><![CDATA[<nav class='ipsBreadcrumb ipsBreadcrumb_{$position} ipsFaded_withHover'>
	{{if $position == 'bottom'}}
		{template="rssMenu" group="global" app="core" params=""}
	{{endif}}

	<ul class='ipsList_inline ipsPos_right'>
		{{$defaultStream = \IPS\core\Stream::defaultStream();}}
		<li {{if !\IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'discover' ) ) }} class='ipsHide'{{endif}}>
			<a data-action="defaultStream" class='ipsType_light {{if ! $defaultStream}}ipsHide{{endif}}'  href='{{if $defaultStream}}{$defaultStream->url()}{{endif}}'><i class="fa fa-newspaper-o" aria-hidden="true"></i> <span>{{if $defaultStream}}{$defaultStream->_title}{{endif}}</span></a>
		</li>
		{{if $markRead && \IPS\Member::loggedIn()->member_id}}
			<li>
				<a data-action="markSiteRead" class='ipsType_light' data-controller="core.front.core.markRead" href='{url="app=core&module=system&controller=markread" seoTemplate="mark_site_as_read" csrf="true" ref="(string) \IPS\Request::i()->url()"}' title='{lang="mark_site_read"}' data-ipsTooltip><i class='fa fa-check' aria-hidden="true"></i> {lang="mark_site_read_button"}</a>
			</li>
		{{endif}}
	</ul>

	<ul data-role="breadcrumbList">
		<li>
			<a title="{lang="home"}" href='{setting="base_url"}'>
				<span>{lang="home"}{{if \count( \IPS\Output::i()->breadcrumb )}} <i class='fa fa-angle-right'></i>{{endif}}</span>
			</a>
		</li>
		{{$last = end(\IPS\Output::i()->breadcrumb);}}
		{{foreach \IPS\Output::i()->breadcrumb as $k => $b}}
			<li>
				{{if $b[0] === NULL}}
					{$b[1]}
				{{else}}
					<a href='{$b[0]}'>
						<span>{$b[1]} {{if $b != $last}}<i class='fa fa-angle-right' aria-hidden="true"></i>{{endif}}</span>
					</a>
				{{endif}}
			</li>
		{{endforeach}}
	</ul>
</nav>]]></template>
 <template template_group="global" template_name="buttons" template_data="$buttons" template_location="admin" template_app="core"><![CDATA[<ul class='ipsToolList ipsToolList_horizontal ipsClearfix'>
	{{foreach $buttons as $button}}
		<li class='{{if isset( $button['hidden'] ) and $button['hidden']}}ipsJS_hide{{endif}}' {{if isset( $button['id'] )}}id="{$button['id']}"{{endif}}>
			<a
				{{if isset( $button['link'] )}}href='{$button['link']}'{{endif}}
				title='{lang="$button['title']"}'
				class='ipsButton ipsButton_alternate ipsButton_fullWidth {{if isset( $button['class'] )}}{$button['class']}{{endif}}'
				role="button"
				{{if isset( $button['id'] )}}id="{$button['id']}_button"{{endif}}
				{{if isset( $button['target'] )}}target="{$button['target']}"{{if $button['target'] == '_blank'}} rel="noopener"{{endif}}{{endif}}
				{{if isset( $button['data'] )}}
					{{foreach $button['data'] as $k => $v}}
						data-{$k}="{$v}"
					{{endforeach}}
				{{endif}}
				{{if isset( $button['hotkey'] )}}
					data-keyAction='{$button['hotkey']}'
				{{endif}}
			>
				{{if $button['icon']}}
					<i class='fa fa-{$button['icon']}'></i>&nbsp;
				{{endif}}
				{lang="$button['title']"}

				{{if isset($button['dropdown'])}}
					&nbsp;<i class='fa fa-caret-down'></i>
				{{endif}}
			</a>
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="global" template_name="buttons" template_data="$buttons" template_location="front" template_app="core"><![CDATA[<ul class='ipsToolList ipsToolList_horizontal ipsClearfix'>
	{{foreach $buttons as $button}}
		<li class='{{if isset( $button['hidden'] ) and $button['hidden']}}ipsJS_hide{{endif}}' {{if isset( $button['id'] )}}id="{$button['id']}"{{endif}}>
			<a
				{{if isset( $button['link'] )}}href='{$button['link']}'{{endif}}
				title='{lang="$button['title']"}'
				class='ipsButton ipsButton_alternate ipsButton_small ipsButton_fullWidth {{if isset( $button['class'] )}}{$button['class']}{{endif}}'
				role="button"
				{{if isset( $button['id'] )}}id="{$button['id']}_button"{{endif}}
				{{if isset( $button['target'] )}}target="{$button['target']}"{{if $button['target'] == '_blank'}} rel="noopener"{{endif}}{{endif}}
				{{if isset( $button['data'] )}}
					{{foreach $button['data'] as $k => $v}}
						data-{$k}="{$v}"
					{{endforeach}}
				{{endif}}
				{{if isset( $button['hotkey'] )}}
					data-keyAction='{$button['hotkey']}'
				{{endif}}
			>
				{{if $button['icon']}}
					<i class='fa fa-{$button['icon']}'></i>&nbsp;
				{{endif}}
				{lang="$button['title']"}

				{{if isset($button['dropdown'])}}
					&nbsp;<i class='fa fa-caret-down'></i>
				{{endif}}
			</a>
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="global" template_name="cachingLog" template_data="$log" template_location="front" template_app="core"><![CDATA[<div id="elCachingLog">
	{{foreach $log as $i => $log}}
		{{$i = \str_replace( '.', '_', $i);}}
		<div class="cCachingLog" data-ipsDialog data-ipsDialog-content="#elCachingLog{$i}_menu">
			{{if $log[0] === 'get'}}
				<span class="cCachingLogMethod cCachingLogMethod_get">get</span>
				<span class="cCachingLogKey">{$log[1]}</span>
			{{elseif $log[0] === 'set'}}
				<span class="cCachingLogMethod cCachingLogMethod_set">set</span>
				<span class="cCachingLogKey">{$log[1]}</span>
			{{elseif $log[0] === 'check'}}
				<span class="cCachingLogMethod cCachingLogMethod_check">check</span>
				<span class="cCachingLogKey">{$log[1]}</span>
			{{elseif $log[0] === 'delete'}}
				<span class="cCachingLogMethod cCachingLogMethod_delete">delete</span>
				<span class="cCachingLogKey">{$log[1]}</span>
			{{else}}
				<span class="cCachingLogMethod">Redis</span>
				<span class="cCachingLogKey">{$log[1]}</span>
			{{endif}}
		</div>
		<div id='elCachingLog{$i}_menu' class='ipsPad ipsHide'>
			{{if ! empty( $log[2] )}}
				<pre class="prettyprint lang-php">{$log[2]}</pre>
				<hr class="ipsHr">
			{{endif}}
			{{if isset( $log[3] )}}<pre class="prettyprint lang-php">{$log[3]}</pre>{{endif}}
		</div>
		<hr class="ipsHr">
	{{endforeach}}
</div>]]></template>
 <template template_group="global" template_name="chart" template_data="$chart, $type, $options, $format=NULL" template_location="global" template_app="core"><![CDATA[{{if isset( $chart->errors ) AND \count( $chart->errors )}}
	<div class='ipsMessage ipsMessage_error'>
		{{foreach $chart->errors as $error}}
			{{if isset($error['sprintf'])}}
				{lang="$error['string']" sprintf="$error['sprintf']"}
			{{else}}
				{lang="$error['string']"}
			{{endif}}
		{{endforeach}}
	</div>
{{endif}}
<table class="ipsTable" data-ipsChart data-ipsChart-type="{$type}" data-ipsChart-extraOptions='{$options|raw}' {{if $format}}data-ipsChart-format='{$format}'{{endif}}>
	<thead>
		<tr>
			{{foreach $chart->headers as $data}}
				<th data-colType="{$data['type']}">{$data['label']}</th>
			{{endforeach}}
		</tr>
	</thead>
	<tbody>
		{{foreach $chart->rows as $row}}
			<tr>
				{{foreach $row as $value}}
					<td {{if \is_array( $value )}}data-key="{$value['key']}"{{endif}}>{{if \is_array( $value )}}{$value['value']}{{else}}{$value}{{endif}}</td>
				{{endforeach}}
			</tr>
		{{endforeach}}
	</tbody>
</table>
<div></div>]]></template>
 <template template_group="global" template_name="chartTimezoneInfo" template_data="$mysqlTimezone" template_location="global" template_app="core"><![CDATA[<div class="ipsPad">
	{lang="dynamic_chart_timezone_explain" sprintf="$mysqlTimezone"}
</div>]]></template>
 <template template_group="global" template_name="comment" template_data="$item, $comment, $editorName, $app, $type, $class=''" template_location="front" template_app="core"><![CDATA[{{$idField = $comment::$databaseColumnId;}}
<div id='comment-{$comment->$idField}_wrap' data-controller='core.front.core.comment' data-commentApp='{$app}' data-commentType='{$type}' data-commentID="{$comment->$idField}" data-quoteData='{expression="json_encode( array('userid' => $comment->author()->member_id, 'username' => $comment->author()->name, 'timestamp' => $comment->mapped('date'), 'contentapp' => $app, 'contenttype' => $type, 'contentclass' => $class, 'contentid' => $item->id, 'contentcommentid' => $comment->$idField) )"}' class='ipsComment_content ipsType_medium'>
	
	{{if $comment->author()->hasHighlightedReplies() || ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}
		<div class='ipsResponsive_showPhone ipsComment_badges'>
			<ul class='ipsList_reset ipsFlex ipsFlex-fw:wrap ipsGap:2 ipsGap_row:1'>
				{{if $comment->author()->hasHighlightedReplies()}}
					<li><strong class='ipsBadge ipsBadge_large ipsBadge_highlightedGroup'>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->name" raw="true"}</strong></li>
				{{endif}}
				{{if $comment->isFeatured()}}
					<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_featured_post"}</strong></li>
				{{endif}}
				{{if ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
					<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_comment"}</strong></li>
				{{endif}}
			</ul>
		</div>
	{{endif}}
	<div class='ipsComment_header ipsFlex ipsFlex-ai:start ipsFlex-jc:between'>
		<div class='ipsPhotoPanel ipsPhotoPanel_mini'>
			{template="userPhoto" app="core" group="global" params="$comment->author(), 'mini', $comment->warningRef()"}
			<div>
				<h3 class='ipsComment_author ipsType_blendLinks'>
					<strong class='ipsType_normal'>{template="userLink" app="core" group="global" params="$comment->author(), $comment->warningRef(), NULL, $comment->isAnonymous()"}</strong>
					{{if $comment instanceof \IPS\Content\Anonymous and $comment->isAnonymous() and \IPS\Member::loggedIn()->modPermission('can_view_anonymous_posters')}}
						<a data-ipsHover data-ipsHover-width="370" data-ipsHover-onClick href="{$comment->url( 'reveal' )->csrf()}"><span class="cAuthorPane_badge cAuthorPane_badge_small cAuthorPane_badge--anon" data-ipsTooltip title="{lang="post_anonymously_reveal"}"></span></a>
					{{endif}}
					{template="reputationBadge" group="global" app="core" params="$comment->author()"}
				</h3>
				<p class='ipsComment_meta ipsType_light ipsType_medium'>
					<a href='{$comment->url()}' class='ipsType_blendLinks'>{$comment->dateLine()|raw}</a>
					{{if $comment->ip_address and \IPS\Member::loggedIn()->modPermission('can_use_ip_tools') and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) )}}
						&middot; <a class='ipsType_blendLinks ipsType_light ipsType_noUnderline' href="{url="app=core&module=modcp&controller=modcp&tab=ip_tools&ip=$comment->ip_address" seoTemplate="modcp_ip_tools"}" data-ipsMenu data-ipsMenu-menuID='{$comment->$idField}_ip_menu'>{lang="ip_short"} <i class='fa fa-angle-down'></i></a>
					{{endif}}
					{{if $comment->editLine()}}
						({lang="edited_lc"})
					{{endif}}
					{{if $comment->hidden() AND $comment->hidden() != -2}}
						&middot; {$comment->hiddenBlurb()}
					{{elseif $comment->hidden() == -2}}
						&middot; {$comment->deletedBlurb()}
					{{endif}}
				</p>

				{{if member.modPermission('mod_see_warn') and $comment->warning}}
					{template="commentWarned" group="global" app="core" params="$comment"}
				{{endif}}
			</div>
		</div>
		<div class='ipsType_reset ipsType_light ipsType_blendLinks ipsComment_toolWrap'>
			<div class='ipsResponsive_hidePhone ipsComment_badges'>
				<ul class='ipsList_reset ipsFlex ipsFlex-jc:end ipsFlex-fw:wrap ipsGap:2 ipsGap_row:1'>
					{{if $comment->author()->hasHighlightedReplies() || ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}
						{{if $comment->author()->hasHighlightedReplies()}}
							<li><strong class='ipsBadge ipsBadge_large ipsBadge_highlightedGroup'>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->name" raw="true"}</strong></li>
						{{endif}}
						{{if $comment->isFeatured()}}
							<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_featured_post"}</strong></li>
						{{endif}}
						{{if ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
							<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_comment"}</strong></li>
						{{endif}}
					{{endif}}
				</ul>
			</div>
			{{if $comment->hidden() !== 1 && ( $comment->canReportOrRevoke() === TRUE || \count( $comment->sharelinks() ) || $comment->canEdit() || ( $comment->canPromoteToSocialMedia() || $comment->canDelete() || $comment->canSplit() || ( $comment instanceof \IPS\Content\Hideable AND ( ( !$comment->hidden() and $comment->canHide() ) || ( $comment->hidden() and $comment->canUnhide() ) ) ) || ( $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) ) || \count( $item->commentMultimodActions() ) )}}
				<ul class='ipsList_reset ipsComment_tools'>
					<li>
						<a href='#elControlsComments_{$comment->$idField}_menu' class='ipsComment_ellipsis' id='elControlsComments_{$comment->$idField}' title='{lang="more_options"}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'><i class='fa fa-ellipsis-h'></i></a>
						<ul id='elControlsComments_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
							{{if $comment->canReportOrRevoke() === TRUE}}
								<li class='ipsMenu_item'><a href='{$comment->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='{lang="report_submit_success"}' data-ipsDialog-title="{lang="report"}"{{endif}} data-action='reportComment' title='{lang="report_content"}'>{lang="report"}</a></li>
							{{endif}}
								<li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->id ) )}' title='{lang="share_this_comment"}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-content='#elShareComment_{$comment->id}_menu' data-ipsDialog-title="{lang="share_this_comment"}" id='elShareComment_{$comment->id}' data-role='shareComment'>{lang="share"}</a></li>
							{{if $comment->canReportOrRevoke() === TRUE || \count( $comment->sharelinks() )}}
								{{if $comment->canEdit() || ( $comment->canPromoteToSocialMedia() || $comment->canDelete() || $comment->canSplit() || ( $comment instanceof \IPS\Content\Hideable AND ( ( !$comment->hidden() and $comment->canHide() ) || ( $comment->hidden() and $comment->canUnhide() ) ) ) || ( $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) )}}
									<li class='ipsMenu_sep'><hr></li>
								{{endif}}
							{{endif}}
							{{if $comment->canEdit()}}
								{{if $comment->mapped('first') and $comment->item()->canEdit()}}
									<li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li>
								{{else}}
									<li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li>
								{{endif}}
							{{endif}}
							{{if $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}}
								<li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li>
								<li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()->setQueryString( 'restoreAsHidden', 1 )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li>
								<li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString( 'immediately', 1 )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li>
							{{else}}
								{{if $comment instanceof \IPS\Content\Hideable}}
									{{if !$comment->hidden() and $comment->canHide()}}
										<li class='ipsMenu_item'><a href='{{if $comment::$hideLogKey}}{$comment->url('hide')}{{else}}{$comment->url('hide')->csrf()}{{endif}}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li>
									{{elseif $comment->hidden() and $comment->canUnhide()}}
										<li class='ipsMenu_item'><a href='{$comment->url('unhide')->csrf()}'>{lang="unhide"}</a></li>
									{{endif}}
								{{endif}}
								{{if $comment->canSplit()}}
									<li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li>
								{{endif}}
								{{if $comment->canDelete()}}
									<li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li>
								{{endif}}
								{{if $comment->isFeatured() AND $item->canUnfeatureComment()}}
									<li class='ipsMenu_item'><a href='{$comment->url('unfeature')->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action="unrecommendComment">{lang="unrecommend_content"}</a></li>
								{{endif}}
								{{if !$comment->isFeatured() AND $item->canFeatureComment()}}
									<li class='ipsMenu_item'><a href='{$comment->url('feature')->setPage('page', \IPS\Request::i()->page)}' data-ipsDialog data-ipsDialog-title='{lang="recommend_comment"}' data-ipsDialog-remoteSubmit data-ipsDialog-size='narrow' data-action="recommendComment">{lang="recommend_content"}</a></li>
								{{endif}}
								{{if $comment->canPromoteToSocialMedia()}}
									<li class='ipsMenu_item'>{template="promoteLink" app="core" group="global" params="$comment"}</li>
								{{endif}}
							{{endif}}
						</ul>
					</li>
					{{if \count( $item->commentMultimodActions() )}}
						<li><span class='ipsCustomInput'>
							<input type="checkbox" name="multimod[{$comment->$idField}]" value="1" data-role="moderation" data-actions="{{if $comment->canSplit()}}split merge{{endif}} {{if $comment->hidden() === -1 AND $comment->canUnhide()}}unhide{{elseif $comment->hidden() === 1 AND $comment->canUnhide()}}approve{{elseif $comment->canHide()}}hide{{endif}} {{if $comment->canDelete()}}delete{{endif}}" data-state='{{if $comment->tableStates()}}{$comment->tableStates()}{{endif}}'>
							<span></span>
						</span></li>
					{{endif}}
				</ul>
			{{endif}}
		</div>
	</div>
	<div class="ipsPadding_vertical sm:ipsPadding_vertical:half ipsPadding_horizontal">
		<div data-role='commentContent' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'>
			{{if $comment->hidden() === 1 && $comment->author()->member_id == \IPS\Member::loggedIn()->member_id}}
				<strong class='ipsType_medium ipsType_warning'><i class='fa fa-info-circle'></i> {lang="comment_awaiting_approval"}</strong>
			{{endif}}
			{$comment->content()|raw}

			{{if $comment->editLine()}}
				{$comment->editLine()|raw}
			{{endif}}
		</div>
	</div>
	{{if ( $comment->hidden() !== 1 && \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled and $comment->hasReactionBar() ) || ( $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() ) ) || ( $comment->hidden() === 0 and $item->canComment() and $editorName ) }}
		<div class='ipsItemControls'>
			{{if $comment->hidden() !== 1 && \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled and $comment->hasReactionBar()}}
				{template="reputation" group="global" app="core" params="$comment"}
			{{endif}}
			<ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls">
				{{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}}
					{{if $comment->canUnhide()}}
						<li><a href='{$comment->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li>
					{{endif}}
					{{if $comment->canDelete()}}
						<li><a href='{$comment->url('delete')->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li>
					{{endif}}
					{{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}}
						<li>
							<a href='#elControlsCommentsSub_{$comment->$idField}_menu' id='elControlsCommentsSub_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="moderator_tools"} &nbsp;<i class='fa fa-caret-down'></i></a>
							<ul id='elControlsCommentsSub_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
								{{if $comment->canEdit()}}
									{{if $comment->mapped('first') and $comment->item()->canEdit()}}
										<li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li>
									{{else}}
										<li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li>
									{{endif}}
								{{endif}}
								{{if $comment->canSplit()}}
									<li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li>
								{{endif}}
								{{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}}
									<li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li>
								{{endif}}
							</ul>
						</li>
					{{endif}}
				{{else}}
					{{if $comment->hidden() === 0 and $item->canComment() and $editorName}}
						<li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'>
							<button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'><i class='fa fa-plus'></i></button>
						</li>
						<li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'>
							<a href='#' data-action="quoteComment" data-ipsQuote-singleQuote>{lang="quote"}</a>
						</li>
						{{if \IPS\Application::appIsEnabled('cloud')}}
							<li>{template="spam" app="cloud" group="spam" params="$comment, FALSE"}</li>
						{{endif}}	
					{{endif}}
				{{endif}}
				<li class='ipsHide' data-role='commentLoading'>
					<span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span>
				</li>
			</ul>
		</div>
	{{endif}}

	{{if $comment->ip_address and \IPS\Member::loggedIn()->modPermission('can_use_ip_tools') and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) )}}
		<div class='ipsHide ipsPadding ipsMenu ipsMenu_veryWide' id='{$comment->$idField}_ip_menu'>
			<h5 class='ipsType_normal ipsType_reset'>{lang="ip_address"}</h5>
			<input type='text' autofocus class='ipsField_fullWidth ipsMargin_vertical:half' value='{$comment->ip_address}'>
			<a href='{url="app=core&module=modcp&controller=modcp&tab=ip_tools&ip=$comment->ip_address" seoTemplate="modcp_ip_tools"}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>{lang="more_about_ip_address"} <i class='fa fa-angle-right'></i></a>
		</div>
	{{endif}}

{template="sharemenu" group="global" app="core" params="$comment"}
</div>]]></template>
 <template template_group="global" template_name="commentContainer" template_data="$item, $comment" template_location="front" template_app="core"><![CDATA[{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if $comment->isIgnored()}}
	<div class='ipsComment ipsComment_ignored ipsPad_half ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
		{lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$comment->$idField}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
		<ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
			<li class='ipsMenu_item' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_comment"}</a></li>
			<li class='ipsMenu_sep'><hr></li>
			<li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
			<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
		</ul>
	</div>
{{endif}}

<a id='comment-{$comment->$idField}'></a>
<article {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='ipsBox ipsBox--child ipsComment {{if ( settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear {{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->author()->hasHighlightedReplies()}}ipsComment_highlighted{{endif}} {{if $comment->hidden() OR $item->hidden() == -2}}ipsModerated{{endif}}'>
	{template="comment" group="global" app="core" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
</article>]]></template>
 <template template_group="global" template_name="commentEditHistory" template_data="$editHistory, $comment" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
<h1 class='ipsType_pageTitle'>{lang="edit_history_title"}</h1>
{{endif}}

{{if \IPS\Settings::i()->edit_log_prune > 0}}
	<div class='ipsMessage ipsMessage_info{{if !\IPS\Request::i()->isAjax()}} ipsSpacer_top{{endif}}'>{lang="edit_log_prune_notice" pluralize="\IPS\Settings::i()->edit_log_prune"}</div>
{{endif}}

<div class="ipsPad" data-role="commentFeed">
    {$editHistory|raw}
</div>]]></template>
 <template template_group="global" template_name="commentEditHistoryRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if !empty( $rows )}}
{{foreach $rows as $edit}}
<article class='ipsBox ipsBox--child ipsComment ipsComment_parent ipsClearfix ipsClear'>
    <div class='ipsComment_header ipsPhotoPanel ipsPhotoPanel_mini ipsPhotoPanel_notPhone'>
        {template="userPhoto" app="core" group="global" params="\IPS\Member::load( $edit['member'] ), 'mini'"}
        <div>
            <h3 class='ipsComment_author ipsType_sectionHead'>
                {expression="\IPS\Member::load( $edit['member'] )->link()" raw="true"}
            </h3>
            <p class='ipsComment_meta ipsType_light'>
                {datetime="$edit['time']"}
                {{if $edit['reason']}}
                <br>
                {$edit['reason']}
                {{endif}}
            </p>
        </div>
    </div>
    <div class='ipsAreaBackground_reset ipsPad'>
        <div class='ipsType_richText'>
            {$edit['new']|raw}
        </div>
    </div>
</article>
{{endforeach}}

{{if $table->page == $table->pages AND $table->extra instanceof \IPS\Content}}
<article class='ipsBox ipsBox--child ipsComment ipsComment_parent ipsClearfix ipsClear'>
    <div class='ipsComment_header ipsPhotoPanel ipsPhotoPanel_mini ipsPhotoPanel_notPhone'>
        {template="userPhoto" app="core" group="global" params="$table->extra->author(), 'mini'"}
        <div>
            <h3 class='ipsComment_author ipsType_sectionHead'>
                {$table->extra->author()->link(  NULL, NULL, $table->extra->isAnonymous() )|raw}
            </h3>
            <p class='ipsComment_meta ipsType_light'>
                {datetime="$table->extra->mapped('date')"}
            </p>
        </div>
    </div>
    <div class='ipsAreaBackground_reset ipsPadding_vertical sm:ipsPadding_vertical:half ipsPadding_horizontal'>
        <div class='ipsType_richText'>
            {$edit['old']|raw}
        </div>
    </div>
</article>
{{endif}}

{{else}}
<p class='ipsType_large ipsType_light'>{lang="no_edit_history"}</p>
{{endif}}]]></template>
 <template template_group="global" template_name="commentEditHistoryTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->dummyLoading}}data-dummyLoading{{endif}} {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}} data-tableID='{expression="md5($table->baseUrl->stripQueryString($table->getPaginationKey()))"}'>
    {{if \count( $rows )}}
    <div class="ipsClear" data-role="tableRows" id='elTable_{$table->uniqueId}'>
        {template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
    </div>
    {{else}}
    <p class='ipsType_large ipsType_light'>{lang="no_edit_history"}</p>
    {{endif}}

    <div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
        {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
    </div>
</div>]]></template>
 <template template_group="global" template_name="commentEditLine" template_data="$comment, $supportsReason=FALSE" template_location="front" template_app="core"><![CDATA[
<span class='ipsType_reset ipsType_medium ipsType_light' data-excludequote>
	<strong>{lang="date_edited" htmlsprintf="\IPS\DateTime::ts( $comment->mapped('edit_time') )->html(FALSE), ( $comment->mapped('edit_member_name') ) ? htmlspecialchars( $comment->mapped('edit_member_name'), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE ) : \IPS\Member::loggedIn()->language()->addToStack('guest')"}</strong>
	{{if $supportsReason && $comment->mapped('edit_reason')}}
		<br>{$comment->mapped('edit_reason')}
	{{endif}}
	{{if \IPS\Settings::i()->edit_log == 2 and ( \IPS\Settings::i()->edit_log_public or \IPS\Member::loggedIn()->modPermission('can_view_editlog') ) }}
		<a href='{$comment->url('editlog')}' class='' data-ipsDialog data-ipsDialog-title='{lang="edit_history_title"}' title='{lang="edit_history"}'>({lang="edit_history"})</a>
		{{if !$comment->mapped('edit_show') AND \IPS\Member::loggedIn()->modPermission('can_view_editlog')}}
		<br>{lang="comment_edit_show_anyways"}
		{{endif}}
	{{endif}}
</span>]]></template>
 <template template_group="global" template_name="commentMultimod" template_data="$item, $type='comment'" template_location="front" template_app="core"><![CDATA[<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}" />
{{$method = $type . 'MultimodActions';}}
{{if $actions = $item->$method() and \count( $actions )}}
	<div class="ipsClearfix">
		<div class="ipsAreaBackground ipsPad ipsClearfix ipsJS_hide" data-role="pageActionOptions">
			<div class="ipsPos_right">
				<select name="modaction" data-role="moderationAction">
					{{if \in_array( 'approve', $actions )}}
						<option value='approve' data-icon='check-circle'>{lang="approve"}</option>
					{{endif}}
					{{if \in_array( 'split_merge', $actions )}}
						<option value='split' data-icon='expand'>{lang="split"}</option>
						<option value='merge' data-icon='level-up'>{lang="merge"}</option>
					{{endif}}
					{{if \in_array( 'hide', $actions ) or \in_array( 'unhide', $actions )}}
						<optgroup label="{lang="hide"}" data-icon='eye' data-action='hide'>
							{{if \in_array( 'hide', $actions )}}
								<option value='hide'>{lang="hide"}</option>
							{{endif}}
							{{if \in_array( 'unhide', $actions )}}
								<option value='unhide'>{lang="unhide"}</option>
							{{endif}}
						</optgroup>
					{{endif}}
					{{if \in_array( 'delete', $actions )}}
						<option value='delete' data-icon='trash'>{lang="delete"}</option>
					{{endif}}
				</select>
				<button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
			</div>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="commentMultimodHeader" template_data="$item, $container, $type='comment'" template_location="front" template_app="core"><![CDATA[
{{$method = $type . 'MultimodActions';}}
{{if $actions = $item->$method() and \count( $actions )}}
	<div class="ipsCommentMultimod ipsMargin_bottom ipsClearfix">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			<li>
				<a class="ipsJS_show" href="#elCheck_menu" id="elCheck" title='{lang="select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="{$container}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
					<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
					<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
				</a>
				<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_menu">
					<li class="ipsMenu_title">{lang="select_rows"}</li>
					<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
					<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
					<li class="ipsMenu_sep"><hr></li>
					<li class="ipsMenu_item" data-ipsMenuValue="hidden"><a href="#">{lang="hidden"}</a></li>
					<li class="ipsMenu_item" data-ipsMenuValue="unhidden"><a href="#">{lang="unhidden"}</a></li>
					<li class="ipsMenu_item" data-ipsMenuValue="unapproved"><a href="#">{lang="unapproved"}</a></li>
				</ul>
			</li>
		</ul>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="commentRecognized" template_data="$comment" template_location="front" template_app="core"><![CDATA[{{$blurb = $comment->recognizedBlurb();}}
<!--Content Recognized -->
<div class="ipsType_reset ipsPad ipsAreaBackground_light ipsClearfix ipsPhotoPanel ipsPhotoPanel_mini">
	{template="userPhoto" group="global" app="core" params="$comment->recognized->_given_by, 'mini'"}
	<div>
		<strong class='ipsType_normal'>{$blurb['main']}</strong>
		{{if $blurb['message']}}<p>&quot;<em>{$blurb['message']|raw}</em>&quot;</p>{{endif}}
		<p class='ipsType_light'>
			{$blurb['awards']|raw}
		</p>
	</div>
</div>]]></template>
 <template template_group="global" template_name="commentsAndReviewsTabs" template_data="$content, $id" template_location="front" template_app="core"><![CDATA[<div class='ipsResponsive_pull' data-controller='core.front.core.commentsWrapper' data-tabsId='{$id}'>
	{$content|raw}
</div>]]></template>
 <template template_group="global" template_name="commentTableHeader" template_data="$comment, $status" template_location="front" template_app="core"><![CDATA[
<div class='ipsFlex ipsFlex-ai:center sm:ipsFlex-ai:start sm:ipsMargin_top:double'>
	<div class='ipsFlex-flex:00 ipsMargin_right sm:ipsMargin_right:half'>
		{template="userPhoto" group="global" app="core" params="$status->author()"}
	</div>
	<div>
		<p class='ipsType_medium ipsType_light ipsType_blendLinks ipsType_reset'>
			{lang="status_updated_by" htmlsprintf="$status->author()->link()"}
		</p>
		<div class='ipsType_richText ipsType_medium' data-ipsTruncate data-ipsTruncate-size='5 lines' data-ipsTruncate-type='remove'>
			{$status->truncated()|raw}
		</div>
	</div>
</div>]]></template>
 <template template_group="global" template_name="commentWarned" template_data="$comment" template_location="front" template_app="core"><![CDATA[
<!-- Moderator warning -->
<div class="ipsType_reset ipsPad ipsAreaBackground_light ipsClearfix ipsPhotoPanel ipsPhotoPanel_mini">
	{template="userPhoto" group="global" app="core" params="\IPS\Member::load( $comment->warning->moderator ), 'mini'"}
	<div>
		<strong class='ipsType_warning ipsType_normal'>{lang="member_given_post_warning" sprintf="\IPS\Member::load( $comment->warning->moderator )->name, \IPS\Member::load( $comment->warning->member )->name"}</strong>
		<br>
		<span class='ipsType_light'>
			<strong>{lang="warn_reason_message"}</strong> {lang="core_warn_reason_{$comment->warning->reason}"} &middot; <strong>{lang="warn_points_message"}</strong> {$comment->warning->points} &middot; <a href="{url="app=core&module=system&controller=warnings&do=view&id={$comment->warning->member}&w={$comment->warning->id}" seoTemplate="warn_view" seoTitle="$comment->author()->members_seo_name"}" title='{lang="view_warning_details_title"}' data-ipsDialog data-ipsDialog-size='narrow'>{lang="view_warning_details"}</a>
		</span>
	</div>
</div>]]></template>
 <template template_group="global" template_name="confirmDelete" template_data="$message, $form, $title" template_location="front" template_app="core"><![CDATA[
<section class='ipsType_center ipsBox ipsPadding'>
    <br><br>
    <i class='ipsType_huge fa fa-exclamation-triangle'></i>

    <p class='ipsType_veryLarge'>
        {lang="$title"}
    </p>

    <p class='ipsType_large'>
        {lang="$message"}
    </p>
    <hr class='ipsHr'>
    {$form|raw}
</section>]]></template>
 <template template_group="global" template_name="contentEditLine" template_data="$item" template_location="front" template_app="core"><![CDATA[
<p class='ipsType_reset ipsType_medium ipsType_light' data-excludequote>
	<strong>{lang="date_edited" htmlsprintf="\IPS\DateTime::ts( $item->mapped('edit_time') )->html(FALSE), htmlspecialchars( $item->mapped('edit_member_name'), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE )"}</strong>
	{{if $item->mapped('edit_reason')}}
	<br>{$item->mapped('edit_reason')}
	{{endif}}
	{{if \IPS\Settings::i()->edit_log == 2 and ( \IPS\Settings::i()->edit_log_public or \IPS\Member::loggedIn()->modPermission('can_view_editlog') )}}
	<a href='{$item->url('editlog')}' data-ipsDialog data-ipsDialog-title="{lang="edit_history"}" title="{lang="edit_history"}">({lang="edit_history"})</a>
	{{if !$item->mapped('edit_show') AND \IPS\Member::loggedIn()->modPermission('can_view_editlog')}}
	<br>{lang="comment_edit_show_anyways"}
	{{endif}}
	{{endif}}
</p>]]></template>
 <template template_group="global" template_name="contentItemMessage" template_data="$message, $item, $id" template_location="front" template_app="core"><![CDATA[{{$member = \IPS\Member::load( $message['added_by'] );}}
{{$class = \get_class( $item );}}
<div class='cContentMessage {{if isset( $message['color'] ) && $message['color'] !== 'none'}}cContentMessage_color ipsMessage_{$message['color']}{{else}} ipsBox{{endif}} ipsMargin_vertical'>
	<div class='cContentMessage__header'>
		<div class='ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap ipsGap:3'>
			<div class='cContentMessage__header--avatar ipsFlex-flex:00'>
				{{if isset( $message['is_public'] ) AND $message['is_public'] }}
					{template="userPhoto" group="global" app="core" params="$member, 'tiny'"}
				{{else}}
					<span class='cContentMessage__badge'><i class="fa fa-lock" aria-hidden="true"></i> {lang="message_staff_badge"}</span>
				{{endif}}
			</div>
			<div class='cContentMessage__header--text ipsFlex-flex:11 ipsFlex ipsFlex-fw:wrap ipsFlex-ai:center ipsFlex-jc:between'>
				<div class='ipsFlex-flex:11 ipsMargin_right'>
					{{if $member->member_id}}
						<strong class='cContentMessage_author'>{lang="content_item_message" sprintf="$member->name"}</strong>{{if isset( $message['date'] ) }}<span class='ipsType_light'>, {datetime="$message['date']"}</span>{{endif}}
					{{else}}
						{{if isset( $message['date'] ) }}<span class='ipsType_light'>{datetime="$message['date']"}</span>{{endif}}
					{{endif}}
				</div>
				{{if $item->canOnMessage( 'edit' ) || $item->canOnMessage( 'delete' )}}
					<ul class='ipsFlex-flex:00 ipsFlex ipsGap:5 ipsGap_row:0'>
						{{if $item->canOnMessage( 'edit' )}}
							<li>
								<a href='{$item->url()->setQueryString( array( 'do' => 'messageForm', 'meta_id' => $id ) )}' data-ipsDialog data-ipsDialog-title='{lang="edit"}'>{lang="edit"}</a>
							</li>
						{{endif}}
						{{if $item->canOnMessage( 'delete' )}}
							<li>
								<a href='{$item->url()->csrf()->setQueryString( array( 'do' => 'messageDelete', 'meta_id' => $id ) )}' data-confirm>{lang="delete"}</a>
							</li>
						{{endif}}
					</ul>
				{{endif}}
			</div>
		</div>
	</div>
	<div class='ipsPad'>
		{template="richText" group="global" app="core" location="global" params="$message['message'], array('ipsType_normal', 'ipsClearfix')"}
	</div>
</div>]]></template>
 <template template_group="global" template_name="contentItemMessages" template_data="$messages, $item" template_location="front" template_app="core"><![CDATA[{{foreach $messages AS $id => $message}}
	{template="contentItemMessage" app="core" group="global" params="$message, $item, $id"}
{{endforeach}}]]></template>
 <template template_group="global" template_name="controlStrip" template_data="$buttons, $otherClasses=NULL" template_location="admin" template_app="core"><![CDATA[<ul class='ipsControlStrip ipsType_noBreak ipsList_reset {{if $otherClasses}}{$otherClasses}{{endif}}' data-ipsControlStrip>
	{{foreach $buttons as $k => $button}}
		<li class='ipsControlStrip_button {{if isset( $button['hidden'] ) and $button['hidden']}}ipsJS_hide{{endif}}' {{if isset( $button['id'] )}}id="{$button['id']}"{{endif}}>
			<a
				{{if isset( $button['link'] ) and $button['link'] !== NULL}}href='{$button['link']}'{{endif}}
				title='{{if isset( $button['tooltip'] )}}{$button['tooltip']}{{else}}{lang="$button['title']"}{{endif}}'
				data-ipsTooltip
				aria-label="{{if isset( $button['tooltip'] )}}{$button['tooltip']}{{else}}{lang="$button['title']"}{{endif}}"
				data-controlStrip-action="{$k}"
				
				{{if isset( $button['class'] )}}class='{$button['class']}'{{endif}}
				{{if isset( $button['data'] )}}
					{{foreach $button['data'] as $k => $v}}
						data-{$k}="{$v}"
					{{endforeach}}
				{{endif}}
				{{if isset( $button['hotkey'] )}}
					data-keyAction='{$button['hotkey']}'
				{{endif}}
				{{if isset( $button['target'] )}}
					target="{$button['target']}"
					{{if $button['target'] == '_blank'}} rel="noopener"{{endif}}
				{{endif}}
			>
				<i class='ipsControlStrip_icon fa fa-fw fa-{$button['icon']}'></i>
				<span class='ipsControlStrip_item'>{lang="$button['title']"}</span>
			</a>
		</li>
	{{endforeach}}
</ul>
]]></template>
 <template template_group="global" template_name="controlStrip" template_data="$buttons" template_location="front" template_app="core"><![CDATA[<ul class='ipsControlStrip ipsType_noBreak ipsList_reset' data-ipsControlStrip>
	{{foreach $buttons as $button}}
		<li class='ipsControlStrip_button {{if isset( $button['hidden'] ) and $button['hidden']}}ipsJS_hide{{endif}}' {{if isset( $button['id'] )}}id="{$button['id']}"{{endif}}>
			<a
				{{if isset( $button['link'] )}}href='{$button['link']}'{{endif}}
				title='{lang="$button['title']"}'
				data-ipsTooltip
				aria-label="{lang="$button['title']"}"
				
				{{if isset( $button['class'] )}}class='{$button['class']}'{{endif}}
				{{if isset( $button['data'] )}}
					{{foreach $button['data'] as $k => $v}}
						data-{$k}="{$v}"
					{{endforeach}}
				{{endif}}
				{{if isset( $button['hotkey'] )}}
					data-keyAction='{$button['hotkey']}'
				{{endif}}
				{{if isset( $button['target'] )}}
					target="{$button['target']}"
					{{if $button['target'] == '_blank'}} rel="noopener"{{endif}}
				{{endif}}
			>
				<i class='ipsControlStrip_icon fa fa-{$button['icon']}'></i>
				<span class='ipsControlStrip_item'>{lang="$button['title']"}</span>
			</a>
		</li>
	{{endforeach}}
</ul>
]]></template>
 <template template_group="global" template_name="coverPhoto" template_data="$url, $coverPhoto" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHead_special ipsCoverPhoto' data-controller='core.global.core.coverPhoto' data-url="{$url->csrf()}" data-coverOffset='{$coverPhoto->offset}'>
	{{$cfObject = $coverPhoto->object;}}
	{{if $coverPhoto->file}}
		<div class='ipsCoverPhoto_container'>
			{{if settings.lazy_load_enabled}}
				<img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
			{{else}}
				<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
			{{endif}}
		</div>
	{{elseif ! empty( $cfObject::$coverPhotoDefault )}}
		<div class='ipsCoverPhoto_container' style="background-color: {$coverPhoto->object->coverPhotoBackgroundColor()}">
			<img src='{resource="pattern.png" app="core" location="global"}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
		</div>
	{{endif}}
	{{$id = mt_rand();}}
	{{if $coverPhoto->editable}}
		<a href='#elEditPhoto{$id}_menu' data-hideOnCoverEdit class='ipsCoverPhoto_button ipsPos_right ipsButton ipsButton_small ipsButton_overlaid' data-ipsMenu id='elEditPhoto{$id}' data-role='coverPhotoOptions'>{lang="cover_photo_button"} <i class='fa fa-caret-down'></i></a>
	{{endif}}
	<div class='ipsColumns ipsColumns_collapsePhone' data-hideOnCoverEdit>
		<div class='ipsColumn ipsColumn_fluid'>
			{{if $coverPhoto->editable}}
				<ul class='ipsMenu ipsMenu_auto ipsHide' id='elEditPhoto{$id}_menu'>
					{{if $coverPhoto->file}}
						<li class='ipsMenu_item' data-role='photoEditOption'>
							<a href='{$url->setQueryString( array( 'do' => 'coverPhotoRemove' ) )->csrf()->addRef( $url )}' data-action='removeCoverPhoto'>{lang="cover_photo_remove"}</a>
						</li>
						<li class='ipsMenu_item ipsHide' data-role='photoEditOption'>
							<a href='#' data-action='positionCoverPhoto'>{lang="cover_photo_reposition"}</a>
						</li>
					{{endif}}
					<li class='ipsMenu_item'>
						<a href='{$url->setQueryString( array( 'do' => 'coverPhotoUpload' ) )->addRef( $url )}' data-ipsDialog data-ipsDialog-title="{lang="cover_photo_add"}">{lang="cover_photo_add"}</a>
					</li>
				</ul>
			{{endif}}
			{$coverPhoto->overlay|raw}
		</div>
	</div>
</div>]]></template>
 <template template_group="global" template_name="customFieldsDisplay" template_data="$author" template_location="front" template_app="core"><![CDATA[{{foreach $author->contentProfileFields() as $group => $fields}}
	{{foreach $fields as $field => $value}}
	<li data-role='custom-field' class='ipsResponsive_hidePhone ipsType_break'>
		{$value|raw}
	</li>
	{{endforeach}}
{{endforeach}}]]></template>
 <template template_group="global" template_name="decision" template_data="$blurb, $options" template_location="global" template_app="core"><![CDATA[
<div class='ipsAreaBackground_light ipsPad ipsType_center'>
	<div class='ipsType_large'><strong>{lang="$blurb"}</strong></div>
	<br><br>
	<ul class='ipsList_inline'>
		{{foreach $options as $lang => $link}}
			<li>
				<a href="{$link}" title='{lang="$lang"}' class='ipsButton ipsButton_medium ipsButton_primary'>{lang="$lang"}</a>
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="global" template_name="definitionTable" template_data="$rows, $sidebar=NULL, $parse=TRUE" template_location="admin" template_app="core"><![CDATA[{{if $sidebar !== NULL}}
	<div class="ipsColumns">
		<div class="ipsColumn ipsColumn_fluid">
{{endif}}
			<ul class='ipsDataList'>
				{{foreach $rows as $k => $v}}
					<li>
						<span class="ipsDataItem_generic ipsDataItem_size6">
							<strong class="title">
								{{if $parse}}
									{lang="$k"}
								{{else}}
									{$k}
								{{endif}}
							</strong>
						</span>
						<span class="ipsDataItem_generic">
							{{if $v}}
								{$v}
							{{else}}
								<em class="ipsType_light">{lang="unknown"}</em>
							{{endif}}
						</span>
					</li>
				{{endforeach}}
			</ul>
{{if $sidebar !== NULL}}
		</div>
		<div class="ipsColumn ipsColumn_fixed ipsColumn_veryWide">
			{$sidebar|raw}
		</div>
	</div>
{{endif}}
]]></template>
 <template template_group="global" template_name="designersModeBuilding" template_data="$html, $title=NULL" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{expression="output.getTitle( $title )"}</title>
		{template="includeMeta" app="core" group="global" location="global" params=""}
	<style type="text/css">
		/* ======================================================== */
/* PROGRESS BAR */
@keyframes progress-bar-stripes {
	from { background-position: 40px 0; }
	to { background-position: 0 0; }
}

.ipsProgressBar {
	width: 50%;
	margin: auto;
	height: 26px;
	overflow: hidden;
	background: rgb(156,156,156);
	background: linear-gradient(to bottom, rgba(156,156,156,1) 0%,rgba(180,180,180,1) 100%);
	border-radius: var(--radius-1);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
	
	.ipsProgressBar.ipsProgressBar_fullWidth {
		width: 100%;
	}

	.ipsProgressBar.ipsProgressBar_animated .ipsProgressBar_progress {
		background-color: #5490c0;
		background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
		background-size: 40px 40px;
	}

.ipsProgressBar_progress {
	float: left;
	width: 0;
	height: 100%;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
	background: #5490c0;
	position: relative;
	white-space: nowrap;
	line-height: 26px;
}
	
	.ipsProgressBar_warning .ipsProgressBar_progress {
		background: #8c3737;
	}

	.ipsProgressBar > span:first-child {
		padding-left: 7px;
	}

	.ipsProgressBar_progress[data-progress]:after {
		position: absolute;
		right: 5px;
		top: 0;
		line-height: 32px;
		color: #fff;
		content: attr(data-progress);
		display: block;
		font-weight: bold;
	}
	
	span[data-role=message] {
		text-align: center;
		display: block;
		margin: 8px;
		font-family: Helvetica;
	}

	</style>
	</head>
	<body class="ipsApp ipsApp_front ipsJS_none ipsClearfix ipsLayout_noBackground">
		{$html|raw}
		{template="includeJS" app="core" group="global" location="global" params=""}
	</body>
</html>]]></template>
 <template template_group="global" template_name="dynamicChart" template_data="$chart, $html" template_location="global" template_app="core"><![CDATA[<div class='ipsChart' data-controller='core.admin.core.dynamicChart' data-chart-url='{$chart->baseURL}' data-chart-identifier='{$chart->identifier}' data-chart-type="{$chart->type}" data-chart-timescale="{$chart->timescale}" data-chart-customfilter-submitted='{{if isset( \IPS\Request::i()->filter_form_submitted )}}true{{else}}false{{endif}}'>
	<div class='ipsPad ipsAreaBackground_light ipsClearfix ipsChart_filters'>
		{{if ( \IPS\Request::i()->chartId AND \IPS\Request::i()->chartId != '_default' ) OR $chart->title}}
			<div class='ipsClearfix ipsSpacer_bottom ipsSpacer_half'>
		{{endif}}
		<div class='ipsPos_right'>
			{{if $chart->showIntervals OR $chart->showDateRange OR $chart->showFilterTabs}}
				<button data-ipsTooltip title='{lang="save_chart_desc"}' class='ipsButton ipsButton_primary ipsButton_verySmall' data-role='saveReport' {{if !\IPS\Request::i()->chartId OR \IPS\Request::i()->chartId == '_default'}}data-ipsMenu data-ipsMenu-closeOnClick='false'{{else}}data-chartId='{request="chartId"}'{{endif}} id='el{$chart->identifier}FilterSave'><i class='fa fa-plus'></i> {lang="save_chart"}</button>
			{{endif}}
			{{if \IPS\Request::i()->chartId AND \IPS\Request::i()->chartId != '_default'}}
				{{if $chart->showIntervals OR $chart->showDateRange OR $chart->showFilterTabs}}<br><br>{{endif}}
				<a data-confirm href='{$chart->baseURL->setQueryString( array( 'deleteChart' => \IPS\Request::i()->chartId ) )->csrf() }' class='ipsButton_veryVerySmall ipsButton ipsButton_negative ipsMargin_right:half'>{lang="mychart_remove"}</a>
				<button data-role="renameChart" class='ipsPos_right ipsButton_veryVerySmall ipsButton ipsButton_neutral' data-ipsMenu data-ipsMenu-closeOnClick='false' id='el{$chart->identifier}FilterRename'>{lang="stream_rename"}</button>
				<ul id='el{$chart->identifier}FilterRename_menu' class='ipsMenu ipsMenu_auto ipsHide' data-role="filterRenameMenu">
					<li class='ipsMenu_item'>{$chart->form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'forms', 'core', 'front' ), 'popupTemplate' ) )|raw}</li>
				</ul>
			{{endif}}
		</div>
		{{if $chart->title}}
			<h2 class='ipsType_sectionHead {{if $chart->description}}ipsChart_withDescription{{endif}}'>{$chart->title}</h2>
		{{endif}}
        {{if $chart->description}}
            <p class="ipsType_light ipsPad_none">{$chart->description}</p>
        {{endif}}
		{{if ( \IPS\Request::i()->chartId AND \IPS\Request::i()->chartId != '_default' ) OR $chart->title}}
			</div>
		{{endif}}
		<ul class='ipsList_inline'>
			{{if $chart->showIntervals}}
				<li data-role="groupingButtons">
					<span class="ipsButton_split ipsClearfix">
						{{if $chart->enableHourly}}
							<a class='ipsButton ipsButton_verySmall {{if $chart->type == 'Table'}}ipsButton_disabled ipsButton_veryLight{{else}}{{if $chart->timescale == 'hourly'}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}}{{endif}}' href="{$chart->url->setQueryString( array( 'timescale' => array( $chart->identifier => 'hourly' ), 'noheader' => 1 ) )}" data-timescale="hourly" {{if $chart->timescale == 'hourly'}}data-selected{{endif}}>{lang="stats_date_group_hourly"}</a>
						{{endif}}
						{{foreach array( 'daily', 'weekly', 'monthly' ) as $k}}
							<a class='ipsButton ipsButton_verySmall {{if $chart->type == 'Table'}}ipsButton_disabled ipsButton_veryLight{{else}}{{if $chart->timescale == $k}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}}{{endif}}' href="{$chart->url->setQueryString( array( 'timescale' => array( $chart->identifier => $k ), 'noheader' => 1 ) )}" data-timescale="{$k}" {{if $chart->timescale == $k}}data-selected{{endif}}>{lang="stats_date_group_$k"}</a>
						{{endforeach}}
					</span>
				</li>
			{{endif}}
			{{if $chart->showDateRange}}
				<li class="ipsClearfix">
					<a data-action='chartDate' data-ipsMenu data-ipsMenu-closeOnBlur='false' data-ipsMenu-closeOnClick='false' id='el{$chart->identifier}Date' href="#" class="ipsButton ipsButton_verySmall ipsButton_veryLight"><i class='fa fa-calendar'></i> &nbsp;{lang="stats_date_range"} <span data-role='dateSummary' class='ipsType_light'>{{if $chart->start AND $chart->end}}({lang="search_betweenXandX" sprintf="$chart->start->localeDate(), $chart->end->localeDate()"}){{elseif $chart->start}}({lang="search_afterX" sprintf="$chart->start->localeDate()"}){{elseif $chart->end}}({lang="search_beforeX" sprintf="$chart->end->localeDate()"}){{endif}}</span> <i class='fa fa-caret-down'></i></a>
					<div id='el{$chart->identifier}Date_menu' class='ipsMenu ipsMenu_normal ipsHide ipsPad'>
						<form accept-charset='utf-8' action="{$chart->url}" method="post" data-role="dateForm" data-ipsForm>
							{template="date" group="forms" location="global" app="core" params="'start', $chart->start ?: NULL, FALSE, NULL, NULL, FALSE, FALSE, NULL, NULL, NULL, array(), TRUE, 'ipsField_fullWidth', \IPS\Member::loggedIn()->language()->addToStack('stats_start_date')"}
							<br><br>
							{template="date" group="forms" location="global" app="core" params="'end', $chart->end ?: NULL, FALSE, NULL, NULL, FALSE, FALSE, NULL, NULL, NULL, array(), TRUE, 'ipsField_fullWidth', \IPS\Member::loggedIn()->language()->addToStack('stats_end_date')"}
							<br><br>
							<button type="submit" class="ipsButton ipsButton_primary ipsButton_fullWidth" data-role="updateDate">{lang="submit"}</button>
						</form>
					</div>
				</li>
			{{endif}}
			{{if ! $chart->customFiltersForm and \count( $chart->availableFilters ) > 0}}
				<li>
					<a data-action="chartFilter" data-ipsMenu data-ipsMenu-selectable data-ipsMenu-closeOnClick='false' id='el{$chart->identifier}Filter' href="#" class="ipsButton ipsButton_verySmall ipsButton_veryLight"><i class='fa fa-filter'></i> &nbsp;{lang="stats_chart_filters"} <i class='fa fa-caret-down'></i></a>
					<ul id='el{$chart->identifier}Filter_menu' class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role='filterMenu'>
						<li class='ipsMenu_item ipsMenu_itemNonSelect ipsType_center' data-noselect>
							<span>
								<a href='#' data-role='selectAll' class='ipsMenu_itemInline'>{lang="all"}</a>
								<a href='#' data-role='unselectAll' class='ipsMenu_itemInline'>{lang="none"}</a>
							</span>
						</li>
						{{foreach $chart->availableFilters as $f => $name}}
							<li class='ipsMenu_item {{if \in_array( $f, $chart->currentFilters )}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$f}'><a href="{$chart->flipUrlFilter( $f )}">{{if \is_array( $name )}}{$name['value']}{{else}}{$name}{{endif}}</a></li>
						{{endforeach}}
						<li class='ipsMenu_item ipsMenu_itemNonSelect' data-noselect>
							<span>
								<button disabled class='ipsMenu_itemInline ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth' data-role="applyFilters">{lang="apply_filters"}</button>
							</span>
						</li>
					</ul>
				</li>
			{{endif}}
			{{if $chart->customFiltersForm}}
                {{$customFilterFormTitle = $chart->customFiltersForm['title'] ?? 'chart_customfilters_title';}}
				<li>
					<a href="#elCustomFiltersForm" class="ipsButton ipsButton_verySmall ipsButton_veryLight" data-ipsDialog data-ipsDialog-size="narrow" data-ipsDialog-title="{lang="$customFilterFormTitle"}" data-ipsDialog-content="#el{$chart->identifier}CustomFiltersForm"><i class='fa fa-bar-chart'></i> &nbsp;{lang="$customFilterFormTitle"}</a>
					<div id='el{$chart->identifier}CustomFiltersForm' class='ipsAreaBackground_light ipsPad ipsJS_hide'>
						{$chart->getCustomFiltersForm()->customTemplate( array( \IPS\Theme::i()->getTemplate( 'forms', 'core', 'front' ), 'popupTemplate' ) )|raw}
					</div>
				</li>
			{{endif}}
			{{if isset( $chart->options['limitSearch'] )}}
				<li class="ipsClearfix">
					<a data-action='chartSearch' data-ipsMenu data-ipsMenu-closeOnBlur='false' data-ipsMenu-closeOnClick='false' id='el{$chart->identifier}Search' href="#" class="ipsButton ipsButton_verySmall ipsButton_veryLight">{lang="$chart->options['limitSearch']"} <span data-role='searchSummary' class='ipsType_light'></span> <i class='fa fa-caret-down'></i></a>
					<div id='el{$chart->identifier}Search_menu' class='ipsMenu ipsMenu_normal ipsHide ipsPad'>
						<form accept-charset='utf-8' action="{$chart->url}" method="post" data-role="searchForm" data-ipsForm>
							{template="text" group="forms" location="global" app="core" params="'search', 'text', NULL, FALSE"}
							<br><br>
							<button type="submit" class="ipsButton ipsButton_primary ipsButton_fullWidth" data-role="updateSearch">{lang="submit"}</button>
							<button type="submit" value='reset' class="ipsButton ipsButton_light ipsButton_fullWidth ipsSpacer_top ipsSpacer_half" data-role="clearSearchTerm">{lang="stats_search_reset"}</button>
						</form>
					</div>
				</li>
			{{endif}}
			{{if $chart->showSave}}
				<li>
					{{if !\IPS\Request::i()->chartId OR \IPS\Request::i()->chartId == '_default'}}
						<ul id='el{$chart->identifier}FilterSave_menu' class='ipsMenu ipsMenu_auto ipsHide' data-role='filterSaveMenu'>
							<li class='ipsMenu_item'>{$chart->form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'forms', 'core', 'front' ), 'popupTemplate' ) )|raw}</li>
						</ul>
					{{endif}}
				</li>
			{{endif}}

			{{if \count( $chart->availableTypes ) > 1 || $chart instanceof \IPS\Helpers\Chart\Dynamic}}
				<li class='ipsPos_right ipsType_noBreak'>
					{{if $chart instanceof \IPS\Helpers\Chart\Dynamic}}
						&nbsp;&nbsp;<a class='ipsButton ipsButton_veryLight ipsButton_verySmall' href='{$chart->url->setQueryString(array( "download" => 1 ))->csrf() }' data-ipsTooltip title='{lang="download_as_csv"}' data-role='downloadChart'><i class="fa fa-download"></i> &nbsp;CSV</a>
					{{endif}}
					{{if \count( $chart->availableTypes ) > 1}}
						<span class="ipsButton_split ipsClearfix">
							{{foreach $chart->availableTypes as $t}}
								<a class='ipsButton ipsButton_verySmall {{if $chart->type == $t}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}}' href="{$chart->url->setQueryString( array( 'type' => array( $chart->identifier => $t ), 'noheader' => 1 ) )}" data-ipsTooltip title='{lang="chart_{$t}"}' data-type='{$t}' {{if $chart->type == $t}}data-selected{{endif}}>
									{{if $t === 'Table'}}
										<i class="fa fa-table"></i>
									{{elseif $t === 'LineChart'}}
										<i class="fa fa-line-chart"></i>
									{{elseif $t == 'AreaChart'}}
										<i class='fa fa-area-chart'></i>
									{{elseif $t === 'ColumnChart'}}
										<i class="fa fa-bar-chart"></i>
									{{elseif $t === 'BarChart'}}
										<i class="fa fa-bar-chart fa-rotate-90"></i>
									{{elseif $t === 'PieChart'}}
										<i class="fa fa-pie-chart"></i>
									{{elseif $t === 'GeoChart'}}
										<i class="fa fa-globe"></i>
									{{endif}}
								</a>
							{{endforeach}}
						</span>
					{{endif}}
				</li>
			{{endif}}
		</ul>
		
	</div>
	<div class='ipsChart_chart ipsPad' data-role="chart">
		{$html|raw}
	</div>
</div>
{{if $chart->timezoneError and member.isAdmin()}}
	<p class="ipsType_small ipsType_light ipsPad ipsPad_half"><i class="fa fa-info-circle"></i> {lang="dynamic_chart_timezone_info"}{{if $chart->hideTimezoneLink === FALSE}} <a href="{url="app=core&module=system&controller=ajax&do=chartTimezones"}" data-ipsDialog data-ipsDialog-title="{lang="dynamic_chart_timezone_title"}">{lang="learn_more"}</a>{{endif}}</p>
{{endif}}]]></template>
 <template template_group="global" template_name="embedComment" template_data="$item, $comment, $url, $image=NULL" template_location="front" template_app="core"><![CDATA[
{{$useImage = NULL;}}
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	{template="embedHeader" group="embed" app="core" params="$comment, $item->mapped('title'), $comment->mapped('date'), $url"}
	<div class='ipsPadding:double'>
		<div class='ipsRichEmbed_originalItem ipsAreaBackground_reset ipsSpacer_bottom ipsType_blendLinks'>
			<div>
				{{if $image}}
					{{$useImage = $image;}}
				{{elseif $contentImage = $item->contentImages(1)}}
					{{$attachType = key( $contentImage[0] );}}
					{{$useImage = \IPS\File::get( $attachType, $contentImage[0][ $attachType ] );}}
				{{endif}}

				{{if $useImage}}
					<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
						<a href='{$url}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $useImage->url )"}" )'>
							<img src='{$useImage->url}' class='ipsHide' alt=''>
						</a>
					</div>
				{{endif}}

				<div class='ipsPadding sm:ipsPadding:half'>
					{template="embedOriginalItem" group="embed" app="core" params="$item"}
				</div>
			</div>
		</div>

		<div class='ipsType_richText ipsType_medium' data-truncate='3'>
			{$comment->truncated(TRUE)|raw}
		</div>

		{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and \count( $comment->reactions() )}}
			<ul class='ipsList_inline ipsSpacer_top ipsSpacer_half'>
				<li>
					{template="reactionOverview" app="core" group="global" params="$comment, TRUE, 'small'"}
				</li>
			</ul>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="global" template_name="embedExternal" template_data="$output, $js" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<script type='text/javascript'>
			var ipsDebug = {{if ( \IPS\IN_DEV and \IPS\DEV_DEBUG_JS ) or \IPS\DEBUG_JS}}true{{else}}false{{endif}};
		</script>
		
		{template="includeCSS" app="core" group="global" location="global" params=""}

		{{if \is_array( $js )}}
			{{foreach $js as $jsInclude}}
				{{$filename = \IPS\Http\Url::external( $jsInclude[0] );}}
				<script type='text/javascript' src='{$filename}'></script>
			{{endforeach}}
		{{endif}}
	</head>
	<body class='unloaded {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}}' data-role='externalEmbed'>
		<div id='ipsEmbed'>
			{$output|raw}
		</div>
		<div id='ipsEmbedLoading'>
			<span></span>
		</div>
	</body>
</html>
]]></template>
 <template template_group="global" template_name="embedInternal" template_data="$html, $js" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{expression="output.title"}</title>
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}

		<script type='text/javascript'>
			var ipsDebug = {{if ( \IPS\IN_DEV and \IPS\DEV_DEBUG_JS ) or \IPS\DEBUG_JS}}true{{else}}false{{endif}};
		</script>

		{{if \is_array( $js )}}
			{{foreach $js as $jsInclude}}
				{{$filename = \IPS\Http\Url::external( $jsInclude[0] );}}
				<script type='text/javascript' src='{$filename}'></script>
			{{endforeach}}
		{{endif}}
	</head>
	<body class='unloaded ipsApp ipsApp_front ipsClearfix ipsLayout_noBackground {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' data-role='internalEmbed' {{if \IPS\Dispatcher::i()->application}}data-pageapp='{expression="\IPS\Dispatcher::i()->application->directory"}'{{endif}} {{if \IPS\Dispatcher::i()->module}}data-pagemodule='{expression="\IPS\Dispatcher::i()->module->key"}'{{endif}} data-pagecontroller='{expression="\IPS\Dispatcher::i()->controller"}'>
		<div id='ipsEmbed'>
			{$html|raw}
		</div>
		<div id='ipsEmbedLoading'>
			<span></span>
		</div>
		{expression="output.endBodyCode" raw="true"}
	</body>
</html>
]]></template>
 <template template_group="global" template_name="embedItem" template_data="$item, $url, $image=NULL" template_location="front" template_app="core"><![CDATA[
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	{template="embedHeader" group="embed" app="core" params="$item, $item->mapped('title'), $item->mapped('date'), $url"}
	{{if $image}}
		{{$useImage = $image;}}
	{{elseif $contentImage = $item->contentImages(1)}}
		{{$attachType = key( $contentImage[0] );}}
		{{$useImage = \IPS\File::get( $attachType, $contentImage[0][ $attachType ] );}}
	{{endif}}

	{{if $useImage}}
		<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
			<a href='{$url}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $useImage->url )"}" )'>
				<img src='{$useImage->url}' class='ipsHide' alt=''>
			</a>
		</div>
	{{endif}}
	<div class='ipsPadding:double ipsClearfix'>
		{{if $desc = $item->truncated(TRUE)}}
			<div class='ipsType_richText ipsType_medium' data-truncate='3'>
				{$desc|raw}
			</div>
		{{endif}}
		{template="embedItemStats" group="embed" app="core" params="$item"}
	</div>
</div>]]></template>
 <template template_group="global" template_name="embedReview" template_data="$item, $review, $url, $image=NULL" template_location="front" template_app="core"><![CDATA[
{{$useImage = NULL;}}
<div data-embedInfo-maxSize='{{if settings.max_internalembed_width}}{setting="max_internalembed_width"}{{else}}100%{{endif}}' class='ipsRichEmbed'>
	{template="embedHeader" group="embed" app="core" params="$review, $item->mapped('title'), $review->mapped('date'), $url"}
	<div class='ipsPadding:double'>
		<div class='ipsRichEmbed_originalItem ipsAreaBackground_reset ipsSpacer_bottom ipsType_blendLinks'>
			<div>
				{{if $image}}
					{{$useImage = $image;}}
				{{elseif $contentImage = $item->contentImages(1)}}
					{{$attachType = key( $contentImage[0] );}}
					{{$useImage = \IPS\File::get( $attachType, $contentImage[0][ $attachType ] );}}
				{{endif}}

				{{if $useImage}}
					<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
						<a href='{$url}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $useImage->url )"}" )'>
							<img src='{$useImage->url}' class='ipsHide' alt=''>
						</a>
					</div>
				{{endif}}

				<div class='ipsPadding sm:ipsPadding:half'>
					{template="embedOriginalItem" group="embed" app="core" params="$item"}
				</div>
			</div>
		</div>

		{template="rating" app="core" params="'veryLarge', $review->mapped('rating')" group="global"} 
		{{if $review->mapped('votes_total')}}
			<p class='ipsType_reset ipsType_medium'>{$review->helpfulLine()|raw}</p>
		{{endif}}
		<hr class='ipsHr'>
		<div class='ipsType_richText ipsType_medium ipsSpacer_top ipsSpacer_half' data-truncate='3'>
			{$review->truncated(TRUE)|raw}
		</div>

		{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $review, 'IPS\Content\Reactable' ) and \count( $review->reactions() )}}
			<ul class='ipsList_inline ipsSpacer_top ipsSpacer_half'>
				<li>
					{template="reactionOverview" app="core" group="global" params="$review, TRUE, 'small'"}
				</li>
			</ul>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="global" template_name="error" template_data="$title, $message, $code, $extra, $member" template_location="admin" template_app="core"><![CDATA[{{if $code === '1X000/X' and \IPS\Application::appIsEnabled('cloud')}}
    {template="featureDisabled" app="cloud" location="admin" group="global" params="'cloud_service_level_upgrade_needed'"}
{{else}}
    <div class='ipsMessage ipsMessage_error'>
        <span class="ipsMessage_code">{$code}</span>
        {$message|raw}
    </div>

    {{if ( \IPS\IN_DEV or $member->isAdmin() ) and $extra}}
        <div class="ipsSpacer_top">
            <h3 class="ipsType_minorHeading">{lang="error_technical_details"}</h3>
            <textarea rows="13" style="font-family: monospace;">{$extra}</textarea>
            <p class="ipsType_small ipsType_light">
                {lang="error_technical_details_desc"}
                {{if member.hasAcpRestriction( 'core', 'support', 'system_logs_view' )}}
                    {lang="error_technical_details_logs"}
                {{endif}}
            </p>
        </div>
    {{endif}}
    {{if member.hasAcpRestriction( 'core', 'support', 'get_support' )}}
        <div class="ipsType_center ipsSpacer_top">
            <a href='{url="app=core&module=support&controller=support" base="admin"}' title='{lang="get_support"}'>{lang="get_support"}</a>
        </div>
    {{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="error" template_data="$title, $message, $code, $extra, $member, $faultyPluginOrApp=NULL, $httpStatusCode=500" template_location="front" template_app="core"><![CDATA[
<section id='elError' class='ipsType_center'>
	<div class='ipsBox ipsPad'>
		{{if ! \in_array( (int) $httpStatusCode, [404, 403] )}} <i class='fa fa-exclamation-circle ipsType_huge'></i>{{endif}}
        <p class='ipsPadding:half ipsType_reset ipsType_light ipsType_large'>{{if \in_array( (int) $httpStatusCode, [404, 403] )}}{lang="something_went_wrong_{$httpStatusCode}"}{{else}} {lang="something_went_wrong"}{{endif}}</p>
		<div id='elErrorMessage' class='ipsPadding:half ipsPos_center'>
			{$message|raw}
		</div>
		{{if ( \IPS\IN_DEV or $member->isAdmin() ) and $extra}}
			{{if $faultyPluginOrApp}}
			<p class="ipsType_reset  ipsType_large ipsPos_center">
				{$faultyPluginOrApp}
			</p>
			{{endif}}

			<div class="ipsPad ipsType_left">
				<h3 class="ipsType_minorHeading">{lang="error_technical_details"}</h3>
				<textarea rows="13" style="font-family: monospace;">{$extra}</textarea>
				<p class="ipsType_small ipsType_light">
					{{if $member->isAdmin()}}
						{lang="error_technical_details_desc"}
						{{if $member->hasAcpRestriction( 'core', 'support', 'system_logs_view' )}}
							{lang="error_technical_details_logs"}
						{{endif}}
					{{elseif \IPS\IN_DEV}}
						{lang="error_technical_details_dev"}
					{{endif}}
				</p>
			</div>
		{{endif}}
		{{if ( member.isAdmin() and member.hasAcpRestriction( 'core', 'support', 'get_support' ) ) || ( member.canUseContactUs() and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' ) ) || !member.member_id}}
		<hr class='ipsHr'>

		<ul class="ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsFlex-fw:wrap ipsGap:2">
			{{if member.isAdmin() and member.hasAcpRestriction( 'core', 'support', 'get_support' )}}
				<li>
					<a href='{url="app=core&module=support&controller=support" base="admin"}' title='{lang="get_support"}' class='ipsButton ipsButton_light ipsButton_medium'>
						<i class="fa fa-lock"></i> {lang="get_support"}
					</a>
				</li>
			{{elseif \IPS\Member::loggedIn()->canUseContactUs() and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}}
				<li>
					<a href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' title='{lang="contact_admin"}' class='ipsButton ipsButton_light ipsButton_medium'>
						{lang="contact_admin"}
					</a>
				</li>
			{{endif}}
			{{if !member.member_id}}
				<li>
					<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_primary ipsButton_medium' title='{lang="sign_in"}'>
						{lang="sign_in"}
					</a>
				</li>
			{{endif}}
		</ul>
		{{endif}}
	</div>
    <p class='ipsPadding_top ipsType_light ipsType_reset ipsType_small ipsPos_right'>
        {lang="error_page_code"} <strong>{$code}</strong>
    </p>
</section>]]></template>
 <template template_group="global" template_name="favico" template_data="" template_location="front" template_app="core"><![CDATA[{{if \IPS\Settings::i()->icons_favicon}}
	{{$file = \IPS\File::get( 'core_Icons', \IPS\Settings::i()->icons_favicon );}}
	<link rel='shortcut icon' href='{$file->url}' type="{expression="\IPS\File::getMimeType( $file->originalFilename )"}">
{{endif}}]]></template>
 <template template_group="global" template_name="featuredComment" template_data="$comment, $id, $commentLang='__defart_comment'" template_location="front" template_app="core"><![CDATA[{{if isset( $comment['comment'] )}}
	{{$idField = $comment['comment']::$databaseColumnId;}}
	<div class='ipsBox ipsBox--child ipsPadding ipsClearfix ipsComment_recommended ipsSpacer_bottom' data-commentID='{$id}'>
		<span class='ipsComment_recommendedFlag'><i class='fa fa-star'></i><span class='ipsResponsive_hidePhone'> {lang="recommended"}</span></span>
		<div class='ipsColumns ipsColumns_collapsePhone'>
			<aside class='ipsType_center ipsColumn ipsColumn_narrow ipsResponsive_hidePhone'>
				{template="userPhoto" app="core" group="global" params="$comment['comment']->author(), 'small', $comment['comment']->warningRef()"}
			</aside>
			<div class='ipsColumn ipsColumn_fluid ipsType_blendLinks'>
				<p class='ipsComment_meta ipsSpacer_bottom ipsSpacer_half ipsType_light'>
					{lang="posted_by_x" htmlsprintf="$comment['comment']->author()->link( $comment['comment']->warningRef() ), \IPS\DateTime::ts( $comment['comment']->mapped('date') )->html(FALSE)"}
				</p>
				<div class='ipsType_richText ipsType_normal' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='2 lines'>{$comment['comment']->truncated( TRUE )|raw}</div>
	
				{{if $comment['note']}}
					<div class='ipsComment_recommendedNote ipsType_medium'>
						<p class='ipsType_reset ipsType_richText'>{$comment['note']}</p>
						{{if isset( $comment['featured_by'] )}}
							<p class='ipsType_reset ipsType_light'>{lang="recommended_by" htmlsprintf="$comment['featured_by']->link()"}</p>
						{{endif}}
					</div>
				{{elseif isset( $comment['featured_by'] )}}
					{lang="recommended_by" htmlsprintf="$comment['featured_by']->link()"}
				{{endif}}
			</div>
			<div class='ipsColumn ipsColumn_medium'>
				{{if \IPS\IPS::classUsesTrait( $comment['comment'], 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
					{template="reactionOverview" group="global" app="core" params="$comment['comment']"}
					<hr class='ipsHr'>
				{{endif}}
				<a href='{$comment['comment']->url()}' rel="nofollow" data-action='goToComment' class='ipsButton ipsButton_link ipsButton_verySmall ipsButton_fullWidth'>{lang="go_to_this_comment" sprintf="\IPS\Member::loggedIn()->language()->get( $commentLang )"} <i class='fa fa-angle-right'></i></a>
			</div>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="featuredComments" template_data="$comments, $url, $titleLang='recommended_replies', $commentLang='__defart_comment'" template_location="front" template_app="core"><![CDATA[
<div data-controller='core.front.core.recommendedComments' data-url='{$url}' class='ipsRecommendedComments {{if !\count( $comments )}}ipsHide{{endif}}'>
	<div data-role="recommendedComments">
		<h2 class='ipsType_sectionHead ipsType_large ipsType_bold ipsMargin_bottom'>{lang="$titleLang"}</h2>
		{{if \count( $comments )}}
			{{foreach $comments AS $id => $comment}}
				{template="featuredComment" group="global" app="core" params="$comment, $id, $commentLang"}
			{{endforeach}}
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="global" template_name="findComment" template_data="$header, $item, $comment" template_location="front" template_app="core"><![CDATA[{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if ! \IPS\Request::i()->isAjax()}}
	<h1 class='ipsType_pageTitle'><a href="{$item->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->$idField ) )}">{$header}</a></h1>
	<br />
{{endif}}
<article id='elComment_{$comment->$idField}' class='ipsComment {{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear {{if $comment->hidden()}}ipsModerated{{endif}}'>
	<div id='comment-{$comment->$idField}_wrap' data-controller='core.front.core.comment' data-commentApp='{$comment::$application}' data-commentType='{$item::$module}' data-commentID="{$comment->$idField}" data-quoteData='{expression="json_encode( array('userid' => $comment->author()->member_id, 'username' => $comment->author()->name, 'timestamp' => $comment->mapped('date'), 'contentapp' => $comment::$application, 'contenttype' => $item::$module, 'contentclass' => $itemClassSafe, 'contentid' => $item->id, 'contentcommentid' => $comment->$idField) )"}' class='ipsComment_content ipsType_medium'>
		{{if settings.reputation_enabled and \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight}}
			<strong class='ipsComment_popularFlag' data-ipsTooltip title='{lang="this_is_a_popular_comment"}'><i class='fa fa-heart'></i></strong>
		{{endif}}
		
		<div class='ipsComment_header ipsPhotoPanel ipsPhotoPanel_mini ipsPhotoPanel_notPhone'>
			{template="userPhoto" app="core" group="global" params="$comment->author(), 'mini', $comment->warningRef()"}
			<div>
				<h3 class='ipsComment_author ipsType_blendLinks'>
					<strong class='ipsType_sectionHead'>{template="userLink" app="core" group="global" params="$comment->author(), $comment->warningRef()"}</strong>
				</h3>
				<p class='ipsComment_meta ipsType_light ipsType_medium'>
					<a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->id ) )}' class='ipsType_blendLinks'>{$comment->dateLine()|raw}</a>
					{{if $comment->editLine()}}
						&middot; {$comment->editLine()|raw}
					{{endif}}
					{{if $comment->hidden()}}
						&middot; {$comment->hiddenBlurb()}
					{{endif}}
				</p>
				{{if member.modPermission('mod_see_warn') and $comment->warning}}
					{template="commentWarned" group="global" app="core" params="$comment"}
				{{endif}}
			</div>
		</div>
		<div class='ipsAreaBackground_reset ipsPadding_vertical sm:ipsPadding_vertical:half ipsPadding_horizontal'>			
			<div data-role='commentContent' class='ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'>
				{{if $comment->hidden() === 1 && $comment->author()->member_id == \IPS\Member::loggedIn()->member_id}}
					<strong class='ipsType_medium ipsType_warning'><i class='fa fa-info-circle'></i> {lang="comment_awaiting_approval"}</strong>
				{{endif}}
				{$comment->content()|raw}
			</div>
			{{if $comment->hidden() !== 1 && \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
				<br>
				{template="reputation" group="global" app="core" params="$comment"}
			{{endif}}
		</div>
	</div>
</article>]]></template>
 <template template_group="global" template_name="follow" template_data="$app, $area, $id, $count" template_location="front" template_app="core"><![CDATA[
{{if !\IPS\Member::loggedIn()->member_id AND \IPS\core\Hive::enabled()}}
	<div style="display:inline-block;">
		{template="followButton" group="hive" app="core" location="front" params="'small'"}
	</div>
{{endif}}

<div data-followApp='{$app}' data-followArea='{$area}' data-followID='{$id}' data-controller='core.front.core.followButton'>
	{template="followButton" group="global" app="core" params="$app, $area, $id, $count"}
</div>]]></template>
 <template template_group="global" template_name="followButton" template_data="$app, $area, $id, $count" template_location="front" template_app="core"><![CDATA[{{if member.member_id}}
	{{if member.following( $app, $area, $id )}}
		<div class="ipsFollow ipsButton ipsButton_primary ipsButton_verySmall" data-role="followButton" data-following="true">
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" rel="nofollow" title="{lang="following_this_content"}" data-ipsTooltip class="ipsType_blendLinks ipsType_noUnderline" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class='fa fa-check'></i> {lang="following_this"} <i class='fa fa-caret-down'></i></a>
			<a class='ipsCommentCount' href='{url="app=core&module=system&controller=notifications&do=followers&follow_app={$app}&follow_area={$area}&follow_id={$id}"}' rel="nofollow" title='{lang="followers_tooltip"}' data-ipsTooltip data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="who_follows_this"}'>{number="$count" format="short"}</a>
		</div>
	{{else}}	
		<div class="ipsFollow ipsButton ipsButton_light ipsButton_verySmall" data-role="followButton" data-following="false">
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" rel="nofollow" title="{lang="follow_this_content"}" data-ipsTooltip class="ipsType_blendLinks ipsType_noUnderline" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick>{lang="follow"}</a>
			{{if $count > 0}}
				<a class='ipsCommentCount' href='{url="app=core&module=system&controller=notifications&do=followers&follow_app={$app}&follow_area={$area}&follow_id={$id}"}' rel="nofollow" title='{lang="followers_tooltip"}' data-ipsTooltip data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="who_follows_this"}'>{number="$count" format="short"}</a>
			{{else}}
				<span class='ipsCommentCount'>{number="$count" format="short"}</span>
			{{endif}}
		</div>
	{{endif}}
{{else}}
	<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' rel="nofollow" class="ipsFollow ipsPos_middle ipsButton ipsButton_light ipsButton_verySmall {{if $count == 0}}ipsButton_disabled{{endif}}" data-role="followButton" data-ipsTooltip title='{lang="follow_sign_in"}'>
		<span>{lang="followers"}</span>
		<span class='ipsCommentCount'>{number="$count" format="short"}</span>
	</a>
{{endif}}]]></template>
 <template template_group="global" template_name="footer" template_data="" template_location="front" template_app="core"><![CDATA[{{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}}
<ul id='elFooterSocialLinks' class='ipsList_inline ipsType_center ipsSpacer_top'>
	{template="siteSocialProfiles" if="theme.social_links == 'footer'" app="core" group="global" location="front"}
</ul>
{{endif}}
{{if ( \IPS\Settings::i()->site_online || \IPS\Member::loggedIn()->group['g_access_offline'] ) and ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canAccess() )}}
<ul class='ipsList_inline ipsType_center ipsSpacer_top' id="elFooterLinks">
	{{$languages = \IPS\Lang::getEnabledLanguages();}}
	{{if \count( $languages ) > 1}}
		<li>
			<a href='#elNavLang_menu' id='elNavLang' data-ipsMenu data-ipsMenu-above>{lang='language'} <i class='fa fa-caret-down'></i></a>
			<ul id='elNavLang_menu' class='ipsMenu ipsMenu_selectable ipsHide'>
			{{foreach $languages as $id => $lang }}
				<li class='ipsMenu_item{{if \IPS\Member::loggedIn()->language()->id == $id || ( $lang->default && \IPS\Member::loggedIn()->language === 0 )}} ipsMenu_itemChecked{{endif}}'>
					<form action="{url="app=core&module=system&controller=language" noprotocol="true" csrf="true" seoTemplate="language"}" method="post">
					<input type="hidden" name="ref" value="{expression="base64_encode( (string) request.url() )"}">
					<button type='submit' name='id' value='{$id}' class='ipsButton ipsButton_link ipsButton_link_secondary'>{{if $lang->get__icon()}}<i class='{$lang->get__icon()}'></i> {{endif}}{$lang->title} {{if $lang->default}}{lang="default"}{{endif}}</button>
					</form>
				</li>
			{{endforeach}}
			</ul>
		</li>
	{{endif}}
	{{$themes = \IPS\Theme::getThemesWithAccessPermission();}}
	{{if \count( $themes ) > 1 }}
		<li>
			<a href='#elNavTheme_menu' id='elNavTheme' data-ipsMenu data-ipsMenu-above>{lang='skin'} <i class='fa fa-caret-down'></i></a>
			<ul id='elNavTheme_menu' class='ipsMenu ipsMenu_selectable ipsHide'>
			{{foreach $themes as $id => $set }}
				<li class='ipsMenu_item{{if \IPS\Theme::i()->id == $id}} ipsMenu_itemChecked{{endif}}'>
					<form action="{url="app=core&module=system&controller=theme" noprotocol="true" csrf="true" seoTemplate="theme"}" method="post">
					<input type="hidden" name="ref" value="{expression="base64_encode( (string) request.url() )"}">
					<button type='submit' name='id' value='{$id}' class='ipsButton ipsButton_link ipsButton_link_secondary'>{lang="$set->_title"} {{if $set->is_default}}{lang="default"}{{endif}}</button>
					</form>
				</li>
			{{endforeach}}
			</ul>
		</li>
	{{endif}}
	{{if \IPS\Settings::i()->privacy_type != "none"}}
		<li><a href='{{if \IPS\Settings::i()->privacy_type == "internal"}}{url="app=core&module=system&controller=privacy" seoTemplate="privacy"}{{else}}{setting="privacy_link"}{{endif}}'>{lang="privacy"}</a></li>
	{{endif}}
	{{if \IPS\Member::loggedIn()->canUseContactUs() and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}}
		<li><a rel="nofollow" href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' {{if \IPS\Settings::i()->contact_type != 'contact_redirect' and (member.member_id or \IPS\Helpers\Form\Captcha::supportsModal())}}data-ipsdialog {{if member.member_id OR !settings.contact_email_verify}}data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}'{{endif}} data-ipsdialog-title="{lang="contact"}"{{endif}}>{lang='contact'}</a></li>
	{{endif}}
	<li><a rel="nofollow" href='{url="app=core&module=system&controller=cookies" seoTemplate="cookies"}'>{lang='cookies_about'}</a></li>

</ul>	
{{if \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets()}}
	<button type='button' id='elWidgetControls' data-action='openSidebar' data-ipsTooltip title='{lang="manage_blocks"}' class='ipsButton ipsButton_primary ipsButton_narrow'><i class='fa fa-chevron-right'></i></button>
{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="formattedInlineStyle" template_data="$item" template_location="front" template_app="core"><![CDATA[{{if \is_array($item)}}
{{if $item['feature_color']}}style="background-color: {$item['feature_color']}; color: {$item['text_color']};"{{endif}}
{{else}}
{{$column = $item::$featureColumnName;}}
{{if $item->$column}}style="background-color: {$item->$column}; color: {$item->_featureTextColor};"{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="formattedTitle" template_data="$item" template_location="front" template_app="core"><![CDATA[{{if \is_array($item)}}
<span class="ipsBadge ipsBadge_pill" {template="formattedInlineStyle" params="$item" app="core" group="global" location="front"}>{$item['title']}</span>
{{else}}
<span class="ipsBadge ipsBadge_pill" {template="formattedInlineStyle" params="$item" app="core" group="global" location="front"}>{$item->_title}</span>
{{endif}}]]></template>
 <template template_group="global" template_name="genericBlock" template_data="$content, $title='', $classes=NULL" template_location="front" template_app="core"><![CDATA[{{if $title}}
	{template="pageHeader" app="core" group="global" location="front" params="$title"}
{{endif}}
<div class='{{if $classes}}{$classes}{{endif}}'>
	{$content|raw}
</div>]]></template>
 <template template_group="global" template_name="genericLink" template_data="$url, $title" template_location="admin" template_app="core"><![CDATA[<a href="{$url}">{$title}</a>]]></template>
 <template template_group="global" template_name="globalTemplate" template_data="$title,$html,$location=array()" template_location="admin" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<meta charset="utf-8">
		<title>{$title}</title>
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" app="core" group="global" location="global" params=""}
		{template="favico" app="core" group="global" location="front" params=""}
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="referrer" content="origin-when-cross-origin">
	</head>
	<body data-baseurl='{setting="base_url"}' class='{{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'dark'}}ipsDarkMode {{elseif !isset(\IPS\Request::i()->cookie['acptheme']) AND isset(\IPS\Request::i()->cookie['acpthemedefault']) AND \IPS\Request::i()->cookie['acpthemedefault'] == 'dark'}}ipsDarkMode {{endif}}ipsApp ipsApp_admin {{if ( \IPS\IN_DEV || \IPS\Settings::i()->theme_designers_mode ) AND !\IPS\DEV_HIDE_DEV_TOOLS}}cAdminDevModeOn{{endif}} {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} {{if isset( \IPS\Request::i()->cookie['hideAdminMenu'] )}}cAdminHideMenu{{endif}} {{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' data-controller="{expression="implode( ',', \IPS\Output::i()->globalControllers )"}" {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}} data-pageApp='{$location['app']}' data-pageLocation='admin' data-pageModule='{$location['module']}' data-pageController='{$location['controller']}' {{if isset( \IPS\Request::i()->id )}}data-pageID='{expression="(int) \IPS\Request::i()->id"}'{{endif}}>
		<a href='#content' id='acpJumpToContent'>{lang="jump_to_content"}</a>
		<a id='content'></a>
		{{if ( \IPS\IN_DEV || \IPS\Settings::i()->theme_designers_mode ) AND !\IPS\DEV_HIDE_DEV_TOOLS}}
			<a class='cAdminDevModeWarning' data-ipsDialog data-ipsDialog-content='#elDevModeDialog' data-ipsDialog-size='narrow' data-ipsDialog-title="{{if \IPS\IN_DEV}}{lang="acp_indev_on_title"}{{elseif \IPS\Settings::i()->theme_designers_mode}}{lang="acp_designersmode_on_title"}{{endif}}" data-ipsTooltip title="{{if \IPS\IN_DEV}}{lang="acp_indev_on"}{{elseif \IPS\Settings::i()->theme_designers_mode}}{lang="acp_designersmode_on"}{{endif}}"><i class='fa fa-warning'></i></a>
			<div class='cAdminDevModeBar'></div>
			<div id='elDevModeDialog' class='ipsHide ipsPad'>
				<p class='ipsType_reset ipsSpacer_bottom ipsType_normal'>
					{{if \IPS\IN_DEV}}
						{lang="acp_indev_on_blurb"}
					{{elseif \IPS\Settings::i()->theme_designers_mode}}
						{lang="acp_designersmode_on_blurb"}
					{{endif}}
				</p>
				<p class='ipsType_normal'>
					<i class='fa fa-warning'></i> {lang="acp_not_production_tho"}
				</p>
			</div>
		{{endif}}
		<div id='ipsLayout_header' role='banner' data-controller='core.admin.core.mobileNav'>
			{{if member.hasAcpRestriction( 'core', 'livesearch', 'livesearch_manage')}}
			<div class='acpSearch'>
				<i class='fa fa-search'></i>
				<input type='text' class='' id='acpSearchKeyword' placeholder='{lang="search_admincp"}'>
			</div>
			{{endif}}
			<ul id='elAdminControls'>
				<li class='ipsResponsive_showDesktop ipsResponsive_block'>
					<a href='{expression="\IPS\Http\Url::baseUrl()"}' target='_blank' rel="noopener">
						<i class='fa fa-home'></i> {lang="site"}
					</a>
				</li>
				<li class='ipsResponsive_showDesktop ipsResponsive_block'>
                    {{$md = \IPS\Dispatcher::i()->module->key;}}
                    {{$ct = \IPS\Dispatcher::i()->controller;}}
                    <a href='{url="app=core&module=support&controller=support&do=clearCachesNull&md=$md&ct=$ct" csrf="true"}' rel="noopener">
                        <i class='fa fa-trash'></i>  {lang="nulled_clear_caches"}
                    </a>
                </li>
                <li class='ipsResponsive_showDesktop ipsResponsive_block'>
                    <a href='#nullLogs_menu' id='nullLogs' data-ipsMenu>
                        <i class='fa fa-exclamation-circle'></i>  {lang="menu__core_logs"}
                    </a>
                    <ul id='nullLogs_menu' class='ipsMenu ipsHide'>
                        <li class='ipsMenu_item'><a href='{url="app=core&module=support&controller=systemLogs"}'>{lang="health_system_log_title"}</a></li>
                        <li class='ipsMenu_item'><a href='{url="app=core&module=support&controller=errorLogs"}'>{lang="health_error_log_title"}</a></li>
                        <li class='ipsMenu_item'><a href='{url="app=core&module=settings&controller=email&do=errorLog"}'>{lang="health_email_error_log_title"}</a></li>
                        <li class='ipsMenu_item'><a href='{url="app=core&module=support&controller=support&do=clearLogs"}' data-ipsdialog data-ipsdialog-title='{lang="nulled_delete_logs"}' data-ipsdialog-size='medium' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="deleted"}'>{lang="nulled_delete_logs"}</a></li>
                    </ul>
                </li>
				{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'support', 'get_support' )}}
				<li class='ipsResponsive_showDesktop ipsResponsive_block'>
					<a href='{url="app=core&module=support&controller=support&_new=1"}'>
						<i class='fa fa-question-circle'></i> {lang="support"}
					</a>
				</li>
				{{endif}}
				{{if \IPS\Dispatcher\Admin::showSwitchLink()}}
					<li class='ipsResponsive_showDesktop ipsResponsive_block'>
						<span class="acpHighlightLink_wrap">
							<a href='https:///services/switch-to-invision/' target='_blank' rel='external noopener nofollow' class='acpHighlightLink'>
								Switch to Cloud
							</a>
							<a class="acpHighlightLink_close" data-ipsToolTip title='Hide this for a while' href='{url="app=core&module=overview&controller=dashboard&do=switchSnooze"}'><i class="fa fa-close"></i></a>
						</span>
					</li>
				{{endif}}
				{{$notificationsCount = \IPS\core\AdminNotification::notificationCount();}}
				<li class="cAcpNotifications {{if $notificationsCount}}cAcpNotifications_active{{endif}}" id="elFullAcpNotifications" data-ipsMenu data-ipsMenu-closeOnClick="false" data-controller="core.admin.core.notificationMenu">
					<a href="{url="app=core&module=overview&controller=notifications"}">
						<i class="fa fa-bell" data-role="notificationIcon"></i>
						<span class="ipsNotificationCount {{if !$notificationsCount}}ipsHide{{endif}}" data-role="notificationCount">{number="$notificationsCount"}</span>
					</a>
					<div id='elFullAcpNotifications_menu' class='ipsMenu ipsMenu_wide ipsHide'>
						<div class='ipsMenu_headerBar'>
							<a href="{url="app=core&module=overview&controller=notifications&do=settings"}" class="ipsType_light ipsPos_right"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
							<h4 class='ipsType_sectionHead'>{lang="acp_notifications"}</h4>
						</div>
						<div class='ipsMenu_innerContent'>
							<ol class='ipsDataList' data-role="notificationList"></ol>
						</div>
						<div class='ipsMenu_footerBar ipsType_center'>
							<a href='{url="app=core&module=overview&controller=notifications"}'><i class='fa fa-bars'></i> {lang="see_all_notifications"}</a>
						</div>
					</div>
				</li>
				<li id='elAdminUser' class='ipsCursor_pointer ipsResponsive_showDesktop ipsResponsive_block' data-ipsMenu data-controller='core.admin.core.changeTheme'>
					<img src='{member="photo"}' class='ipsUserPhoto ipsUserPhoto_tiny'>
					<i class='fa fa-angle-down'></i>
				</li>
				<li id='elAdminNav' class='ipsResponsive_hideDesktop' data-ipsDrawer data-ipsDrawer-drawerelem="#elMobileDrawer" title="{lang="admincp_menu"}">
					<a href="#"><i class="fa fa-bars"></i></a>
				</li>
			</ul>
		</div>
		<main class='ipsColumns ipsColumns_noSpacing' id='acpMainLayout'>
			<nav class='ipsColumn ipsColumn_veryWide ipsResponsive_hidePhone' id='acpAppMenu'>
				{{if isset( \IPS\Output::i()->sidebar['appmenu'] )}}{expression="\IPS\Output::i()->sidebar['appmenu']" raw="true"}{{endif}}
			</nav>
			<div class='ipsColumn ipsColumn_fluid' id='acpMainArea'>
				{{if !\in_array( \IPS\Request::i()->controller, array( 'notifications', 'upgrade' ) )}}
					<div data-controller="core.global.core.notificationList" class="cNotificationList">
						{{foreach \IPS\core\AdminNotification::notifications( NULL, array( \IPS\core\AdminNotification::SEVERITY_HIGH, \IPS\core\AdminNotification::SEVERITY_CRITICAL ) ) as $notification}}
							{{$style = $notification->style();}}
							<div class="ipsAreaBackground_light ipsPhotoPanel ipsPhotoPanel_small ipsPhotoPanel_notPhone cAcpNotificationBanner cAcpNotificationBanner_{$style}">
								{{$dismissible = $notification->dismissible();}}
								{{if $dismissible !== $notification::DISMISSIBLE_NO}}
									<a href="{url="app=core&module=overview&controller=notifications&do=dismiss&id={$notification->id}" csrf="true"}" class="ipsPos_right cAcpNotificationBanner_close" title="{lang="acp_notification_dismiss_{$dismissible}"}" data-ipsTooltip data-action="dismiss">
										<i class="fa fa-times"></i>
									</a>
								{{endif}}
								
								<i class='fa fa-{{if $style == $notification::STYLE_INFORMATION OR $style == $notification::STYLE_EXPIRE}}info-circle{{else}}warning{{endif}} cAcpNotificationBanner_mainIcon ipsPos_left ipsResponsive_hidePhone'></i>
								<div>
									<h2 class='ipsType_sectionHead'>{$notification->title()|raw}</h2>
									<div class='ipsType_richText ipsType_normal'>{$notification->body()|raw}</div>
								</div>
							</div>
						{{endforeach}}
					</div>
				{{endif}}
				{{if !\in_array( 'acpHeader', \IPS\Output::i()->hiddenElements)}}
					{{if isset( \IPS\Output::i()->customHeader )}}
						{expression="\IPS\Output::i()->customHeader" raw="true"}
					{{else}}
						<div id='acpPageHeader'>
							{{if isset( \IPS\Output::i()->headerMessage )}}
								{expression="\IPS\Output::i()->headerMessage" raw="true"}
							{{endif}}
							{template="breadcrumb" app="core" location="admin" group="global"}
							<div class='acpPageHeader_flex'>
								{{if \IPS\Output::i()->showTitle}}
									<h1 class='ipsType_pageTitle ipsType_break'>
										{$title}
										{{if \IPS\Output::i()->editUrl}}
											<a href="{expression="\IPS\Output::i()->editUrl"}" class="ipsType_medium" data-ipsDialog data-ipsDialog-title="{lang="edit"}"><i class="fa fa-pencil"></i></a>
										{{endif}}
										{{if \IPS\IN_DEV}}
											{template="searchKeywords" group="global" app="core" params="'app=' . \IPS\Request::i()->app . '&module=' . \IPS\Request::i()->module . '&controller=' . \IPS\Request::i()->controller . ( ( isset( \IPS\Request::i()->do ) and \IPS\Request::i()->do != 'do' ) ? ( '&do=' . \IPS\Request::i()->do ) : '' ) . ( ( \IPS\Request::i()->controller == 'enhancements' and ( isset( \IPS\Request::i()->id ) ) ) ? ( '&id=' . \IPS\Request::i()->id ) : '' )"}
										{{endif}}
									</h1>
								{{endif}}

								{{if isset(\IPS\Output::i()->sidebar['actions'])}}
									<div class='acpToolbar ipsClearfix'>
										{template="pageButtons" app="core" group="global" location="admin" params="\IPS\Output::i()->sidebar['actions']"}
									</div>
								{{endif}}
							</div>
						</div>
					{{endif}}
				{{endif}}
				<div id='acpContent'>
					{{if \IPS\Output::i()->inlineMessage}}
						<noscript>
							<div class="ipsMessage ipsMessage_information ipsMessageInABottle">
								{expression="\IPS\Output::i()->inlineMessage"}
							</div>
						</noscript>
					{{endif}}

					{{if !\IPS\Output::i()->responsive}}
						<div class='ipsResponsive_showPhone ipsResponsive_block ipsType_center'>
							<i class='ipsType_huge fa fa-tablet'></i><br>
							<h2 class='ipsType_sectionHead'>{lang="not_mobile"}</h2>
							<br><br>
							<p class='ipsType_normal'>
								{lang="not_mobile_desc"}
							</p>
						</div>
						<div class='ipsResponsive_hidePhone'>
							{$html|raw}
						</div>
					{{else}}
						{$html|raw}
					{{endif}}
				</div>
			</div>
		</main>
		
		<div id='acpLiveSearchResults' class='ipsHide' data-controller='core.admin.core.liveSearch'>
			<div class='cAcpSearch'>
				<div class='cAcpSearch_areas' data-role="searchMenu">
					<div data-ipsSideMenu data-ipsSideMenu-type='radio'>
						<ul class="ipsSideMenu_list">
							{{foreach \IPS\Application::allExtensions( 'core', 'LiveSearch', TRUE, 'core', 'Settings' ) as $key => $extension}}
								{{if $extension->hasAccess()}}
									<li class="ipsSideMenu_item ipsSideMenu_itemDisabled" data-ipsMenuValue='{$key}' {{if method_exists( $extension, 'isDefault' ) and $extension->isDefault()}}data-role="defaultTab"{{endif}}><a href="#">{lang="acp_search_title_{$key}"} <span data-role="resultCount" class='ipsSideMenu_itemCount ipsLoading ipsLoading_tiny'>&nbsp;&nbsp;</span></a></li>
								{{endif}}
							{{endforeach}}
						</ul>
					</div>
				</div>
				<div class='cAcpSearch_results ipsPad ipsScrollbar' data-role="searchResults"></div>
			</div>
		</div>
		<ul id='elAdminUser_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
			<li class='ipsMenu_item'><a href='{url="app=core&module=members&controller=members&do=adminDetails"}' data-ipsDialog data-ipsDialog-url='{url="app=core&module=members&controller=members&do=adminDetails"}' data-ipsDialog-title='{lang="change_details"}' data-ipsDialog-size='medium'><i class='fa fa-pencil'></i>&nbsp; {lang="change_details"}</a></li>
			<li class='ipsMenu_item ipsMenu_subItems elThemeMenu-wrap'>
				<a href='#elThemeMenu_menu' id='elThemeMenu'>
					<i class='fa fa-paint-brush'></i>&nbsp; {lang="theme"}
				</a>
				<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elThemeMenu_menu">
					<li class="elThemeMenu__auto ipsCursor_pointer ipsMenu_item {{if !isset(\IPS\Request::i()->cookie['acptheme']) OR !\IPS\Request::i()->cookie['acptheme']}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="os">
						<span>{lang="acptheme_os_preference"}</span>
					</li>
					<li class="ipsCursor_pointer ipsMenu_item {{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'light'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="light">
						<span>{lang="acptheme_light"}</span>
					</li>
					<li class="ipsCursor_pointer ipsMenu_item {{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'dark'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="dark">
						<span>{lang="acptheme_dark"}</span>
					</li>
				</ul>
			</li>
			{{$languages = \IPS\Lang::roots();}}
			{{if \count( $languages ) > 1}}
				<li class='ipsMenu_item ipsMenu_subItems'>
					<a href='#elNavLang_menu' id='elNavLang'><i class='fa fa-globe'></i>&nbsp; {lang='acp_language'}</a>
					<ul id='elNavLang_menu' class='ipsMenu ipsMenu_selectable ipsHide'>
					{{foreach $languages as $id => $lang }}
						<li class='ipsMenu_item{{if \IPS\Member::loggedIn()->acp_language == $id || ( $lang->default && \IPS\Member::loggedIn()->acp_language === 0 )}} ipsMenu_itemChecked{{endif}}'>
							<a href='{url="app=core&module=system&controller=language&id={$id}" csrf="true" ref="\IPS\Request::i()->url()"}'>{{if $lang->get__icon()}}<i class='{$lang->get__icon()}'></i> {{endif}}{$lang->title} {{if $lang->default}}{lang="default"}{{endif}}</a>
						</li>
					{{endforeach}}
					</ul>
				</li>
			{{endif}}
			<li class='ipsMenu_sep'><hr></li>
			<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=login&do=logout" csrf="true"}'><i class='fa fa-power-off'></i>&nbsp; {lang="sign_out"}</a></li>
		</ul>
		{{if isset( \IPS\Output::i()->sidebar['mobilenav'] )}}{expression="\IPS\Output::i()->sidebar['mobilenav']" raw="true"}{{endif}}
	</body>
</html>]]></template>
 <template template_group="global" template_name="globalTemplate" template_data="$title,$html,$location=array()" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<meta charset="utf-8">
        {{if settings.core_datalayer_enabled}}
            {template="includeDataLayer" app="core" group="global" location="front"}
        {{endif}}
		<title>{expression="output.getTitle( $title )"}</title>
		{{if settings.ga_enabled}}
			{setting="ga_code"}
		{{endif}}
		{{if settings.matomo_enabled}}
			{setting="matomo_code"}
		{{endif}}
		{{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}}
			{setting="googletag_head_code"}
		{{endif}}
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""}
		{template="favico" app="core" group="global" location="front" params=""}
	</head>
	<body class='ipsApp ipsApp_front {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' {{if output.globalControllers}}data-controller='{expression="implode( ',', output.globalControllers )"}'{{endif}} {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}} data-pageApp='{$location['app']}' data-pageLocation='front' data-pageModule='{$location['module']}' data-pageController='{$location['controller']}' {{if isset( \IPS\Request::i()->id )}}data-pageID='{expression="(int) \IPS\Request::i()->id"}'{{endif}} {{if isset( \IPS\Dispatcher::i()->dispatcherController ) AND !\IPS\Dispatcher::i()->dispatcherController->isContentPage }}data-nocontent{{endif}} {{if output.pageName}}data-pageName="{expression="output.pageName"}"{{endif}}>
		{theme="headerHtml"}
        {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}}
			{setting="googletag_noscript_code"}
		{{endif}}

        {{if settings.core_datalayer_enabled}}
            {template="includeDataLayerBody" app="core" group="global" location="front"}
        {{endif}}

		<a href='#ipsLayout_mainArea' class='ipsHide' title='{lang="jump_to_content_desc"}' accesskey='m'>{lang="jump_to_content"}</a>
		{template="updateWarning" app="core" group="global" params=""}
		<div id='ipsLayout_header' class='ipsClearfix'>
			<header>
				<div class='ipsLayout_container'>
					{template="logo" app="core" group="global" params=""}
					{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}
						{template="userBar" app="core" group="global" params=""}
						{template="mobileNavigationIcon" app="core" group="global" params=""}
					{{endif}}
				</div>
			</header>
			{template="navBar" app="core" group="global" params=""}
			{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavBar" app="core" group="global" params=""}{{endif}}
		</div>
		<main id='ipsLayout_body' class='ipsLayout_container'>
			<div id='ipsLayout_contentArea'>
				<div id='ipsLayout_contentWrapper'>
					{template="breadcrumb" app="core" group="global" params="'top'"}
					{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
					<div id='ipsLayout_mainArea'>
						{advertisement="ad_global_header"}
						{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
						{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
							{template="profileNextStep" group="global" app="core" params="$nextStep, true"}
						{{endif}}
						{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
						{$html|raw}
						{template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
					</div>
					{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
					{template="breadcrumb" app="core" group="global" params="'bottom'"}
				</div>
			</div>
			{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
		</main>
		<footer id='ipsLayout_footer' class='ipsClearfix'>
			<div class='ipsLayout_container'>
				{advertisement="ad_global_footer"}
				{template="footer" app="core" group="global" params=""}
			</div>
		</footer>
		{template="mobileNavigation" if="theme.responsive" app="core" group="global" params=""}
		{template="guestTermsBar" if="\IPS\Settings::i()->guest_terms_bar" app="core" group="global" params="base64_encode( \IPS\Request::i()->url() )"}
		{template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""}
		{template="metaTagEditor" if="isset( $_SESSION['live_meta_tags'] ) and $_SESSION['live_meta_tags'] and member.isAdmin()" app="core" group="global" params=""}
		<!--ipsQueryLog-->
		<!--ipsCachingLog-->
		{expression="output.endBodyCode" raw="true"}
		{{if settings.fb_pixel_enabled and settings.fb_pixel_id and $noscript = \IPS\core\Facebook\Pixel::i()->noscript()}}
			<noscript>
			{$noscript|raw}
			</noscript>
		{{endif}}
		{{if settings.custom_body_code}}
			{setting="custom_body_code"}
		{{endif}}
        {theme="footerHtml"}
	</body>
</html>]]></template>
 <template template_group="global" template_name="googleMap" template_data="$mapParameters" template_location="global" template_app="core"><![CDATA[

{{$width = $mapParameters['width'] ?? 500;}}
{{$height = $mapParameters['height'] ?? 500;}}
<div data-controller="ips.core.map.googlemap" data-map-data='{expression="json_encode( $mapParameters )"}' style="width:{$width}px; height: {$height}px; max-width: 100%; max-height: 100%; overflow: hidden;" >
    {{if isset($mapParameters['lat']) and isset($mapParameters['long']) }}
    <span itemscope itemtype='http://schema.org/GeoCoordinates'>
		<meta itemprop='latitude' content='{$mapParameters["lat"]}'>
		<meta itemprop='longitude' content='{$mapParameters["long"]}'>
	</span>
    {{endif}}
    <div data-role="mapContainer" style="width: 100%; height: 100%;"></div>
</div>]]></template>
 <template template_group="global" template_name="groupPostedBadges" template_data="$groups, $lang = '', $extraClasses = ''" template_location="front" template_app="core"><![CDATA[
{{foreach $groups as $group}}
	{{$groupNames[] = $group->name;}}
{{endforeach}}
{{$list = \IPS\Member::loggedIn()->language()->formatList( $groupNames );}}

<ul class='ipsList_reset ipsFlex-inline ipsFlex-ai:center ipsGap:1 {$extraClasses}' {{if $lang}}data-ipsTooltip title='{lang="$lang" htmlsprintf="$list"}'{{endif}}>
	{{foreach $groups as $group}}
		{{if $group->g_icon }}
			<li><img src='{file="$group->g_icon" extension="core_Theme"}' alt='' class='cGroupIndicator'></li>
		{{else}}
			<li><span class='ipsBadge ipsBadge_neutral ipsBadge_small'>{$group->name}</span></li>
		{{endif}}
	{{endforeach}}
</ul>]]></template>
 <template template_group="global" template_name="guestCommentTeaser" template_data="$item, $isReview=FALSE" template_location="front" template_app="core"><![CDATA[
<div>
	<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
	{{if \IPS\Login::registrationType() != 'disabled'}}
		<div class='ipsType_center ipsPad cGuestTeaser'>
			{{if $isReview}}
				<h2 class='ipsType_pageTitle'>{lang="teaser_review_title_reg"}</h2>
				<p class='ipsType_light ipsType_normal ipsType_reset ipsSpacer_top ipsSpacer_half'>{lang="teaser_review_desc_reg"}</p>
			{{else}}
				<h2 class='ipsType_pageTitle'>{lang="teaser_title_reg"}</h2>
				<p class='ipsType_light ipsType_normal ipsType_reset ipsSpacer_top ipsSpacer_half'>{lang="teaser_desc_reg"}</p>
			{{endif}}
	
			<div class='ipsBox ipsPad ipsSpacer_top'>
				<div class='ipsGrid ipsGrid_collapsePhone'>
					<div class='ipsGrid_span6 cGuestTeaser_left'>
						<h2 class='ipsType_sectionHead'>{lang="teaser_account"}</h2>
						<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_account_desc"}</p>
						{{if \IPS\Login::registrationType() == 'redirect'}}
							<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' class='ipsButton ipsButton_primary ipsButton_small' target="_blank" rel="noopener">
						{{else}}
							<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class='ipsButton ipsButton_primary ipsButton_small' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>
						{{endif}}
						{lang="teaser_account_button"}</a>
					</div>
					<div class='ipsGrid_span6 cGuestTeaser_right'>
						<h2 class='ipsType_sectionHead'>{lang="teaser_signin"}</h2>
						<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_signin_desc"}</p>
						<a href='{url="app=core&module=system&controller=login" seoTemplate="login" ref="(string) $item->url() . '#replyForm'"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-remoteVerify="false" data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_signin_button"}</a>
					</div>
				</div>
			</div>
		</div>
	{{else}}
		<div class='ipsType_center ipsPad'>
			<h2 class='ipsType_pageTitle'>{lang="teaser_title_noreg"}</h2>
			<p class='ipsType_light ipsType_normal ipsType_reset ipsSpacer_top ipsSpacer_half'>{lang="teaser_desc_noreg"}</p>
			<br>
			<br>
			<a href='{url="app=core&module=system&controller=login" seoTemplate="login" ref="(string) $item->url() . '#replyForm'"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-remoteVerify="false" data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_alternate ipsButton_large'>{lang="teaser_signin_button"}</a>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="global" template_name="guestTermsBar" template_data="$currentUrl" template_location="front" template_app="core"><![CDATA[
{{if \IPS\Request::i()->cookieConsentEnabled() OR ( !\IPS\Member::loggedIn()->member_id AND !\IPS\Request::i()->cookieConsentEnabled() ) }}
{{$termsLang = \IPS\Member::loggedIn()->language()->addToStack( 'terms_of_use' );}}
{{$privacyLang = \IPS\Member::loggedIn()->language()->addToStack( 'terms_privacy' );}}
{{$glLang = \IPS\Member::loggedIn()->language()->addToStack( 'guidelines' );}}
{{$termsUrl = (string) \IPS\Http\Url::internal( 'app=core&module=system&controller=terms', 'front', 'terms' );}}
{{$terms = "<a href='$termsUrl'>$termsLang</a>";}}

{{if \IPS\Settings::i()->privacy_type == 'internal'}}
{{$privacyUrl = (string) \IPS\Http\Url::internal( 'app=core&module=system&controller=privacy', 'front', 'privacy' );}}
{{else}}
{{$privacyUrl = \IPS\Settings::i()->privacy_link;}}
{{endif}}
{{$privacy = "<a href='$privacyUrl'>$privacyLang</a>";}}

{{if \IPS\Settings::i()->gl_type == 'internal'}}
{{$glUrl = (string) \IPS\Http\Url::internal( 'app=core&module=system&controller=guidelines', 'front', 'guidelines' );}}
{{else}}
{{$glUrl = \IPS\Settings::i()->gl_link;}}
{{endif}}
{{$guidelines = "<a href='$glUrl'>$glLang</a>";}}
{{$cookiesUrl = (string) \IPS\Http\Url::internal( 'app=core&module=system&controller=cookies', 'front', 'cookies' );}}
{{$cookies = \IPS\Member::loggedIn()->language()->addToStack( 'cookies_message', FALSE, array( 'sprintf' => array( $cookiesUrl, $cookiesUrl ) ) );}}
{{$status = (int) !\IPS\Member::loggedIn()->optionalCookiesAllowed;}}
<div id='elGuestTerms' class='ipsPad_half ipsJS_hide' data-role='{{if \IPS\Request::i()->cookieConsentEnabled()}}cookieConsentBar{{else}}guestTermsBar{{endif}}' data-controller='core.front.core.guestTerms'>
	<div class='ipsLayout_container cGuestTerms'>
		<div>
			<h2 class='ipsType_sectionHead'>{lang='guest_terms_title'}</h2>
			<p class='ipsType_reset ipsType_medium cGuestTerms_contents'>{lang="guest_terms_bar_text_value" htmlsprintf="$terms, $privacy, $guidelines, $cookies"}</p>
		</div>
		<div class='ipsFlex-flex:11 ipsFlex ipsFlex-fw:wrap ipsGap:3'>
			{{if \IPS\Request::i()->cookieConsentEnabled()}}
			<form action="{url="app=core&module=system&controller=cookies&do=cookieConsentToggle&ref={$currentUrl}" csrf="true"}" method="post">
			    <input type="hidden" name='ref' value="{$currentUrl}">
                <button type="submit" name="status" value="1" class='ipsButton ipsButton_positive ipsButton_large ipsFlex-flex:11'><i class='fa fa-check'></i>&nbsp;{lang='accept_cookies'}</button>
                <button type="submit" name="status" value="0" class='ipsButton ipsButton_veryLight ipsButton_large ipsFlex-flex:11'>&nbsp;{lang='cookieconstent_reject'}</button>
			</form>
			{{else}}
			<a href='{url="app=core&module=system&controller=terms&do=dismiss&ref={$currentUrl}" csrf="true"}' rel='nofollow' class='ipsButton ipsButton_veryLight ipsButton_large ipsButton_fullWidth' data-action="dismissTerms"><i class='fa fa-check'></i>&nbsp; {lang="guest_terms_close"}</a>
			{{endif}}
		</div>
	</div>
</div>
{{endif}}
]]></template>
 <template template_group="global" template_name="includeCSS" template_data="" template_location="global" template_app="core"><![CDATA[
{{if ( theme.headline_font && theme.headline_font !== 'default' ) || ( theme.body_font && theme.body_font !== 'default' ) }}
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	{{if theme.headline_font == theme.body_font}}
		<link href="https://fonts.googleapis.com/css2?family={expression="\IPS\Http\Url::encodeComponent( \IPS\Http\Url::COMPONENT_FRAGMENT, \IPS\Theme::i()->settings['body_font'] )"}:wght@300;400;500;600;700&display=swap" rel="stylesheet">
	{{else}}
		{{if ( theme.headline_font && theme.headline_font !== 'default' )}}
			<link href="https://fonts.googleapis.com/css2?family={expression="\IPS\Http\Url::encodeComponent( \IPS\Http\Url::COMPONENT_FRAGMENT, \IPS\Theme::i()->settings['headline_font'] )"}:wght@300;400;500;600;700&display=swap" rel="stylesheet">
		{{endif}}
		{{if ( theme.body_font && theme.body_font !== 'default' )}}
			<link href="https://fonts.googleapis.com/css2?family={expression="\IPS\Http\Url::encodeComponent( \IPS\Http\Url::COMPONENT_FRAGMENT, \IPS\Theme::i()->settings['body_font'] )"}:wght@300;400;500;600;700&display=swap" rel="stylesheet">
		{{endif}}
	{{endif}}
{{endif}}

{{foreach array_unique( \IPS\Output::i()->cssFiles, SORT_STRING ) as $file}}
	<link rel='stylesheet' href='{expression="\IPS\Http\Url::external( $file )->setQueryString( 'v', \IPS\Theme::i()->cssCacheBustKey() )"}' media='all'>
{{endforeach}}

{{if \IPS\Dispatcher::i()->controllerLocation == 'front'}}
{{$customCss = \IPS\Theme::i()->css( 'custom.css', 'core', 'front' );}}
{{foreach $customCss as $css}}
<link rel='stylesheet' href='{expression="\IPS\Http\Url::external( $css )->setQueryString( 'v', \IPS\Theme::i()->cssCacheBustKey() )"}' media='all'>
{{endforeach}}
{{endif}}

{{if \IPS\Output::i()->headCss}}
<style type='text/css'>
	{expression="\IPS\Output::i()->headCss" raw="true"}
</style>
{{endif}}]]></template>
 <template template_group="global" template_name="includeDataLayer" template_data="" template_location="front" template_app="core"><![CDATA[
<!-- IPS Data Layer Start -->
<script>
    /* IPS Configuration */
    {expression="\IPS\core\DataLayer::i()->jsConfig" raw="true"}

    /* IPS Context */
    {expression="\IPS\core\DataLayer::i()->jsContext" raw="true"}

    /* IPS Events */
    {expression="\IPS\core\DataLayer::i()->jsEvents" raw="true"}
</script>
{{\IPS\core\DataLayer::i()->clearCache();/* Safe to clear data layer session cache here since we just loaded the events */}}
{{$handlerInserts = \IPS\core\DataLayer\Handler::loadForTemplates();}}
{$handlerInserts['headInserts']|raw}

<!-- IPS Data Layer End -->]]></template>
 <template template_group="global" template_name="includeDataLayerBody" template_data="" template_location="front" template_app="core"><![CDATA[
<!-- IPS Data Body Start -->
{{$handlerInserts = \IPS\core\DataLayer\Handler::loadForTemplates();}}
{$handlerInserts['bodyInserts']|raw}

<!-- IPS Data Layer Body End -->]]></template>
 <template template_group="global" template_name="includeJS" template_data="" template_location="global" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	{{$maxImageDims = \IPS\Settings::i()->attachment_image_size ? explode( 'x', \IPS\Settings::i()->attachment_image_size ) : array( 1000, 750 );}}
	<script type='text/javascript'>
		var ipsDebug = {{if ( \IPS\IN_DEV and \IPS\DEV_DEBUG_JS ) or \IPS\DEBUG_JS}}true{{else}}false{{endif}};		
	{{if \IPS\IN_DEV}}
		var CKEDITOR_BASEPATH = '{url="applications/core/dev/ckeditor" base="none" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}/';
	{{else}}
		var CKEDITOR_BASEPATH = '{url="applications/core/interface/ckeditor/ckeditor" base="none" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}/';
	{{endif}}
		var ipsSettings = {
			{{if \IPS\Dispatcher::hasInstance() and \IPS\Dispatcher::i()->controllerLocation == 'admin'}}
			isAcp: true,
			{{endif}}
			{{if \IPS\COOKIE_DOMAIN !== NULL}}
			cookie_domain: "{expression="\IPS\COOKIE_DOMAIN"}",
			{{endif}}
			cookie_path: "{expression="\IPS\Request::getCookiePath()"}",
			{{if \IPS\COOKIE_PREFIX !== NULL}}
			cookie_prefix: "{expression="\IPS\COOKIE_PREFIX"}",
			{{endif}}
			{{if mb_substr( \IPS\Settings::i()->base_url, 0, 5 ) == 'https' AND \IPS\COOKIE_BYPASS_SSLONLY !== TRUE}}
			cookie_ssl: true,
			{{else}}
			cookie_ssl: false,
			{{endif}}
            essential_cookies: {expression="json_encode( \IPS\Request::getEssentialCookies())" raw="true"},
			upload_imgURL: "{resource="notifyIcons/upload.png" location="front"}",
			message_imgURL: "{resource="notifyIcons/message.png" location="front"}",
			notification_imgURL: "{resource="notifyIcons/notification.png" location="front"}",
			baseURL: "{expression="\IPS\Http\Url::baseUrl( \IPS\Http\Url::PROTOCOL_RELATIVE )"}",
			jsURL: "{expression="rtrim( \IPS\Http\Url::baseUrl( \IPS\Http\Url::PROTOCOL_RELATIVE ), '/' )"}/applications/core/interface/js/js.php",
			csrfKey: "{expression="\IPS\Session::i()->csrfKey"}",
			antiCache: "{expression="\IPS\Theme::i()->cssCacheBustKey()"}",
			jsAntiCache: "{expression="\IPS\Output\Javascript::javascriptCacheBustKey()"}",
			disableNotificationSounds: true,
			useCompiledFiles: {{if \IPS\IN_DEV}}false{{else}}true{{endif}},
			links_external: {{if \IPS\Settings::i()->links_external }}true{{else}}false{{endif}},
			memberID: {expression="( \IPS\Member::loggedIn()->member_id ) ? \IPS\Member::loggedIn()->member_id : 0"},
			lazyLoadEnabled: {{if \IPS\Settings::i()->lazy_load_enabled}}true{{else}}false{{endif}},
			blankImg: "{expression="\IPS\Text\Parser::blankImage()"}",
			googleAnalyticsEnabled: {{if \IPS\Settings::i()->ga_enabled }}true{{else}}false{{endif}},
			matomoEnabled: {{if \IPS\Settings::i()->matomo_enabled }}true{{else}}false{{endif}},
			viewProfiles: {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}true{{else}}false{{endif}},
			mapProvider: {{if \IPS\Settings::i()->googlemaps and \IPS\Settings::i()->google_maps_api_key}}'google'{{elseif \IPS\Settings::i()->mapbox and \IPS\Settings::i()->mapbox_api_key}}'mapbox'{{else}}'none'{{endif}},
			mapApiKey: {{if \IPS\Settings::i()->googlemaps and \IPS\Settings::i()->google_maps_api_key}}"{expression="\IPS\Settings::i()->google_maps_api_key"}"{{elseif \IPS\Settings::i()->mapbox and \IPS\Settings::i()->mapbox_api_key}}"{expression="\IPS\Settings::i()->mapbox_api_key"}"{{else}}''{{endif}},
			pushPublicKey: {{if \IPS\Notification::webPushEnabled()}}"{expression="\IPS\Settings::i()->vapid_public_key"}"{{else}}null{{endif}},
			relativeDates: {{if \IPS\Settings::i()->relative_dates_enable}}true{{else}}false{{endif}}
		};
		
		{{if \IPS\Settings::i()->custom_page_view_js && \IPS\Dispatcher::hasInstance() && \IPS\Dispatcher::i()->controllerLocation == 'front'}}
			ipsSettings['paginateCode'] = {setting="custom_page_view_js"};
		{{endif}}
		
		{{if !empty( $maxImageDims[0] ) AND !empty( $maxImageDims[1] ) AND ( \intval( $maxImageDims[0] ) !== 0 || \intval( $maxImageDims[1] ) !== 0 ) }}
			ipsSettings['maxImageDimensions'] = {
				width: {$maxImageDims[0]},
				height: {$maxImageDims[1]}
			};
		{{endif}}
		
	</script>
{{endif}}
{{if !\IPS\Request::i()->isAjax() and \IPS\Dispatcher::hasInstance() and \IPS\Dispatcher::i()->controllerLocation == 'front' and \IPS\Settings::i()->fb_pixel_enabled and \IPS\Settings::i()->fb_pixel_id}}
{{$pixelId = \IPS\Settings::i()->fb_pixel_id;}}
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
setTimeout( function() {
	fbq('init', '{$pixelId}');
	{{if $pixels = \IPS\core\Facebook\Pixel::i()->output()}}
	{$pixels|raw}
	{{endif}}
}, {expression="\intval( \IPS\Settings::i()->fb_pixel_delay * 1000 )"} );
</script>
<!-- End Facebook Pixel Code -->
{{endif}}

{{foreach array_unique( array_filter( \IPS\Output::i()->jsFiles ), SORT_STRING ) as $js}}
{{$js = \IPS\Http\Url::external( $js );}}
<script type='text/javascript' src='{{if $js->data['host'] == parse_url( \IPS\Settings::i()->base_url, PHP_URL_HOST )}}{expression="$js->setQueryString( 'v', \IPS\Output\Javascript::javascriptCacheBustKey() )"}{{else}}{expression="$js"}{{endif}}' data-ips></script>
{{endforeach}}
{{foreach array_unique( \IPS\Output::i()->jsFilesAsync, SORT_STRING ) as $js}}
<script type="text/javascript" src="{expression="\IPS\Http\Url::external( $js )->setQueryString( 'v', \IPS\Output\Javascript::javascriptCacheBustKey() )"}" async></script>
{{endforeach}}
{{if !\IPS\Request::i()->isAjax() and ( \count( \IPS\Output::i()->jsVars ) || \IPS\Output::i()->headJs)}}
	<script type='text/javascript'>
		{{foreach \IPS\Output::i()->jsVars as $k => $v}}
			ips.setSetting( '{$k}', {{if ! \is_array( $v )}}jQuery.parseJSON('{expression="json_encode( $v, JSON_HEX_APOS )" raw="true"}'){{else}}{expression="json_encode( $v, JSON_HEX_APOS )" raw="true"}{{endif}} );
		{{endforeach}}
		{expression="\IPS\Output::i()->headJs" raw="true"}
        {{if \IPS\Lang::vleActive()}}
        <!--ipsVleWords-->
        {{endif}}
    </script>
{{endif}}
{{if \count( \IPS\Output::i()->jsonLd )}}
{{foreach \IPS\Output::i()->jsonLd as $object}}
<script type='application/ld+json'>
{expression="json_encode( $object, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS )" raw="true"}	
</script>
{{endforeach}}
{{endif}}

<script type='text/javascript'>
    (() => {
        let gqlKeys = {expression="json_encode(\IPS\Output::i()->graphData)" raw="true"};
        for (let [k, v] of Object.entries(gqlKeys)) {
            ips.setGraphQlData(k, v);
        }
    })();
</script>]]></template>
 <template template_group="global" template_name="includeMeta" template_data="" template_location="global" template_app="core"><![CDATA[{{if theme.responsive}}
	<meta name="viewport" content="width=device-width, initial-scale=1">
{{endif}}
{{if !isset( \IPS\Output::i()->metaTags['og:image'] )}}
	{{$shareLogos = \IPS\Settings::i()->icons_sharer_logo ? json_decode( \IPS\Settings::i()->icons_sharer_logo, true ) : array();}}
	{{foreach $shareLogos as $logo}}
		<meta property="og:image" content="{file="$logo" extension="core_Icons" scheme="full"}">
	{{endforeach}}
{{endif}}
{{if !isset( \IPS\Output::i()->metaTags['og:image'] ) and !\count( $shareLogos ) }}
	<meta name="twitter:card" content="summary" />
{{else}}
	<meta name="twitter:card" content="summary_large_image" />
{{endif}}
{{if \IPS\Settings::i()->site_twitter_id}}
	{{if mb_substr( \IPS\Settings::i()->site_twitter_id, 0, 1 ) === '@'}}
		<meta name="twitter:site" content="{setting="site_twitter_id"}" />
	{{else}}
		<meta name="twitter:site" content="@{setting="site_twitter_id"}" />
	{{endif}}
{{endif}}

{{foreach \IPS\Output::i()->metaTags as $name => $content}}
	{{if $name == 'canonical'}}
		<link rel="canonical" href="{$content}">
	{{else}}
		{{if $name != 'title'}}
			{{if \is_array( $content ) }}
				{{foreach $content as $_value }}
					<meta {{if mb_substr( $name, 0, 3 ) === 'og:' or mb_substr( $name, 0, 3 ) === 'fb:'}}property{{else}}name{{endif}}="{$name}" content="{$_value}">
				{{endforeach}}
			{{elseif $content}}
				<meta {{if mb_substr( $name, 0, 3 ) === 'og:' or mb_substr( $name, 0, 3 ) === 'fb:'}}property{{else}}name{{endif}}="{$name}" content="{$content}">
			{{endif}}
		{{endif}}
	{{endif}}
{{endforeach}}
{{foreach \IPS\Output::i()->linkTags as $type => $value}}
	{{if \is_array( $value )}}
		<link {{foreach $value as $k => $v}}{$k}="{expression="$v"}" {{endforeach}}/>
	{{elseif $type != 'canonical' OR !isset( \IPS\Output::i()->metaTags['canonical'] )}}
		<link rel="{$type}" href="{expression="$value"}" />
	{{endif}}
{{endforeach}}
{{foreach \IPS\Output::i()->rssFeeds as $title => $url}}<link rel="alternate" type="application/rss+xml" title="{lang="$title"}" href="{$url}" />{{endforeach}}
{{if \IPS\Output::i()->base}}
	<base target="{expression="\IPS\Output::i()->base"}">
{{endif}}
{{$manifest = json_decode( \IPS\Settings::i()->manifest_details, TRUE );}}
{{$manifest['cache_key'] = isset($manifest['cache_key']) ? $manifest['cache_key'] : time();}}
<link rel="manifest" href="{url="app=core&module=system&controller=metatags&do=manifest" base="front" seoTemplate="manifest"}">
<meta name="msapplication-config" content="{url="app=core&module=system&controller=metatags&do=iebrowserconfig" base="front" seoTemplate="iebrowserconfig"}">
<meta name="msapplication-starturl" content="{{if isset( $manifest['start_url'] )}}{$manifest['start_url']}{{else}}/{{endif}}">
<meta name="application-name" content="{{if isset( $manifest['name'] )}}{$manifest['name']}{{else}}{setting="board_name"}{{endif}}">
<meta name="apple-mobile-web-app-title" content="{{if isset( $manifest['name'] )}}{$manifest['name']}{{else}}{setting="board_name"}{{endif}}">
{{if isset( $manifest['theme_color'] )}}
	<meta name="theme-color" content="{$manifest['theme_color']}">
{{else}}
	<meta name="theme-color" content="{theme="header"}">
{{endif}}
{{if isset( $manifest['background_color'] )}}
	<meta name="msapplication-TileColor" content="{$manifest['background_color']}">
{{endif}}
{{if \IPS\Settings::i()->icons_mask_icon AND \IPS\Settings::i()->icons_mask_color}}
	<link rel="mask-icon" href="{file="\IPS\Settings::i()->icons_mask_icon" extension="core_Icons" cb="$manifest['cache_key']"}" color="{setting="icons_mask_color"}">
{{endif}}

{{$homeScreen = json_decode( \IPS\Settings::i()->icons_homescreen, TRUE ) ?? array();}}
{{foreach $homeScreen as $name => $image}}
	{{if $name != 'original'}}
		{{if mb_strpos( $name, 'apple-touch-icon' ) !== FALSE}}
			{{if $name === 'apple-touch-icon-57x57'}}
				<link rel="apple-touch-icon" href="{file="$image['url']" extension="core_Icons" cb="$manifest['cache_key']"}">
			{{else}}
				<link rel="apple-touch-icon" sizes="{$image['width']}x{$image['height']}" href="{file="$image['url']" extension="core_Icons" cb="$manifest['cache_key']"}">
			{{endif}}
		{{elseif mb_strpos( $name, 'msapplication' ) !== FALSE}}
			<meta name="{$name}" content="{file="$image['url']" extension="core_Icons" cb="$manifest['cache_key']"}"/>
		{{else}}
			<link rel="icon" sizes="{$image['width']}x{$image['height']}" href="{file="$image['url']" extension="core_Icons" cb="$manifest['cache_key']"}">
		{{endif}}
	{{endif}}
{{endforeach}}

{{$apple = json_decode( \IPS\Settings::i()->icons_apple_startup, TRUE ) ?? array();}}
{{if \count( $apple )}}
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">

	{{foreach $apple as $name => $image}}
		{{if $name !== 'original'}}
			<link rel="apple-touch-startup-image" media="screen and (device-width: {expression="$image['width'] / $image['density']"}px) and (device-height: {expression="$image['height'] / $image['density']"}px) and (-webkit-device-pixel-ratio: {$image['density']}) and (orientation: {$image['orientation']})" href="{file="$image['url']" extension="core_Icons" cb="$manifest['cache_key']"}">
		{{endif}}
	{{endforeach}}
{{endif}}

<link rel="preload" href="{url="applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" base="none" noprotocol="true"}" as="font" crossorigin="anonymous">]]></template>
 <template template_group="global" template_name="inlineMessage" template_data="$message" template_location="front" template_app="core"><![CDATA[<div id='elInlineMessage' class='ipsPad' title='{lang="messenger_inline_title" sprintf="$message->author()->name"}'>
	<div class='ipsPhotoPanel ipsPhotoPanel_medium'>
		{template="userPhoto" app="core" group="global" params="$message->author(), 'medium'"}
		<div class='ipsType_normal'>
			<strong>{$message->item()->title}</strong><br>
			<span class='ipsType_light'>{lang="messenger_inline_date"} {datetime="$message->date"}</span>
			<br>
			<div data-ipsTruncate data-ipsTruncate-type="remove" data-ipsTruncate-size="3 lines">
				{$message->post|raw}
			</div>
			<hr class='ipsHr'>
			<a href='{$message->url()}' class='ipsButton ipsButton_primary ipsButton_small'>{lang="messenger_inline_button"}</a>{{if \IPS\Member::loggedIn()->msg_count_new > 1}} <a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}' class='ipsButton ipsButton_primary ipsButton_small'>{lang="messenger_inline_view_all"}</a>{{endif}}{{if $message->canReportOrRevoke() === TRUE}} &nbsp;&nbsp; <a href='{$message->url('report')}'><span class='ipsResponsive_showPhone ipsResponsive_inline'><i class='fa fa-flag'></i></span><span class='ipsResponsive_hidePhone ipsResponsive_inline'>{lang="report_reply"}</span></a>{{endif}}
		</div>
	</div>
</div>]]></template>
 <template template_group="global" template_name="itemIcon" template_data="$iconInfo" template_location="front" template_app="core"><![CDATA[
<span class='ipsItemStatus {{if $iconInfo['size']}}ipsItemStatus_{$iconInfo['size']}{{endif}}'><i class='{{if $iconInfo['type'] == 'unread'}}fa fa-circle{{endif}}'></i></span>]]></template>
 <template template_group="global" template_name="loginPopup" template_data="$login" template_location="front" template_app="core"><![CDATA[<div id='elUserSignIn_menu' class='ipsMenu ipsMenu_auto ipsHide'>
	<form accept-charset='utf-8' method='post' action='{$login->url}'>
		<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
		<input type="hidden" name="ref" value="{expression="base64_encode( \IPS\Request::i()->url() )"}">
		<div data-role="loginForm">
			{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
			{{$buttonMethods = $login->buttonMethods();}}
			{{if $usernamePasswordMethods and $buttonMethods}}
				<div class='ipsColumns ipsColumns_noSpacing'>
					<div class='ipsColumn ipsColumn_wide' id='elUserSignIn_internal'>
						{template="loginPopupForm" app="core" group="global" params="$login"}
					</div>
					<div class='ipsColumn ipsColumn_wide'>
						<div class='ipsPadding' id='elUserSignIn_external'>
							<div class='ipsAreaBackground_light ipsPadding:half'>
								{{if \count( $buttonMethods ) > 1}}
									<p class='ipsType_reset ipsType_small ipsType_center'><strong>{lang="sign_in_with_these"}</strong></p>
								{{endif}}
								{{foreach $buttonMethods as $method}}
									<div class='ipsType_center ipsMargin_top:half'>
										{$method->button()|raw}
									</div>
								{{endforeach}}
							</div>
						</div>
					</div>
				</div>
			{{elseif $usernamePasswordMethods}}
				{template="loginPopupForm" app="core" group="global" params="$login"}
			{{elseif $buttonMethods}}
				<div class="cLogin_popupSingle">
					{{foreach $buttonMethods as $method}}
						<div class='ipsPadding:half ipsType_center'>
							{$method->button()|raw}
						</div>
					{{endforeach}}
				</div>
			{{endif}}
		</div>
	</form>
</div>]]></template>
 <template template_group="global" template_name="loginPopupForm" template_data="$login" template_location="front" template_app="core"><![CDATA[<div class="ipsPad ipsForm ipsForm_vertical">
	<h4 class="ipsType_sectionHead">{lang="login"}</h4>
	<br><br>
	<ul class='ipsList_reset'>
		<li class="ipsFieldRow ipsFieldRow_noLabel ipsFieldRow_fullWidth">
			{{$authType = $login->authType();}}
			{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
				<input type="text" placeholder="{lang="username"}" name="auth" autocomplete="username">
			{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
				<input type="email" placeholder="{lang="email_address"}" name="auth" autocomplete="email">
			{{else}}
				<input type="text" placeholder="{lang="username_or_email"}" name="auth" autocomplete="email">
			{{endif}}
		</li>
		<li class="ipsFieldRow ipsFieldRow_noLabel ipsFieldRow_fullWidth">
			<input type="password" placeholder="{lang="password"}" name="password" autocomplete="current-password">
		</li>
		<li class="ipsFieldRow ipsFieldRow_checkbox ipsClearfix">
			<span class="ipsCustomInput">
				<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1" checked aria-checked="true">
				<span></span>
			</span>
			<div class="ipsFieldRow_content">
				<label class="ipsFieldRow_label" for="remember_me_checkbox">{lang="remember_me"}</label>
				<span class="ipsFieldRow_desc">{lang="remember_me_desc"}</span>
			</div>
		</li>
		<li class="ipsFieldRow ipsFieldRow_fullWidth">
			<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton_primary ipsButton_small" id="elSignIn_submit">{lang="login"}</button>
			{{if settings.allow_forgot_password != 'disabled'}}
				<p class="ipsType_right ipsType_small">
					{{if settings.allow_forgot_password == 'redirect'}}
						<a href='{expression="\IPS\Settings::i()->allow_forgot_password_target"}' target="_blank" rel="noopener">
					{{else}}
						<a href='{url="app=core&module=system&controller=lostpass" seoTemplate="lostpassword"}' {{if \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-title='{lang="forgotten_password"}'{{endif}}>
					{{endif}}
					{lang="forgotten_password"}</a>
				</p>
			{{endif}}
		</li>
	</ul>
</div>]]></template>
 <template template_group="global" template_name="logo" template_data=" " template_location="front" template_app="core"><![CDATA[{{if isset( \IPS\Theme::i()->logo['front']['url'] ) AND \IPS\Theme::i()->logo['front']['url'] !== null }}
{{$logo = \IPS\File::get( 'core_Theme', \IPS\Theme::i()->logo['front']['url'] )->url;}}
<a href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="{$logo}" alt='{setting="board_name" escape="true"}'></a>
{{else}}
<a href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a>
{{endif}}]]></template>
 <template template_group="global" template_name="memberEmailBlockedMessage" template_data="$email" template_location="front" template_app="core"><![CDATA[
<div>
    <p class="ipsMargin_top:none">{$email}</p>
    <span class="memberBlockedEmailWrap" ><i class="fa fa-warning"></i>&nbsp;{lang="member_email_blocked_info"}</span>
</div>
]]></template>
 <template template_group="global" template_name="message" template_data="$message, $type, $debug=NULL, $parse=TRUE, $pad=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $pad}}<div class="ipsPad_half">{{endif}}
{{if $debug !== NULL}}
	<div class="ipsMessage ipsMessage_{$type}">
		{{if $parse}}
			{lang="$message"}
		{{else}}
			{$message|raw}
		{{endif}}
		<br><br>
		<pre>{$debug}</pre>
	</div>
{{else}}
	<p class="ipsMessage ipsMessage_{$type}">
		{{if $parse}}
			{lang="$message"}
		{{else}}
			{$message|raw}
		{{endif}}
	</p>
{{endif}}
{{if $pad}}</div>{{endif}}]]></template>
 <template template_group="global" template_name="message" template_data="$message, $type, $debug=NULL, $parse=TRUE" template_location="global" template_app="core"><![CDATA[{{if $debug !== NULL}}
	<div class="ipsMessage ipsMessage_{$type}">
		{{if $parse}}
			{lang="$message"}
		{{else}}
			{$message|raw}
		{{endif}}
		<br><br>
		<pre>{$debug}</pre>
	</div>
{{else}}
	<p class="ipsMessage ipsMessage_{$type}">
		{{if $parse}}
			{lang="$message"}
		{{else}}
			{$message|raw}
		{{endif}}
	</p>
{{endif}}]]></template>
 <template template_group="global" template_name="metaTagEditor" template_data="" template_location="front" template_app="core"><![CDATA[
<div id='elMetaTagEditor' class='ipsToolbox ipsPad ipsScrollbar' data-controller="core.front.system.metaTagEditor" data-defaultPageTitle='{expression="\IPS\Output::i()->defaultPageTitle"}'>
	<h3 class='ipsToolbox_title ipsType_reset'>{lang="live_meta_tag_editor"}</h3>
	<form accept-charset='utf-8' method='post' action="{url="app=core&module=system&controller=metatags&do=save"}" data-ipsForm>
		<input type='hidden' name='meta_url' value='{expression="\IPS\Output::i()->metaTagsUrl"}'>
		<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">

		{{foreach \IPS\Output::i()->autoMetaTags as $name => $content}}
			<input type='hidden' name='defaultMetaTag[{$name}]' value='{$content}'>
		{{endforeach}}

		<h4 class='ipsToolbox_sectionTitle'>{lang="metatags_page_title"}</h4>
		<input name='meta_tag_title' type='text' value="{expression="\IPS\Output::i()->metaTagsTitle"}">
		<br><br>

		<h4 class='ipsToolbox_sectionTitle'>{lang="meta_tags_custom_header"}</h4>

		<ul class='ipsList_reset ipsSpacer_bottom' id='elMetaTagEditor_customTags'>
			<li class='ipsType_center ipsType_normal ipsType_light {{if \count( \IPS\Output::i()->customMetaTags )}}ipsHide{{endif}}' data-role='noCustomMetaTagsMessage'><em>{lang="meta_tags_none_custom"}</em></li>

			{{if \count( \IPS\Output::i()->customMetaTags )}}
				{{foreach \IPS\Output::i()->customMetaTags as $name => $content}}
					{{if $content !== NULL}}
						<li data-role='metaTagRow'>
							<ul class='ipsForm ipsForm_vertical'>
								<li class='ipsFieldRow'>
									<div class='ipsFlex ipsGap:2'>
										<select name='meta_tag_name[]' data-role='metaTagChooser' class="ipsFlex-flex:11">
											<option value='keywords' {{if $name == 'keywords'}}selected{{endif}}>{lang="meta_keywords"}</option>
											<option value='description' {{if $name == 'description'}}selected{{endif}}>{lang="meta_description"}</option>
											<option value='robots' {{if $name == 'robots'}}selected{{endif}}>{lang="meta_robots"}</option>
											<option value='other' {{if !\in_array( $name, array( 'keywords', 'description', 'robots' ) )}}selected{{endif}}>{lang="meta_other"}</option>
										</select>
										<button type="button" class="ipsFlex-flex:00 ipsButton ipsButton_verySmall ipsButton_negative"  data-action='deleteMeta' title='{lang="delete"}'><i class='fa fa-trash'></i></button>
									</div>
								</li>
								<li class='ipsFieldRow ipsFieldRow_fullWidth{{if \in_array( $name, array( 'keywords', 'description', 'robots' ) )}} ipsHide{{endif}}' data-role='metaTagName'>
									<input name='meta_tag_name_other[]' type='text' value="{{if !\in_array( $name, array( 'keywords', 'description', 'robots' ) )}}{$name}{{endif}}" placeholder='{lang="metatags_name"}'>
								</li>
								<li class='ipsFieldRow ipsFieldRow_fullWidth'>
									<input name='meta_tag_content[]' type='text' value="{$content}" placeholder='{lang="metatags_content"}'>
								</li>
							</ul>
						</li>
					{{endif}}
				{{endforeach}}
			{{endif}}
		</ul>

		<a href='#' class='ipsJS_show ipsButton ipsButton_normal ipsButton_fullWidth ipsButton_verySmall ipsSpacer_bottom' data-action='addMeta'><i class='fa fa-plus'></i> &nbsp;{lang="add_another_meta_tag"}</a>

		<h4 class='ipsToolbox_sectionTitle'>{lang="meta_tags_default_header"}</h4>
		<ul class='ipsList_reset' id='elMetaTagEditor_defaultTags'>
			{{if \count( \IPS\Output::i()->metaTags ) !== \count( \IPS\Output::i()->customMetaTags )}}
				<li class='ipsAreaBackground ipsAreaBackground_dark ipsPad'>
					{lang="meta_tags_automatic_notice"}
				</li>
				{{if \count( \IPS\Output::i()->customMetaTags )}}
					{{foreach \IPS\Output::i()->customMetaTags as $name => $content}}
						{{if $content === NULL}}
							<li data-role='metaTagRow'>
								<ul class='ipsForm ipsForm_vertical'>
									<li class='ipsFieldRow'>
										<div class='ipsFlex ipsGap:2'>
											<div class='ipsFlex-flex:11 ipsType_light'>
												{lang="meta_tag_deleted" sprintf="$name"}
											</div>
											<button type="button" class="ipsFlex-flex:00 ipsButton ipsButton_verySmall ipsButton_light"  data-action='restoreMeta' data-tag='{$name}' title='{lang="meta_tag_restore"}'><i class='fa fa-undo'></i></button>
										</div>
									</li>
								</ul>
							</li>
						{{endif}}
					{{endforeach}}
				{{endif}}
				{{foreach \IPS\Output::i()->metaTags as $name => $content}}
					{{if !\array_key_exists( $name, \IPS\Output::i()->customMetaTags ) AND $name != 'title'}}
						<li data-role='metaTagRow'>
							<ul class='ipsForm ipsForm_vertical'>
								<li class='ipsFieldRow'>
									<div class='ipsFlex ipsGap:2'>
										<select name='meta_tag_name[]' data-role='metaTagChooser' class="ipsFlex-flex:11">
											<option value='keywords' {{if $name == 'keywords'}}selected{{endif}}>{lang="meta_keywords"}</option>
											<option value='description' {{if $name == 'description'}}selected{{endif}}>{lang="meta_description"}</option>
											<option value='robots' {{if $name == 'robots'}}selected{{endif}}>{lang="meta_robots"}</option>
											<option value='other' {{if !\in_array( $name, array( 'keywords', 'description', 'robots' ) )}}selected{{endif}}>{lang="meta_other"}</option>
										</select>
										<button type="button" class="ipsFlex-flex:00 ipsButton ipsButton_verySmall ipsButton_negative" data-action='deleteDefaultMeta' title='{lang="delete"}'><i class='fa fa-trash'></i></button>
									</div>
								</li>
								<li class='ipsFieldRow ipsFieldRow_fullWidth{{if \in_array( $name, array( 'keywords', 'description', 'robots' ) )}} ipsHide{{endif}}' data-role='metaTagName'>
									<input name='meta_tag_name_other[]' type='text' value="{{if !\in_array( $name, array( 'keywords', 'description', 'robots' ) )}}{$name}{{endif}}" placeholder='{lang="metatags_name"}'>
								</li>
								<li class='ipsFieldRow ipsFieldRow_fullWidth'>
									<input name='meta_tag_content[]' type='text' value="{$content}" placeholder='{lang="metatags_content"}'>
								</li>
							</ul>
						</li>
					{{endif}}
				{{endforeach}}
			{{endif}}
		</ul>

		<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:center' id='elMetaTagEditor_submit'>
			<div class="ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap:2">
				<button class='ipsButton ipsButton_important' role='button' type='submit'>{lang="save"}</button>
				<a href="{url="app=core&module=system&controller=metatags&do=end" csrf="true"}" class='ipsButton ipsButton_primary'>{lang="end_metatags"}</a>
			</div>
		</div>
	</form>
	<ul class='ipsHide'>
		<li class='ipsHide' data-role='metaTemplate'>
			<ul class='ipsForm ipsForm_vertical'>
				<li class='ipsFieldRow ipsGrid'>
					<select name='meta_tag_name[]' class="ipsGrid_span10" data-role='metaTagChooser'>
						<option value='keywords'>{lang="meta_keywords"}</option>
						<option value='description'>{lang="meta_description"}</option>
						<option value='robots'>{lang="meta_robots"}</option>
						<option value='other'>{lang="meta_other"}</option>
					</select>
					<button type="button" class="ipsGrid_span2 ipsPos_right ipsButton ipsButton_verySmall ipsButton_negative" data-action='deleteMeta' title='{lang="delete"}'><i class='fa fa-trash'></i></button>
				</li>
				<li class='ipsFieldRow ipsFieldRow_fullWidth ipsHide' data-role='metaTagName'>
					<input name='meta_tag_name_other[]' type='text' value="" placeholder='{lang="metatags_name"}'>
				</li>
				<li class='ipsFieldRow ipsFieldRow_fullWidth'>
					<input name='meta_tag_content[]' type='text' value="" placeholder='{lang="metatags_content"}'>
				</li>
			</ul>
		</li>
		<li class='ipsHide' data-role='metaDefaultDeletedTemplate'>
			<ul class='ipsForm ipsForm_vertical'>
				<li class='ipsFieldRow ipsGrid'>
					<div class='ipsGrid_span10 ipsType_light' data-role='metaDeleteMessage'>
						
					</div>
					<button type="button" class="ipsGrid_span2 ipsPos_right ipsButton ipsButton_verySmall ipsButton_light"  data-action='restoreMeta' title='{lang="meta_tag_restore"}'><i class='fa fa-undo'></i></button>
				</li>
			</ul>
		</li>
	</ul>
</div>]]></template>
 <template template_group="global" template_name="miniPagination" template_data="$baseUrl, $pages, $activePage=1, $perPage=25, $ajax=FALSE, $pageParam='page'" template_location="global" template_app="core"><![CDATA[{{if $pages > 1}}
	<span class='ipsPagination ipsPagination_mini' id='elPagination_{expression="md5($baseUrl)"}'>
		{{foreach range( 1, ( 4 > $pages ) ? $pages : 4 ) as $i}}
			<span class='ipsPagination_page'><a href='{$baseUrl->setPage( $pageParam, $i )}' data-ipsTooltip title='{lang="go_to_page_x" sprintf="$i"}'>{$i}</a></span>
		{{endforeach}}
		{{if $pages > 4}}
			<span class='ipsPagination_last'><a href='{$baseUrl->setPage( $pageParam, $pages )}' data-ipsTooltip title='{lang="last_page"}'>{$pages} <i class='fa fa-caret-right'></i></a></span>
		{{endif}}
	</span>
{{endif}}]]></template>
 <template template_group="global" template_name="mobileNavBar" template_data=" " template_location="front" template_app="core"><![CDATA[<ul id='elMobileNav' class='ipsResponsive_hideDesktop' data-controller='core.front.core.mobileNav'>
	{{if \count( \IPS\Output::i()->breadcrumb )}}
		{{if \count( \IPS\Output::i()->breadcrumb ) == 1}}
			<li id='elMobileBreadcrumb'>
				<a href='{setting="base_url"}'>
					<span>{lang="home"}</span>
				</a>
			</li>
		{{else}}
			{{$i = 0;}}
			{{foreach \IPS\Output::i()->breadcrumb as $k => $b}}
				{{if $i + 2 == \count( \IPS\Output::i()->breadcrumb )}}
					<li id='elMobileBreadcrumb'>
						<a href='{$b[0]}'>
							<span>{$b[1]}</span>
						</a>
					</li>
				{{endif}}
				{{$i++;}}
			{{endforeach}}
		{{endif}}
	{{endif}}
	
	{{$defaultStream = \IPS\core\Stream::defaultStream();}}
	<li {{if !\IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'discover' ) ) }}class='ipsHide'{{endif}}>
		<a data-action="defaultStream" href='{{if $defaultStream}}{$defaultStream->url()}{{else}}{url="app=core&module=discover&controller=streams" seoTemplate="discover_all"}{{endif}}'><i class="fa fa-newspaper-o" aria-hidden="true"></i></a>
	</li>

	{{if !\IPS\Member::loggedIn()->restrict_post and \count( \IPS\Member::loggedIn()->createMenu() )}}
	<li data-ipsDrawer data-ipsDrawer-drawerElem='#elMobileCreateMenuDrawer'>
		<a href='#'><i class='fa fa-plus'></i></a>
	</li>
	{{endif}}

	{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'search' ) )}}
		<li class='ipsJS_show'>
			<a href='{url="app=core&module=search&controller=search" seoTemplate="search"}'><i class='fa fa-search'></i></a>
		</li>
	{{endif}}
</ul>]]></template>
 <template template_group="global" template_name="mobileNavigation" template_data="$menu, $currentTab" template_location="admin" template_app="core"><![CDATA[<div id='elMobileDrawer' class='ipsDrawer ipsHide'>
	<div class='ipsDrawer_menu'>
		<div class='ipsDrawer_content'>
			<ul id='elUserNav_mobile' class='ipsList_inline signed_in ipsClearfix'>
				<li><a href='../'><i class='fa fa-home'></i> {lang="site"}</a></li>
				<li><a href='{url="app=core&module=members&controller=members&do=adminDetails"}'> <i class='fa fa-pencil'></i>&nbsp; {lang="my_details"}</a></li>
				<li><a href='{url="app=core&module=system&controller=login&do=logout" csrf="true"}'><i class='fa fa-power-off'></i> {lang="sign_out"}</a></li>
			</ul>
			<ul class='ipsDrawer_list'>
				{{foreach $menu['tabs'] as $tab => $items}}
					<li class='ipsDrawer_itemParent'>
						<h4 class='ipsDrawer_title'>
							<span class='acpAppList_icon'><i class='fa fa-{lang="menutab__{$tab}_icon"}'></i></span>
							<span class='acpAppList_app'>{lang="menutab__{$tab}"}</span>
						</h4>
						<ul class='ipsDrawer_list'>
							<li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li>
							{{foreach $items as $appAndModule => $item}}
								<li class='ipsDrawer_listTitle'>
									{lang="menu__{$appAndModule}"}
								</li>
								{{foreach $item as $key => $url}}
									<li>
										<a href='{url="$url"}'>{lang="menu__{$appAndModule}_{$key}"}</a>
									</li>
								{{endforeach}}
							{{endforeach}}
						</ul>
					</li>
				{{endforeach}}
			</ul>
		</div>
		
		{{$languages = \IPS\Lang::getEnabledLanguages();}}
		<ul class='ipsList_inline ipsType_center ipsPad_half cMobileNav_utilities' id='elThemeLangMenuMob'>
			<li><a href='#' data-ipsMenu id='elNavThemeMob'>{lang="skin"} <i class='fa fa-angle-up'></i></a></li>

			{{if \count( $languages ) > 1}}
				<li><a href='#' data-ipsMenu id='elNavLangMob'>{lang="language"} <i class='fa fa-angle-up'></i></a></li>
			{{endif}}
		</ul>

		{{if \count( $languages ) > 1}}
			<ul id='elNavLangMob_menu' class='ipsMenu ipsMenu_selectable ipsHide'>
			{{foreach $languages as $id => $lang }}
				<li class='ipsMenu_item{{if \IPS\Member::loggedIn()->acp_language == $id || ( $lang->default && \IPS\Member::loggedIn()->acp_language === 0 )}} ipsMenu_itemChecked{{endif}}'>
					<a href='{url="app=core&module=system&controller=language&id=$id" csrf="true"}'>{{if $lang->get__icon()}}<i class='{$lang->get__icon()}'></i> {{endif}}{$lang->title} {{if $lang->default}}{lang="default"}{{endif}}</a>
				</li>
			{{endforeach}}
			</ul>
		{{endif}}

		<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elNavThemeMob_menu">
			<li class="elThemeMenu__auto ipsCursor_pointer ipsMenu_item {{if !isset(\IPS\Request::i()->cookie['acptheme']) OR !\IPS\Request::i()->cookie['acptheme']}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="os">
				<span>{lang="acptheme_os_preference"}</span>
			</li>
			<li class="ipsCursor_pointer ipsMenu_item {{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'light'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="light">
				<span>{lang="acptheme_light"}</span>
			</li>
			<li class="ipsCursor_pointer ipsMenu_item {{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'dark'}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="dark">
				<span>{lang="acptheme_dark"}</span>
			</li>
		</ul>
	</div>
</div>]]></template>
 <template template_group="global" template_name="mobileNavigation" template_data=" " template_location="front" template_app="core"><![CDATA[<div id='elMobileDrawer' class='ipsDrawer ipsHide'>
	<div class='ipsDrawer_menu'>
		<a href='#' class='ipsDrawer_close' data-action='close'><span>&times;</span></a>
		<div class='ipsDrawer_content ipsFlex ipsFlex-fd:column'>
			{{if \IPS\Member::loggedIn()->member_id }}
				<div class='elMobileDrawer__user ipsBorder_bottom ipsAreaBackground_reset ipsPadding_horizontal ipsPadding_vertical:half ipsPos_sticky ipsFlex ipsFlex-jc:between ipsFlex-ai:center ipsFlex-fw:wrap'>
					<div class='ipsFlex-flex:11'>
						<ul class='elMobileDrawer__user-panel ipsList_reset ipsType_blendLinks ipsFlex ipsFlex-ai:center'>
							<li class='ipsMargin_right:half'>
								{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'mini'"}
							</li>
							<li>
								<div class='ipsType_light'>{lang="logged_in_as_headline"}</div>
								<div class='ipsType_dark ipsType_large ipsType_bold'>{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="front_logged_in_as" sprintf="$_SESSION['logged_in_from']['name']"} {{endif}}{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}<a href='{member="url()"}' title='{lang="view_my_profile"}'>{member="name"}</a>{{else}}{member="name"}{{endif}}</div>
							</li>
						</ul>
					</div>
					<ul id='elUserNav_mobile' class='ipsList_inline signed_in ipsClearfix'>
						<li class='cNotifications cUserNav_icon'>
							<a href='#elMobNotifications_menu' id='elMobNotifications' data-ipsMenu data-ipsMenu-menuID='elFullNotifications_menu' data-ipsMenu-closeOnClick='false'>
								<i class='fa fa-bell'></i> <span class='ipsNotificationCount {{if !member.notification_cnt}}ipsHide{{endif}}' data-notificationType='notify'>{member="notification_cnt"}</span>
							</a>
						</li>
						{{if \IPS\Member::loggedIn()->members_disable_pm != 2 and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
							<li class='cInbox cUserNav_icon'>
								<a href='#elMobInbox_menu' id='elMobInbox' data-ipsMenu data-ipsMenu-menuID='elFullInbox_menu' data-ipsMenu-closeOnClick='false'>
									<i class='fa fa-envelope {{if \IPS\Member::loggedIn()->members_disable_pm}} ipsFaded ipsFaded_withHover{{endif}}' ></i> <span class='ipsNotificationCount {{if !\IPS\Member::loggedIn()->msg_count_new}}ipsHide{{endif}}' data-notificationType='inbox'>{member="msg_count_new"}</span>
								</a>
							</li>
						{{endif}}
						{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
							<li class='cReports cUserNav_icon'>
								<a href='#elMobReports_menu' id='elMobReports' data-ipsMenu data-ipsMenu-menuID='elFullReports_menu' data-ipsMenu-closeOnClick='false'>
									<i class='fa fa-warning'></i> {{if \IPS\Member::loggedIn()->reportCount()}}<span class='ipsNotificationCount' data-notificationType='reports'>{member="reportCount()"}</span>{{endif}}
								</a>
							</li>
						{{endif}}
					</ul>
				</div>
			{{else}}
				<div class='ipsPadding ipsBorder_bottom'>
					<ul class='ipsToolList ipsToolList_vertical'>
						<li>
							<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' id='elSigninButton_mobile' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>{lang="sign_in"}</a>
						</li>
						{{if \IPS\Login::registrationType() != 'disabled'}}
							<li>
								{{if \IPS\Login::registrationType() == 'redirect'}}
									<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener" class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>{lang="sign_up"}</a>
								{{else}}
									<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}' data-ipsDialog-fixed='true'{{endif}} id='elRegisterButton_mobile' class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>{lang="sign_up"}</a>
								{{endif}}
							</li>
						{{endif}}
					</ul>
				</div>
			{{endif}}

			{{if theme.social_links == 'header'}}
				<ul class="elMobileDrawer__social ipsList_inline ipsType_center ipsMargin_vertical">
					{template="siteSocialProfiles" app="core" group="global" location="front"}
				</ul>
			{{endif}}

			<ul class='ipsDrawer_list ipsFlex-flex:11'>
				{{if \IPS\Member::loggedIn()->member_id}}
					<li class='ipsDrawer_itemParent'>
                        <h4 class='ipsDrawer_title'><a href='#'><span {{if \IPS\Member::loggedIn()->members_bitoptions["email_messages_bounce"]}}class='ipsWarningIndicator '{{endif}}>{lang="mobile_menu_account"}</span></a></h4>
						<ul class='ipsDrawer_list'>
							<li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li>
							{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
								<li><a href='{member="url()"}' title='{lang="view_my_profile"}'>{lang="menu_profile"}</a></li>
							{{endif}}
							{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) ) and \IPS\Member::loggedIn()->members_disable_pm AND \IPS\Member::loggedIn()->members_disable_pm != 2}}
								<li><a href='{url="app=core&module=messaging&controller=messenger&do=enableMessenger" seoTemplate="messaging" csrf="true"}' title='{lang="go_to_messenger"}' data-confirm data-confirmMessage='{lang="messenger_disabled_msg"}'>{lang="menu_messages"}</a></li>
							{{endif}}
							{{if \IPS\Member::loggedIn()->group['g_attach_max'] != 0}}
								<li><a href='{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}'>{lang="my_attachments"}</a></li>
							{{endif}}
                            {{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'promotion', 'promote_manage' ) and \IPS\core\Promote::promoteServices()}}
                            <li><a href='{url="app=core&module=promote&controller=promote&do=view" seoTemplate="promote_manage"}'>{lang="promote_manage_link"}</a></li>
                            {{endif}}
                            {{if \IPS\Application::appIsEnabled('nexus') and settings.nexus_subs_enabled}}
							<li><a href='{url="app=nexus&module=subscriptions&controller=subscriptions" seoTemplate="nexus_subscriptions"}'>{lang="nexus_manage_subscriptions"}</a></li>
							{{endif}}
							<li><a href='{url="app=core&module=system&controller=followed" seoTemplate="followed_content"}'>{lang="menu_followed_content"}</a></li>
							<li id='elAccountSettingsLinkMobile'>
                                <a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' title='{lang="edit_account_settings"}' {{if \IPS\Member::loggedIn()->members_bitoptions["email_messages_bounce"]}}class="ipsWarningIndicator"{{endif}}>
                                    {lang="menu_settings"}
                                </a>
                            </li>
							{{if settings.ignore_system_on}}
			                	<li><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
			                {{endif}}
							{{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or ( \IPS\Member::loggedIn()->isAdmin() AND \IPS\SHOW_ACP_LINK )}}
								{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission()}}
									<li><a href='{url="app=core&module=modcp" seoTemplate="modcp"}'>{lang="menu_modcp"}</a></li>
								{{endif}}
								{{if \IPS\Member::loggedIn()->isAdmin() AND \IPS\SHOW_ACP_LINK }}
									<li><a href='{expression="\IPS\Http\Url::baseURL() . \IPS\CP_DIRECTORY"}' target='_blank' rel="noopener">{lang="menu_admincp"} <i class='fa fa-lock'></i></a></li>
								{{endif}}
							{{endif}}
						</ul>
					</li>
				{{endif}}

				{{$primaryBars = \IPS\core\FrontNavigation::i()->roots();}}
				{{$subBars = \IPS\core\FrontNavigation::i()->subBars();}}
				
				{{foreach $primaryBars as $id => $item}}
					{{if $item->canView()}}
						{{$children = $item->children();}}
						{{if ( $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] ) ) || $children}}
							<li class='ipsDrawer_itemParent'>
								<h4 class='ipsDrawer_title'><a href='#'>{$item->title()}</a></h4>
								<ul class='ipsDrawer_list'>
									<li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li>
									{{$showSelfLink = true;}}
									{{if $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] )}}
										{{// Determine whether we should show the parent link as a clickable sub item by comparing child links.}}
										{{// If the *same* link exists as a child item, don't show it twice}}
										{{foreach $subBars[ $id ] as $child}}
											{{if $child->canView()}}
												{{if $subChildren = $child->children()}}
													{{foreach $subChildren as $subChild}}
														{{if method_exists( $subChild, 'link' ) && $subChild->link() && (string) $subChild->link() == (string) $item->link()}}
															{{$showSelfLink = false;}}
															{{break 2;}}
														{{endif}}
													{{endforeach}}
												{{elseif method_exists( $child, 'link' ) && $child->link() && (string) $child->link() == (string) $item->link()}}
													{{$showSelfLink = false;}}
													{{break;}}
												{{endif}}
											{{endif}}
										{{endforeach}}
									{{endif}}
													
									{{if $showSelfLink && method_exists( $item, 'link' ) and (string) $item->link() !== \IPS\Settings::i()->base_url && $item->link()}}
										<li><a href='{$item->link()}'>{$item->title()}</a></li>
									{{endif}}
									{{if $children}}
										{template="mobileNavigationChildren" group="global" app="core" params="$children"}
									{{endif}}
									{{if $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] )}}
										{template="mobileNavigationChildren" group="global" app="core" params="$subBars[ $id ]"}
									{{endif}}	
								</ul>
							</li>
						{{else}}
							<li><a href='{$item->link()}' {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{if $item->target() == '_blank'}} rel="noopener"{{endif}}{{endif}}>{$item->title()}</a></li>
						{{endif}}
					{{endif}}
				{{endforeach}}
				{{if \IPS\Member::loggedIn()->member_id}}
					<li>
						<a data-action="markSiteRead" data-controller="core.front.core.markRead" href='{url="app=core&module=system&controller=markread" seoTemplate="mark_site_as_read" csrf="true"}'>{lang="mark_site_read_button"}</a>
					</li>
					<li>
						<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true"}'>
							{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="switch_to_account" sprintf="$_SESSION['logged_in_from']['name']"}{{else}}{lang="sign_out"}{{endif}}
						</a>
					</li>
				{{endif}}
			</ul>

			{{if \IPS\Member::loggedIn()->canHaveAchievements() and \IPS\core\Achievements\Rank::show() and \IPS\Member::loggedIn()->member_id && \IPS\core\Achievements\Rank::getStore() and $rank = member.rank()}}
				<div class='elMobileDrawer__rank ipsAreaBackground_reset ipsPadding_horizontal ipsPadding_vertical:half ipsBorder_top'>
					<div class='elUserNav_achievements ipsFlex ipsGap:4 ipsGap_row:0'>
						<div class='elUserNav_achievements__icon'>{$rank->html('ipsDimension:3')|raw}</div>
						<div class='elUserNav_achievements__content'>
							<div class='ipsType_light'>{lang="achievements_current_rank"}</div>
							<div><strong class='ipsType_large'>{$rank->_title}</strong></div>
							
							{{if $nextRank = member.nextRank()}}
								<div class='ipsMargin_top:half'>
									<div>
										<div class='ipsAchievementsProgress'>
											<div style='width: calc({expression="\IPS\Member::loggedIn()->achievements_points"} / {$nextRank->points} * 100%)'></div>
										</div>
									</div>
									<div class='ipsType_small ipsType_light'>{lang="achievements_next_rank" pluralize="$nextRank->points - \IPS\Member::loggedIn()->achievements_points"}</div>
								</div>
							{{endif}}
						</div>
					</div>
				</div>
			{{elseif \IPS\Member::loggedIn()->canHaveAchievements() and \IPS\Settings::i()->achievements_rebuilding}}
				<div class='elMobileDrawer__rank ipsAreaBackground_reset ipsPadding_horizontal ipsPadding_vertical:half ipsBorder_top'>
					<div class='elUserNav_achievements ipsFlex ipsGap:4 ipsGap_row:0 ipsType_light'>
						<div class='elUserNav_achievements__icon ipsFlex-flex:00'><i class="fa fa-info-circle fa-fw ipsType_large"></i></div>
						<div class='elUserNav_achievements__content ipsFlex-flex:11'>
							<p class='ipsType_reset ipsType_light'>
								{lang="ranks_are_being_recalculated"}
							</p>
						</div>
					</div>
				</div>
			{{endif}}
		</div>
	</div>
</div>

<div id='elMobileCreateMenuDrawer' class='ipsDrawer ipsHide'>
	<div class='ipsDrawer_menu'>
		<a href='#' class='ipsDrawer_close' data-action='close'><span>&times;</span></a>
		<div class='ipsDrawer_content ipsSpacer_bottom ipsPad'>
			<ul class='ipsDrawer_list'>
				<li class="ipsDrawer_listTitle ipsType_reset">{lang="add"}...</li>
				{{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}}
					<li>
						<a href="{$url['link']}"
							{{if isset( $url['extraData'] )}}
								{{foreach $url['extraData'] as $data => $v}}
									{$data}="{$v}"
								{{endforeach}}
							{{endif}}
							{{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}}
							{{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}} data-ipsdialog-fixed="true"
							>{lang="$k"}</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
	</div>
</div>]]></template>
 <template template_group="global" template_name="mobileNavigationChildren" template_data="$items" template_location="front" template_app="core"><![CDATA[
{{foreach $items as $child}}
	{{if $child->canView()}}
		{{if $children = $child->children()}}
			{{$id = md5( mt_rand() );}}
			<li class='ipsDrawer_itemParent'>
				<h4 class='ipsDrawer_title'><a href='#'>{$child->title()}</a></h4>
				<ul class='ipsDrawer_list'>
					<li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li>
					{{if $child->link() && $child->link() !== '#'}}
						<li>
							<a href='{$child->link()}'>
								{$child->title()}
							</a>
						</li>
					{{endif}}
					{template="mobileNavigationChildren" group="global" app="core" params="$children"}
				</ul>
			</li>
		{{elseif $child instanceof \IPS\core\extensions\core\FrontNavigation\MenuHeader}}
			<li class='ipsDrawer_section'>
				{$child->title()}
			</li>
		{{elseif $child instanceof \IPS\core\extensions\core\FrontNavigation\MenuSeparator}}
			
		{{elseif $child instanceof \IPS\core\extensions\core\FrontNavigation\MenuButton}}
			<li class='ipsPad_half'>
				<a href='{$child->link()}' class='ipsButton ipsButton_important ipsButton_verySmall ipsButton_fullWidth'>
					{$child->title()}
				</a>
			</li>
		{{else}}
			<li>
				<a href='{$child->link()}' {{if method_exists( $child, 'target' ) AND $child->target()}}target='{$child->target()}'{{if $child->target() == '_blank'}} rel="noopener"{{endif}}{{endif}}>
					{$child->title()}
				</a>
			</li>
		{{endif}}
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="global" template_name="mobileNavigationIcon" template_data=" " template_location="front" template_app="core"><![CDATA[<ul class='ipsMobileHamburger ipsList_reset ipsResponsive_hideDesktop'>
	<li data-ipsDrawer data-ipsDrawer-drawerElem='#elMobileDrawer'>
		<a href='#' {{if \IPS\Member::loggedIn()->members_bitoptions["email_messages_bounce"]}}class='ipsWarningIndicator ipsWarningIndicator__topRight'{{endif}}>
			{{$total = \IPS\Member::loggedIn()->notification_cnt;}}
			{{if !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
				{{$total += \IPS\Member::loggedIn()->msg_count_new;}}
			{{endif}}
			{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
				{{$total += \IPS\Member::loggedIn()->reportCount();}}
			{{endif}}
			{{if $total}}
				<span class='ipsNotificationCount' data-notificationType='total'>{$total}</span>
			{{endif}}
			<i class='fa fa-navicon'></i>
		</a>
	</li>
</ul>]]></template>
 <template template_group="global" template_name="modBadges" template_data="$member" template_location="front" template_app="core"></template>
 <template template_group="global" template_name="modLog" template_data="$item, $modlog" template_location="front" template_app="core">{$modlog|raw}
</template>
 <template template_group="global" template_name="multipleRedirect" template_data="$url, $mr=NULL, $height=NULL" template_location="global" template_app="core"><![CDATA[<div class="ipsRedirect_manualButton">
	<a href='{$url->setQueryString( array( 'mr' => '0', '_mrReset' => 1 ) )}' class="ipsButton ipsButton_primary">{lang="start"}</a>
</div>
<div data-controller="core.global.core.multipleRedirect" data-url="{$url}">
	<div class="ipsRedirect ipsHide ipsPad">
		<div class="ipsLoading ipsRedirect_loading" data-role="loadingIcon" data-loading-text="" {{if $height}}style="height: {$height}px;"{{endif}}>
		</div>
		<div class="ipsHide" data-role="progressBarContainer">
			<div class="ipsRedirect_progress" data-loading-text="">
				<div class="ipsProgressBar ipsProgressBar_animated">
					<div class="ipsProgressBar_progress" data-role="progressBar"></div>
				</div>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="global" template_name="navBar" template_data="$preview=FALSE" template_location="front" template_app="core"><![CDATA[{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}
	<nav data-controller='core.front.core.navBar' class='{{if !\count( \IPS\core\FrontNavigation::i()->subBars( $preview ) )}}ipsNavBar_noSubBars{{endif}} {{if !$preview}}ipsResponsive_showDesktop{{endif}}'>
		<div class='ipsNavBar_primary ipsLayout_container {{if !\count( \IPS\core\FrontNavigation::i()->subBars( $preview ) )}}ipsNavBar_noSubBars{{endif}}'>
			<ul data-role="primaryNavBar" class='ipsClearfix'>
				{template="navBarItems" app="core" group="global" location="front" params="\IPS\core\FrontNavigation::i()->roots( $preview ), \IPS\core\FrontNavigation::i()->subBars( $preview ), 0, $preview"}
				<li class='ipsHide' id='elNavigationMore' data-role='navMore'>
					<a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore' id='elNavigationMore_dropdown'>{lang="more"}</a>
					<ul class='ipsNavBar_secondary ipsHide' data-role='secondaryNavBar'>
						<li class='ipsHide' id='elNavigationMore_more' data-role='navMore'>
							<a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_more' id='elNavigationMore_more_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a>
							<ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_more_dropdown_menu' data-role='moreDropdown'></ul>
						</li>
					</ul>
				</li>
			</ul>
			{template="quickSearch" group="global" app="core" params="$preview"}
		</div>
	</nav>
{{elseif member.group['g_view_board'] and !\in_array('ipsLayout_minimalNoHome', \IPS\Output::i()->bodyClasses )}}
	<nav>
		<div class='ipsNavBar_primary ipsLayout_container ipsNavBar_noSubBars'>
			<ul data-role="primaryNavBar" class='ipsResponsive_showDesktop ipsClearfix'>
				<li>
					<a href='{setting="base_url"}' title='{lang="go_community_home"}'><i class='fa fa-angle-left'></i> {lang="community_home"}</a>
				</li>
			</ul>
		</div>
	</nav>
{{endif}}]]></template>
 <template template_group="global" template_name="navBarChildren" template_data="$items, $preview=FALSE" template_location="front" template_app="core"><![CDATA[{{foreach $items as $item}}
	{{if $preview or $item->canView()}}
		{{if $children = $item->children()}}
			{{$id = md5( mt_rand() );}}
			<li id='elNavigation_{$id}' class='ipsMenu_item ipsMenu_subItems'>
				<a href='{{if $item->link()}}{$item->link()}{{else}}#{{endif}}'>
					{$item->title()}
				</a>
				<ul id='elNavigation_{$id}_menu' class='ipsMenu ipsMenu_auto ipsHide'>
					{template="navBarChildren" app="core" group="global" params="$children, $preview"}
				</ul>
			</li>
		{{elseif $item instanceof \IPS\core\extensions\core\FrontNavigation\MenuHeader}}
			<li class='ipsMenu_title'>
				{$item->title()}
			</li>
		{{elseif $item instanceof \IPS\core\extensions\core\FrontNavigation\MenuSeparator}}
			<li class='ipsMenu_sep'>
				<hr>
			</li>
		{{elseif $item instanceof \IPS\core\extensions\core\FrontNavigation\MenuButton}}
			<li class='ipsPad_half'>
				<a href='{$item->link()}' class='ipsButton ipsButton_primary ipsButton_verySmall ipsButton_fullWidth'>
					{$item->title()}
				</a>
			</li>
		{{else}}
			<li class='ipsMenu_item' {$item->attributes()|raw}>
				<a href='{$item->link()}' {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{if $item->target() == '_blank'}} rel="noopener"{{endif}}{{endif}}>
					{$item->title()}
				</a>
			</li>
		{{endif}}
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="global" template_name="navBarItems" template_data="$roots, $subBars=NULL, $parent=0, $preview=FALSE" template_location="front" template_app="core"><![CDATA[{{$first = TRUE;}}
{{foreach $roots as $id => $item}}
	{{if $preview or $item->canView()}}
		{{$active = $preview ? $first : $item->activeOrChildActive();}}
		{{if $active}}
			{{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}}
		{{endif}}
		<li {{if $active}}class='ipsNavBar_active' data-active{{endif}} id='elNavSecondary_{$item->id}' data-role="navBarItem" data-navApp="{expression="mb_substr( \get_class( $item ), 4, mb_strpos( \get_class( $item ), '\\', 4 ) - 4 )"}" data-navExt="{expression="mb_substr( \get_class( $item ), mb_strrpos( \get_class( $item ), '\\' ) + 1 )"}">
			{{$children = $item->children();}}
			{{if $children}}
				<a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" id="elNavigation_{$id}" data-ipsMenu data-ipsMenu-appendTo='#{{if $parent}}elNavSecondary_{$parent}{{else}}elNavSecondary_{$id}{{endif}}' data-ipsMenu-activeClass='ipsNavActive_menu' data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}>
					{$item->title()} <i class="fa fa-caret-down"></i><span class='ipsNavBar_active__identifier'></span>
				</a>
				<ul id="elNavigation_{$id}_menu" class="ipsMenu ipsMenu_auto ipsHide">
					{template="navBarChildren" app="core" group="global" location="front" params="$children, $preview"}
				</ul>
			{{else}}
				<a href="{{if $item->link()}}{$item->link()}{{else}}#{{endif}}" {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{if $item->target() == '_blank'}} rel="noopener"{{endif}}{{endif}} data-navItem-id="{$item->id}" {{if $active}}data-navDefault{{endif}}>
					{$item->title()}<span class='ipsNavBar_active__identifier'></span>
				</a>
			{{endif}}
			{{if $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] )}}
				<ul class='ipsNavBar_secondary {{if !$active}}ipsHide{{endif}}' data-role='secondaryNavBar'>
					{template="navBarItems" app="core" group="global" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"}
					<li class='ipsHide' id='elNavigationMore_{$id}' data-role='navMore'>
						<a href='#' data-ipsMenu data-ipsMenu-appendTo='#elNavigationMore_{$id}' id='elNavigationMore_{$id}_dropdown'>{lang="more"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsHide ipsMenu ipsMenu_auto' id='elNavigationMore_{$id}_dropdown_menu' data-role='moreDropdown'></ul>
					</li>
				</ul>
			{{endif}}
		</li>
	{{endif}}
	{{$first = FALSE;}}
{{endforeach}}]]></template>
 <template template_group="global" template_name="nodeMoveDeleteContent" template_data="$url, $itemLang, $number, $destination" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsAreaBackground_reset">
	<p class="ipsType_reset ipsSpacer_bottom">
		{{if $destination}}
			{lang="node_mass_content_move_blurb" sprintf="$number, $itemLang, $destination->_title"}
		{{else}}
			{lang="node_mass_content_delete_blurb" sprintf="$number, $itemLang"}
		{{endif}}
	</p>
	<p class="ipsType_reset ipsSpacer_bottom">{lang="node_mass_content_blurb_2"}</p>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a class="ipsButton ipsButton_primary" {{if $number}}href="{$url->setQueryString( 'confirm', 1 )}"{{else}}disabled{{endif}}>{lang="node_mass_content_confirm"}</a>
</div>]]></template>
 <template template_group="global" template_name="offline" template_data="" template_location="global" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{lang="you_are_offline"} - {expression="\IPS\Settings::i()->board_name"}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<style>
			:root {
				/* Master scales & styles */
				--sp-1: 4px;
				--sp-2: 8px;
				--sp-3: 12px;
				--sp-4: 16px;
				--sp-5: 20px;
				--sp-6: 24px;
				--sp-7: 32px;
				--sp-8: 40px;
				--sp-9: 48px;
				--sp-10: 64px;

				/* Border vars */
				--radius-1: 4px;
				--radius-2: 8px;
				--border-1px: 1px solid rgba( var(--theme-text_light), 0.15 );

				/* Variables used for specific contexts */
				--box--boxShadow: 0px 2px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
				--box--backgroundColor: rgb( var(--theme-area_background_reset) );
				--box--radius: var(--radius-1);
				--solved--borderColor: 44, 140, 105;
				

				/* Nav sizes */
				--header--height: {theme="header_height"}px;
				--responsive-header--height: {theme="header_height_mobile"}px;
				--logo--height: {theme="logo_height"}%;
				--responsive-logo--height: var(--logo--height);
				--primary-navigation--height: 52px;
				--secondary-navigation--height: 50px;

				/* Button styles */
				--button--radius: var(--radius-1);

				/* Page widths */
				--container--width: 1340px;
				--minimal_container--width: 1000px;
				
				/* Theme settings */
				/* Format is --theme-[setting-key] */
			{expression="\IPS\Theme::i()->css_vars"}

			}

			@-webkit-viewport { width: device-width; }
			@-moz-viewport { width: device-width; }
			@-ms-viewport { width: device-width; }
			@-o-viewport { width: device-width; }
			@viewport { width: device-width; }

			*{
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			}

			html {
				min-height: 100%;
				position: relative;
			}

			body {
				font-family: {{if theme.body_font != 'default'}}"{theme="body_font"}",{{endif}} -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
				font-size: 16px;
				line-height: 1.5;
				color: rgb( var(--theme-text_color) );
				height: 100%;
				background-color: rgb( var(--theme-page_background) );
				margin: 0;
			}

			.ipsLayout_container {
				{{if theme.enable_fluid_width}}
					{{if theme.fluid_width_size}}
						max-width: {theme="fluid_width_size"}%;
					{{else}}
						max-width: 100%;
					{{endif}}
				{{else}}
					max-width: var(--container--width);
				{{endif}}
				padding: 0 15px;
				margin: 0 auto;
				position: relative;
			}

			/* ======================================================== */
			/* TYPOGRAPHY */
			.ipsType_reset {
				margin: 0;
			}

			.ipsType_pageTitle,
			.ipsType_sectionHead {
				{{if theme.headline_font != 'default'}}
					font-family: "{theme="headline_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
				{{endif}}
			}

			/* ======================================================== */
			/* Page title: the large text shown at the top of pages */
			.ipsType_pageTitle {
				font-size: {fontsize="2x_large"};
				font-weight: bold;
				line-height: 1.2;
				letter-spacing: -.02em;
				margin: 0;
				color: rgb( var(--theme-text_dark) );
			}

			/* ======================================================== */
			/* Section heading: a text-based heading for smaller sections */
			.ipsType_sectionHead {
				font-size: {fontsize="large"};
				color: rgb( var(--theme-text_dark) );
				line-height: {fontsize="2x_large"};
				font-weight: bold;
				display: inline-block;
				margin: 0;
			}

			/* ======================================================== */
			/* BOX STYLES */
			.ipsBox {
				box-shadow: var(--box--boxShadow);
				border-radius: var(--box--radius);
				background-color: var(--box--backgroundColor);
			}

			/* ======================================================== */
			/* BASE BUTTONS */
			.ipsApp .ipsButton {
				font-size: {fontsize="medium"};
				font-weight: 400;
				text-align: center;
				text-decoration: none;
				text-shadow: none;
				white-space: nowrap;
				display: inline-block;
				vertical-align: middle;
				padding: 10px 20px;
				border-radius: var(--button--radius);
				border: 1px solid transparent;
				transition: 0.1s all linear;
				cursor: pointer;
				{prefix="user-select" value="none"}
				max-width: 100%;
				overflow: hidden;
				text-overflow: ellipsis;
			}

				.ipsApp .ipsButton:hover:not(:active) {
					background-image: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%);
				}

				.ipsApp .ipsButton:active {
					border-color: rgba(0,0,0,0.1);
					background-image: linear-gradient(to bottom, rgba( var(--theme-text_dark), 0.1 ) 0%, rgba( var(--theme-text_dark), 0.1 ) 100%);
				}
				
				.ipsApp .ipsButton_important {
					font-weight: 500;
					background: rgb( var(--theme-important_button) );
					color: rgb( var(--theme-important_button_font) );
				}

				.ipsApp .ipsButton_medium {
					font-size: {fontsize="medium"};
					line-height: 3;
					padding: 0 20px;
				}

				.ipsApp .ipsButton_fullWidth {
					display: block;
					width: 100%;
					text-overflow: ellipsis;
					overflow: hidden;
				}

			/* ======================================================== */
			/* HORIZONTAL RULE */
			hr.ipsHr {
				margin: 15px 0;
				height: 0;
				padding: 0;
				border: 1px solid rgba( var(--theme-text_color), 0.08 );
				border-width: 1px 0 0 0;
			}

			/* ======================================================== */
			/* OFFLINE SPECIFIC */
			.cOfflineBox {
				margin: var(--sp-8) auto 0;
				max-width: 475px;
				padding: var(--sp-5);
			}
		</style>
		<link rel='shortcut icon' href='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0iIzMzMzMzMyI+PHBhdGggZD0iTSAxNSAzIEMgMTQuMTY4NDMyIDMgMTMuNDU2MDYzIDMuNTA2NzIzOCAxMy4xNTQyOTcgNC4yMjg1MTU2IEwgMi4zMDA3ODEyIDIyLjk0NzI2NiBMIDIuMzAwNzgxMiAyMi45NDkyMTkgQSAyIDIgMCAwIDAgMiAyNCBBIDIgMiAwIDAgMCA0IDI2IEEgMiAyIDAgMCAwIDQuMTQwNjI1IDI1Ljk5NDE0MSBMIDQuMTQ0NTMxMiAyNiBMIDE1IDI2IEwgMjUuODU1NDY5IDI2IEwgMjUuODU5Mzc1IDI1Ljk5MjE4OCBBIDIgMiAwIDAgMCAyNiAyNiBBIDIgMiAwIDAgMCAyOCAyNCBBIDIgMiAwIDAgMCAyNy42OTkyMTkgMjIuOTQ3MjY2IEwgMjcuNjgzNTk0IDIyLjkxOTkyMiBBIDIgMiAwIDAgMCAyNy42ODE2NDEgMjIuOTE3OTY5IEwgMTYuODQ1NzAzIDQuMjI4NTE1NiBDIDE2LjU0MzkzNyAzLjUwNjcyMzggMTUuODMxNTY4IDMgMTUgMyB6IE0gMTMuNzg3MTA5IDExLjM1OTM3NSBMIDE2LjIxMjg5MSAxMS4zNTkzNzUgTCAxNi4wMTE3MTkgMTcuODMyMDMxIEwgMTMuOTg4MjgxIDE3LjgzMjAzMSBMIDEzLjc4NzEwOSAxMS4zNTkzNzUgeiBNIDE1LjAwMzkwNiAxOS44MTA1NDcgQyAxNS44MjU5MDYgMTkuODEwNTQ3IDE2LjMxODM1OSAyMC4yNTI4MTMgMTYuMzE4MzU5IDIxLjAwNzgxMiBDIDE2LjMxODM1OSAyMS43NDg4MTIgMTUuODI1OTA2IDIyLjE4OTQ1MyAxNS4wMDM5MDYgMjIuMTg5NDUzIEMgMTQuMTc1OTA2IDIyLjE4OTQ1MyAxMy42Nzk2ODggMjEuNzQ4ODEzIDEzLjY3OTY4OCAyMS4wMDc4MTIgQyAxMy42Nzk2ODggMjAuMjUyODEzIDE0LjE3NDkwNiAxOS44MTA1NDcgMTUuMDAzOTA2IDE5LjgxMDU0NyB6IiBmaWxsPSIjMzMzMzMzIi8+PC9zdmc+Cg==' type="image/svg+xml">
	</head>
	<body class='ipsApp ipsApp_front ipsClearfix ipsLayout_noBackground ipsClearfix'>
		<div class='ipsLayout_container'>

			<div class='cOfflineBox ipsBox'>
				<h1 class='ipsType_pageTitle'>{expression="\IPS\Settings::i()->board_name"}</h1>
				
				<hr class='ipsHr'>

				<h2 class='ipsType_sectionHead'>{lang="user_offline_title"}</h2>
				<p>
					{lang="user_offline_1"}
				</p>
				<p>
					{lang="user_offline_2"}
				</p>

				<hr class='ipsHr'>

				<button onclick="javascript: window.location.reload()" class='ipsButton ipsButton_important ipsButton_medium ipsButton_fullWidth'>
					{lang="offline_try_again"}
				</button>
			</div>
		</div>
	</body>
</html>]]></template>
 <template template_group="global" template_name="paddedBlock" template_data="$content" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPad_half'>
	{$content|raw}
</div>]]></template>
 <template template_group="global" template_name="pageButtons" template_data="$buttons" template_location="admin" template_app="core"><![CDATA[{{if !empty( $buttons )}}
	{{usort( $buttons, function ($a, $b ){ if( isset( $a['primary'] ) && $a['primary'] ){ return 1; }else{ return 0;} } );}}
	{{$hasSecondary = false;}}
	<ul class="ipsList ipsList_inline" data-controller='core.admin.core.pageActions'>
		{{foreach $buttons as $action}}
			<li {{if isset( $action['primary'] ) && $action['primary']}}class='acpToolbar_primary'{{endif}}>
				{{if !( isset( $action['primary'] ) && $action['primary'] )}}
					{{$hasSecondary = true;}}
				{{endif}}
				<a
					{{if isset( $action['link'] )}}
						href='{{if mb_substr( $action['link'], 0, 1 ) === '#' or preg_match( '/^[a-z]{3,5}:\/\/.*$/', $action['link'] )}}{$action['link']}{{else}}{url="{$action['link']}"}{{endif}}'
					{{else}}
						href='#'
					{{endif}}
					{{if isset( $action['id'] )}}
						id='{$action['id']}'
					{{endif}}
					{{if isset( $action['menu'] )}}
						data-ipsMenu
						{{if !isset( $action['id'] )}}
							id='{{$id = md5( mt_rand() );}}{$id}'
						{{endif}}
					{{endif}}
					class='ipsButton {{if isset( $action['primary'] ) && $action['primary']}}ipsButton_primary{{elseif isset( $action['color'] )}}{$action['color']}{{else}}ipsButton_normal{{endif}} {{if isset( $action['class'] )}}{$action['class']}{{endif}}'
					{{if isset( $action['target'] )}}target="{$action['target']}"{{if $action['target'] == '_blank'}} rel="noopener"{{endif}}{{endif}}
					{{if isset( $action['tooltip'] )}}title="{$action['tooltip']}" data-ipsTooltip{{endif}}
					{{if isset( $action['data'] )}}
						{{foreach $action['data'] as $k => $v}}
							data-{$k}="{$v}"
						{{endforeach}}
					{{endif}}
				>
					<i class='fa fa-{$action['icon']}'></i> &nbsp;&nbsp;<span data-role="title">{lang="$action['title']"}</span>{{if isset( $action['menu'] ) || isset( $action['dropdown'] )}} <i class="fa fa-caret-down"></i>{{endif}}
				</a>
				{{if isset( $action['menu'] )}}
					<div id='{$id}_menu' class='ipsMenu {{if isset( $action['menuClass'] )}}{$action['menuClass']}{{endif}} ipsHide'>
						<ul>
							{{foreach $action['menu'] as $item}}
								{{if isset( $item['hr'] ) and $item['hr']}}
									<li class='ipsMenu_sep'><hr></li>
								{{else}}
									<li class="ipsMenu_item {{if isset( $item['class'] )}}{$item['class']}{{endif}}">
										<a href="{$item['link']}" {{if isset( $item['target'] )}}target='{$item['target']}'{{if $item['target'] == '_blank'}} rel="noopener"{{endif}}{{endif}} {{if isset( $item['data'] )}}{{foreach $item['data'] as $k => $v}} data-{$k}="{$v}"{{endforeach}}{{endif}}>
											{{if isset( $item['icon'] )}}
												<i class='fa fa-{$item['icon']}'></i> &nbsp;&nbsp;
											{{endif}}
											<span data-role="title">{lang="$item['title']"}</span>
										</a>
									</li>
								{{endif}}
							{{endforeach}}
						</ul>
					</div>
				{{endif}}
			</li>
		{{endforeach}}
		{{if $hasSecondary}}
			<li class='acpToolbar_more ipsResponsive_hideDesktop'>
				<a href='#' class='ipsButton ipsButton_light ipsButton_verySmall' data-action='expandPageActions'>
					<span data-role='more'>{lang="more_page_options"} <i class='fa fa-angle-down'></i></span>
					<span data-role='fewer' class='ipsHide'>{lang="fewer_page_options"} <i class='fa fa-angle-up'></i></span>
				</a>
			</li>
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="global" template_name="pageHeader" template_data="$title, $blurb='', $rawBlurb=FALSE" template_location="front" template_app="core"><![CDATA[
<div class='ipsPageHeader sm:ipsPadding:half ipsClearfix ipsMargin_bottom sm:ipsMargin_bottom:half'>
	<h1 class='ipsType_pageTitle'>{$title}</h1>
	{{if $blurb}}
		<div class='ipsPageHeader_info ipsType_light'>
			{{if !$rawBlurb}}
				{$blurb}
			{{else}}
				{$blurb|raw}
			{{endif}}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="global" template_name="pagination" template_data="$baseUrl, $pages, $activePage=1, $perPage=25, $ajax=TRUE, $pageParam='page', $simple=false" template_location="global" template_app="core"><![CDATA[{{$firstPage = $baseUrl->setPage( $pageParam );}}
{{if $activePage > 1 || $pages > 1}}
	{{$uniqId = mt_rand();}}
	<ul class='ipsPagination' id='elPagination_{expression="md5($baseUrl)"}_{$uniqId}' data-ipsPagination-seoPagination='{{if $firstPage->seoPagination}}true{{else}}false{{endif}}' data-pages='{$pages}' {{if $ajax and ( theme.ajax_pagination or \IPS\Request::i()->isAjax())}}data-ipsPagination {{if $pageParam != 'page'}}data-ipsPagination-pageParam='{$pageParam}'{{endif}} data-ipsPagination-pages="{$pages}" data-ipsPagination-perPage='{$perPage}'{{endif}}>
		{{if $simple}}
			{{if $activePage > 1}}
				<li class='ipsPagination_prev'><a href='{$baseUrl->setPage( $pageParam, $activePage - 1 )}' rel="prev" data-page='{expression="$activePage - 1"}' data-ipsTooltip title='{lang="prev_page"}'>{lang="prev"}</a></li>
			{{endif}}
			{{if $activePage < $pages}}
				<li class='ipsPagination_next'><a href='{$baseUrl->setPage( $pageParam, $activePage + 1 )}' rel="next" data-page='{expression="$activePage + 1"}' data-ipsTooltip title='{lang="next_page"}'>{lang="next"}</a></li>
			{{endif}}
		{{else}}
			{{if $activePage != 1}}
				<li class='ipsPagination_first'><a href='{$firstPage}' rel="first" data-page='1' data-ipsTooltip title='{lang="first_page"}'><i class='fa fa-angle-double-left'></i></a></li>
				<li class='ipsPagination_prev'><a href='{$baseUrl->setPage( $pageParam, $activePage - 1 )}' rel="prev" data-page='{expression="$activePage - 1"}' data-ipsTooltip title='{lang="prev_page"}'>{lang="prev"}</a></li>
				{{foreach range( ( ( $activePage - 5 ) > 0 ) ? ( $activePage - 5 ) : 1, $activePage - 1 ) as $idx => $i}}
					<li class='ipsPagination_page'><a href='{$baseUrl->setPage( $pageParam, $i )}' data-page='{$i}'>{$i}</a></li>
				{{endforeach}}
			{{else}}
				<li class='ipsPagination_first ipsPagination_inactive'><a href='{$firstPage}' rel="first" data-page='1' data-ipsTooltip title='{lang="first_page"}'><i class='fa fa-angle-double-left'></i></a></li>
				<li class='ipsPagination_prev ipsPagination_inactive'><a href='{$baseUrl->setPage( $pageParam, $activePage - 1 )}' rel="prev" data-page='{expression="$activePage - 1"}' data-ipsTooltip title='{lang="prev_page"}'>{lang="prev"}</a></li>
			{{endif}}
			<li class='ipsPagination_page ipsPagination_active'><a href='{$baseUrl->setPage( $pageParam, $activePage )}' data-page='{$activePage}'>{$activePage}</a></li>
			{{if $activePage != $pages}}
				{{foreach range( $activePage + 1, ( ( $activePage + 5 ) > $pages ) ? $pages : ( $activePage + 5 ) ) as $idx => $i}}
					<li class='ipsPagination_page'><a href='{$baseUrl->setPage( $pageParam, $i )}' data-page='{$i}'>{$i}</a></li>
				{{endforeach}}
				<li class='ipsPagination_next'><a href='{$baseUrl->setPage( $pageParam, $activePage + 1 )}' rel="next" data-page='{expression="$activePage + 1"}' data-ipsTooltip title='{lang="next_page"}'>{lang="next"}</a></li>
				<li class='ipsPagination_last'><a href='{$baseUrl->setPage( $pageParam, $pages )}' rel="last" data-page='{$pages}' data-ipsTooltip title='{lang="last_page"}'><i class='fa fa-angle-double-right'></i></a></li>
			{{else}}
				<li class='ipsPagination_next ipsPagination_inactive'><a href='{$baseUrl->setPage( $pageParam, ( $activePage + 1 > $pages ) ? $pages : $activePage + 1 )}' rel="next" data-page='{expression="( $activePage + 1 > $pages ) ? $pages : $activePage + 1"}' data-ipsTooltip title='{lang="next_page"}'>{lang="next"}</a></li>
				<li class='ipsPagination_last ipsPagination_inactive'><a href='{$baseUrl->setPage( $pageParam, $pages )}' rel="last" data-page='{$pages}' data-ipsTooltip title='{lang="last_page"}'><i class='fa fa-angle-double-right'></i></a></li>
			{{endif}}
			{{if $pages > 1}}
				<li class='ipsPagination_pageJump'>
					<a href='#' data-ipsMenu data-ipsMenu-closeOnClick='false' data-ipsMenu-appendTo='#elPagination_{expression="md5($baseUrl)"}_{$uniqId}' id='elPagination_{expression="md5($baseUrl)"}_{$uniqId}_jump'>{lang="pagination" sprintf="$activePage, $pages"} &nbsp;<i class='fa fa-caret-down'></i></a>
					<div class='ipsMenu ipsMenu_narrow ipsPadding ipsHide' id='elPagination_{expression="md5($baseUrl)"}_{$uniqId}_jump_menu'>
						<form accept-charset='utf-8' method='post' action='{$baseUrl->setPage( 'page', NULL )}' data-role="pageJump" data-baseUrl='#'>
							<ul class='ipsForm ipsForm_horizontal'>
								<li class='ipsFieldRow'>
									<input type='number' min='1' max='{$pages}' placeholder='{lang="page_number"}' class='ipsField_fullWidth' name='{$pageParam}'>
								</li>
								<li class='ipsFieldRow ipsFieldRow_fullWidth'>
									<input type='submit' class='ipsButton_fullWidth ipsButton ipsButton_verySmall ipsButton_primary' value='{lang="go"}'>
								</li>
							</ul>
						</form>
					</div>
				</li>
			{{endif}}
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="global" template_name="pixel" template_data="$events, $addScriptTags=true" template_location="front" template_app="core"><![CDATA[{{if \IPS\Settings::i()->fb_pixel_id and \IPS\Settings::i()->fb_pixel_enabled}}
{{if $addScriptTags}}<script>{{endif}}
setTimeout( function() {
	{{foreach $events as $name => $params}}
		{{$inlineParams = '';}}
		{{if \count( $params )}}
			{{$inlineParams = json_encode( $params );}}
		{{endif}}
		{{if $inlineParams}}
		fbq('track', '{$name}', {$inlineParams|raw});
		{{else}}
		fbq('track', '{$name}');
		{{endif}}
	{{endforeach}}
}, {expression="\intval( \IPS\Settings::i()->fb_pixel_delay * 1000 )"} );
{{if $addScriptTags}}</script>{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="poll" template_data="$poll, $url" template_location="global" template_app="core"><![CDATA[{{if !isset( \IPS\Request::i()->fetchPoll )}}
<section data-controller='core.front.core.poll'>
{{endif}}
	{{if $poll->canVote() and request._poll != 'results' and ( !$poll->getVote() or request._poll == 'form') and $pollForm = $poll->buildForm()}}
		<h2 class='ipsType_sectionTitle ipsType_reset'>
			<span class='ipsType_break ipsContained'>
				{$poll->poll_question}&nbsp;&nbsp;
				{{if $poll->votes}}<p class='ipsType_reset ipsPos_right ipsResponsive_hidePhone ipsType_light ipsType_unbold ipsType_medium'><i class='fa fa-check-square-o'></i> {lang="poll_num_votes" pluralize="$poll->votes"}</p>{{endif}}
			</span>
		</h2>
		<div class='ipsPadding ipsClearfix' data-role='pollContents'>
			{$pollForm->customTemplate( array( \IPS\Theme::i()->getTemplate( 'global', 'core', 'global' ), 'pollForm' ), $url, $poll )|raw}
		</div>
	{{elseif ( $poll->canViewResults() and !$poll->canVote() ) or $poll->getVote() or ( request._poll == 'results' and $poll->canViewResults() )}}
		<h2 class='ipsType_sectionTitle ipsType_reset'>
			<span class='ipsType_break ipsContained'>
				{$poll->poll_question}&nbsp;&nbsp;
				{{if $poll->votes}}<p class='ipsType_reset ipsPos_right ipsResponsive_hidePhone ipsType_light ipsType_unbold ipsType_medium'><i class='fa fa-check-square-o'></i> {lang="poll_num_votes" pluralize="$poll->votes"}</p>{{endif}}
			</span>
		</h2>
		<div class='ipsPadding ipsClearfix' data-role='pollContents'>
			<ol class='ipsList_reset cPollList'>
				{{$i = 0;}}
				{{foreach $poll->choices as $questionId => $question}}
					{{$i++;}}
					<li>
						<h3 class='ipsType_sectionHead'><span class='ipsType_break ipsContained'>{$i}. {$question['question']}</span></h3>
						<ul class='ipsList_reset cPollList_choices'>
							{{foreach $question['choice'] as $k => $choice}}
								<li class='ipsGrid ipsGrid_collapsePhone'>
									<div class='ipsGrid_span4 ipsType_richText ipsType_break'>
										{$choice|raw}
									</div>
									<div class='ipsGrid_span7'>
										<span class='cPollVoteBar'>
											<span style='width: {{if array_sum( $question['votes'] ) > 0 }}{expression="\intval( ( $question['votes'][ $k ] / array_sum( $question['votes'] ) ) * 100 )"}{{else}}0{{endif}}%' data-votes='{{if array_sum( $question['votes'] ) > 0}}{expression="round( ( $question['votes'][ $k ] / array_sum( $question['votes'] ) ) * 100, 2 )"}{{else}}0{{endif}}%' {{if array_sum( $question['votes'] ) && \intval( ( $question['votes'][ $k ] / array_sum( $question['votes'] ) ) * 100 ) > 30}}class='cPollVoteBar_inside'{{endif}}></span>
										</span>
									</div>
									<div class='ipsGrid_span1 ipsType_small'>
										{{if $poll->canSeeVoters() && $question['votes'][ $k ] > 0}}
											<a href='{url="app=core&module=system&controller=poll&do=voters&id={$poll->pid}&question={$questionId}&option={$k}"}' title='{lang="view_voters"}' class='ipsType_blendLinks' data-ipsTooltip data-ipsDialog data-ipsDialog-size="narrow" data-ipsDialog-title="{$choice}">
										{{else}}
											<span class='ipsFaded'>
										{{endif}}
											<i class='fa fa-user'></i> {$question['votes'][ $k ]}
										{{if $poll->canSeeVoters() && $question['votes'][ $k ] > 0}}
											</a>
										{{else}}
											</span>
										{{endif}}
									</div>
								</li>
							{{endforeach}}
						</ul>
					</li>
				{{endforeach}}
			</ol>
			{{if $poll->canVote() || !member.member_id || $poll->canClose() || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed ) || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed )}}
				<hr class='ipsHr'>
				{{if $poll->poll_closed}}
					<p class="ipsType_reset ipsType_medium ipsType_unbold ipsMargin_vertical:half">
						<i class='fa fa-lock'></i> {lang="poll_closed_for_votes"}
					</p>
				{{endif}}
				<ul class='ipsToolList ipsToolList_horizontal ipsClearfix cPollButtons'>
					{{if $poll->canVote()}}
						<li class='ipsPos_left ipsResponsive_noFloat ipsToolList_primaryAction'>
							<a href="{$url->setQueryString( '_poll', 'form' )}" title='{lang="show_vote_options"}' class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth' data-action='viewResults'><i class='fa fa-caret-left'></i> {lang="show_vote_options"}</a>
						</li>
					{{endif}}
					{{if !member.member_id}}
						<li class='ipsPos_left ipsResponsive_noFloat'>
							{lang="poll_guest" sprintf="\IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ), \IPS\Http\Url::internal( 'app=core&module=system&controller=register', 'front', 'register' )"}
						</li>
					{{endif}}
					{{if $poll->canClose()}}
						{{if ! $poll->poll_closed}}
							<li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 0 ) )->csrf()}'><i class="fa fa-lock"></i> {lang="poll_close"}</a></li>
						{{else}}
							<li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 1 ) )->csrf()}'><i class="fa fa-unlock"></i> {lang="poll_open"}</a></li>
						{{endif}}
					{{endif}}
					{{if ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed}}
						<li class='ipsPos_right cPollCloseDate ipsResponsive_noFloat'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closes_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
					{{elseif ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed}}
						<li class='ipsPos_right cPollCloseDate ipsResponsive_noFloat'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closed_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
					{{endif}}
                </ul>
			{{endif}}
		</div>
	{{else}}
		<h2 class='ipsType_sectionTitle ipsType_reset'>
			<span class='ipsType_break ipsContained'>
				{$poll->poll_question}&nbsp;&nbsp;
				{{if $poll->votes}}<p class='ipsType_reset ipsPos_right ipsResponsive_hidePhone ipsType_light'><i class='fa fa-check-square-o'></i> {lang="poll_num_votes" pluralize="$poll->votes"}</p>{{endif}}
			</span>			
		</h2>
		<div class='ipsPadding ipsClearfix' data-role='pollContents'>
			{lang="no_permission_poll"}{{if !\IPS\Member::loggedIn()->member_id}} {lang="poll_guest" sprintf="\IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ), \IPS\Http\Url::internal( 'app=core&module=system&controller=register', 'front', 'register' )"}{{endif}}

            {{if $poll->canClose() || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed ) || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed )}}
            <hr class='ipsHr'>
            <ul class='ipsToolList ipsToolList_horizontal ipsClearfix cPollButtons'>
                {{if $poll->canClose()}}
                    {{if !$poll->poll_closed}}
                        <li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 0 ) )->csrf()}'><i class="fa fa-lock"></i> {lang="poll_close"}</a></li>
                    {{else}}
                        <li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 1 ) )->csrf()}'><i class="fa fa-unlock"></i> {lang="poll_open"}</a></li>
                    {{endif}}
                {{endif}}

                {{if ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed}}
                    <li class='ipsPos_right ipsResponsive_noFloat cPollCloseDate'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closes_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
                {{elseif ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed}}
                    <li class='ipsPos_right ipsResponsive_noFloat cPollCloseDate'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closed_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
                {{endif}}
            </ul>
            {{endif}}
        </div>
	{{endif}}
{{if !isset( \IPS\Request::i()->fetchPoll )}}
</section>
{{endif}}]]></template>
 <template template_group="global" template_name="pollForm" template_data="$url, $poll, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="global" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$url->stripQueryString( array( 'fetchPoll', 'viewResults' ) )}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}		
	{{foreach $elements as $collection}}
		<ol class='ipsList_reset cPollList cPollList_questions'>
			{{$i = 0;}}
			{{foreach $collection as $idx => $input}}
				{{$i++;}}
				<li class='ipsFieldRow ipsFieldRow_noLabel'>
					<h3 class='ipsType_sectionHead'><span class='ipsType_break ipsContained'>{$i}. {$input->label}</span></h3>
					<div class='ipsType_break ipsContained'>
					{{if !$input->options['multiple']}}
						{template="radio" app="core" location="global" group="forms" params="$input->name, $input->value, $input->required, $input->options['options'], $input->options['disabled'], '', $input->options['disabled']"}
					{{else}}
						{template="checkboxset" app="core" location="global" group="forms" params="$input->name, $input->value, $input->required, $input->options['options'], FALSE, NULL, $input->options['disabled'], $input->options['toggles'], NULL, NULL, 'all', array(), TRUE, isset( $input->options['descriptions'] ) ? $input->options['descriptions'] : NULL, FALSE, FALSE, $input->options['condense']"}
					{{endif}}
					</div>
					{{if $input->error}}
						<br>
						<span class="ipsType_warning">{lang="$input->error"}</span>
					{{endif}}
				</li>
			{{endforeach}}
		</ol>
	{{endforeach}}
	<hr class='ipsHr'>
	{{if $poll->poll_view_voters}}
		<p class="ipsType_reset ipsType_medium ipsType_unbold ipsMargin_vertical:half">
			{lang="poll_is_public"}
		</p>
	{{endif}}
	<ul class="ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix cPollButtons ipsMargin_top ipsMargin_bottom:none">
		<li class='ipsPos_left ipsResponsive_noFloat ipsToolList_primaryAction'>
			<button type="submit" class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth" tabindex="2" accesskey="s" role="button">{lang="save_vote"}</button>
		</li>
		<li class='ipsPos_left ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' title='{lang="show_results_title"}' href="{$url->setQueryString( array( '_poll' => 'results', 'nullVote' => 1 ) )->csrf()}" {{if !settings.allow_result_view}}data-viewResults-confirm="{lang="warn_allow_result_view"}"{{endif}} data-action='viewResults'>{lang="show_results"}</a></li>
        {{if $poll->canClose()}}
			{{if ! $poll->poll_closed}}
				<li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 0 ) )->csrf()}'><i class="fa fa-lock"></i> {lang="poll_close"}</a></li>
			{{else}}
				<li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 1 ) )->csrf()}'><i class="fa fa-unlock"></i> {lang="poll_open"}</a></li>
			{{endif}}
		{{endif}}
		{{if ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed}}
			<li class='ipsPos_right ipsResponsive_noFloat cPollCloseDate'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closes_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
		{{elseif ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed}}
			<li class='ipsPos_right ipsResponsive_noFloat cPollCloseDate'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closed_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li>
		{{endif}}
	</ul>
</form>]]></template>
 <template template_group="global" template_name="pollVoters" template_data="$votes" template_location="global" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	<div class='ipsBox_alt'>
{{endif}}
		<ul class="ipsGrid ipsGrid_collapsePhone ipsPad">
			{{foreach $votes as $vote}}
				<li class='ipsGrid_span6 ipsPhotoPanel ipsPhotoPanel_mini'>
					{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $vote->member_id ), 'mini'"}
					<div class='ipsType_break'>
						<h3 class='ipsType_normal ipsType_reset ipsTruncate ipsTruncate_line'>{member="name" id="$vote->member_id"}</h3>
						<span class="ipsType_light ipsType_medium">{datetime="$vote->vote_date"}</span>
					</div>
				</li>
			{{endforeach}}
		</ul>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="prefix" template_data="$encoded, $text" template_location="front" template_app="core"><![CDATA[{{if $text}}
	<a href="{url="app=core&module=search&controller=search&tags={$encoded}" seoTemplate="tags"}" title="{lang="find_tagged_content" sprintf="$text"}" class='ipsTag_prefix' rel="tag" data-tag-label='{$text}'><span>{$text}</span></a>
{{endif}}]]></template>
 <template template_group="global" template_name="prettyprint" template_data="$code" template_location="global" template_app="core"><![CDATA[<pre class='prettyprint'>{$code}</pre>]]></template>
 <template template_group="global" template_name="profileNextStep" template_data="$nextStep, $canDismiss=false, $hideOnCompletion=true" template_location="front" template_app="core"><![CDATA[{{$completion = \intval( (string) \IPS\Member::loggedIn()->profileCompletionPercentage() );}}
{{if ! ( $completion == 100 and $hideOnCompletion )}}
<div class='ipsBox ipsPad ipsSpacer_bottom' data-role='profileWidget' data-controller="core.front.core.profileCompletion">
	<div>
		{{if $completion < 100}}
		<ul class="ipsButton_split ipsPos_right ipsSpacer_bottom">
			<li>
				<a class="ipsButton ipsButton_important ipsButton_veryVerySmall" href="{url="app=core&module=system&controller=settings&do=completion&_new=1" ref="(string) \IPS\Request::i()->url()" seoTemplate="settings"}">{lang="complete_my_profile"}</a>
			</li>
			{{if $canDismiss}}
			<li>
				<a class="ipsButton ipsButton_link ipsButton_linkNeutral ipsButton_veryVerySmall" href='{url="app=core&module=system&controller=settings&do=dismissProfile" ref="(string) \IPS\Request::i()->url()" csrf="true"}' data-role='dismissProfile'>{lang="dismiss"}</a>
			</li>
			{{endif}}
		</ul>
		<h4 class="ipsType_reset ipsType_normal"><strong>{lang="profile_step_next"} {lang="profile_step_title_{$nextStep->id}"}</strong></h4>
		{{endif}}
	</div>
	<div class="ipsProgressBar ipsProgressBar_fullWidth">
		<div class='ipsProgressBar_progress' style='width: {expression="\IPS\Member::loggedIn()->profileCompletionPercentage()"}%'>
			{lang="profile_completion_percent" sprintf="$completion . '%'"}
		</div>
	</div>
</div>
{{endif}}]]></template>
 <template template_group="global" template_name="promote" template_data="$object" template_location="front" template_app="core"><![CDATA[{{if $object->canPromoteToSocialMedia() and ( $object instanceof \IPS\Content or $object instanceof \IPS\Node\Model )}}
	{{$column = $object::$databaseColumnId;}}
	{template="promoteLink" app="core" group="global" params="$object, \IPS\core\Promote::loadByClassAndId( \get_class( $object ), $object->$column, TRUE ), TRUE"}
{{endif}}

]]></template>
 <template template_group="global" template_name="promoteLink" template_data="$object, $promote=NULL, $withIcons=FALSE" template_location="front" template_app="core"><![CDATA[{{$class = \get_class($object);}}
{{$column = $class::$databaseColumnId;}}
{{$id = $object->$column;}}
{{if $promote and $promote->id}}
	<a href='{url="app=core&module=promote&controller=promote&class={$class}&id={$id}&promote_id={$promote->id}&repromote=1" seoTemplate="promote"}' data-ipsDialog-flashMessage="{lang="promote_flash_msg"}" data-ipsDialog-fixed data-ipsDialog-size='large' data-ipsDialog-flashMessageTimeout="5" data-ipsDialog-flashMessageEscape="false" data-ipsDialog data-ipsDialog-remoteSubmit="true" data-ipsDialog-title="{lang="promote_social_button"}" class="ipsType_blendLinks ipsType_noUnderline">
{{else}}
	<a href='{url="app=core&module=promote&controller=promote&class={$class}&id={$id}" seoTemplate="promote"}' data-ipsDialog-flashMessage="{lang="promote_flash_msg"}" data-ipsDialog-flashMessageTimeout="5" data-ipsDialog-flashMessageEscape="false" data-ipsDialog-fixed data-ipsDialog-size='large' data-ipsDialog data-ipsDialog-remoteSubmit="true" data-ipsDialog-title="{lang="promote_social_button"}" class="ipsType_blendLinks ipsType_noUnderline">
{{endif}}
{{if $withIcons}}
	<div class="ipsPromote ipsButton ipsButton_verySmall ipsButton_light">
		<span class='ipsMargin_right:half'>
			{{foreach \IPS\core\Promote::promoteServices() as $service}}
				<i class="fa fa-{$service::$icon}"></i>
			{{endforeach}}		
		</span>
		{{if $promote and $promote->id}}{lang="promote_social_button_repromote"}{{else}}{lang="promote_social_button"}{{endif}}
	</div>
{{else}}
	{{if $promote and $promote->id}}{lang="promote_social_button_repromote"}{{else}}{lang="promote_social_button"}{{endif}}
{{endif}}
	</a>
]]></template>
 <template template_group="global" template_name="queryLog" template_data="$log" template_location="front" template_app="core"><![CDATA[<div id="elQueryLog">
	<h3 class='ipsType_center'>{expression="\count( $log )"}</h3>
	{{foreach $log as $i => $query}}
		<div>
			<pre class="prettyprint lang-sql" data-ipsDialog data-ipsDialog-content="#elQueryLog{$i}_menu">{{if $query['server']}}({$query['server']}): {{endif}}{$query['query']}</pre>
			{{if $query['extra']}}
				<div class="ipsType_center">
					<strong class="ipsType_warning"><i class="fa fa-exclamation-circle"></i> {$query['extra']}</strong>
				</div>
				<br>
			{{endif}}
			<div id='elQueryLog{$i}_menu' class='ipsPad ipsHide'>
				<br>
				<pre>{$query['query']}</pre>
				<hr class="ipsHr">
				<pre class="prettyprint lang-php">{$query['backtrace']}</pre>
				<br>
			</div>
		</div>
		<hr class="ipsHr">
	{{endforeach}}
</div>]]></template>
 <template template_group="global" template_name="quickSearch" template_data="$preview=FALSE" template_location="front" template_app="core"><![CDATA[{{if !$preview and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'search' ) ) AND !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}
	<div id="elSearchWrapper">
		<div id='elSearch' data-controller="core.front.core.quickSearch">
			<form accept-charset='utf-8' action='{url="app=core&module=search&controller=search&do=quicksearch" seoTemplate="search" noprotocol="true"}' method='post'>
                <input type='search' id='elSearchField' placeholder='{lang="search_placeholder"}' name='q' autocomplete='off' aria-label='{lang="search"}'>
                <details class='cSearchFilter'>
                    <summary class='cSearchFilter__text'></summary>
                    <ul class='cSearchFilter__menu'>
                        {{$option = \IPS\Output::i()->defaultSearchOption;}}
                        <li><label><input type="radio" name="type" value="all" {{if \IPS\Output::i()->defaultSearchOption[0] == 'all'}} checked{{endif}}><span class='cSearchFilter__menuText'>{lang="everywhere"}</span></label></li>
                        {{if \count( output.contextualSearchOptions )}}
                            {{foreach array_reverse( output.contextualSearchOptions ) as $name => $data}}
                                <li><label><input type="radio" name="type" value='contextual_{expression="json_encode( $data )"}'{{if \IPS\Output::i()->defaultSearchOption[0] == $data['type']}} checked{{endif}}><span class='cSearchFilter__menuText'>{lang="$name"}</span></label></li>
                            {{endforeach}}
                        {{endif}}
                        {{foreach output.globalSearchMenuOptions() as $type => $name}}
                            <li><label><input type="radio" name="type" value="{$type}"{{if empty(\IPS\Output::i()->contextualSearchOptions) and \IPS\Output::i()->defaultSearchOption[0] == $type}} checked{{endif}}><span class='cSearchFilter__menuText'>{lang="$name"}</span></label></li>
                        {{endforeach}}
                    </ul>
                </details>
				<button class='cSearchSubmit' type="submit" aria-label='{lang="search"}'><i class="fa fa-search"></i></button>
			</form>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="rank" template_data="$rank, $cssClass=NULL" template_location="global" template_app="core"><![CDATA[<img src='{{if $rank->icon}}{$rank->_icon->url}{{else}}{$rank->_icon}{{endif}}' loading="lazy" alt="{$rank->_title}" class="{$cssClass}" data-ipsTooltip title="{lang="profile_rank"}: {$rank->_title} ({$rank->rankPosition()['pos']}/{$rank->rankPosition()['max']})">]]></template>
 <template template_group="global" template_name="rating" template_data="$size, $value, $max=5, $memberRating=NULL" template_location="front" template_app="core"><![CDATA[<div {{if $memberRating}}data-ipsTooltip title='{lang="you_rated_x_stars" sprintf="$memberRating, $max, $value"}'{{endif}} class='ipsClearfix ipsRating {{if $memberRating}}ipsRating_rated{{endif}} {{if $size}}ipsRating_{$size}{{endif}}'>
	{{if $memberRating}}
		<ul class='ipsRating_mine'>
			{{foreach range( 1, $max ) as $i}}
				{{if $i <= $memberRating}}
					<li class='ipsRating_on'>
						<i class='fa fa-star'></i>
					</li>
				{{else}}
					<li class='ipsRating_off'>
						<i class='fa fa-star'></i>
					</li>
				{{endif}}
			{{endforeach}}
		</ul>
	{{endif}}
	<ul class='ipsRating_collective'>
		{{foreach range( 1, $max ) as $i}}
			{{if $i <= $value}}
				<li class='ipsRating_on'>
					<i class='fa fa-star'></i>
				</li>
			{{elseif ( $i - 0.5 ) <= $value}}
				<li class='ipsRating_half'>
					<i class='fa fa-star-half'></i><i class='fa fa-star-half fa-flip-horizontal'></i>
				</li>
			{{else}}
				<li class='ipsRating_off'>
					<i class='fa fa-star'></i>
				</li>
			{{endif}}
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="global" template_name="reactionBlurb" template_data="$content" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Content\Reaction::isLikeMode()}}
	{{$reactions = \IPS\Content\Reaction::roots();}}
	<ul class='ipsReact_reactions'>
		{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
			<li class="ipsReact_overview ipsType_blendLinks">
				{$content->whoReacted()}
			</li>
		{{endif}}
		{{foreach $content->reactBlurb() AS $key => $count}}
			{{if isset( $reactions[ $key ] )}}
				{{$reaction = $reactions[ $key ];}}
				<li class='ipsReact_reactCount'>
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						<a href='{$content->url('showReactions')->setQueryString( 'reaction', $reaction->id )}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title='{lang="see_who_reacted"}' data-ipsTooltip data-ipsTooltip-label="<strong>{lang="reaction_title_{$reaction->id}"}</strong><br>{lang="loading"}" data-ipsTooltip-ajax="{$content->url('showReactions')->setQueryString( array( 'reaction' => $reaction->id, 'tooltip' => 1 ) )}" data-ipsTooltip-safe title="{lang="see_who_reacted_x" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'reaction_title_' . $reaction->id )" escape="true"}">
					{{else}}
						<span data-ipsTooltip title="{lang="reaction_title_{$reaction->id}" escape="true"}">
					{{endif}}
							<span>
								<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" loading="lazy">
							</span>
							<span>
								{$count}
							</span>
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						</a>
					{{else}}
						</span>
					{{endif}}
				</li>
			{{endif}}
		{{endforeach}}
	</ul>
{{else}}
	{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
	<span class='ipsType_blendLinks'>
		{$content->whoReacted()}
		{{if \IPS\Member::loggedIn()->modPermission('can_remove_reactions')}}
			<a href='{$content->url('showReactions')}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title='{lang="edit_who_reacted"}' data-ipsTooltip title='{lang="edit_who_reacted"}'>&nbsp;<i class="fa fa-pencil"></i></a>
		{{endif}}
	</span>
	{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="reactionLog" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	<li class='ipsGrid_span6 ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
		{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['member_id'] ), 'mini'"}
		<div>
			<h3 class='ipsType_normal ipsType_reset ipsTruncate ipsTruncate_line'>{template="userLink" app="core" group="global" params="\IPS\Member::load( $row['member_id'] )"}</h3>
			<span class='ipsType_light'>
				{{if !isset( \IPS\Request::i()->reaction ) || \IPS\Request::i()->reaction == 'all'}}
					{{$reaction = \IPS\Content\Reaction::load( $row['reaction'] );}}
					<img src='{$reaction->_icon->url}' height='20' width='20' loading="lazy">
				{{endif}} <span class='ipsType_medium'>{$row['rep_date']|raw}</span>
			</span>
			{{if \IPS\Member::loggedIn()->modPermission('can_remove_reactions') and \count( $row['_buttons'] )}}
				<a href="{$row['_buttons']['delete']['link']}" {{if isset( $row['_buttons']['delete']['data'] )}}
					{{foreach $row['_buttons']['delete']['data'] as $k => $v}}
						data-{$k}="{$v}"
					{{endforeach}}
					{{endif}}><i class="fa fa-{$row['_buttons']['delete']['icon']}"></i></a>
			{{endif}}
		</div>
	</li>
{{endforeach}}]]></template>
 <template template_group="global" template_name="reactionLogTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>

	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>

	{{if \count( $rows )}}
		<ol class='ipsGrid ipsGrid_collapsePhone ipsPad ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows" itemscope itemtype="http://schema.org/ItemList">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center ipsPad'>
			<p class='ipsType_large ipsType_light'>{lang="no_rows_in_table"}</p>
			{{if method_exists( $table, 'container' ) AND $table->container() !== NULL}}
				{{if $table->container()->can('add')}}
					<a href='{$table->container()->url()->setQueryString( 'do', 'add' )}' class='ipsButton ipsButton_primary ipsButton_medium'>
						{lang="submit_first_row"}
					</a>
				{{endif}}
			{{endif}}
		</div>
	{{endif}}
				
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="global" template_name="reactionOverview" template_data="$content, $showCount=TRUE, $size=NULL" template_location="front" template_app="core"><![CDATA[
<div class='ipsReactOverview {{if \IPS\Settings::i()->reaction_count_display == 'count'}}ipsReactOverview--points{{else}}ipsReactOverview--reactions{{endif}} {{if $size}}ipsReactOverview_{$size}{{endif}}'>
	{{if \IPS\Settings::i()->reaction_count_display == 'count'}}
		<div class='ipsType_center'>
			<span class='ipsReact_reactCountOnly ipsType_center {{if $content->reactionCount() >= 1}}ipsAreaBackground_positive{{elseif $content->reactionCount() < 0}}ipsAreaBackground_negative{{else}}ipsAreaBackground_light{{endif}} ipsType_blendLinks'>
				{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
					<a href='{$content->url('showReactions')}' data-ipsTooltip title="{lang="see_who_reacted" escape="true"}" data-ipsDialog data-ipsDialog-title="{lang="see_who_reacted" escape="true"}">
				{{endif}}
					{$content->reactionCount()}
				{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
					</a>
				{{endif}}
			</span>
		</div>
		<p class='ipsType_reset ipsType_center'>
			{lang="repuation_points"}
		</p>
	{{else}}
		{{if \count( $content->reactBlurb() )}}
			{{$isItem = ( $content instanceof \IPS\Content\Item ) ? 1 : 0;}}
			<ul>
				{{foreach array_reverse( $content->reactBlurb(), TRUE ) AS $key => $count}}
					{{$reaction = \IPS\Content\Reaction::load( $key );}}
					<li>
						{{if\IPS\Member::loggedIn()->group['gbw_view_reps']}}
							<a href='{$content->url('showReactions')->setQueryString( array( 'reaction' => $reaction->id, 'item' => $isItem ) )}' data-ipsDialog data-ipsDialog-title='{lang="see_who_reacted"}' data-ipsTooltip title="{lang="see_who_reacted_x" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'reaction_title_' . $reaction->id )" escape="true"}">
						{{else}}
							<span data-ipsTooltip title="{lang="reaction_title_{$reaction->id}"}">
						{{endif}}
								<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" loading="lazy">
						{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
							</a>
						{{else}}
							</span>
						{{endif}}
					</li>
				{{endforeach}}
			</ul>
		{{endif}}
		{{if $showCount && $size == 'small' && \count( $content->reactions() )}}
			<span class='ipsType_medium'>{expression="\count( $content->reactions() )"}</span>
		{{elseif $showCount}}
			<p class='ipsType_reset ipsType_center'>
				{lang="react_total" pluralize="\count( $content->reactions() )"}
			</p>
		{{endif}}
	{{endif}}
</div>]]></template>
 <template template_group="global" template_name="reactionTabs" template_data="$tabs, $activeId, $defaultContent, $url, $tabParam='tab', $parseNames=TRUE, $contained=FALSE" template_location="front" template_app="core"><![CDATA[<div class='ipsTabs ipsClearfix cReactionTabs' id='elTabs_{expression="md5( $url )"}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{expression="md5( $url )"}' {{if \IPS\Request::i()->isAjax()}}data-ipsTabBar-updateURL='false'{{endif}}>
	<a href='#elTabs_{expression="md5( $url )"}' {{if \count( $tabs ) > 1}}data-action='expandTabs'><i class='fa fa-caret-down'></i>{{else}}>{{endif}}</a>
	<ul role='tablist'>
		{{foreach $tabs as $i => $tab}}
			<li>
				<a href='{$url->setQueryString( $tabParam, $i )}' id='{expression="md5( $url )"}_tab_{$i}' class="ipsTabs_item {{if isset( $tab['count'] ) && $tab['count'] == 0}}ipsTabs_itemDisabled{{endif}} {{if $i == $activeId}}ipsTabs_activeItem{{endif}}" title='{{if $parseNames}}{striptags="\IPS\Member::loggedIn()->language()->get( $tab['title'] )"}{{else}}{striptags="$tab['title']"}{{endif}}' role="tab" aria-selected="{{if $i == $activeId}}true{{else}}false{{endif}}">
					{{if isset( $tab['icon'] )}}
						<img src='{file="$tab['icon']" extension="core_Reaction"}' width='20' height='20' alt="{lang="reaction_title_{$i}"}" data-ipsTooltip title="{lang="reaction_title_{$i}"}" loading="lazy">
					{{endif}}
					{{if $parseNames}}{lang="$tab['title']"}{{else}}{$tab['title']|raw}{{endif}}
					{{if isset( $tab['count'] )}}
						<span class='ipsType_light'>({$tab['count']})</span>
					{{endif}}
				</a>
			</li>
		{{endforeach}}
	</ul>
</div>

<section id='ipsTabs_content_{expression="md5( $url )"}' class='ipsTabs_panels {{if $contained}}ipsTabs_contained{{endif}}'>
	{{foreach $tabs as $i => $tab}}
		{{if $i == $activeId}}
			<div id='ipsTabs_elTabs_{expression="md5( $url )"}_{expression="md5( $url )"}_tab_{$i}_panel' class="ipsTabs_panel" aria-labelledby="{expression="md5( $url )"}_tab_{$i}" aria-hidden="false">
				{$defaultContent|raw}
			</div>
		{{endif}}
	{{endforeach}}
</section>
]]></template>
 <template template_group="global" template_name="reactionTooltip" template_data="$reaction, $names, $others" template_location="front" template_app="core"><![CDATA[<strong>{$reaction->_title}</strong>
{{foreach $names as $name}}
	<br>{$name}
{{endforeach}}
{{if $others}}
	<br>{lang="react_blurb_others_secondary" pluralize="$others"}
{{endif}}]]></template>
 <template template_group="global" template_name="redirect" template_data="$url, $message" template_location="global" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{lang="redirecting"}</title>
		<meta http-equiv="refresh" content="2; url={$url}">
		<meta name="robots" content="noindex,nofollow">
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}
	</head>
	<body>
		<p class="ipsMessage ipsMessage_info ipsRedirectMessage">
			<strong>{lang="$message"}</strong><br>
			<br>
			{lang="redirecting_wait"}
		</p>
		{template="includeJS" app="core" group="global" location="global" params=""}
	</body>
</html>]]></template>
 <template template_group="global" template_name="referralBanner" template_data="$url" template_location="global" template_app="core"><![CDATA[<img src="{file="$url" extension="core_ReferralBanners"}" class="ipsImage">]]></template>
 <template template_group="global" template_name="reputation" template_data="$content, $extraClass='', $forceType=NULL" template_location="front" template_app="core"><![CDATA[{{if \IPS\IPS::classUsesTrait( $content, 'IPS\Content\Reactable' ) and settings.reputation_enabled and $enabledReactions = \IPS\Content\Reaction::enabledReactions()}}
	<div data-controller='core.front.core.reaction' class='ipsItemControls_right ipsClearfix {{if $extraClass}}{$extraClass}{{endif}}'>	
		<div class='ipsReact ipsPos_right'>
			{{if \IPS\Settings::i()->reaction_count_display == 'count'}}
				{{$reactionCount = $content->reactionCount();}}
				<div class='ipsReact_reactCountOnly {{if $reactionCount >= 1}}ipsAreaBackground_positive{{elseif $reactionCount < 0}}ipsAreaBackground_negative{{else}}ipsAreaBackground_light{{endif}} ipsType_blendLinks {{if !\count( $content->reactions() )}}ipsHide{{endif}}' data-role='reactCount'>
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						<a href='{$content->url('showReactions')}' data-ipsTooltip title='{lang="see_who_reacted" escape="true"}' data-ipsDialog data-ipsDialog-title='{lang="see_who_reacted" escape="true"}'>
					{{endif}}
					<span data-role='reactCountText'>{$reactionCount}</span>
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						</a>
					{{endif}}
				</div>
			{{else}}
				{{$reactBlurb = $content->reactBlurb();}}
				<div class='ipsReact_blurb {{if !$reactBlurb}}ipsHide{{endif}}' data-role='reactionBlurb'>
					{{if $reactBlurb}}
						{template="reactionBlurb" group="global" app="core" params="$content"}
					{{endif}}
				</div>
			{{endif}}
			
			{{if $content->canReact()}}
				{{$defaultReaction = reset( $enabledReactions );}}
				{{$reactButton = ( $reacted = $content->reacted() and isset( $enabledReactions[ $reacted->id ] ) ) ? $enabledReactions[ $reacted->id ] : $defaultReaction;}}

				<div class='ipsReact_types' data-role='reactionInteraction' data-unreact="{$content->url( 'unreact' )->csrf()}">
					{{if !\IPS\Content\Reaction::isLikeMode()}}
						<ul class='ipsList_inline' data-role='reactTypes'>
							{{foreach $enabledReactions as $reaction}}
								{{if $reaction->id == $reactButton->id}}
									{{continue;}}
								{{endif}}

								<li>
									<a href='{$content->url( 'react' )->setQueryString( 'reaction', $reaction->id )->csrf()}' class='ipsReact_reaction' data-role="reaction" {{if $reaction->id == $defaultReaction->id}}data-defaultReaction{{endif}}>
										<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" data-ipsTooltip title="{lang="reaction_title_{$reaction->id}" escape="true"}" loading="lazy">
										<span class='ipsReact_name'>{lang="reaction_title_{$reaction->id}"}</span>
									</a>
								</li>
							{{endforeach}}
						</ul>
					{{endif}}

					<span class='ipsReact_button {{if $reacted !== FALSE}}ipsReact_reacted{{endif}}' data-action='reactLaunch'>
						<a href='{$content->url( 'react' )->setQueryString( 'reaction', $reactButton->id )->csrf()}' class='ipsReact_reaction' data-role="reaction" {{if $reactButton->id == $defaultReaction->id}}data-defaultReaction{{endif}}>
							<img src='{$reactButton->_icon->url}' alt="{lang="reaction_title_{$reactButton->id}" escape="true"}" data-ipsTooltip title="{lang="reaction_title_{$reactButton->id}" escape="true"}" loading="lazy">
							<span class='ipsReact_name'>{lang="reaction_title_{$reactButton->id}"}</span>
						</a>
					</span>

					<a href='{$content->url( 'unreact' )->csrf()}' class='ipsReact_unreact {{if $reacted == FALSE}}ipsHide{{endif}}' data-action='unreact' data-ipsTooltip title='{lang="reaction_remove"}'>&times;</a>
				</div>
			{{endif}}
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="reputationBadge" template_data="$author" template_location="front" template_app="core"><![CDATA[{{if settings.reputation_enabled and settings.reputation_show_profile and $author->member_id}}
	{{if member.group['gbw_view_reps']}}
		<a href='{url="app=core&module=members&controller=profile&id={$author->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$author->members_seo_name"}' title="{lang="reputation_badge_tooltip"}" data-ipsTooltip class='ipsRepBadge {{if $author->pp_reputation_points > 0}}ipsRepBadge_positive{{elseif $author->pp_reputation_points < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'>
	{{else}}
		<span title="{lang="reputation_badge_tooltip"}" data-ipsTooltip class='ipsRepBadge {{if $author->pp_reputation_points > 0}}ipsRepBadge_positive{{elseif $author->pp_reputation_points < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'>
	{{endif}}
			<i class='fa {{if $author->pp_reputation_points > 0}}fa-plus-circle{{elseif $author->pp_reputation_points < 0}}fa-minus-circle{{else}}fa-circle{{endif}}'></i> {number="abs( $author->pp_reputation_points )"}
	{{if member.group['gbw_view_reps']}}
		</a>
	{{else}}
		</span>
	{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="reputationLog" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	<li class='ipsGrid_span6 ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
		{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $row['member_id'] ), 'mini'"}
		<div>
			<h3 class='ipsType_normal ipsType_reset ipsTruncate ipsTruncate_line'>{template="userLink" app="core" group="global" params="\IPS\Member::load( $row['member_id'] )"}</h3>
			<span class='ipsType_light'>
				{{if $row['rep_rating'] === '1' && settings.reputation_point_types != 'like'}}<i class='ipsType_large ipsType_positive fa fa-arrow-circle-up'></i>{{elseif settings.reputation_point_types != 'like'}}<i class='ipsType_large ipsType_negative fa fa-arrow-circle-down'></i>{{endif}} <span class='ipsType_medium'>{datetime="$row['rep_date']"}</span>
			</span>
		</div>
	</li>
{{endforeach}}]]></template>
 <template template_group="global" template_name="reputationLogTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>

	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>


	{{if \count( $rows )}}
		<ol class='ipsGrid ipsGrid_collapsePhone ipsPad ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center ipsPad'>
			<p class='ipsType_large ipsType_light'>{lang="no_rows_in_table"}</p>
			{{if method_exists( $table, 'container' ) AND $table->container() !== NULL}}
				{{if $table->container()->can('add')}}
					<a href='{$table->container()->url()->setQueryString( 'do', 'add' )}' class='ipsButton ipsButton_primary ipsButton_medium'>
						{lang="submit_first_row"}
					</a>
				{{endif}}
			{{endif}}
		</div>
	{{endif}}
				
	
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="global" template_name="reputationMini" template_data="$content, $allowRep=TRUE" template_location="front" template_app="core"><![CDATA[{{$allowRep = TRUE;}}
<div data-controller='core.front.core.reaction' class='ipsReact ipsReact_mini {{if !$allowRep}}ipsReact_miniNoInteraction{{endif}}'>
	
	{{if $content}}
		{{if \IPS\Settings::i()->reaction_count_display == 'count'}}
			<div class='ipsReact_reactCountOnly ipsReact_reactCountOnly_mini {{if $content->reactionCount() >= 1}}ipsAreaBackground_positive{{elseif $content->reactionCount() < 0}}ipsAreaBackground_negative{{else}}ipsAreaBackground_light{{endif}} ipsType_blendLinks {{if !\count( $content->reactions() )}}ipsHide{{endif}}' data-role='reactCount'>
				{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
					<a href='{$content->url('showReactions')}' data-ipsTooltip title='{lang="see_who_reacted" escape="true"}' data-ipsDialog data-ipsDialog-title='{lang="see_who_reacted" escape="true"}'>
				{{endif}}
				<span data-role='reactCountText'>{$content->reactionCount()}</span>
				{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
					</a>
				{{endif}}
			</div>
		{{else}}
			<div class='ipsReact_blurb {{if !$content->reactBlurb()}}ipsHide{{endif}}' data-role='reactionBlurb'>
				{{if $content->reactBlurb()}}
					{template="reactionBlurb" group="global" app="core" params="$content"}
				{{endif}}
			</div>
		{{endif}}
		
		{{if $content->canReact()}}
			{{$reactButton = NULL;}}
			{{$defaultReaction = NULL;}}
	
			{{foreach \IPS\Content\Reaction::roots() AS $id => $reaction}}
				{{if !$defaultReaction}}
					{{$defaultReaction = $reaction;}}
				{{endif}}
				{{if ( $content->reacted() !== FALSE && $reaction->id == $content->reacted()->id ) || ( $content->reacted() === FALSE )}}
					{{$reactButton = $reaction;}}
					{{break;}}
				{{endif}}
			{{endforeach}}
			{{if $allowRep}}
				<span class='ipsReact_count ipsHide' data-role="reactCount">
					<a href='{$content->url('showReactions')}' data-ipsDialog data-ipsDialog-title='{lang="see_who_reacted"}'>
						{expression="\count( $content->reactions() )"}
					</a>
				</span>
				<div class='ipsReact_types' data-role='reactionInteraction' data-unreact="{$content->url( 'unreact' )->csrf()}">
					{{if !\IPS\Content\Reaction::isLikeMode()}}
						<ul class='ipsList_inline' data-role='reactTypes'>
							{{foreach \IPS\Content\Reaction::roots() AS $id => $reaction}}
							{{if $reaction->id == $reactButton->id OR $reaction->_enabled === FALSE}}
							{{continue;}}
							{{endif}}
	
								<li>
									<a href='{$content->url( 'react' )->setQueryString( 'reaction', $reaction->id )->csrf()}' class='ipsReact_reaction' data-role="reaction" {{if $reaction->id == $defaultReaction->id}}data-defaultReaction{{endif}}>
										<img src='{$reaction->_icon->url}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}" data-ipsTooltip title="{lang="reaction_title_{$reaction->id}" escape="true"}">
										<span class='ipsReact_name'>{lang="reaction_title_{$reaction->id}"}</span>
									</a>
								</li>
							{{endforeach}}
							<li>
								<a href='{$content->url( 'unreact' )->csrf()}' class='ipsReact_unreact {{if $content->reacted() == FALSE}}ipsHide{{endif}}' data-action='unreact' data-ipsTooltip title='{lang="reaction_remove"}'>&times;</a>
							</li>
						</ul>
					{{endif}}
	
					<span class='ipsReact_button {{if $content->reacted() !== FALSE}}ipsReact_reacted{{endif}}' data-action='reactLaunch'>
						<a href='{$content->url( 'react' )->setQueryString( 'reaction', $reactButton->id )->csrf()}' class='ipsReact_reaction' data-role="reaction" {{if $reactButton->id == $defaultReaction->id}}data-defaultReaction{{endif}}>
							<img src='{$reactButton->_icon->url}' alt="{lang="reaction_title_{$reactButton->id}" escape="true"}" data-ipsTooltip title="{lang="reaction_title_{$reactButton->id}" escape="true"}">
							<span class='ipsReact_name'>{lang="reaction_title_{$reactButton->id}"}</span>
						</a>
					</span>
				</div>
			{{endif}}
		{{endif}}
	{{endif}}
</div>]]></template>
 <template template_group="global" template_name="reputationOthers" template_data="$contentURL, $lang, $names" template_location="front" template_app="core"><![CDATA[{{if \IPS\Content\Reaction::isLikeMode()}}
<a href='{$contentURL}' data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-size='medium' data-ipsDialog-title='{lang="like_log_title"}' title='{lang="see_who_liked"}' data-ipsTooltip data-ipsTooltip-label='{$names|doubleencode}' data-ipsTooltip-json data-ipsTooltip-safe>{$lang}</a>
{{else}}
<a href='{$contentURL}' data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-size='medium' data-ipsDialog-title='{lang="see_who_reacted"}' title='{lang="see_who_reacted"}' data-ipsTooltip data-ipsTooltip-label='{$names|doubleencode}' data-ipsTooltip-json data-ipsTooltip-safe>{$lang}</a>
{{endif}}]]></template>
 <template template_group="global" template_name="review" template_data="$item, $review, $editorName, $app, $type" template_location="front" template_app="core"><![CDATA[<div id='review-{$review->id}_wrap' data-controller='core.front.core.comment' data-commentApp='{$app}' data-commentType='{$type}-review' data-commentID="{$review->id}" data-quoteData='{expression="json_encode( array('userid' => $review->author()->member_id, 'username' => $review->author()->name, 'timestamp' => $review->mapped('date'), 'contentapp' => $app, 'contenttype' => $type, 'contentid' => $item->id, 'contentcommentid' => $review->id) )"}' class='ipsComment_content ipsType_medium'>
	<div class='ipsComment_header ipsFlex ipsFlex-ai:start ipsFlex-jc:between'>
		<div class='ipsPhotoPanel ipsPhotoPanel_small'>
			{template="userPhoto" app="core" group="global" params="$review->author(), 'small', $review->warningRef(), 'ipsPos_left'"}
			<div>
				<h3 class="ipsComment_author ipsType_blendLinks">
					<strong class='ipsType_normal'>{template="userLink" app="core" group="global" params="$review->author(), $review->warningRef()"}</strong>
					{template="reputationBadge" group="global" app="core" params="$review->author()"}
				</h3>
				<p class="ipsComment_meta ipsType_medium ipsType_light">
					{{if $review->mapped('date')}}
						{datetime="$review->mapped('date')"}
					{{else}}
						{lang="unknown_date"}
					{{endif}}

					{{if $review->editLine()}}
						&middot; {$review->editLine()|raw}
					{{endif}}
					{{if $review->hidden() AND $review->hidden() != -2}}
						&middot; {$review->hiddenBlurb()}
					{{elseif $review->hidden() == -2}}
						&middot; {$review->deletedBlurb()}
					{{endif}}
				</p>
				<ul class='ipsList_inline ipsClearfix ipsRating ipsRating_large'>
					{{foreach range( 1, \intval( \IPS\Settings::i()->reviews_rating_out_of ) ) as $i}}
						<li class='{{if $review->mapped('rating') >= $i}}ipsRating_on{{else}}ipsRating_off{{endif}}'>
							<i class='fa fa-star'></i>
						</li>
					{{endforeach}}
				</ul>&nbsp;&nbsp; {{if $review->mapped('votes_total')}}<strong class='ipsType_medium'>{$review->helpfulLine()|raw}</strong><br>{{endif}}
			</div>
		</div>
		<div class='ipsType_reset ipsType_light ipsType_blendLinks ipsComment_toolWrap'>
			<ul class='ipsList_reset ipsComment_tools'>
				<li>
					<a href='#elControlsReviews_{$review->id}_menu' class='ipsComment_ellipsis' id='elControlsReviews_{$review->id}' title='{lang="more_options"}' data-ipsMenu data-ipsMenu-appendTo='#review-{$review->id}_wrap'><i class='fa fa-ellipsis-h'></i></a>
					<ul id='elControlsReviews_{$review->id}_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
						{{if $review->canReportOrRevoke() === TRUE}}
							<li class='ipsMenu_item'>
								<a href='{$review->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='{lang="report_submit_success"}' data-ipsDialog-title="{lang="report"}"{{endif}} data-action='reportComment' title='{lang="report"}'>{lang="report"}</a>
							</li>
						{{endif}}
						<li class='ipsMenu_item'>
							<a class='ipsType_blendLinks' href='{$review->item()->url()->setQueryString( array( 'do' => 'findReview', 'review' => $review->id ) )}' title='{lang="share_this_review"}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-content='#elShareReview_{$review->id}_menu' data-ipsDialog-title="{lang="share_this_review"}"  id='elShareReview_{$review->id}' data-role='shareComment'>{lang="share_this_review"}</a>
						</li>

						{{if $review->canEdit() || ( $review->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) || ( $review instanceof \IPS\Content\Hideable && ( ( !$review->hidden() and $review->canHide() ) || ( $review->hidden() and $review->canUnhide() ) ) ) || $review->canDelete()}}
							<li class='ipsMenu_sep'><hr></li>
						{{endif}}

						{{if $review->canEdit()}}
							<li class='ipsMenu_item'><a href='{$review->url('edit')}' data-action='editComment'>{lang="edit"}</a></li>
						{{endif}}
						
						{{if $review->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}}
							<li class='ipsMenu_item'><a href='{$review->url('restore')->csrf()}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li>
							<li class='ipsMenu_item'><a href='{$review->url('restore')->csrf()->setQueryString( 'restoreAsHidden', 1 )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li>
							<li class='ipsMenu_item'><a href='{$review->url('delete')->csrf()->setQueryString( 'immediately', 1 )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li>
						{{else}}
							{{if $review instanceof \IPS\Content\Hideable}}
								{{if !$review->hidden() and $review->canHide()}}
									<li class='ipsMenu_item'><a href='{{if $review::$hideLogKey}}{$review->url('hide')}{{else}}{$review->url('hide')->csrf()}{{endif}}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li>
								{{elseif $review->hidden() and $review->canUnhide()}}
									<li class='ipsMenu_item'><a href='{$review->url('unhide')->csrf()}'>{lang="unhide"}</a></li>
								{{endif}}
							{{endif}}
							{{if $review->canDelete()}}
								<li class='ipsMenu_item'><a href='{$review->url('delete')->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#reviewCount">{lang="delete"}</a></li>
							{{endif}}
						{{endif}}
					</ul>
				</li>
				{{if \count( $item->reviewMultimodActions() )}}
					<li>
						<span class='ipsCustomInput'>
							<input type="checkbox" name="multimod[{$review->id}]" value="1" data-role="moderation" data-actions="{{if $review->hidden() === -1 AND $review->canUnhide()}}unhide{{elseif $review->hidden() === 1 AND $review->canUnhide()}}approve{{elseif $review->canHide()}}hide{{endif}} {{if $review->canDelete()}}delete{{endif}}" data-state='{{if $review->tableStates()}}{$review->tableStates()}{{endif}}'>
							<span></span>
						</span>
					</li>
				{{endif}}
			</ul>
		</div>
	</div>
	<div class='ipsPadding_vertical sm:ipsPadding_vertical:half ipsPadding_horizontal'>
		<div id="review-{$review->id}" data-role="commentContent" class="ipsType_richText ipsType_normal ipsContained" data-controller='core.front.core.lightboxedImages'>
			{$review->content()|raw}
		</div>

		{{if $review->hasAuthorResponse()}}
			<div class='ipsReviewResponse ipsPad ipsSpacer_bottom ipsAreaBackground_light ipsClearfix'>
				<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between ipsMargin_bottom:half'>
					<h4 class='ipsType_sectionHead ipsType_medium ipsType_bold'>{lang="review_response_title"}</h4>
					{{if $review->canEditResponse() OR $review->canDeleteResponse()}}
					<a href='#elControlsReviews_{$review->id}_response_menu' class='ipsComment_ellipsis ipsType_light' id='elControlsReviews_{$review->id}_response' title='{lang="more_options"}' data-ipsMenu data-ipsMenu-appendTo='#review-{$review->id}_wrap'><i class='fa fa-ellipsis-h'></i></a>
					{{endif}}
				</div>
				<div data-role="reviewResponse" class="ipsType_richText ipsType_normal ipsContained" data-controller='core.front.core.lightboxedImages'>
					{$review->mapped('author_response')|raw}
				</div>

				{{if $review->canEditResponse() OR $review->canDeleteResponse()}}
					<ul class='ipsMenu ipsMenu_narrow ipsHide' id='elControlsReviews_{$review->id}_response_menu'>
						{{if $review->canEditResponse()}}
							<li class='ipsMenu_item'><a href='{$review->url('editResponse')}' data-ipsDialog data-ipsDialog-title='{lang="review_author_respond"}'>{lang="edit"}</a></li>
						{{endif}}
						{{if $review->canDeleteResponse()}}
							<li class='ipsMenu_item'><a href='{$review->url('deleteResponse')->csrf()}' data-confirm>{lang="delete"}</a></li>
						{{endif}}
					</ul>
				{{endif}}
			</div>
		{{endif}}

		{{if $review->hidden() !== 1}}
			{{if member.member_id and ( !$review->mapped('votes_data') or !array_key_exists( member.member_id, json_decode( $review->mapped('votes_data'), TRUE ) ) ) and $review->author()->member_id != \IPS\Member::loggedIn()->member_id}}
				<div class='ipsType_medium ipsMargin_top'><strong>{lang="did_you_find_this_helpful"}</strong> &nbsp;&nbsp;&nbsp;<a href='{$review->url('rate')->setQueryString( 'helpful', TRUE )->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_light' data-action="rateReview"><i class='fa fa-check'></i> {lang="yes"}</a> <a href='{$review->url('rate')->setQueryString( 'helpful', FALSE )->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_light' data-action="rateReview"><i class='fa fa-times'></i> {lang="no"}</a></div>
			{{endif}}
		{{endif}}
	</div>
	{{if ( member.member_id and ( !$review->mapped('votes_data') or !array_key_exists( member.member_id, json_decode( $review->mapped('votes_data'), TRUE ) ) ) ) || $review->canEdit() || $review->canDelete() || $review->canHide() || $review->canUnhide() || ( $review->hidden() !== 1 && \IPS\IPS::classUsesTrait( $review, 'IPS\Content\Reactable' ) and settings.reputation_enabled and $review->hasReactionBar() )}}
		<div class='ipsItemControls'>
			{{if $review->hidden() !== 1 && \IPS\IPS::classUsesTrait( $review, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
				{template="reputation" group="global" app="core" params="$review"}
			{{endif}}
			{{if $review->canEdit() || $review->canDelete() || $review->canHide() || $review->canUnhide() || ( $review->hidden() !== 1 && $review->canRespond() ) }}
				<ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls">
					{{if $review->hidden() === 1 && ( $review->canUnhide() || $review->canDelete() )}}
						{{if $review->canUnhide()}}
							<li><a href='{$review->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li>
						{{endif}}
						{{if $review->canDelete()}}
							<li><a href='{$review->url('delete')->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li>
						{{endif}}
						{{if $review->canEdit() || $review->canSplit()}}
							<li>
								<a href='#elControlsReviewsSub_{$review->id}_menu' id='elControlsReviewsSub_{$review->id}' data-ipsMenu data-ipsMenu-appendTo='#review-{$review->id}_wrap'>{lang="options"} &nbsp;<i class='fa fa-caret-down'></i></a>
								<ul id='elControlsReviewsSub_{$review->id}_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
									{{if $review->canEdit()}}
										{{if $review->mapped('first') and $review->item()->canEdit()}}
											<li class='ipsMenu_item'><a href='{$review->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li>
										{{else}}
											<li class='ipsMenu_item'><a href='{$review->url('edit')}' data-action='editComment'>{lang="edit"}</a></li>
										{{endif}}
									{{endif}}
									{{if $review->canSplit()}}
										<li class='ipsMenu_item'><a href='{$review->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li>
									{{endif}}
								</ul>
							</li>
						{{endif}}
					{{elseif $review->hidden() !== 1 && $review->canRespond()}}
                        <li>
                            <a href='{$review->url('respond')}' class='ipsButton ipsButton_verySmall ipsButton_light' data-role='respond' data-ipsDialog data-ipsDialog-title='{lang="review_author_respond"}'>{lang="review_author_respond"}</a>
                        </li>
					{{endif}}
					{{if \IPS\Application::appIsEnabled('cloud')}}
						<li>{template="spam" app="cloud" group="spam" params="$review, FALSE"}</li>
					{{endif}}	
					<li class='ipsHide' data-role='commentLoading'>
						<span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span>
					</li>
				</ul>
			{{endif}}
		</div>
	{{endif}}

{template="sharemenu" group="global" app="core" params="$review"}
</div>]]></template>
 <template template_group="global" template_name="reviewContainer" template_data="$item, $review" template_location="front" template_app="core"><![CDATA[{{$idField = $review::$databaseColumnId;}}
{{if $review->isIgnored()}}
	<div class='ipsComment ipsComment_ignored ipsPad_half ipsType_light'>
		{lang="ignoring_content" sprintf="$review->author()->name"}
	</div>
{{else}}
	<a id='review-{$review->$idField}'></a>
	<article id="elReview_{$review->$idField}" class="ipsBox ipsBox--child ipsComment ipsComment_parent ipsClearfix ipsClear {{if $review->hidden() OR $item->hidden() == -2}}ipsModerated{{endif}}">
		{template="review" group="global" app="core" params="$item, $review, $item::$formLangPrefix . 'review', $item::$application, $item::$module"}
	</article>
{{endif}}]]></template>
 <template template_group="global" template_name="reviewHelpful" template_data="$helpful, $total" template_location="front" template_app="core"><![CDATA[
<span class='ipsResponsive_hidePhone ipsResponsive_inline'>
	{lang="x_members_found_helpful" sprintf="$helpful, \IPS\Member::loggedIn()->language()->pluralize( \IPS\Member::loggedIn()->language()->get( 'x_members' ), array( $total ) )"}
</span>
<span class='ipsResponsive_showPhone ipsResponsive_inline'>
	<i class='fa fa-smile-o'></i> {$helpful} / {lang="x_members_found_helpful_phone" pluralize="$total"}
</span>]]></template>
 <template template_group="global" template_name="richText" template_data="$value, $extraClasses=array(), $extraControllers=array(), $extraAttributes=array()" template_location="global" template_app="core"><![CDATA[
{{if \IPS\Dispatcher::hasInstance() and \IPS\Dispatcher::i()->controllerLocation == 'front'}}
{{$controllers = array_merge( array('core.front.core.lightboxedImages'), $extraControllers );}}
<div class='ipsType_richText {expression="implode(' ', $extraClasses)"}' data-controller='{expression="implode(',', $controllers)"}' {{foreach $extraAttributes as $attribute}} {$attribute|raw}{{endforeach}}>
{$value|raw}
</div>
{{else}}
{{$controllers = $extraControllers;}}
<div class='ipsType_richText {expression="implode(' ', $extraClasses)"}' data-ipsLazyLoad {{if \is_array( $controllers ) AND \count( $controllers )}}data-controller='{expression="implode(',', $controllers)"}' {{endif}}{{foreach $extraAttributes as $attribute}} {$attribute|raw}{{endforeach}}>
{$value|raw}
</div>
{{endif}}]]></template>
 <template template_group="global" template_name="rssMenu" template_data="" template_location="front" template_app="core"><![CDATA[
{{if \count( \IPS\Output::i()->rssFeeds )}}
	<a href='#' id='elRSS' class='ipsPos_right ipsType_large' title='{lang="available_rss"}' data-ipsTooltip data-ipsMenu data-ipsMenu-above><i class='fa fa-rss-square'></i></a>
	<ul id='elRSS_menu' class='ipsMenu ipsMenu_auto ipsHide'>
		{{foreach \IPS\Output::i()->rssFeeds as $title => $url}}
			<li class='ipsMenu_item'><a title="{lang="$title"}" href="{$url}">{lang="$title"}</a></li>
		{{endforeach}}
	</ul>
{{endif}}]]></template>
 <template template_group="global" template_name="searchKeywords" template_data="$url, $lang=NULL" template_location="admin" template_app="core"><![CDATA[{{if \IPS\IN_DEV and !\IPS\DEV_HIDE_DEV_TOOLS}}
	<span id='acplsi_{expression="md5( $url )"}' data-ipsMenu data-ipsMenu-closeOnClick='false' data-ipsMenu-appendTo='.ipsDialog > div, #acpMainLayout' class='ipsCursor_pointer'>
		{{if isset( \IPS\Dispatcher::i()->searchKeywords[ $url ] )}}
			<span class="ipsBadge ipsBadge_style1 cACPkeywords">
				<i class="fa fa-search"></i> {expression="\count( \IPS\Dispatcher::i()->searchKeywords[ $url ]['keywords'] )"}
			</span>
		{{else}}
			<span class="ipsBadge ipsBadge_style1 cACPkeywords">
				<i class="fa fa-search"></i> 0
			</span>
		{{endif}}
	</span>
	<div id='acplsi_{expression="md5( $url )"}_menu' class='ipsMenu ipsMenu_wide ipsHide' data-controller="core.admin.core.acpSearchKeywords" data-url="{expression="base64_encode( $url )"}" data-action="{url="app=core&module=system&controller=ajax&do=searchKeywords"}">
		<div class="ipsMenu_headerBar">
			<h4 class="ipsType_sectionHead"><i class='fa fa-cogs'></i> &nbsp;Developer Options</h4>
		</div>
		<div class='ipsPad'>
			<ul class='ipsForm'>
				<li class='ipsFieldRow ipsFieldRow_fullWidth ipsClearfix'>
					<div class='ipsFieldRow_title'>
						{lang="keywords_language"}
					</div>
					<div class='ipsFieldRow_content'>
						<input type='text' data-role="lang_key" value="{{if isset( \IPS\Dispatcher::i()->searchKeywords[ $url ] )}}{expression="\IPS\Dispatcher::i()->searchKeywords[ $url ]['lang_key']"}{{elseif $lang}}{$lang}{{else}}menu__{expression="\IPS\Request::i()->app"}_{expression="\IPS\Request::i()->module"}_{expression="\IPS\Request::i()->controller"}{{endif}}">
					</div>
				</li>
				<li class='ipsFieldRow ipsFieldRow_fullWidth ipsClearfix'>
					<div class='ipsFieldRow_title'>
						{lang="keywords_restriction"}
					</div>
					<div class='ipsFieldRow_content'>					
						<select data-role="restriction">
							{{$value = isset( \IPS\Dispatcher::i()->searchKeywords[ $url ] ) ? \IPS\Dispatcher::i()->searchKeywords[ $url ]['restriction'] : \IPS\Dispatcher::i()->menuRestriction;}}
							{{foreach \IPS\Dispatcher::i()->moduleRestrictions as $k => $v}}
								{{if \is_array( $v )}}
									<optgroup label="{lang="r__{$k}"}">
										{{foreach $v as $_k => $_v}}
											<option value='{$_k}' {{if $value == $_k}}selected{{endif}}>{lang="r__{$_v}"}</option>
										{{endforeach}}
									</optgroup>
								{{else}}
									<option value='{$k}' {{if $value == $k}}selected{{endif}}>{lang="$v"}</option>
								{{endif}}
							{{endforeach}}
						</select>
					</div>
				</li>
				<li class='ipsFieldRow ipsFieldRow_fullWidth ipsClearfix'>
					<div class='ipsFieldRow_title'>
						{lang="keywords_keywords"}
					</div>
					<div class='ipsFieldRow_content'>
						<div class="ipsField_stack" data-ipsStack>
							<ul class="ipsList_reset" data-role="stack">
								{{if isset( \IPS\Dispatcher::i()->searchKeywords[ $url ] )}}
									{{foreach \IPS\Dispatcher::i()->searchKeywords[ $url ]['keywords'] as $word}}
										<li class='ipsField_stackItem' data-role="stackItem">
											<span class="ipsField_stackDrag ipsDrag" data-action='stackDrag'>
												<i class='fa fa-bars ipsDrag_dragHandle'></i>
											</span>
											<span class="ipsField_stackDelete ipsCursor_pointer" data-action="stackDelete">
												&times;
											</span>
											<div data-ipsStack-wrapper><input type='text' data-role="keywords" value="{$word}"></div>
										</li>
									{{endforeach}}
								{{else}}
									<li class='ipsField_stackItem' data-role="stackItem">
										<span class="ipsField_stackDrag ipsDrag" data-action='stackDrag'>
											<i class='fa fa-bars ipsDrag_dragHandle'></i>
										</span>
										<span class="ipsField_stackDelete ipsCursor_pointer" data-action="stackDelete">
											&times;
										</span>
										<div data-ipsStack-wrapper><input type='text' data-role="keywords"></div>
									</li>
								{{endif}}
							</ul>
							<button class="ipsField_stackAdd ipsButton ipsButton_light ipsButton_small" data-action="stackAdd" role="button"><i class='fa fa-plus-circle'></i>&nbsp; {lang="stack_add"}</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
		<div class="ipsAreaBackground ipsClearfix ipsPad ipsType_center">
			<button type="button" class="ipsButton ipsButton_primary ipsButton_primary ipsButton_fullWidth" data-action="save">{lang="save"}</button>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="sharelinks" template_data="$item" template_location="front" template_app="core"><![CDATA[{{if \count( $item->sharelinks() ) }}
	<ul class='ipsList_inline ipsList_noSpacing ipsClearfix' data-controller="core.front.core.sharelink">
		{{foreach $item->sharelinks() as $sharelink }}
			<li>{$sharelink|raw}</li>
		{{endforeach}}
	</ul>
{{endif}}
{{if $shareData = $item->webShareData()}}
	<hr class='ipsHr'>
	<button class='ipsHide ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth ipsMargin_top:half' data-controller='core.front.core.webshare' data-role='webShare' data-webShareTitle='{$shareData['title']}' data-webShareText='{$shareData['text']}' data-webShareUrl='{$shareData['url']}'>{lang="more_share_options"}</button>
{{endif}}]]></template>
 <template template_group="global" template_name="sharemenu" template_data="$comment" template_location="front" template_app="core"><![CDATA[{{$idField = $comment::$databaseColumnId;}}
{{$type = ( $comment instanceof \IPS\Content\Review ) ? 'review' : 'comment';}}

<div class='ipsPadding ipsHide cPostShareMenu' id='elShare{expression="\ucfirst( $type )"}_{$comment->$idField}_menu'>
	<h5 class='ipsType_normal ipsType_reset'>{lang="link_to_$type"}</h5>
	{{if $comment->isFirst() }}
		{{$url = $comment->item()->url();}}
	{{else}}
		{{$url = $comment->item()->url()->setQueryString( array( 'do' => 'find' . \ucfirst( $type ), $type => $comment->$idField ) );}}
	{{endif}}
	{{if \IPS\Settings::i()->ref_on}}
	{{$url = $url->setQueryString( array( '_rid' => \IPS\Member::loggedIn()->member_id  ) );}}
	{{endif}}
	<input type='text' value='{$url}' class='ipsField_fullWidth'>

	{{if (!$comment->item()->containerWrapper() OR !$comment->item()->container()->disable_sharelinks ) and \count( $comment->sharelinks() )}}
	<h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>{lang="share_externally"}</h5>
	{template="sharelinks" group="global" app="core" params="$comment"}
	{{endif}}
</div>]]></template>
 <template template_group="global" template_name="shortMessage" template_data="$message, $classes=array(), $parse=TRUE" template_location="admin" template_app="core"><![CDATA[<span class='{expression="implode( ' ', $classes )"}'>{{if $parse}}{lang="$message"}{{else}}{$message|raw}{{endif}}</span>]]></template>
 <template template_group="global" template_name="sidebar" template_data="$items, $activeItem" template_location="admin" template_app="core"><![CDATA[<ul class="ipsList_reset">
	{{foreach $items as $appAndModule => $moduleItems}}
		<li class='{{if \count( $moduleItems ) > 1}}has_sub{{endif}} {{if $appAndModule == $activeItem}}active{{endif}}'>
			{{if \count( $moduleItems ) > 1}}
				{lang="menu__{$appAndModule}"}
				<ul class="ipsList_reset">
					{{foreach $moduleItems as $key => $url}}
						<li><a href='{url="$url"}'>{lang="menu__{$appAndModule}_{$key}"}</a></li>
					{{endforeach}}
				</ul>
			{{else}}
				{{foreach $moduleItems as $key => $url}}
					<a href='{url="$url"}'>{lang="menu__{$appAndModule}_{$key}"}</a>
				{{endforeach}}
			{{endif}}
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="global" template_name="sidebar" template_data="$position='left'" template_location="front" template_app="core"><![CDATA[{{$adsForceSidebar = ( \IPS\Settings::i()->ads_force_sidebar AND \IPS\core\Advertisement::loadByLocation( 'ad_sidebar' ) );}}
{{if (isset( \IPS\Output::i()->sidebar['enabled'] ) and \IPS\Output::i()->sidebar['enabled'] ) && ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) || ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && \count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) || ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets() ) || $adsForceSidebar )}}
	<div id='ipsLayout_sidebar' class='ipsLayout_sidebar{$position} {{if !( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) && ( !isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) || !\count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) && \IPS\Dispatcher::i()->application->canManageWidgets() && !$adsForceSidebar}}ipsLayout_sidebarUnused{{endif}}' data-controller='core.front.widgets.sidebar'>
		{{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation( 'sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && \count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) )}}
			{template="announcementSidebar" group="global" app="core" params="$announcements"}
		{{endif}}
		{{if isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== ''}}
			<aside id="elContextualTools" class='ipsClearfix' {{if isset( \IPS\Output::i()->sidebar['sticky'] )}}data-ipsSticky{{endif}}>
				{expression="\IPS\Output::i()->sidebar['contextual']" raw="true"}
			</aside>
			<hr class='ipsHr ipsSpacer_both'>
		{{endif}}
		{{if $adsForceSidebar OR ( \IPS\core\Advertisement::loadByLocation( 'ad_sidebar' ) AND ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) OR ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && \count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) ) )}}
			<div data-role='sidebarAd'>
				{advertisement="ad_sidebar"}
			</div>
			<br><br>
		{{endif}}
		{template="widgetContainer" group="global" app="core" params="'sidebar', 'vertical'"}
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="signature" template_data="$member" template_location="front" template_app="core"><![CDATA[{{if $member->canEditSignature() AND !\IPS\Member::loggedIn()->isIgnoring( $member, 'signatures' ) AND \IPS\Member::loggedIn()->members_bitoptions['view_sigs']}}
	<div data-role="memberSignature" class='{{if !settings.signatures_mobile}}ipsResponsive_hidePhone{{endif}} ipsBorder_top ipsPadding_vertical'>
		{{if \IPS\Member::loggedIn()->member_id}}
			{{$uniqid = mt_rand();}}
			<div class='ipsPos_right'>
				<a href='#elSigIgnore{$uniqid}_menu' data-memberID="{$member->member_id}" id='elSigIgnore{$uniqid}' data-role='signatureOptions' data-ipsMenu class='ipsFaded ipsFaded_more ipsFaded_withHover ipsType_light' data-ipsTooltip title='{lang="edit_signature_options"}'>
					<i class='fa fa-times'></i> <i class='fa fa-caret-down'></i>
				</a>

				<ul class='ipsMenu ipsMenu_medium ipsHide' id='elSigIgnore{$uniqid}_menu'>
					{{if member.member_id != $member->member_id AND $member->canBeIgnored()}}
						<li class='ipsMenu_item' data-ipsMenuValue='oneSignature'>
							<a href='{url="app=core&module=system&controller=ignore&do=ignoreType&type=signatures&member_id={$member->member_id}" seoTemplate="ignore" csrf="true"}'>{lang="hide_members_signature" sprintf="$member->name"}</a>
						</li>
					{{endif}}
					<li class='ipsMenu_item' data-ipsMenuValue='allSignatures'>
						<a href='{url="app=core&module=system&controller=settings&do=toggleSigs" ref="(string) \IPS\Request::i()->url()" seoTemplate="settings" csrf="true"}'>{lang="hide_all_signatures"}</a>
					</li>
				</ul>
			</div>
		{{endif}}

		<div class='ipsType_light ipsType_richText' data-ipsLazyLoad>
			{$member->signature|raw}
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="siteSocialProfiles" template_data=" " template_location="front" template_app="core"><![CDATA[{{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}}
	{{foreach $links as $profile}}
		<li class='cUserNav_icon'>
			<a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_{$profile['value']}' rel='noopener noreferrer'><i class='fa fa-{$profile['value']}'></i></a>
        </li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="global" template_name="solvedBadge" template_data="$author, $count" template_location="front" template_app="core"><![CDATA[<a href='{url="app=core&module=members&controller=profile&id={$author->member_id}&do=solutions" seoTemplate="profile_solutions" seoTitle="$author->members_seo_name"}' title="{lang="solved_badge_tooltip"}" data-ipsTooltip class='ipsType_blendLinks'>
	<i class='fa fa-check-circle'></i> {number="$count"}
</a>
]]></template>
 <template template_group="global" template_name="staticMap" template_data="$linkUrl, $imageUrl, $lat=NULL, $long=NULL, $width=NULL, $height=NULL" template_location="global" template_app="core"><![CDATA[<div{{if settings.lazy_load_enabled}} data-ipsLazyLoad{{endif}}>
{{if $lat and $long}}
	<span itemscope itemtype='http://schema.org/GeoCoordinates'>
		<meta itemprop='latitude' content='{$lat}'>
		<meta itemprop='longitude' content='{$long}'>
		{{if $linkUrl}}<a href='{$linkUrl}' target='_blank' rel='noopener'>{{endif}}<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$imageUrl}' alt='' class='ipsImage'{{if $width AND $height}} width='{$width}' height='{$height}'{{endif}}>{{if $linkUrl}}</a>{{endif}}
	</span>
{{else}}
{{if $linkUrl}}<a href='{$linkUrl}' target='_blank' rel='noopener'>{{endif}}<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$imageUrl}' alt='' class='ipsImage'{{if $width AND $height}} width='{$width}' height='{$height}'{{endif}}>{{if $linkUrl}}</a>{{endif}}
{{endif}}
</div>]]></template>
 <template template_group="global" template_name="tabs" template_data="$tabNames, $activeId, $defaultContent, $url, $tabParam='tab', $tabClasses='', $panelClasses=''" template_location="admin" template_app="core"><![CDATA[<div class='acpBlock'>
	<div class='ipsTabs {$tabClasses} ipsClearfix acpFormTabBar' id='elTabs_{expression="md5( $url->acpQueryString() )"}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{expression="md5( $url->acpQueryString() )"}' {{if \IPS\Request::i()->isAjax()}}data-ipsTabBar-updateURL='false'{{endif}}>
		<a href='#elTabs_{expression="md5( $url->acpQueryString() )"}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist'>
			{{foreach $tabNames as $i => $name}}
				<li>
					<a href='{{if $i}}{$url->setQueryString( $tabParam, $i )}{{else}}{$url}{{endif}}' id='{expression="md5( $url->acpQueryString() )"}_tab_{$i}' class="ipsTabs_item {{if $i == $activeId}}ipsTabs_activeItem{{endif}}" title='{lang="{$name}"}' role="tab" aria-selected="{{if $i == $activeId}}true{{else}}false{{endif}}">
						{lang="$name"}
						{{if \IPS\IN_DEV}}{template="searchKeywords" app="core" group="global" params="$url->setQueryString( 'tab', $i )->acpQueryString(), $name"}{{endif}}
					</a>
				</li>
			{{endforeach}}
		</ul>
	</div>
	<section id='ipsTabs_content_{expression="md5( $url->acpQueryString() )"}' class='acpFormTabContent'>
		{{foreach $tabNames as $i => $name}}
			{{if $i == $activeId}}
				<div id='ipsTabs_elTabs_{expression="md5( $url->acpQueryString() )"}_{expression="md5( $url->acpQueryString() )"}_tab_{$i}_panel' class="ipsTabs_panel {$panelClasses}" aria-labelledby="{expression="md5( $url->acpQueryString() )"}_tab_{$i}" aria-hidden="false">
					{$defaultContent|raw}
				</div>
			{{endif}}
		{{endforeach}}
	</section>
</div>]]></template>
 <template template_group="global" template_name="tabs" template_data="$tabNames, $activeId, $defaultContent, $url, $tabParam='tab', $parseNames=TRUE, $contained=FALSE, $extraClasses=''" template_location="front" template_app="core"><![CDATA[<div class='ipsTabs ipsClearfix{{if $extraClasses}} {$extraClasses}{{endif}}' id='elTabs_{expression="md5( $url )"}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{expression="md5( $url )"}' {{if \IPS\Request::i()->isAjax()}}data-ipsTabBar-updateURL='false'{{endif}}>
	<a href='#elTabs_{expression="md5( $url )"}' {{if \count( $tabNames ) > 1}}data-action='expandTabs'><i class='fa fa-caret-down'></i>{{else}}>{{endif}}</a>
	<ul role='tablist'>
		{{foreach $tabNames as $i => $name}}
			<li>
				<a href='{$url->setQueryString( $tabParam, $i )}' id='{expression="md5( $url )"}_tab_{$i}' class="ipsTabs_item {{if $i == $activeId}}ipsTabs_activeItem{{endif}}" title='{{if $parseNames}}{striptags="\IPS\Member::loggedIn()->language()->get( $name )"}{{else}}{striptags="$name"}{{endif}}' role="tab" aria-selected="{{if $i == $activeId}}true{{else}}false{{endif}}">
					{{if $parseNames}}{lang="$name"}{{else}}{$name|raw}{{endif}}
				</a>
			</li>
		{{endforeach}}
	</ul>
</div>
<section id='ipsTabs_content_{expression="md5( $url )"}' class='ipsTabs_panels {{if $contained}}ipsTabs_contained{{endif}}'>
	{{foreach $tabNames as $i => $name}}
		{{if $i == $activeId}}
			<div id='ipsTabs_elTabs_{expression="md5( $url )"}_{expression="md5( $url )"}_tab_{$i}_panel' class="ipsTabs_panel" aria-labelledby="{expression="md5( $url )"}_tab_{$i}" aria-hidden="false">
				{$defaultContent|raw}
			</div>
		{{endif}}
	{{endforeach}}
</section>
]]></template>
 <template template_group="global" template_name="tag" template_data="$tag, $tagEditUrl=NULL" template_location="front" template_app="core"><![CDATA[
<li {{if $tagEditUrl}}class='ipsTags_deletable'{{endif}}>
	{{$urlSafeTag = \IPS\Settings::i()->use_friendly_urls ? ( \IPS\Settings::i()->htaccess_mod_rewrite ? \IPS\Http\Url::internal( "app=core&module=search&controller=search&tags=" . rawurlencode( $tag ), "front", "tags" ) : \IPS\Http\Url::internal( "app=core&module=search&controller=search", "front", "search" )->setQueryString( 'tags', $tag ) ) : \IPS\Http\Url::internal( "app=core&module=search&controller=search", "front", "tags" )->setQueryString( 'tags', $tag );}}
	<a href="{$urlSafeTag}" class='ipsTag' title="{lang="find_tagged_content" sprintf="$tag"}" rel="tag" data-tag-label="{$tag}"><span>{$tag}</span></a>
	{{if $tagEditUrl}}
		<a href='{$tagEditUrl->setQueryString( 'do', 'editTags' )->setQueryString( 'removeTag', $tag )->csrf()}' class='ipsTag_remove' data-action='removeTag' data-ipsTooltip title='{lang="remove_tag"}'>&times;</a>
	{{endif}}
</li>]]></template>
 <template template_group="global" template_name="tags" template_data="$tags, $showCondensed=FALSE, $hideResponsive=FALSE, $tagEditUrl=NULL" template_location="front" template_app="core"><![CDATA[{{$id = mt_rand();}}
{{if \count( $tags ) OR $tagEditUrl}}
	{{if $showCondensed}}
		<ul class='ipsTags ipsTags_inline ipsList_inline {{if $hideResponsive}}ipsResponsive_hidePhone{{endif}} ipsGap:1 ipsGap_row:0'>
			{{if \count( $tags )}}
				{{foreach $tags as $idx => $tag}}
					{{if $idx < 2}}
						{template="tag" group="global" app="core" params="$tag, $tagEditUrl"}
					{{endif}}
				{{endforeach}}
			{{endif}}
			{{if \count( $tags ) > 2}}
				<li class='ipsType_small'>
					<span class='ipsType_light ipsCursor_pointer' data-ipsMenu id='elTags_{$id}'>{lang="and_x_more" pluralize="\count( $tags ) - 2"} <i class='fa fa-caret-down ipsJS_show'></i></span>
					<div class='ipsHide ipsMenu ipsMenu_normal ipsPad_half cTagPopup' id='elTags_{$id}_menu'>
						<p class='ipsType_medium ipsType_reset ipsType_light'>{lang="tagged_with"}</p>
						<ul class='ipsTags ipsList_inline ipsGap:1'>
							{{foreach $tags as $tag}}
								{template="tag" group="global" app="core" params="$tag, NULL"}
							{{endforeach}}
						</ul>
					</div>
				</li>
			{{endif}}
		</ul>
	{{else}}
		<ul class='ipsTags ipsList_inline {{if $hideResponsive}}ipsResponsive_hidePhone{{endif}}' {{if $tagEditUrl}}data-controller='core.front.core.tagEditor' data-tagEditID='{$id}' {{if \IPS\Settings::i()->tags_min}}data-minTags='{setting="tags_min"}'{{endif}} {{if \IPS\Settings::i()->tags_max}}data-maxTags='{setting="tags_max"}'{{endif}}{{endif}}>
			{{if \count( $tags )}}
				{{foreach $tags as $tag}}
					{template="tag" group="global" app="core" params="$tag, $tagEditUrl"}
				{{endforeach}}
			{{endif}}
			{{if $tagEditUrl}}
				<li class='ipsTags_edit'>
					<a href="{$tagEditUrl->setQueryString( 'do', 'editTags' )}" title="{lang="edit_tags"}" data-ipsMenu data-ipsMenu-closeOnClick='false' id='elTagEditor_{$id}' class='ipsButton ipsButton_veryVerySmall ipsButton_light'><i class='fa fa-plus'></i>{{if !\count( $tags )}} {lang="add_tags"}{{endif}}</a>
				</li>
			{{endif}}
		</ul>
		{{if $tagEditUrl}}
			<div id='elTagEditor_{$id}_menu' class='ipsMenu ipsMenu_wide ipsHide'>
				<div data-controller='core.front.core.tagEditorForm'>
					<div class='ipsPad'>
						<span><i class='icon-spinner2 ipsLoading_tinyIcon'></i>  &nbsp;{lang="loading"}</span>
					</div>
				</div>
			</div>
		{{endif}}
	{{endif}}
{{endif}}]]></template>
 <template template_group="global" template_name="textBlock" template_data="$message" template_location="global" template_app="core"><![CDATA[<div class='ipsType_normal'>
	{$message|raw}
</div>
<br>

]]></template>
 <template template_group="global" template_name="thumbImage" template_data="$image, $name, $size='medium', $classes='', $lang='view_this', $url='', $extension='core_Attachment', $dataParam='', $lazyLoad=false" template_location="front" template_app="core"><![CDATA[
{{if $image}}
	{{$image = ( $image instanceof \IPS\File ) ? (string) $image->url : $image;}}
	{{if $url}}<a {{if $dataParam}}{$dataParam} {{endif}}href='{$url}' title='{lang="$lang" sprintf="$name"}'{{else}}<span{{endif}} {{if !$lazyLoad || !settings.lazy_load_enabled}}style='background-image: url( "{file="$image" extension="$extension"}" )'{{else}}data-background-src='{file="$image" extension="$extension"}'{{endif}} class='{$classes} ipsThumb ipsThumb_{$size} ipsThumb_bg'>
		<img src='{file="$image" extension="$extension"}' alt='{lang="$lang" sprintf="$name"}'  loading="lazy">
	{{if $url}}</a>{{else}}</span>{{endif}}
{{else}}
	{{if $url}}<a {{if $dataParam}}{$dataParam} {{endif}}href='{$url}' title='{lang="$lang" sprintf="$name"}'{{else}}<span{{endif}} class='{$classes} ipsNoThumb ipsThumb ipsThumb_{$size}'>{{if $url}}</a>{{else}}</span>{{endif}}
{{endif}} ]]></template>
 <template template_group="global" template_name="titleWithLink" template_data="$title, $link=NULL, $text='more_info', $hovertitle=NULL, $parsed=FALSE" template_location="global" template_app="core"><![CDATA[
{{if $link===NULL}}
    <strong>{$title}</strong>
{{else}}
    <a data-ipstooltip  {{if  $hovertitle !== NULL}} _title='{{if !$parsed}}{lang="$hovertitle"}{{else}}{$hovertitle}{{endif}}' {{endif}} href='{$link}'>
        <span class='ipsType ipsType_bold'>{$title}</span> <i class="fa fa-external-link ipsType ipsType_light ipsType_small"></i>
    </a>
{{endif}}]]></template>
 <template template_group="global" template_name="truncatedUrl" template_data="$url, $newWindow=TRUE, $length=50" template_location="global" template_app="core"><![CDATA[<a href='{$url}'{{if $newWindow === TRUE}} target='_blank' rel="noopener"{{endif}}>{truncate="$url" length="$length"}</a>]]></template>
 <template template_group="global" template_name="updatebadge" template_data="$version, $url, $released='', $blank=TRUE" template_location="admin" template_app="core"><![CDATA[<a href='{$url}' class="ipsType_blendLinks"{{if $blank}}target='_blank' rel="noopener"{{endif}} data-ipstooltip title='{{if $released}}{lang="new_version_tip_date" sprintf="$version, $released"}{{else}}{lang="new_version_tip" sprintf="$version"}{{endif}}'>{lang="new_version_available"}</a>]]></template>
 <template template_group="global" template_name="updateWarning" template_data="" template_location="front" template_app="core"><![CDATA[{template="announcementTop" app="core" group="global" params=""}

{{if \IPS\Member::loggedIn()->isAdmin()}}
<div data-controller="core.global.core.notificationList" class="cNotificationList">
	{{foreach \IPS\core\AdminNotification::notifications( NULL, array( \IPS\core\AdminNotification::SEVERITY_CRITICAL ) ) as $notification}}
		{{$style = $notification->style();}}
		<div class="ipsAreaBackground_light ipsPhotoPanel ipsPhotoPanel_small ipsPhotoPanel_notPhone cAcpNotificationBanner cAcpNotificationBanner_{$style} ipsClearfix">
			<div class="ipsPos_right">
				<span class="ipsType_small">{lang="acp_notification_frontend_explain"}</span>
				{{$dismissible = $notification->dismissible();}}
				{{if $dismissible !== $notification::DISMISSIBLE_NO}}
					&nbsp;
					<a href="{url="app=core&module=system&controller=ajax&do=dismissAcpNotification&id={$notification->id}" csrf="true"}" class="cAcpNotificationBanner_close" title="{lang="acp_notification_dismiss_{$dismissible}"}" data-ipsTooltip data-action="dismiss">
						<i class="fa fa-times"></i>
					</a>
				{{endif}}
			</div>
			<i class='fa fa-{{if $style == $notification::STYLE_INFORMATION OR $style == $notification::STYLE_EXPIRE}}info-circle{{else}}warning{{endif}} cAcpNotificationBanner_mainIcon ipsPos_left ipsResponsive_hidePhone'></i>
			<div>
				<h2 class='ipsType_sectionHead'>{$notification->title()|raw}</h2>
				<div class='ipsType_richText ipsType_normal'>{$notification->body()|raw}</div>
			</div>
		</div>
	{{endforeach}}
</div>
{{endif}}]]></template>
 <template template_group="global" template_name="userBar" template_data=" " template_location="front" template_app="core"><![CDATA[{{if \IPS\Member::loggedIn()->member_id }}
	<ul id='elUserNav' class='ipsList_inline cSignedIn ipsResponsive_showDesktop' data-controller='core.front.core.userbar{{if member.member_id && settings.auto_polling_enabled}},core.front.core.instantNotifications{{endif}}'>
		{template="siteSocialProfiles" if="theme.social_links == 'header'" app="core" group="global" location="front"}
		{{if !\IPS\Member::loggedIn()->restrict_post and \count( \IPS\Member::loggedIn()->createMenu() )}}
			<li id='cCreate'>
				<a href='#elCreateNew_menu' id='elCreateNew' data-ipsTooltip data-ipsMenu title='{lang="create_menu_title"}'>
					<i class='fa fa-plus'></i> &nbsp;{lang="create_menu"} <i class='fa fa-caret-down'></i>
				</a>
				<div id='elCreateNew_menu' class='ipsMenu ipsMenu_auto ipsHide'>
					<ul>
						{{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}}
							<li class="ipsMenu_item">
								<a href="{$url['link']}"
								{{if isset( $url['extraData'] )}}
									{{foreach $url['extraData'] as $data => $v}}
										{$data}="{$v}"
									{{endforeach}}
								{{endif}}
								{{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}}
								{{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}}
								>{lang="$k"}</a>
							</li>
						{{endforeach}}
					</ul>
				</div>
			</li>
			<li class='elUserNav_sep'></li>
		{{endif}}
		<li class='cNotifications cUserNav_icon'>
			<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}' id='elFullNotifications' data-ipsTooltip title='{lang="userbar_notifications" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
				<i class='fa fa-bell'></i> <span class='ipsNotificationCount {{if !member.notification_cnt}}ipsHide{{endif}}' data-notificationType='notify' data-currentCount='{member="notification_cnt"}'>{member="notification_cnt"}</span>
			</a>
			<div id='elFullNotifications_menu' class='ipsMenu ipsMenu_wide ipsHide'>
				<div class='ipsMenu_headerBar'>
					<a href="{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}" class="ipsButton ipsButton_verySmall ipsButton_link"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
					<h4 class='ipsType_sectionHead'>{lang="notifications"}</h4>
				</div>
				<div class='ipsMenu_innerContent'>
					<div id="elNotificationsBrowser" data-controller='core.front.core.notifications'></div>
					<ol class='ipsDataList ipsDataList_readStatus' data-role='notifyList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elNotifyContent'></ol>
				</div>
				<div class='ipsMenu_footerBar ipsType_center'>
					<a href='{url="app=core&module=system&controller=notifications" seoTemplate="notifications"}'><i class='fa fa-bars'></i> {lang="see_all_notifications"}</a>
				</div>
			</div>
		</li>
		{{if \IPS\Member::loggedIn()->members_disable_pm != 2 and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
			<li class='cInbox cUserNav_icon'>
				<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}' id='elFullInbox' data-ipsTooltip title='{{if ! \IPS\Member::loggedIn()->members_disable_pm}}{lang="userbar_messages" escape="true"}{{else}}{lang="userbar_messages_disabled" escape="true"}{{endif}}' {{if \IPS\Member::loggedIn()->members_disable_pm}}class="ipsFaded ipsFaded_withHover"{{endif}} data-ipsMenu data-ipsMenu-closeOnClick='false'>
					<i class='fa fa-envelope'></i> <span class='ipsNotificationCount {{if !\IPS\Member::loggedIn()->msg_count_new}}ipsHide{{endif}}' data-notificationType='inbox' data-currentCount='{member="msg_count_new"}'>{member="msg_count_new"}</span>
				</a>
				<div id='elFullInbox_menu' class='ipsMenu ipsMenu_wide ipsHide' data-controller='core.front.core.messengerMenu'>
					<div class='ipsMenu_headerBar'>
						<a href='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-destructOnClose data-ipsDialog-flashMessage="{lang="message_sent"}" id='elMessengerPopup_compose' class='ipsButton ipsButton_primary ipsButton_verySmall'>{lang="compose_new"}</a>
						<h4 class='ipsType_sectionHead'>{lang="userbar_messages"}</h4>
					</div>
					<div class='ipsMenu_innerContent'><ol class='ipsDataList' data-role='inboxList' data-ipsKeyNav data-ipsKeyNav-observe='return' id='elInboxContent'></ol></div>
					<div class='ipsMenu_footerBar ipsType_center'>
						<a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}'><i class='fa fa-bars'></i> {lang="go_to_inbox"}</a>
					</div>
				</div>
			</li>
		{{endif}}
		{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
			<li class='cReports cUserNav_icon'>
				<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}' id='elFullReports' data-ipsTooltip title='{lang="userbar_reports" escape="true"}' data-ipsMenu data-ipsMenu-closeOnClick='false'>
					<i class='fa fa-warning'></i> {{if \IPS\Member::loggedIn()->reportCount()}}<span class='ipsNotificationCount' data-notificationType='reports'>{member="reportCount()"}</span>{{endif}}
				</a>
				<div id='elFullReports_menu' class='ipsMenu ipsMenu_wide ipsHide'>
					<div class='ipsMenu_headerBar'><h4 class='ipsType_sectionHead'>{lang="report_center_header"}</h4></div>
					<div class='ipsMenu_innerContent' data-role="reportsList"></div>
					<div class='ipsMenu_footerBar ipsType_center'>
						<a href='{url="app=core&module=modcp&controller=modcp&tab=reports" seoTemplate="modcp_reports"}'><i class='fa fa-bars'></i> {lang="report_center_link"}</a>
					</div>
				</div>
			</li>
		{{endif}}
		<li class='elUserNav_sep'></li>
		<li id='cUserLink'>
            {{if \IPS\Member::loggedIn()->members_bitoptions['email_messages_bounce']}}
                <span class="ipsWarningIndicator ipsWarningIndicator__small ipsWarningIndicator__topLeft">
            {{endif}}
			{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'tiny'"}
            {{if \IPS\Member::loggedIn()->members_bitoptions['email_messages_bounce']}}
                </span>
            {{endif}}
			<a href='#elUserLink_menu' id='elUserLink' data-ipsMenu>
				{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="front_logged_in_as" sprintf="$_SESSION['logged_in_from']['name']"} {{endif}}{member="name"} <i class='fa fa-caret-down'></i>
			</a>
			<ul id='elUserLink_menu' class='ipsMenu ipsMenu_normal ipsHide'>
				{{if member.canHaveAchievements() and \IPS\core\Achievements\Rank::show() and \IPS\core\Achievements\Rank::getStore() and $rank = member.rank()}}
					<li class='ipsPadding'>
						<div class='elUserNav_achievements ipsFlex ipsGap:4 ipsGap_row:0'>
							<div class='elUserNav_achievements__icon ipsFlex-flex:00'>{$rank->html('ipsDimension:5')|raw}</div>
							<div class='elUserNav_achievements__content ipsFlex-flex:11'>
								<div class='ipsType_light'>{lang="achievements_current_rank"}</div>
								<div><strong class='ipsType_large'>{$rank->_title}</strong> ({$rank->rankPosition()['pos']}/{$rank->rankPosition()['max']})</div>
								{{if $nextRank = member.nextRank()}}
									<div class='ipsMargin_top:half'>
										<div>
											<div class='ipsAchievementsProgress'>
												<div style='width: calc({expression="\IPS\Member::loggedIn()->achievements_points"} / {$nextRank->points} * 100%)'></div>
											</div>
										</div>
										<div class='ipsType_small ipsType_light'>{lang="achievements_next_rank" pluralize="$nextRank->points - \IPS\Member::loggedIn()->achievements_points"}</div>
									</div>
								{{endif}}
							</div>
						</div>
					</li>
				{{elseif member.canHaveAchievements() and \IPS\Settings::i()->achievements_rebuilding}}
					<li class='ipsPadding'>
						<div class='elUserNav_achievements ipsFlex ipsGap:4 ipsGap_row:0 ipsType_light'>
							<div class='elUserNav_achievements__icon ipsFlex-flex:00'><i class="fa fa-info-circle fa-fw ipsType_large"></i></div>
							<div class='elUserNav_achievements__content ipsFlex-flex:11'>
								<p class='ipsType_reset ipsType_light'>
									{lang="ranks_are_being_recalculated"}
								</p>
							</div>
						</div>
					</li>
				{{endif}}
				<li class='ipsMenu_title'>{lang="menu_content"}</li>
				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
					<li class='ipsMenu_item' data-menuItem='profile'><a href='{member="url()"}' title='{lang="view_my_profile"}'>{lang="menu_profile"}</a></li>
				{{endif}}
				{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) ) and \IPS\Member::loggedIn()->members_disable_pm AND \IPS\Member::loggedIn()->members_disable_pm != 2}}
					<li class='ipsMenu_item' data-menuItem='messages'><a href='{url="app=core&module=messaging&controller=messenger&do=enableMessenger" seoTemplate="messaging" csrf="true"}' title='{lang="go_to_messenger"}' data-confirm data-confirmMessage='{lang="messenger_disabled_msg"}'>{lang="menu_messages"}</a></li>
				{{endif}}
				{{if \IPS\Member::loggedIn()->group['g_attach_max'] != 0}}
					<li class='ipsMenu_item' data-menuItem='attachments'><a href='{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}'>{lang="my_attachments"}</a></li>
				{{endif}}
				<li class='ipsMenu_title'>{lang="menu_settings_title"}</li>
				{{if \IPS\core\Promote::promoteServices()}}
					<li class='ipsMenu_item' data-menuItem='promote'><a href='{url="app=core&module=promote&controller=promote&do=view" seoTemplate="promote_manage"}'>{lang="promote_manage_link"}</a></li>
				{{endif}}
				{{if \IPS\Application::appIsEnabled('nexus') and settings.nexus_subs_enabled}}
            		<li class='ipsMenu_item' data-menuItem='subscriptions'><a href='{url="app=nexus&module=subscriptions&controller=subscriptions" seoTemplate="nexus_subscriptions"}'>{lang="nexus_manage_subscriptions"}</a></li>
            	{{endif}}
				<li class='ipsMenu_item' data-menuItem='manageFollowed'><a href='{url="app=core&module=system&controller=followed" seoTemplate="followed_content"}'>{lang="menu_followed_content"}</a></li>
                <li class='ipsMenu_item' id='elAccountSettingsLink' data-menuItem='settings'><a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' title='{lang="edit_account_settings"}' class="{{if \IPS\Member::loggedIn()->members_bitoptions['email_messages_bounce']}} ipsWarningIndicator{{endif}}">{lang="menu_settings"}</a></li>
				{{if settings.ignore_system_on}}
            	    <li class='ipsMenu_item' data-menuItem='ignoredUsers'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
            	{{endif}}
				<li class='ipsMenu_sep'><hr></li>
				{{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or \IPS\Member::loggedIn()->isAdmin()}}
					{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission()}}
						<li class='ipsMenu_item' data-menuItem='modcp'><a href='{url="app=core&module=modcp" seoTemplate="modcp"}'>{lang="menu_modcp"}</a></li>
					{{endif}}
					{{if \IPS\Member::loggedIn()->isAdmin() AND \IPS\SHOW_ACP_LINK }}
						<li class='ipsMenu_item' data-menuItem='admincp'><a href='{url="" base="admin"}' target='_blank' rel="noopener"><i class='fa fa-lock'></i> {lang="menu_admincp"}</a></li>
					{{endif}}
					<li class='ipsMenu_sep'><hr></li>
				{{endif}}
				<li class='ipsMenu_item' data-menuItem='signout'>
					<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}'>
						{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="switch_to_account" sprintf="$_SESSION['logged_in_from']['name']"}{{else}}{lang="sign_out"}{{endif}}
					</a>
				</li>
			</ul>
		</li>
	</ul>
{{else}}
	<ul id='elUserNav' class='ipsList_inline cSignedOut ipsResponsive_showDesktop'>
		{template="siteSocialProfiles" if="theme.social_links != 'footer'" app="core" group="global" location="front"}
        {{$login = new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ) );}}
		{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
        {{$buttonMethods = $login->buttonMethods();}}
        {{if $usernamePasswordMethods or $buttonMethods}}
            {{if \count( $usernamePasswordMethods ) OR \count( $buttonMethods ) > 1}}
            <li id='elSignInLink'>
                <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' data-ipsMenu-closeOnClick="false" data-ipsMenu id='elUserSignIn'>
                    {lang="sign_in"} &nbsp;<i class='fa fa-caret-down'></i>
                </a>
                {template="loginPopup" app="core" group="global" params="$login"}
            </li>
            {{else}}
            <li id='elSignInLink'>
                <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' id='elUserSignIn'>
                    {lang="sign_in"}
                </a>
            </li>
            {{endif}}
        {{endif}}
		{{if \IPS\Login::registrationType() != 'disabled'}}
			<li>
				{{if \IPS\Login::registrationType() == 'redirect'}}
					<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener" class='ipsButton ipsButton_normal ipsButton_primary'>{lang="sign_up"}</a>
				{{else}}
					<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}} id='elRegisterButton' class='ipsButton ipsButton_normal ipsButton_primary'>{lang="sign_up"}</a>
				{{endif}}
			</li>
		{{endif}}
	</ul>
{{endif}}]]></template>
 <template template_group="global" template_name="userLink" template_data="$member" template_location="admin" template_app="core"><![CDATA[<a href="{$member->acpUrl()}">{$member->name}</a>]]></template>
 <template template_group="global" template_name="userLink" template_data="$member, $warningRef=NULL, $groupFormatting=NULL, $anonymous=FALSE" template_location="front" template_app="core"><![CDATA[{{if $anonymous}}
	{lang="post_anonymously_placename"}{{else}}
{{$groupFormatting = ( $groupFormatting === NULL ) ? ( ( \IPS\Settings::i()->group_formatting == 'global' ) ? TRUE : FALSE ) : $groupFormatting;}}
{{if $member->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}<a href='{{if $warningRef}}{$member->url()->setQueryString( 'wr', $warningRef )}{{else}}{$member->url()}{{endif}}' rel="nofollow" data-ipsHover data-ipsHover-width='370' data-ipsHover-target='{$member->url()->setQueryString( array( 'do' => 'hovercard', 'wr' => $warningRef, 'referrer' => urlencode( \IPS\Request::i()->url() ) ) )}' title="{lang="view_user_profile" sprintf="$member->name"}" class="ipsType_break">{{if $groupFormatting && $member->group['prefix']}}{$member->group['prefix']|raw}{{endif}}{$member->name}{{if $groupFormatting && $member->group['suffix']}}{$member->group['suffix']|raw}{{endif}}</a>{{else}}{{if $groupFormatting && $member->group['prefix']}}{$member->group['prefix']|raw}{{endif}}{$member->name}{{if $groupFormatting && $member->group['suffix']}}{$member->group['suffix']|raw}{{endif}}{{endif}}{{endif}}]]></template>
 <template template_group="global" template_name="userLinkFromData" template_data="$id, $name, $seoName, $groupIdForFormatting=NULL, $groupFormatting=NULL, $anonymous=FALSE" template_location="front" template_app="core"><![CDATA[{{if $anonymous}}{lang="post_anonymously_placename"}{{else}}{{if $id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) }}<a href='{url="app=core&module=members&controller=profile&id={$id}" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}' rel="nofollow" data-ipsHover data-ipsHover-width="370" data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$id}&do=hovercard" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}' title="{lang="view_user_profile" sprintf="$name"}" class="ipsType_break">{{if $groupIdForFormatting AND ( $groupFormatting === TRUE OR ( $groupFormatting === NULL AND \IPS\Settings::i()->group_formatting == 'global' ) )}}{expression="\IPS\Member\Group::load( $groupIdForFormatting )->formatName( $name )" raw="true"}{{else}}{$name}{{endif}}</a>{{else}}{{if $groupIdForFormatting AND ( $groupFormatting === TRUE OR ( $groupFormatting === NULL AND \IPS\Settings::i()->group_formatting == 'global' ) )}}{expression="\IPS\Member\Group::load( $groupIdForFormatting )->formatName( $name )" raw="true"}{{else}}{$name}{{endif}}{{endif}}{{endif}}]]></template>
 <template template_group="global" template_name="userLinkWithPhoto" template_data="$member, $location='admin', $size='tiny'" template_location="admin" template_app="core">
{template=&quot;userPhoto&quot; app=&quot;core&quot; group=&quot;global&quot; params=&quot;$member, $size&quot;} {template=&quot;userLink&quot; app=&quot;core&quot; group=&quot;global&quot; params=&quot;$member&quot;}</template>
 <template template_group="global" template_name="userNameFromData" template_data="$name, $groupIdForFormatting=NULL, $groupFormatting=NULL, $anonymous=FALSE" template_location="front" template_app="core"><![CDATA[{{if $anonymous}}{lang="post_anonymously_placename"}{{else}}{{if $groupIdForFormatting AND ( $groupFormatting === TRUE OR ( $groupFormatting === NULL AND \IPS\Settings::i()->group_formatting == 'global' ) )}}{expression="\IPS\Member\Group::load( $groupIdForFormatting )->formatName( $name )" raw="true"}{{else}}{$name}{{endif}}{{endif}}]]></template>
 <template template_group="global" template_name="userPhoto" template_data="$member, $size='small'" template_location="admin" template_app="core"><![CDATA[{{if $member->member_id}}
	<a href="{$member->url()}" class="ipsUserPhoto ipsUserPhoto_{$size}" target="_blank" rel="noopener">
		<img src='{$member->photo}' alt='' loading="lazy" referrerpolicy='origin-when-cross-origin'>
	</a>
{{else}}
	<span class="ipsUserPhoto ipsUserPhoto_{$size}">
		<img src='{$member->photo}' alt='' loading="lazy" referrerpolicy='origin-when-cross-origin'>
	</span>
{{endif}}]]></template>
 <template template_group="global" template_name="userPhoto" template_data="$member, $size='small', $warningRef=NULL, $classes='', $hovercard=TRUE" template_location="front" template_app="core"><![CDATA[{{if $member->member_id and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}
{{$memberURL = ( $warningRef ) ? $member->url()->setQueryString( 'wr', $warningRef ) : $member->url();}}
	<a href="{$memberURL}" rel="nofollow" {{if $hovercard}}data-ipsHover data-ipsHover-width="370" data-ipsHover-target="{$memberURL->setQueryString( 'do', 'hovercard' )}"{{endif}} class="ipsUserPhoto ipsUserPhoto_{$size}{{if $classes}} {$classes}{{endif}}" title="{lang="view_user_profile" sprintf="$member->name"}">
		<img src='{$member->photo}' alt='{$member->name}' loading="lazy">
	</a>
{{else}}
	<span class='ipsUserPhoto ipsUserPhoto_{$size} {{if $classes}}{$classes}{{endif}}'>
		<img src='{$member->photo}' alt='{$member->name}' loading="lazy">
	</span>
{{endif}}]]></template>
 <template template_group="global" template_name="userPhotoFromData" template_data="$id, $name, $seoName, $photoUrl, $size='small', $classes='', $hovercard=TRUE" template_location="front" template_app="core"><![CDATA[{{if $id and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}
	<a href="{url="app=core&module=members&controller=profile&id={$id}" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}" rel="nofollow" {{if $hovercard}}data-ipsHover data-ipsHover-target="{url="app=core&module=members&controller=profile&id={$id}&do=hovercard" seoTemplate="profile" seoTitle="$seoName ?: \IPS\Http\Url::seoTitle( $name )"}"{{endif}} class="ipsUserPhoto ipsUserPhoto_{$size}{{if $classes}} {$classes}{{endif}}" title="{lang="view_user_profile" sprintf="$name"}">
		<img src='{$photoUrl}' alt='{$name}' loading="lazy">
	</a>
{{else}}
	<span class='ipsUserPhoto ipsUserPhoto_{$size} {{if $classes}}{$classes}{{endif}}'>
		<img src='{$photoUrl}' alt='{$name}' loading="lazy">
	</span>
{{endif}}]]></template>
 <template template_group="global" template_name="viglink" template_data="" template_location="front" template_app="core"><![CDATA[
<!-- @todo remove in 4.8 -->]]></template>
 <template template_group="global" template_name="vineEmbed" template_data="$url" template_location="global" template_app="core"><![CDATA[<div class="ipsEmbeddedVideo" contenteditable="false"><div><iframe class="vine-embed" src="{$url}/embed/simple" width="600" height="600"></iframe><script async src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"></script></div></div>]]></template>
 <template template_group="global" template_name="widgetContainer" template_data="$id, $orientation='horizontal'" template_location="front" template_app="core"><![CDATA[{{if $id == 'header'}}
	{template="announcementContentTop" app="core" group="global" params=""}
{{endif}}
{{if ( isset( \IPS\Output::i()->sidebar['widgets'][ $id ] ) && \count( \IPS\Output::i()->sidebar['widgets'][ $id ] ) ) || ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets() )}}
	<div class='cWidgetContainer {{if !isset( \IPS\Output::i()->sidebar['widgets'][ $id ] ) or !\count( \IPS\Output::i()->sidebar['widgets'][ $id ] )}}ipsHide{{endif}}' {{if \IPS\Dispatcher::i()->application->canManageWidgets()}}data-controller='core.front.widgets.area'{{endif}} data-role='widgetReceiver' data-orientation='{$orientation}' data-widgetArea='{$id}'>
		<ul class='ipsList_reset'>
			{{if isset( \IPS\Output::i()->sidebar['widgets'][ $id ] )}}
				{{foreach \IPS\Output::i()->sidebar['widgets'][ $id ] as $widget}}
					{{$widgetHtml = (string) $widget;}}
					<li class='ipsWidget ipsWidget_{$orientation} {{if !\in_array( 'IPS\Widget\Builder', class_implements( $widget ) )}}ipsBox{{endif}} {{if trim( $widgetHtml ) === ''}} ipsWidgetHide ipsHide{{endif}} {{if isset($widget->configuration['devices_to_show'])}}ipsResponsive_block{{foreach array_diff( array( 'Phone', 'Tablet', 'Desktop' ), $widget->configuration['devices_to_show'] ) as $device }} ipsResponsive_hide{$device}{{endforeach}}{{endif}}' data-blockID='{{if isset($widget->app) AND !empty($widget->app)}}app_{$widget->app}_{{else}}plugin_{$widget->plugin}_{{endif}}{$widget->key}_{$widget->uniqueKey}'{{if $widget->hasConfiguration()}} data-blockConfig="true"{{endif}} data-blockTitle="{lang="block_{$widget->key}"}" data-blockErrorMessage="{lang="$widget->errorMessage" escape="true"}" {{if \in_array( 'IPS\Widget\Builder', class_implements( $widget ) )}}data-blockBuilder="true"{{endif}} data-controller='core.front.widgets.block'>{$widgetHtml|raw}</li>
				{{endforeach}}
			{{endif}}
		</ul>
	</div>
{{endif}}]]></template>
 <template template_group="global" template_name="wizard" template_data="$stepNames, $activeStep, $output, $baseUrl, $showSteps" template_location="global" template_app="core"><![CDATA[<div data-ipsWizard class='ipsWizard'>
	{{if $showSteps}}
		<ul class="ipsStepBar ipsClearFix" data-role="wizardStepbar">
			{{$doneSteps = TRUE;}}
			{{foreach $stepNames as $step => $name}}
				{{if $activeStep == $name}}{{$doneSteps = FALSE;}}{{endif}}
				<li class='ipsStep {{if $activeStep == $name}}ipsStep_active{{endif}}'>
					{{if $doneSteps}}
						<a href="{$baseUrl->setQueryString( '_step', $name )}" data-action="wizardLink">
					{{else}}
						<span>
					{{endif}}
						<strong class='ipsStep_title'>{lang="step_number" sprintf="$step + 1"}</strong>
						<span class='ipsStep_desc'>{lang="$name"}</span>
					{{if $doneSteps}}
						</a>
					{{else}}
						</span>
					{{endif}}
				</li>
			{{endforeach}}
		</ul>
	{{endif}}
	<div data-role="wizardContent">
		{$output|raw}
	</div>
</div>]]></template>
 <template template_group="hive" template_name="follow" template_data="$form" template_location="front" template_app="core"><![CDATA[<section class='ipsType_center ipsBox ipsPadding'>
	<br><br>
	<img src="{resource="hive/communityhive.svg" app="core" location="front"}">
	<h1 class='ipsType_veryLarge'>{lang="hive_subscribe_to_hive" sprintf="\IPS\Settings::i()->board_name"}</h1>

	<p class='ipsType_large'>
		{lang="hive_subscribe_blurb"}
	</p>
    {{if member.member_id}}
	<p class='ipsType_medium'>
		{lang="hive_subscribe_blurb2"}
	</p>
    {{endif}}
    <div class="ipsType_left">
        {$form|raw}
    </div>
	<hr class="ipsHr">
	<ul class="ipsList_inline ipsType_center ipsSpacer_top">
		<li><a href="https://communityhive.com/privacy" target="_blank">{lang="hive_privacy_policy"}</a></li>
		<li><a href="https://communityhive.com" target="_blank">{lang="hive_link"}</a></li>
	</ul>
</section>]]></template>
 <template template_group="hive" template_name="followButton" template_data="$width='normal'" template_location="front" template_app="core"><![CDATA[
<a data-ipsdialog class="chFollow {{if $width != 'full'}}ipsFollow{{endif}} ipsButton {{if $width == 'full'}}ipsButton_fullWidth{{elseif $width == 'small'}}ipsButton_verySmall{{endif}}" href="{url="app=core&module=hive&controller=account&do=follow" seoTemplate="hive_follow"}" title="Follow on Community Hive"> 
    {{if $width == 'full'}}
        {lang="block_communityhive_follow"}
        <i class="fa fa-arrow-right"></i>
    {{else}}
        <span>
            {lang="block_communityhive_follow_short"}
            <i class="fa chLogo"></i>
        </span>
    {{endif}}
</a>]]></template>
 <template template_group="hive" template_name="signin" template_data="" template_location="front" template_app="core"><![CDATA[
<div>
	{{if \IPS\Login::registrationType() != 'disabled'}}
	<div class='ipsType_center ipsPad cGuestTeaser'>

			<div class='ipsFlex ipsFlex-fd:row ipsFlex-flex:10 md:ipsFlex-fd:column ipsFlex-jc:around'>
				<div class='ipsPadding' style="width:100%;">
					<h2 class='ipsType_sectionHead'>{lang="teaser_account"}</h2>
					<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_account_desc"}</p>
					{{if \IPS\Login::registrationType() == 'redirect'}}
					<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' class='ipsButton ipsButton_primary ipsButton_small' target="_blank" rel="noopener">
						{{else}}
						<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class='ipsButton ipsButton_primary ipsButton_small' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>
						{{endif}}
						{lang="teaser_account_button"}</a>
				</div>
				<div class='ipsPadding' style="width:100%;">
					<h2 class='ipsType_sectionHead'>{lang="teaser_signin"}</h2>
					<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_signin_desc"}</p>
					<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-remoteVerify="false" data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_signin_button"}</a>
				</div>
                <div class='ipsPadding' style="width:100%;">
                    <h2 class='ipsType_sectionHead'>{lang="hive_follow_anonymously"}</h2>
                    <p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="hive_anonymously_desc"}</p>
                    <a href='{url="app=core&module=hive&controller=account&do=anonymousFollow" seoTemplate="hive_anonymous_follow"}' class='ipsButton ipsButton_primary ipsButton_small' rel="nofollow noindex noopener">{lang="hive_anonymous_button"}</a>
                </div>
		</div>
	</div>
	{{else}}

	<div class='ipsType_center ipsPad'>

        <div class='ipsFlex ipsFlex-fd:row ipsFlex-flex:10 md:ipsFlex-fd:column ipsFlex-jc:around'>
            <div class='ipsPadding' style="width:100%;">
                <h2 class='ipsType_sectionHead'>{lang="teaser_signin"}</h2>
                <p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_signin_desc"}</p>
                <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-remoteVerify="false" data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_signin_button"}</a>
            </div>
            <div class='ipsPadding' style="width:100%;">
                <h2 class='ipsType_sectionHead'>{lang="hive_follow_anonymously"}</h2>
                <p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="hive_anonymously_desc"}</p>
                <a href='{url="app=core&module=hive&controller=account&do=anonymousFollow" seoTemplate="hive_anonymous_follow"}' class='ipsButton ipsButton_primary ipsButton_small' rel="nofollow noindex noopener">{lang="hive_anonymous_button"}</a>
            </div>
        </div>
    </div>
	{{endif}}
</div>]]></template>
 <template template_group="hive" template_name="wrapper" template_data="$type, $form, $redirectUrl=null" template_location="admin" template_app="core"><![CDATA[<section class='ipsType_center ipsBox ipsPadding'>
	{{if \in_array( $type, ['activated', 'activation'] )}}
	<img src="{resource="enhancements/communityhive.svg" app="core" location="admin"}">
	<h1 class='ipsType_veryLarge'>{lang="hive_enable_hive_title"}</h1>
    {{endif}}
    {{if $type=='activated'}}
	<p class='ipsType_large'>
		{lang="hive_activated_blurb"}
	</p>
	<p class='ipsType_normal'>
	<ul class='ipsToolList ipsToolList_horizontal ipsPos_center'>
		<li><a href='{$redirectUrl}' class='ipsButton ipsButton_large ipsButton_primary' rel="noopener noreferrer" target="_blank">{lang="hive_continue_activation"}</a></li>
	</ul>
	</p>
	{{elseif $type==='activation'}}
	<p class='ipsType_large'>
		{lang="hive_enable_hive_blurb"}
	</p>
    <br>
    <div class="ipsType_left">
	{$form|raw}
    </div>
	{{elseif $type==='config'}}
    <h1 class='ipsType_veryLarge'>{lang="hive_choose_content"}</h1>
    <p class='ipsType_normal'>
        {lang="hive_choose_content_blurb"}
    </p>
    <br>
    <div class="ipsType_left">
    {$form|raw}
    </div>
    {{endif}}
	<hr class="ipsHr">
	<ul class="ipsList_inline ipsType_center ipsSpacer_top">
		<li><a href="https://communityhive.com/privacy" target="_blank" rel="noopener noreferrer">{lang="hive_privacy_policy"}</a></li>
		<li><a href="https://communityhive.com" target="_blank" rel="noopener noreferrer">{lang="hive_link"}</a></li>
	</ul>
</section>]]></template>
 <template template_group="licensekey" template_name="overview" template_data="$licenseData" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsBox">
	{{if $licenseData['expires']}}
		<span class="ipsBadge ipsBadge_medium ipsBadge_{{if strtotime( $licenseData['expires'] ) > time()}}positive{{else}}negative{{endif}} ipsPos_right">
			{lang="license_expires"}{datetime="strtotime( $licenseData['expires'] )"}
		</span>
	{{endif}}
	
	<h3 class='ipsType_sectionHead'>
		{{if $licenseData['cloud']}}
			{lang="license_name_cloud"}
		{{else}}
			{lang="license_name_license"}
		{{endif}}
		<br>
		{expression="substr_replace( $licenseData['key'], '**********', -10 )"}
	</h3>
	
	<p class='ipsType_light'>
		{lang="license_url" sprintf="$licenseData['url']"}
		{{if $licenseData['test_url']}}
			<br>
			{lang="license_test_url" sprintf="$licenseData['test_url']"}
		{{endif}}
	</p>
</div>
<br>
<div class="ipsBox">
	<h3 class="ipsBox_titleBar">{lang="licensekey_benefits_head"}</h3>
	<ul class="ipsPad ipsDataList ipsDataList_reducedSpacing">
		{{foreach array( 'forums', 'calendar', 'blog', 'gallery', 'downloads', 'cms', 'nexus', 'spam', 'copyright' ) as $k}}
			{{if $k !== 'copyright' or ( isset( $licenseData['products'][ $k ] ) and $licenseData['products'][ $k ] )}}
				<li class="ipsDataItem">
					<div class="ipsDataItem_icon">
						{{if isset( $licenseData['products'][ $k ] ) and $licenseData['products'][ $k ]}}
							{{if $k == 'spam' and !$licenseData['cloud'] and strtotime( $licenseData['expires'] ) < time()}}
								<i class="ipsType_large fa fa-exclamation-triangle"></i>
							{{else}}
								<i class="ipsType_large fa fa-check"></i>
							{{endif}}
						{{else}}
							<i class="ipsType_large fa fa-times"></i>
						{{endif}}
					</div>
					<div class="ipsDataItem_main">
						<h4 class="ipsDataItem_title">{lang="license_benefit_$k"}</h4>
					</div>
				</li>
			{{endif}}
		{{endforeach}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon">
				{{if $licenseData['cloud'] OR strtotime( $licenseData['expires'] ) > time()}}
					<i class="ipsType_large fa fa-check"></i>
				{{else}}
					<i class="ipsType_large fa fa-exclamation-triangle"></i>
				{{endif}}
			</div>
			<div class="ipsDataItem_main">
				<h4 class="ipsDataItem_title">{lang="license_benefit_support" sprintf="$licenseData['support']"}</h4>
			</div>
		</li>
	</ul>
</div>]]></template>
 <template template_group="livesearch" template_name="club" template_data="$club" template_location="admin" template_app="core"><![CDATA[<li class='ipsPad_half ipsClearfix' data-role='result'>
	<a href='{url="app=core&module=clubs&controller=clubs&do=edit&id="}{$club->id}' class='ipsPos_left'>{$club->name}</a>
</li>

]]></template>
 <template template_group="livesearch" template_name="generic" template_data="$url, $lang, $appName" template_location="admin" template_app="core"><![CDATA[<li class='ipsPad_half ipsClearfix' data-role='result'>
	<a href='{$url}' class='ipsPos_left'>[{$appName}] {lang="$lang"}</a>
</li>

]]></template>
 <template template_group="livesearch" template_name="group" template_data="$group" template_location="admin" template_app="core"><![CDATA[<li class='ipsPad_half ipsClearfix' data-role='result'>
	<a href='{url="app=core&module=members&controller=groups&do=form&id="}{$group->g_id}' class='ipsPos_left'>{$group->name}</a>
</li>

]]></template>
 <template template_group="livesearch" template_name="member" template_data="$member" template_location="admin" template_app="core"><![CDATA[<li class='ipsPhotoPanel ipsPhotoPanel_mini ipsPad_half ipsClearfix' data-role='result'>
	<a href='{url="app=core&module=members&controller=members&do=view&id="}{$member->member_id}' class='ipsPos_left'>{template="userPhoto" app="core" group="global" params="$member, 'mini'"}</a>
	<div>
		<h2 class='ipsType_sectionHead'><strong><a href='{url="app=core&module=members&controller=members&do=view&id="}{$member->member_id}'>{{if $member->name}}{$member->name}{{else}}{template="memberReserved" app="core" group="members" params="$member"}{{endif}}</a></strong></h2><br>
		{expression="$member->groupName" raw="true"} &middot; <span class='ipsType_light'>{$member->email}</span>
	</div>
</li>

]]></template>
 <template template_group="login" template_name="authyAuthenticate" template_data="$method, $done, $error, $setup, $availableMethods, $onetouch=NULL, $url=NULL" template_location="global" template_app="core"><![CDATA[<div id="elAuthy" {{if $onetouch}}data-controller="core.global.core.authyOneTouch"{{endif}}>
	<div class="ipsPad ipsType_normal ipsType_center">
		{{if $setup}}
			{{if $method == 'authy'}}
				{lang="authy_authy_setup"}
			{{elseif $method == 'phone'}}
				{lang="authy_call_auth_done"}
			{{else}}
				{lang="authy_sms_auth_done"}
			{{endif}}
		{{else}}
			{{if $method == 'authy'}}
				{{if $onetouch}}
					{lang="authy_onetouch_auth"}
				{{else}}
					{lang="authy_authy_auth"}
				{{endif}}
			{{elseif $method == 'phone'}}
				{{if $done}}
					{lang="authy_call_auth_done"}
				{{else}}
					{lang="authy_call_auth"}
				{{endif}}
			{{elseif $method == 'choose'}}
				{lang="authy_choose_auth"}
			{{else}}
				{lang="authy_sms_auth"}
			{{endif}}
		{{endif}}
		{{if $method == 'authy'}}
			<div class='ipsType_center'>
				{{if $onetouch}}
					<input type="hidden" name="onetouch" value="{$onetouch}" data-role="onetouchCode">
					<div class="ipsRedirect ipsPad ipsJS_show">
						<div class="ipsLoading ipsRedirect_loading"></div>
						<span>{lang="authy_onetouch_waiting"}</span>
					</div>
				{{endif}}
				{{if $setup}}
					{{$langCode = mb_substr( \IPS\Member::loggedIn()->language()->bcp47(), 0, 2 );}}
					<a href="{url="authy_ios" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/ios/{$langCode}.svg" app="core" location="global"}" class="ipsSpacer_both"></a>
					<a href="{url="authy_android" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/android/{$langCode}.png" app="core" location="global"}" style="height: 60px"></a>
				{{endif}}
				{{if \count( $availableMethods ) > 1}}
					{{if $setup}}
						<p class='ipsType_reset'>
							{lang="authy_setup_alternative"}
						</p>
					{{endif}}
					<ul class="ipsList_inline {{if !$setup}}ipsSpacer_top{{endif}}">
						{{if \in_array( 'sms', $availableMethods )}}
							<li><a href="{$url->csrf()->setQueryString( 'authy_method', 'sms' )}">{lang="authy_alt_sms"}</a></li>
						{{endif}}
						{{if \in_array( 'phone', $availableMethods )}}
							<li><a href="{$url->csrf()->setQueryString( 'authy_method', 'phone' )}">{lang="authy_alt_phone"}</a></li>
						{{endif}}
					</ul>
				{{endif}}
			</div>
		{{endif}}
	</div>
	{{if $done}}
		<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground">
			{{if !$onetouch}}
				<li class="ipsFieldRow ipsClearfix ">
					<div class="ipsFieldRow_content cAuthy_container">
						{{if $method == 'authy'}}
							<img src="{resource="login/authy.png" app="core" location="global"}" class="cAuthy_icon">
						{{endif}}
						<input type="text" name="authy_auth_code" value="" class="{{if request.authy_auth_code}}ipsField_error{{endif}} {{if $method == 'authy'}}cAuthy_field{{endif}}" autocomplete="one-time-code" >
						{{if request.authy_auth_code or ( $method == 'authy' and request.authy_method )}}
							<p class="ipsType_warning">{lang="$error"}</p>
						{{endif}}
					</div>
				</li>
			{{endif}}
			<li>
				<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium ipsSpacer_bottom {{if $onetouch}}ipsJS_hide{{endif}}'>
					{{if $onetouch}}
						<i class='fa fa-check'></i> &nbsp;{lang="authy_submit_onetouch"}
					{{else}}
						<i class='fa fa-lock'></i> &nbsp;{lang="authy_submit_code"}
					{{endif}}
				</button>
			</li>
			{{if $setup}}
				<li>
					<a href="{$url->csrf()->setQueryString( '_new', '1' )}" class='ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth'>{lang="authy_change_number"}</a>
				</li>
			{{endif}}
		</ul>
	{{else}}
		<div class="ipsPad ipsAreaBackground ipsGrid">
			{{if \in_array( 'phone', $availableMethods )}}
				<div class="ipsGrid_span{{if \in_array( 'sms', $availableMethods )}}6{{else}}12{{endif}}">
					<a href="{$url->csrf()->setQueryString( 'authy_method', 'phone' )}" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-phone'></i>&nbsp; {lang="authy_submit_call"}
					</a>
				</div>
			{{endif}}
			{{if \in_array( 'sms', $availableMethods )}}
				<div class="ipsGrid_span{{if \in_array( 'phone', $availableMethods )}}6{{else}}12{{endif}}">
					<a href="{$url->csrf()->setQueryString( 'authy_method', 'sms' )}" value="sms" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-commenting'></i>&nbsp; {lang="authy_submit_sms"}
					</a>
				</div>
			{{endif}}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="login" template_name="authyError" template_data="$error" template_location="global" template_app="core"><![CDATA[<div id="elAuthy">
	<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
		{lang="authy_error"}
		{{if member.isAdmin()}}
			<div class="ipsType_warning ipsSpacer_top">
				{$error}
			</div>
		{{endif}}
	</div>
</div>
{{if \IPS\Member::loggedIn()->canUseContactUs()}}
	<div class="ipsAreaBackground ipsPad">
		<a href="{url="app=core&module=contact&controller=contact" base="front" seoTemplate="contact"}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_contact"}</a>
	</div>
{{endif}}]]></template>
 <template template_group="login" template_name="authySetup" template_data="$countryCode, $phoneNumber, $showingMultipleForms, $methods, $error" template_location="global" template_app="core"><![CDATA[<div id="elAuthy">
	<div class='ipsPad'>
		{{if !$showingMultipleForms}}
			<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
		{{endif}}
		<div class="ipsType_medium ipsType_richText ipsType_center c2FA_info">
			{{if \in_array( 'authy', $methods )}}
				{{if !$showingMultipleForms}}
					{lang="authy_mfa_desc_authy_prefix"}
				{{endif}}
				{lang="authy_mfa_desc_authy_only"}
				{{if \count( $methods ) > 1}}
					{{if \count( $methods ) == 3}}
						{lang="authy_mfa_desc_fallback_sms_or_phone"}
					{{elseif \in_array( 'phone', $methods )}}
						{lang="authy_mfa_desc_fallback_phone"}
					{{else}}
						{lang="authy_mfa_desc_fallback_sms"}
					{{endif}}
				{{endif}}
			{{else}}
				{{if !$showingMultipleForms}}
					{lang="authy_mfa_desc_phone_prefix"}
				{{endif}}
				{{if \count( $methods ) == 2}}
					{lang="authy_mfa_desc_sms_or_phone"}
				{{elseif \in_array( 'phone', $methods )}}
					{lang="authy_mfa_desc_phone"}
				{{else}}
					{lang="authy_mfa_desc_sms"}
				{{endif}}
			{{endif}}
		</div>
	</div>
	{{if \in_array( 'authy', $methods )}}
		<div class='ipsType_center'>
			{{$langCode = mb_substr( \IPS\Member::loggedIn()->language()->bcp47(), 0, 2 );}}
			<a href="{url="authy_ios" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/ios/{$langCode}.svg" app="core" location="global"}" class="ipsSpacer_both"></a>
			<a href="{url="authy_android" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/android/{$langCode}.png" app="core" location="global"}" style="height: 60px"></a>
		</div>
	{{endif}}
	<div class="ipsPad">
		<div class='ipsGrid'>
			<div class='ipsGrid_span5 ipsType_center'>
				<select data-sort name="countryCode">
					{{foreach \IPS\Helpers\Form\Tel::$diallingCodes as $country => $codes}}
						{{foreach $codes as $code}}
							<option value="{$country}-{$code}" data-code="+{$code}" data-text="{lang="country-{$country}"} (+{$code})" {{if $country == $countryCode or "{$country}-{$code}" == $countryCode}}selected{{endif}}>{lang="country-{$country}"} (+{$code})</option>
						{{endforeach}}
					{{endforeach}}
				</select>
			</div>
			<div class='ipsGrid_span7 ipsType_center'>
				<input name="phoneNumber" type="tel" value="{$phoneNumber}" placeholder="{lang="authy_placeholder"}" autocomplete="tel-national">
			</div>
		</div>
		{{if request.countryCode}}
			<p class="ipsType_warning">{lang="$error"}</p>
		{{endif}}
	</div>
	<div class="ipsPad ipsAreaBackground ipsGrid">
		{{if \in_array( 'authy', $methods )}}
			<div class="ipsGrid_span12">
				<button type='submit' name="method" value="authy" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
					<i class='fa fa-lock'></i>&nbsp; {lang="authy_submit_authy"}
				</button>
			</div>
		{{else}}
			{{if \in_array( 'phone', $methods )}}
				<div class="ipsGrid_span{{if \in_array( 'sms', $methods )}}6{{else}}12{{endif}}">
					<button type='submit' name="method" value="phone" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-phone'></i>&nbsp; {lang="authy_submit_call"}
					</button>
				</div>
			{{endif}}
			{{if \in_array( 'sms', $methods )}}
				<div class="ipsGrid_span{{if \in_array( 'phone', $methods )}}6{{else}}12{{endif}}">
					<button type='submit' name="method" value="sms" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-commenting'></i>&nbsp; {lang="authy_submit_sms"}
					</button>
				</div>
			{{endif}}
		{{endif}}
	</div>
    {template="mfaSetupOptOut" app="core" group="login" location="global"}
</div>]]></template>
 <template template_group="login" template_name="authySetupLockout" template_data="$showingMultipleForms, $lockEndTime=NULL" template_location="global" template_app="core"><![CDATA[<div id="elAuthy">
	<div class='ipsPad'>
		{{if !$showingMultipleForms}}
			<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
		{{endif}}
	</div>
	<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
		{lang="authy_setup_lockout" sprintf="$lockEndTime"}
	</div>
</div>]]></template>
 <template template_group="login" template_name="googleAuthenticatorAuth" template_data="$waitUntil" template_location="global" template_app="core"><![CDATA[<div id="elGoogleAuthenticator" data-controller="core.global.core.googleAuth" data-waitUntil="{$waitUntil}">
	<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
		{lang="google_mfa_auth"}
	</div>
	<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground" data-role="codeInput">
		<li class="ipsFieldRow ipsClearfix " id="google_authenticator_form_google_authenticator_setup_code">
			<div class="ipsFieldRow_content">
				<input type="text" name="google_authenticator_auth_code" value="" class="{{if request.google_authenticator_auth_code}}ipsField_error{{endif}}" autocomplete="one-time-code" >
				{{if request.google_authenticator_auth_code}}
					<p class="ipsType_warning">{lang="google_mfa_invalid_code"}</p>
				{{endif}}
			</div>
		</li>
		<li>
			<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
				<i class='fa fa-lock'></i> &nbsp;{lang="google_submit_code"}
			</button>
		</li>
	</ul>
	<div class="ipsType_center ipsHide" data-role="codeWaiting">
		<div class="ipsProgressBar ipsProgressBar_animated">
			<div class="ipsProgressBar_progress" data-role="codeWaitingProgress"></div>
		</div>
		<p class="ipsType_small">{lang="google_wait_for_code"}</p>
	</div>
</div>]]></template>
 <template template_group="login" template_name="googleAuthenticatorSetup" template_data="$qrCodeUrl, $secretKey, $showingMultipleForms" template_location="global" template_app="core"><![CDATA[<div id="elGoogleAuthenticator" data-controller="core.global.core.googleAuth">
	<input type="hidden" name="secret" value="{$secretKey}">
	<div data-role="barcode">
		<div class='ipsPad'>
			{{if !$showingMultipleForms}}
				<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
			{{endif}}
			<div class="ipsType_medium ipsType_richText ipsType_center c2FA_info">
				{{if $showingMultipleForms}}
					{lang="google_mfa_desc_multi"}
				{{else}}
					{lang="google_mfa_desc_single"}
				{{endif}}
			</div>
		</div>
		<div class='ipsGrid ipsGrid_collapsePhone'>
			<div class='ipsGrid_span4 ipsType_center'>
				<img src="{$qrCodeUrl}" width="150" height="150">
			</div>
			<div class='ipsGrid_span8 ipsType_center'>
				{{$langCode = mb_substr( \IPS\Member::loggedIn()->language()->bcp47(), 0, 2 );}}
				<a href="{url="googleauth_ios" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/ios/{$langCode}.svg" app="core" location="global"}" class="ipsSpacer_both"></a>
				<a href="{url="googleauth_android" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/android/{$langCode}.png" app="core" location="global"}" style="height: 60px"></a>
		
				<p class='ipsType_reset'>
					<a class="ipsCursor_pointer" data-action="showManual">{lang="google_mfa_help"}</a>
				</p>
			</div>
		</div>
	</div>
	<div data-role="manual" class="ipsHide">
		<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
			{{if !$showingMultipleForms}}
				<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
			{{endif}}
			<div class="ipsType_medium ipsType_richText ipsType_center c2FA_info">
				{{if $showingMultipleForms}}
					{lang="google_mfa_desc_multi_manual"}
				{{else}}
					{lang="google_mfa_desc_single_manual"}
				{{endif}}
			</div>
		</div>
		<div class='ipsGrid ipsGrid_collapsePhone'>
			<div class='ipsGrid_span5'>
				<ul class="ipsDataList ipsDataList_reducedSpacing">
					<li class="">
						<span class="ipsDataItem_generic">
							<strong>{lang="google_mfa_account"}</strong><br>
							<em>{lang="google_mfa_account_email"}</em>
						</span>
					</li>
					<li class="">
						<span class="ipsDataItem_generic">
							<strong>{lang="google_mfa_key"}</strong><br>
							<code>{$secretKey}</code>
						</span>
					</li>
					<li class="">
						<span class="ipsDataItem_generic">
							<strong>{lang="google_mfa_timebased"}</strong><br>
							{lang="yes"}
						</span>
					</li>
				</ul>
			</div>
			<div class='ipsGrid_span7 ipsType_center'>
				{{$langCode = mb_substr( \IPS\Member::loggedIn()->language()->bcp47(), 0, 2 );}}
				<a href="{url="googleauth_ios" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/ios/{$langCode}.svg" app="core" location="global"}" class="ipsSpacer_both"></a>
				<a href="{url="googleauth_android" ips="true"}" target="_blank" rel="noopener"><img src="{resource="appstores/android/{$langCode}.png" app="core" location="global"}" style="height: 60px"></a>
		
				<p class='ipsType_reset ipsType_center'>
					<a class="ipsCursor_pointer" data-action="showBarcode">{lang="google_mfa_help_reset"}</a>
				</p>
			</div>
		</div>
	</div>

	<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground">
		<li class="ipsFieldRow ipsClearfix " id="google_authenticator_form_google_authenticator_setup_code">
			<div class="ipsFieldRow_content">
				<input type="text" name="google_authenticator_setup_code" value="" class="{{if request.google_authenticator_setup_code}}ipsField_error{{endif}}">
				{{if request.google_authenticator_setup_code}}
					<p class="ipsType_warning">{lang="google_mfa_invalid_code"}</p>
				{{endif}}
			</div>
		</li>
		<li>
			<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
				<i class='fa fa-lock'></i> {lang="google_submit_code"}
			</button>
		</li>
	</ul>
    {template="mfaSetupOptOut" app="core" group="login" location="global"}
</div>]]></template>
 <template template_group="login" template_name="loginButton" template_data="$method" template_location="global" template_app="core"><![CDATA[
<button type="submit" name="_processLogin" value="{$method->id}" class='ipsButton ipsButton_verySmall ipsButton_fullWidth ipsSocial {$method->buttonClass()}' style="background-color: {$method->buttonColor()}">
	{{if $icon = $method->buttonIcon()}}
		<span class='ipsSocial_icon'>
			{{if \is_string( $icon )}}
				<i class='fa fa-{$method->buttonIcon()}'></i>
			{{else}}
				<img src="{$icon->url}">
			{{endif}}
		</span>
		<span class='ipsSocial_text'>{lang="$method->buttonText()"}</span>
	{{else}}
		{lang="$method->buttonText()"}
	{{endif}}
</button>]]></template>
 <template template_group="login" template_name="mfaAuthenticate" template_data="$screen, $url" template_location="global" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
        {{if \IPS\Dispatcher::i()->controllerLocation !== 'admin'}}
        <div class="ipsMargin_top:half">
            <a class="ipsPadding_left:half ipsButton_link ipsButton_link--light ipsType_large" href="{$url->setQueryString( array( '_mfaCancel' => 1 ) )->csrf()}" data-ipsTooltip title="{lang="mfa_back"}">
                <i class="fa fa-arrow-left"></i>
            </a>
        </div>
        {{endif}}
        <h1 class='ipsType_center ipsType_pageTitle ipsSpacer_top'>{lang="mfa_popup_title"}</h1>
		<form action="{$url}" method="post" accept-charset='utf-8' data-ipsForm class="ipsForm ipsForm_fullWidth">
			<input type="hidden" name="mfa_auth" value="1">
			<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
			{$screen|raw}
			<div class="ipsAreaBackground ipsType_center ipsPad cOtherMethod">
				<a href='{$url->setQueryString( array( '_mfa' => 'alt', '_mfaMethod' => '' ) )}' class='ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth'>{lang="mfa_try_another_method"} <i class='fa fa-angle-right'></i></a>
			</div>
		</form>
	</div>
</div>]]></template>
 <template template_group="login" template_name="mfaLockout" template_data="$lockEndTime=NULL" template_location="global" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
		{{if settings.mfa_lockout_behaviour == 'lock'}}
			<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
				{lang="mfa_locked_out_end_time" sprintf="$lockEndTime"}
			</div>
		{{else}}
			<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
				{lang="mfa_locked_out"}
			</div>			
			{{if settings.mfa_lockout_behaviour == 'email'}}
				<div class="ipsAreaBackground ipsPad">
					<a href="{url="app=core&module=system&controller=settings&do=mfarecovery" base="front" seoTemplate="mfarecovery"}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_email"}</a>
				</div>
			{{elseif settings.mfa_lockout_behaviour == 'contact'}}
				<div class="ipsAreaBackground ipsPad">
					<a href="{url="app=core&module=contact&controller=contact" base="front" seoTemplate="contact"}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_contact"}</a>
				</div>
			{{endif}}
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="login" template_name="mfaRecovery" template_data="$handlers, $url, $knownDevicesAvailable=FALSE" template_location="global" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
		<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_top'>{lang="mfa_popup_recover_title"}</h1>
		<p class='ipsType_medium ipsType_richText ipsType_center c2FA_info'>
			{lang="mfa_popup_recover_info"}
		</p>
		<div class="ipsPad">
			<ul class="ipsList_reset">
				{{foreach $handlers as $key => $handler}}
					<li class="ipsSpacer_bottom ipsSpacer_half">
						<a href="{$url->setQueryString( array( '_mfa' => 'alt', '_mfaMethod' => $key ) )}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="$handler->recoveryButton()"}</a>
					</li>
				{{endforeach}}
				{{if $knownDevicesAvailable}}
					<li class="ipsSpacer_bottom ipsSpacer_half"><a href="{$url->setQueryString( array( '_mfa' => 'knownDevice' ) )}" class="ipsButton ipsButton_light ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_known_device"}</a></li>
				{{endif}}
				{{if \in_array( 'email', explode( ',', \IPS\Settings::i()->mfa_forgot_behaviour ) )}}
					<li class="ipsSpacer_bottom ipsSpacer_half"><a href="{url="app=core&module=system&controller=settings&do=mfarecovery" base="front" seoTemplate="mfarecovery"}" class="ipsButton ipsButton_link ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_email"}</a></li>
				{{endif}}
				{{if \in_array( 'contact', explode( ',', \IPS\Settings::i()->mfa_forgot_behaviour ) ) and \IPS\Member::loggedIn()->canUseContactUs()}}
					<li class="ipsSpacer_bottom ipsSpacer_half"><a href="{url="app=core&module=contact&controller=contact" base="front" seoTemplate="contact"}" class="ipsButton ipsButton_link ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_contact"}</a></li>
				{{endif}}
			</ul>
		</div>
	</div>
</div>]]></template>
 <template template_group="login" template_name="mfaSetup" template_data="$acceptableHandlers, $member, $url" template_location="global" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
		<form action="{$url}" method="post" accept-charset='utf-8' data-ipsForm class="ipsForm ipsForm_fullWidth">
			<input type="hidden" name="mfa_setup" value="1">
			<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
			{{if \count( $acceptableHandlers ) > 1}}
				<div class='ipsAreaBackground ipsType_center'>
					<div class='ipsPad'>
						<h1 class='ipsType_center ipsType_pageTitle'>{lang="mfa_popup_setup_title"}</h1>
						<p class='ipsSpacer_top ipsSpacer_half ipsPos_center ipsType_medium ipsType_richText c2FA_info'>
							{lang="mfa_setup_multiple"}
						</p>
					</div>
					<div class='ipsTabs ipsTabs_small ipsTabs_stretch ipsClearfix ipsJS_show' id='tabs_2fa' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_2fa'>
						<a href='#tabs_2fa' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
						<ul role='tablist'>
							{{$checked = NULL;}}
							{{foreach $acceptableHandlers as $key => $handler}}
								<li>
									<a href='#ipsTabs_tabs_2fa_2fa_tab_{$key}_panel' id='2fa_tab_{$key}' class="ipsTabs_item {{if !$checked}}ipsTabs_activeItem{{$checked = $key;}}{{endif}}" role="tab">
										<input class='ipsJS_hide' type="radio" name="mfa_method" value="{$key}" id="el2FARadio_{$key}" {{if $checked == $key}}checked{{endif}}>
										{lang="mfa_{$key}_title"}
									</a>
								</li>
							{{endforeach}}						
						</ul>
					</div>
				</div>
			{{endif}}
			<div id='ipsTabs_content_2fa' class='ipsTabs_panels'>
				{{foreach $acceptableHandlers as $key => $handler}}
					<div id='ipsTabs_tabs_2fa_2fa_tab_{$key}_panel' class="ipsTabs_panel" aria-labelledby="2fa_tab_{$key}" aria-hidden="false">
						{$handler->configurationScreen( $member, ( \count( $acceptableHandlers ) > 1 ), $url )|raw}
					</div>
				{{endforeach}}
			</div>

			{{if settings.mfa_required_groups != '*' and !$member->inGroup( explode( ',', settings.mfa_required_groups ) )}}
				<div class="ipsAreaBackground ipsType_center cOtherMethod ipsPad">
					<a href='{$url->setQueryString( '_mfa', 'optout' )->csrf()}' class='ipsButton ipsButton_link ipsButton_fullWidth ipsButton_medium' data-confirm {{if member.language()->checkKeyExists('security_questions_opt_out_warning_value')}}data-confirmSubMessage="{lang="security_questions_opt_out_warning_value"}"{{endif}}>{lang="mfa_opt_out"}</a>
				</div>
			{{endif}}
		</form>
	</div>
</div>]]></template>
 <template template_group="login" template_name="mfaSetupOptOut" template_data="" template_location="global" template_app="core"><![CDATA[{{if settings.mfa_required_groups != '*' and !\IPS\Member::loggedIn()->inGroup( explode( ',', settings.mfa_required_groups ) )}}
{{$thisUrl = \IPS\Request::i()->url();}}
<div class="ipsAreaBackground ipsType_center cOtherMethod ipsPad">
	<a href='{$thisUrl->stripQueryString()}' class='ipsButton ipsButton_link ipsButton_fullWidth ipsButton_medium'>{lang="mfa_opt_out"}</a>
</div>
{{endif}}]]></template>
 <template template_group="login" template_name="oauthAuthorize" template_data="$url, $client, $scopes" template_location="global" template_app="core"><![CDATA[<div data-controller="core.global.core.framebust">
	<div class="ipsType_center ipsSpacer_bottom">
		{template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'large'"}
		<h1 class='ipsType_veryLarge ipsType_center'>{lang="oauth_authorize_title" sprintf="\IPS\Settings::i()->board_name"}</h1>
	</div>
	<form action="{$url}" method="post">
		<input type="hidden" name="allow" value="1">
		<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
		<div class="ipsBox ipsPad">
			<div class="ipsType_large">
				{{if $scopes and !$client->type}}
					{lang="oauth_auth_scope_title_named" sprintf="$client->_title"}
					<ul class="{{if $client->choose_scopes}}ipsField_fieldList{{else}}ipsList_bullets{{endif}} ipsSpacer_top">
						{{foreach $scopes as $key => $scope}}
							<li>
								{{if $client->choose_scopes}}
									<span class='ipsCustomInput'>
										<input id="elScope_{$key}" type="checkbox" name="grantedScope[{$key}]" checked>
										<span></span>
									</span>
									<div class="ipsField_fieldList_content">
										<label for="elScope_{$key}">{$scope}</label>
									</div>
								{{else}}
									{$scope}
								{{endif}}
							</li>
						{{endforeach}}
					</ul>
				{{else}}
					<p class="ipsType_center">{lang="oauth_auth_no_scope" sprintf="$client->_title"}</p>
				{{endif}}
			</div>
		</div>
		<div class="ipsAreaBackground ipsPad ipsType_center">
			<button type="submit" class="ipsButton ipsButton_primary">{lang="oauth_authorize_approve" sprintf="\IPS\Member::loggedIn()->name"}</button>
			<div class="ipsSpacer_top">
				<a href="{$url->setQueryString( 'prompt', 'login' )}" class="ipsButton ipsButton_link">{lang="oauth_authorize_switch"}</a>
				&nbsp;
				<a href="{$url->setQueryString( 'allow', 0 )->csrf()}" class="ipsButton ipsButton_link">{lang="cancel"}</a>
			</div>
		</div>
	</form>
</div>]]></template>
 <template template_group="login" template_name="oauthLogin" template_data="$url, $client, $scopes, $login, $error" template_location="global" template_app="core"><![CDATA[<div data-controller="core.global.core.framebust" class='ipsMargin_top:double sm:ipsMargin:none'>
	<form accept-charset='utf-8' method='post' action='{$login->url}'>
		<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
		{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
		{{$buttonMethods = $login->buttonMethods();}}
		{{if $usernamePasswordMethods and $buttonMethods}}
			{{if $error}}
				<div class="ipsMessage ipsMessage_error">{lang="$error"}</div>
			{{endif}}
			<div class='ipsColumns ipsColumns_collapsePhone'>
				<div class='ipsColumn ipsColumn_fluid'>
					<div class='{{if !request.isAjax()}}ipsBox{{endif}} ipsPadding ipsResponsive_pull'>
						<h1 class='ipsType_reset ipsType_pageTitle'>{lang="oauth_authorize_title" sprintf="\IPS\Settings::i()->board_name"}</h1>
						{{if \IPS\Login::registrationType() != 'disabled'}}
							<p class='ipsType_reset ipsType_large ipsType_light'>
								{lang="dont_have_an_account"}
								{{if \IPS\Login::registrationType() == 'redirect'}}
									<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener">
								{{else}}
									<a href='{expression="\IPS\Http\Url::internal( 'oauth/authorize/?register', 'interface' )"}'>
								{{endif}}
								{lang="sign_up"}</a>
							</p>
							<hr class='ipsHr ipsMargin_vertical'>
						{{endif}}
						{template="loginForm" app="core" group="system" params="$login"}
					</div>
				</div>
				<div class='ipsColumn ipsColumn_veryWide'>
					<div class='{{if !request.isAjax()}}ipsBox{{endif}} ipsPadding ipsResponsive_pull'>
						<h2 class='ipsType_sectionHead'>{lang="sign_in_faster"}</h2>
						{{if \count( $buttonMethods ) > 1}}
							<p class='ipsType_normal ipsType_reset ipsType_light'>{lang='sign_in_with_these'}</p>
						{{endif}}
						<div class='ipsGap:2 ipsMargin_top:half'>
							{{foreach $buttonMethods as $method}}
								<div class='ipsType_center'>
									{$method->button()|raw}
								</div>
							{{endforeach}}
						</div>
					</div>
				</div>
			</div>
		{{elseif $usernamePasswordMethods}}
			<div class='cLogin_single ipsPos_center'>
			{{if $error}}
				<p class="ipsMessage ipsMessage_error">{lang="$error"}</p>
			{{endif}}
				<div class="{{if !request.isAjax()}}ipsBox{{endif}} ipsPadding">
					{template="loginForm" app="core" group="system" params="$login"}
				</div>
			</div>
		{{elseif $buttonMethods}}
			<div class="cLogin_single ipsPos_center">
				{{if $error}}
					<p class="ipsMessage ipsMessage_error">{lang="$error"}</p>
				{{endif}}
				<div class='ipsGap:2 ipsMargin_top:half'>
					{{foreach $buttonMethods as $method}}
						<div class='ipsType_center'>
							{$method->button()|raw}
						</div>
					{{endforeach}}
				</div>
			</div>
		{{endif}}
	</form>
</div>]]></template>
 <template template_group="login" template_name="oauthLoginStandard" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="global" template_app="core"><![CDATA[<input type="hidden" name="{$id}_submitted" value="1">
{{foreach $hiddenValues as $k => $v}}
	<input type="hidden" name="{$k}" value="{$v}">
{{endforeach}}
<ul class='ipsList_reset'>
	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Password}}
				{{if $input instanceof \IPS\Helpers\Form\Password}}
					<li class='ipsFieldRow ipsClearfix {{if $input->error}}ipsFieldRow_error{{endif}}' {{if $input->htmlId}}id="{$input->htmlId}"{{endif}}>
						<label class='ipsFieldRow_label' for='{$input->htmlId}'>
							{lang="$input->name"} {{if $input->required}}<span class='ipsFieldRow_required'>{lang="required"}</span>{{endif}}
						</label>
						<div class='ipsFieldRow_content'>
							{$input->html()|raw}
							{{if settings.allow_forgot_password != 'disabled'}}
								{{if settings.allow_forgot_password == 'redirect'}}
									<a href='{expression="\IPS\Settings::i()->allow_forgot_password_target"}' target="_blank" rel="noopener" class="ipsType_small">
								{{else}}
									<a href='{url="app=core&module=system&controller=lostpass" seoTemplate="lostpassword"}' {{if \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-title='{lang="forgotten_password"}'{{endif}} class="ipsType_small">
								{{endif}}
								{lang="forgotten_password"}</a>
							{{endif}}
							{{if $input->error}}
								<br>
								<span class="ipsType_warning">{lang="$input->error"}</span>
							{{endif}}
						</div>
					</li>
				{{endif}}
			{{else}}
				{$input->rowHtml($form)|raw}
			{{endif}}
		{{endforeach}}
	{{endforeach}}
</ul>]]></template>
 <template template_group="login" template_name="securityQuestionsAuth" template_data="$question" template_location="global" template_app="core"><![CDATA[<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
	{lang="security_questions_auth_blurb"}
</div>
<ul class="ipsList_reset ipsPad ipsClearfix">
	<li class="ipsFieldRow ipsClearfix">
		<label class='ipsFieldRow_label'>
			{$question->_title}
		</label>
		<div class="ipsFieldRow_content">
			<input type="text" name="security_answer" autocomplete="off" {{if request.security_answer}}class="ipsField_error"{{endif}}>
			{{if request.security_answer}}
				<p class="ipsType_warning">{lang="security_answer_incorrect"}</p>
			{{endif}}
		</div>
	</li>
</ul>
<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground">
	<li>
		<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
			<i class='fa fa-lock'></i> {lang="security_answer_submit"}
		</button>
	</li>
</ul>
]]></template>
 <template template_group="login" template_name="securityQuestionsSetup" template_data="$securityQuestions, $showingMultipleForms" template_location="global" template_app="core"><![CDATA[{{if !$showingMultipleForms}}
	<div class='ipsPad'>
		<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
		<div class="ipsType_normal ipsType_richText ipsType_center">
			{lang="security_questions_setup_blurb" pluralize="\IPS\Settings::i()->security_questions_number ?: 3"}
		</div>
	</div>
{{endif}}
<ul class="ipsList_reset ipsPad ipsClearfix">
	{{foreach range( 1, min( settings.security_questions_number ?: 3, \count( $securityQuestions ) ) ) as $i}}
		<li class="ipsFieldRow ipsClearfix">
			<div class="ipsFieldRow_content">
				<select name="security_question[{$i}]">
					{{foreach $securityQuestions as $k => $v}}
						<option value="{$k}" {{if \is_array( request.security_question ) AND request.security_question[$i] == $k}}selected{{endif}}>{$v}</option>
					{{endforeach}}
				</select>
			</div>
		</li>
		<li class="ipsFieldRow ipsClearfix">
			<div class="ipsFieldRow_content">
				<input type="text" name="security_answer[{$i}]" value="{{if isset( request.security_answer[$i] )}}{expression="\IPS\Request::i()->security_answer[$i]"}{{endif}}">
			</div>
		</li>
	{{endforeach}}
</ul>
{{if \is_array( \IPS\Request::i()->security_answer ) and \count( array_filter( \IPS\Request::i()->security_answer ) )}}
	<div class="ipsPad ipsType_warning">{lang="security_questions_unique" pluralize="\IPS\Settings::i()->security_questions_number ?: 3"}</div>
{{endif}}
<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground">
	<li>
		<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
			{lang="security_questions_save"}
		</button>
	</li>
</ul>
{template="mfaSetupOptOut" app="core" group="login" location="global"}]]></template>
 <template template_group="login" template_name="verifyAuthenticate" template_data="$method, $done, $error, $setup, $availableMethods, $url=NULL" template_location="global" template_app="core"><![CDATA[<div id="elVerify">
	<div class="ipsPad ipsType_normal ipsType_center">
        {{if $method == 'phone'}}
            {{if $done}}
                {lang="verify_call_auth_done"}
            {{else}}
                {lang="verify_call_auth"}
            {{endif}}
        {{elseif $done}}
            {lang="verify_{$method}_auth_done"}
        {{else}}
            {lang="verify_{$method}_auth"}
        {{endif}}
	</div>
	{{if $done}}
		<ul class="ipsList_reset ipsPad ipsClearfix ipsAreaBackground">
            <li class="ipsFieldRow ipsClearfix ">
				<div class="ipsFieldRow_content cVerify_container">
					<input type="text" name="verify_auth_code" value="" class="{{if request.verify_auth_code}}ipsField_error{{endif}}" autocomplete="one-time-code" >
					{{if request.verify_auth_code}}
						<p class="ipsType_warning">{lang="$error"}</p>
					{{endif}}
                </div>
            </li>
			<li>
				<button type='submit' class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium ipsSpacer_bottom'>
					<i class='fa fa-lock'></i> &nbsp;{lang="verify_submit_code"}
				</button>
			</li>
			{{if $setup}}
				<li>
					<a href="{$url->csrf()->setQueryString( '_new', '1' )}" class='ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth'>{lang="verify_change_number"}</a>
				</li>
			{{endif}}
		</ul>
	{{else}}
		<div class="ipsPad ipsAreaBackground">
			{{if \in_array( 'phone', $availableMethods )}}
				<div class="ipsMargin_bottom">
					<a href="{$url->csrf()->setQueryString( 'verify_method', 'phone' )}" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-phone'></i>&nbsp; {lang="verify_submit_call"}
					</a>
				</div>
			{{endif}}
			{{if \in_array( 'sms', $availableMethods )}}
                <div class="ipsMargin_bottom">
					<a href="{$url->csrf()->setQueryString( 'verify_method', 'sms' )}" value="sms" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-commenting'></i>&nbsp; {lang="verify_submit_sms"}
					</a>
				</div>
			{{endif}}
            {{if \in_array( 'whatsapp', $availableMethods )}}
            <div class="ipsMargin_bottom">
                <a href="{$url->csrf()->setQueryString( 'verify_method', 'whatsapp' )}" value="sms" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
                    <i class='fa fa-comment-o'></i>&nbsp; {lang="verify_submit_whatsapp"}
                </a>
            </div>
            {{endif}}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="login" template_name="verifyError" template_data="$error" template_location="global" template_app="core"><![CDATA[<div id="elVerify">
	<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
		{lang="verify_error"}
		{{if member.isAdmin()}}
			<div class="ipsType_warning ipsSpacer_top">
				{$error}
			</div>
		{{endif}}
	</div>
</div>
{{if \IPS\Member::loggedIn()->canUseContactUs()}}
	<div class="ipsAreaBackground ipsPad">
		<a href="{url="app=core&module=contact&controller=contact" base="front" seoTemplate="contact"}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="mfa_recovery_contact"}</a>
	</div>
{{endif}}]]></template>
 <template template_group="login" template_name="verifySetup" template_data="$countryCode, $phoneNumber, $showingMultipleForms, $methods, $error" template_location="global" template_app="core"><![CDATA[<div id="elVerify">
	<div class='ipsPad'>
		{{if !$showingMultipleForms}}
			<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
		{{endif}}
		<div class="ipsType_medium ipsType_richText ipsType_center c2FA_info">
				{{if !$showingMultipleForms}}
					{lang="verify_mfa_desc_phone_prefix"}
				{{endif}}
				{{if \count( $methods ) > 1}}
					{lang="verify_mfa_desc_sms_or_phone"}
				{{elseif \in_array( 'phone', $methods )}}
					{lang="verify_mfa_desc_phone"}
				{{else}}
					{lang="verify_mfa_desc_sms"}
				{{endif}}
		</div>
	</div>
	<div class="ipsPad">
		<div class='ipsGrid'>
			<div class='ipsGrid_span5 ipsType_center'>
				<select data-sort name="countryCode">
					{{foreach \IPS\Helpers\Form\Tel::$diallingCodes as $country => $codes}}
						{{foreach $codes as $code}}
							<option value="{$country}-{$code}" data-code="+{$code}" data-text="{lang="country-{$country}"} (+{$code})" {{if $country == $countryCode or "{$country}-{$code}" == $countryCode}}selected{{endif}}>{lang="country-{$country}"} (+{$code})</option>
						{{endforeach}}
					{{endforeach}}
				</select>
			</div>
			<div class='ipsGrid_span7 ipsType_center'>
				<input name="phoneNumber" type="tel" value="{$phoneNumber}" placeholder="{lang="verify_placeholder"}" autocomplete="tel-national">
			</div>
		</div>
		{{if request.countryCode}}
			<p class="ipsType_warning">{lang="$error"}</p>
		{{endif}}
	</div>
	<div class="ipsPad ipsAreaBackground">
			{{if \in_array( 'phone', $methods )}}
				<div class="ipsMargin_bottom">
					<button type='submit' name="method" value="phone" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-phone'></i>&nbsp; {lang="verify_submit_call"}
					</button>
				</div>
			{{endif}}
			{{if \in_array( 'sms', $methods )}}
				<div class="ipsMargin_bottom">
					<button type='submit' name="method" value="sms" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
						<i class='fa fa-commenting'></i>&nbsp; {lang="verify_submit_sms"}
					</button>
				</div>
			{{endif}}
            {{if \in_array( 'whatsapp', $methods )}}
                <div class="ipsMargin_bottom">
                    <button type='submit' name="method" value="whatsapp" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium'>
                        <i class='fa fa-comment-o'></i>&nbsp; {lang="verify_submit_whatsapp"}
                    </button>
                </div>
            {{endif}}
	</div>
    {template="mfaSetupOptOut" app="core" group="login" location="global"}
</div>]]></template>
 <template template_group="login" template_name="verifySetupLockout" template_data="$showingMultipleForms, $lockEndTime=NULL" template_location="global" template_app="core"><![CDATA[<div id="elAuthy">
	<div class='ipsPad'>
		{{if !$showingMultipleForms}}
			<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_bottom ipsSpacer_half'>{lang="mfa_popup_setup_title"}</h1>
		{{endif}}
	</div>
	<div class="ipsPad ipsType_normal ipsType_richText ipsType_center">
		{lang="verify_setup_lockout" sprintf="$lockEndTime"}
	</div>
</div>]]></template>
 <template template_group="logs" template_name="adminLogin" template_data="$log, $request" template_location="admin" template_app="core"><![CDATA[	<div class="ipsAreaBackground_light ipsPad">
		<h3 class="ipsType_sectionHead ipsPad">{lang="adminloginlogs_general"}</h3>
			{template="definitionTable" app="core" group="global" params="$log"}
		<h3 class="ipsType_sectionHead ipsPad">{lang="adminloginlogs_request"}</h3>
			{template="definitionTable" app="core" group="global" params="$request"}
	</div>

]]></template>
 <template template_group="logs" template_name="emailErrorBody" template_data="$log" template_location="admin" template_app="core"><![CDATA[<div class='ipsAreaBackground ipsPad'>
	<div>
		<label>{lang="emailerrorlogs_mlog_from"}</label>
		<strong>{$log['mlog_from']}</strong>
	</div>
	<pre>{$log['mlog_content']}</pre>
</div>]]></template>
 <template template_group="logs" template_name="emailErrorLog" template_data="$value, $log" template_location="admin" template_app="core"><![CDATA[{$value|raw}
{{if !empty($log['mlog_smtp_log']) }}
<a data-ipsDialog data-ipsDialog-content="#errorLog-{$log['mlog_id']}" data-ipsDialog-title="{lang="emailerrorlog_logtitle"}" href='#errorLog-{$log['mlog_id']}'>{lang="view_full_smtp_log"}</a>
<div class='ipsHide ipsAreaBackground ipsPad' id='errorLog-{$log['mlog_id']}'><pre>{$log['mlog_smtp_log']}</pre></div>
{{endif}}]]></template>
 <template template_group="memberprofile" template_name="basicInformation" template_data="$member, $canChangePassword, $hasPassword, $activeIntegrations, $actions, $activeSubscription" template_location="admin" template_app="core"><![CDATA[{{$coverPhoto = $member->coverPhoto();}}
<div class='acpMemberView_info ipsBox ipsSpacer_bottom'>
	<div class='acpMemberView_coverPhoto' data-controller='core.global.core.coverPhoto' data-url="{$member->acpUrl()}" data-coverOffset='{$coverPhoto->offset}'>
		{{if $coverPhoto->file}}
			<div class='ipsCoverPhoto_container'>
				<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
			</div>
		{{endif}}
		{{if $coverPhoto->editable and member.hasAcpRestriction( 'core', 'members', 'member_photo' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_photo_admin' ) )}}
			<a href='#editCover_menu' id="editCover" data-ipsMenu data-ipsMenu-activeClass='acpMemberView_editButton_active' class='acpMemberView_editButton' data-ipsTooltip title='{lang="edit_cover_photo"}' data-hideOnCoverEdit data-role='coverPhotoOptions'><i class='fa fa-pencil'></i><i class='fa fa-caret-down'></i></a>
			<div id='editCover_menu' class='ipsMenu ipsHide'>
				<ul>
					<li class="ipsMenu_item">
						<a href='{$member->acpUrl()->setQueryString( 'do', 'coverPhotoUpload' )}' data-ipsDialog data-ipsDialog-title="{lang="cover_photo_add"}">{lang="cover_photo_add"}</a>
					</li>
					{{if $coverPhoto->file}}
						<li class='ipsMenu_item ipsHide' data-role="photoEditOption">
							<a href='#' data-action='positionCoverPhoto'>{lang="cover_photo_reposition"}</a>
						</li>
						<li class='ipsMenu_item' data-role="photoEditOption">
							<a href='{$member->acpUrl()->setQueryString( 'do', 'coverPhotoRemove' )->csrf()}' data-action='removeCoverPhoto'>{lang="cover_photo_remove"}</a>
						</li>
					{{endif}}
				</ul>
			</div>
		{{endif}}
	</div>
	<div class='acpMemberView_photo' data-hideOnCoverEdit>
		{template="userPhoto" app="core" group="global" params="$member, 'large'"}
		{{if member.hasAcpRestriction( 'core', 'members', 'member_photo' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_photo_admin' ) )}}
			<a href='#editPhoto_menu' class='acpMemberView_editButton' data-ipsMenu data-ipsMenu-activeClass='acpMemberView_editButton_active' id="editPhoto" title="{lang="edit_profile_photo"}" data-ipsTooltip><i class='fa fa-pencil'></i><i class='fa fa-caret-down'></i></a>
			<div id='editPhoto_menu' class='ipsMenu ipsHide'>
				<ul>
					<li class="ipsMenu_item">
						<a href='{$member->acpUrl()->setQueryString( 'do', 'photo' )}' data-ipsDialog data-ipsDialog-title="{lang="member_photo_new"}">{lang="member_photo_new"}</a>
					</li>
					{{if $member->pp_photo_type == 'custom'}}
						<li class="ipsMenu_item">
							<a href='{$member->acpUrl()->setQueryString( 'do', 'photoCrop' )}' data-ipsDialog data-ipsDialog-title="{lang="member_photo_crop"}">{lang="member_photo_crop"}</a>
						</li>
						<li class="ipsMenu_item">
							<a href='{$member->acpUrl()->setQueryString( 'do', 'photoResize' )}' data-ipsDialog data-ipsDialog-title="{lang="member_photo_resize"}">{lang="member_photo_resize"}</a>
						</li>
					{{endif}}
					{{if $member->pp_photo_type and !$member->pp_photo_type != 'none'}}
						<li class="ipsMenu_item">
							<a href='{$member->acpUrl()->setQueryString( array( 'do' => 'photo', 'remove' => 1 ) )->csrf()}' data-confirm>{lang="member_photo_delete"}</a>
						</li>
					{{endif}}
				</ul>
			</div>
		{{endif}}
	</div>
	<div class='ipsPad'>
		<p class='ipsType_pageTitle acpMemberView_username' data-controller='core.admin.core.editable' {{if ! $member->name}}data-default='empty'{{endif}}data-url='{$member->acpUrl()->setQueryString('do', 'name')}'>
			{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
				<span class='ipsType_break' data-name='name'>
					<span data-role='text'>{{if $member->name}}{$member->name}{{else}}{lang="members_name_missing_add"}{{endif}}</span>
				</span>
				<span>
					<a href='#' data-role='edit' class='acpMemberView_editButton' title='{lang="edit_username"}' data-ipsTooltip><i class='fa fa-pencil'></i></a>
				</span>
			{{else}}
 				{$member->name}
 			{{endif}}
		</p>
		<p class='ipsType_reset ipsType_medium acpMemberView_email' data-controller='core.admin.core.editable' data-url='{$member->acpUrl()->setQueryString('do', 'email')}'>
			{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
				<span class='ipsType_break' data-name='email'>
					<span data-role='text'>{$member->email}</span> 
				</span>
				<span>
					<a href='#' data-role='edit' class='acpMemberView_editButton' title='{lang="edit_email_address"}' data-ipsTooltip><i class='fa fa-pencil'></i></a>
				</span>
			{{else}}
 				{$member->email}
 			{{endif}}
		</p>
		<p class='ipsType_reset ipsType_light ipsType_normal'>{lang="member_joined" htmlsprintf="$member->joined->html()"}</p>
		{{if $member->referredBy()}}
			<p class="ipsType_reset ipsType_light ipsType_normal">
				{lang="member_referred_by" htmlsprintf="$member->referredBy()->acpURL(), $member->referredBy()->name"}
			</p>
		{{endif}}
		{{if $activeSubscription and $activeSubscription->package}}
			<p class="ipsType_reset ipsType_center ipsType_positive ipsType_normal ipsSpacer_half">
				{{if member.hasAcpRestriction( 'nexus', 'customers', 'purchases_view' ) and $activeSubscription->purchase and $activeSubscription->package}}
					<a href="{$activeSubscription->purchase->acpUrl()}" class="ipsType_blendLinks">
				{{endif}}
				<i class="fa fa-certificate"></i> &nbsp; {lang="nexus_subs_subscriber" sprintf="$activeSubscription->package->_title"}
				{{if member.hasAcpRestriction( 'nexus', 'customers', 'purchases_view' ) and $activeSubscription->purchase and $activeSubscription->package}}
				</a>
				{{endif}}
			</p>
		{{endif}}

		<hr class='ipsHr'>
		<ul class='ipsList_reset'>
			{{if \count( $actions )}}
				<li class='ipsSpacer_bottom ipsSpacer_half'><a href='#memberActions_menu' data-ipsMenu id="memberActions" class='ipsButton ipsButton_primary ipsButton_large ipsButton_fullWidth'>{lang="account_actions"} <i class='fa fa-caret-down'></i></a></li>
			{{endif}}
			{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_edit' )}}
				<li class='ipsSpacer_bottom ipsSpacer_half'><a href='{$member->acpUrl()->setQueryString( 'do', 'edit' )}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth' data-ipsDialog data-ipsDialog-title="{lang="edit_member_account"}">{lang="edit_member_account"}</a></li>
			{{endif}}
			{{if $canChangePassword}}
				<li class='ipsSpacer_bottom ipsSpacer_half'>
					<a href='{$member->acpUrl()->setQueryString( 'do', 'password' )}' data-ipsDialog data-ipsDialog-title="{lang="edit_password"}" class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>
						{{if $hasPassword}}
							{lang="edit_password"}
						{{else}}
							{lang="set_password"}
						{{endif}}
					</a>
				</li>
			{{endif}}
			<li><a href='{$member->url()}' target='_blank' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>{lang="go_to_public_profile"}</a></li>
		</ul>
		{{if \count( $actions )}}
		<div id='memberActions_menu' class='ipsMenu ipsMenu_normal ipsHide'>
			<ul>
				{{foreach $actions as $item}}
					<li class="ipsMenu_item {{if isset( $item['class'] )}}{$item['class']}{{endif}}">
						<a href="{$item['link']}" {{if isset( $item['target'] )}}target='{$item['target']}'{{if $item['target'] == '_blank'}} rel="noopener"{{endif}}{{endif}} {{if isset( $item['data'] )}}{{foreach $item['data'] as $k => $v}} data-{$k}="{$v}"{{endforeach}}{{endif}}>
							{{if isset( $item['icon'] )}}
								<i class='fa fa-{$item['icon']}'></i> &nbsp;&nbsp;
							{{endif}}
							<span data-role="title">{lang="$item['title']"}</span>
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		{{endif}}
		{{if \count( $activeIntegrations )}}
			<div data-controller="core.admin.members.lazyLoadingProfileBlock" data-url="{$member->acpUrl()->setQueryString( array( 'do' => 'lazyBlock', 'block' => 'IPS\core\extensions\core\MemberACPProfileBlocks\LoginMethods' ) )}">
				<div class="ipsLoading ipsFaded">
					<hr class='ipsHr'>
					<h3 class='ipsType_minorHeading'>{lang="active_account_integrations"}</h3>
				
					<ul class='ipsDataList ipsDataList_reducedSpacing acpMemberView_integrations'>
						{{foreach $activeIntegrations as $title}}
							<li class='ipsDataItem'>
								<div class='ipsDataItem_generic ipsDataItem_size1'>
									<img src="{resource="default_photo.png" app="core" location="global"}" class="ipsUserPhoto ipsUserPhoto_tiny">
								</div>
								<div class='ipsDataItem_main'>
									{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
										<ul class="ipsControlStrip ipsType_noBreak ipsList_reset">
											<li class="ipsControlStrip_button">
												<a href="#" data-ipsTooltip title="{lang="profilesync_configure"}"><i class="ipsControlStrip_icon fa fa-pencil"></i></a>
											</li>
											<li class="ipsControlStrip_button">
												<a href="#" data-ipsTooltip title="{lang="sign_out"}"><i class="ipsControlStrip_icon fa fa-times-circle"></i></a>
											</li>
										</ul>
									{{endif}}
									<p class='ipsType_normal ipsType_reset acpMemberView_integrations_text'>
										{$title}<br>
										<span class='ipsType_medium ipsType_light'>&nbsp;</span>
									</p>
								</div>
							</li>
						{{endforeach}}
					</ul>
				</div>
			</div>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="clubs" template_data="$member, $clubs" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<ul class='ipsDataList'>
		{{foreach $clubs as $club}}
			<li class="ipsDataItem {{if settings.clubs_require_approval and !$club->approved}}ipsModerated{{endif}}">
				<div class='ipsDataItem_icon'>
					{template="clubIcon" group="clubs" app="core" location="front" params="$club, 'tiny'"}
				</div>
				<div class='ipsDataItem_main'>
					<h4 class='ipsDataItem_title ipsContained_container'>
						{{if settings.clubs_require_approval and !$club->approved}}
							<span><span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="club_unapproved"}'><i class='fa fa-eye-slash'></i></span></span>
						{{else}}
							{{if $club->featured}}
								<span><span class="ipsBadge ipsBadge_small ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
							{{endif}}
						{{endif}}
						<span class='ipsType_break ipsContained'>
							<a href='{$club->url()}' title="{$club->name}">{$club->name}</a>
						</span>
					</h4>
					<div class='ipsDataItem_meta ipsType_reset ipsType_blendLinks ipsType_break ipsContained' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='1 lines'>
						{$club->about}
					</div>
				</div>
				<ul class='ipsDataItem_stats'>
					<li>
						{lang="club_{$club->type}"}
					</li>
					{{if $club->type !== $club::TYPE_PUBLIC}}
						<li class="ipsType_light">
							{lang="club_members_count" pluralize="$club->members"}
						</li>
					{{endif}}
				</ul>
				{{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'clubs', 'clubs_edit' )}}
					<div class='ipsDataItem_generic ipsDataItem_size3 ipsSpacer_top ipsSpacer_half'>
						<a href='{url="app=core&module=clubs&controller=clubs&do=edit&id={$club->id}"}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'><i class='fa fa-pencil'></i> {lang="edit_club"}</a>
					</div>
				{{endif}}
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="memberprofile" template_name="contentBreakdown" template_data="$member, $percentages, $rawCounts" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class='acpStatsBar ipsSpacer_bottom'>
		{{foreach $percentages as $app => $percent}}
			<div class='acpStatsBar_segment' style='width: {$percent}%;' title='{template="contentStatisticsTooltip" group="memberprofile" params="$app, $rawCounts[ $app ], TRUE"}' data-ipsTooltip-label='{template="contentStatisticsTooltip" group="memberprofile" params="$app, $rawCounts[ $app ]"}' data-ipsTooltip data-ipsTooltip-safe></div>
		{{endforeach}}
	</div>
	<ul class='ipsList_inline'>
		{{foreach $percentages as $app => $percent}}
			<li class='acpStatsBar_legend'>
				<span class='acpStatsBar_preview'></span>
				{{if $app == 'core'}}
					{lang="module__core_status"}
				{{else}}
					{lang="__app_{$app}"}
				{{endif}}
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="memberprofile" template_name="contentStatisticsTooltip" template_data="$app, $counts, $noHtml=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $noHtml}}
{{foreach $counts as $class => $count}}{lang="{$class::$title}_pl"}: {number="$count"}
{{endforeach}}
{{else}}
	<strong>
		{{if $app == 'core'}}
			{lang="module__core_status"}
		{{else}}
			{lang="__app_{$app}"}
		{{endif}}
	</strong>
	<table>
		{{foreach $counts as $class => $count}}
			<tr>
				<td>{lang="{$class::$title}_pl"}</td>
				<td class="ipsType_right">{number="$count"}</td>
			</tr>
		{{endforeach}}
	</table>
{{endif}}]]></template>
 <template template_group="memberprofile" template_name="devicesAndIPAddresses" template_data="$member, $lastUsedIp, $devices" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView_devices ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-laptop ipsBox_titleBar__icon" aria-hidden="true"></i>
		{{if settings.ipsgeoip and \IPS\GeoLocation::enabled()}}
			{lang="devices_and_locations"}
		{{else}}
			{lang="devices_and_ips"}
		{{endif}}
	</h2>
	<div class='ipsTabs ipsTabs_contained ipsTabs_small ipsTabs_stretch ipsClearfix' id='tabs_devices' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_devices'>
		<a href='#tabs_devices' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist'>
			<li>
				<a href='#ipsTabs_tabs_devices_devices_tab_location_panel' id='devices_tab_location' class="ipsTabs_item" role="tab">
					{{if settings.ipsgeoip and \IPS\GeoLocation::enabled()}}
						{lang="member_ip_locations"}
					{{else}}
						{lang="ip_addresses"}
					{{endif}}
				</a>
			</li>
			<li>
				<a href='#ipsTabs_tabs_devices_devices_tab_devices_panel' id='devices_tab_devices' class="ipsTabs_item" role="tab">
					{lang="members_devices"}
				</a>
			</li>
		</ul>
	</div>
	<div id='ipsTabs_content_devices'>
		<div id='ipsTabs_tabs_devices_devices_tab_location_panel' class="ipsTabs_panel ipsPad" aria-labelledby="devices_tab_location" aria-hidden="false">
			{{if settings.ipsgeoip and \IPS\GeoLocation::enabled()}}
				<div data-controller="core.admin.members.lazyLoadingProfileBlock" data-url="{$member->acpUrl()->setQueryString( array( 'do' => 'lazyBlock', 'block' => 'IPS\core\extensions\core\MemberACPProfileBlocks\Locations' ) )}">
					<div class='acpMemberView_map ipsLoading ipsLoading_tiny'></div>
				</div>
			{{endif}}
			<div class='ipsGrid ipsSpacer_top ipsSpacer_half'>
				<div class='ipsGrid_span12'>
					<h3 class='ipsType_minorHeading'>{lang="registration_ip"}</h3>
					<p class='ipsType_medium ipsType_reset'>
						{{if member.hasAcpRestriction( 'core', 'members', 'membertools_ip' )}}
							<a href="{url="app=core&module=members&controller=ip&ip={$member->ip_address}"}" class="ipsType_blendLinks">{$member->ip_address}</a>
						{{else}}
							{$member->ip_address}
						{{endif}}
					</p>
				</div>
				<div class='ipsGrid_span12 ipsSpacer_top ipsSpacer_half'>
					<h3 class='ipsType_minorHeading'>{lang="last_used_ip"}</h3>
					<p class='ipsType_medium ipsType_reset'>
						{{if member.hasAcpRestriction( 'core', 'members', 'membertools_ip' )}}
							<a href="{url="app=core&module=members&controller=ip&ip={$lastUsedIp}"}" class="ipsType_blendLinks">{$lastUsedIp}</a>
						{{else}}
							{$lastUsedIp}
						{{endif}}
					</p>
				</div>
				<div class='ipsGrid_span12 ipsSpacer_top ipsSpacer_half'>
					<h3 class='ipsType_minorHeading'>{lang="timezone"}</h3>
					<p class='ipsType_medium ipsType_reset'>
						{lang="timezone__$member->timezone"}
					</p>
				</div>
			</div>
			{{if member.hasAcpRestriction( 'core', 'members', 'membertools_ip' )}}
				<a href="{url="app=core&module=members&controller=members&do=ip&id={$member->member_id}"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsSpacer_top ipsSpacer_half ipsButton_fullWidth">{lang="view_all_ip_addresses"}</a>
			{{endif}}
		</div>
		<div id='ipsTabs_tabs_devices_devices_tab_devices_panel' class="ipsTabs_panel ipsPad" aria-labelledby="devices_tab_devices" aria-hidden="false">
			<ul class='ipsDataList ipsDataList_reducedSpacing'>
				{{foreach $devices as $device}}
					<li class='ipsDataItem'>
						<a href="{url="app=core&module=members&controller=devices&do=device&key={$device->device_key}&member={$member->member_id}"}" class="ipsType_blendLinks">
							<div class='ipsDataItem_generic ipsDataItem_size1'>
								{{if $device->userAgent()->platform === 'Macintosh'}}
									<img src="{resource="logos/devices/mac.png" location="interface"}" class="ipsImage">
								{{elseif $device->userAgent()->platform === 'Android' or $device->userAgent()->platform === 'Windows Phone'}}
									<img src="{resource="logos/devices/android.png" location="interface"}" class="ipsImage">
								{{elseif $device->userAgent()->platform === 'iPad'}}
									<img src="{resource="logos/devices/ipad.png" location="interface"}" class="ipsImage">
								{{elseif $device->userAgent()->platform === 'iPhone'}}
									<img src="{resource="logos/devices/iphone.png" location="interface"}" class="ipsImage">
								{{else}}
									<img src="{resource="logos/devices/pc.png" location="interface"}" class="ipsImage">
								{{endif}}
							</div>
							<div class='ipsDataItem_main'>
								<p class='ipsType_normal ipsType_reset'>
									{$device->userAgent()->platform}<br>
									<span class='ipsType_medium ipsType_light'>{lang="device_last_loggedin" sprintf="\IPS\DateTime::ts( $device->last_seen )->relative()"}</span>
								</p>
							</div>
						</a>
					</li>
				{{endforeach}}
			</ul>
			{{if member.hasAcpRestriction( 'core', 'members', 'membertools_ip' )}}
				<a href="{url="app=core&module=members&controller=devices&do=member&id={$member->member_id}"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsSpacer_top ipsSpacer_half ipsButton_fullWidth">{lang="view_all_devices"}</a>
			{{endif}}
		</div>
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="downloadPersonalInfo" template_data="$member" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsType_medium">{lang="member_export_pi_explain"}</div>
	<div class="ipsPad ipsType_center">
		<a href="{url="app=core&module=members&controller=members&do=exportPersonalInfo&id={$member->member_id}&process=1"}" class="ipsButton ipsButton_primary"><i class="fa fa-download"></i> {lang="download"}</a>
	</div>
</div>]]></template>
 <template template_group="memberprofile" template_name="groups" template_data="$member, $secondaryGroups" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView_groups ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-users ipsBox_titleBar__icon" aria-hidden="true"></i>
		{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( !$member->isAdmin() or ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) and  member.hasAcpRestriction( 'core', 'members', 'member_move_admin1' ) ) )}}
			<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Groups&id={$member->member_id}"}" class="ipsPos_right ipsType_medium" data-ipsDialog data-ipsDialog-title="{lang="groups"}">{lang="edit"}</a>
		{{endif}}
		{lang="groups"}
	</h2>
	<div class='ipsPad ipsClearfix'>
		{{if $member->group['g_icon'] }}
			<img src='{file="$member->group['g_icon']" extension="core_Theme"}' alt='' class="ipsPos_right">
		{{endif}}
		<h3 class='ipsType_minorHeading'>{lang="primary_group"}</h3>
		<a href="{url="app=core&module=members&controller=members&advanced_search_submitted=1&members_member_group_id={$member->group['g_id']}&noColumn=1" csrf="true"}" class="ipsType_normal ipsType_blendLinks">
			{$member->groupName|raw}
		</a>
		{{if $secondaryGroups}}
			<div class="ipsSpacer_top ipsSpacer_half">
				<h3 class='ipsType_minorHeading'>{lang="secondary_groups"}</h3>
				<ul class="ipsList_reset">
					{{foreach $secondaryGroups as $group}}
						<li>
							<a href="{url="app=core&module=members&controller=members&advanced_search_submitted=1&members_member_group_id={$group->g_id}&noColumn=1" csrf="true"}" class="ipsType_medium ipsType_blendLinks">{$group->formattedName|raw}</a>
						</li>
					{{endforeach}}
				</ul>
			</div>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="header" template_data="$member, $validatingRow, $sparkline" template_location="admin" template_app="core"><![CDATA[
{{if $validatingRow}}
	<div class="ipsMessage ipsMessage_general acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		{{if member.hasAcpRestriction( 'core', 'members', 'membertools_validating' )}}
			<ul class='ipsButton_split ipsPos_right'>
				<li><a href="{$member->acpUrl()->setQueryString( 'do', 'approve' )->csrf()}" class="ipsButton {{if !$validatingRow['user_verified']}}ipsButton_small{{else}}ipsButton_medium{{endif}} ipsButton_positive" data-confirm>{lang="approve"}</a></li>
				{{if !$validatingRow['user_verified']}}
					<li><a href="{$member->acpUrl()->setQueryString( 'do', 'resendEmail' )->csrf()}" class="ipsButton ipsButton_small ipsButton_light">{lang="resend_validation_email"}</a></li>
				{{endif}}
				<li><a href="{$member->acpUrl()->setQueryString( array( 'do' => 'ban', 'permban' => 1 ) )->csrf()}" class="ipsButton {{if !$validatingRow['user_verified']}}ipsButton_small{{else}}ipsButton_medium{{endif}} ipsButton_negative" data-confirm>{lang="ban"}</a></li>
			</ul>
		{{endif}}
		<h4 class='ipsMessage_title'>{lang="reg_admin_validation"}</h4>
		<p class='ipsType_reset ipsType_normal'>{$member->validatingDescription()}</p>		
	</div>
{{endif}}
{{if $time = $member->isBanned()}}
	<div class="ipsMessage ipsMessage_error acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		{{if $member->temp_ban and member.hasAcpRestriction( 'core', 'members', 'member_ban' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_ban_admin' ) or !$member->isAdmin() ) AND $member->member_id != member.member_id}}
			<a href="{$member->acpUrl()->setQueryString( array( 'do' => 'ban' ) )}" data-ipsDialog data-ipsDialog-title="{lang="adjust_ban"}" class="ipsButton ipsButton_medium ipsButton_veryLight ipsPos_right">{lang="adjust_ban"}</a>
		{{endif}}
		<h4 class='ipsMessage_title'>{lang="banned"}</h4>
		{{if $time === TRUE}}
			{{if $member->temp_ban}}
				<p class='ipsType_reset ipsType_normal'>{lang="account_banned_perm"}</p>
			{{else}}
				<p class='ipsType_reset ipsType_normal'>{lang="account_banned_group"}</p>
			{{endif}}
		{{else}}
			<p class='ipsType_reset ipsType_normal'>{lang="account_banned_time" sprintf="$time"}</p>
		{{endif}}
	</div>
{{elseif $member->members_bitoptions['bw_is_spammer']}}
	<div class="ipsMessage ipsMessage_error acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and (member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
			<a href="{$member->acpUrl()->setQueryString( array( 'do' => 'spam', 'status' => 0 ) )->csrf()}" class="ipsButton ipsButton_medium ipsButton_veryLight ipsPos_right" data-confirm data-confirmSubmessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a>
		{{endif}}
		<h4 class='ipsMessage_title'>{lang="account_flagged_as_spammer_title"}</h4>
		<p class='ipsType_reset ipsType_normal'>{lang="account_flagged_as_spammer"}</p>		
	</div>
{{endif}}
{{if settings.ipb_bruteforce_attempts and $member->failed_login_count >= settings.ipb_bruteforce_attempts}}
	<div class="ipsMessage ipsMessage_warning acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		<a href="{$member->acpUrl()->setQueryString( array( 'do' => 'unlock' ) )->csrf()}" class="ipsButton ipsButton_veryLight ipsButton_medium ipsPos_right">{lang="unlock"}</a>
		
		<h4 class='ipsMessage_title'>{lang="account_locked_title"}</h4>
		<p class='ipsType_reset ipsType_normal'>{lang="account_locked_logins"}</p>		
	</div>
{{elseif settings.security_questions_tries and $member->failed_mfa_attempts >= settings.security_questions_tries}}
	<div class="ipsMessage ipsMessage_warning acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		<a href="{$member->acpUrl()->setQueryString( array( 'do' => 'unlock' ) )->csrf()}" class="ipsButton ipsButton_veryLight ipsButton_medium ipsPos_right">{lang="unlock"}</a>

		<h4 class='ipsMessage_title'>{lang="account_locked_title"}</h4>
		<p class='ipsType_reset ipsType_normal'>{lang="account_locked_2fa"}</p>
	</div>
{{endif}}
{{if ! $member->name or ! $member->email}}
	<div class="ipsMessage ipsMessage_error acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		{{if $member->members_bitoptions['created_externally'] or !empty( $member->last_visit )}}
			<h4 class='ipsMessage_title'>
				{{if ! $member->name and ! $member->email}}
					{lang="member_reserved_external_both"}
				{{elseif ! $member->name}}
					{lang="member_reserved_external_name"}
				{{elseif ! $member->email}}	
					{lang="member_reserved_external_email"}
				{{endif}}
			</h4>
			<p class='ipsType_reset ipsType_normal'>{lang="members_name_missing_as_reserved_external"}</p>
		{{else}}
			<h4 class='ipsMessage_title'>{lang="member_reserved_pending_deletion"}</h4>
			<p class='ipsType_reset ipsType_normal'>{lang="members_name_missing_as_reserved_tt"}</p>
		{{endif}}
	</div>
{{endif}}
{{if $member->members_bitoptions['is_support_account']}}
	<div class="ipsMessage ipsMessage_warning acpMemberView_message ipsSpacer_bottom ipsSpacer_double">
		{{if member.hasAcpRestriction( 'core', 'members', 'member_delete_admin' )}}
			<a href="{$member->acpUrl()->setQueryString( array( 'do' => 'delete' ) )}" data-confirm class="ipsButton ipsButton_medium ipsButton_veryLight ipsPos_right">{lang="delete"}</a>
		{{endif}}
		<h4 class='ipsMessage_title'>{lang="acpmemberprofile_support_account"}</h4>
		<p class='ipsType_reset ipsType_normal'>{lang="acpmemberprofile_support_account_desc"}</p>
	</div>
{{endif}}
<div class='acpMemberView_stats ipsSpacer_bottom ipsSpacer_double'>
	<div class='ipsGrid ipsGrid_collapseTablet'>
		<div class='ipsGrid_span{{if settings.reputation_enabled}}6{{else}}9{{endif}} ipsSpacer_bottom'>
			{$sparkline|raw}
		</div>
		<div class='ipsGrid_span3 ipsSpacer_bottom'>
			{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
				<a href='#memberPostsBlock_menu' id='memberPostsBlock' data-ipsMenu class='acpMemberView_countStat acpMemberView_contentCount' title="{lang="members_posts"}" data-ipsTooltip>
					<h3 class='ipsType_minorHeading ipsTruncate ipsTruncate_line'>{lang="members_member_posts"}</h3>
					<p class='ipsType_large ipsType_reset acpMemberView_countStatStat ipsTruncate ipsTruncate_line'>{number="$member->member_posts"}</p>
				</a>
				<div id='memberPostsBlock_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
					<ul>
						<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Header&id={$member->member_id}&type=content"}" data-ipsDialog data-ipsDialog-title="{lang="members_member_posts"}">{lang="set_manually"}</a></li>
						<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=recountContent&id={$member->member_id}" csrf="true"}" data-confirm data-confirmType="verify" data-confirmButtons='{expression="json_encode( array( 'yes' => \IPS\Member::loggedIn()->language()->addToStack('yes'), 'no' => \IPS\Member::loggedIn()->language()->addToStack('recount_all'), 'cancel' => \IPS\Member::loggedIn()->language()->addToStack('cancel') ) )" raw="true"}' data-confirmSubMessage="{lang="member_content_items_recount"}">{lang="recount"}</a></li>
						{{if member.hasAcpRestriction( 'core', 'members', 'membertools_delete' )}}
							<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=deleteContent&id={$member->member_id}"}" data-ipsDialog data-ipsDialog-title="{lang="member_delete_content"}">{lang="member_delete_content"}</a></li>
						{{endif}}
					</ul>
				</div>
			{{else}}
				<span id='memberPostsBlock' data-ipsMenu class='acpMemberView_countStat acpMemberView_contentCount' title="{lang="members_posts"}" data-ipsTooltip>
					<h3 class='ipsType_minorHeading'>{lang="members_member_posts"}</h3>
					<p class='ipsType_large ipsType_reset acpMemberView_countStatStat'>{number="$member->member_posts"}</p>
				</span>
			{{endif}}
		</div>
		{{if settings.reputation_enabled}}
			<div class='ipsGrid_span3 ipsSpacer_bottom'>
				{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
					<a href='#memberRepBlock_menu' id="memberRepBlock" data-ipsMenu class='acpMemberView_countStat acpMemberView_repCount'>
						<h3 class='ipsType_minorHeading ipsTruncate ipsTruncate_line'>{lang="member_reputation"}</h3>
						<p class='ipsType_large ipsType_reset acpMemberView_countStatStat ipsTruncate ipsTruncate_line'>{number="$member->pp_reputation_points"}</p>
					</a>
					<div id='memberRepBlock_menu' class='ipsMenu ipsMenu_narrow ipsHide'>
						<ul>
						<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Header&id={$member->member_id}&type=reputation"}" data-ipsDialog data-ipsDialog-title="{lang="member_reputation"}">{lang="set_manually"}</a></li>
							<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=recountReputation&id={$member->member_id}" csrf="true"}" data-confirm data-confirmType="verify" data-confirmButtons='{expression="json_encode( array( 'yes' => \IPS\Member::loggedIn()->language()->addToStack('yes'), 'no' => \IPS\Member::loggedIn()->language()->addToStack('recount_all'), 'cancel' => \IPS\Member::loggedIn()->language()->addToStack('cancel') ) )" raw="true"}' data-confirmSubMessage="{lang="member_reputation_recount"}">{lang="recount"}</a></li>
							<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=removeReputation&type=given&id={$member->member_id}" csrf="true"}" data-confirm>{lang="reputation_remove_given"}</a></li>
							<li class="ipsMenu_item"><a href="{url="app=core&module=members&controller=members&do=removeReputation&type=received&id={$member->member_id}" csrf="true"}" data-confirm>{lang="reputation_remove_received"}</a></li>
						</ul>
					</div>
				{{else}}
					<span id="memberRepBlock" data-ipsMenu class='acpMemberView_countStat acpMemberView_repCount'>
						<h3 class='ipsType_minorHeading'>{lang="member_reputation"}</h3>
						<p class='ipsType_large ipsType_reset acpMemberView_countStatStat'>{number="$member->pp_reputation_points"}</p>
					</span>
				{{endif}}
			</div>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="history" template_data="$member, $history, $historyFilters" template_location="admin" template_app="core"><![CDATA[<div id='elMemberHistory' data-controller="core.admin.members.history">
	<h2 class='ipsType_sectionTitle ipsType_reset ipsClearfix'>
		<a href='#memberHistoryFilters_menu' id='memberHistoryFilters' data-ipsMenu>
			<span data-role="historyTitle">{lang="all_recent_account_activity"}</span>
			<span class="ipsPos_right"><i class="fa fa-caret-down"></i></span>
		</a>
	</h2>
	<div id='memberHistoryFilters_menu' class='ipsMenu ipsHide'>
		<ul>
			{{$logApp = NULL;}}
			{{foreach $historyFilters as $filter}}		
				{{if $logApp != $filter['log_app']}}
					<li class="ipsMenu_title">{lang="memberlog_app_{$filter['log_app']}"}</li>
					{{$logApp = $filter['log_app'];}}
				{{endif}}
				<li class="ipsMenu_item" data-ipsMenuValue="{$filter['log_app']}_{$filter['log_type']}"><a href="{url="app=core&module=members&controller=members&do=history&id={$member->member_id}&advanced_search_submitted=1&log_type[]={$filter['log_type']}&_fromFilter=1" csrf="true"}">{lang="$history->advancedSearch['log_type'][1]['options'][ $filter['log_type'] ]"}</a></li>
			{{endforeach}}
			<li class="ipsMenu_sep"><hr></li>
			<li class="ipsMenu_item" data-ipsMenuValue=""><a href="{url="app=core&module=members&controller=members&do=history&id={$member->member_id}&_fromFilter=1"}">{lang="all_recent_account_activity"}</a></li>
		</ul>
	</div>
	<div class="ipsPad" data-role="historyDisplay">
		{$history|raw}
	</div>
</div>]]></template>
 <template template_group="memberprofile" template_name="historyRows" template_data="$table, $headers, $rows" template_location="admin" template_app="core"><![CDATA[{{$currentTimestamp = null;}}
{{foreach $rows as $row}}
	{{if $currentTimestamp != $row['log_date']->format('n') . '|' . $row['log_date']->format('Y')}}
		<li class='cMemberHistory_date'>
			{$row['log_date']->strFormat('%B')} {$row['log_date']->strFormat('%Y')}
		</li>
		{{$currentTimestamp = $row['log_date']->format('n') . '|' . $row['log_date']->format('Y');}}
	{{endif}}
	<li class='ipsClearfix'>
		<div class='cMemberHistory_info ipsType_normal'>
			{$row['log_data']|raw}
			<br>
			<span class='ipsType_medium ipsType_light ipsType_blendLinks'>
				{$row['log_date']->html()|raw}
				{{if $row['log_ip_address'] and member.hasAcpRestriction( 'core', 'members', 'membertools_ip' )}}
					&nbsp;&nbsp;{$row['log_ip_address']|raw}
				{{endif}}
			</span>
		</div>
	</li>
{{endforeach}}]]></template>
 <template template_group="memberprofile" template_name="historyTable" template_data="$table, $headers, $rows, $quickSearch" template_location="admin" template_app="core"><![CDATA[{{if \count( $rows )}}
	<ol class='ipsClear ipsList_reset cMemberHistory {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
		{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
	</ol>
{{else}}
	<div class='ipsType_center ipsFaded'>
		<p class='ipsSpacer_top ipsSpacer_double'>{lang="customer_no_history"}</p>
	</div>
{{endif}}
<div class='ipsClearfix'>
	{{if $table->pages > 1}}
		<div class="ipsType_center">
			<a href="{$table->baseUrl}" class="ipsButton ipsButton_verySmall ipsButton_fullWidth ipsButton_normal">{lang="see_all_history"}</a>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="memberprofile" template_name="lazyLoad" template_data="$member, $block" template_location="admin" template_app="core"><![CDATA[<div data-controller="core.admin.members.lazyLoadingProfileBlock" data-url="{$member->acpUrl()->setQueryString( array( 'do' => 'lazyBlock', 'block' => $block ) )}">
	<div class="ipsSpacer_bottom ipsType_center">
		<img src="{resource="tiny_loading.gif" app="core"}">
	</div>
</div>]]></template>
 <template template_group="memberprofile" template_name="locations" template_data="$member, $mapMarkers" template_location="admin" template_app="core"><![CDATA[<div data-ipsMap data-ipsMap-apiKey="{expression="\IPS\Settings::i()->google_maps_api_key"}" data-ipsMap-markers="{expression="json_encode( $mapMarkers )"}" class="ipsMap ipsMap_small"></div>]]></template>
 <template template_group="memberprofile" template_name="loginMethods" template_data="$member, $loginMethods" template_location="admin" template_app="core"><![CDATA[{{if \count( $loginMethods )}}
	<hr class='ipsHr'>
	<h3 class='ipsType_minorHeading'>{lang="active_account_integrations"}</h3>

	<ul class='ipsDataList ipsDataList_reducedSpacing acpMemberView_integrations'>
		{{foreach $loginMethods as $id => $details}}
			<li class='ipsDataItem'>
				<div class='ipsDataItem_icon'>
					{{if $details['link']}}
						<a href="{$details['link']}" target="_blank" rel="noopener" class="ipsType_blendLinks">
					{{endif}}
					{{if isset( $details['icon'] )}}
						<img src="{$details['icon']}" class="ipsUserPhoto ipsUserPhoto_tiny">
					{{else}}
						<img src="{resource="default_photo.png" app="core" location="global"}" class="ipsUserPhoto ipsUserPhoto_tiny">
					{{endif}}
					{{if $details['link']}}
						</a>
					{{endif}}
				</div>
				<div class='ipsDataItem_main'>
					{{if isset( $details['edit'] ) and ( $details['edit'] or $details['delete'] ) and member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
						<ul class="ipsControlStrip ipsType_noBreak ipsList_reset">
							{{if $details['edit']}}
								<li class="ipsControlStrip_button">
									<a href="{url="app=core&module=members&controller=members&do=loginEdit&id={$member->member_id}&method={$id}"}" data-ipsDialog data-ipsDialog-title="{$details['title']}" data-ipsTooltip title="{lang="profilesync_configure"}"><i class="ipsControlStrip_icon fa fa-pencil"></i></a>
								</li>
							{{endif}}
							{{if $details['delete']}}
								<li class="ipsControlStrip_button">
									<a href="{url="app=core&module=members&controller=members&do=loginDelete&id={$member->member_id}&method={$id}" csrf="true"}" data-confirm data-ipsTooltip title="{lang="sign_out"}"><i class="ipsControlStrip_icon fa fa-times-circle"></i></a>
								</li>
							{{endif}}
						</ul>
					{{endif}}
					<p class='ipsType_normal ipsType_reset acpMemberView_integrations_text'>
						{{if $details['link']}}
							<a href="{$details['link']}" target="_blank" rel="noopener" class="ipsType_blendLinks">
						{{endif}}
						{$details['title']}<br>
						<span class='ipsType_medium ipsType_light'>{$details['blurb']}</span>
						{{if $details['link']}}
							</a>
						{{endif}}
						{{foreach $details['forceSyncErrors'] as $type => $error}}
							<p class="ipsType_reset ipsType_small ipsType_warning">{lang="profilesync_{$type}_admin_error" sprintf="$error"}</p>
						{{endforeach}}
					</p>
				</div>

			</li>
		{{endforeach}}
	</ul>
{{endif}}]]></template>
 <template template_group="memberprofile" template_name="mainTemplate" template_data="$member, $extensions, $activeTab, $activeTabContent, $history" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView'>
	
	{{if \count( $extensions ) > 1}}
		<div class='ipsTabs acpMemberView_tabBar ipsClearfix ipsJS_show' id='tabs_member' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_member' data-ipsTabBar-panelClass="acpMemberView_tabBarPanel">
			<a href='#tabs_member' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $extensions as $key => $classname}}
					<li>
						<a href='{$member->acpUrl()->setQueryString( 'tab', $key )}' id='member_tab_{$key}' class="ipsTabs_item {{if $key == $activeTab}}ipsTabs_activeItem{{endif}}" role="tab">
							{$classname::title()}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
	{{endif}}
	
	{{if $history}}
		<div class="acpMemberView_layoutWrap">
			<div class="acpMemberView_layoutMain">
	{{endif}}
	
	<div id='ipsTabs_content_member'>
		<div id="ipsTabs_tabs_member_member_tab_{$activeTab}_panel" class="ipsTabs_panel acpMemberView_tabBarPanel" aria-labelledby="member_tab_{$activeTab}" aria-hidden="false">
			{$activeTabContent|raw}
		</div>
	</div>
	
	
	{{if $history}}
			</div>
			<div class="acpMemberView_layoutHistory">
				{$history|raw}
			</div>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="memberprofile" template_name="mfa" template_data="$member, $configuredHandlers, $hasSecurityQuestions, $showEditButton" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView_2fa ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-lock ipsBox_titleBar__icon" aria-hidden="true"></i>
		{{if $showEditButton and member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) )}}
			<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\MFA&id={$member->member_id}"}" class="ipsPos_right ipsType_medium" data-ipsDialog data-ipsDialog-title="{lang="member__core_SecurityAnswers"}">{lang="edit"}</a>
		{{endif}}
		{lang="member__core_SecurityAnswers"}
	</h2>
	<div class='ipsPad'>
		{{if $member->members_bitoptions['security_questions_opt_out'] and settings.mfa_required_groups != '*' and !$member->inGroup( explode( ',', settings.mfa_required_groups ) )}}
			<div class="ipsType_negative ipsType_sectionHead">
				<i class="fa fa-times-circle"></i> &nbsp; {lang="mfa_opted_out"}
			</div>
		{{else}}
			{{foreach $configuredHandlers as $key => $handler}}
				<div class="ipsType_positive ipsSpacer_top ipsSpacer_half ipsType_sectionHead">
					<i class="fa fa-check-circle"></i> &nbsp; {lang="mfa_method_enabled" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'mfa_' . $key . '_title' )"}
				</div>
			{{endforeach}}
			{{if !\count( $configuredHandlers ) and !$hasSecurityQuestions}}
				<div class="ipsType_neutral">
					{lang="no_mfa_methods_enabled"}
				</div>
			{{endif}}
			{{if settings.security_questions_enabled and $hasSecurityQuestions}}
				{{if \count( $configuredHandlers )}}
					<hr class='ipsHr'>
				{{endif}}
				{{$answers = $member->securityAnswers();}}
				{{if \count( $answers )}}
					{{foreach $answers as $questionId => $answer}}
						<div class="ipsSpacer_bottom ipsSpacer_half">
							<h2 class='ipsType_reset ipsType_minorHeading'>{lang="security_question_{$questionId}"}</h2>
							<p class='ipsType_reset ipsType_medium'>
								{expression="\IPS\Text\Encrypt::fromTag( $answer )->decrypt()"}
							</p>
						</div>
					{{endforeach}}
				{{endif}}
			{{endif}}
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="notificationTypes" template_data="$member, $categories" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-bell ipsBox_titleBar__icon" aria-hidden="true"></i>
		{lang="notification_options"}
	</h2>
	<ul class="ipsDataList cMemberNotifications">
		{{foreach $categories as $k => $enabled}}
			<li class="ipsDataItem">
				<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Notifications&id={$member->member_id}&type={$k}"}" class="ipsType_blendLinks" data-ipsDialog data-ipsDialog-title="{lang="notifications__$k"}">
					<div class="ipsDataItem_main">
						<h3 class="ipsDataItem_title ipsType_reset">
							{lang="notifications__$k"}
						</h3>
						<div class="ipsDataItem_meta ipsType_reset ipsType_light">
							{{if \count( $enabled )}}
								{expression="\IPS\Member::loggedIn()->language()->formatList( array_map( function( $option ) { return $option['title']; }, $enabled ), \IPS\Member::loggedIn()->language()->get('member_notifications_list_format') )"}
							{{else}}
								{lang="notifications_off"}
							{{endif}}
						</div>
					</div>
				</a>
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="memberprofile" template_name="oauth" template_data="$member, $apps, $onlyApp=NULL" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView_2fa ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-exchange ipsBox_titleBar__icon" aria-hidden="true"></i>
		<a href="{url="app=core&module=applications&controller=api&do=tokens&member_id={$member->member_id}"}" class="ipsPos_right ipsType_medium">{lang="oauth_view_details"}</a>
		{{if $onlyApp}}
			{$onlyApp->_title}
		{{else}}
			{lang="oauth_member_authorized_apps"}
		{{endif}}
	</h2>
	{{if \count( $apps )}}
		<ul class="ipsDataList">
			{{foreach $apps as $app}}
				<li class='ipsDataItem'>
					<div class='ipsDataItem_main'>
                        {{if $app['data']['status'] == 'active'}}
						<ul class="ipsControlStrip ipsType_noBreak ipsList_reset">
							<li class="ipsControlStrip_button">
								<a href="{url="app=core&module=applications&controller=oauth&do=revokeToken&client_id={$app['data']['client_id']}&member_id={$app['data']['member_id']}&token={$app['data']['access_token']}&r=p" csrf="true"}" data-confirm data-confirmMessage="{lang="oauth_app_revoke_title"}" data-ipsTooltip title="{lang="oauth_app_revoke"}"><i class="ipsControlStrip_icon fa fa-times-circle"></i></a>
							</li>
						</ul>
                        {{endif}}
						<div class='ipsType_normal ipsType_reset'>
							{$app['title']|raw}
							<div class='ipsType_medium ipsType_light'>
								{template="oauthStatus" group="api" params="$app['data'], $app['use_refresh_tokens']"}
							</div>
						</div>
					</div>
				</li>
			{{endforeach}}
		</ul>
	{{else}}
		<div class="ipsPad ipsType_reset ipsType_light">{lang="no_oauth_apps"}</div>
	{{endif}}
</div>]]></template>
 <template template_group="memberprofile" template_name="profileData" template_data="$member, $fields" template_location="admin" template_app="core"><![CDATA[<div class='ipsPad'>
	{{if $member->rank['title'] || $member->rank['image'] || settings.profile_birthday_type != 'none' || settings.signatures_enabled}}
		<div class="ipsSpacer_bottom">
			<h2 class="ipsType_reset ipsType_minorHeading">{lang="profile_about" sprintf="$member->name"}</h2>
			<ul class="ipsDataList ipsDataList_reducedSpacing">
				{{if settings.profile_birthday_type != 'none'}}
					<li class='ipsDataItem'>
						<span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="bday"}</strong></span>
						<span class='ipsDataItem_generic'>
							{{if $member->birthday}}
								{$member->birthday}
							{{else}}
								<em class="ipsType_light">{lang="no_value"}</em>
							{{endif}}
						</span>
					</li>
				{{endif}}
				{{if settings.signatures_enabled}}
					<li class='ipsDataItem'>
						<span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="signature"}</strong></span>
						<span class='ipsDataItem_generic ipsType_richText' data-ipsLazyLoad>
							{{if $member->signature}}
								{$member->signature|raw}
							{{else}}
								<em class="ipsType_light">{lang="no_value"}</em>
							{{endif}}
						</span>
					</li>
				{{endif}}
			</ul>
		</div>
	{{endif}}
	{{foreach $fields as $groupKey => $values}}
		<div class="ipsSpacer_bottom">
			<h2 class="ipsType_reset ipsType_minorHeading">{lang="$groupKey"}</h2>
			<ul class="ipsDataList ipsDataList_reducedSpacing">
				{{foreach $values as $k => $v}}
					<li class='ipsDataItem ipsType_break'>
						<span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$k"}</strong></span>
						<div class='ipsDataItem_generic'>
							{{if (string) $v === ''}}
								<em class="ipsType_light">{lang="no_value"}</em>
							{{else}}
								<div class='ipsType_break ipsContained'>{$v|raw}</div>
							{{endif}}
						</div>
					</li>
				{{endforeach}}
			</ul>
		</div>
	{{endforeach}}
</div>]]></template>
 <template template_group="memberprofile" template_name="quotas" template_data="$member, $messengerCount, $messengerPercent, $attachmentStorage, $attachmentPercent, $viewAttachmentsLink" template_location="admin" template_app="core"><![CDATA[{{if $member->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging', 'front' ) ) or $attachmentStorage !== NULL}}
	<div class='ipsSpacer_bottom'><div class='ipsGrid ipsGrid_collapsePhone acpMemberView_quotas'>
		{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging', 'front' ) )}}
		<div class='ipsGrid_span6'>
			<div class='acpMemberView_quota ipsBox' style='min-height: 100%'>
				<h2 class='ipsBox_titleBar ipsType_reset'>
					<i class="fa fa-envelope ipsBox_titleBar__icon" aria-hidden="true"></i>
					{{if $member->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging', 'front' ) ) and member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) )}}
						{{if $messengerCount === NULL}}
							<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Quotas&id={$member->member_id}&enable=1" csrf="true"}" class="ipsPos_right ipsType_medium" data-confirm>
								{lang="admin_enable_messenger"}
							</a>
						{{else}}
							<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Quotas&id={$member->member_id}" csrf="true"}" class="ipsPos_right ipsType_medium" data-confirm data-confirmType="verify" data-confirmIcon="question" data-confirmMessage="{lang="admin_disable_messenger"}" data-confirmSubMessage="{lang="admin_disable_messenger_confirm"}" data-confirmButtons='{expression="json_encode( array( 'yes' => \IPS\Member::loggedIn()->language()->addToStack('no'), 'no' => \IPS\Member::loggedIn()->language()->addToStack('yes'), 'cancel' => \IPS\Member::loggedIn()->language()->addToStack('cancel') ) )" raw="true"}'>
								{lang="admin_disable_messenger"}
							</a>
						{{endif}}
					{{endif}}
					{lang="messenger_quota_header"}
				</h2>
				<div class='ipsPadding_horizontal ipsPadding_bottom'>
					{{if $messengerCount !== NULL}}
						{{if $messengerPercent !== NULL}}
							<div class="ipsAttachment_progress acpMemberView_progress ipsSpacer_bottom ipsSpacer_half"><span style='width: {{if $messengerPercent > 100}}100{{else}}{$messengerPercent}{{endif}}%'></span></div>
							<span class='acpMemberView_percentage ipsFaded ipsPos_right ipsType_light'>{number="$messengerPercent"}%</span>
						{{endif}}
						
						<span class='acpMemberView_quotaNumber ipsType_large'>{number="$messengerCount"}</span><br>
						{{if $member->group['g_max_messages'] > 0}}
							<span class='ipsType_medium ipsType_light'>{lang="quota_allowance" sprintf="\IPS\Member::loggedIn()->language()->formatNumber( $member->group['g_max_messages'] )"}</span>
						{{else}}
							<span class='ipsType_medium ipsType_light'>{lang="quota_allowance_unlimited"}</span>
						{{endif}}
					{{else}}
						<div class="ipsType_medium ipsType_light">
							{{if $member->members_disable_pm == 1}}
								{lang="messenger_quota_disabled_self"}
							{{elseif $member->members_disable_pm == 2}}
								{lang="messenger_quota_disabled_admin"}
							{{else}}
								{lang="messenger_quota_disabled_group"}
							{{endif}}
						</div>
					{{endif}}
				</div>
			</div>
		</div>
		{{endif}}
		<div class='ipsGrid_span6'>
			<div class='acpMemberView_quota ipsBox' style='min-height: 100%'>
				<h2 class='ipsBox_titleBar ipsType_reset'>
					<i class="fa fa-paperclip ipsBox_titleBar__icon" aria-hidden="true"></i>
					{{if $viewAttachmentsLink}}
						<a href="{$viewAttachmentsLink}" class="ipsPos_right ipsType_medium">{lang="view_attachments"}</a>
					{{endif}}
					{lang="my_attachment_quota"}
				</h2>
				<div class='ipsPadding_horizontal ipsPadding_bottom'>
					{{if $attachmentStorage !== NULL}}
						{{if $attachmentPercent !== NULL}}
							<div class="ipsAttachment_progress acpMemberView_progress ipsSpacer_bottom ipsSpacer_half"><span style='width: {{if $attachmentPercent > 100}}100{{else}}{$attachmentPercent}{{endif}}%;'></span></div>
							<span class='acpMemberView_percentage ipsFaded ipsPos_right ipsType_light'>{number="$attachmentPercent"}%</span>
						{{endif}}
						<span class='acpMemberView_quotaNumber ipsType_large'>{filesize="$attachmentStorage"}</span><br>
						{{if $member->group['g_attach_max'] > 0}}
							<span class='ipsType_medium ipsType_light'>{lang="quota_allowance" sprintf="\IPS\Output\Plugin\Filesize::humanReadableFilesize( $member->group['g_attach_max'] * 1024 )"}</span>
						{{else}}
							<span class='ipsType_medium ipsType_light'>{lang="quota_allowance_unlimited"}</span>
						{{endif}}
					{{else}}
						<div class="ipsType_medium ipsType_light">{lang="quota_allowance_disabled"}</div>
					{{endif}}
				</div>
			</div>
		</div>
	</div></div>
{{endif}}]]></template>
 <template template_group="memberprofile" template_name="rank" template_data="$member" template_location="admin" template_app="core"><![CDATA[{{if settings.achievements_enabled}}
<div class='ipsSpacer_bottom'>
    <div class='ipsGrid ipsGrid_collapsePhone acpMemberView_quotas'>
        <div class='ipsGrid_span6'>
            <div class='acpMemberView_quota ipsBox' style='min-height: 100%'>
                <h2 class='ipsBox_titleBar ipsType_reset'>
                    <i class="fa fa-line-chart ipsBox_titleBar__icon" aria-hidden="true"></i>
                    {{if member.hasAcpRestriction( 'core', 'members', 'member_edit' )}}
                    <a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Points&id={$member->member_id}"}" class="ipsPos_right ipsType_medium">{lang="acp_profile_points_manage"}</a>
                    {{endif}}
                    {lang="acp_profile_ranks_title"}
                </h2>
				{{if $member->rank()}}
                <div class='ipsPadding_horizontal ipsPadding_bottom'>
                    <span class='acpMemberView_quotaNumber ipsType_medium'>{$member->rank()->_title}</span><br>
                    <span class='ipsType_medium ipsType_light'>{lang="acp_profile_points" sprintf="$member->achievements_points"}</span>
                    {{if $nextRank = $member->nextRank()}}
                    <div class="ipsAttachment_progress acpMemberView_progress ipsSpacer_bottom ipsSpacer_top ipsSpacer_half"><span style='width: calc({expression="$member->achievements_points"} / {$nextRank->points} * 100%)'></span>
                    </div>
                    <span class='ipsType_medium ipsType_light'>{lang="acp_rank_points_for_next"} {expression="$nextRank->points - $member->achievements_points"}</span>
                    {{endif}}
                </div>
				{{endif}}
            </div>
        </div>
        <div class='ipsGrid_span6'>
            <div class='acpMemberView_quota ipsBox' style='min-height: 100%'>
                <h2 class='ipsBox_titleBar ipsType_reset'>
                    <i class="fa fa-certificate ipsBox_titleBar__icon" aria-hidden="true"></i>
                    {{if member.hasAcpRestriction( 'core', 'members', 'member_edit' )}}
                    <a href="{$member->acpUrl()->setQueryString('do', 'badges')}" class="ipsPos_right ipsType_medium">{lang="acp_profile_manage_badges"}</a>
                    {{endif}}
                    {lang="acp_profile_badges_title"}
                </h2>
                <div class='ipsPadding_horizontal ipsPadding_bottom'>
                    {{foreach $member->recentBadges(20) as $badge}}
                        <span>{$badge->html('ipsDimension:5')|raw}</span>
                    {{endforeach}}
                </div>
            </div>
        </div>
    </div>
</div>
{{endif}}
]]></template>
 <template template_group="memberprofile" template_name="tabbedBlock" template_data="$member, $block, $title, $tabNames, $activeId, $defaultContent, $editLink" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox ipsSpacer_bottom'>
	{{if $title !== NULL}}
		<h2 class='ipsBox_titleBar ipsType_reset'>
			<i class="fa fa-user ipsBox_titleBar__icon" aria-hidden="true"></i>
			{{if $editLink and member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) )}}
				<a href="{$editLink}" class="ipsPos_right ipsType_medium" data-ipsDialog data-ipsDialog-title="{lang="$title"}">{lang="edit"}</a>
			{{endif}}
			{lang="$title"}
		</h2>
	{{endif}}
	{{if \count( $tabNames ) > 1}}
		<div class='ipsTabs ipsTabs_contained ipsTabs_small ipsClearfix' id='elTabs_{expression="md5( $block )"}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{expression="md5( $block )"}' {{if \IPS\Request::i()->isAjax()}}data-ipsTabBar-updateURL='false'{{endif}}>
			<a href='#elTabs_{expression="md5( $block )"}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role='tablist'>
				{{foreach $tabNames as $i => $name}}
					<li>
						<a href='{$member->acpUrl()->setQueryString( array( 'do' => 'view', 'blockKey' => $block, 'block[' . $block . ']' => $i ) )}' id='{expression="md5( $block )"}_tab_{$i}' class="ipsTabs_item {{if $i == $activeId}}ipsTabs_activeItem{{endif}}" {{if \is_array( $name )}}title='{lang="{$name[1]}"}' data-ipsTooltip{{else}}title='{lang="{$name}"}'{{endif}} role="tab" aria-selected="{{if $i == $activeId}}true{{else}}false{{endif}}">
							{{if \is_array( $name )}}
								<i class="fa fa-{$name[0]}"></i>
							{{else}}
								{lang="$name"}
							{{endif}}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<section id='ipsTabs_content_{expression="md5( $block )"}'>
	{{endif}}
		{{foreach $tabNames as $i => $name}}
			{{if $i == $activeId}}
				<div id='ipsTabs_elTabs_{expression="md5( $block )"}_{expression="md5( $block)"}_tab_{$i}_panel' class="ipsTabs_panel" aria-labelledby="{expression="md5( $block )"}_tab_{$i}" aria-hidden="false">
					{$defaultContent|raw}
				</div>
			{{endif}}
		{{endforeach}}
	{{if \count( $tabNames ) > 1}}
		</section>
	{{endif}}
</div>
]]></template>
 <template template_group="memberprofile" template_name="tabTemplate" template_data="$leftColumnBlocks, $mainColumnBlocks" template_location="admin" template_app="core"><![CDATA[<div class='ipsColumns ipsColumns_collapsePhone'>
    {{if \count($leftColumnBlocks) }}
	<div class='ipsColumn ipsColumn_veryWide'>
		<div class='ipsPad'>
			{{foreach $leftColumnBlocks as $block}}
				{$block->output()|raw}
			{{endforeach}}
		</div>
	</div>
    {{endif}}
	<div class='ipsColumn ipsColumn_fluid'>
		<div class='ipsPad'>
			{{foreach $mainColumnBlocks as $block}}
				{$block->output()|raw}
			{{endforeach}}
		</div>
	</div>
</div>]]></template>
 <template template_group="memberprofile" template_name="warnings" template_data="$member, $restrictions, $flagMessage" template_location="admin" template_app="core"><![CDATA[<div class='acpMemberView_contentStats ipsBox ipsSpacer_bottom'>
	<h2 class='ipsBox_titleBar ipsType_reset'>
		<i class="fa fa-exclamation-triangle ipsBox_titleBar__icon" aria-hidden="true"></i>
		{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( !$member->isAdmin() or member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) )}}
			<a href="{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Warnings&id={$member->member_id}"}" class="ipsPos_right ipsType_medium" data-ipsDialog data-ipsDialog-title="{lang="warnings_and_restrictions"}">{lang="edit"}</a>
		{{endif}}
        {{if settings.warn_on}}
		{lang="warnings_and_restrictions"}
        {{else}}
        {lang="restrictions"}
        {{endif}}
	</h2>
	<div class='ipsPadding_horizontal ipsPadding_bottom'>
		<div class="ipsClearfix">
			{{if $member->member_id != member.member_id}}
				<ul class="ipsList_inline ipsPos_right">
					{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_edit_admin' ) or !$member->isAdmin() )}}
						<li>
							{{if $member->members_bitoptions['bw_is_spammer']}}
								<a href="{url="app=core&module=members&controller=members&do=spam&id={$member->member_id}&status=0" csrf="true"}" data-confirm data-confirmSubmessage="{lang="spam_unflag_confirm"}" class="ipsButton ipsButton_light ipsButton_small">{lang="spam_unflag"}</a>
							{{else}}
								<a href="{url="app=core&module=members&controller=members&do=spam&id={$member->member_id}&status=1" csrf="true"}" data-confirm {{if $flagMessage}}data-confirmMessage="{lang="spam_flag"}" data-confirmSubmessage="{$flagMessage}"{{endif}} class="ipsButton ipsButton_light ipsButton_small">{lang="spam_flag"}</a>
							{{endif}}
						</li>
					{{endif}}
					{{if member.hasAcpRestriction( 'core', 'members', 'member_ban' ) and ( member.hasAcpRestriction( 'core', 'members', 'member_ban_admin' ) or !$member->isAdmin() ) and $member->member_id != member.member_id}}
						<li>
							<a href="{url="app=core&module=members&controller=members&do=ban&id={$member->member_id}"}" data-ipsDialog data-ipsDialog-title="{{if $member->temp_ban}}{lang="adjust_ban"}{{else}}{lang="ban"}{{endif}}" class="ipsButton ipsButton_light ipsButton_small">
								{{if $member->temp_ban}}
									{lang="adjust_ban"}
								{{else}}
									{lang="ban"}
								{{endif}}
							</a>
						</li>
					{{endif}}
				</ul>
			{{endif}}
			{{if settings.warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) )}}
				<p class="ipsType_reset ipsType_large">{lang="member_warn_level" pluralize="$member->warn_level"}</p>
			{{endif}}
			{{if !\count( $restrictions )}}
				<p class="ipsType_reset ipsType_normal">{lang="no_restrictions_applied"}</p>
			{{else}}
				<ul class="ipsList_inline ipsType_negative">
					{{foreach $restrictions as $restriction}}
						<li>
							{lang="$restriction"}
						</li>
					{{endforeach}}
				</ul>
			{{endif}}
		</div>
		{{if member.modPermission('mod_see_warn') and $warnings = $member->warnings( NULL ) and \count( $warnings )}}
			<hr class="ipsHr">
			<ol class='ipsDataList'>
				{{foreach $warnings as $warning}}
					<li class="ipsDataItem">
						<div class='ipsDataItem_icon ipsType_center'>
							<a href="{url="app=core&module=members&controllers=members&do=viewWarning&id={$warning->id}"}" class="ipsType_blendLinks" data-ipsDialog data-ipsDialog-size='narrow'>
								<span class="ipsPoints">{$warning->points}</span>
							</a>
						</div>
						<div class='ipsDataItem_main'>
							{{if $warning->canDelete()}}
								<a href="{url="app=core&module=members&controllers=members&do=warningRevoke&id={$warning->id}" csrf="true"}" data-confirm data-confirmMessage="{lang="warning_revoke_blurb"}" data-confirmType="verify" data-confirmButtons='{expression="json_encode( array( 'yes' => \IPS\Member::loggedIn()->language()->addToStack('warning_revoke_undo'), 'no' => \IPS\Member::loggedIn()->language()->addToStack('delete'), 'cancel' => \IPS\Member::loggedIn()->language()->addToStack('cancel') ) )" raw="true"}' class='ipsPos_right ipsButton ipsButton_small ipsButton_light ipsButton_narrow'>{lang="revoke"}</i></a>
							{{endif}}
							<a href="{url="app=core&module=members&controllers=members&do=viewWarning&id={$warning->id}"}" class="ipsType_blendLinks" data-ipsDialog data-ipsDialog-size='narrow'>
								<h4 class="ipsType_reset">
									{lang="core_warn_reason_{$warning->reason}"}
									{{if settings.warnings_acknowledge}}
										&nbsp;
										{{if $warning->acknowledged}}
											<strong class='ipsType_success'><i class='fa fa-check-circle'></i> {lang="warning_acknowledged"}</strong>
										{{else}}
											<strong class='ipsType_light'><i class='fa fa-circle-o'></i> {lang="warning_not_acknowledged"}</strong>
										{{endif}}
									{{endif}}
								</h4>
								<p class='ipsDataItem_meta ipsType_light'>
									{lang="byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}{datetime="$warning->date"}
								</p>
							</a>
						</div>
					</li>
				{{endforeach}}
			</ol>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="memberprofile" template_name="warningView" template_data="$warning" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad" id="warnhovercard_{$warning->id}">	
	<h2 class="ipsType_pageTitle">
		{{if $warning->canViewDetails()}}
			<span class='ipsPoints'>{$warning->points}</span>
			{lang="core_warn_reason_{$warning->reason}"}
		{{else}}
			{lang="warning"}
		{{endif}}
	</h2>
	{{if \IPS\Settings::i()->warnings_acknowledge OR \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}}
		<p class='ipsType_medium'>
			{{if $warning->acknowledged}}
				<strong class='ipsType_success'><i class='fa fa-check-circle'></i> {lang="warning_acknowledged"}</strong>
			{{else}}
				{{if $warning->canAcknowledge()}}
					<div class='ipsAreaBackground_light ipsPad ipsType_center'>
						<a href="{$warning->url('acknowledge')->csrf()}" class="ipsButton ipsButton_important ipsButton_medium ipsButton_fullWidth"><i class='fa fa-check'></i> {lang="acknowledge"}</a>
						<p class='ipsType_light ipsType_small'>{lang="acknowledge_message"}</p>
					</div>
				{{else}}
					<strong class='ipsType_light'><i class='fa fa-circle-o'></i> {lang="warning_not_acknowledged"}</strong>
				{{endif}}
			{{endif}}
		</p>
	{{endif}}
	{{if $content = $warning->content() and $content->canView()}}
		<a href='{$content->url()->setQueryString( '_warn', $warning->id )}' class='ipsType_light ipsType_blendLinks' title='{lang="warning_go_to_content"}'><i class='fa fa-{$content::$icon}'></i> &nbsp;&nbsp;{{if $content instanceof \IPS\Content\Comment}}{$content->item()->mapped('title')}{{else}}{$content->mapped('title')}{{endif}}</a>
	{{endif}}
	{{if $warning->canViewDetails()}}
		<hr class='ipsHr'>
		<div class='ipsPhotoPanel ipsPhotoPanel_tiny'>
			{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $warning->moderator ), 'tiny'"}
			<div>
				{{if $warning->canDelete()}}
					<a href="{url="app=core&module=members&controllers=members&do=warningRevoke&id={$warning->id}" csrf="true"}" data-confirm data-confirmMessage="{lang="warning_revoke_blurb"}" data-confirmType="verify" data-confirmButtons='{expression="json_encode( array( 'yes' => \IPS\Member::loggedIn()->language()->addToStack('warning_revoke_undo'), 'no' => \IPS\Member::loggedIn()->language()->addToStack('delete'), 'cancel' => \IPS\Member::loggedIn()->language()->addToStack('cancel') ) )" raw="true"}' title='{lang="revoke_this_warning"}' class='ipsPos_right ipsButton ipsButton_verySmall ipsButton_light'>{lang="revoke"}</a></li>
				{{endif}}
				<p class="ipsType_reset">{lang="warning_byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}</p>
				<p class='ipsType_reset ipsType_light'>{datetime="$warning->date"}</p>
			</div>
		</div>
	{{endif}}
	{{if $warning->canViewDetails() or $warning->mq or $warning->rpa or $warning->suspend}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_punishment"}</h3>
		<br>
		<ul class='ipsList_bullets ipsType_medium'>
			{{if $warning->canViewDetails()}}
				<li>
					{{if $warning->expire_date}}
						{{if $warning->expire_date < time()}}
							{{if $warning->expire_date == -1}}
								{lang="warn_action_points_never_expire" pluralize="$warning->points"}
							{{else}}
								{lang="warn_action_points_expired" pluralize="$warning->points" sprintf="\IPS\DateTime::ts( $warning->expire_date )"}
							{{endif}}
						{{else}}
							{lang="warn_action_points_expire" pluralize="$warning->points" sprintf="\IPS\DateTime::ts( $warning->expire_date )"}
						{{endif}}
					{{else}}
						{lang="warn_action_points" pluralize="$warning->points"}
					{{endif}}			
				</li>
			{{endif}}
			{{if $warning->mq}}
				<li>
					{lang="moderation_modq"} - 
					{{if $warning->mq == -1}}
						{lang="indefinitely"}
                    {{elseif $mq = $warning->mq_interval}}
                        {expression="\IPS\DateTime::formatInterval( $mq, 2 )"}
					{{endif}}
				</li>
			{{endif}}
			{{if $warning->rpa}}
				<li>
					{lang="moderation_nopost"} - 
					{{if $warning->rpa == -1}}
						{lang="indefinitely"}
                    {{elseif $rpa = $warning->rpa_interval}}
                        {expression="\IPS\DateTime::formatInterval( $rpa, 2 )"}
					{{endif}}
				</li>
			{{endif}}
			{{if $warning->suspend}}
				<li>
					{lang="moderation_banned"} - 
					{{if $warning->suspend == -1}}
						{lang="indefinitely"}
                    {{elseif $suspend = $warning->suspend_interval}}
                        {expression="\IPS\DateTime::formatInterval( $suspend, 2 )"}
					{{endif}}
				</li>
			{{endif}}
		</ul>
	{{endif}}
	{{if $warning->note_member}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_member_note"}</h3>
		<div class='ipsType_richText ipsType_medium' data-ipsLazyLoad>
			{$warning->note_member|raw}
		</div>
	{{endif}}
	{{if $warning->note_mods and member.modPermission('mod_see_warn')}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_mod_note"}</h3>
		<div class='ipsType_richText ipsType_medium' data-ipsLazyLoad>
			{$warning->note_mods|raw}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="members" template_name="acpRestrictions" template_data="$current, $restrictions, $row" template_location="admin" template_app="core"><![CDATA[<form data-ipsform accept-charset='utf-8' class="ipsForm_horizontal" action="{url="app=core&module=staff&controller=admin&do=save&id={$row['row_id']}&type={$row['row_id_type']}"}" method="post">
<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
<div class='ipsBox ipsSpacer_bottom'>
	<div class='acpFormTabContent'>
		<ul class='ipsForm ipsForm_horizontal'>
			<li class='ipsFieldRow ipsPad_half  ipsClearfix ' id="use_restrictions_id">
				<div class='ipsFieldRow_title '>
					{lang="mod_use_restrictions"}
					<span class='ipsFieldRow_required'>{lang="required"}</span>
				</div>
				<div class='ipsFieldRow_content  ipsClearfix'>
					<ul class="ipsField_fieldList" role="radiogroup" id="elRadio_mod_use_restrictions_use_restrictions_id">
						<li>
							<span class='ipsCustomInput'>
								<input type="radio" name="admin_use_restrictions" value="no" {{if $current === '*'}}checked{{endif}} id="elRadio_admin_use_restrictions_no_use_restrictions_id">
								<span></span>
							</span>
							<div class='ipsField_fieldList_content ipsType_break'>
								<label for='elRadio_admin_use_restrictions_no_use_restrictions_id' id='elField_mod_use_restrictions_label'>{lang="mod_all_permissions"}</label>
								<br>
								<span class='ipsFieldRow_desc'>
									{lang="admin_all_permissions_desc"}
								</span>
							</div>
						</li>
						<li>
							<span class='ipsCustomInput'>
								<input type="radio" name="admin_use_restrictions" value="yes" {{if $current !== '*'}}checked{{endif}}  data-control="toggle" data-toggles="permission_form_wrapper" id="elRadio_admin_use_restrictions_yes_use_restrictions_id">
								<span></span>
							</span>
							<div class='ipsField_fieldList_content ipsType_break'>
								<label for='elRadio_admin_use_restrictions_yes_use_restrictions_id' id='elField_mod_use_restrictions_label'>{lang="mod_restricted"}</label>
								<br>
								<span class='ipsFieldRow_desc'>
									{lang="admin_restricted_desc"}
								</span>
							</div>
						</li>
					</ul>
				</div>
			</li>
		</ul>
	</div>
</div>

	<div id='permission_form_wrapper'>
		<div class='ipsTabs ipsClearfix ipsJS_show acpFormTabBar' id='elRestrictions_tab' data-ipsTabBar data-ipsTabBar-contentArea="#elRestrictions_content">
			<a href='#elRestrictions_tab' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
			<ul role="tablist">
				{{foreach $restrictions['applications'] as $appKey => $appId}}
					<li><a class="ipsTabs_item {{if $appKey === 'core'}}ipsTabs_activeItem{{endif}}" id='{$appId}_tab_{$appKey}' href='#ipsTabs_elRestrictions_tab_{$appId}_tab_{$appKey}_panel' role="tab" aria-selected="{{if $appKey == 'core'}}true{{else}}false{{endif}}">{lang="__app_$appKey"}</a></li>
				{{endforeach}}
			</ul>
		</div>
		<div class='acpFormTabContent' id='elRestrictions_content'>
			{{foreach $restrictions['applications'] as $appKey => $appId}}
				<div id='ipsTabs_elRestrictions_tab_{$appId}_tab_{$appKey}_panel' class='ipsTabs_panel' aria-labelledby="{$appId}_tab_{$appKey}" aria-hidden="{{if $appKey === 'core'}}false{{else}}true{{endif}}">			
					<div class='ipsPad' data-controller='core.admin.members.restrictions'>
						<div class='ipsAreaBackground ipsPad acpAppRestrictions_header'>
							<input type="checkbox" data-ipsToggle id='elRestrict_{$appKey}' value="{$appKey}" {{if $current === '*' or ( isset( $current['applications'] ) and array_key_exists( $appKey, $current['applications'] ) )}}checked="checked"{{endif}}> &nbsp;&nbsp;<label for='elRestrict_{$appKey}'><span class='ipsType_sectionHead'>{lang="acprestrictions_app" sprintf="\IPS\Member::loggedIn()->language()->addToStack('__app_' . $appKey )"}</span></label>
						</div>
						<br><br>

						<ul id='elRestrictions_root_{$appId}_tab_{$appKey}' class='acpAppRestrictions_panel'>
							{{if isset( $restrictions['modules'] ) AND isset( $restrictions['modules'][ $appId ] ) }}
								{{foreach $restrictions['modules'][ $appId ] as $moduleKey => $moduleId}}
									<li class='ipsPad'>
										<div class="acpRestrictions_header">
											<input type="checkbox" data-ipsToggle name="r[applications][{$appKey}][{$moduleKey}]" id='elRestrict_{$appKey}_{$moduleKey}' value="{$moduleKey}" {{if $current === '*' or ( isset( $current['applications'] ) and array_key_exists( $appKey, $current['applications'] ) and \in_array( $moduleKey, $current['applications'][ $appKey ] ) )}}checked="checked"{{endif}}> <h2><label for='elRestrict_{$appKey}_{$moduleKey}'><strong>{lang="menu__{$appKey}_{$moduleKey}"}</strong></h2> &nbsp;&nbsp;<span data-role='toggle' class='ipsJS_show'><a href='#' data-action='expandAll'><strong>{lang="expand"}</strong></a> / <a href='#' data-action='collapseAll'><strong>{lang="collapse"}</strong></a></span></label>
										</div>
										{{if isset( $restrictions['items'][ $moduleId ] )}}
											<ul class="acpRestrictions_panel">
												{{foreach $restrictions['items'][ $moduleId ] as $title => $items}}
													<li>
														<div class="acpRestrictions_subHeader acpRestrictions_open ipsType_light">
															<h3>{lang="r__{$title}"}</h3> &nbsp;&nbsp;<span data-role='massToggle' class='ipsJS_show'><a href='#' data-action='checkAll'>{lang="all"}</a> /  <a href='#' data-action='checkNone'>{lang="none"}</a></a>
														</div>
														<ul>
															{{foreach $items as $k => $v}}
																<li>
																	<div>
																		<input type="checkbox" id='elRestrict_{$appKey}_{$moduleKey}_{$k}' data-ipsToggle name="r[items][{$appKey}][{$moduleKey}][]" value="{$k}" {{if $current === '*' or ( isset( $current['items'] ) and array_key_exists( $appKey, $current['items'] ) and array_key_exists( $moduleKey, $current['items'][ $appKey ] ) and \in_array( $k, $current['items'][ $appKey ][ $moduleKey ] ) )}}checked="checked"{{endif}}> <label for='elRestrict_{$appKey}_{$moduleKey}_{$k}'>{lang="r__{$v}"}</label>
																	</div>
																</li>
															{{endforeach}}
														</ul>
													</li>
												{{endforeach}}
											</ul>
										{{endif}}
									</li>
								{{endforeach}}
							{{endif}}
						</ul>		
					</div>
				</div>
			{{endforeach}}
		</div>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<button class="ipsButton ipsButton_primary" role="button" type="submit">{lang="save"}</button>
	</div>
</form>]]></template>
 <template template_group="members" template_name="adminDetails" template_data="$details" template_location="admin" template_app="core"><![CDATA[
<div class='ipsColumns ipsPad'>
	<div class='ipsColumn ipsColumn_narrow ipsResponsive_hidePhone'>
		<div class='ipsPad ipsType_center'>
			{template="userPhoto" app="core" group="global" params="\IPS\Member::loggedIn(), 'medium'"}
		</div>
	</div>
	<div class='ipsColumn ipsColumn_fluid'>
		<ul class='ipsDataList'>
			<li class='ipsDataItem ipsClearfix '>
				<div class='ipsDataItem_main'>
					<strong class='ipsDataItem_title'>{lang="username"}</strong>
					<p class='ipsType_reset'>
						{$details['username']}
					</p>
				</div>
			</li>
			<li class='ipsDataItem ipsClearfix '>
				<div class='ipsDataItem_main'>
					<strong class='ipsDataItem_title'>{lang="email_address"}</strong>
					<p class='ipsType_reset'>
						{$details['email_address']}
					</p>
				</div>
				<p class='ipsDataItem_generic ipsDataItem_size3'>
					<a href='{url="app=core&module=members&controller=members&do=adminEmail"}' title='{lang="change_email_button"}' class='ipsButton ipsButton_small ipsButton_normal' data-ipsDialog data-ipsDialog-title='{lang="change_email_button"}'>{lang="change"}</a>
				</p>
			</li>
			{{if isset( $details['password'] )}}
				<li class='ipsDataItem ipsClearfix '>
					<div class='ipsDataItem_main'>
						<strong class='ipsDataItem_title'>{lang="password"}</strong>
						<p class='ipsType_reset'>
							<span class='ipsType_light'>{$details['password']}</span>
						</p>
					</div>
					<p class='ipsDataItem_generic ipsDataItem_size3'>
						<a href='{url="app=core&module=members&controller=members&do=adminPassword"}' title='{lang="change_password"}' class='ipsButton ipsButton_small ipsButton_normal' data-ipsDialog data-ipsDialog-title='{lang="change_password"}'>{lang="change"}</a>
					</p>
				</li>
			{{endif}}
		</ul>
	</div>
</div>]]></template>
 <template template_group="members" template_name="attachmentLocations" template_data="$locations, $truncateLinks=TRUE" template_location="global" template_app="core"><![CDATA[{{if \count( $locations )}}
	<ul class="ipsList_reset">
		{{foreach $locations as $location}}
			<li>
				{{if $location instanceof \IPS\Content or $location instanceof \IPS\Node\Model}}
					<a href="{{if \IPS\Dispatcher::i()->controllerLocation == 'admin'}}{{if method_exists( $location, 'acpUrl' )}}{$location->acpUrl()}{{else}}{$location->url()}{{endif}}{{else}}{$location->url()}{{endif}}" target="_blank" rel="noreferrer" class="ipsType_blendLinks">
						{{if isset( $location::$icon )}}<i class="fa fa-{$location::$icon}" {{if isset( $location::$title )}}title="{lang="$location::$title"}" data-ipsTooltip{{endif}}></i> {{endif}}
						{{if $location instanceof \IPS\Content\Item}}
							{$location->mapped('title')}
						{{elseif $location instanceof \IPS\Node\Model}}
							{$location->_title}
						{{else}}
							{$location->item()->mapped('title')}
						{{endif}}
					</a>
				{{elseif $location instanceof \IPS\Http\Url}}
					<a href="{{if \IPS\Dispatcher::i()->controllerLocation == 'admin'}}{$location}{{else}}{$location}{{endif}}" class="ipsType_blendLinks" target="_blank" rel="noreferrer"{{if $truncateLinks}} title="{$location}"{{endif}}>
						{{if $truncateLinks}}
							{truncate="$location" length="60"}
						{{else}}
							{$location}
						{{endif}}
					</a>
				{{endif}}
			</li>
		{{endforeach}}
	</ul>
{{else}}
	<p class="">{lang="attach_locations_empty"}</p>
{{endif}}]]></template>
 <template template_group="members" template_name="badgesLog" template_data="$table, $member" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox'>
	<h1 class='ipsBox_titleBar'>{lang="acp_badges_log_title" htmlsprintf="$member->acpUrl(), $member->name"}</h1>
</div>
{$table|raw}]]></template>
 <template template_group="members" template_name="bdayForm_day" template_data="$name, $value, $error=''" template_location="global" template_app="core"><![CDATA[
<select name="bday[day]">
	<option value='0' {{if $value['day'] == 0 }}selected{{endif}}></option>
	{{foreach range( 1, 31 ) as $day}}
		<option value='{$day}' {{if $value['day'] == $day }}selected{{endif}}>{$day}</option>
	{{endforeach}}
</select>
]]></template>
 <template template_group="members" template_name="bdayForm_month" template_data="$name, $value, $error=''" template_location="global" template_app="core"><![CDATA[
<select name="bday[month]">
	<option value='0' {{if $value['month'] == 0 }}selected{{endif}}></option>
	{{foreach range( 1, 12 ) as $month}}
		<option value='{$month}' {{if $value['month'] == $month }}selected{{endif}}>{expression="\IPS\DateTime::create()->setDate( 2000, $month, 15 )->strFormat('%B')"}</option>
	{{endforeach}}
</select>

]]></template>
 <template template_group="members" template_name="bdayForm_year" template_data="$name, $value, $error='', $required=FALSE" template_location="global" template_app="core"><![CDATA[<select name="bday[year]">
    {{if !$required }}
	<option value='0'>{lang="not_telling"}</option>
    {{endif}}
	{{foreach array_reverse( range( date('Y') - 150, date('Y') ) ) as $year}}
		<option value='{$year}' {{if $value['year'] == $year }}selected{{endif}}>{$year}</option>
	{{endforeach}}
</select>
]]></template>
 <template template_group="members" template_name="bulkMailPreview" template_data="$mail, $members, $count" template_location="admin" template_app="core"><![CDATA[<div class='acpBlock'>
	<div class='ipsTabs ipsClearfix ipsJS_show acpFormTabBar' id='tabs_bulkmail' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_bulkmail'>
		<a href='#tabs_bulkmail' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist'>
			<li>
				<a href='#ipsTabs_tabs_bulkmail_bulkmail_tab_overview_panel' id='bulkmail_tab_overview' class="ipsTabs_item ipsTabs_activeItem" role="tab" aria-selected="true">
					{lang="bm_send_overview"}
				</a>
			</li>
			<li>
				<a href='#ipsTabs_tabs_bulkmail_bulkmail_tab_memberlist_panel' id='bulkmail_tab_memberlist' class="ipsTabs_item" role="tab" aria-selected="false">
					{lang="bm_send_recipients" sprintf="$count"}
				</a>
			</li>
		</ul>
	</div>
	<div id='ipsTabs_content_bulkmail' class='acpFormTabContent'>
		<div id='ipsTabs_tabs_bulkmail_bulkmail_tab_overview_panel' class="ipsTabs_panel" aria-labelledby="bulkmail_tab_overview" aria-hidden="false">
			<ul class='ipsForm ipsForm_horizontal'>
				<li class='ipsJS_hide'>{lang="bm_send_overview"}</li>
				<li class='ipsFieldRow ipsPad_half ipsClearfix'>
					<div class='ipsFieldRow_title'>
						{lang="mail_subject"}
					</div>
					<div class='ipsFieldRow_content'>
						{$mail->subject}
					</div>
				</li>
				<li class='ipsFieldRow ipsPad_half ipsClearfix'>
					<div class='ipsFieldRow_title'>
						{lang="mail_body"}
					</div>
					<div class='ipsFieldRow_content'>
						<iframe seamless src='{url="app=core&module=bulkmail&controller=bulkmail&do=iframePreview&id=" base="admin"}{$mail->id}' style="width:100%" height='350'></iframe>
					</div>
				</li>
			</ul>
		</div>
		<div id='ipsTabs_tabs_bulkmail_bulkmail_tab_memberlist_panel' class="ipsTabs_panel" aria-labelledby="bulkmail_tab_memberlist" aria-hidden="false">
			<div class='ipsJS_hide'>{lang="bm_send_recipients" sprintf="$count"}</div>
			<div class='ipsGrid ipsGrid_collapsePhone'>
				{{foreach $members as $_index => $member}}
					<div class='ipsGrid_span3 ipsPad ipsType_break'>
						<a href='{url="app=core&module=members&controller=profile&id={$member['member_id']}" base="front" seoTitles="$member['members_seo_name']" seoTemplate="profile"}'>{$member['name']}</a>
						<span class='ipsType_light'>({$member['email']})</span>
					</div>
					{{if $_index > 0 AND ( $_index + 1 ) % 4 == 0}}</div><div class='ipsGrid ipsGrid_collapsePhone'>{{endif}}
				{{endforeach}}
			</div>
		</div>
	</div>
	<div class="ipsAreaBackground ipsClearfix ipsPad ipsType_center">
		<a href='{url="app=core&module=bulkmail&controller=bulkmail&do=form&id="}{$mail->id}' class='ipsButton ipsButton_secondary'>{lang="continue_editing"}</a>
		<a href='{url="app=core&module=bulkmail&controller=bulkmail&do=send&id={$mail->id}" csrf="true"}' class='ipsButton ipsButton_primary'>{lang="proceed"}</a>
	</div>
</div>]]></template>
 <template template_group="members" template_name="confirmMassAction" template_data="$count, $action, $group=NULL" template_location="admin" template_app="core"><![CDATA[<div class='ipsMessage ipsMessage_warning'>
	{{if $action === 'prune'}}
		{lang="member_prune_confirm_msg" pluralize="$count"}
	{{elseif $action === 'unSub'}}
		{lang="member_unsub_confirm_msg" pluralize="$count"}
	{{else}}
		{lang="member_move_confirm_msg" sprintf="$group->name" pluralize="$count"}
	{{endif}}
</div>
{{if $action === 'prune'}}
	<div class='ipsPos_center'><a class='ipsButton ipsButton_primary' href='{url="app=core&module=members&controller=members&do=doPrune" csrf="true"}'>{lang="continue"}</a></div>
{{elseif $action === 'unSub'}}
	<div class='ipsPos_center'><a class='ipsButton ipsButton_primary' href='{url="app=core&module=members&controller=members&do=doUnsub" csrf="true"}'>{lang="continue"}</a></div>
{{else}}
	<div class='ipsPos_center'><a class='ipsButton ipsButton_primary' href='{url="app=core&module=members&controller=members&do=doMove" csrf="true"}'>{lang="continue"}</a></div>
{{endif}}]]></template>
 <template template_group="members" template_name="dateFilters" template_data="$dateRange, $element" template_location="global" template_app="core"><![CDATA[<ul class='ipsField_fieldList'>
	<li>
		<span class='ipsCustomInput'>
			<input name="{$element->name}[2]" value='none' type='radio' id='{$element->name}[3]_radio'{{if empty($element->value[0]) AND empty($element->value[1]) AND empty($element->value[3])}} checked{{endif}}> 
			<span></span>
		</span>
		<div class='ipsField_fieldList_content'>
			{lang="any_time"}
		</div>
	</li>
	<li>
		<span class='ipsCustomInput ipsSpacer_top ipsSpacer_half'>
			<input name="{$element->name}[2]" value='range' type='radio' id='{$element->name}[3]_radio' data-control="toggle" data-toggles=""{{if $element->value[0]}} checked{{endif}}> 
			<span></span>
		</span>
		<div class='ipsField_fieldList_content'>
			{$dateRange->html()|raw}
		</div>
	</li>
	<li>
		<span class='ipsCustomInput ipsSpacer_top ipsSpacer_half'>
			<input name="{$element->name}[2]" value='days' type='radio' id='{$element->name}[3]_radio'{{if $element->value[1]}} checked{{endif}}> 
			<span></span>
		</span>
		<div class='ipsField_fieldList_content'>
			{lang="or_more_than"}
			{template="number" location="global" app="core" group="forms" params="$element->name . '[1]', $element->value[1], $element->required, NULL, FALSE, 0, NULL, 1, 0, NULL, FALSE, \IPS\Member::loggedIn()->language()->addToStack( 'days_ago' ), array(), TRUE, array(), $element->name . '_number'"}
		</div>
	</li>
	<li>
		<span class='ipsCustomInput ipsSpacer_top ipsSpacer_half'>
			<input name="{$element->name}[2]" value='days_lt' type='radio' id='{$element->name}[3]_radio'{{if ! empty( $element->value[3])}} checked{{endif}}> 
			<span></span>
		</span>
		<div class='ipsField_fieldList_content'>
			{lang="or_less_than"}
			{template="number" location="global" app="core" group="forms" params="$element->name . '[3]', isset( $element->value[3] ) ? $element->value[3] : NULL, $element->required, NULL, FALSE, 0, NULL, 1, 0, NULL, FALSE, \IPS\Member::loggedIn()->language()->addToStack( 'days_ago' ), array(), TRUE, array(), $element->name . '_number_lt'"}
		</div>
	</li>
</ul>]]></template>
 <template template_group="members" template_name="deviceAuthorization" template_data="$authorized, $active, $anonymous" template_location="admin" template_app="core"><![CDATA[{{if $authorized}}
	{{if $active}}
		<i class="fa fa-check"></i>
		{{if $anonymous}}
			{lang="device_table_login_key_anonymous"}
		{{else}}
			{lang="device_table_login_key_ok"}
		{{endif}}
	{{else}}
		<i class="fa fa-clock-o"></i> {lang="device_table_login_key_expired"}
	{{endif}}
{{else}}
	<i class="fa fa-times"></i> {lang="device_table_login_key_no"}
{{endif}}]]></template>
 <template template_group="members" template_name="deviceDuplicate" template_data="" template_location="admin" template_app="core"><![CDATA[<span class="ipsType_warning"><i class="fa fa-exclamation-triangle"></i> {lang="device_used_other_members"}</span>]]></template>
 <template template_group="members" template_name="deviceHandler" template_data="$key" template_location="admin" template_app="core"><![CDATA[{{$handler = NULL;}}
{{if \is_numeric( $key )}}
	{{try { $handler = \IPS\Login\Handler::load( $key ); } catch( \Exception $e ) { $handler = NULL; } }}
{{elseif $key}}
	{{$handlers = \IPS\Login::getStore();}}
	{{foreach $handlers as $method}}
		{{$_key = mb_substr( \get_class( $method ), 10 );}}
		{{if $_key == $key}}
			{{$handler = $method;}}
		{{endif}}
	{{endforeach}}
{{endif}}
{{if $handler}}
	{$handler->_title}
{{elseif $key}}
	{$key}
{{else}}
	<em class="ipsType_light" title='{lang="device_handler_unknown_desc"}' data-ipsTooltip>{lang="device_handler_unknown"}</em>
{{endif}}]]></template>
 <template template_group="members" template_name="deviceInfo" template_data="$device, $apps, $oauthClients" template_location="admin" template_app="core"><![CDATA[<ul class="ipsDataList ipsType_normal">
	<li class="ipsDataItem">
		<span class="ipsDataItem_generic ipsDataItem_size5"><strong>{lang="device_table_user_agent"}</strong></span>
		<span class="ipsDataItem_generic">
			{$device->userAgent()}<br>
			<code class="ipsType_small">{$device->user_agent}</code>
		</span>
	</li>
	{{foreach $apps as $accessToken}}
		<li class="ipsDataItem">
			<span class="ipsDataItem_generic ipsDataItem_size5"><strong>{$oauthClients[ $accessToken['client_id'] ]->_title}</strong></span>
			<span class="ipsDataItem_generic">
				{{if $accessToken['issue_user_agent']}}
					<div class="ipsSpacer_bottom">
						<code class="ipsType_small">{$accessToken['issue_user_agent']}</code>
					</div>
				{{endif}}
				{template="oauthStatus" group="api" params="$accessToken, $oauthClients[ $accessToken['client_id'] ]->use_refresh_tokens"}
				<span class="ipsType_small ipsType_light">
					&nbsp;&nbsp;&nbsp;
					{lang="oauth_authorization_issued"}: {datetime="$accessToken['issued']"}
					{{if $accessToken['access_token_expires']}}
						&middot;
						{lang="oauth_authorization_access_token_expires"}: {datetime="$accessToken['access_token_expires']"}
					{{endif}}
					{{if $accessToken['refresh_token_expires']}}
						&middot;
						{lang="oauth_refresh_token_expires"}: {datetime="$accessToken['refresh_token_expires']"}
					{{endif}}
				</span>
				{{if $accessToken['scope']}}
					<div class="ipsSpacer_top">
						{lang="oauth_authorization_scope"}: {expression="implode( ', ', json_decode( $accessToken['scope'] ) )"}
					</div>
				{{endif}}
			</span>
		</li>
	{{endforeach}}
	<li class="ipsDataItem">
		<span class="ipsDataItem_generic ipsDataItem_size5"><strong>{lang="device_table_login_key"}</strong></span>
		<span class="ipsDataItem_generic">
			{template="deviceAuthorization" group="members" params="(bool) $device->login_key, TRUE, $device->anonymous"}<br>
			<span class="ipsType_small ipsType_light">{lang="device_table_login_key_info"}</span>
		</span>
	</li>
	<li class="ipsDataItem">
		<span class="ipsDataItem_generic ipsDataItem_size5"><strong>{lang="device_table_login_handler"}</strong></span>
		<span class="ipsDataItem_generic">
			{template="deviceHandler" group="members" params="$device->login_handler"}
		</span>
	</li>
	<li class="ipsDataItem">
		<span class="ipsDataItem_generic ipsDataItem_size5"><strong>{lang="device_table_last_seen"}</strong></span>
		<span class="ipsDataItem_generic">
			{datetime="$device->last_seen"}
		</span>
	</li>
</ul>]]></template>
 <template template_group="members" template_name="deviceTable" template_data="$table" template_location="admin" template_app="core"><![CDATA[{$table|raw}
<div class="ipsPad_half">
	<span class="ipsType_small ipsType_light">{lang="device_table_login_key_info"}</span>
</div>]]></template>
 <template template_group="members" template_name="downloadMemberList" template_data="$removedData, $includeInsecure" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsType_center">
	<a href="{url="app=core&module=members&controller=members&do=export&download=1"}" class="ipsButton ipsButton_primary ipsButton_large"><i class="fa fa-cloud-download"></i> {lang="members_export"}</a>
</div>
{{if $includeInsecure}}
	<p class="ipsMessage ipsMessage_warning">{lang="member_export_security"}</p>
{{elseif !empty( $removedData )}}
	<div class='ipsPad'>
		<div class="ipsMessage ipsMessage_warning">
			<div class="ipsSpacer_bottom">{lang="member_export_security_intro"}</div>
		</div>

		<div class='ipsSpacer_top'>
			<table class="ipsTable ipsAreaBackground_reset">
				<tr>
					<th>{lang="member_export_security_member"}</th>
					<th>{lang="member_export_security_column"}</th>
					<th>{lang="member_export_security_value"}</th>
				</tr>
				{{foreach $removedData as $memberId => $data}}
					<tr>
						<td>{template="userLink" group="global" params="\IPS\Member::load( $memberId )"}</td>
						<td>{lang="$data[0]"}</td>
						<td>{expression="base64_decode( $data[1] )"}</td>
					</tr>
				{{endforeach}}
			</table>
			<div class="ipsSpacer_top">{lang="member_export_security_footer"}</div>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="members" template_name="geoipDisclaimer" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_small ipsType_light ipsPad_half">* {lang="ip_geolocation_info"}</div>]]></template>
 <template template_group="members" template_name="groupCell" template_data="$group, $secondaryGroups" template_location="admin" template_app="core"><![CDATA[{$group}
{{if \count( $secondaryGroups )}}
	<br>
	<span class='ipsType_light ipsType_small'>{lang="secondary_groups"}: {expression="\IPS\Member::loggedIn()->language()->formatList( $secondaryGroups )"}</span>
{{endif}} ]]></template>
 <template template_group="members" template_name="groupLink" template_data="$group" template_location="admin" template_app="core"><![CDATA[<a href='{url="app=core&module=members&controller=members&advanced_search_submitted=1&members_member_group_id={$group->g_id}&noColumn=1" csrf="true"}'>{$group->name}</a>]]></template>
 <template template_group="members" template_name="importMemberErrors" template_data="$errors" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<p class="ipsType_normal">{lang="import_member_errors"}</p>
	<ul>
		{{foreach $errors as $error}}
			<li>{$error}</li>
		{{endforeach}}
	</ul>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a class="ipsButton ipsButton_primary" href="{url="app=core&module=members&controller=members"}">{lang="step_finish"}</a>
</div>]]></template>
 <template template_group="members" template_name="ipform" template_data="$ip, $members" template_location="admin" template_app="core"><![CDATA[
<div class=''>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{lang="ipaddress_table_header"}</h1>
		<div>
			{$ip|raw}
		</div>
	</div>
</div>

<div class='ipsSpacer_top'>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{lang="memberip_table_header"}</h1>
		<div>
			{$members|raw}
		</div>
	</div>
</div>]]></template>
 <template template_group="members" template_name="ipLookup" template_data="$url, $geolocation, $map, $hostName, $counts" template_location="global" template_app="core"><![CDATA[
<h2 class='ipsBox_titleBar ipsType_reset'>{lang="ip_address_info"}</h2>
<div class='ipsPad ipsAreaBackground_light cIPInfo'>
	{{if $geolocation or $hostName}}
		<div class='ipsColumns ipsColumns_noSpacing ipsColumns_collapseTablet'>
			<div class='ipsColumn ipsColumn_wide ipsAreaBackground_light'>
				<div class='ipsPad cIPInfo_map'>
					{{if $hostName}}
						<p>{lang="ip_geolocation_hostname" sprintf="$hostName"}</p>
					{{endif}}
					{{if $geolocation}}
						{{if $map}}
							{$map|raw}
							<br>
						{{endif}}
						<p>{$geolocation|raw}</p>
						<p class="ipsType_light ipsType_small"><i class="fa fa-info-circle"></i> {lang="ip_geolocation_info"}</p>
					{{endif}}
				</div>
			</div>
			<div class='ipsColumn ipsColumn_fluid'>
	{{endif}}
	<div class="ipsGrid ipsGrid_collapsePhone ipsAreaBackground_reset">
		{{foreach $counts as $key => $value}}
			{{if $value}}
				<div class='ipsGrid_span4 ipsPad ipsType_center'>
					<a href="{$url->setQueryString( 'area', $key )}" class="ipsType_blendLinks">
						<span class='ipsType_veryLarge cIPInfo_value'>{$value}</span><br>
						<p class='ipsType_reset ipsTruncate ipsTruncate_line ipsType_minorHeading'>{lang="ipAddresses__{$key}"}</p>
					</a>
				</div>
			{{else}}
				<div class='ipsGrid_span4 ipsPad ipsType_center ipsType_light ipsFaded'>
					<span class='ipsType_veryLarge cIPInfo_value'>{$value}</span><br>
					<p class='ipsType_reset ipsTruncate ipsTruncate_line ipsType_minorHeading'>{lang="ipAddresses__{$key}"}</p>
				</div>
			{{endif}}
		{{endforeach}}
	</div>
	{{if $geolocation}}
			</div>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="members" template_name="logType" template_data="$type" template_location="admin" template_app="core"><![CDATA[{{if $type === 'display_name'}}
	<i class="fa fa-user"></i>
{{elseif $type === 'email_change'}}
	<i class="fa fa-envelope-o"></i>
{{elseif $type === 'password_change'}}
	<i class="fa fa-key"></i>
{{elseif $type === 'mfa'}}
	<i class="fa fa-lock"></i>
{{else}}
	{$type}
{{endif}}]]></template>
 <template template_group="members" template_name="memberCounts" template_data="$group" template_location="admin" template_app="core"><![CDATA[{{$url = "app=core&module=members&controller=members&advanced_search_submitted=1&members_member_group_id={$group['g_id']}&noColumn=1&_groupFilter=1";}}
<a href='{url="$url" csrf="true"}'><span data-ipsGroupCount data-ipsGroupId='{$group['g_id']}' class='ipsLoading ipsLoading_tiny'>&nbsp;</span></a>]]></template>
 <template template_group="members" template_name="memberEmailCell" template_data="$content" template_location="admin" template_app="core"><![CDATA[<div class='ipsType_break'>
	{$content|raw}
</div>]]></template>
 <template template_group="members" template_name="memberListResultsInfobox" template_data="$massActionLink" template_location="admin" template_app="core"><![CDATA[<p class="ipsMessage ipsMessage_info">
	{lang="member_search_results"}
	<a href="{url="app=core&module=members&controller=members"}">{lang="member_view_full_list"}</a>
	{{if member.hasAcpRestriction( 'core', 'members', 'member_delete' )}}
		&mdash; <a href="{$massActionLink->setQueryString( 'action', 'prune' )}">{lang="member_search_prune"}</a>
	{{endif}}
	{{if member.hasAcpRestriction( 'core', 'members', 'member_edit' )}}
		&mdash; <a href="{$massActionLink->setQueryString( 'action', 'move' )}">{lang="member_search_move"}</a>
		{{if request.members_allow_admin_emails !== 'a'}}
			&mdash; <a href="{$massActionLink->setQueryString( 'action', 'unSub' )}">{lang="member_search_unsub"}</a>
		{{endif}}
	{{endif}}
</p>]]></template>
 <template template_group="members" template_name="memberRank" template_data="$points" template_location="admin" template_app="core"><![CDATA[{{if $rank = \IPS\core\Achievements\Rank::fromPoints( $points )}}
	{$rank->html('ipsTree_icon')|raw}
	{$rank->_title}
	<span class="ipsType_light ipsType_small">({lang="achievements_awards_points_short" pluralize="$points"})</span>
{{else}}
	<span class="ipsType_light">{lang="achievements_awards_points_short" pluralize="$points"}</span>
{{endif}}]]></template>
 <template template_group="members" template_name="memberReserved" template_data="$member=NULL" template_location="admin" template_app="core"><![CDATA[<em>{lang="members_name_missing_as_reserved"}</em>
{{if $member->members_bitoptions['created_externally']}}
	<br><span data-ipsTooltip class="ipsBadge ipsBadge_negative">{lang="member_reserved_external"}</span>
{{elseif ( $member->last_visit == 0 and $member->joined->getTimestamp() > ( time() - 3600 ) )}}
	{{$mins = ceil( ( $member->joined->getTimestamp() - ( time() - 3600 ) ) / 60 );}}
	<br><span title="{lang="members_name_missing_as_reserved_tt"}" class="ipsBadge ipsBadge_negative ipsType_noBreak">{lang="member_reserved_pending_deletion" sprintf="$mins"}</span>
{{endif}}
	






]]></template>
 <template template_group="members" template_name="memberSearchResult" template_data="$member" template_location="admin" template_app="core"><![CDATA[<div class="clearfix clickable">
	<div class="left">
		{template="userPhoto" app="core" group="global" params="$member, 'medium'"}
	</div>
	<div class="left ipsMemberData">
		{$member->group['prefix']|raw}{$member->name}{$member->group['suffix']|raw}<br>
		<span class="ipsType_light">{$member->email}</span>
	</div>
</div>]]></template>
 <template template_group="members" template_name="memberValidatingCell" template_data="$email, $message" template_location="admin" template_app="core"><![CDATA[<span class="ipsType_warning"><i class="fa fa-warning"></i> {$email}</span><br>
<span class="ipsType_light ipsType_small">{$message}</span>]]></template>
 <template template_group="members" template_name="messengerQuota" template_data="$member, $count" template_location="global" template_app="core"><![CDATA[{{if $member->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging', 'front' ) ) AND $member->group['g_max_messages'] > 0}}
	<div class='ipsGrid_span6 ipsResponsive_hidePhone'>
		<div class='ipsPos_right ipsType_right' data-role="quotaTooltip" data-ipsTooltip data-ipsTooltip-label="{lang="messenger_quota" sprintf="$member->group['g_max_messages']" pluralize="$count"}">
			{{$percent = floor( 100 / $member->group['g_max_messages'] * $count );}}
			<span class="ipsAttachment_progress"><span data-role='quotaWidth' style='width: {expression="$percent > 100 ? 100 : $percent"}%'></span></span><br>
			<span class='ipsType_light ipsResponsive_hidePhone'>{lang="messenger_quota_short" sprintf="$percent"}</span>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="members" template_name="moderationLimits" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[{lang="after"}
<input type="number" name="{$name}[0]" value="{{if isset( $value[0] )}}{$value[0]}{{endif}}">
<select name="{$name}[1]">
	<option value="0" {{if isset( $value[1] ) and !$value[1]}}selected="selected"{{endif}}>{lang="approved_posts_comments"}</option>
	<option value="1" {{if isset( $value[1] ) and $value[1]}}selected="selected"{{endif}}>{lang="days_since_joining"}</option>
</select>
&nbsp; {lang="or"} &nbsp;
<span class='ipsCustomInput'>
	<input type="checkbox" data-control="unlimited" id='el{$name}_unlimited' {{if !isset( $value[0] ) or !$value[0]}}checked="checked"{{endif}} name="{$name}[2]">
	<span></span>
</span>
 <label for='el{$name}_unlimited' class='ipsField_unlimited'>{lang="never"}</label>]]></template>
 <template template_group="members" template_name="moderatorPermissions" template_data="$id, $action, $tabs, $hiddenValues, $actionButtons, $uploadField, $formClass='', $attributes=array(), $sidebar=NULL, $form=NULL, $errorTabs=NULL" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.members.moderatorPermissions'>
	<form accept-charset='utf-8' data-formId="{$id}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} data-ipsForm class="{$formClass}" {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}}>
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			{{if \is_array($v)}}
				{{foreach $v as $_v}}
					<input type="hidden" name="{$k}[]" value="{$_v}">
				{{endforeach}}
			{{else}}
				<input type="hidden" name="{$k}" value="{$v}">
			{{endif}}
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		{{endif}}
		<div class='ipsBox ipsSpacer_bottom'>
			<div class='acpFormTabContent'>
				<ul class='ipsForm {$formClass}'>
					{{foreach $tabs[''] as $input}}
						{$input->rowHtml( $form )|raw}
					{{endforeach}}
				</ul>
			</div>
		</div>
		<div id='permission_form_wrapper'>
			<div class="ipsClearfix">
				<div class="ipsJS_show ipsSpacer_bottom ipsSpacer_half">
					<ul class="ipsList_inline ipsList_noSpacing">
						<li><a href="#" class="ipsButton ipsButton_veryLight ipsButton_verySmall" data-role="checkAll">{lang="check_all"}</a></li>
						<li><a href="#" class="ipsButton ipsButton_veryLight ipsButton_verySmall" data-role="uncheckAll">{lang="uncheck_all"}</a></li>
					</ul>
				</div>
			</div>
			<div class='ipsBox'>
				{{if $form->error}}
					<div class="ipsMessage ipsMessage_error">
						{$form->error}
					</div>
				{{endif}}
				{{if !empty( $errorTabs )}}
					<p class="ipsMessage ipsMessage_error ipsJS_show">{lang="tab_error"}</p>
				{{endif}}
				<div class='ipsTabs ipsClearfix ipsJS_show acpFormTabBar' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
					<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
					<ul role='tablist'>
						{{foreach $tabs as $name => $content}}
							{{if $name}}
								<li>
									<a href='#ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' id='{$id}_tab_{$name}' class="ipsTabs_item {{if \in_array( $name, $errorTabs )}}ipsTabs_error{{endif}}" role="tab" aria-selected="false">
										{{if \in_array( $name, $errorTabs )}}<i class="fa fa-exclamation-circle"></i> {{endif}}{lang="$name"}
									</a>
								</li>
							{{endif}}
						{{endforeach}}
					</ul>
				</div>
				<div id='ipsTabs_content_{$id}' class='acpFormTabContent'>
					{{foreach $tabs as $name => $collection}}
						{{if $name}}
							<div id='ipsTabs_tabs_{$id}_{$id}_tab_{$name}_panel' class="ipsTabs_panel" aria-labelledby="{$id}_tab_{$name}" aria-hidden="false">
								<ul class='ipsForm {$formClass}'>
									{{foreach $collection as $input}}
										{$input->rowHtml( $form )|raw}
									{{endforeach}}
								</ul>
							</div>
						{{endif}}
					{{endforeach}}
				</div>
			</div>
		</div>
		<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
			{expression="implode( '', $actionButtons )" raw="true"}
		</div>
	</div>
</form>]]></template>
 <template template_group="members" template_name="nameHistoryRows" template_data="$table, $headers, $rows" template_location="global" template_app="core"><![CDATA[{{if \count( $rows )}}
	{{foreach $rows as $row}}
		<li class='ipsDataItem'>
			<div class="ipsDataItem_main ipsType_center">
		   		<h4 class='ipsType_minorHeading'>{datetime="$row['log_date']"}</h4>
		   		<p class='ipsType_reset ipsType_large'>
		      		{$row['log_data']['old']} &nbsp;&nbsp;<i class='fa fa-angle-right'></i>&nbsp;&nbsp; {$row['log_data']['new']}
		      	</p>
		   </div>
		</li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="members" template_name="nameHistoryTable" template_data="$table, $headers, $rows, $quickSearch" template_location="global" template_app="core"><![CDATA[
<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
    {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
</div>

{{if \count( $rows )}}
<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
    {template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
</ol>
{{else}}
<div class='ipsType_center ipsPad'>
    <p class='ipsType_large'>{lang="no_rows_in_table"}</p>
</div>
{{endif}}

<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
    {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
</div>]]></template>
 <template template_group="members" template_name="notificationLabel" template_data="$key, $data" template_location="global" template_app="core"><![CDATA[{{if $data['icon']}}
	<i class="fa fa-{$data['icon']}"></i>
{{endif}}
{lang="$key"}]]></template>
 <template template_group="members" template_name="notificationsSettingsRow" template_data="$field, $details" template_location="global" template_app="core"><![CDATA[<li class='ipsFieldRow ipsClearfix {{if $field->error}}ipsFieldRow_error{{endif}}' {{if $field->htmlId}}id="{$field->htmlId}"{{endif}}>
	{{if \IPS\Dispatcher::i()->controllerLocation === 'admin' or $details['showTitle']}}
		<label class='ipsFieldRow_label ipsSpacer_bottom'>
			{lang="$details['title']"}
		</label>
	{{endif}}
	<div class='ipsFieldRow_content'>
		{{if $details['description']}}
			<div class='ipsType_normal ipsSpacer_bottom ipsSpacer_half'>{lang="$details['description']"}</div>
		{{endif}}
		<ul class="ipsField_fieldList">
			{{if isset( $details['extra'] )}}
				{{foreach $details['extra'] as $k => $option}}
					<li class="ipsSpacer_bottom">
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$field->name}[{$k}]" value="1" {{if $option['value']}}checked{{endif}} id="elCheckbox_{$field->name}_{$k}">
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elCheckbox_{$field->name}_{$k}' id='elField_{$field->name}_label'>{lang="$option['title']"}</label>
							{{if isset( $option['description'] )}}
								<br>
								<span class='ipsFieldRow_desc'>{lang="$option['description']"}</span>
							{{endif}}
						</div>
					</li>
				{{endforeach}}
			{{endif}}
			{{foreach $details['options'] as $k => $option}}
				{{if $k === 'inline' and isset( $details['options']['push'] )}}
					<li class="ipsSpacer_bottom">
						<ul class="ipsField_fieldList " role="radiogroup">
							<li>
								<span class='ipsCustomInput'>
									<input type="radio" name="{$field->name}[{$k}]" value="push" {{if $details['options']['push']['value']}}checked{{endif}} id="elCheckbox_{$field->name}_{$k}_push" {{if !$option['editable']}}disabled{{endif}}>
									<span></span>
								</span>
								<div class='ipsField_fieldList_content ipsType_break'>
									<label for="elCheckbox_{$field->name}_{$k}_push">{lang="notifications_list_and_app"}</label>
								</div>
							</li>
							<li>
								<span class='ipsCustomInput'>
									<input type="radio" name="{$field->name}[{$k}]" value="inline" {{if $details['options']['inline']['value'] and !$details['options']['push']['value']}}checked{{endif}} id="elCheckbox_{$field->name}_{$k}_inline" {{if !$option['editable']}}disabled{{endif}}>
									<span></span>
								</span>
								<div class='ipsField_fieldList_content ipsType_break'>
									<label for="elCheckbox_{$field->name}_{$k}_inline">{lang="notifications_list_only"}</label>
								</div>
							</li>
							<li>
								<span class='ipsCustomInput'>
									<input type="radio" name="{$field->name}[{$k}]" value="" {{if !$details['options']['inline']['value'] and !$details['options']['push']['value']}}checked{{endif}} id="elCheckbox_{$field->name}_{$k}_off" {{if !$option['editable']}}disabled{{endif}}>
									<span></span>
								</span>
								<div class='ipsField_fieldList_content ipsType_break'>
									<label for="elCheckbox_{$field->name}_{$k}_off">{lang="notifications_no_list"}</label>
								</div>
							</li>
						</ul>
					</li>
				{{elseif $k !== 'push' or !isset( $details['options']['inline'] )}}
					<li class="ipsSpacer_bottom">
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$field->name}[{$k}]" value="1" {{if $option['value']}}checked{{endif}} id="elCheckbox_{$field->name}_{$k}" {{if !$option['editable']}}disabled{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elCheckbox_{$field->name}_{$k}' id='elField_{$field->name}_label'>{lang="$option['title']"}</label>
						</div>
					</li>
				{{endif}}
			{{endforeach}}
		</ul>
	</div>
</li>]]></template>
 <template template_group="members" template_name="photoCrop" template_data="$name, $value, $photo" template_location="global" template_app="core"><![CDATA[
<div data-controller='core.global.core.cropper' id='elPhotoCropper' class='ipsAreaBackground_light ipsType_center ipsPad'>
	<h3 class='ipsType_sectionHead'>{lang="photo_crop_title"}</h3>
	<p class='ipsType_light ipsType_reset'>{lang="photo_crop_instructions"}</p>
	<br>

	<div class='ipsForm_cropper'>
		<div data-role='cropper'>
			<img src="{$photo}" data-role='profilePhoto'>
		</div>
	</div>

	<input type='hidden' name='{$name}[0]' value='{$value[0]}' data-role='topLeftX'>
	<input type='hidden' name='{$name}[1]' value='{$value[1]}' data-role='topLeftY'>
	<input type='hidden' name='{$name}[2]' value='{$value[2]}' data-role='bottomRightX'>
	<input type='hidden' name='{$name}[3]' value='{$value[3]}' data-role='bottomRightY'>
</div>]]></template>
 <template template_group="members" template_name="pointsLog" template_data="$table, $member" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox ipsSpacer_bottom'>
	<h1 class='ipsBox_titleBar'>{lang="acp_points_log_title" htmlsprintf="$member->acpUrl(), $member->name"}</h1>
</div>
{$table|raw}]]></template>
 <template template_group="members" template_name="postingLimits" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[{lang="after"}
<input type="number" name="{$name}[0]" value="{$value[0]}" class="ipsField_short">
<select name="{$name}[1]" class="ipsField_short">
	<option value="0" {{if !$value[1]}}selected="selected"{{endif}}>{lang="approved_posts_comments"}</option>
	<option value="1" {{if $value[1]}}selected="selected"{{endif}}>{lang="days_since_joining"}</option>
</select>
&nbsp; {lang="or"} &nbsp;
<span class='ipsCustomInput'>
	<input type="checkbox" data-control="unlimited" id='el{$name}_unlimited' {{if !$value[0]}}checked="checked"{{endif}}>
	<span></span>
</span> <label for='el{$name}_unlimited' class='ipsField_unlimited'>{lang="never"}</label>]]></template>
 <template template_group="members" template_name="prefixSuffix" template_data="$name, $color, $prefix, $suffix" template_location="admin" template_app="core"><![CDATA[<span id="{$name}_color" class="{{if $prefix or $suffix}}ipsHide{{else}}ipsJS_show{{endif}}">
	<input type="text" name="{$name}[color]" id="{$name}_color" value="{$color}" data-control='color' class='ipsField_short'> &nbsp; {lang="or"} &nbsp; <a href="#" data-clickshow="{$name}_html" data-clickhide="{$name}_color">{lang="use_html"}</a>
</span>
<span id="{$name}_html" class="{{if !$prefix and !$suffix}}ipsJS_hide{{endif}}">
	<input type="text" name="{$name}[prefix]" id="{$name}_prefix" placeholder="&lt;strong&gt;" value="{$prefix}" class="ipsField_short"> {lang="g_title"} <input type="text" name="{$name}[suffix]" id="{$name}_suffix" placeholder="&lt;/strong&gt;" value="{$suffix}" class="ipsField_short">
	<span class="no_js_hide"> &nbsp; {lang="or"} &nbsp; <a href="#" data-clickshow="{$name}_color" data-clickhide="{$name}_html" data-clickempty="{$name}_prefix,{$name}_suffix">{lang="use_color"}</a></span>
</span>]]></template>
 <template template_group="members" template_name="profileCompleteBlurb" template_data="$canAdd" template_location="admin" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPad ipsClearfix'>
	<div>
		<h2 class='ipsType_sectionHead'><strong>{lang="profile_complete_blurb_title"}</strong></h2>
		<div class='ipsType_normal ipsType_reset'>
			{lang="profile_complete_blurb_desc"}
			{{if ! $canAdd}}
				<div class="ipsMessage ipsMessage_info">
					{lang="profile_complete_no_add"}
				</div>
			{{endif}}
		</div>
	</div>
</div>]]></template>
 <template template_group="members" template_name="profileCompleteTitle" template_data="$step" template_location="admin" template_app="core"><![CDATA[{lang="profile_step_title_{$step['step_id']}"}
<div class="ipsType_small ipsType_light">{lang="profile_step_text_{$step['step_id']}"}</div>]]></template>
 <template template_group="members" template_name="quickRegisterDisabled" template_data="" template_location="admin" template_app="core"><![CDATA[<div id='acpWarnings'>
	<div class='ipsAreaBackground_light ipsPad'>
		<div>
			<h2 class='ipsType_sectionHead'><strong>{lang="profile_complete_quick_register_off_title"}</strong></h2>
			<div class='ipsType_normal ipsType_reset'>
				{lang="profile_complete_quick_register_off"}
				<ul class='ipsToolList ipsToolList_horizontal ipsAlert_buttonRow ipsClear ipsClearfix'>
					<li class="ipsPos_left"><a href="{url="app=core&module=membersettings&controller=profilecompletion&do=enableQuickRegister" csrf="true"}" class="ipsButton ipsButton_primary">{lang="profile_complete_quick_register_off_button"}</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="members" template_name="referralPopup" template_data="$content" template_location="admin" template_app="core"><![CDATA[
{{if \IPS\Request::i()->isAjax()}}
<div class='ipsPad'>
{{endif}}

	{$content|raw}

{{if \IPS\Request::i()->isAjax()}}
</div>
{{endif}}]]></template>
 <template template_group="members" template_name="referralsOverview" template_data="$table, $headers, $rows, $quickSearch" template_location="admin" template_app="core"><![CDATA[
{{if \count( $rows )}}
	<ul class='ipsList_reset cCustomerOther_list'>
		{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
	</ul>
{{else}}
	<p class='ipsType_reset ipsType_normal cCustomerOther_list ipsType_light'>{lang="no_referrals"}</p>
{{endif}}]]></template>
 <template template_group="members" template_name="referralsOverviewRows" template_data="$table, $headers, $rows" template_location="admin" template_app="core"><![CDATA[
{{foreach $rows as $row}}
	<li>
		<p class='ipsType_reset ipsType_normal ipsTruncate ipsTruncate_line'>
			{$row['member_id']|raw}
		</p>
		<span class='ipsType_medium ipsType_light'>
			{$row['email']}
		</span>
	</li>
{{endforeach}}]]></template>
 <template template_group="members" template_name="referralsTable" template_data="$customer, $table, $title, $type" template_location="admin" template_app="core"><![CDATA[<div class="ipsBox ipsSpacer_bottom">
	{{$count = \count( $table->getRows(NULL) );}}
	<h3 class='ipsBox_titleBar'>{{if $count}}<strong>{{endif}}{$title}{{if $count}}</strong>{{endif}}</h3>
	<div class="ipsPad">
		{$table|raw}
		<p class='ipsType_reset ipsSpacer_top ipsSpacer_half'>
			<a href='{url="app=core&module=members&controller=members&do=editBlock&block=IPS\\core\\extensions\\core\\MemberACPProfileBlocks\\Referrals&id={$customer->member_id}"}' data-ipsDialog data-ipsDialog-title='{lang="customer_tab_{$type}"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth'>
				{lang="customer_manage_{$type}"}
			</a>
		</p>
	</div>
</div>]]></template>
 <template template_group="members" template_name="restrictionsLabel" template_data="$value" template_location="admin" template_app="core"><![CDATA[{{if $value === '*' }}
	<span class='ipsBadge ipsBadge_positive'><i class='fa fa-check-square-o'></i> {lang="unrestricted"}</span>
{{else}}
	<span class='ipsBadge ipsBadge_intermediary'><i class='fa fa-exclamation-triangle'></i> {lang="restricted"}</span>
{{endif}}]]></template>
 <template template_group="members" template_name="signatureLimits" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[{lang="after"}
<input type="number" name="{$name}[0]" value="{$value[0]}" min="0" class="ipsField_short">
<select name="{$name}[1]" class="ipsField_short">
	<option value="0" {{if !$value[1]}}selected="selected"{{endif}}>{lang="approved_posts_comments"}</option>
	<option value="1" {{if $value[1]}}selected="selected"{{endif}}>{lang="days_since_joining"}</option>
</select>
&nbsp; {lang="or"} &nbsp;
<span class='ipsCustomInput'>
	<input type="checkbox" name="{$name}[3]" id='el{$name}_3' data-control="unlimited" {{if !$value[0]}}checked="checked"{{endif}}>
	<span></span>
</span> <label for='el{$name}_3' class='ipsField_unlimited'>{lang="always"}</label>]]></template>
 <template template_group="members" template_name="usernameChanges" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[<div>
	<span class='ipsCustomInput'>
		<input type='checkbox' id='{$name}_canchange' name="{$name}[canchange]" value="1" data-control="toggle" data-toggles="group_un_perms" {{if $value[0]}}checked="checked"{{endif}}> 
		<span></span>
	</span>
	<label for='{$name}_canchange'>{lang="group_allow_username_changes"}</label>
</div>
<br>
<div id="group_un_perms">
	<div data-role="unlimitedCatch">
		{lang="after"} <input type="number" class="ipsField_tiny" value="{$value[1]}" name="{$name}[1]" min="0"> <select name="{$name}[2]" class="ipsField_short"><option value="0" {{if !$value[2]}}selected="selected"{{endif}}>{lang="approved_posts_comments"}</option><option value="1" {{if $value[2]}}selected="selected"{{endif}}>{lang="days_since_joining"}</option></select>  &nbsp; {lang="or"} &nbsp; 
		<span class='ipsCustomInput'>
			<input type='checkbox' name="{$name}[always]" id='el{$name}_always' data-control="unlimited" {{if !$value[1]}}checked="checked"{{endif}}>
			<span></span>
		</span> <label for='el{$name}_always' class='ipsField_unlimited'>{lang="always"}</label>
	</div>
	<br>
	<div data-role="unlimitedCatch">
		{lang="can_change_username"} <input type="number" class="ipsField_tiny" value="{$value[0]}" name="{$name}[0]"> {lang="times_every"} <input type="number" name="{$name}[3]" class="ipsField_tiny" value="{$value[3]}" min="1"> {lang="days"} &nbsp; {lang="or"} &nbsp; 
		<span class='ipsCustomInput'>
			<input type='checkbox' name="{$name}[unlimited]" id='el{$name}_unlimited' value="1" data-control="unlimited" {{if $value[0] == -1}}checked="checked"{{endif}}>
			<span></span>
		</span> <label for='el{$name}_unlimited' class='ipsField_unlimited'>{lang="unlimited"}</label>
	</div>
</div>]]></template>
 <template template_group="members" template_name="usernameLengthSetting" template_data="$name, $value" template_location="admin" template_app="core"><![CDATA[{lang="between"}
<input type="number" name="{$name}[0]" value="{$value[0]}" min="1" class="ipsField_short">
&nbsp; {lang="and"} &nbsp;
<input type="number" name="{$name}[1]" value="{$value[1]}" min="1" max="255" class="ipsField_short">
{lang="characters_lc"}]]></template>
 <template template_group="members" template_name="usernameRegexSetting" template_data="$name, $value, $easy" template_location="admin" template_app="core"><![CDATA[<div data-controller="core.admin.members.allowedCharacters" data-easy="{{if $easy}}1{{else}}0{{endif}}">
	<input type="hidden" name="{$name}[easy]" value="0" data-role="easyInput">
	<div data-role="easy" class="ipsHide">
		<ul class="ipsField_fieldList">
			<li>
				<strong>{lang="username_characters_letters"}</strong>
				<ul class="ipsField_fieldList ipsClearfix" role="radiogroup">
					<li>
						<span class='ipsCustomInput'>
							<input type="radio" name="{$name}[letters]" value="all" id="elRadio_{$name}_letters_all" {{if !$easy or $easy['letters'] === 'all'}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_letters_all'>{lang="username_characters_letters_all"}</label>
						</div>
					</li>
					<li>
						<span class='ipsCustomInput'>
							<input type="radio" name="{$name}[letters]" value="latin" id="elRadio_{$name}_letters_latin" {{if $easy and $easy['letters'] === 'latin'}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_letters_latin'>{lang="username_characters_letters_latin"}</label>
						</div>
					</li>
				</ul>
			</li>
			<li>
				<strong>{lang="username_characters_numbers"}</strong>
				<ul class="ipsField_fieldList ipsClearfix" role="radiogroup">
					<li>
						<span class='ipsCustomInput'>
							<input type="radio" name="{$name}[numbers]" value="all" id="elRadio_{$name}_numbers_all" {{if !$easy or $easy['numbers'] === 'all'}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_numbers_all'>{lang="username_characters_numbers_all"}</label>
						</div>
					</li>
					<li>
						<span class='ipsCustomInput'>
							<input type="radio" name="{$name}[numbers]" value="arabic" id="elRadio_{$name}_numbers_arabic" {{if $easy and $easy['numbers'] === 'arabic'}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_letters_latin'>{lang="username_characters_numbers_arabic"}</label>
						</div>
					</li>
					<li>
						<span class='ipsCustomInput'>
							<input type="radio" name="{$name}[numbers]" value="none" id="elRadio_{$name}_numbers_none" {{if $easy and $easy['numbers'] === 'none'}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_letters_latin'>{lang="none"}</label>
						</div>
					</li>
				</ul>
			</li>
			<li>
				<strong>{lang="username_characters_special"}</strong>
				<ul class="ipsField_fieldList ipsClearfix" role="radiogroup">
					<li>
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$name}[spaces]" value="1" id='elRadio_{$name}_spaces' {{if !$easy or $easy['spaces']}}checked{{endif}}>
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_spaces'>{lang="username_characters_spaces"}</label><br>
							<span class='ipsFieldRow_desc'>{lang="username_characters_spaces_desc"}</span>
						</div>
					</li>
					<li>
						<span class='ipsCustomInput'>
							<input type="checkbox" name="{$name}[extra_enabled]" value="1" id='elRadio_{$name}_extra' {{if !$easy or $easy['extra']}}checked{{endif}} data-control="toggle" data-toggles="elRadio_{$name}_extra_input">
							<span></span>
						</span>
						<div class='ipsField_fieldList_content'>
							<label for='elRadio_{$name}_extra'>{lang="username_characters_extra"}</label>
							<div id="elRadio_{$name}_extra_input">
								<input type="text" name="{$name}[extra]" value="{{if $easy}}{$easy['extra']}{{else}}_.-,{{endif}}">
							</div>
						</div>
					</li>
				</ul>
			</li>
		</ul>
		<br>
		<a href="#" class="ipsHide" data-action="regex">{lang="username_characters_regex"}</a>
	</div>
	<div data-role="regex">
		<input type="text" name="{$name}[regex]" value="{$value}" placeholder="/^[A-Z0-9]+$/i"> <a href="#" class="ipsHide" data-action="easy">{lang="username_characters_easy"}</a>
	</div>
</div>]]></template>
 <template template_group="members" template_name="warningTime" template_data="$name, $value, $prefixLang='after', $unlimitedLang='never'" template_location="admin" template_app="core"><![CDATA[{lang="$prefixLang"}
<input type="number" name="{$name}[0]" {{if is_array( $value ) AND $value[0] != -1}}value="{$value[0]}"{{endif}} min="0" class="ipsField_short">
<select name="{$name}[1]">
	<option value="h" {{if is_array( $value ) AND $value[1] == 'h'}}selected="selected"{{endif}}>{lang="hours"}</option>
	<option value="d" {{if is_array( $value ) AND $value[1] == 'd'}}selected="selected"{{endif}}>{lang="days"}</option>
</select>
&nbsp; {lang="or"} &nbsp;
<span class='ipsCustomInput'>
	<input type="checkbox" data-control="unlimited" id='el{$name}_unlimited' {{if is_array( $value ) AND $value[0] == -1}}checked="checked"{{endif}} name="{$name}[3]">
	<span></span>
</span> <label for='el{$name}_unlimited' class='ipsField_unlimited'>{lang="$unlimitedLang"}</label>]]></template>
 <template template_group="messaging" template_name="conversation" template_data="$conversation, $folders, $alert=NULL" template_location="front" template_app="core"><![CDATA[<div class='ipsBox'>
	<div class='ipsPadding ipsPadding_bottom:half ipsAreaBackground_light ipsBorder_bottom'>
		<ul id='elConvoActions_menu' class='ipsMenu ipsMenu_auto ipsHide'>
			{{if \count( $folders ) > 1}}
				<li class='ipsMenu_item ipsMenu_subItems'>
					<a href='#' id='elConvoMove'><i class='fa fa-folder'></i> {lang="move_message_to"}</a>

					<ul id='elConvoMove_menu' class='ipsMenu ipsMenu_auto ipsHide'>
						{{foreach $folders as $id => $name}}
							{{if isset( $conversation->map['map_folder_id'] ) AND (string) $id !== $conversation->map['map_folder_id']}}
								<li class='ipsMenu_item' data-ipsMenuValue='{$id}'><a href='{$conversation->url('move')->csrf()->setQueryString( 'to', $id )}'>{$name}</a></li>
							{{endif}}
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
			{{if isset( $conversation->map['map_ignore_notification'] )}}
				<li class='ipsMenu_item'>
					{{if $conversation->map['map_ignore_notification']}}
						<a href='{$conversation->url('notifications')->csrf()->setQueryString( 'status', 1 )}' data-action="stopNotifications">
							<i class='fa fa-bell'></i> {lang="messenger_notifications_on"}
						</a>
					{{else}}
						<a href='{$conversation->url('notifications')->csrf()->setQueryString( 'status', 0 )}' data-action="stopNotifications">
							<i class='fa fa-bell-slash-o'></i> {lang="messenger_notifications_off"}
						</a>
					{{endif}}
				</li>
			{{endif}}
			<li class='ipsMenu_item'>
				<a href="{$conversation->url('leaveConversation')->csrf()}" data-action="deleteConversation">
					<i class='fa fa-trash'></i> {{if $conversation->canDelete() AND isset( \IPS\Request::i()->_report )}}{lang="messenger_leave_moderator"}{{else}}{lang="messenger_leave"}{{endif}}
				</a>
			</li>
			{{if $conversation->canDelete() AND isset( \IPS\Request::i()->_report )}}
				<li class='ipsMenu_item'>
					<a href="{$conversation->url('moderate')->setQueryString( array( 'action' => 'delete', '_report' => \IPS\Request::i()->_report ) )->csrf()}" data-confirm>
						<i class='fa fa-trash'></i> {lang="messenger_leave"}
					</a>
				</li>
			{{endif}}
		</ul>

		<div class='ipsPageHeader'>
			<div class='ipsBox_alt ipsClearfix ipsPos_right'>
				<p class='ipsResponsive_hideDesktop ipsResponsive_block ipsPos_left ipsType_reset'>
					<a href='#' data-action='filterBarSwitch' data-switchTo='filterBar' class='ipsButton ipsButton_verySmall ipsButton_veryLight'><i class='fa fa-caret-left'></i> <i class='fa fa-navicon'></i> &nbsp;{lang="messenger_list"}</a>
				</p>
				<a href='#' id='elConvoActions' data-ipsMenu class='ipsPos_right ipsButton ipsButton_verySmall ipsButton_veryLight'>{lang="options"} <i class='fa fa-caret-down'></i></a>
			</div>
			<h1 class='ipsType_pageTitle ipsType_break'>{$conversation->title} </h1>
		</div>
		<div class='cMessage_members' id='elConvoMembers_{$conversation->id}'>
			<span><i class='fa fa-user'></i> &nbsp;{lang="members_in_convo" pluralize="$conversation->to_count"}</span>
			<ol class='ipsList_inline ipsClearfix ipsMargin_top'>
				{{$members = 0;}}
				{{foreach $conversation->maps() as $map}}
				{template="participant" group="messaging" params="$map, $conversation"}
				{{$members++;}}
				{{endforeach}}
				{{if \IPS\Member::loggedIn()->group['g_max_mass_pm'] == -1 OR $members < \IPS\Member::loggedIn()->group['g_max_mass_pm'] }}
				<li data-role='addUserItem'>
					<a href='#elInviteMember{$conversation->id}_menu' id='elInviteMember{$conversation->id}' data-action='inviteUsers' title='{lang="invite_a_member"}' data-ipsMenu data-ipsMenu-appendTo="#elConvoMembers_{$conversation->id}" data-ipsMenu-closeOnClick='false' data-ipsTooltip class='ipsButton ipsButton_veryLight ipsButton_narrow ipsButton_large'><i class='fa fa-plus'></i> <i class='fa fa-user'></i></a>
					<div class='ipsMenu ipsMenu_wide ipsPad ipsHide' id='elInviteMember{$conversation->id}_menu'>
						<form accept-charset='utf-8' action="{$conversation->url('addParticipant')}" method="post" data-role='addUser' data-conversation="{$conversation->id}">
							<input type='text' class='ipsField_fullWidth' placeholder='{lang="messenger_invite_placeholder"}' name="member_names" data-ipsAutocomplete data-ipsAutocomplete-unique data-ipsAutocomplete-dataSource="{url="app=core&module=system&controller=ajax&do=findMember"}" data-ipsAutocomplete-commaTrigger='false' data-ipsAutocomplete-queryParam='input' data-ipsAutocomplete-resultItemTemplate="core.autocomplete.memberItem"><br>
							<button class='ipsButton ipsButton_primary ipsButton_fullWidth'>{lang="invite"}</button>
						</form>
					</div>
				</li>
				{{endif}}
			</ol>
		</div>
	</div>
	<div class='ipsPadding sm:ipsPadding:none'>
		<h2 class='ipsType_sectionTitle ipsType_reset ipsHide'>{lang="personal_conversation"}</h2>
		<div data-controller='core.front.core.commentFeed, core.front.core.ignoredComments' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-baseURL='{$conversation->url()}' {{if $conversation->isLastPage()}}data-lastPage{{endif}} data-feedID='messages-{$conversation->id}'>
			<div class=''>
                {{if $alert }}
                    <blockquote class="ipsQuote ipsSpacer_bottom">
                        <div class="ipsQuote_contents ipsClearfix">
                            {$alert->content|raw}
                        </div>
                    </blockquote>
                {{endif}}
				<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $conversation->commentPageCount() <= 1}}ipsHide{{endif}}" data-role="tablePagination">
					{template="pagination" group="global" location="global" params="$conversation->url(), $conversation->commentPageCount(), \IPS\Request::i()->page ? \intval( \IPS\Request::i()->page ) : 1, \IPS\core\Messenger\Conversation::getCommentsPerPage(), TRUE"}
				</div>
				<div data-role='commentFeed'>
					{{foreach $conversation->comments() as $comment}}
						{$comment->html()|raw}
					{{endforeach}}
				</div>
				<div {{if $conversation->commentPageCount() <= 1}}class='ipsHide'{{endif}} data-role="tablePagination">
					<hr class='ipsHr'>
					{template="pagination" group="global" location="global" params="$conversation->url(), $conversation->commentPageCount(), \IPS\Request::i()->page ? \intval( \IPS\Request::i()->page ) : 1, \IPS\core\Messenger\Conversation::getCommentsPerPage(), TRUE"}
				</div>
				<div data-role='replyArea' class='ipsAreaBackground ipsPad ipsSpacer_top'>
					{$conversation->commentForm()|raw}
				</div>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="messaging" template_name="folderForm" template_data="$action, $formHtml" template_location="front" template_app="core"><![CDATA[
<div data-controller="core.front.messages.folderDialog" data-action='{$action}'>
	{$formHtml|raw}
</div>]]></template>
 <template template_group="messaging" template_name="messageList" template_data="$baseUrl, $langPrefix, $headers, $mainColumn, $rootButtons, $rows, $sortBy, $sortDirection, $filters, $currentFilter, $pages, $currentPage, $noSort, $quickSearch, $advancedSearch, $classes, $widths" template_location="front" template_app="core"><![CDATA[<div id='elMessageSidebar' data-controller='core.front.messages.list, core.genericTable' data-baseurl="{url="{$baseUrl}"}">
	<div class='ipsButtonBar ipsPad_half ipsClearfix'>
		<!--<span class='ipsType_sectionHead'>{lang="menu_messages"}</span>-->
		<ul class='ipsButtonRow ipsClearfix ipsPos_right'>
			<li class='ipsPos_left'>
				<a class="ipsJS_show" href="#elCheck_menu" id="elCheck" title='{lang="select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elMessageList" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
					<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
					<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
				</a>
				<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_menu">
					<li class="ipsMenu_title">{lang="select_rows"}</li>
					<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
					<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
				</ul>
			</li>
			<li>
				<a href='#elSortByMenu_menu' id='elSortByMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="sort_by"} <i class='fa fa-caret-down'></i></a>
				<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elSortByMenu_menu'>
					{{foreach $headers as $k => $header}}
						{{if \in_array( $k, array( 'mt_last_post_time', 'mt_start_time', 'mt_replies' ) )}}
							<li class='ipsMenu_item {{if $k == $sortBy}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='recent'><a href='#'>{lang="{$langPrefix}{$header}"}</a></li>
						{{endif}}
					{{endforeach}}
				</ul>
			</li>
			<li>
				<a href='#elFilterMenu_menu' id='elFilterMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="filter_by"} <i class='fa fa-caret-down'></i></a>
				<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterMenu_menu'>
					<li class='ipsMenu_item {{if !array_key_exists( $currentFilter, $filters )}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='all'><a href='{url="{$baseUrl}&sortby={$sortBy}&sortdirection={$sortDirection}&page=1"}'>{lang="messenger_filter_all"}</a></li>
					{{foreach $filters as $k => $q}}
						<li class='ipsMenu_item {{if $k === $currentFilter}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='others'><a href='{url="{$baseUrl}&filter={$k}&sortby={$sortBy}&sortdirection={$sortDirection}&page=1"}'>{lang="$k"}</a></li>
					{{endforeach}}					
				</ul>
			</li>
		</ul>
	</div>
	<div id='elMessageList' class='ipsClear ipsAreaBackground_light'>
		<div>
			<ol class='ipsDataList' data-role='messageList'>
				{template="messageListRows" app="core" group="messaging" params="$rows, $mainColumn, $rootButtons, $headers, $langPrefix"}
			</ol>
		</div>
	</div>
</div>]]></template>
 <template template_group="messaging" template_name="messageListRow" template_data="$row, $overview, $folders" template_location="front" template_app="core"><![CDATA[		<li class='ipsDataItem ipsClearfix {{if $row['map_has_unread']}}ipsDataItem_unread{{endif}} cMessage {{if !\IPS\Request::i()->overview}}ipsCursor_pointer{{endif}} {{if $row['mt_id'] == \IPS\Request::i()->id}}cMessage_active ipsDataItem_selected{{endif}}' data-messageid='{$row['map_topic_id']}' data-keyNavBlock data-keyAction='return'>
			<div class='ipsDataItem_icon ipsType_center ipsPos_top sm:ipsPadding:none'>
				<div class='ipsSpacer_bottom ipsSpacer_half'>
					{{if $row['last_message']}}{template="userPhoto" app="core" group="global" params="$row['last_message']->author(), 'tiny'"}{{endif}}
				</div>
				{{if $overview}}
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row['map_topic_id']}]" data-actions='delete {{if \is_array($folders) and \count($folders) > 1}}move{{endif}}' data-state>
					<span></span>
				</span>
				{{endif}}
			</div>
			<div class='ipsDataItem_main sm:ipsPadding_left:half'>
				<h4 class='ipsDataItem_title ipsType_normal ipsType_break'>
					{{if $overview}}
						<a href='{url="app=core&module=messaging&controller=messenger&id={$row['mt_id']}" seoTemplate="messenger_convo"}' class='cMessageTitle {{if $row['map_has_unread']}}cMessageTitle_unread{{endif}}' data-role="messageURL">{truncate="$row['mt_title']" length="45"}</a>
					{{else}}
						<a href='{url="app=core&module=messaging&controller=messenger&id={$row['mt_id']}&latest=1" seoTemplate="messenger_convo"}' class='cMessageTitle {{if $row['map_has_unread']}}cMessageTitle_unread{{endif}}' data-role="messageURL">{truncate="$row['mt_title']" length="45"}</a>
					{{endif}}
				</h4>
				<div class='ipsDataItem_meta ipsContained_container ipsMessageRow' data-ipsTruncate data-ipsTruncate-type="remove" data-ipsTruncate-size="1 lines">
					{{if $row['last_message']}}<span class='ipsType_break ipsContained'>{$row['last_message']->truncated( TRUE )|raw}</span>{{endif}}
				</div>
				<span class='ipsType_light ipsType_medium ipsType_blendLinks'>{$row['participants']}</span>
			</div>
			<div class='ipsDataItem_generic ipsDataItem_size2 ipsPos_top ipsType_right'>
				<div class='ipsCommentCount ipsSpacer_top ipsSpacer_half' title="{lang="messenger_message_count" pluralize="$row['mt_replies']"}" data-ipsTooltip>{number="$row['mt_replies']"}</div>
				<p class='ipsType_reset ipsType_medium ipsType_light ipsType_right'>
					<span data-ipsTooltip title="{lang="messenger_started_by" sprintf="\IPS\Member::load( $row['mt_starter_id'] )->name, \IPS\DateTime::ts( $row['mt_start_time'] )->relative()"}{{if $row['mt_start_time'] !== $row['mt_last_post_time'] AND $row['last_message']}} &middot; {lang="messenger_last_reply" sprintf="$row['last_message']->author()->name, \IPS\DateTime::ts( $row['mt_last_post_time'] )->relative()"}{{endif}}">
						{datetime="$row['mt_last_post_time']" short="true" }
					</span>
				</p>
			</div>
		</li>]]></template>
 <template template_group="messaging" template_name="messageListRows" template_data="$conversations, $pagination=NULL, $overview=FALSE, $folders=array()" template_location="front" template_app="core"><![CDATA[{{if empty( $conversations )}}
	<li class='ipsDataItem'>
		<div class='ipsPad ipsType_light ipsType_center ipsType_normal'>{lang="no_results_messages"}</div>
	</li>
{{else}}
	{{foreach $conversations as $row}}
		{template="messageListRow" group="messaging" params="$row, $overview, $folders"}
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="messaging" template_name="nomessage" template_data="" template_location="front" template_app="core"><![CDATA[<div class="ipsBox_alt ipsType_center ipsType_large ipsEmpty">
	<i class="fa fa-envelope"></i>
	<br>
	{lang="no_message_selected"}
</div>]]></template>
 <template template_group="messaging" template_name="participant" template_data="$map, $conversation" template_location="front" template_app="core"><![CDATA[<li class='ipsPhotoPanel ipsPhotoPanel_tiny {{if !$map['map_user_active'] or $map['map_user_banned'] or \IPS\Member::load( $map['map_user_id'] )->members_disable_pm}}cMessage_leftConvo{{endif}}' data-participant="{$map['map_user_id']}">
	{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $map['map_user_id'] ), 'tiny'"}	
	<div>
		{{if $map['map_user_id'] == \IPS\Member::loggedIn()->member_id}}
			<strong>{member="name" id="$map['map_user_id']"}</strong><br>
		{{elseif !\IPS\Member::load( $map['map_user_id'] )->member_id}}
			{lang="messenger_deleted_member"}<br>
		{{else}}
			<a href='#' id='elMessage{$conversation->id}_user{$map['map_user_id']}' class="cMessage_name" data-role='userActions' data-username='{member="name" id="$map['map_user_id']"}' data-ipsMenu><strong>{member="name" id="$map['map_user_id']"} <i class='fa fa-caret-down'></i></strong></a><br>
		{{endif}}
		<span class='ipsType_light ipsType_small' data-role='userReadInfo'>
			{{if $map['map_user_banned']}}
				<span class="ipsType_warning"><i class="fa fa-ban"></i> {lang="messenger_map_removed"}</span>
			{{elseif !$map['map_user_active']}}
				{{if $map['map_left_time']}}{lang="messenger_map_left"}{datetime="$map['map_left_time']"}{{else}}{lang="messenger_map_left_notime"}{{endif}}
			{{elseif \IPS\Member::load( $map['map_user_id'] )->members_disable_pm == 2}}
				<span title='{lang="messenger_map_disabled_desc" sprintf="\IPS\Member::load( $map['map_user_id'] )->name"}' data-ipsTooltip>{lang="messenger_map_disabled"}</span>
			{{else}}
				{{if $map['map_read_time']}}{lang="messenger_map_read"}{datetime="$map['map_read_time']"}{{else}}{lang="messenger_map_not_read"}{{endif}}
			{{endif}}
		</span>
	</div>
	{{if $map['map_user_id'] != \IPS\Member::loggedIn()->member_id and \IPS\Member::load( $map['map_user_id'] )->member_id}}
		<ul id='elMessage{$conversation->id}_user{$map['map_user_id']}_menu' class='ipsMenu ipsMenu_auto ipsHide'>
			{{if $conversation->starter_id == \IPS\Member::loggedIn()->member_id and ( $map['map_user_active'] or $map['map_user_banned'] )}}
				{{if $map['map_user_banned']}}
					<li class='ipsMenu_item' data-ipsMenuValue='unblock'><a href='{$conversation->url('addParticipant')->csrf()->setQueryString( 'member', $map['map_user_id'] )}'>{lang="messenger_map_unremove"}</a></li>
				{{else}}
					<li class='ipsMenu_item' data-ipsMenuValue='block'><a href='{$conversation->url('blockParticipant')->csrf()->setQueryString( 'member', $map['map_user_id'] )}'>{lang="messenger_map_remove"}</a></li>
				{{endif}}
				<li class='ipsMenu_sep'><hr></li>
			{{endif}}
			<li class='ipsMenu_item' data-ipsMenuValue='msg'><a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$map['map_user_id']}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}'>{lang="messenger_map_message"}</a></li>
		</ul>
	{{endif}}
</li>]]></template>
 <template template_group="messaging" template_name="submitForm" template_data="$title, $form" template_location="front" template_app="core"><![CDATA[
<div class="ipsPageHeader ipsClearfix ipsSpacer_bottom">
	<h1 class="ipsType_pageTitle">{$title}</h1>
</div>
<div class='ipsBox'>{$form|raw}</div>]]></template>
 <template template_group="messaging" template_name="template" template_data="$folder, $folders, $counts, $conversations, $pagination, $conversation, $baseUrl, $baseUrlTemplate, $sortBy, $filter, $alert=NULL" template_location="front" template_app="core"><![CDATA[
{{if $alert = \IPS\core\Alerts\Alert::getAlertCurrentlyFilteringMessages()}}
<div class="ipsMessage ipsMessage_info">
    <div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between'>
        <div>{lang="inbox_filtered_by_alert" sprintf="$alert->title"}</div>
        <div><a href="{url="app=core&module=messaging&controller=messenger&do=removeAlertFilter" seoTemplate="messaging" csrf="true"}" class="ipsButton ipsButton_veryVerySmall ipsButton_overlaid">{lang="inbox_filtered_by_alert_undo"}</a></div>
    </div>
</div>
{{endif}}

<div data-controller='core.front.messages.main, core.front.messages.responsive'>
	<div class='ipsPageHeader ipsBox ipsPadding ipsResponsive_pull ipsClearfix ipsSpacer_bottom' id='elMessageHeader'>
		<div class='ipsGrid ipsGrid_collapsePhone'>
			<h1 class='ipsType_pageTitle ipsGrid_span6'>
				<a href='#elMessageFolders_menu' id='elMessageFolders' data-ipsMenu data-ipsMenu-appendTo="#elMessageHeader" class='ipsType_blendLinks'><span data-role='currentFolder'>{$folders[ $folder ]}</span> &nbsp;<i class='fa fa-caret-down'></i></a>
				&nbsp;&nbsp;<a href='#elFolderSettings_menu' id='elFolderSettings' data-ipsMenu data-ipsMenu-appendTo="#elMessageHeader" class='ipsType_blendLinks'><i class='fa fa-cog'></i></a>
				&nbsp;&nbsp;<a href='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-url='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog-title='{lang="compose_new"}' class='ipsButton ipsButton_important ipsResponsive_hidePhone'>{lang="compose_new"}</a>
				<a href='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-action="composeNew" data-ipsDialog data-ipsDialog-url='{url="app=core&module=messaging&controller=messenger&do=compose" seoTemplate="messenger_compose"}' data-ipsDialog-title='{lang="compose_new"}' class='ipsButton ipsButton_primary ipsButton_verySmall ipsButton_narrow ipsPos_right ipsResponsive_showPhone ipsResponsive_block'>{lang="new"}</a>
				&nbsp;&nbsp;<span data-role="loadingFolderAction" class='ipsType_light ipsType_normal' style='display: none'><i class='icon-spinner2 ipsLoading_tinyIcon'></i> &nbsp;{lang="loading"}</span>
			</h1>
			{template="messengerQuota" app="core" group="members" location="global" params="\IPS\Member::loggedIn(), array_sum( $counts )"}
		</div>

		<ul class='ipsMenu ipsMenu_auto ipsHide' id='elMessageFolders_menu'>
			{{foreach $folders as $id => $name}}
				{{if $id === 'myconvo'}}
					<li class='ipsMenu_item' data-ipsMenuValue='{$id}'><a href='{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}'><span class='ipsMenu_itemCount'>{{if isset( $counts[ $id ] )}}{$counts[ $id ]}{{else}}0{{endif}}</span> <span data-role='folderName'>{$name}</span></a></li>
				{{else}}
					<li class='ipsMenu_item' data-ipsMenuValue='{$id}'><a href='{url="app=core&module=messaging&controller=messenger&folder={$id}" seoTemplate="messaging"}'><span class='ipsMenu_itemCount'>{{if isset( $counts[ $id ] )}}{$counts[ $id ]}{{else}}0{{endif}}</span> <span data-role='folderName'>{$name}</span></a></li>
				{{endif}}
			{{endforeach}}
			<li class='ipsPad_half'><a class='ipsButton ipsButton_fullWidth ipsButton_light ipsButton_small' href="{url="app=core&module=messaging&controller=messenger&do=addFolder" csrf="true"}" data-action="addFolder" id='elAddFolder'>{lang="messenger_add_folder"}</a></li>
		</ul>
		<ul class='ipsMenu ipsMenu_auto ipsHide' id='elFolderSettings_menu'>
			<li class='ipsMenu_title'>{lang="messenger_action_with" sprintf="$folders[ $folder ]"}</li>
			<li class='ipsMenu_item' data-ipsMenuValue='markRead'><a href='{url="app=core&module=messaging&controller=messenger&do=readFolder&folder={$folder}" csrf="true"}'>{lang="messenger_action_read"}</a></li>
			<li class='ipsMenu_item {{if $folder == 'myconvo'}}ipsMenu_itemDisabled ipsHide{{endif}}' data-ipsMenuValue='rename' id='elFolderRename'><a href='{url="app=core&module=messaging&controller=messenger&do=renameFolder&folder={$folder}" csrf="true"}'>{lang="messenger_action_rename"}</a></li>
			<li class='ipsMenu_item' data-ipsMenuValue='empty'><a href='{url="app=core&module=messaging&controller=messenger&do=emptyFolder&folder={$folder}" csrf="true"}'>{lang="messenger_action_empty"}</a></li>
			<li class='ipsMenu_item {{if $folder == 'myconvo'}}ipsMenu_itemDisabled ipsHide{{endif}}' data-ipsMenuValue='delete'><a href='{url="app=core&module=messaging&controller=messenger&do=deleteFolder&folder={$folder}" csrf="true"}'>{lang="messenger_action_delete_folder"}</a></li>
		</ul>
	</div>

	<div class='ipsColumns ipsColumns_collapseTablet' data-ipsFilterBar data-ipsFilterBar-on='phone,tablet' data-ipsFilterBar-viewDefault='{{if \IPS\Request::i()->id && !isset( \IPS\Request::i()->_list)}}filterContent{{else}}filterBar{{endif}}'>
		<div class='ipsColumn ipsColumn_veryWide' data-role='filterBar'>
			<div class='lg:ipsPos_sticky'>
				<div id='elMessageSidebar' class='ipsBox ipsResponsive_pull' data-controller='core.front.messages.list' data-folderID='{$folder}'
					data-ipsInfScroll
					data-ipsInfScroll-scrollScope='#elMessageList'
					data-ipsInfScroll-container='#elMessageList [data-role="messageList"]'
					data-ipsInfScroll-url='{$baseUrl->setQueryString( array( 'sortBy' => $sortBy, 'filter' => $filter ) )->stripQueryString( 'id' )}'
					data-ipsInfScroll-pageParam='listPage'
				>
					<!--<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="menu_messages"}</h2>-->
					{{if request.q}}
						<p class='ipsMessage ipsMessage_info ipsType_reset'>{lang="messenger_filtering" sprintf="\IPS\Request::i()->q"}</p>
					{{endif}}
					<div class='ipsButtonBar ipsPad_half ipsClearfix' data-role="messageListFilters">
						<ul class='ipsButtonRow ipsClearfix'>
							<li>
								<a class="ipsJS_show" href="#elCheck_menu" id="elCheck" title='{lang="select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elMessageList" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
									<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
									<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
								</a>
								<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_menu">
									<li class="ipsMenu_title">{lang="select_rows"}</li>
									<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
									<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
								</ul>
							</li>
						</ul>
						<ul class='ipsButtonRow ipsPos_right ipsClearfix'>
							<li>
								<a href='#elSortByMenu_menu' id='elSortByMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="sort_by"} <i class='fa fa-caret-down'></i></a>
								<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elSortByMenu_menu'>
									{{foreach array( 'mt_last_post_time', 'mt_start_time', 'mt_replies' ) as $k}}
										<li class='ipsMenu_item {{if $k == \IPS\Request::i()->sortBy or ( !\IPS\Request::i()->sortBy and $k === 'mt_last_post_time')}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$k}'><a href='{$baseUrl->setQueryString( array( 'sortBy' => $k, 'filter' => $filter ) )}'>{lang="$k"}</a></li>
									{{endforeach}}
								</ul>
							</li>
							<li>
								<a href='#elFilterMenu_menu' id='elFilterMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="filter_by"} <i class='fa fa-caret-down'></i></a>
								<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterMenu_menu'>
									<li class='ipsMenu_item {{if !\IPS\Request::i()->filter}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='all'><a href='{$baseUrl->setQueryString( array( 'sortBy' => $sortBy ) )}'>{lang="messenger_filter_all"}</a></li>
									{{foreach array( 'mine', 'not_mine', 'read', 'not_read' ) as $k}}
										<li class='ipsMenu_item {{if $k === \IPS\Request::i()->filter or ( !\IPS\Request::i()->filter and $k === 'all' )}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$k}'><a href='{$baseUrl->setQueryString( array( 'sortBy' => $sortBy, 'filter' => $k ) )}'>{lang="messenger_filter_{$k}"}</a></li>
									{{endforeach}}
								</ul>
							</li>
						</ul>
					</div>
					
					{{if \IPS\Member::loggedIn()->members_disable_pm}}
					<div class='ipsPadding:half'>
						<div class="ipsMessage ipsMessage_warning">
							<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between'>
								<div>{lang="inbox_disabled"}</div>
								<div><a href="{url="app=core&module=messaging&controller=messenger&do=enableMessenger" seoTemplate="messaging" csrf="true"}" data-ipsToolTip title="{lang="inbox_disabled_tooltip"}" class="ipsButton ipsButton_veryVerySmall ipsButton_overlaid">{lang="inbox_enable"}</a></div>
							</div>
						</div>
					</div>
					{{endif}}
					
					<div id='elMessageList' class='ipsClear ipsScrollbar'>
						<form action="{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging" csrf="true"}" method="post" data-role='moderationTools' data-ipsPageAction>
							<ol class='ipsDataList' data-role='messageList' data-ipsKeyNav data-ipsKeyNav-observe='return'>
								{template="messageListRows" app="core" group="messaging" params="$conversations, NULL, TRUE, $folders"}
							</ol>
							<noscript><div class="ipsPad">{$pagination|raw}</div></noscript>
							<div class="ipsAreaBackground ipsPad ipsClearfix ipsJS_hide" data-role="pageActionOptions">
								<div class="ipsPos_right">
									<select name="modaction" data-role="moderationAction">
										<option value='delete' data-icon='trash'>{lang="messenger_leave"}</option>
										<option value='move' data-icon='arrow-right'>{lang="messenger_move"}</option>
									</select>
									<button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
								</div>
							</div>
						</form>
					</div>
					<div class='ipsResponsive_showPhone ipsResponsive_block ipsAreaBackground_light ipsPad' data-role='messageListPagination'>
						{$pagination|raw}
					</div>
					<div class='ipsAreaBackground_light ipsBorder_top ipsPadding' id='elMessageSearch'>
						<form accept-charset='utf-8' method='post' action="{url="app=core&module=messaging&controller=messenger" seoTemplate="messaging"}" data-role='messageSearch' id='elMessageSearchForm'>
							<a href='#' data-action='messageSearchCancel' class='ipsHide'><i class='fa fa-times'></i></a>
							<a href='#elSearchTypes_menu' id='elSearchTypes' data-ipsMenu data-ipsMenu-selectable='checkbox' data-ipsMenu-appendTo='#elMessageSearchForm' data-ipsMenu-closeOnClick='false' class="ipsButton ipsButton_small ipsButton_light ipsPos_right">
								<i class='fa fa-cog'></i>
							</a>
							<input type='text' data-role='messageSearchText' class='ipsField_fullWidth' name='q' placeholder='{lang="messenger_search"}' value="{request="q"}">
							<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' id='elSearchTypes_menu'>
								<li class='ipsMenu_title'>{lang="messenger_search_menu_title"}</li>
								<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='post'><a href='#'><input type="checkbox" name="search[post]" checked value="1" id="search_post"> {lang="messenger_search_in_post"}</a></li>
								<li class='ipsMenu_item ipsMenu_itemChecked' data-ipsMenuValue='topic'><a href='#'><input type="checkbox" name="search[topic]" checked value="1" id="search_topic"> {lang="messenger_search_in_topic"}</a></li>
								<li class='ipsMenu_item {{if ! empty(request.search['recipient'])}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='recipient'><a href='#'><input type="checkbox" name="search[recipient]" {{if ! empty(request.search['recipient'])}}checked="checked"{{endif}} recipientvalue="1" id="search_recipient"> {lang="messenger_recipient_name"}</a></li>
								<li class='ipsMenu_item {{if ! empty(request.search['sender'])}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='sender'><a href='#'><input type="checkbox" name="search[sender]" {{if ! empty(request.search['sender'])}}checked="checked"{{endif}} value="1" id="search_sender"> {lang="messenger_sender_name"}</a></li>
							</ul>
						</form>
					</div>
				</div>
				
				{{if \IPS\Member::loggedIn()->members_disable_pm == 0}}
				<p class='ipsBox_alt ipsType_right ipsType_medium ipsType_light ipsType_blendLinks'>
					<a href='{url="app=core&module=messaging&controller=messenger&do=disableMessenger" seoTemplate="messaging" csrf="true"}' data-confirm data-confirmSubMessage="{lang="disable_messenger_desc"}">{lang="disable_messenger"}</a>
				</p>
				{{endif}}
				
			</div>
		</div>
		<div class='ipsColumn ipsColumn_fluid' data-role='filterContent'>
			<div id='elMessageViewer' class='ipsResponsive_pull' data-controller='core.front.messages.view' {{if $conversation !== NULL}}data-current-id="{$conversation->id}"{{endif}}>
				{{if $conversation === NULL}}
					{template="nomessage" group="messaging"}
				{{else}}
					{template="conversation" group="messaging" params="$conversation, $folders, $alert"}
				{{endif}}
			</div>
		</div>
	</div>

	{{if \IPS\Member::loggedIn()->group['g_max_messages'] > 0}}
		<div class='ipsResponsive_showPhone ipsResponsive_block'>
			<div class='ipsType_center' data-role="quotaTooltip">
				<span class="ipsAttachment_progress"><span data-role='quotaWidth' style='width: {expression="min( 100, 100 / \IPS\Member::loggedIn()->group['g_max_messages'] * array_sum( $counts ) )"}%'></span></span><br>
				<span class='ipsType_light ipsResponsive_showPhone ipsResponsive_inline'>{lang="messenger_quota_short" sprintf="100 / \IPS\Member::loggedIn()->group['g_max_messages'] * array_sum( $counts )"}</span>
			</div>
		</div>
	{{endif}}

	<div id='elFolderRename_content' style='display: none' data-controller="core.front.messages.folderDialog" data-type='rename'>
		<form action='#' method='get'>
			<div class='ipsPad'>
				<input type='text' class='ipsField_primary ipsField_fullWidth' data-role="folderName">
			</div>
			<div class='ipsBorder_top ipsPadding ipsType_right'>
				<button type='submit' class='ipsButton ipsButton_primary' data-action='saveFolderName'>{lang="save"}</button>
			</div>
		</form>
	</div>

	<div id='elAddFolder_content' style='display: none' data-controller="core.front.messages.folderDialog" data-type='add'>
		<form action='#' method='get'>
			<div class='ipsPad'>
				<input type='text' class='ipsField_primary ipsField_fullWidth' data-role="folderName" placeholder="{lang="messenger_add_folder_name"}">
			</div>
			<div class='ipsBorder_top ipsPadding ipsType_right'>
				<button type='submit' class='ipsButton ipsButton_primary' data-action='saveFolderName'>{lang="messenger_add_folder"}</button>
			</div>
		</form>
	</div>
</div>
]]></template>
 <template template_group="modcp" template_name="alertRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	<li class="ipsDataItem sm:ipsPadding {{if ! $row->enabled}}ipsFaded ipsFaded_withHover{{endif}} ipsDataItem_unread {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if !$row->enabled}}ipsModerated{{endif}} cModCPAlertRow">
		<div class='ipsDataItem_icon ipsPos_top ipsResponsive_hidePhone'>
			{template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
		</div>
		<div class='ipsDataItem_main'>
			<h4 class='ipsDataItem_title ipsContained_container'>
				<span class='ipsType_break ipsContained'>
                    {$row->mapped('title')}
                </span>
                <span class="ipsPadding_horizontal:half">
                {{if $row->anonymous}}
                   <span class='ipsBadge ipsBadge_new ipsBadge_icon ipsBadge_medium'><i class="fa fa-eye" data-ipstooltip="" _title="{lang="alert_anon"}"></i></span>
                {{else}}
                    {{if $row->reply == 1}}
                        <span class='ipsBadge ipsBadge_new ipsBadge_icon ipsBadge_medium'><i class="fa fa-envelope-o" data-ipstooltip="" _title="{lang="alert_can_reply"}"></i></span>
                    {{endif}}
                    {{if $row->reply == 2}}
                         <span class='ipsBadge ipsBadge_new ipsBadge_icon ipsBadge_medium'><i class="fa fa-envelope" data-ipstooltip="" _title="{lang="alert_must_reply"}"></i></span>
                    {{endif}}
                {{endif}}
                {{if $row->recipient_type == 'user'}}
                   <span class='ipsBadge ipsBadge_new ipsBadge_icon ipsBadge_medium'><i class="fa fa-user" data-ipstooltip="" _title="{lang="alert_tooltip_member" sprintf="$row->memberName()"}"></i></span>
                {{else}}
                    {{$names = \IPS\Member::loggedIn()->language()->formatList( $row->groupNames() );}}
                    <span class='ipsBadge ipsBadge_new ipsBadge_icon ipsBadge_medium'><i class="fa fa-users" data-ipstooltip="" _title="{lang="alert_tooltip_groups" htmlsprintf="$names"}"></i></span>
                {{endif}}
                {{if $row->enabled}}
					<span class='ipsBadge ipsBadge_new'>{lang="active"}</span>
				{{else}}
					<span class='ipsBadge ipsBadge_style5'>{lang="inactive"}</span>
				{{endif}}
                {{if ! $row->viewed}}
                    <span class='ipsBadge ipsBadge_style3 ipsBadge_medium'>{lang="alert_not_viewed"}</span>
                {{else}}
                    <span class='ipsBadge ipsBadge_positive ipsBadge_medium'>{lang="alert_viewed_times" sprintf="$row->viewed" pluralize="$row->viewed"}</span>
                {{endif}}
                {{if $row->author()->member_id === member.member_id AND $row->reply > 0 and ( $count = $row->membersRepliedCount() )}}
                    <span class='ipsBadge ipsBadge_positive ipsBadge_medium'><a href="{url="app=core&module=system&controller=alerts&do=viewReplies&id={$row->id}" seoTemplate="alert" csrf="true"}">{lang="alert_users_have_replied" sprintf="$count" pluralize="$count"}</a></span>
                {{endif}}
                </span>
			</h4>
			<p class='ipsType_reset ipsType_light'>{lang="byline" sprintf="$row->author()->name"}{datetime="$row->start" dateonly="true"}{{if $row->end}} - {datetime="$row->end" dateonly="true"}{{endif}}</p>
			<div class='ipsDataItem_meta ipsType_break ipsMargin_top:half'>
				{{$truncateAttributes = array('data-ipsTruncate', 'data-ipsTruncate-size="4 lines"', 'data-ipsTruncate-type="hide"');}}
				{template="richText" group="global" app="core" location="global" params="$row->content(), array('ipsType_medium'), array(), $truncateAttributes"}
			</div>
		</div>
		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck ipsType_noBreak ipsPos_center'>
				<a href='#elAlert{$row->id}_menu' id='elAlert{$row->id}' class='ipsType_large ipsPos_middle ipsType_blendLinks ipsPadding_horizontal:half' data-ipsMenu>
					<i class='fa fa-cog'></i> <i class='fa fa-caret-down'></i>
				</a>
				<input type='checkbox' data-role='moderation' name="moderate[{$row->id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{$row->tableStates()}'>

				<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide' id='elAlert{$row->id}_menu'>
                    <li class='ipsMenu_item'>
                        <a href='{$row->url('status')->csrf()}' title='{lang="announce_toggle"}'>
                        <span data-role="ipsMenu_selectedText">{{if $row->enabled}}{lang="announce_mark_inactive"}{{else}}{lang="announce_mark_active"}{{endif}}</span>
                        </a>
                    </li>
					<li class='ipsMenu_item'>
						<a href='{$row->url('create')}' title='{lang="edit_alert"}' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-destructOnClose='true' data-ipsDialog-title='{lang="edit_alert"}'>
							<span data-role="ipsMenu_selectedText">{lang="edit"}</span>
						</a>
					</li>
                    <li class='ipsMenu_item'>
                        <a href='{$row->url('changeAuthor')}' title='{lang="edit_alert_author"}' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-destructOnClose='true' data-ipsDialog-title='{lang="edit_alert_author"}'>
                        <span data-role="ipsMenu_selectedText">{lang="alert_change_author"}</span>
                        </a>
                    </li>
					<li class='ipsMenu_sep'></li>
					<li class='ipsMenu_item'>
						<a href='{$row->url('delete')->csrf()}' data-confirm title='{lang="alert_delete"}'>
							{lang="delete"}
						</a>
					</li>
				</ul>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="modcp" template_name="alerts" template_data="$table" template_location="front" template_app="core"><![CDATA[<div class=''>
	<a href='{url="app=core&module=modcp&tab=alerts&action=create" seoTemplate="modcp_alerts"}' id='elAdd_Alert' class='ipsButton ipsButton_primary ipsPos_right' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-title='{lang="add_alert"}'><i class='fa fa-add'></i>&nbsp;<span class='ipsResponsive_inline'>{lang="add_alert"}</span></a>
	<br><br><br>
	<div class='ipsClear ipsBox'>
		{$table|raw}
	</div>
</div>]]></template>
 <template template_group="modcp" template_name="announcementGroupCheck" template_data="$groups" template_location="front" template_app="core"><![CDATA[
<div class="ipsMessage ipsMessage_warning" id="elAnnouncementGroupWarning">
	<div>{lang="announce_not_all_view_desc" list="$groups"}</div>
</div>]]></template>
 <template template_group="modcp" template_name="announcementRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	<li class="ipsDataItem sm:ipsPadding {{if $row->active !== 1}}ipsFaded ipsFaded_withHover{{endif}} ipsDataItem_unread {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if !$row->active}}ipsModerated{{endif}} cModCPAnnouncementRow">
		<div class='ipsDataItem_icon ipsPos_top ipsResponsive_hidePhone'>
			{template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
		</div>
		<div class='ipsDataItem_main'>
			<h4 class='ipsDataItem_title ipsContained_container'>
				<span class='ipsType_break ipsContained'>
					<a href='{$row->url()}' title='{lang="view_announcement"}'>
						{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
					</a>
					&nbsp;&nbsp;
					{{if $row->active}}
						<span class='ipsBadge ipsBadge_new'>{lang="active"}</span>
					{{else}}
						<span class='ipsBadge ipsBadge_style5'>{lang="inactive"}</span>
					{{endif}}
				</span>
			</h4>
			<p class='ipsType_reset ipsType_light'>{lang="byline" sprintf="$row->author()->name"}{datetime="$row->__get( $row::$databaseColumnMap['date'] )" dateonly="true"}</p>
			<div class='ipsDataItem_meta ipsType_break ipsMargin_top:half'>
				{{$truncateAttributes = array('data-ipsTruncate', 'data-ipsTruncate-size="4 lines"', 'data-ipsTruncate-type="hide"');}}
				{template="richText" group="global" app="core" location="global" params="$row->content(), array('ipsType_medium'), array(), $truncateAttributes"}
			</div>
		</div>
		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck ipsType_noBreak ipsPos_center'>
				<a href='#elAnnouncement{$row->id}_menu' id='elAnnouncement{$row->id}' class='ipsType_large ipsPos_middle ipsType_blendLinks ipsPadding_horizontal:half' data-ipsMenu>
					<i class='fa fa-cog'></i> <i class='fa fa-caret-down'></i>
				</a>
				<input type='checkbox' data-role='moderation' name="moderate[{$row->id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{$row->tableStates()}'>

				<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide' id='elAnnouncement{$row->id}_menu'>
					<li class='ipsMenu_item'>
						<a href='{$row->url('status')->csrf()}' title='{lang="announce_toggle"}'>
							<span data-role="ipsMenu_selectedText">{{if $row->active}}{lang="announce_mark_inactive"}{{else}}{lang="announce_mark_active"}{{endif}}</span>
						</a>
					</li>
					<li class='ipsMenu_item'>
						<a href='{$row->url('create')}' title='{lang="edit_announcement"}' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-destructOnClose='true' data-ipsDialog-title='{lang="edit_announcement"}'>
							<span data-role="ipsMenu_selectedText">{lang="edit"}</span>
						</a>
					</li>
					<li class='ipsMenu_sep'></li>
					<li class='ipsMenu_item'>
						<a href='{$row->url('delete')->csrf()}' data-confirm title='{lang="announce_delete"}'>
							{lang="delete"}
						</a>
					</li>
				</ul>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="modcp" template_name="announcements" template_data="$table" template_location="front" template_app="core"><![CDATA[<div class=''>
	<a href='{url="app=core&module=modcp&tab=announcements&action=create" seoTemplate="modcp_announcements"}' id='elAdd_Announcement' class='ipsButton ipsButton_primary ipsPos_right' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-title='{lang="add_announcement"}'><i class='fa fa-add'></i>&nbsp;<span class='ipsResponsive_inline'>{lang="add_announcement"}</span></a>
	<br><br><br>
	<div class='ipsClear ipsBox'>
		{$table|raw}
	</div>
</div>]]></template>
 <template template_group="modcp" template_name="approvalQueue" template_data="$output" template_location="front" template_app="core"><![CDATA[<div data-controller="core.front.modcp.approveQueue" data-url="{url="app=core&module=modcp&controller=modcp&tab=approval" seoTemplate="modcp_approval"}">
	{$output|raw}
</div>]]></template>
 <template template_group="modcp" template_name="approvalQueueEmpty" template_data="" template_location="front" template_app="core"><![CDATA[<div class="ipsType_center ipsType_large ipsEmpty">
	<i class="fa fa-check"></i>
	<br>
	{lang="approval_queue_empty"}
</div>]]></template>
 <template template_group="modcp" template_name="approvalQueueHeader" template_data="$item, $approveUrl, $skipUrl, $deleteUrl, $hideUrl" template_location="front" template_app="core"><![CDATA[<div class="ipsBox ipsPad ipsClearfix ipsClear lg:ipsPos_sticky">
	<ul class="ipsToolList ipsToolList_horizontal ipsClearfix" id="elApprovalToolbar">
		<li>
			{{if $approveUrl}}
				<a href="{$approveUrl}" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light" data-action="approvalQueueNext">
					<i class="fa fa-check"></i> {lang="approve"}
				</a>
			{{else}}
				<a href="#" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light ipsButton_disabled" data-action="approvalQueueNext">
					<i class="fa fa-check"></i> {lang="approve"}
				</a>
			{{endif}}
		</li>
		{{if $hideUrl !== FALSE}}
			<li>
				{{if $hideUrl}}
					<a href="{$hideUrl}" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light" data-action="approvalQueueNext">
						<i class="fa fa-low-vision"></i> {lang="hide"}
					</a>
				{{else}}
					<a href="#" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light ipsButton_disabled" data-action="approvalQueueNext">
						<i class="fa fa-low-vision"></i> {lang="hide"}
					</a>
				{{endif}}
			</li>
		{{endif}}
		<li>
			{{if $deleteUrl}}
				<a href="{$deleteUrl}" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light" data-action="approvalQueueNext" data-type="delete">
					<i class="fa fa-times"></i> {lang="delete"}
				</a>
			{{else}}
				<a href="#" class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_light ipsButton_disabled" data-action="approvalQueueNext" data-type="delete">
					<i class="fa fa-times"></i> {lang="delete"}
				</a>
			{{endif}}
		</li>
		<li>
			<a href="{$skipUrl}" class="ipsButton ipsButton_medium ipsButton_link ipsType_center ipsButton_fullWidth" data-action="approvalQueueNext">
				{lang="skip_this_item"}
			</a>
		</li>			
	</ul>
</div>
<br>]]></template>
 <template template_group="modcp" template_name="approvalQueueItem" template_data="$item, $ref, $container, $title" template_location="front" template_app="core"><![CDATA[<div id="elApprovePanel">
	<div class='ipsBox'>
		<article class="ipsClearfix ipsClear">
			<div class='ipsAreaBackground_light ipsBorder_bottom ipsPadding'>
				<p class="ipsType_reset ipsPos_right">
					<a href='{$item->url()}' class='ipsType_normal ipsType_light'>
						<i class='fa fa-{$item::$icon}'></i> {lang="$item::$title"}
					</a>
				</p>
				<div class="ipsPhotoPanel ipsPhotoPanel_small ipsClearfix"> 
					{template="userPhoto" group="global" params="$item->author()"}
					<div>
                        {{if $item->author()->member_id}}
						<a href="#user{$item->author()->member_id}_menu" id="user{$item->author()->member_id}" class="ipsType_sectionHead" data-ipsmenu="">{$item->author()->name} &nbsp;<i class="fa fa-caret-down"></i></a>
						<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="user{$item->author()->member_id}_menu">
							{{if \IPS\Member::loggedIn()->modPermission('mod_can_warn')}}
								<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=warnings&do=warn&id={$item->author()->member_id}&ref={$ref}" seoTemplate="warn_add" seoTitle="$item->author()->members_seo_name"}' data-ipsDialog data-ipsDialog-title="{lang="warn_member" sprintf="$item->author()->name"}" data-ipsDialog-remoteSubmit data-ipsDialog-destructOnClose data-ipsDialog-flashMessage="{lang="warning_issued"}" data-role="warnUserDialog">{lang="warn_user"}</a></li>
							{{endif}}
							{{if $item->author()->member_id != \IPS\Member::loggedIn()->member_id AND \IPS\member::loggedIn()->modPermission('can_flag_as_spammer')}}
								{{if $item->author()->members_bitoptions['bw_is_spammer']}}
									<li class='ipsMenu_item' data-ipsMenuValue='spamFlagButton'><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$item->author()->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$item->author()->members_seo_name" csrf="true"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a></li>
								{{else}}
									<li class='ipsMenu_item' data-ipsMenuValue='spamFlagButton'><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$item->author()->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$item->author()->members_seo_name" csrf="true"}' data-confirm>{lang="spam_flag"}</a></li>
								{{endif}}
							{{endif}}
							<li class="ipsMenu_item"><a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$item->author()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}">{lang="message_send"}</a></li>
						</ul>
                        {{else}}
                        <div class="ipsType_sectionHead">{$item->author()->name}</div>
                        {{endif}}
						{{if $container}}
							<p class='ipsType_reset'>{lang="posted_in_container"} <a href="{$container->url()}">{$container->_title}</a></p>
						{{endif}}
						<p class="ipsType_light ipsType_reset">{lang="date_replied" htmlsprintf="\IPS\DateTime::ts( $item->mapped('date') )->html(FALSE)"}</p>
					</div>
				</div>
			</div>
			<div class=''>
				<h2 class="ipsType_sectionTitle ipsType_blendLinks"><a href="{$item->url()}">{$title}</a></h2>
				<div class="ipsType_richText ipsPost ipsType_normal ipsPadding" data-controller='core.front.core.lightboxedImages'>
					{$item->content()|raw}
				</div>
			</div>
		</article>
	</div>
	{{if $reason = $item->approvalQueueReason()}}
	<br>
	<div class='ipsType_sectionTitle'>{lang="reason_for_approval"}</div>
	<div class='ipsAreaBackground_light ipsBorder_bottom ipsPadding:half'>
		<p class='ipsType_light'>{$reason}</p>
	</div>
	{{endif}}
</div>]]></template>
 <template template_group="modcp" template_name="approvalQueueSplash" template_data="$skipNextTime" template_location="front" template_app="core"><![CDATA[<div class="ipsBox ipsPadding:double">
	<div class="ipsType_center ipsType_large ipsPos_center">
		<div id='elModCPApprovalSplash'>
			{lang="approval_queue_splash"}
		</div>
		<br><br>
		<form action="{url="app=core&module=modcp&controller=modcp&tab=approval&go=1" seoTemplate="modcp_approval"}" method="post">
			<button type="submit" class="ipsButton ipsButton_large ipsButton_primary">{lang="approval_queue_start"}</button><br><br>
			<span class="ipsType_normal ipsType_light">
				<span class='ipsCustomInput'>
					<input name="skipnext" value='1' type="checkbox" {{if $skipNextTime}}checked{{endif}}>
					<span></span>
				</span> &nbsp;{lang="approval_queue_skip"}
			</span>
		</form>
	</div>
</div>
]]></template>
 <template template_group="modcp" template_name="commentsList" template_data="$comments, $url, $totalCount, $perPage" template_location="front" template_app="core"><![CDATA[{template="pagination" group="global" app="core" location="global" params="$url, $totalCount, isset( \IPS\Request::i()->page ) ? \intval( \IPS\Request::i()->page ) : 1, $perPage"}
{{if \count( $comments ) }}
	{{foreach $comments as $comment}}
		{$comment->html()|raw}
	{{endforeach}}
{{endif}}
{template="pagination" group="global" app="core" location="global" params="$url, $totalCount, isset( \IPS\Request::i()->page ) ? \intval( \IPS\Request::i()->page ) : 1, $perPage"}]]></template>
 <template template_group="modcp" template_name="deletedContent" template_data="$table" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox'>
	{$table|raw}
</div>]]></template>
 <template template_group="modcp" template_name="deletedRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[
{{if \count( $rows )}}
	{{foreach $rows AS $row}}
		{{$class = $row->content_class;}}
		<li class="ipsDataItem ipsDataItem_withModCheck">
			<div class='ipsDataItem_main'>
				<h3 class='ipsType_sectionHead'><a href='{$row->url()}'>{$row->content_title}</a></h3>
				<div class='ipsType_medium ipsType_reset ipsType_light ipsType_blendLinks'>
					<i class='fa fa-{$class::$icon}'></i> {lang="$class::$title"} &mdash; 
					{{if $row->_deleted_by}}
						{lang="deleted_by_with_date" htmlsprintf="$row->_deleted_by->link(), $row->deleted_date->fullYearLocaleDate(), $row->deletion_date->fullYearLocaleDate()"} 
					{{else}}
						{lang="deleted_without_by_with_date" htmlsprintf="$row->deletion_date->fullYearLocaleDate()"} 
					{{endif}}
				</div>
			</div>
			<div class='ipsDataItem_modCheck'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row->id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state=''>
					<span></span>
				</span>
			</div>
		</li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="modcp" template_name="deletedTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}} data-tableID='deletedcontent'>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			<li>
				<a class="ipsJS_show" href="#elCheck_menu" id="elCheck_{$table->uniqueId}" title='{lang="{$table->langPrefix}select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elTable_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
					<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
					<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
				</a>
				<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_{$table->uniqueId}_menu">
					<li class="ipsMenu_title">{lang="{$table->langPrefix}select_rows"}</li>
					<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
					<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
				</ul>
			</li>
		</ul>
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch )}}
				<li>
					{{if isset($table->sortOptions) }}
					<a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
							{{$custom = TRUE;}}
							{{foreach $table->sortOptions as $k => $col}}
								<li class="ipsMenu_item {{if $col === $table->getSortByColumn()}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{$table->getSortDirection( $k )}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => $table->getSortDirection( $k ) ) )->setPage( 'page', 1 )}">{lang="{$col}"}</a></li>
							{{endforeach}}
						{{if $table->advancedSearch}}
							<li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
								<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
							</li>
						{{endif}}
					</ul>
					{{elseif $table->advancedSearch}}
						<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
					{{endif}}
				</li>
			{{endif}}
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
		</div>
	</div>

	{{if $table->canModerate()}}
		<form action="{$table->baseUrl->csrf()}" method="post" data-role='moderationTools' data-ipsPageAction>
	{{endif}}
		{{if \count( $rows )}}
			<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows" itemscope itemtype="http://schema.org/ItemList">
				{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
			</ol>
		{{else}}
			<div class='ipsType_center ipsPad'>
				<p class='ipsType_large ipsType_light'>{lang="no_rows_in_table"}</p>
			</div>
		{{endif}}

	{{if $table->canModerate()}}
			<div class="ipsAreaBackground ipsPad ipsClearfix ipsJS_hide" data-role="pageActionOptions">
				<div class="ipsPos_right">
					<select name="modaction" data-role="moderationAction">
						{{if $table->canModerate('restore')}}
							<option value='restore' data-icon='undo'>{lang="restore_as_visible"}</option>
						{{endif}}
						{{if $table->canModerate('restore_as_hidden')}}
							<option value='restore_as_hidden' data-icon='low-vision'>{lang="restore_as_hidden"}</option>
						{{endif}}
						{{if $table->canModerate('delete')}}
							<option value='delete' data-icon='trash'>{lang="delete_immediately"}</option>
						{{endif}}
					</select>
					<button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
				</div>
			</div>
		</form>
	{{endif}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="modcp" template_name="hiddenContent" template_data="$content, $tabs, $activeTab" template_location="front" template_app="core"><![CDATA[<div class='ipsLayout_contentSection'>
	<div class='ipsTabs ipsClearfix' id='elmodCPTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elModCPHiddenTabContent'>
		<a href='#elmodCPTabs' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist' class='ipsList_reset'>
			{{foreach $tabs as $key => $tab}}
				<li>
					<a href='{url="app=core&module=modcp&tab=hidden&area=$key"}' id='modcp_{$key}' class='ipsTabs_item {{if $activeTab === $key}}ipsTabs_activeItem{{endif}}' role="tab" aria-selected="{{if $activeTab == $key}}true{{else}}false{{endif}}">
						{lang="$tab"}
					</a>
				</li>
			{{endforeach}}
		</ul>
	</div>
</div>
<section id='elModCPHiddenTabContent' class='ipsPad'>
	<div id="ipsTabs_elmodCPTabs_modcp_{$activeTab}_panel" class="ipsTabs_panel" aria-labelledby="modcp_{$activeTab}" aria-hidden="false">
		{$content|raw}
	</div>
</section>
	]]></template>
 <template template_group="modcp" template_name="ipMemberRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if empty( $rows )}}
	<tr>
		<td colspan="{expression="\count( $headers )"}">
			<div class='ipsPad_double ipsType_light'>
				{lang="no_results"}
			</div>
		</td>
	</tr>
{{else}}
	{{foreach $rows as $r}}
		<tr class='ipsClearfix'>
			{{foreach $r as $k => $v}}
				<td>
					{{if $k === '_buttons'}}
						{template="controlStrip" params="$v" group="global" app="core"}
					{{else}}
						{$v|raw}
					{{endif}}
				</td>
			{{endforeach}}
		</tr>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="modcp" template_name="ipMemberTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl="{$table->baseUrl}" data-resort='{$table->resortKey}' data-controller="core.global.core.table">
	<div class='ipsClearfix'>
		<div data-role="tablePagination" class='{{if $table->pages <= 1}}ipsHide{{endif}} ipsSpacer_bottom'>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	</div>
	<div class="ipsBox ipsClear">
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="ips_used_member" sprintf="$table->extra->name"}</h2>
		<table class='ipsTable ipsTable_responsive ipsTable_zebra {{foreach $table->classes as $class}}{$class} {{endforeach}}' data-role="table" data-ipsKeyNav data-ipsKeyNav-observe='e d return'>
			<thead>
				<tr class='ipsAreaBackground'>
					{{foreach $headers as $k => $header}}
						{{if $header !== '_buttons'}}
							<th>{lang="{$table->langPrefix}{$header}"}</th>
						{{elseif $header === '_buttons'}}
							<th>&nbsp;</th>
						{{endif}}
					{{endforeach}}
				</tr>
			</thead>
			<tbody data-role="tableRows">
				{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
			</tbody>
		</table>
		<br>
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	</div>
</div>]]></template>
 <template template_group="modcp" template_name="iptools" template_data="$form, $members" template_location="front" template_app="core"><![CDATA[<div class='ipsBox ipsPadding:double sm:ipsPadding ipsFieldRow ipsFieldRow_primary' id='elModCPIPTools'>
	{$form|raw}
</div>
<div class='ipsBox ipsPadding:double sm:ipsPadding ipsFieldRow ipsFieldRow_primary' id='elModCPIPMemberTools'>
	{$members|raw}
</div>]]></template>
 <template template_group="modcp" template_name="memberManagementRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	<li class='ipsDataItem ipsGrid_span6 ipsFaded_withHover ipsClearfix' id='elUserRow_{expression="md5( $row['name'] )"}'>
		<p class="ipsType_reset ipsDataItem_icon">
			{$row['photo']|raw}
		</p>		
		<div class='ipsDataItem_main'>
			<h4 class='ipsDataItem_title'><strong>{$row['name']|raw}</strong></h4>			
			<ul class='ipsList_inline ipsType_noBreak ipsList_reset'>
				{{foreach $row['_buttons'] as $button}}
					{{if $button['title'] == 'modcp_view_warnings'}}
						<li><a href='{$button['link']}' title='{lang="$button['title']"}'>{lang="$button['title']"}</a></li>
					{{endif}}
				{{endforeach}}
				<li class="ipsFaded">
					<a href="#elUserMod{$row['member_id']}_menu" id="elUserMod{$row['member_id']}" class="ipsType_large ipsPos_middle ipsType_blendLinks" data-ipsMenu>
						<i class="fa fa-cog"></i> <i class="fa fa-caret-down"></i>
					</a>
				</li>
			</ul>
			<ul class='ipsMenu ipsHide' id='elUserMod{$row['member_id']}_menu'>
				{{foreach $row['_buttons'] as $button}}
					<li class='ipsMenu_item'>
						<a href='{$button['link']}' title='{lang="$button['title']"}'>
							{lang="$button['title']"}
						</a>
					</li>
				{{endforeach}}
			</ul>
		</div>
	</li>
{{endforeach}}
]]></template>
 <template template_group="modcp" template_name="members" template_data="$content, $tabs, $activeTab, $form" template_location="front" template_app="core"><![CDATA[<div class='ipsBox ipsPadding ipsFieldRow ipsFieldRow_primary ipsBox' id='elModCPMemberSearch'>
	{$form|raw}
</div>
<div class='ipsBox'>
	<div class='ipsTabs ipsClearfix' id='elmodCPTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elModCPMemberTabContent'>
		<a href='#elmodCPTabs' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist' class='ipsList_reset'>
			{{foreach $tabs as $key => $tab}}
				<li>
					<a href='{url="app=core&module=modcp&tab=members&area=$key" seoTemplate="modcp_members"}' id='modcp_{$key}' class='ipsTabs_item {{if $activeTab === $key}}ipsTabs_activeItem{{endif}}' role="tab" aria-selected="{{if $activeTab == $tab}}true{{else}}false{{endif}}">
						{lang="modcp_members_{$key}"}
					</a>
				</li>
			{{endforeach}}
		</ul>
	</div>
	<section id='elModCPMemberTabContent' class='ipsPad'>
		<div id="ipsTabs_elmodCPTabs_modcp_{$activeTab}_panel" class="ipsTabs_panel" aria-labelledby="modcp_{$activeTab}" aria-hidden="false">
			{$content|raw}
		</div>
	</section>
</div>]]></template>
 <template template_group="modcp" template_name="recentWarningsRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if empty( $rows )}}
	<tr>
		<td colspan="4">
			<div class='ipsPad_double ipsType_light'>
				{lang="no_results"}
			</div>
		</td>
	</tr>
{{else}}
	{{foreach $rows as $warning}}
		<li class='ipsDataItem'>
			<div class='ipsDataItem_icon ipsPos_top'>
				{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $warning->member ), 'tiny'"}
			</div>
			<div class='ipsDataItem_main'>
				<h3 class='ipsType_sectionHead'>
					<a href="{$warning->url()}" data-ipsDialog data-ipsDialog-size='narrow' class="ipsPos_left ipsType_blendLinks" data-ipsTooltip title='{lang="wan_action_points" pluralize="$warning->points"}'>
						<span class="ipsPoints ipsPoints_small">{$warning->points}</span> {lang="core_warn_reason_{$warning->reason}"}
					</a>
				</h3>
				<p class='ipsType_medium ipsType_reset'><strong>{lang="user_warned_by" htmlsprintf="\IPS\Member::load( $warning->member )->link(), \IPS\Member::load( $warning->moderator )->link()"}</strong> &nbsp;&nbsp;<span class='ipsType_light ipsType_noBreak'>{datetime="$warning->date"}</span></p>

				{{if \IPS\Settings::i()->warnings_acknowledge}}
					<span class='ipsType_medium ipsType_noBreak'>
						{{if $warning->acknowledged}}
							<strong class='ipsType_success'><i class='fa fa-check-circle'></i> {lang="warning_acknowledged"}</strong>
						{{else}}
							<span class='ipsType_light'>{lang="warning_not_acknowledged"}</span>
						{{endif}}
					</span>
				{{endif}}
				{{if $warning->note_mods}}
					<div class='ipsSpacer_top ipsType_richText ipsType_medium ipsContained ipsType_break' data-ipsTruncate data-ipsTruncate-size="4 lines" data-ipsTruncate-type="remove">
						{expression="\IPS\Text\Parser::truncate( $warning->note_mods )" raw="true"}
					</div>
				{{endif}}
			</div>
		</li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="modcp" template_name="recentWarningsTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="modcp_recent_warnings"}</h2>
	{{if $table->pages > 1}}
		<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	{{endif}}

	<ul class='ipsDataList ipsDataList_large'>
		{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
	</ul>

	{{if $table->pages > 1}}
		<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="modcp" template_name="report" template_data="$report,$comment,$item,$ref,$prevReport,$prevItem,$nextReport,$nextItem,$delLog=NULL" template_location="front" template_app="core"><![CDATA[{{if $comment}}
	{{$idField = $comment::$databaseColumnId;}}
	{{$quoteData = json_encode( array( 'userid' => $comment->author()->member_id, 'username' => $comment->author()->name, 'timestamp' => $comment->mapped('date'), 'contentapp' => $item::$application, 'contenttype' => $item::$module, 'contentclass' => str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) ) ) );}}
{{else}}
	{{if $item}}
		{{$class = \get_class( $item );}}
		{{$quoteData = json_encode( array( 'userid' => $item->author()->member_id, 'username' => $item->author()->name, 'timestamp' => $item->mapped('date'), 'contentapp' => $item::$application, 'contenttype' => $item::$module, 'contentclass' => str_replace( '\\', '_', mb_substr( \get_class( $item ), 4 ) ) ) );}}
	{{else}}
		{{$quoteData = json_encode( array() );}}
	{{endif}}
{{endif}}
{{$pointCount = $report->getReportTypeCounts( true );}}
{{$filterByType = isset( \IPS\Request::i()->report_type ) ? \IPS\Request::i()->report_type : NULL;}}
<div class='ipsBox ipsPadding'>
	<article class='ipsColumns ipsColumns_collapseTablet ipsClear ipsClearfix' data-controller="core.front.modcp.report">
		<div class='ipsColumn ipsColumn_fluid' data-controller='core.front.core.comment' data-quoteData='{$quoteData}'>
			{{if $comment AND !( $item::$firstCommentRequired and $comment->isFirst() )}}
				{{if $comment->hidden() === -2}}
					<div class="ipsType_center ipsType_large ipsEmpty">
						<i class='fa fa-trash-o'></i>
						<br>
						{{if $delLog}}
							{lang="content_delete_pending" sprintf="$delLog->deletion_date"}
						{{else}}
							{lang="content_deleted"}
						{{endif}}
							</div>
						{{if $delLog}}
							<hr class='ipsHr'>
							<div class="ipsClearfix" id='elReportComment'>
								<div class='ipsPost' data-role='commentContent'>
									<div data-ipsTruncate data-ipsTruncate-type="hide" data-ipsTruncate-size="50 lines">
										<div class='ipsType_richText ipsType_normal ipsContained' data-controller='core.front.core.lightboxedImages'>
											{$comment->content()|raw}
										</div>
									</div>
									<hr class='ipsHr'>
									<ul class='ipsList_inline' data-role="commentControls">
										{{if \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}}
											<li><a href='{$comment->url('restore')->csrf()->setQueryString( '_report', $report->id )}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li>
											<li><a href='{$comment->url('restore')->csrf()->setQueryString( array( 'restoreAsHidden' => 1, '_report' => $report->id ) )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li>
											<li><a href='{$comment->url('delete')->csrf()->setQueryString( array( 'immediate' => 1, '_report' => $report->id ) )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li>
										{{endif}}
									</ul>
								</div>
							</div>
						{{endif}}
				{{else}}
					<div class="ipsClearfix" id='elReportComment'>
						<h2 class="ipsType_pageTitle">
							<a href='{$report->url()->setQueryString( array( 'action' => 'find', 'parent' => 1 ) )}' class='ipsType_blendLinks'>{$comment->item()->mapped('title')}</a>
						</h2>
						<a href='{$report->url()->setQueryString( array( 'action' => 'find' ) )}' class='ipsType_normal ipsType_light'>
							{$report->tableDescription()|raw}
						</a>
						{{if $pointCount}}<span class="ipsBadge ipsBadge_positive">{lang="automoderation_report_points_flag" pluralize="$pointCount"}</span>{{endif}}
						<br><br>
						<div class='ipsPost' data-role='commentContent'>
							<div data-ipsTruncate data-ipsTruncate-type="hide" data-ipsTruncate-size="50 lines">
								<div class='ipsType_richText ipsType_normal ipsContained' data-controller='core.front.core.lightboxedImages'>
									{$comment->content()|raw}
								</div>
							</div>
						</div>
						<hr class='ipsHr'>
						<ul class='ipsList_inline' data-role="commentControls">
							{{if $comment->canEdit( \IPS\Member::loggedIn() )}}
								<li><a href='{$comment->url('edit')}&_report={$report->id}' data-action='editComment'>{lang="edit"}</a></li>
							{{endif}}
							{{if $comment->canHide( \IPS\Member::loggedIn() )}}
								<li><a href='{{if $comment::$hideLogKey}}{$comment->url('hide')}{{else}}{$comment->url('hide')->csrf()}{{endif}}&_report={$report->id}' data-action='hideComment' {{if isset( $comment::$databaseColumnMap['edit_reason'] )}}data-ipsDialog data-ipsDialog-title="{lang="hide"}"{{endif}}>{lang="hide"}</a></li>
							{{endif}}
							{{if $comment->canDelete( \IPS\Member::loggedIn() )}}
								<li><a href='{$comment->url('delete')->csrf()->setPage('page',\IPS\Request::i()->page)}&_report={$report->id}' {{if !\IPS\Settings::i()->dellog_retention_period}}data-action='deleteComment' data-showOnDelete="#elReportCommentDeleted" data-hideOnDelete="#elReportComment"{{else}}data-confirm{{endif}}>{lang="delete"}</a></li>
							{{endif}}
							{{if $comment->item()->canDelete( \IPS\Member::loggedIn() )}}
								<li><a href='{$item->url('moderate')->setQueryString( 'action', 'delete' )->csrf()}&_report={$report->id}' {{if !\IPS\Settings::i()->dellog_retention_period}}data-action='deleteComment' data-showOnDelete="#elReportCommentDeleted" data-hideOnDelete="#elReportComment"{{else}}data-confirm{{endif}}>{lang="delete_thing" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}</a></li>
							{{endif}}
						</ul>
					</div>
				{{endif}}
			{{elseif $item}}
				{{if $item->hidden() === -2}}
					<div class="ipsType_center ipsType_large ipsEmpty">
						<i class='fa fa-trash-o'></i>
						<br>
						{{if $delLog}}
							{lang="content_delete_pending" sprintf="$delLog->deletion_date"}
						{{else}}
							{lang="content_deleted"}
						{{endif}}
						</div>

						{{if $delLog}}
							<hr class='ipsHr'>
							<div class='ipsPost' data-role='commentContent'>
								<div data-ipsTruncate data-ipsTruncate-type="hide" data-ipsTruncate-size="50 lines">
									<div class='ipsType_richText ipsType_normal ipsContained' data-controller='core.front.core.lightboxedImages'>
										{$item->content()|raw}
									</div>
								</div>
								<hr class='ipsHr'>
								<ul class='ipsList_inline' data-role="commentControls">
									{{if \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}}
										<li><a href='{$item->url('restore')->csrf()->setQueryString( '_report', $report->id )}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li>
										<li><a href='{$item->url('restore')->csrf()->setQueryString( array( 'restoreAsHidden' => 1, '_report' => $report->id ) )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li>
										<li><a href='{$item->url('moderate')->csrf()->setQueryString( array( 'action' => 'delete', 'immediate' => 1, '_report' => $report->id ) )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li>
									{{endif}}
								</ul>
							</div>
						{{endif}}
				{{else}}
					<div class="ipsClearfix ipsPad" id='elReportComment'>
						<h2 class="ipsType_sectionHead">
							<a href='{$report->url()->setQueryString( 'action', 'find' )}' class='ipsType_blendLinks'>{$item->mapped('title')}</a>
						</h2>
						<br>
						<a href='{$report->url()->setQueryString( array( 'action' => 'find' ) )}' class='ipsType_normal ipsType_light'>
							<i class='fa fa-{$item::$icon}'></i> {lang="$item::$title"}
						</a>
						{{if $pointCount}}<span class="ipsBadge ipsBadge_positive">{lang="automoderation_report_points_flag" pluralize="$pointCount"}</span>{{endif}}
						<br><br>
						<div class='ipsPost' data-role='commentContent'>
							<div data-ipsTruncate data-ipsTruncate-type="hide" data-ipsTruncate-size="50 lines">
								<div class='ipsType_richText ipsType_normal ipsContained' data-controller='core.front.core.lightboxedImages'>
									{$item->content()|raw}
								</div>
							</div>
						</div>
						<hr class='ipsHr'>
						<ul class='ipsList_inline' data-role="commentControls">
							{{if $item->canEdit( \IPS\Member::loggedIn() )}}
								<li><a href='{$item->url('edit')}&_report={$report->id}' data-action='editComment'>{lang="edit"}</a></li>
							{{endif}}
							{{if $item->canHide( \IPS\Member::loggedIn() )}}
								<li><a href='{$item->url('moderate')->setQueryString( 'action', 'hide' )}&_report={$report->id}' data-action='hideComment' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li>
							{{endif}}
							{{if $item->canDelete( \IPS\Member::loggedIn() )}}
								<li><a href='{$item->url('moderate')->setQueryString( 'action', 'delete' )->csrf()->setPage('page',\IPS\Request::i()->page)}&_report={$report->id}' {{if !\IPS\Settings::i()->dellog_retention_period}}data-action='deleteComment' data-showOnDelete="#elReportCommentDeleted" data-hideOnDelete="#elReportComment"{{else}}data-confirm{{endif}}>{lang="delete"}</a></li>
							{{endif}}
						</ul>
					</div>
				{{endif}}
			{{endif}}
			<div class="ipsType_center ipsType_large ipsEmpty {{if $comment or $item}}ipsHide{{endif}}" id='elReportCommentDeleted'>
				<i class="fa fa-trash-o"></i>
				<br>
				{lang="content_deleted"}
			</div>
			<div class="ipsType_center ipsType_large ipsEmpty ipsHide" id='elReportCommentDeletePending'>
				<i class='fa fa-trash-o'></i>
				<br>
				{lang="content_delete_pending"}
			</div>
		</div>
		<aside class='ipsColumn ipsColumn_veryWide sm:ipsMargin_top'>
			<div id="elReportSidebar">
				<div class='ipsBox ipsBox--child ipsAreaBackground_light ipsPadding:half' id='elReportSidebar_toggle' data-controller='core.front.modcp.reportToggle'>
					<div class='ipsPad_half ipsType_center ipsType_normal'>
						<p class='ipsType_reset ipsType_large cReportSidebar_icon ipsSpacer_bottom ipsSpacer_half'><i class='{{if $report->status == 1}}fa fa-flag{{elseif $report->status == 2}}fa fa-exclamation-triangle{{else}}fa fa-check-circle{{endif}}' data-role='reportIcon'></i></p>
						<strong>{lang="status"}:</strong> <span data-role="reportStatus">{lang="report_status_{$report->status}"}</span>
					</div>

					<a href='#elReportItem{$report->id}_menu' id='elReportItem{$report->id}' class='ipsButton ipsButton_primary ipsButton_small ipsButton_fullWidth' data-ipsMenu data-ipsMenu-closeOnClick data-ipsMenu-appendTo='#elReportSidebar_toggle' data-ipsMenu-selectable>
						{lang="mark_report_as"} <i class='fa fa-caret-down'></i>
					</a>
					{template="reportToggle" group="modcp" params="$report, '', FALSE"}
				</div>
				<br>
				<div id='elReportPanel' class='ipsBox'>
					{template="reportPanel" group="modcp" params="$report,$comment,$ref"}
				</div>
			</div>
		</aside>
	</article>
</div>
{{if $prevReport or $nextReport}}
<nav class='ipsPager ipsSpacer_top'>
	<div class='ipsPager_prev'>
		{{if $prevReport}}
			<a href="{url="app=core&module=modcp&controller=modcp&tab=reports&action=view&id={$prevReport['id']}" seoTemplate="modcp_report"}" title='{lang="previous_report"}'>
				<span class='ipsPager_type'>{lang="previous_report"}</span>
				{{if $prevItem}}
					<span class='ipsPager_title ipsType_break ipsTruncate ipsTruncate_line'>{$prevItem->mapped('title')}</span>
				{{else}}
					<span class='ipsPager_title'><em class="ipsType_light">{lang="content_deleted"}</em></span>
				{{endif}}
			</a>
		{{endif}}
	</div>
	<div class='ipsPager_next'>
		{{if $nextReport}}
			<a href="{url="app=core&module=modcp&controller=modcp&tab=reports&action=view&id={$nextReport['id']}" seoTemplate="modcp_report"}" title='{lang="next_report"}'>
				<span class='ipsPager_type'>{lang="next_report"}</span>
				{{if $nextItem}}
					<span class='ipsPager_title ipsType_break ipsTruncate ipsTruncate_line'>{$nextItem->mapped('title')}</span>
				{{else}}
					<span class='ipsPager_title'><em class="ipsType_light">{lang="content_deleted"}</em></span>
				{{endif}}
			</a>
		{{endif}}
	</div>
</nav>
{{endif}}
<section class='ipsBox ipsMargin_top'>
	<div class="ipsClearfix">
		<h2 class="ipsType_sectionTitle ipsFlex ipsFlex-ai:center ipsFlex-jc:between">
			{lang="responses_to_report"}
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a class="ipsJS_show" href="#elFilter_menu" id="elFilter"  data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" ipsMenu-selectable="radio">
						{lang="automoderation_report_type_filter"} <i class="fa fa-caret-down"></i>
					</a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elFilter_menu">
						<li class="ipsMenu_item {{if ! isset( \IPS\Request::i()->report_type )}}ipsMenu_itemChecked{{endif}}"><a href="{$report->url()}">{lang="all"}</a></li>
						<li class="ipsMenu_sep"><hr></li>
						{{foreach \IPS\core\Reports\Types::roots() as $type}}
							<li class="ipsMenu_item {{if isset( \IPS\Request::i()->report_type ) and \IPS\Request::i()->report_type == $type->id}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$type->id}"><a href="{$report->url()->setQueryString( array( 'report_type' => $type->id ) )}">{$type->_title}</a></li>
						{{endforeach}}
					</ul>
				</li>
			</ul>	
		</h2>
	</div>
	
	<div data-controller="core.front.core.commentsWrapper" data-tabsId='elTabsReport'>
		<div class="ipsTabs ipsClearfix" id="elTabsReport" data-ipsTabBar data-ipstabbar-contentarea="#elReportComments">
			<a href="#elTabs_report" data-action="expandTabs"><i class="fa fa-caret-down"></i></a>
			<ul role="tablist">
				<li>
					<a href="#" id="elUserReports" class="ipsTabs_item {{if ! isset( \IPS\Request::i()->activeTab ) or \IPS\Request::i()->activeTab != 'comments'}}ipsTabs_activeItem{{endif}}" title="" role="tab" aria-selected="true">
						{lang="report_user_reports" pluralize="\count( $report->reports( $filterByType ) )"}
					</a>
				</li>
				<li>
					<a href="#" id="elTabsReport_tab_mod_comments" class="ipsTabs_item {{if isset( \IPS\Request::i()->activeTab ) and \IPS\Request::i()->activeTab == 'comments'}}ipsTabs_activeItem{{endif}}" title="" role="tab" aria-selected="false">
						{lang="report_mod_comments" pluralize="$report->num_comments"}
					</a>
				</li>
			</ul>
		</div>
		<div id="elReportComments" class="ipsTabs_contained ipsTabs_panels">
			<div id="ipsTabs_elTabsReport_elUserReports_panel" class="ipsTabs_panel" aria-labelledby="elUserReports" aria-hidden="false">
				<div data-role="commentFeed">
					{{foreach $report->reports( $filterByType ) as $r}}
						<article id="elCommentMod_{$r['rid']}" class="ipsComment ipsComment_parent ipsClearfix ipsClear ">
							<div class='ipsComment_content ipsType_medium'>
								<div class='ipsComment_header ipsPhotoPanel ipsPhotoPanel_mini'>
									{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $r['report_by'] ), 'mini'"}
									<div>
										<h3 class='ipsComment_author ipsType_normal ipsType_blendLinks'>{member="link()" id="$r['report_by']" raw="true"}</h3>
										{{if \IPS\Member::loggedIn()->modPermission('can_use_ip_tools') and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) )}}
											<p class='ipsPos_right ipsType_reset ipsType_blendLinks ipsFaded ipsFaded_more'>
												<span class='ipsResponsive_hidePhone'>(<a href="{url="app=core&module=modcp&controller=modcp&tab=ip_tools&ip={$r['ip_address']}" seoTemplate="modcp_ip_tools"}">{lang="ip_prefix" sprintf="$r['ip_address']"}</a>)</span>
											</p>
										{{endif}}
										<p class="ipsComment_meta ipsType_light ipsType_medium">
											{{if $r['report_type']}}
												{{$type = ''; try{ $type = \IPS\core\Reports\Types::load( $r['report_type'] )->_title; } catch( \Exception $e ) { } }}
												{lang="report_type_byline" sprintf="$type"}
											{{endif}}
											{lang="report_date_submitted"} {datetime="$r['date_reported']"}
										</p>
									</div>
								</div>
								<div class='ipsPad'>
									<div class="ipsType_normal ipsType_richText ipsType_break ipsContained" data-controller='core.front.core.lightboxedImages'>
										{{if $r['report']}}
											{$r['report']|raw}
										{{else}}
											<p><em class="ipsType_light">{lang="report_no_message"}</em></p>
										{{endif}}
									</div>
								</div>
							</div>
						</article>
					{{endforeach}}
				</div>
			</div>
			<div id="ipsTabs_elTabsReport_elTabsReport_tab_mod_comments_panel" class="ipsTabs_panel" aria-labelledby="elTabsReport_tab_mod_comments" aria-hidden="false">
				<div data-controller='core.front.core.commentFeed' {{if settings.auto_polling_enabled}}data-autoPoll{{endif}} data-commentsType='mod_comments' data-baseURL='{$report->url()}' {{if $report->isLastPage()}}data-lastPage{{endif}} data-feedID='report-{$report->id}'>
					{{if $report->commentPageCount() > 1}}
						{$report->commentPagination()|raw}
						<br><br>
					{{endif}}
					<div data-role='commentFeed' data-controller='core.front.core.moderation'>
						<form action="{$report->url()->csrf()->setQueryString( 'action', 'multimodComment' )}" method="post" data-ipsPageAction data-role='moderationTools'>
							{{foreach $report->comments() as $modcomment}}
								{$modcomment->html()|raw}
							{{endforeach}}
							{template="commentMultimod" app="core" group="global" params="$report"}
						</form>
					</div>
					{{if $report->commentPageCount() > 1}}
						<hr class='ipsHr'>
						{$report->commentPagination()|raw}
						<br><br>
					{{endif}}
					<div data-role='replyArea' class='ipsAreaBackground ipsPad'>
						{$report->commentForm()|raw}
					</div>
				</div>
			</div>
		</div>
	</div>
</section>]]></template>
 <template template_group="modcp" template_name="reportList" template_data="$table" template_location="front" template_app="core"><![CDATA[<div class='ipsBox' data-controller='core.front.modcp.reportList'>
	{$table|raw}
</div>]]></template>
 <template template_group="modcp" template_name="reportListOverview" template_data="$table, $headers, $rows, $quickSearch, $advancedSearch" template_location="front" template_app="core"><![CDATA[<ol class='ipsDataList'>
	{{if \count($rows)}}
		{{foreach $rows as $row}}
			<li class="ipsDataItem {{if $row->unread()}}ipsDataItem_unread{{endif}}">
				<div class='ipsDataItem_icon ipsPos_top ipsType_center'>
					<i class='ipsType_large {{if $row->status == 1}}fa fa-flag{{elseif $row->status == 2}}fa fa-exclamation-triangle{{else}}fa fa-check-circle{{endif}}' data-role="ipsMenu_selectedIcon" title="{{if $row->status == 1}}{lang="report_status_1"}{{elseif $row->status == 2}}{lang="report_status_2"}{{else}}{lang="report_status_3"}{{endif}}" data-ipsTooltip></i>
				</div>
				<div class="ipsDataItem_main ipsType_break">
					<h4 class="ipsDataItem_title"><a href='{$row->url()}'>{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}</a></h4>
					<ul class="ipsDataItem_meta ipsList_inline">
						<li class='ipsType_light'>
							{{if $row->last_updated}}{datetime="$row->last_updated"}{{else}}{datetime="$row->first_report_date"}{{endif}}
						</li>
						{{foreach $row->stats() as $k => $v}}
							<li>
								<span class='ipsDataItem_stats_number'>{number="$v"}</span>
								<span class='ipsDataItem_stats_type'>{lang="$k" pluralize="$v"}</span>
							</li>
						{{endforeach}}
					</ul>
				</div>
				<div class='ipsDataItem_generic ipsDataItem_size1 ipsResponsive_hidePhone ipsResponsive_hideTablet ipsType_center'>
					{{if $lastComment = $row->comments( 1, 0, 'date', 'desc' )}}
						{template="userPhoto" app="core" group="global" params="$lastComment->author(), 'tiny'"}
					{{else}}
						{template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
					{{endif}}
				</div>
			</li>
		{{endforeach}}
	{{else}}
		<li class='ipsDataItem'>
			<div class='ipsPad ipsType_light ipsType_center ipsType_normal'>{lang="no_results_reports"}</div>
		</li>
	{{endif}}
</ol>]]></template>
 <template template_group="modcp" template_name="reportPanel" template_data="$report,$comment,$ref" template_location="front" template_app="core"><![CDATA[<div class='ipsBox ipsBox--child' data-role="authorPanel">
	{{if $report->author}}
		<div class="ipsFlex ipsFlex-ai:center ipsPadding:half ipsAreaBackground_light">
			{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $report->author ), 'tiny'"}	
			<div class='ipsPad_half'>
				<a href="#user{$report->author}_menu" id="user{$report->author}" class="ipsType_sectionHead" data-ipsMenu>{member="name" id="$report->author"} &nbsp;<i class="fa fa-caret-down"></i></a>
				<br>
				{{if \IPS\Member::load( $report->author )->mod_posts}}
					<p class="ipsBadge ipsBadge_warning" data-ipsTooltip title="{{if \IPS\Member::load( $report->author )->mod_posts == -1}}{lang="moderation_modq_perm"}{{else}}{lang="moderation_modq_temp" sprintf="\IPS\DateTime::ts( \IPS\Member::load( $report->author )->mod_posts )"}{{endif}}">
						{lang="moderation_modq"}
					</p>
				{{endif}}
				{{if \IPS\Member::load( $report->author )->restrict_post}}
					<p class="ipsBadge ipsBadge_warning" data-ipsTooltip title="{{if \IPS\Member::load( $report->author )->restrict_post == -1}}{lang="moderation_nopost_perm"}{{else}}{lang="moderation_nopost_temp" sprintf="\IPS\DateTime::ts( \IPS\Member::load( $report->author )->restrict_post )"}{{endif}}">
						{lang="moderation_nopost"}
					</p>
				{{endif}}
				{{if \IPS\Member::load( $report->author )->temp_ban}}
					<p class="ipsBadge ipsBadge_warning" data-ipsTooltip title="{{if \IPS\Member::load( $report->author )->temp_ban == -1}}{lang="moderation_banned_perm"}{{else}}{lang="moderation_banned_temp" sprintf="\IPS\DateTime::ts( \IPS\Member::load( $report->author )->temp_ban )"}{{endif}}">
						{lang="moderation_banned"}
					</p>
				{{endif}}
			</div>
		</div>
		<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide' id='user{$report->author}_menu'>
			{{if member.canWarn( \IPS\Member::load( $report->author ) )}}
				<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=warnings&do=warn&id={$report->author}&ref={$ref}" seoTemplate="warn_add" seoTitle="\IPS\Member::load( $report->author )->members_seo_name"}' data-ipsDialog data-ipsDialog-title="{lang="warn_member" sprintf="\IPS\Member::load( $report->author )->name"}" data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="warning_issued"}" data-role="warnUserDialog">{lang="warn_user"}</a></li>
			{{endif}}
			{{if $report->author != \IPS\Member::loggedIn()->member_id}}
				{{if \IPS\Member::load( $report->author )->members_bitoptions['bw_is_spammer']}}
					<li class='ipsMenu_item' data-ipsMenuValue='spamUnFlagButton'><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$report->author}&s=0" seoTemplate="flag_as_spammer" seoTitle="\IPS\Member::load( $report->author )->members_seo_name" csrf="true"}'>{lang="spam_unflag"}</a></li>
				{{else}}
					<li class='ipsMenu_item' data-ipsMenuValue='spamFlagButton'><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$report->author}&s=1" seoTemplate="flag_as_spammer" seoTitle="\IPS\Member::load( $report->author )->members_seo_name" csrf="true"}'>{lang="spam_flag"}</a></li>
				{{endif}}
			{{endif}}
			<li class="ipsMenu_item"><a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$report->author}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}">{lang="message_send"}</a></li>
		</ul>
		{{if \IPS\Member::loggedIn()->modPermission('mod_see_warn')}}
			<div class='ipsPadding'>
				<strong>{lang="previous_warnings"}</strong>
				{{if \count(\IPS\Member::load( $report->author )->warnings( 1 ))}}
					<ol class='ipsDataList'>
						{{foreach \IPS\Member::load( $report->author )->warnings( 2 ) as $warning}}
							<li class="ipsDataItem">
								<div class='ipsDataItem_generic ipsDataItem_size1 ipsType_center'>
									<a href="{url="app=core&module=system&controller=warnings&do=view&id={$report->author}&w={$warning->id}" seoTemplate="warn_view" seoTitle="\IPS\Member::load( $report->author )->members_seo_name"}" data-ipsHover class="ipsType_blendLinks">
										<span class="ipsPoints">{$warning->points}</span>
									</a>
								</div>
								<div class='ipsDataItem_main'>
									<a href="{url="app=core&module=system&controller=warnings&do=view&id={$report->author}&w={$warning->id}" seoTemplate="warn_view" seoTitle="\IPS\Member::load( $report->author )->members_seo_name"}" data-ipsHover class="ipsType_blendLinks">
										<h4 class="ipsDataItem_title">{lang="core_warn_reason_{$warning->reason}"}</h4>
										<p class='ipsDataItem_meta ipsType_light'>
											{lang="byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}{datetime="$warning->date"}
										</p>
									</a>
								</div>
							</li>
						{{endforeach}}
					</ol>
					<br>
					<div class='ipsType_center'>
						<a href='{url="app=core&module=system&controller=warnings&id={$report->author}" seoTemplate="warn_list" seoTitle="\IPS\Member::load( $report->author )->members_seo_name"}' class=''><i class='fa fa-bars'></i> &nbsp;&nbsp;{lang="see_all_c"}</a>
					</div>
				{{else}}
					<p class='ipsType_reset ipsType_light ipsType_medium'>
						{lang="no_previous_warnings"}
					</p>
				{{endif}}
			</div>
		{{endif}}
	{{else}}
		<div class="ipsFlex ipsFlex-ai:center ipsPad ipsPad_half">
			{template="userPhoto" app="core" group="global" params="\IPS\Member::load( 0 ), 'tiny'"}	
			<div class='ipsPad_half'>
				<span class="ipsType_sectionHead" data-ipsMenu>{member="name" id="0"}</span>
			</div>
		</div>
	{{endif}}
</div>
]]></template>
 <template template_group="modcp" template_name="reportTableDescription" template_data="$class, $report, $container=NULL" template_location="front" template_app="core"><![CDATA[<i class='fa fa-{$class::$icon}'></i>
<a href="{$report->url()->setQueryString( array( 'action' => 'find' ) )}">
    {{if $container === NULL}}
	    {lang="$class::$title"}
    {{else}}
        {lang="icon_blurb_in_containers" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $class::$title ), $container->_title"}
    {{endif}}
</a>]]></template>
 <template template_group="modcp" template_name="reportToggle" template_data="$report, $ref='list', $showIcon=TRUE" template_location="front" template_app="core"><![CDATA[{{if $showIcon}}
<a href='#elReportItem{$report->id}_menu' id='elReportItem{$report->id}' data-action="changeStatus" class='ipsType_blendLinks' data-ipsMenu data-ipsMenu-closeOnClick>
	<span class="cReportIcon ipsType_large"><i class='{{if $report->status == 1}}fa fa-flag{{elseif $report->status == 2}}fa fa-exclamation-triangle{{else}}fa fa-check-circle{{endif}}' data-role="ipsMenu_selectedIcon"></i></span> &nbsp;<i class='fa fa-caret-down'></i>
</a>
{{endif}}
<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide' id='elReportItem{$report->id}_menu'>
	<li class='ipsMenu_title'>{lang="mark_as"}</li>
	<li class='ipsMenu_item' data-ipsMenuValue='3'>
		<a href='{url="app=core&module=modcp&tab=reports&id={$report->id}&action=view&setStatus=3&ref={$ref}" csrf="true" seoTemplate="modcp_report"}' data-action='ipsMenu_ping'>
			<i class='fa fa-check-circle' data-role="ipsMenu_selectedIcon"></i> &nbsp;<span data-role="ipsMenu_selectedText">{lang="menu_report_status_3"}</span>
		</a>
	</li>
	<li class='ipsMenu_item' data-ipsMenuValue='2'>
		<a href='{url="app=core&module=modcp&tab=reports&id={$report->id}&action=view&setStatus=2&ref={$ref}" csrf="true" seoTemplate="modcp_report"}' data-action='ipsMenu_ping'>
			<i class='fa fa-exclamation-triangle' data-role="ipsMenu_selectedIcon"></i> &nbsp;<span data-role="ipsMenu_selectedText">{lang="menu_report_status_2"}</span>
		</a>
	</li>
	<li class='ipsMenu_item' data-ipsMenuValue='1'>
		<a href='{url="app=core&module=modcp&tab=reports&id={$report->id}&action=view&setStatus=1&ref={$ref}" csrf="true" seoTemplate="modcp_report"}' data-action='ipsMenu_ping'>
			<i class='fa fa-flag' data-role="ipsMenu_selectedIcon"></i> &nbsp;<span data-role="ipsMenu_selectedText">{lang="menu_report_status_1"}</span>
		</a>
	</li>
	{{if !$showIcon and $report->canDelete( \IPS\Member::loggedIn() )}}
		<li class='ipsMenu_sep'></li>
		<li class='ipsMenu_item'>
			<a href='{$report->url()->csrf()->setQueryString('_action', 'delete')}' data-action='ipsMenu_ping'>
				<i class='fa fa-times'></i> &nbsp;{lang="delete"}
			</a>
		</li>
	{{endif}}
</ul>]]></template>
 <template template_group="modcp" template_name="tableWrapper" template_data="$table, $title=''" template_location="front" template_app="core"><![CDATA[<div class='ipsBox' data-controller='core.front.modcp.reportList'>
	{{if $title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$title"}</h2>
	{{endif}}
	{$table|raw}
</div>]]></template>
 <template template_group="modcp" template_name="template" template_data="$content, $tabs, $activeTab, $contentTypes, $approvalCount" template_location="front" template_app="core"><![CDATA[
<div class='ipsResponsive_pull'>
	<div class='cModCP_header ipsPageHeader ipsBox ipsPadding ipsClearfix ipsMargin:none ipsFlex ipsFlex-ai:center ipsFlex-jc:between'>
		<h1 class='ipsType_pageTitle ipsFlex-flex:11 ipsType_break'><i class='fa fa-lock'></i> {lang="modcp"}</h1>
		{{if \IPS\Member::loggedIn()->modPermission('can_view_reports')}}
			<div class='ipsPos_right ipsResponsive_hidePhone'>
				<ul class='ipsList_inline'>
					<li {{if !$approvalCount}}class='ipsType_light'{{endif}}><span id='elModCPApprovalCount' class='ipsBadge {{if !$approvalCount}}ipsBadge_style6{{else}} ipsBadge_style1{{endif}} ipsBadge_medium'>{$approvalCount}</span> {lang="modcp_approval"}</li>
					{{$reportCount = \IPS\Member::loggedIn()->reportCount( TRUE );}}
					<li {{if !$reportCount}}class='ipsType_light'{{endif}}><span class='ipsBadge {{if !$reportCount}}ipsBadge_style6{{else}} ipsBadge_style1{{endif}} ipsBadge_medium'>{$reportCount}</span> {lang="active_reports"}</li>
				</ul>
			</div>
		{{endif}}
	</div>
	<br>

	<section class='ipsBox_alt'>
		<div class='ipsColumns ipsColumns_collapsePhone'>
			<div class='ipsColumn ipsColumn_wide'>
				<div class='ipsSideMenu ipsBox ipsPad' id='modcp_menu' data-ipsSideMenu>
					<h3 class='ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium'>
						<a href='#modcp_menu' class='ipsPad_double' data-action='openSideMenu'><i class='fa fa-bars'></i> &nbsp;{lang="modcp_sections"}&nbsp;<i class='fa fa-caret-down'></i></a>
					</h3>
					<h4 class='ipsSideMenu_title'>{lang="modcp_tools"}</h4>
					<ul class='ipsSideMenu_list'>
					{{foreach $tabs as $key => $tab}}
						{{if $key !== 'hidden'}}
							<li class='ipsSideMenu_item {{if $activeTab == $key}}ipsSideMenu_itemActive{{endif}}'><a href='{url="app=core&module=modcp&controller=modcp&tab=$key" seoTemplate="modcp_{$key}"}'>{lang="modcp_{$key}"}</a></li>
						{{endif}}
					{{endforeach}}
					</ul>
					<h4 class='ipsSideMenu_title'>{lang="modcp_hidden"}</h4>
					<ul class='ipsSideMenu_list'>
						<li class="ipsSideMenu_item {{if $activeTab === 'hidden' and !request.type}}ipsSideMenu_itemActive{{endif}}"><a href="{url="app=core&module=modcp&controller=modcp&tab=hidden" seoTemplate="modcp_content"}">{lang="search_everything"}</a></li>
					</ul>
					{{foreach $contentTypes as $app => $type }}
						<h5 class='ipsSideMenu_subTitle'>{lang="module__{$app}"}</h5>
						<ul class='ipsSideMenu_list'>
							{{foreach $type as $key => $class}}
								<li class="ipsSideMenu_item {{if $activeTab === 'hidden' and request.type == $key}}ipsSideMenu_itemActive{{endif}}"><a href="{url="app=core&module=modcp&controller=modcp&tab=hidden&type={$key}" seoTemplate="modcp_content"}">{lang="{$class::$title}_pl"}</a></li>	
							{{endforeach}}
						</ul>
					{{endforeach}}				
				</div>
			</div>
			<div class='ipsColumn ipsColumn_fluid' id='elModCPContent'>
				<div class='ipsBox_alt'>
					{$content|raw}
				</div>
			</div>
		</div>
	</section>
</div>]]></template>
 <template template_group="modcp" template_name="unapprovedContent" template_data="$content, $tabs, $activeTab" template_location="front" template_app="core"><![CDATA[<div class='ipsLayout_contentSection'>
	<div class='ipsTabs ipsClearfix' id='elmodCPTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elModCPHiddenTabContent'>
		<a href='#elmodCPTabs' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist' class='ipsList_reset'>
			{{foreach $tabs as $key => $tab}}
				<li>
					<a href='{url="app=core&module=modcp&tab=approval&area=$key"}' id='modcp_{$key}' class='ipsTabs_item {{if $activeTab === $key}}ipsTabs_activeItem{{endif}}' role="tab" aria-selected="{{if $activeTab == $tab}}true{{else}}false{{endif}}">
						{lang="$tab"}
					</a>
				</li>
			{{endforeach}}
		</ul>
	</div>
</div>
<section id='elModCPHiddenTabContent' class='ipsPad'>
	<div id="ipsTabs_elmodCPTabs_modcp_{$activeTab}_panel" class="ipsTabs_panel" aria-labelledby="modcp_{$activeTab}" aria-hidden="false">
		{$content|raw}
	</div>
</section>
	]]></template>
 <template template_group="modcp" template_name="warnActions" template_data="$actions, $member, $min" template_location="front" template_app="core"><![CDATA[<div class="ipsAreaBackground ipsPad">
	<h3 class='ipsType_sectionHead'>{lang="assigned_point_levels"}</h3>
	<p class='ipsType_medium'>{lang="warn_points_blurb"}</p>
	<ol class='ipsDataList ipsDataList_reducedSpacing'>
		{{if $min}}
			<li class="ipsDataItem">
				<div class='ipsDataItem_generic ipsDataItem_size1 ipsPos_top'>
					<span class="ipsPoints"><i class='fa fa-angle-left'></i> {$min}</span>
				</div>
				<div class='ipsDataItem_main'>
					<p class="ipsType_light ipsType_reset">{lang="no_punishment"}</p>
				</div>
			</li>
		{{endif}}
		{{foreach $actions as $action}}
			<li class="ipsDataItem">
				<div class='ipsDataItem_generic ipsDataItem_size1 ipsPos_top'>
					<span class="ipsPoints">{$action['wa_points']}</span>
				</div>
				<div class='ipsDataItem_main'>
					{{if $action['wa_mq'] or $action['wa_rpa'] or $action['wa_suspend']}}
						<ul class='ipsList_reset ipsType_medium'>
							{{if $action['wa_mq']}}
								<li>
									<strong>{lang="warn_mq"}</strong>
									<br>
									<span class="ipsType_light">
										<i class='fa fa-clock-o'></i>
										{{if $action['wa_mq'] != -1}}
											{{if $action['wa_mq_unit'] == 'h'}}
												{lang="f_hours" pluralize="$action['wa_mq']"}
											{{else}}
												{lang="f_days" pluralize="$action['wa_mq']"}
											{{endif}}
										{{else}}
											{lang="indefinitely"}
										{{endif}}
									</span>
								</li>
							{{endif}}
							{{if $action['wa_rpa']}}
								<li>
									<strong>{lang="warn_rpa"}</strong>
									<br>
									<span class="ipsType_light">
										<i class='fa fa-clock-o'></i>
										{{if $action['wa_rpa'] != -1}}
											{{if $action['wa_rpa_unit'] == 'h'}}
												{lang="f_hours" pluralize="$action['wa_rpa']"}
											{{else}}
												{lang="f_days" pluralize="$action['wa_rpa']"}
											{{endif}}
										{{else}}
											{lang="indefinitely"}
										{{endif}}
									</span>
								</li>
							{{endif}}
							{{if $action['wa_suspend']}}
								<li>
									<strong>{lang="warn_suspend"}</strong>
									<br>
									<span class="ipsType_light">
										<i class='fa fa-clock-o'></i> 
										{{if $action['wa_suspend'] != -1}}
											{{if $action['wa_suspend_unit'] == 'h'}}
												{lang="f_hours" pluralize="$action['wa_suspend']"}
											{{else}}
												{lang="f_days" pluralize="$action['wa_suspend']"}
											{{endif}}
										{{else}}
											{lang="indefinitely"}
										{{endif}}
									</span>
								</li>
							{{endif}}
						</ul>
					{{else}}
						<p class='ipsType_light ipsType_reset'>{lang="no_punishment"}</p>
					{{endif}}
				</div>
			</li>
		{{endforeach}}
	</ol>
</div>]]></template>
 <template template_group="modcp" template_name="warnHovercard" template_data="$warning" template_location="front" template_app="core"><![CDATA[<div class="{{if !\IPS\Request::i()->isAjax()}}ipsBox{{endif}} ipsPad" id="warnhovercard_{$warning->id}" data-controller="core.front.modcp.warnPopup">	
	<h2 class="ipsType_pageTitle">
		{{if $warning->canViewDetails()}}
			<span class='ipsPoints {{if $warning->expire_date == 0}}ipsPoints_removed{{endif}}'>{$warning->points}</span>
			{lang="core_warn_reason_{$warning->reason}"}
		{{else}}
			{lang="warning"}
		{{endif}}
	</h2>
	{{if \IPS\Settings::i()->warnings_acknowledge OR \IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']}}
		<p class='ipsType_medium'>
			{{if $warning->acknowledged}}
				<strong class='ipsType_success'><i class='fa fa-check-circle'></i> {lang="warning_acknowledged"}</strong>
			{{else}}
				{{if $warning->canAcknowledge()}}
					<div class='ipsAreaBackground_light ipsPad ipsType_center'>
						<a href="{$warning->url('acknowledge')->csrf()}" class="ipsButton ipsButton_important ipsButton_medium ipsButton_fullWidth"><i class='fa fa-check'></i> {lang="acknowledge"}</a>
						<p class='ipsType_light ipsType_small'>{lang="acknowledge_message"}</p>
					</div>
				{{else}}
					<strong class='ipsType_light'><i class='fa fa-circle-o'></i> {lang="warning_not_acknowledged"}</strong>
				{{endif}}
			{{endif}}
		</p>
	{{endif}}
	{{if $content = $warning->content() and $content->canView()}}
		<a href='{$content->url()->setQueryString( '_warn', $warning->id )}' class='ipsType_light ipsType_blendLinks' title='{lang="warning_go_to_content"}'><i class='fa fa-{$content::$icon}'></i> &nbsp;&nbsp;{{if $content instanceof \IPS\Content\Comment}}{$content->item()->mapped('title')}{{else}}{$content->mapped('title')}{{endif}}</a>
	{{endif}}
	{{if $warning->canViewDetails()}}
		<hr class='ipsHr'>
		<div class='ipsPhotoPanel ipsPhotoPanel_tiny'>
			{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $warning->moderator ), 'tiny'"}
			<div>
				{{if $warning->canDelete()}}
					<a href="{$warning->url('delete')->csrf()}" title='{lang="revoke_this_warning"}' data-action="revoke" class='ipsPos_right ipsButton ipsButton_verySmall ipsButton_primary'><i class="fa fa-undo"></i> {lang="revoke"}</a></li>
				{{endif}}
				<p class="ipsType_reset">{lang="warning_byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}</p>
				<p class='ipsType_reset ipsType_light'>{datetime="$warning->date"}</p>
                <p class='ipsType_reset ipsType_light'>
                    {{if $warning->expire_date > 0}}<em><strong>({lang="warning_expires" sprintf="\IPS\DateTime::ts( $warning->expire_date )"})</em></strong>{{endif}}
                    {{if $warning->expire_date == 0}}
                    <em><strong>{lang="warning_no_longer_active"}{{if $warning->removed_on}} {lang="warning_expired_on" sprintf="\IPS\DateTime::ts( $warning->removed_on )->relative()"}{{endif}}</em></strong>
                    {{endif}}
                </p>
			</div>
		</div>
	{{endif}}
	{{if $warning->canViewDetails() or $warning->mq or $warning->rpa or $warning->suspend}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_punishment"}</h3>
		<br>
		<ul class='ipsList_bullets ipsType_medium'>
			{{if $warning->canViewDetails()}}
				<li>
					{{if $warning->expire_date}}
						{{if $warning->expire_date < time()}}
							{{if $warning->expire_date == -1}}
								{lang="warn_action_points_never_expire" pluralize="$warning->points"}
							{{else}}
								{lang="warn_action_points_expired" pluralize="$warning->points" sprintf=" \IPS\DateTime::ts( $warning->expire_date )"}
							{{endif}}
						{{else}}
							{lang="warn_action_points_expire" pluralize="$warning->points" sprintf="\IPS\DateTime::ts( $warning->expire_date )"}
						{{endif}}
					{{else}}
						{lang="warn_action_points" pluralize="$warning->points"}
					{{endif}}			
				</li>
			{{endif}}
            {{if $warning->cheev_point_reduction}}
                <li>
                    {lang="warn_deduct_cheev_points" pluralize="$warning->cheev_point_reduction"}
                </li>
            {{endif}}
			{{if $warning->mq}}
				<li>
					{lang="moderation_modq"} - 
					{{if $warning->mq == -1}}
						{lang="indefinitely"}
					{{elseif $mq = $warning->mq_interval}}
						{expression="\IPS\DateTime::formatInterval( $mq, 2 )"}
					{{endif}}
				</li>
			{{endif}}
			{{if $warning->rpa}}
				<li>
					{lang="moderation_nopost"} - 
					{{if $warning->rpa == -1}}
						{lang="indefinitely"}
					{{elseif $rpa = $warning->rpa_interval}}
						{expression="\IPS\DateTime::formatInterval( $rpa, 2 )"}
					{{endif}}
				</li>
			{{endif}}
			{{if $warning->suspend}}
				<li>
					{lang="moderation_banned"} - 
					{{if $warning->suspend == -1}}
						{lang="indefinitely"}
					{{elseif $suspend = $warning->suspend_interval}}
						{expression="\IPS\DateTime::formatInterval( $suspend, 2 )"}
					{{endif}}
				</li>
			{{endif}}
		</ul>
	{{endif}}
	{{if $warning->note_member}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_member_note"}</h3>
		<div class='ipsType_richText ipsType_medium'>
			{template="richText" group="global" app="core" location="global" params="$warning->note_member"}
		</div>
	{{endif}}
	{{if $warning->note_mods and member.modPermission('mod_see_warn')}}
		<hr class='ipsHr'>
		<h3 class='ipsType_sectionHead'>{lang="warn_mod_note"}</h3>
		<div class='ipsType_richText ipsType_medium'>
			{template="richText" group="global" app="core" location="global" params="$warning->note_mods"}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="modcp" template_name="warningRevoke" template_data="$warning" template_location="front" template_app="core"><![CDATA[
<div class='ipsPad'>
	<p class='ipsType_large'>
		{lang="warning_revoke_blurb"}
	</p>
</div>
<div class='ipsAreaBackground_light ipsType_right ipsPad'>
	<ul class='ipsList_inline'>
		<li><a href='{$warning->url('delete')->setQueryString('undo', 1)->csrf()}' class='ipsButton ipsButton_primary ipsButton_small'>{lang="warning_revoke_undo"}</a></li>
		<li><a href='{$warning->url('delete')->setQueryString('undo', 0)->csrf()}' class='ipsButton ipsButton_primary ipsButton_small'>{lang="delete"}</a></li>
	</ul>
</div>]]></template>
 <template template_group="modcp" template_name="warningRowPoints" template_data="$points" template_location="front" template_app="core"><![CDATA[<span class="ipsType_large">{$points}</span>
<br>
{lang="wan_action_points" pluralize="$points"}]]></template>
 <template template_group="moderationLog" template_name="rows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}}
	{{foreach $rows as $row}}
		<li class="ipsDataItem">
			<div class='ipsDataItem_icon'>
				{template="userPhoto" group="global" app="core" params="\IPS\Member::load( $row['member_id'] ), 'tiny'"}
			</div>
			<div class='ipsDataItem_main'>
				<h4 class='ipsDataItem_title ipsType_break'>						
					{$row['action']}
				</h4>
				<p class='ipsDataItem_meta ipsType_light'>
					{expression="\IPS\Member::load( $row['member_id'] )->name"}, {datetime="$row['ctime']"}
				</p>
			</div>
		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="moderationLog" template_name="table" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>
	<div class='ipsPad'>
		<h3 class='ipsType_sectionHead'>{lang="moderation_history"}</h3>
	</div>
	{{if ( $table->showAdvancedSearch AND ( (isset( $table->sortOptions ) and !empty( $table->sortOptions )) OR $table->advancedSearch ) ) OR !empty( $table->filters ) OR $table->pages > 1}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch )}}
				<li>
					{{if isset($table->sortOptions) }}
					<a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
							{{$custom = TRUE;}}
							{{foreach $table->sortOptions as $k => $col}}
								<li class="ipsMenu_item {{if $col === $table->sortBy}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{$table->getSortDirection( $col )}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => $table->getSortDirection( $col ) ) )->setPage( 'page', 1 )}">{lang="{$table->langPrefix}sort_{$k}"}</a></li>
							{{endforeach}}
						{{if $table->advancedSearch}}
							<li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
								<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
							</li>
						{{endif}}
					</ul>
					{{elseif $table->advancedSearch}}
						<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
					{{endif}}
				</li>
			{{endif}}
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>
		
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
		</div>
	</div>
	{{endif}}

		{{if \count( $rows )}}
			<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
				{template="rows" app="core" group="moderationLog" params="$table, $headers, $rows"}
			</ol>
		{{else}}
			<div class='ipsType_center ipsPad'>
				<p class='ipsType_large ipsType_light'>{lang="no_rows_in_table"}</p>
			</div>
		{{endif}}
				
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="myAttachments" template_name="rows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $attachment}}
	<div class='ipsDataItem ipsAttach ipsAttach_done md:ipsFlex md:ipsFlex-ai:center sm:ipsFlex-fw:wrap'>
		<div class='ipsDataItem_generic ipsDataItem_size3 ipsType_center'>
			<a href="{setting="base_url"}applications/core/interface/file/attachment.php?id={$attachment['attach_id']}{{if $attachment['attach_security_key']}}&key={$attachment['attach_security_key']}{{endif}}">
				{{if $attachment['attach_is_image']}}
					<img src="{file="$attachment['attach_location']" extension="core_Attachment"}" alt='' class='ipsImage ipsThumb_small' data-ipsLightbox data-ipsLightbox-group="myAttachments">
				{{else}}
					<i class='fa fa-{expression="\IPS\File::getIconFromName( $attachment['attach_file'] )"} ipsType_large'></i>
				{{endif}}
			</a>
		</div>
		<div class='ipsDataItem_main'>
			<h2 class='ipsDataItem_title ipsType_reset ipsType_medium ipsAttach_title ipsContained_container ipsType_blendLinks'><span class='ipsType_break ipsContained'><a href="{setting="base_url"}applications/core/interface/file/attachment.php?id={$attachment['attach_id']}{{if $attachment['attach_security_key']}}&key={$attachment['attach_security_key']}{{endif}}">{$attachment['attach_file']}</a></span></h2>
			<p class='ipsDataItem_meta ipsType_light'>
				{{if !$attachment['attach_is_image']}}{lang="attach_hits_count" pluralize="$attachment['attach_hits']"} &middot; {{endif}} {filesize="$attachment['attach_filesize']"} &middot; {lang="my_attachment_uploaded" htmlsprintf="\IPS\DateTime::ts( $attachment['attach_date'] )->html()"}
			</p>
		</div>
		<div class='ipsDataItem_generic ipsDataItem_size9 ipsType_light'>
			{$attachment['attach_content']|raw}
		</div>
		{{if $table->canModerate()}}
		<div class='ipsDataItem_modCheck'>
			<span class='ipsCustomInput'>
				<input type='checkbox' data-role='moderation' name="moderate[{$attachment['attach_id']}]" data-actions="{expression="implode( ' ', $table->multimodActions() )"}"  data-state=''>
				<span></span>
			</span>
		</div>
		{{endif}}
	</div>
{{endforeach}}
]]></template>
 <template template_group="myAttachments" template_name="template" template_data="$table, $used, $count" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader'>
	<h1 class="ipsType_pageTitle">{lang="my_attachments"}</h1>
</div>
{{if member.group['g_attach_max'] > 0}}
	{{$percentage = round( ( $used / ( \IPS\Member::loggedIn()->group['g_attach_max'] * 1024 ) ) * 100 );}}
	<div class='ipsBox ipsPadding ipsMargin_top'>
		<h2 class='ipsType_minorHeading'>{lang="my_attachment_quota"}</h2>
		<div class='ipsProgressBar ipsProgressBar_fullWidth ipsClear {{if $percentage >= 90}}ipsProgressBar_warning{{endif}}' >
			<div class='ipsProgressBar_progress' style="width: {$percentage}%">
				<span data-role="percentage">{$percentage}</span>%
			</div>
		</div>
		<p class='ipsType_reset ipsType_center ipsMargin_top'>
			{lang="my_attachments_blurb" sprintf="\IPS\Output\Plugin\Filesize::humanReadableFilesize( $used ), \IPS\Output\Plugin\Filesize::humanReadableFilesize( \IPS\Member::loggedIn()->group['g_attach_max'] * 1024 )"}
		</p>
	</div>
{{endif}}
<div class='ipsBox ipsMargin_top'>
	<h2 class='ipsType_sectionTitle ipsType_medium ipsType_reset'>{lang="my_attachments_count" pluralize="$count"}</h2>
	{$table|raw}
</div>]]></template>
 <template template_group="notifications" template_name="accountDeletionRequest" template_data="$users" template_location="admin" template_app="core"><![CDATA[<div class='ipsGrid ipsGrid_collapsePhone'>
	{{foreach $users as $user }}
	<div class='ipsGrid_span4 ipsBox ipsSpacer_bottom' data-role='validatingRow'>
		<div class='ipsClearfix'>
			<ul class='ipsButton_split ipsPos_right ipsPad ipsPad_half'>
				<li><a
					href='{url="app=core&module=members&controller=privacy&do=approveDeletion&id={$user->_privacy_id}" csrf="true"}'
					data-action='approve' class='ipsButton ipsButton_verySmall ipsButton_positive' title='{lang='approve'}' data-ipsTooltip><i class='fa fa-check'></i></a></li>
				<li><a
					href='{url="app=core&module=members&controller=privacy&do=rejectDeletion&id={$user->_privacy_id}" csrf="true"}'
					data-action='reject' class='ipsButton ipsButton_verySmall ipsButton_negative' title='{lang='reject'}'
					data-ipsTooltip><i class='fa fa-times'></i></a></li>
			</ul>
			<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
				{template="userPhoto" app="core" group="global" params="$user, 'mini'" }
				<div>
					<h4 class='ipsType_reset ipsType_large'><strong><a href='{$user->acpUrl()}' data-role='userName'>{$user->name}</a></strong>
						<span class='ipsType_light ipsType_unbold ipsType_small'>({$user->email})</span></h4>
					<ul class='ipsList_reset ipsType_medium'>
						<li><strong>{lang='ip_address'}</strong> {$user->ip_address}</li>
						<li><strong>{lang='block_awaiting_registered'}</strong> {datetime="$user->joined"}</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	{{endforeach}}
</div>
]]></template>
 <template template_group="notifications" template_name="adminValidations" template_data="$users" template_location="admin" template_app="core"><![CDATA[<div class="ipsGrid ipsGrid_collapsePhone" data-controller="core.admin.dashboard.validation">
	{{foreach $users as $user }}
		<div class='ipsGrid_span4 ipsBox ipsSpacer_bottom' data-role="validatingRow">
			<div class='ipsClearfix'>
				<ul class='ipsButton_split ipsPos_right ipsPad ipsPad_half' data-role='validateToggles'>
					<li><a href='{url="app=core&module=members&controller=members&do=approve&id={$user->member_id}&queue=1" csrf="true"}' data-action='approve' class='ipsButton ipsButton_verySmall ipsButton_positive' title="{lang="approve"}" data-ipsTooltip><i class="fa fa-check"></i></a></li>
					<li><a href='{url="app=core&module=members&controller=members&do=ban&permban=1&id={$user->member_id}&queue=1" csrf="true"}' data-action='ban' class='ipsButton ipsButton_verySmall ipsButton_negative'  title="{lang="ban"}" data-ipsTooltip><i class="fa fa-times"></i></a></li>
				</ul>
				<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
					{template="userPhoto" app="core" group="global" params="$user, 'mini'"}
					<div>			
						<h4 class='ipsType_reset ipsType_large'><strong><a href='{$user->acpUrl()}' data-role="userName">{$user->name}</a></strong> <span class='ipsType_light ipsType_unbold ipsType_small'>({$user->email})</span></h4>
						<ul class='ipsList_reset ipsType_medium'>
							<li><strong>{lang="ip_address"}</strong> {$user->ip_address}</li>
							<li><strong>{lang="block_awaiting_registered"}</strong> {datetime="$user->joined"}</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	{{endforeach}}
</div>]]></template>
 <template template_group="notifications" template_name="dangerousPhpFunctions" template_data="$functions" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="disable_functions_desc_1"}</p>
	<p class="ipsType_richText ipsType_normal">{lang="disable_functions_desc_2"}</p>
</div>
<div class="ipsSpacer_top">
	{{foreach $functions as $function}}
		<span class="ipsType_code">{$function}</span>
	{{endforeach}}
</div>]]></template>
 <template template_group="notifications" template_name="displayErrors" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="display_errors_desc"}</p>
</div>]]></template>
 <template template_group="notifications" template_name="errorLog" template_data="$table" template_location="admin" template_app="core"><![CDATA[{$table|raw}
<div class="ipsSpacer_top ipsSpacer_double">
	<a href="{url="app=core&module=support&controller=errorLogs"}" class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="view_all"}</a>
	{{if member.hasAcpRestriction( 'core', 'support', 'diagnostic_log_settings' )}}
		&nbsp;
		<a href="{url="app=core&module=support&controller=errorLogs&do=settings"}" class="ipsButton ipsButton_light ipsButton_verySmall" data-ipsDialog data-ipsDialog-title="{lang="settings"}">{lang="settings"}</a>
	{{endif}}
</div>
]]></template>
 <template template_group="notifications" template_name="failedMail" template_data="$count, $table" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="dashboard_email_broken_desc_1" sprintf="\IPS\Member::loggedIn()->language()->formatNumber( $count )"}</p>
</div>
{{if $table}}
	<div class="ipsSpacer_top">	
		{$table|raw}
	</div>
{{endif}}
<div class="ipsType_richText ipsType_normal ipsSpacer_top ipsSpacer_double">
	<p>{lang="dashboard_email_broken_desc_2"}</p>
</div>
<div class="ipsSpacer_top">
	<a href="{url="app=core&module=settings&controller=email"}" class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="email_settings"}</a>
</div>
]]></template>
 <template template_group="notifications" template_name="index" template_data="$notifications" template_location="admin" template_app="core"><![CDATA[
<div data-controller="core.global.core.notificationList" class="cNotificationList">
	{{if isset( request.highlightedId ) and array_key_exists( request.highlightedId, $notifications )}}
		{template="indexBlock" group="notifications" params="$notifications[ \IPS\Request::i()->highlightedId ], TRUE"}
	{{endif}}
	
	{{foreach $notifications as $id => $notification}}
		{{if !isset( request.highlightedId ) or $id != request.highlightedId}}
			{template="indexBlock" group="notifications" params="$notification"}
		{{endif}}
	{{endforeach}}
	<div class="ipsPad ipsType_light ipsType_center ipsType_normal {{if \count( $notifications )}}ipsHide{{endif}}" data-role="empty">{lang="no_results_notifications"}</div>
</div>
]]></template>
 <template template_group="notifications" template_name="indexBlock" template_data="$notification, $spacer=FALSE" template_location="admin" template_app="core"><![CDATA[<div data-role="notificationBlock">
	<div class="ipsBox cNotification cNotification_{$notification->style()} ipsSpacer_bottom">
		{{$dismissible = $notification->dismissible();}}
		{{if $dismissible !== $notification::DISMISSIBLE_NO}}
			<a href="{url="app=core&module=overview&controller=notifications&do=dismiss&id={$notification->id}" csrf="true"}" class="cNotification_dismiss" title="{lang="acp_notification_dismiss_{$dismissible}"}" data-ipsTooltip data-action="dismiss">
				<i class="fa fa-times"></i>
			</a>
		{{endif}}
		<h3 class='ipsBox_titleBar'>
			{$notification->title()|raw}
		</h3>
		<div class='ipsPad'>
			{$notification->body()|raw}
		</div>
	</div>
	{{if $spacer}}
		<hr class="ipsHr ipsSpacer_both ipsSpacer_double">
	{{endif}}
</div>]]></template>
 <template template_group="notifications" template_name="licenseKey" template_data="$id, $type" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	{{if $type === 'expired' or $type === 'expireSoon'}}
		<p>{lang="license_benefits_info"}</p>
	{{else}}
		<p>{lang="dashboard_url_invalid_desc"}</p>
	{{endif}}
</div>
<ul class='ipsList_inline ipsMargin_top:half' {{if $type === 'expired' or $type === 'expireSoon'}}data-controller="core.global.core.licenseRenewal" data-surveyUrl="{url="renewal_survey" ips="true"}"{{endif}}>
	{{if $type === 'expired' or $type === 'expireSoon'}}
		<li>
			<a href='{url="renew_my_license" ips="true"}' target="_blank" class='ipsButton ipsButton_verySmall ipsButton_veryLight'>{lang="license_renew_now"}</a>
		</li>
		<li>
			<a href='{{if \IPS\Dispatcher::i()->controllerLocation === 'front'}}{url="app=core&module=system&controller=ajax&do=dismissAcpNotification&id={$id}" csrf="true"}{{else}}{url="app=core&module=overview&controller=notifications&do=dismiss&id={$id}" base="admin" csrf="true"}{{endif}}' data-action="notNow" class='ipsButton ipsButton_verySmall ipsButton_overlaid'>{lang="license_renewal_not_now"}</a>
		</li>
	{{endif}}
	<li>
		<a href='{url="app=core&module=settings&controller=licensekey&do=refresh" base="admin" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_overlaid'>{lang="license_check_again"}</a>
	</li>
</ul>]]></template>
 <template template_group="notifications" template_name="lockedTask" template_data="$task, $description" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="dashboard_tasks_broken_desc"}</p>
</div>
<ul class="ipsDataList ipsDataList_reducedSpacing ipsSpacer_top">
	<li class="ipsDataItem ipsType_break">
		<span class="ipsDataItem_generic ipsDataItem_size5 ipsType_break"><strong>{lang="task_manager_app"}</strong></span>
		<div class="ipsDataItem_generic">
			<div class="ipsType_break ipsContained">
				{{if $task->app}}
					{expression="\IPS\Application::load( $task->app )->_title"}
				{{else}}
					{expression="\IPS\Plugin::load( $task->plugin )->_title"}
				{{endif}}
			</div>
		</div>
	</li>
	<li class="ipsDataItem ipsType_break">
		<span class="ipsDataItem_generic ipsDataItem_size5 ipsType_break"><strong>{lang="task_manager_key"}</strong></span>
		<div class="ipsDataItem_generic">
			<div class="ipsType_break ipsContained">
				{$task->key}
				{{if $description}}
					<br>
					<span class="ipsType_light">{lang="$description"}</span>
				{{endif}}
			</div>
		</div>
	</li>
	<li class="ipsDataItem ipsType_break">
		<span class="ipsDataItem_generic ipsDataItem_size5 ipsType_break"><strong>{lang="task_manager_last_run"}</strong></span>
		<div class="ipsDataItem_generic">
			<div class="ipsType_break ipsContained">
				{{if $task->last_run}}
					{datetime="$task->last_run"}
				{{else}}
					<em>{lang="never"}</em>
				{{endif}}
			</div>
		</div>
	</li>
</ul>
<div class="ipsType_richText ipsType_normal ipsSpacer_top">
	{{if $task->app and \in_array( $task->app, \IPS\IPS::$ipsApps )}}
		<p>{lang="dashboard_tasks_broken_desc_firstparty"}</p>
	{{else}}
		<p>{lang="dashboard_tasks_broken_desc_thirdparty"}</p>
	{{endif}}
</div>
<div class="ipsSpacer_top ipsSpacer_double">
	<a href="{url="app=core&module=settings&controller=advanced&do=runTask&id={$task->id}" csrf="true"}" class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="task_manager_run"}</a>
	&nbsp;
	<a href="{url="app=core&module=settings&controller=advanced&do=taskLogs&id={$task->id}"}" class="ipsButton ipsButton_light ipsButton_verySmall">{lang="task_manager_logs"}</a>
</div>]]></template>
 <template template_group="notifications" template_name="newMember" template_data="$users, $notification, $more" template_location="admin" template_app="core"><![CDATA[<div class="ipsGrid ipsGrid_collapsePhone">
	{{foreach $users as $user}}
		<div class='ipsGrid_span4 ipsBox ipsSpacer_bottom'>
			<div class='ipsClearfix'>
				<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
					{template="userPhoto" app="core" group="global" params="$user, 'mini'"}
					<div>			
						<h4 class='ipsType_reset ipsType_large'><strong><a href='{$user->acpUrl()}'>{$user->name}</a></strong> <span class='ipsType_light ipsType_unbold ipsType_small'>({$user->email})</span></h4>
						<ul class='ipsList_reset ipsType_medium'>
							<li><strong>{lang="ip_address"}</strong> {$user->ip_address}</li>
							<li><strong>{lang="block_awaiting_registered"}</strong> {datetime="$user->joined"}</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	{{endforeach}}
	{{if $more > 1}}
		<div class='ipsGrid_span4 ipsSpacer_bottom ipsType_center'>
			<div class='ipsClearfix ipsSpacer_top ipsSpacer_double'>
				<h4 class='ipsType_reset ipsType_large'><strong><a href='{url="app=core&module=members&controller=members"}'>{lang="acp_notification_NewRegComplete_more" pluralize="$more"}</a></strong></h4>
			</div>
		</div>
	{{endif}}
</div>
<div class="ipsType_light">
	<span class="ipsType_small"><i class="fa fa-info-circle"></i> {lang="acp_notification_NewRegComplete_desc" sprintf="$notification->id"}</span>
</div>]]></template>
 <template template_group="notifications" template_name="newVersion" template_data="$details" template_location="global" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal" data-ipsTruncate data-ipsTruncate-size="3 lines">
	{$details['releasenotes']|raw}
</div>
<ul class='ipsList_inline ipsSpacer_top'>
	<li>
		<a href='{url="app=core&module=system&controller=upgrade&_new=1" base="admin"}' class='ipsButton ipsButton_small ipsButton_veryLight'>{lang="upgrade_now"}</a>
	</li>
    <li>
        <a href='{url="release_notes" ips="true"}' target='_blank' rel='nofollow noopener' class='ipsButton ipsButton_small ipsButton_overlaid'>{lang="upgrade_more_information"}</a>
    </li>
</ul>]]></template>
 <template template_group="notifications" template_name="origTables" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="orig_cleanup_suggested_1"}</p>
	<p>{lang="orig_cleanup_suggested_2"}</p>
</div>
<div class="ipsSpacer_top">
	<a href="{url="app=core&module=overview&controller=notifications&do=removeOrigTables" csrf="true"}" class="ipsButton ipsButton_primary ipsButton_verySmall" data-confirm>{lang="orig_cleanup_suggested_go"}</a>
</div>]]></template>
 <template template_group="notifications" template_name="piiRequest" template_data="$users" template_location="admin" template_app="core"><![CDATA[<div class='ipsGrid ipsGrid_collapsePhone'>
	{{foreach $users as $user }}
	<div class='ipsGrid_span4 ipsBox ipsSpacer_bottom' data-role='validatingRow'>
		<div class='ipsClearfix'>
			<ul class='ipsButton_split ipsPos_right ipsPad ipsPad_half'>
				<li><a
					href='{url="app=core&module=members&controller=privacy&do=approvePii&id={$user->_privacy_id}" csrf="true"}'
					data-action='approve' class='ipsButton ipsButton_verySmall ipsButton_positive' title='{lang='approve'}' data-ipsTooltip><i class='fa fa-check'></i></a></li>
				<li><a
					href='{url="app=core&module=members&controller=privacy&do=rejectPii&id={$user->_privacy_id}" csrf="true"}'
					data-action='reject' class='ipsButton ipsButton_verySmall ipsButton_negative' title='{lang='reject'}'
					data-ipsTooltip><i class='fa fa-times'></i></a></li>
			</ul>
			<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
				{template="userPhoto" app="core" group="global" params="$user, 'mini'" }
				<div>
					<h4 class='ipsType_reset ipsType_large'><strong><a href='{$user->acpUrl()}' data-role='userName'>{$user->name}</a></strong>
						<span class='ipsType_light ipsType_unbold ipsType_small'>({$user->email})</span></h4>
					<ul class='ipsList_reset ipsType_medium'>
						<li><strong>{lang='ip_address'}</strong> {$user->ip_address}</li>
						<li><strong>{lang='block_awaiting_registered'}</strong> {datetime="$user->joined"}</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	{{endforeach}}
</div>
]]></template>
 <template template_group="notifications" template_name="popupList" template_data="$notifications" template_location="admin" template_app="core"><![CDATA[{{if \count( $notifications )}}
	{{foreach $notifications as $notification}}
		<li class="ipsDataItem cNotification_row cNotification_{$notification->style()}">
			<a href="{$notification->link()}" class='ipsType_blendLinks ipsDataItem_main'>
				<strong class="ipsDataItem_title ipsType_bold">{$notification->title()|raw}</strong>
				<br>
				<span>{$notification->subtitle()}</span>
			</a>
		</li>
	{{endforeach}}
{{else}}
	<li class="ipsDataItem">
		<div class="ipsPad ipsType_light ipsType_center ipsType_normal">{lang="no_results_notifications"}</div>
	</li>
{{endif}}]]></template>
 <template template_group="notifications" template_name="siteOffline" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>
		{lang="offline_message_desc"}
		{{if settings.task_use_cron == 'normal' AND !\IPS\CIC}}
			{lang="dasbhoard_tasks_site_offline_desc"}
		{{endif}}
	</p>
</div>]]></template>
 <template template_group="notifications" template_name="spammer" template_data="$users, $notification, $more" template_location="admin" template_app="core"><![CDATA[<div class="ipsGrid ipsGrid_collapsePhone">
	{{foreach $users as $user}}
		<div class='ipsGrid_span4 ipsBox ipsSpacer_bottom'>
			<div class='ipsClearfix'>
				<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
					{template="userPhoto" app="core" group="global" params="$user['member'], 'mini'"}
					<div>
						<h4 class='ipsType_reset ipsType_large'><strong><a href='{$user['member']->acpUrl()}' data-role="userName">{$user['member']->name}</a></strong> &nbsp;&nbsp;<span class='ipsType_light ipsType_unbold ipsType_normal'>({$user['member']->email})</span></h4>
						<p class="ipsType_reset ipsType_small">{$user['blurb']}</p>
					</div>
				</div>
			</div>
		</div>
	{{endforeach}}
	{{if $more > 1}}
		<div class='ipsGrid_span4 ipsSpacer_bottom ipsType_center'>
			<div class='ipsClearfix ipsSpacer_top ipsSpacer_double'>
				<h4 class='ipsType_reset ipsType_large'><strong><a href='{url="app=core&module=members&controller=members&filter=members_filter_spam"}'>{lang="acp_notification_NewRegComplete_more" pluralize="$more"}</a></strong></h4>
			</div>
		</div>
	{{endif}}
</div>
<div class="ipsType_light">
	<span class="ipsType_small"><i class="fa fa-info-circle"></i> {lang="acp_notification_Spammer_desc" sprintf="$notification->id"}</span>
</div>]]></template>
 <template template_group="notifications" template_name="supportAccountPresent" template_data="$member" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="dashboard_support_account_desc"}</p>
</div>
<div class="ipsSpacer_top">
	<a href="{$member->acpUrl()}" class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="view_support_account"}</a>
	&nbsp;
	<a href="{$member->acpUrl()->setQueryString('do', 'delete')}" data-confirm class="ipsButton ipsButton_negative ipsButton_verySmall">{lang="delete"}</a>
</div>]]></template>
 <template template_group="notifications" template_name="systemRecommendations" template_data="$advice" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="system_check_recommended_blurb"}</p>
</div>
<ul class="ipsSpacer_top">
	{{foreach $advice as $item}}
		<li>
			{$item}
		</li>
	{{endforeach}}
</ul>
<div class="ipsType_richText ipsType_normal ipsSpacer_top">
	<p>{lang="system_check_recommended_footer"}</p>
</div>]]></template>
 <template template_group="notifications" template_name="tasksNotRunning" template_data="$notification, $cronCommand, $webCronUrl" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	{{if \IPS\Settings::i()->task_use_cron === 'cron'}}
		<p>{lang="dashboard_tasks_cron_broken_desc_1"}</p>
		<p>{lang="dashboard_tasks_cron_broken_desc_2"}</p>
		<pre class="ipsType_code">{$cronCommand}</pre>
	{{elseif \IPS\Settings::i()->task_use_cron === 'web'}}
		<p>{lang="dashboard_tasks_web_broken_desc_1"}</p>
		<p>{lang="dashboard_tasks_web_broken_desc_2"}</p>
		<pre class="ipsType_code">{$webCronUrl}</pre>
	{{else}}
		<p>{lang="dashboard_tasks_not_enough_desc"}</p>
	{{endif}}
</div>
<div class="ipsSpacer_top ipsSpacer_double">
	<a href='{url="app=core&module=settings&controller=advanced&tab=settings&searchResult=task_use_cron"}' class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="help_me_fix_this"}</a>
	&nbsp; <span class="ipsType_small"><i class="fa fa-info-circle"></i> {lang="dashboard_tasks_fix_info" sprintf="$notification->id"}</span>
</div>]]></template>
 <template template_group="notifications" template_name="usernameLoginEnabled" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsType_richText ipsType_normal">
	<p>{lang="username_login_enabled_desc"}</p>
</div>
<div class="ipsSpacer_top">
	<a href="{url="app=core&module=settings&controller=login"}" class="ipsButton ipsButton_primary ipsButton_verySmall">{lang="username_login_enabled_button"}</a>
</div>]]></template>
 <template template_group="online" template_name="onlineUsersList" template_data="$table, $totalCount" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('online_users')"}
<br>
<div class='ipsBox'>
	<h2 class='ipsType_sectionTitle ipsType_reset ipsType_medium'>{lang="online_user_count" pluralize="$totalCount"}</h2>
	{$table|raw}
</div>]]></template>
 <template template_group="online" template_name="onlineUsersRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if !empty($rows) }}
	{{foreach $rows as $row}}
		<li class='ipsGrid_span4 ipsPhotoPanel ipsPhotoPanel_small ipsClearfix cOnlineUser {{if $row['login_type'] == \IPS\Session\Front::LOGIN_TYPE_ANONYMOUS}}ipsFaded{{endif}}'>
			{$row['photo']|raw}
			<div>
				<div class='ipsContained'>
					<h3 class='ipsType_reset ipsType_normal'>
						{{if $row['login_type'] == \IPS\Session\Front::LOGIN_TYPE_ANONYMOUS}}
							<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_style6" title='{lang="signed_in_anoymously"}' data-ipsTooltip><i class='fa fa-eye'></i></span>
						{{endif}}
						{$row['member_name']|raw}
					</h3>
					<p class='ipsType_reset ipsTruncate ipsTruncate_line ipsType_break'>{$row['location_lang']|raw}</p>
					<p class='ipsType_reset ipsTruncate ipsTruncate_line ipsType_light'>
						{$row['running_time']}
						{{if \IPS\Member::loggedIn()->modPermission( 'can_use_ip_tools' )}}
							&nbsp;&middot;&nbsp;
							{{if \IPS\Member::loggedIn()->modPermission('can_use_ip_tools') and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) )}}
								<a href="{url="app=core&module=modcp&controller=modcp&tab=ip_tools&ip={$row['ip_address']}" seoTemplate="modcp_ip_tools"}">{$row['ip_address']}</a>
							{{else}}
								{$row['ip_address']}
							{{endif}}
						{{endif}}
					</p>
				</div>
			</div>
		</li>
	{{endforeach}}
{{else}}
	<li>{lang="online_users_no_results"}</li>
{{endif}}]]></template>
 <template template_group="online" template_name="onlineUsersTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}'>
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		{{if !empty( $table->filters )}}
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'filter' => '', 'group' => \IPS\Request::i()->group ) )->setPage( 'page', 1 )}' class='{{if !array_key_exists( $table->filter, $table->filters )}}ipsButtonRow_active{{endif}}'>{lang="all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'group' => \IPS\Request::i()->group ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			</ul>
		{{endif}}
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	</div>

	<ol class='ipsList_reset ipsPad ipsGrid ipsGrid_collapsePhone ipsClear' data-ipsGrid data-role='tableRows'>
		{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
	</ol>

	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
	</div>
</div>]]></template>
 <template template_group="plugins" template_name="details" template_data="$plugin" template_location="admin" template_app="core"><![CDATA[<table class='ipsTable'>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="plugin_name"}</strong>
		</td>
		<td class="field_field">
			{$plugin->name}
		</td>
	</tr>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="plugin_details_version"}</strong>
		</td>
		<td class="field_field">
			{lang="plugin_version" sprintf="$plugin->version_human, $plugin->version_long"}
		</td>
	</tr>
	<tr>
		<td class="field_title">
			<strong class="title">{lang="plugin_author_details"}</strong>
		</td>
		<td class="field_field">
			{$plugin->author}{{if $plugin->website}} <a href='{$plugin->website()}' target='_blank' rel='noreferrer'><i class="fa fa-external-link-square" title='{$plugin->website}'></i></a>{{endif}}
		</td>
	</tr>
</table>
]]></template>
 <template template_group="plugins" template_name="pluginRowDescription" template_data="$plugin" template_location="admin" template_app="core"><![CDATA[
{{if $plugin->author != '' OR $plugin->website != '' }}
{{if $plugin->author != '' }} {lang="byline_nodate" sprintf="$plugin->author"}{{endif}}{{if $plugin->website}} {template="basicUrl" group="global" app="core" location="global" params="$plugin->website(), TRUE, $plugin->website(), TRUE, TRUE, TRUE"}{{endif}}
{{endif}}]]></template>
 <template template_group="popular" template_name="memberRow" template_data="$member, $rep=NULL, $trophy=0, $contentLabel='members_member_posts', $contentCount='member_posts'" template_location="front" template_app="core"><![CDATA[{{$rep = $rep ?: $member->pp_reputation_points;}}
{{$contentCount = $contentCount ? $member->$contentCount : $member->member_posts;}}
<li class="ipsGrid_span3 ipsStreamItem ipsStreamItem_contentBlock ipsStreamItem_member cTopMembers_member ipsBox ipsBox--child ipsPadding ipsType_center">
	{{if $trophy}}
	<span class="ipsLeaderboard_trophy ipsLeaderboard_trophy_{$trophy}">
		<i class="fa fa-trophy"></i>
	</span>
	{{endif}}
	{template="userPhoto" group="global" app="core" params="$member, 'medium'"}
	<div class='ipsStreamItem_container'>
		<div class='ipsStreamItem_header ipsSpacer_top ipsSpacer_half'>
			<h2 class='ipsType_reset ipsStreamItem_title ipsTruncate ipsTruncate_line' data-searchable>
				{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
					{template="userLink" app="core" group="global" params="$member"}
				{{else}}
					{$member->name}
				{{endif}}
			</h2>
			<p class='ipsType_reset ipsType_medium'>{$member->groupName|raw}</p>
		</div>

		<hr class='ipsHr ipsHr_small'>

		<ul class='ipsList_reset ipsGrid'>
			<li class='ipsGrid_span6 ipsList_reset ipsType_center'>
				<h3 class='ipsType_minorHeading ipsType_unbold'>
					{{if \IPS\Content\Reaction::isLikeMode()}}
						{lang="rep_system_like"}
					{{else}}
						{lang="rep_level_points"}
					{{endif}}
				</h3>
				<p class='ipsType_reset ipsTruncate ipsTruncate_line'>
					{{if member.group['gbw_view_reps']}}
						<a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}' title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge ipsType_medium {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</a>
					{{else}}
						<span title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge ipsType_medium {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</span>
					{{endif}}
				</p>
			</li>
			<li class='ipsGrid_span6 ipsList_reset ipsType_center'>
				<h3 class='ipsType_minorHeading ipsType_unbold'>{lang="{$contentLabel}"}</h3>
				<p class='ipsType_reset ipsTruncate ipsTruncate_line ipsType_medium'>{number="$contentCount"}</p>
			</li>
		</ul>

		<hr class='ipsHr ipsHr_small'>
		{{$showFollowButton = ( \IPS\Member::loggedIn()->member_id != $member->member_id and ( !$member->members_bitoptions['pp_setting_moderate_followers'] or \IPS\Member::loggedIn()->following( 'core', 'member', $member->member_id ) ) );}}
		<ul class='ipsList_reset {{if ! $showFollowButton}}cTopMembers_NoFollowButton{{endif}}'>
			<li class='{{if $showFollowButton}}ipsSpacer_bottom ipsSpacer_half{{endif}}'>
				<a href='{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_fullWidth ipsButton_light ipsButton_small'>{lang="find_content"}</a>
			</li>
			{{if $showFollowButton}}
				<li>
					{template="memberFollow" app="core" group="profile" params="'core', 'member', $member->member_id, $member->followersCount(), TRUE"}
				</li>
			{{else}}
				<li></li>
			{{endif}}
		</ul>
	</div>
</li>]]></template>
 <template template_group="popular" template_name="popularItem" template_data="$indexData, $articles, $authorData, $itemData, $unread, $objectUrl, $itemUrl, $containerUrl, $containerTitle, $repCount, $showRepUrl, $snippet, $iPostedIn, $view, $canIgnoreComments=FALSE" template_location="front" template_app="core"><![CDATA[<li class='ipsStreamItem ipsStreamItem_expanded ipsStreamItem_contentBlock ipsBox ipsBox--child'>
	<div class='cPopularItem ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap ipsGap_row:5'>
		<div class='cPopularItem_content ipsFlex-flex:11'>
			<div class='ipsContained_container'>
				<div class="ipsStreamItem_header ipsPhotoPanel ipsPhotoPanel_mini">
					{template="userPhoto" group="global" app="core" params="\IPS\Member::load( $indexData['index_author'] ), 'mini'"}
					<div>
						<h2 class="ipsType_reset ipsStreamItem_title ipsContained ipsType_break">
							{{if !\IPS\Content\Reaction::isLikeMode()}}
								{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$itemClass = $indexData['index_class']::$itemClass;}}
									<a href='{$objectUrl}'>{$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['title'] ]}</a>
								{{else}}
									<a href='{$objectUrl}'>{$indexData['index_title']}</a>
								{{endif}}
							{{else}}
								{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$itemClass = $indexData['index_class']::$itemClass;}}
									<a href='{$itemUrl}'>{$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['title'] ]}</a>
								{{else}}
									<a href='{$objectUrl}'>{$indexData['index_title']}</a>
								{{endif}}
							{{endif}}
						</h2>
						{{if member.group['gbw_view_reps']}}			
						<p class="ipsType_reset ipsStreamItem_status ipsType_light ipsType_blendLinks">
							{{$membersLiked = \IPS\Member::load( $indexData['rep_data']['member_id'] )->link();}}
							{{if $indexData['rep_data']['total_rep'] == 2}}
								{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_one_other', FALSE, array( 'htmlsprintf' => array( $membersLiked, $objectUrl->setQueryString( array( 'do' => 'showReactionsReview', 'review' => $indexData['index_object_id'] ) ) ) ) );}}
								{{elseif \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_one_other', FALSE, array( 'htmlsprintf' => array( $membersLiked, $objectUrl->setQueryString( array( 'do' => 'showReactionsComment', 'comment' => $indexData['index_object_id'] ) ) ) ) );}}
								{{else}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_one_other', FALSE, array( 'htmlsprintf' => array( $membersLiked, $objectUrl->setQueryString('do', 'showReactions') ) ) );}}
								{{endif}}
							{{elseif $indexData['rep_data']['total_rep'] > 2}}
								{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_x_other', FALSE, array( 'htmlsprintf' => array( \IPS\Member::load( $indexData['rep_data']['member_id'] )->link(), $objectUrl->setQueryString( array( 'do' => 'showReactionsReview', 'review' => $indexData['index_object_id'] ) ), $indexData['rep_data']['total_rep']-1 ) ) );}}
								{{elseif \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_x_other', FALSE, array( 'htmlsprintf' => array( \IPS\Member::load( $indexData['rep_data']['member_id'] )->link(), $objectUrl->setQueryString( array( 'do' => 'showReactionsComment', 'comment' => $indexData['index_object_id'] ) ), $indexData['rep_data']['total_rep']-1 ) ) );}}
								{{else}}
									{{$membersLiked = \IPS\Member::loggedIn()->language()->addToStack( 'replog_member_and_x_other', FALSE, array( 'htmlsprintf' => array( $membersLiked, $objectUrl->setQueryString('do', 'showReactions'), $indexData['rep_data']['total_rep']-1 ) ) );}}
								{{endif}}
							{{endif}}
							{{if !\IPS\Content\Reaction::isLikeMode()}}
								{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$itemClass = $indexData['index_class']::$itemClass;}}
									{{if $indexData['rep_data']['member_received']}}
										{lang="replog_rate_item_gave_no_in" htmlsprintf="$membersLiked, \IPS\Member::load( $indexData['rep_data']['member_received'] )->link(), $articles['indefinite']"} 
									{{else}}
										{lang="replog_rate_item_gave_no_recipient_no_in" htmlsprintf="$membersLiked, $articles['indefinite']"} 
									{{endif}}
								{{else}}
									{{if $indexData['rep_data']['member_received']}}
										{lang="replog_rate_item_gave_no_in" htmlsprintf="$membersLiked, \IPS\Member::load( $indexData['rep_data']['member_received'] )->link(), $articles['indefinite']"}
									{{else}}
										{lang="replog_rate_item_gave_no_recipient_no_in" htmlsprintf="$membersLiked, $articles['indefinite']"} 
									{{endif}}
								{{endif}}
							{{else}}
								{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
									{{$itemClass = $indexData['index_class']::$itemClass;}}
									{{if $indexData['rep_data']['member_received']}}
										{lang="replog_like_comment_no_in" htmlsprintf="$membersLiked, $objectUrl, $articles['indefinite'], \IPS\Member::load( $indexData['rep_data']['member_received'] )->link()"} 
									{{else}}
										{lang="replog_like_comment_no_recipient_no_in" htmlsprintf="$membersLiked, $objectUrl, $articles['indefinite']"}
									{{endif}}
								{{else}}
									{{if $indexData['rep_data']['member_received']}}
										{lang="replog_like_item_no_in" htmlsprintf="$membersLiked, $articles['indefinite'], \IPS\Member::load( $indexData['rep_data']['member_received'] )->link()"}
									{{else}}
										{lang="replog_like_item_no_recipient_no_in" htmlsprintf="$membersLiked, $articles['indefinite']"}
									{{endif}}
								{{endif}}
							{{endif}}
						</p>
						{{endif}}
					</div>
				</div>
				{{if $snippet}}
					<div class="ipsStreamItem_snippet ipsType_break">
						<div class="ipsType_richText ipsContained ipsType_medium">
							{$snippet|raw}
						</div>			
					</div>
				{{endif}}
				<ul class="ipsList_inline ipsStreamItem_meta">
					<li class="ipsType_light ipsType_medium">
						<a href="{$objectUrl}" class="ipsType_blendLinks"><i class="fa fa-clock-o"></i> {datetime="$indexData['index_date_updated']"}</a>
					</li>					
				</ul>
			</div>
		</div>
		<div class='cPopularItem_stats ipsFlex-flex:00 ipsType_center'>
			{{if \IPS\Content\Reaction::isLikeMode()}}
				{{if member.group['gbw_view_reps']}}
					{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}
						<a href='{$objectUrl->setQueryString( array( 'do' => 'showReactionsReview', 'review' => $indexData['index_object_id'] ) )}' data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="like_log_title"}' title="{lang="see_who_liked"}" data-ipsToolTip><i class='fa fa-heart'></i> {$indexData['rep_data']['total_rep']}</a>
					{{elseif \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
						<a href='{$objectUrl->setQueryString( array( 'do' => 'showReactionsComment', 'comment' => $indexData['index_object_id'] ) )}' data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="like_log_title"}' title="{lang="see_who_liked"}" data-ipsToolTip><i class='fa fa-heart'></i> {$indexData['rep_data']['total_rep']}</a>
					{{else}}
						<a href='{$objectUrl->setQueryString( array( 'do' => 'showReactions' ) )}' data-ipsDialog data-ipsDialog-destructOnClose data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="like_log_title"}' title="{lang="see_who_liked"}" data-ipsToolTip><i class='fa fa-heart'></i> {$indexData['rep_data']['total_rep']}</a>
					{{endif}}
				{{else}}
					<i class='fa fa-heart'></i> {$indexData['rep_data']['total_rep']}
				{{endif}}
				<span>{lang="like_blurb_pluralized" pluralize="$indexData['rep_data']['total_rep']"}</span>
			{{else}}
				{{if $indexData['rep_data']['rep_rating'] === 1}}
					<i class='fa fa-arrow-up'></i>
				{{else}}
					<i class='fa fa-down-up'></i>
				{{endif}} {$indexData['rep_data']['total_rep']}
				<span>{lang="rep_level_points_pluralized" pluralize="$indexData['rep_data']['total_rep']"}</span>
			{{endif}}
		</div>
	</div>
</li>
]]></template>
 <template template_group="popular" template_name="popularItems" template_data="$results" template_location="front" template_app="core"><![CDATA[{{$currentSeparator = NULL;}}
{{if \count( $results )}}
	{{foreach $results as $result}}
		{{if $result !== NULL}}
			{$result->html( 'expanded', FALSE, TRUE, array( \IPS\Theme::i()->getTemplate( 'popular', 'core', 'front' ), 'popularItem' ) )|raw}
		{{endif}}
	{{endforeach}}
{{else}}
	<li class='ipsType_center ipsPad' data-role="streamNoResultsMessage">
		<p class='ipsType_reset ipsType_light ipsType_normal'>
			{lang="popular_no_results"}
		</p>
	</li>
{{endif}}]]></template>
 <template template_group="popular" template_name="popularRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if empty( $rows )}}
	<li class='ipsAreaBackground_light ipsPad_double ipsType_light ipsType_center'>
		{lang="no_results"}
	</li>
{{else}}
	{{$currentDate = null;}}
	{{$rowCounts = array();}}
	{{foreach $rows as $r}}
		{{$nextDate = md5( $r['leader_date']->dayAndMonth() . $r['leader_date']->format('Y') );}}
		
		{{if $currentDate !== $nextDate}}
			<li class='cPastLeaders_row'>
				<h2 class='cPastLeaders_title ipsType_withHr ipsType_sectionHead'>
					<a href="{url="app=core&module=discover&controller=popular&tab=leaderboard&custom_date_start={$r['leader_date']->getTimeStamp()}&custom_date_end={$r['leader_date']->getTimeStamp()}" seoTemplate="leaderboard_leaderboard"}">{$r['leader_date']->dayAndMonth()} {$r['leader_date']->format('Y')}</a>
				</h2>
				<div class='cPastLeaders_grid ipsFlex ipsFlex-fw:wrap ipsGap'>
		{{endif}}
			{{if ! $r['leader_member_id']->member_id or ! $r['leader_rep_total']}}
					<div class='ipsFlex-flex:11'>
						<div class='cPastLeaders_cell cPastLeaders_cellEmpty'></div>
					</div>
			{{else}}
					<div class='ipsFlex-flex:11'>
						<div class='cPastLeaders_cell' data-position='{lang="leader_position_{$r['leader_position']}_short"}'>
							<span class="ipsLeaderboard_trophy ipsLeaderboard_trophy_{$r['leader_position']}" data-ipsTooltip title="{lang="leader_position_{$r['leader_position']}"}">
								<i class="fa fa-trophy"></i>
							</span>
							<div class='ipsPhotoPanel ipsPhotoPanel_mini'>
								{template="userPhoto" group="global" app="core" params="$r['leader_member_id'], 'mini'"}
								<div>
									<p class='ipsType_reset cPastLeaders_user ipsType_blendLinks ipsTruncate ipsTruncate_line ipsType_bold ipsType_large'>{$r['leader_member_id']->link()|raw}</p>
									<p class='ipsType_reset cPastLeaders_rep'>
										{{if \IPS\Content\Reaction::isLikeMode()}}
											{lang="received_x_likes" pluralize="$r['leader_rep_total']"}
										{{else}}
											{lang="received_x_points" pluralize="$r['leader_rep_total']"}
										{{endif}}
									</p>
								</div>								
							</div>
						</div>
					</div>
		{{endif}}
		{{if !isset( $rowCounts[ $nextDate ] )}}
			{{$rowCounts[ $nextDate ] = 1;}}
		{{else}}
			{{$rowCounts[ $nextDate ]++;}}
		{{endif}}
		{{$currentDate = $nextDate;}}
	{{endforeach}}
				</div>
			</li>
{{endif}}]]></template>
 <template template_group="popular" template_name="popularTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl="{$table->baseUrl}" data-resort='{$table->resortKey}' data-tableID='pastLeaders' data-controller="core.global.core.genericTable">
	<div class="ipsClear ipsClearfix">
		<div data-role="tablePagination" class='{{if $table->pages <= 1}}ipsHide{{endif}} ipsSpacer_bottom'>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
		<ol class='ipsList_reset ipsPad cPastLeaders' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	</div>
</div>]]></template>
 <template template_group="popular" template_name="popularWrapper" template_data="$results, $areas, $topContributors, $dates, $description, $form, $tzOffsetDifference" template_location="front" template_app="core"><![CDATA[{{if \IPS\Content\Search\Query::isRebuildRunning()}}
	<div class="ipsMessage ipsMessage_info">{lang="popular_rebuild_is_running"}</div>
{{endif}}
{{$now = \IPS\DateTime::ts( time() );}}
{{$thisUrl = \IPS\Request::i()->url();}}

<div>
    <div class="ipsReputationFilters ipsPad_half ipsClearfix ipsClear">
        {{if \count( $dates )}}
        <ul class="ipsButtonRow ipsPos_right ipsClearfix">
            <li>
                <a href='#elLeaderboard_app_menu' id="elLeaderboard_app" data-ipsMenu>{{if isset( \IPS\Request::i()->in ) and isset( $areas[ \IPS\Request::i()->in ] )}}{lang="leaderboard_in_app" sprintf="$areas[ \IPS\Request::i()->in ][1]"}{{else}}{lang="leaderboard_in_all_apps"}{{endif}} <i class="fa fa-caret-down"></i></a>
                <ul id="elLeaderboard_app_menu" class="ipsMenu ipsMenu_selectable ipsMenu_normal ipsHide">
                    <li class="ipsMenu_item {{if ! isset( \IPS\Request::i()->in )}}ipsMenu_itemChecked{{endif}}"><a href="{$thisUrl->stripQueryString( 'in' )}" rel="nofollow">{lang="leaderboard_all_apps"}</a></li>
                    {{foreach $areas as $key => $data}}
                    <li class="ipsMenu_item {{if isset( \IPS\Request::i()->in ) and \IPS\Request::i()->in == $key}}ipsMenu_itemChecked{{endif}}"><a href="{$thisUrl->setQueryString( array( 'in' => $key ) )}" rel="nofollow">{$data[1]}</a></li>
                    {{endforeach}}
                </ul>
            </li>
            <li>
                <a href='#elLeaderboard_time_menu' id="elLeaderboard_time" data-ipsMenu>
                    {{if isset( \IPS\Request::i()->custom_date_start ) or isset( \IPS\Request::i()->custom_date_end )}}
                    {lang="custom_date"}
                    {{elseif isset( \IPS\Request::i()->time ) and isset( $dates[ \IPS\Request::i()->time ] ) and $setTime = \IPS\Request::i()->time}}
                    {lang="leaderboard_time_$setTime"}
                    {{else}}
                    {lang="leaderboard_time_oldest"}
                    {{endif}}
                    <i class="fa fa-caret-down"></i>
                </a>
                <ul id="elLeaderboard_time_menu" class="ipsMenu ipsMenu_selectable ipsMenu_normal ipsHide">
                    {{foreach $dates as $human => $timeObject}}
                    <li class="ipsMenu_item {{if ( ! isset( \IPS\Request::i()->time ) and ( ! isset( \IPS\Request::i()->custom_date_start ) and ! isset( \IPS\Request::i()->custom_date_end ) ) and $human == 'oldest' ) or ( ! isset( \IPS\Request::i()->custom_date_start ) and ( isset( \IPS\Request::i()->time ) and \IPS\Request::i()->time == $human ) )}}ipsMenu_itemChecked{{endif}}">
                        <a href="{$thisUrl->stripQueryString( array('custom_date_start', 'custom_date_end') )->setQueryString( array( 'time' => $human ) )}" rel="nofollow">
                            {lang="leaderboard_time_$human"}
                            <p class="ipsTruncate ipsTruncate_line ipsType_reset ipsType_light">
                                {$timeObject->dayAndMonth()} {$timeObject->format('Y')}{{if $now->localeDate() != $timeObject->localeDate()}} - {$now->dayAndMonth()} {$now->format('Y')}{{endif}}
                            </p>
                        </a>
                    </li>
                    {{endforeach}}
                    <li class="ipsMenu_item {{if isset( \IPS\Request::i()->custom_date_start ) or isset( \IPS\Request::i()->custom_date_end )}}ipsMenu_itemChecked{{endif}}">
                        <a href="#" rel="nofollow" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-content='#elDateForm' data-ipsDialog-title="{lang="custom_date"}">{lang="custom_date"}
                        {{if isset( \IPS\Request::i()->custom_date_start ) or isset( \IPS\Request::i()->custom_date_end )}}
                        <p class="ipsType_reset ipsType_light">
                            {{if isset( \IPS\Request::i()->custom_date_start )}}
                            {datetime="\IPS\Request::i()->custom_date_start" dateonly="true"}
                            {{if isset( \IPS\Request::i()->custom_date_end )}} - {{endif}}
                            {{endif}}
                            {{if isset( \IPS\Request::i()->custom_date_end )}}
                            {datetime="\IPS\Request::i()->custom_date_end" dateonly="true"}
                            {{endif}}
                        </p>
                        {{endif}}
                        </a>
                    </li>
                </ul>
                <div class="ipsHide" id="elDateForm">
                    {$form|raw}
                </div>
            </li>
        </ul>
        {{endif}}
    </div>
	{{if \count( $topContributors)}}
        {{$count = 0;}}
        <ol class="ipsPadding sm:ipsPadding:none ipsStream ipsList_reset cStream_members ipsGrid ipsGrid_collapsePhone" data-ipsGrid data-ipsGrid-minItemSize='230' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
            {{foreach $topContributors as $memberId => $rep}}
                {{$count++;}}
                {{$member = \IPS\Member::load( $memberId );}}
                {template="memberRow" group="popular" app="core" params="$member, $rep, $count"}
            {{endforeach}}
        </ol>
	{{else}}
		<p class='ipsAreaBackground_light ipsType_center ipsPad ipsType_reset ipsType_light ipsType_normal'>
			{lang="popular_no_member_results"}
		</p>
	{{endif}}
</div>
<section class='ipsPadding sm:ipsPadding:none sm:ipsMargin_top' data-controller='core.front.core.ignoredComments'>
    <h2 class='ipsType_pageTitle ipsType_reset'>{lang="popular_results_title"}</h2>
    <p class="ipsType_reset ipsType_medium">{$description}</p>            
    <div data-role='popularResults' class='ipsMargin_top'>
        <ol class='ipsStream ipsList_reset' data-role='popularContent'>
            {template="popularItems" group="popular" app="core" params="$results"}
        </ol>
    </div>
</section>
{{if $tzOffsetDifference !== NULL}}
	<div class='ipsPad ipsType_center ipsType_light ipsType_small'>
		{lang="popular_timezone" sprintf="\IPS\Member::loggedIn()->language()->addToStack('timezone__' . \IPS\Settings::i()->reputation_timezone), $tzOffsetDifference"}
	</div>
{{endif}}]]></template>
 <template template_group="popular" template_name="tabs" template_data="$tabs, $activeTab, $content" template_location="front" template_app="core"><![CDATA[
<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom'>
	<h1 class='ipsType_pageTitle'>{lang="leaderboard_title"}</h1>
</div>

{{$icons = array('leaderboard' => 'trophy', 'history' => 'clock-o', 'members' => 'star', 'trending' => 'line-chart');}}
<div class='ipsTabs ipsTabs_contained ipsTabs_withIcons ipsTabs_large ipsTabs_stretch ipsClearfix ipsResponsive_pull' id='elTabBar' data-ipsTabBar data-ipsTabbar-defaultTab="elTab{$activeTab}" data-ipsTabBar-contentArea='#elLeaderboardContent'>
	<a href='#elTabBar' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
	<ul role='tablist'>
		{{foreach $tabs as $key}}
		<li role='presentation'>
			{{$seoTemplate = 'leaderboard_' . $key;}}
			<a href='{url="app=core&module=discover&controller=popular&tab={$key}" seoTemplate="$seoTemplate"}' role='tab' id='elTab{$key}' class='ipsType_center ipsTabs_item {{if $key == $activeTab}}ipsTabs_activeItem{{endif}}' {{if $key == $activeTab}}aria-selected="true"{{endif}}>
				<i class='fa fa-{$icons[$key]}'></i>
				{lang="leaderboard_tabs_{$key}"}
			</a>
		</li>
		{{endforeach}}
	</ul>
</div>
<section id='elLeaderboardContent' class="ipsTabs_panels ipsTabs_contained ipsResponsive_pull">
	<div id='ipsTabs_elTabBar_elTab{$activeTab}_panel' aria-labelledby='elTab{$activeTab}' aria-hidden='false' class='ipsTabs_panel ipsPadding'>
		{$content|raw}
	</div>
</section>]]></template>
 <template template_group="popular" template_name="topMembers" template_data="$url, $filters, $activeFilter, $output" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$url}' data-resort='topMembers' data-tableID='topMembers' data-controller='core.global.core.table'>
	<div class="ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			<li>
				<a href="#elFilterByMenu_menu" id="elFilterByMenu" data-role='tableFilterMenu' data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio"><span data-role="extraHtml">{$filters[ $activeFilter ]}</span> <i class="fa fa-caret-down"></i></a>
				<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' data-role="tableFilterMenu" id='elFilterByMenu_menu'>
					{{foreach $filters as $k => $v}}
						<li data-action="tableFilter" data-ipsMenuValue='{expression="str_replace( array( 'IPS\\', '\\' ), array( '', '_' ), $k )"}' class='ipsMenu_item {{if $k === $activeFilter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$url->setQueryString( array( 'filter' => str_replace( array( 'IPS\\', '\\' ), array( '', '_' ), $k ) ) )}' rel="nofollow">{$v}</a>
						</li>
					{{endforeach}}
				</ul>
			</li>
		</ul>
	</div>
	<section data-role="tableRows">
		{$output|raw}
	</section>
	<div class="ipsHide" data-role="tablePagination"></div>
</div>
]]></template>
 <template template_group="popular" template_name="topMembersOverview" template_data="$filters" template_location="front" template_app="core"><![CDATA[{{foreach $filters as $k => $lang}}
	{template="topMembersResults" group="popular" params="$k, $lang, \IPS\Member::topMembers( $k, \IPS\Settings::i()->reputation_overview_max_members )"}
{{endforeach}}]]></template>
 <template template_group="popular" template_name="topMembersResults" template_data="$filter, $title, $results" template_location="front" template_app="core"><![CDATA[<div class="ipsPadding sm:ipsPadding:none ipsSpacer_bottom">
	{{if $title}}
		<h2 class="ipsType_pageTitle ipsMargin_bottom">{$title}</h2>
	{{endif}}
	{{if \count( $results )}}
		<ol class="ipsStream ipsList_reset cStream_members ipsGrid ipsGrid_collapsePhone" data-ipsGrid data-ipsGrid-minItemSize='230' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
			{{foreach $results as $member}}
				{{if \in_array( $filter, array( 'pp_reputation_points', 'member_posts' ) )}}
					{template="memberRow" group="popular" app="core" params="$member"}
				{{else}}
					{template="memberRow" group="popular" app="core" params="$member, NULL, 0, $filter::$title . '_pl_lc', '_customCount'"}
				{{endif}}
			{{endforeach}}
		</ol>
	{{else}}
		<p class='ipsType_light'>
			{lang="no_results"}
		</p>
	{{endif}}
</div>]]></template>
 <template template_group="profile" template_name="allFollowers" template_data="$member, $followers, $followersCount" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	<h3 class='ipsType_sectionHead'>{lang="members_followers" sprintf="$member->name"}</h3>
	<br>
{{endif}}
{{if $followersCount > 50}}
	{{$url = \IPS\Http\Url::internal( "app=core&module=members&controller=profile&do=followers&id={$member->member_id}", 'front', 'profile_followers', $member->members_seo_name );}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<div data-role="tablePagination">
			{template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), (int) \IPS\Request::i()->page ?: 1, 50"}
		</div>
	</div>
{{endif}}
<br>
<ul class='ipsDataList'>
	{{if $followers !== NULL and \count( $followers )}}
		{{foreach $followers AS $follower}}
			<li class='ipsDataItem ipsClearfix {{if $follower['follow_is_anon']}}ipsFaded{{endif}}'>
				<div class='ipsDataItem_icon ipsPos_top'>
					{template="userPhoto" app="core" group="global" params="\IPS\Member::load($follower['follow_member_id']), 'tiny', NULL, '', FALSE"}<br>
				</div>
				<div class='ipsDataItem_main'>
					{{if \IPS\Member::loggedIn()->member_id != $follower['follow_member_id'] and ( !\IPS\Member::load($follower['follow_member_id'])->members_bitoptions['pp_setting_moderate_followers'] or \IPS\Member::loggedIn()->following( 'core', 'member', $follower['follow_member_id'] ) )}}
						<div class='ipsPos_right'>{template="memberFollow" app="core" group="profile" params="'core', 'member', $follower['follow_member_id'], \IPS\Member::load( $follower['follow_member_id'] )->followersCount(), TRUE"}</div>
					{{endif}}
					<strong class='ipsDataItem_title'>{expression="\IPS\Member::load($follower['follow_member_id'])->link( NULL, FALSE )" raw="true"}</strong> {{if $follower['follow_is_anon']}} {lang="anon_follower"}{{endif}}<br>
					{expression="\IPS\Member\Group::load( \IPS\Member::load($follower['follow_member_id'])->member_group_id )->formattedName" raw="true"}
				</div>
			</li>
		{{endforeach}}
	{{endif}}
</ul>
{{if $followersCount > 50}}
	<br>
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<div data-role="tablePagination">
			{template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), (int) \IPS\Request::i()->page ?: 1, 50"}
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="profile" template_name="fieldTab" template_data="$field, $value" template_location="front" template_app="core"><![CDATA[<h2 class='ipsType_pageTitle ipsSpacer_top'>{lang="$field"}</h2>
<div class='ipsType_richText ipsType_normal ipsSpacer_top' data-controller='core.front.core.lightboxedImages'>
	{$value|raw}
</div>
]]></template>
 <template template_group="profile" template_name="followers" template_data="$member, $followers" template_location="front" template_app="core"><![CDATA[
<h2 class='ipsWidget_title ipsType_reset'>
	{{if \IPS\Member::loggedIn()->member_id === $member->member_id}}
		<a href='#elFollowPref_menu' data-role='followOption' data-ipsMenu data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elFollowers' id='elFollowPref' class='ipsType_blendLinks ipsType_small ipsPos_right'>{lang="options"} <i class='fa fa-caret-down'></i></a>
		<ul id='elFollowPref_menu' class='ipsMenu ipsMenu_selectable ipsMenu_normal ipsHide'>
			<li data-ipsMenuValue='enable' class='ipsMenu_item {{if !$member->members_bitoptions['pp_setting_moderate_followers']}}ipsMenu_itemChecked{{endif}}'>
				<a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=changeFollow&enabled=1" seoTemplate="profile" seoTitle="$member->members_seo_name" csrf="true"}'>{lang="allow_follow"}</a>
			</li>
			<li data-ipsMenuValue='disable' class='ipsMenu_item {{if $member->members_bitoptions['pp_setting_moderate_followers']}}ipsMenu_itemChecked{{endif}}'>
				<a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=changeFollow&enabled=0" seoTemplate="profile" seoTitle="$member->members_seo_name" csrf="true"}'>{lang="disallow_follow"}</a>
			</li>
			<li class='ipsMenu_sep'><hr></li>
			<li class='ipsPad_half ipsType_center ipsType_light ipsType_medium'>
				{lang="follow_setting_desc"}
			</li>
		</ul>
	{{endif}}
	{lang="x_followers" pluralize="($followers !== NULL) ? $member->followersCount() : 0"}
</h2>
<div class='ipsWidget_inner'>
	{{if $followers !== NULL and \count( $followers )}}
		<ul class='ipsGrid ipsSpacer_top'>
			{{foreach $followers as $idx => $follower}}
				{{if $idx <= 11}}
					<li class='ipsGrid_span3 ipsType_center {{if $follower['follow_is_anon']}}ipsFaded{{endif}}' data-ipsTooltip title='{expression="\IPS\Member::load( $follower['follow_member_id'] )->name"}{{if $follower['follow_is_anon']}} {lang="anon_follower"}{{endif}}'>{template="userPhoto" app="core" group="global" params="\IPS\Member::load($follower['follow_member_id']), 'mini', NULL, '', FALSE"}</li>
				{{endif}}
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_center ipsPad_half ipsType_light'>{lang="no_followers_yet"}</p>
	{{endif}}
</div>
{{if $followers !== NULL and $member->followersCount() > 12}}
	<p class='ipsType_right ipsType_reset ipsPad_half ipsType_small ipsType_light ipsAreaBackground_light'>
		<a href='{url="app=core&module=members&controller=profile&do=followers&id={$member->member_id}" seoTemplate="profile_followers" seoTitle="$member->members_seo_name"}' class='ipsType_blendLinks'>{lang="see_all_followers"} <i class='fa fa-caret-right'></i></a>
	</p>
{{endif}}]]></template>
 <template template_group="profile" template_name="hovercard" template_data="$member, $addWarningUrl" template_location="front" template_app="core"><![CDATA[{{$rnd = mt_rand();}}
{{$referrer = \IPS\Request::i()->referrer;}}
{{$coverPhoto = $member->coverPhoto();}}
<!-- When altering this template be sure to also check for similar in main profile view -->
<div class="cUserHovercard" id="elUserHovercard_{$member->member_id}{$rnd}">
	<div class='ipsPageHead_special cUserHovercard__header' id='elProfileHeader_{$rnd}' data-controller='core.global.core.coverPhoto' data-url="{$member->url()->csrf()}" data-coverOffset='{$coverPhoto->offset}'>
		{{if $coverPhoto->file}}
			<div class='ipsCoverPhoto_container'>
				<img src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' alt=''>
			</div>
		{{else}}
			<div class='ipsCoverPhoto_container' style="background-color: {$member->coverPhotoBackgroundColor()}">
				<img src='{resource="pattern.png" app="core" location="global"}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
			</div>
		{{endif}}
		<a href='{$member->url()}'><img src='{$member->photo}' class="ipsUserPhoto ipsUserPhoto_large ipsUserPhoto_outlined ipsUserPhoto_outlined:medium cUserHovercard__photo"></a>
	</div>
	
	<div class='ipsPadding ipsFlex ipsFlex-fd:column ipsFlex-ai:center'>
		<h2 class='ipsType_reset ipsType_center ipsPos_relative cUserHovercard__title'>
			<a href='{$member->url()}'>{$member->name}</a>
			{{if \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->member_id === $member->member_id AND $member->isOnlineAnonymously()}}
				<span class='cProfileHeader_history ipsType_large' title='{lang="member_is_currently_anon"}' data-ipsTooltip>
					<i class='fa fa-eye-slash'></i>
				</span>
			{{endif}}
		</h2>
		<p class='ipsType_reset ipsType_normal'>
			{expression="\IPS\Member\Group::load( $member->member_group_id )->formattedName" raw="true"}
		</p>
		<p class='ipsType_reset ipsType_medium ipsType_light'>
			{lang="members_joined"} {datetime="$member->joined"}
		</p>
		{{if $member->last_activity && ( ( !$member->isOnlineAnonymously() ) OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}}
			<p class='ipsType_reset ipsType_medium ipsType_light'>
				{{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}}
					<i class="fa fa-circle ipsType_medium ipsOnlineStatus_online" data-ipsTooltip title='{{if $member->isOnlineAnonymously()}}{lang="online_now_anon" sprintf="$member->name"}{{elseif $member->isOnline()}}{lang="online_now" sprintf="$member->name"}{{endif}}'></i>
				{{endif}}
				{{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}}
					{lang="members_online_now"}
				{{elseif $member->last_activity}}
					{lang="members_last_visit"} {datetime="$member->last_activity"}
				{{endif}}
			</p>
		{{endif}}

		<dl class='ipsMargin:none ipsMargin_top ipsAreaBackground_light ipsRadius ipsFlex ipsFlex-ai:center ipsFlex-jc:around ipsFlex-as:stretch ipsPadding:half'>
			<div class='ipsPadding_horizontal:half ipsFlex ipsFlex-fd:column-reverse ipsFlex-ai:center'>
				<dt class='ipsType_light'>{lang="members_member_posts"}</dt>
				<dd class='ipsType_semiBold ipsType_large ipsType_dark ipsMargin:none'>{number="$member->member_posts" format="short"}</dd>
			</div>
			{{if settings.reputation_enabled and settings.reputation_show_profile}}
				<div class='ipsPadding_horizontal:half ipsFlex ipsFlex-fd:column-reverse ipsFlex-ai:center'>
					<dt class='ipsType_light'>{lang="reputation_title"}</dt>
					<dd class='ipsType_semiBold ipsType_large ipsType_dark ipsMargin:none'>{number="$member->pp_reputation_points" format="short"}</dd>
				</div>
			{{endif}}
			{{if $member->canHaveAchievements() and \IPS\core\Achievements\Badge::show() AND \IPS\core\Achievements\Badge::getStore()}}
				<div class='ipsPadding_horizontal:half ipsFlex ipsFlex-fd:column-reverse ipsFlex-ai:center'>
					<dt class='ipsType_light'>{lang="badges"}</dt>
					<dd class='ipsType_semiBold ipsType_large ipsType_dark ipsMargin:none'>{number="$member->badgeCount()" format="short"}</dd>
				</div>
			{{endif}}
		</dl>

		{{if $member->canHaveAchievements() and \IPS\core\Achievements\Rank::show() AND ( \count( \IPS\core\Achievements\Rank::getStore() ) && $member->rank() ) || ( \count( \IPS\core\Achievements\Badge::getStore() ) && \count( $member->recentBadges( 5 ) ) )}}
			<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between ipsMargin_top ipsFlex-as:stretch'>
				{{if \IPS\core\Achievements\Rank::getStore() && $rank = $member->rank()}}
					<div class='ipsFlex ipsFlex-ai:center'>
						{$rank->html( 'ipsDimension:4' )|raw}
						<div class='ipsMargin_left:half ipsType_medium'>
							<p class='ipsType_reset ipsType_semiBold'>{$rank->_title}</p>
							{{if $rankEarned = $member->rankEarned()}}
								<p class='ipsType_reset ipsType_light'>{datetime="$rankEarned" format="short"}</p>
							{{endif}}
						</div>
					</div>
				{{else}}
					<span></span>
				{{endif}}
				{{if \IPS\core\Achievements\Badge::show() AND \IPS\core\Achievements\Badge::getStore()}}
					{{$recentBadges = $member->recentBadges( 5 );}}
					{{if \count( $recentBadges )}}
						<ul class="ipsCaterpillar ipsMargin_left">
							{{foreach $member->recentBadges( 5 ) as $badge}}
								<li class='ipsCaterpillar__item'>
									{$badge->html( 'ipsDimension:4', TRUE, TRUE )|raw}
								</li>
							{{endforeach}}
						</ul>
					{{endif}}
				{{endif}}
			</div>
		{{endif}}

		{{if \IPS\Member::loggedIn()->modPermission('can_see_emails') || \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}}
			<div class='ipsBorder_top ipsMargin_top ipsFlex ipsFlex-ai:center ipsFlex-jc:between ipsFlex-as:stretch ipsPadding_top'>
				<div class='ipsType_medium ipsMargin_right'>
					{{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}}
						<p class='ipsType_reset ipsType_semiBold'>
							<i class='fa fa-info-circle fa-fw ipsType_light'></i> {lang="member_warn_level" pluralize="$member->warn_level"}
						</p>
					{{endif}}
					{{if \IPS\Member::loggedIn()->modPermission('can_see_emails')}}
						<p class='ipsType_reset ipsType_semiBold ipsTruncate ipsTruncate_line'>
							<i class='fa fa-envelope fa-fw ipsType_light'></i>
                            <a href='mailto:{$member->email}' title='{lang="email_this_user"}'>{$member->email}</a>
						</p>
					{{endif}}
				</div>

				{{if ( member.canWarn( $member ) || ( member.modPermission('can_flag_as_spammer') and !$member->modPermission() and !$member->isAdmin() ) ) and $member->member_id != member.member_id }}
					<a href="#elUserHovercard_{$member->member_id}_more_menu" id="elUserHovercard_{$member->member_id}{$rnd}_more" title='{lang="moderator_tools"}...' data-ipsTooltip data-ipsMenu data-ipsMenu-appendTo="#elUserHovercard_{$member->member_id}{$rnd}" class='ipsButton ipsButton_light ipsButton_verySmall'>
						<i class="fa fa-ellipsis-h"></i>
					</a>
				{{endif}}				
			</div>
		{{endif}}
	</div>
	<div class='ipsBorder_top ipsPadding'>
		<div class='ipsList_reset ipsFlex ipsFlex-ai:center ipsGap:3 ipsGap_row:0'>
			{{if ( \IPS\Member::loggedIn()->member_id and \IPS\Member::loggedIn()->member_id !== $member->member_id ) && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
				<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$member->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsFlex-flex:11 ipsButton ipsButton_light ipsButton_verySmall'>{lang="message_send"}</a>
			{{endif}}
			<a href="{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}" class='ipsFlex-flex:11 ipsButton ipsButton_light ipsButton_verySmall'>{lang="find_content"}</a>
			{{if \IPS\Member::loggedIn()->member_id && $member->canBeIgnored() and \IPS\Member::loggedIn()->member_id !== $member->member_id }}
				<a href="{url="app=core&module=system&controller=ignore&id={$member->member_id}" seoTemplate="ignore"}" class='ipsFlex-flex:11 ipsButton ipsButton_light ipsButton_verySmall'>{lang="add_ignore"}</a>
			{{endif}}
		</div>
	</div>


	{{if ( \IPS\Member::loggedIn()->modPermission('can_flag_as_spammer') AND $member->member_id != \IPS\Member::loggedIn()->member_id ) || member.canWarn( $member ) || \IPS\Member::loggedIn()->modPermission('can_manage_alerts')}}
		<ul class="ipsMenu ipsMenu_narrow ipsHide" id="elUserHovercard_{$member->member_id}{$rnd}_more_menu">
			{{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}}
				{{if $member->members_bitoptions['bw_is_spammer']}}
					<li class="ipsMenu_item"><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}"><i class="fa fa-flag fa-fw"></i> {lang="spam_unflag"}</a></li>
				{{else}}
					<li class="ipsMenu_item"><a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm><i class="fa fa-flag fa-fw"></i> {lang="spam_flag"}</a></li>
				{{endif}}
			{{endif}}
			{{if member.canWarn( $member )}}
				<li class="ipsMenu_item"><a href="{$addWarningUrl}" title='{lang="warn_user_title"}' data-ipsDialog data-ipsDialog-title='{lang="warn_user"}' data-ipsDialog-destructOnClose><i class="fa fa-exclamation-triangle fa-fw"></i> {lang="warn_user"}</a></li>
			{{endif}}
            {{if \IPS\Member::loggedIn()->modPermission('can_manage_alerts')}}
                <li class="ipsMenu_item"><a href='{url="app=core&module=modcp&controller=modcp&tab=alerts&action=create&user={$member->member_id}" seoTemplate="modcp_alerts"}' title='{lang="alert_send"}' data-ipsDialog data-ipsDialog-title='{lang="alert_send"}' data-ipsDialog-destructOnClose><i class="fa fa-bullhorn"></i> {lang="alert_send"}</a></li>
            {{endif}}
		</ul>
	{{endif}}
	
	</div>

{{if \IPS\Settings::i()->core_datalayer_enabled}}
<script>
    if ( IpsDataLayerConfig && !window.IpsDataLayerConfig && IpsDataLayerConfig._events.social_view.enabled ) {
        $('body').trigger( 'ipsDataLayer', {
            _key: 'social_view',
            _properties: {expression="json_encode(\IPS\core\DataLayer::i()->getMemberProfileEventProperties( $member, ['view_location' => 'hovercard'] ))" raw="true"}
        } );
    }
</script>
{{endif}}

</div>]]></template>
 <template template_group="profile" template_name="memberFollow" template_data="$app, $area, $id, $count, $search=FALSE" template_location="front" template_app="core"><![CDATA[
<div data-followApp='{$app}' data-followArea='{$area}' data-followID='{$id}' {{if $search}}data-buttonType='search'{{endif}} data-controller='core.front.core.followButton'>
	{{if $search}}
		{template="memberSearchFollowButton" group="profile" app="core" params="$app, $area, $id, $count"}
	{{else}}
		{template="memberFollowButton" group="profile" app="core" params="$app, $area, $id, $count"}
	{{endif}}
</div>]]></template>
 <template template_group="profile" template_name="memberFollowButton" template_data="$app, $area, $id, $count" template_location="front" template_app="core"><![CDATA[{{if member.member_id}}
	<div class="ipsResponsive_hidePhone ipsResponsive_block">
		{{if member.following( $app, $area, $id )}}
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" title="{lang="following_this_member"}" data-ipsTooltip class="ipsButton ipsButton_positive" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class='fa fa-check'></i><i class='fa fa-user'></i> <span class='ipsResponsive_showDesktop ipsResponsive_inline'> {lang="following_member"}</span> <i class='fa fa-caret-down'></i></a>
		{{else}}	
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" title="{lang="follow_this_member"}" data-ipsTooltip class="ipsButton ipsButton_primary" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class='fa fa-plus'></i><i class='fa fa-user'></i> <span class='ipsResponsive_showDesktop ipsResponsive_inline'> {lang="follow_member"}</span></a>
		{{endif}}
	</div>
	<div class="ipsResponsive_showPhone ipsResponsive_block">
		{{if member.following( $app, $area, $id )}}
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" title="{lang="following_this_member"}" data-ipsTooltip class="ipsButton ipsButton_positive ipsButton_fullWidth ipsButton_small" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class='fa fa-check'></i><i class='fa fa-user'></i> <i class='fa fa-caret-down'></i></a>
		{{else}}	
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" title="{lang="follow_this_member"}" data-ipsTooltip class="ipsButton ipsButton_fullWidth ipsButton_small ipsButton_alternate" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick><i class='fa fa-plus'></i><i class='fa fa-user'></i></a>
		{{endif}}
	</div>
{{endif}}]]></template>
 <template template_group="profile" template_name="memberSearchFollowButton" template_data="$app, $area, $id, $count" template_location="front" template_app="core"><![CDATA[{{if member.member_id}}
	{{if member.following( $app, $area, $id )}}
		<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}&from_search=1"}" title="{lang="following_this_member"}" class="ipsButton ipsButton_small ipsButton_positive ipsButton_fullWidth" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick>{lang="following_member"} <i class='fa fa-caret-down'></i></a>
	{{else}}	
		<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}&from_search=1"}" title="{lang="follow_this_member"}" class="ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth" data-role="followButton" data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick>{lang="follow_member"}</a>
	{{endif}}
{{endif}}]]></template>
 <template template_group="profile" template_name="profile" template_data="$member, $mainContent, $visitors, $sidebarFields, $followers, $addWarningUrl, $solutions" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
<!-- When altering this template be sure to also check for similar in the hovercard -->
<div data-controller='core.front.profile.main'>
	{template="profileHeader" app="core" location="front" group="profile" params="$member, false"}
	<div data-role="profileContent" class='ipsSpacer_top'>
{{endif}}
		<div class='ipsColumns ipsColumns_collapseTablet' data-controller="core.front.profile.body">
			<div class='ipsColumn ipsColumn_fixed ipsColumn_veryWide' id='elProfileInfoColumn'>
				<div class='ipsPadding ipsBox ipsResponsive_pull'>
					{{if \IPS\Application::appIsEnabled('nexus') and settings.nexus_subs_enabled and settings.nexus_subs_show_public}}
						{template="profileSubscription" app="nexus" location="front" group="subscription" params="$member"}
					{{endif}}
					{{if settings.reputation_enabled and settings.reputation_show_profile}}
						{{if settings.reputation_leaderboard_on and settings.reputation_show_days_won_trophy and $member->getReputationDaysWonCount() and $lastDayWon = $member->getReputationLastDayWon()}}
							{{$formattedDate = $lastDayWon['date']->dayAndMonth() . (  $lastDayWon['date']->format('Y') == \IPS\DateTime::ts( time() )->format('Y' ) ? '' : " " . $lastDayWon['date']->format('Y') );}}
							<div class='ipsLeaderboard_trophy_1 cProfileSidebarBlock ipsMargin_bottom ipsPadding ipsRadius'>
								<p class='ipsType_reset ipsType_medium'>
									<strong>
										<a class='ipsType_blendLinks' href="{url="app=core&module=discover&controller=popular&tab=leaderboard&custom_date_start={$lastDayWon['date']->getTimeStamp()}&custom_date_end={$lastDayWon['date']->getTimeStamp()}" seoTemplate="leaderboard_leaderboard"}">
											{{if $member->member_id == \IPS\Member::loggedIn()->member_id}}
												{lang="profile_you_won" sprintf="$formattedDate"}
											{{else}}
												{lang="profile_member_won" sprintf="$member->name, $formattedDate"}
											{{endif}}
										</a>
									</strong>
								</p>
								<p class='ipsType_reset ipsType_small'>{{if $member->member_id == \IPS\Member::loggedIn()->member_id}}{lang="profile_you_congrats"}{{else}}{lang="profile_member_congrats" sprintf="$member->name"}{{endif}}</p>
							</div>
						{{endif}}

						{{if ! $member->canHaveAchievements() OR ! \IPS\core\Achievements\Badge::show() OR (!\count( \IPS\core\Achievements\Rank::getStore() ) && !\count( \IPS\core\Achievements\Badge::getStore() ) )}}
							<div class='cProfileSidebarBlock ipsMargin_bottom'>
								{{if member.group['gbw_view_reps']}}
									<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}" data-action="repLog" title="{lang="members_reputation" sprintf="$member->name"}">
								{{endif}}
									<div class='cProfileRepScore ipsPad_half {{if $member->pp_reputation_points > 1}}cProfileRepScore_positive{{elseif $member->pp_reputation_points < 0}}cProfileRepScore_negative{{else}}cProfileRepScore_neutral{{endif}}'>
										<h2 class='ipsType_minorHeading'>{lang="profile_reputation"}</h2>
										<span class='cProfileRepScore_points'>{number="$member->pp_reputation_points"}</span>
										{{if $member->reputation()}}
											<span class='cProfileRepScore_title'>{$member->reputation()}</span>
										{{endif}}
										{{if $member->reputationImage()}}
											<div class='ipsAreaBackground_reset ipsRadius ipsPad_half ipsType_center'>
												<img src='{file="$member->reputationImage()" extension="core_Theme"}' alt=''>
											</div>
										{{endif}}
									</div>
								{{if member.group['gbw_view_reps']}}
									<p class='ipsType_reset ipsPadding_top:half ipsType_right ipsType_light ipsType_small'>
										{lang="replog_show_activity"} <i class='fa fa-caret-right'></i>
									</p>
								</a>
								{{endif}}
							</div>
						{{endif}}
					{{endif}}

					{{if $solutions && ( ! $member->canHaveAchievements() OR !\IPS\core\Achievements\Badge::show() OR ( !\count( \IPS\core\Achievements\Rank::getStore() ) && !\count( \IPS\core\Achievements\Badge::getStore() ) ) )}}
						<div class='cProfileSidebarBlock ipsMargin_bottom'>
							<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=solutions" seoTemplate="profile_solutions" seoTitle="$member->members_seo_name"}" data-action="solutionLog" title="{lang="members_solutions" sprintf="$member->name"}">
								<div class='cProfileRepScore ipsPad_half cProfileSolutions'>
									<h2 class='ipsType_minorHeading'>{lang="profile_solutions"}</h2>
									<span class='cProfileRepScore_points'>{number="$solutions"}</span>
								</div>
								<p class='ipsType_reset ipsPadding_top:half ipsType_right ipsType_light ipsType_small'>
									{lang="solutionlog_show_activity"} <i class='fa fa-caret-right'></i>
								</p>
							</a>
						</div>
					{{endif}}
					
					{{if \IPS\Settings::i()->warn_on and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and ( \IPS\Member::loggedIn()->modPermission('mod_see_warn') or ( \IPS\Settings::i()->warn_show_own and \IPS\Member::loggedIn()->member_id == $member->member_id ) )}}
						<div class='cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom'>
							<div id='elWarningInfo' class='ipsRadius:tl ipsRadius:tr ipsPadding {{if $member->mod_posts || $member->restrict_post || $member->temp_ban}}ipsAreaBackground_negative{{endif}} ipsClearfix'>
								<i class='ipsPos_left {{if $member->warn_level > 0 || $member->mod_posts || $member->restrict_post || $member->temp_ban}}fa fa-exclamation-triangle{{else}}fa fa-circle-o ipsType_light{{endif}}'></i>
								<div>
									<h2 class='ipsType_sectionHead'>{lang="member_warn_level" pluralize="$member->warn_level"}</h2>
									<br>
									{{if !$member->mod_posts && !$member->restrict_post && !$member->temp_ban}}
										<span>{lang="no_restrictions_applied"}</span>
										<br>
									{{else}}
										<span>{lang="restrictions_applied"}</span>
										<ul class='ipsList_bullets ipsSpacer_top ipsSpacer_half'>
											{{if $member->mod_posts}}
												<li data-ipsTooltip title="{{if $member->mod_posts == -1}}{lang="moderation_modq_perm"}{{else}}{lang="moderation_modq_temp" sprintf="\IPS\DateTime::ts( $member->mod_posts )"}{{endif}}">
													{lang="moderation_modq"}
												</li>
											{{endif}}
											{{if $member->restrict_post}}
												<li data-ipsTooltip title="{{if $member->restrict_post == -1}}{lang="moderation_nopost_perm"}{{else}}{lang="moderation_nopost_temp" sprintf="\IPS\DateTime::ts( $member->restrict_post )"}{{endif}}">
													{lang="moderation_nopost"}
												</li>
											{{endif}}
											{{if $member->temp_ban}}
												<li data-ipsTooltip title="{{if $member->temp_ban == -1}}{lang="moderation_banned_perm"}{{else}}{lang="moderation_banned_temp" sprintf="\IPS\DateTime::ts( $member->temp_ban )"}{{endif}}">
													{lang="moderation_banned"}
												</li>
											{{endif}}
										</ul>
									{{endif}}
								</div>
							</div>
							{{if ( member.canWarn( $member ) || member.modPermission('can_manage_alerts') || ( member.modPermission('can_flag_as_spammer') and !$member->modPermission() and !$member->isAdmin() ) ) and $member->member_id != member.member_id }}
								<div class='ipsPadding_vertical:half ipsType_center'>
									<ul class='ipsFlex ipsFlex-fw:wrap ipsFlex-jc:center ipsGap:1'>
										{{if member.canWarn( $member )}}
											<li>
												<a href='{$addWarningUrl}' id='elWarnUserButton' data-ipsDialog data-ipsDialog-title="{lang="warn_member" sprintf="$member->name"}" class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="warn_member" sprintf="$member->name"}'>{lang="warn_user"}</a>
											</li>
										{{endif}}
										{{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}}
											<li>
												{{if $member->members_bitoptions['bw_is_spammer']}}
													<a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a>
												{{else}}
													<a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a>
												{{endif}}
											</li>
										{{endif}}

                                        {{if member.modPermission('can_manage_alerts')}}
                                        <li>
                                            <a href='{url="app=core&module=modcp&controller=modcp&tab=alerts&action=create&user={$member->member_id}" seoTemplate="modcp_alerts"}' id='elWarnUserButton' data-ipsDialog data-ipsDialog-title="{lang="alert_send"}" class='ipsButton ipsButton_light ipsButton_verySmall' title='{lang="alert_send"}'>{lang="alert_send"}</a>
                                        </li>
                                        {{endif}}
                                    </ul>
								</div>

							{{endif}}
							{{if \count( $member->warnings( 1 ) )}}
								<div data-role="recentWarnings" class=''>
									<ol class='ipsDataList'>
										{{foreach $member->warnings( 2 ) as $warning}}
											<li class="ipsDataItem" id='elWarningOverview_{$warning->id}'>
												<div class='ipsDataItem_icon ipsType_center'>
													<a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-size='narrow' class="ipsType_blendLinks" data-ipsTooltip title='{lang="wan_action_points" pluralize="$warning->points"}'>
														<span class="ipsPoints {{if $warning->expire_date == 0}}ipsPoints_removed{{endif}}">{$warning->points}</span>
													</a>
												</div>
												<div class='ipsDataItem_main'>
													{{if $warning->canDelete()}}
														<a href="{$warning->url('delete')->csrf()}" title='{lang="revoke_this_warning"}' data-ipsTooltip data-action="revoke" class='ipsPos_right ipsButton ipsButton_small ipsButton_light ipsButton_narrow' data-ipsDialog data-ipsDialog-title='{lang="revoke_this_warning"}' data-ipsDialog-size='medium'><i class="fa fa-undo"></i></a>
													{{endif}}
													<a href="{url="app=core&module=system&controller=warnings&do=view&id={$member->member_id}&w={$warning->id}" seoTemplate="warn_view" seoTitle="$member->members_seo_name"}" data-ipsDialog data-ipsDialog-showFrom='#elWarningOverview_{$warning->id}' data-ipsDialog-size='narrow' class="ipsType_blendLinks" title=''>
														<h4 class="ipsType_reset ipsType_medium ipsType_unbold">
															{{if \IPS\Settings::i()->warnings_acknowledge}}
																{{if $warning->acknowledged}}
																	<strong class='ipsType_success' title='{lang="warning_acknowledged"}' data-ipsTooltip><i class='fa fa-check-circle'></i></strong>
																{{else}}
																	<strong class='ipsType_light' title='{lang="warning_not_acknowledged"}' data-ipsTooltip><i class='fa fa-circle-o'></i></strong>
																{{endif}}
															{{endif}}
															{lang="core_warn_reason_{$warning->reason}"}
														</h4>
														<p class='ipsDataItem_meta ipsType_light'>
															{lang="byline" sprintf="\IPS\Member::load( $warning->moderator )->name"}{datetime="$warning->date"}
														</p>
														{{if $warning->expire_date == 0}}
															<p class='ipsDataItem_meta ipsType_light'>
                                                                {lang="warning_no_longer_active"}{{if $warning->removed_on}} {lang="warning_expired_on" sprintf="\IPS\DateTime::ts( $warning->removed_on )->relative()"}{{endif}}
															</p>
														{{endif}}
													</a>
												</div>
											</li>
										{{endforeach}}
									</ol>
									<p class='ipsType_reset ipsType_center ipsType_small ipsPad_half'>
										<a href='{url="app=core&module=system&controller=warnings&id={$member->member_id}" seoTemplate="warn_list" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth' title='{lang="see_all_warnings"}' data-ipsDialog data-ipsDialog-remoteVerify='false' data-ipsDialog-remoteSubmit='false' data-ipsDialog-title="{lang="members_warnings" sprintf="$member->name"}">{lang="see_all_c"}</a>
									</p>
								</div>
							{{endif}}
						</div>
					{{else}}
                        {{if \IPS\Member::loggedIn()->modPermission('can_flag_as_spammer') and !$member->inGroup( explode( ',', \IPS\Settings::i()->warn_protected ) ) and \IPS\Member::loggedIn()->member_id != $member->member_id}}
                            {{if $member->members_bitoptions['bw_is_spammer']}}
                                <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=0" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_unflag"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}">{lang="spam_unflag"}</a>
                            {{else}}
                                <a href='{url="app=core&module=system&controller=moderation&do=flagAsSpammer&id={$member->member_id}&s=1" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' title='{lang="spam_flag"}' data-confirm>{lang="spam_flag"}</a>
                            {{endif}}
                        {{endif}}
                    {{endif}}
					{{if ( $followers !== NULL and \count( $followers ) ) || \IPS\Member::loggedIn()->member_id === $member->member_id}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' id='elFollowers' data-feedID='member-{$member->member_id}' data-controller='core.front.profile.followers'>
							{template="followers" group="profile" app="core" params="$member, $followers"}
						</div>
	 				{{endif}}
	 				{{if $member->group['g_icon'] || ( $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) ) AND $member->location ) || ( $member->birthday AND ( \IPS\Settings::i()->profile_birthday_type == 'public' or ( \IPS\Settings::i()->profile_birthday_type == 'private' and ( \IPS\Member::loggedIn()->member_id == $member->member_id OR \IPS\Member::loggedIn()->isAdmin() ) ) ) )}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-location='defaultFields'>
							<h2 class='ipsWidget_title ipsType_reset'>{lang='profile_about' sprintf='$member->name'}</h2>
							<div class='ipsWidget_inner ipsPad'>
								{{if $member->group['g_icon'] }}
									<div class='ipsType_center ipsPad_half'><img src='{file="$member->group['g_icon']" extension="core_Theme"}' alt=''></div>
								{{endif}}
								<ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'>
									{{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) ) AND $member->location}}
										<li class="ipsDataItem">
											<span class="ipsDataItem_generic ipsDataItem_size3 ipsType_break"><strong>{lang="online_users_location_lang"}</strong></span>
											<span class="ipsDataItem_main ipsType_break">{$member->location()|raw}</span>
										</li>
									{{endif}}
									{{if $member->birthday AND \IPS\Settings::i()->profile_birthday_type == 'public' or ( \IPS\Settings::i()->profile_birthday_type == 'private' and ( \IPS\Member::loggedIn()->member_id == $member->member_id OR \IPS\Member::loggedIn()->isAdmin() ) )}}
										<li class='ipsDataItem'>
											<span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="bday"}</strong></span>
											<span class='ipsDataItem_generic'>{$member->birthday}</span>
										</li>
									{{endif}}
								</ul>
							</div>
						</div>
					{{endif}}
					{{foreach $sidebarFields as $group => $fields}}
						{{if \count( $fields ) AND \count( array_filter( $fields, function( $fieldValue ){ return $fieldValue['value']; } ) )}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-location='customFields'>
							{{if $group != 'core_pfieldgroups_0'}}
                                <h2 class='ipsWidget_title ipsType_reset'>{lang="$group"}</h2>
                            {{endif}}
                            <div class='ipsWidget_inner ipsPad'>
								<ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'>
									{{foreach $fields as $field => $value}}
									{{if $value['value'] !== ""}}
										<li class='ipsDataItem ipsType_break'>
											{{if $value['custom']}}
												{$value['value']|raw}
											{{else}}
												<span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$field"}</strong></span>
												<div class='ipsDataItem_generic'><div class='ipsType_break ipsContained'>{$value['value']|raw}</div></div>
											{{endif}}
										</li>
									{{endif}}
									{{endforeach}}
								</ul>
							</div>
						</div>
						{{endif}}
					{{endforeach}}
					{{if \IPS\Member::loggedIn()->modPermission('can_see_emails')}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom'>
							<h2 class='ipsWidget_title ipsType_reset'>{lang="profile_contact"}</h2>
							<div class='ipsWidget_inner ipsPad'>
								<ul class='ipsDataList ipsDataList_reducedSpacing'>
									<li class='ipsDataItem'>
										<span class='ipsDataItem_generic ipsDataItem_size3'><strong>{lang="profile_email"}</strong></span>
										<span class='ipsDataItem_generic'>
											<div class='ipsType_break ipsContained'><a href='mailto:{$member->email}' title='{lang="email_this_user"}'>{$member->email}</a></div>
											<span class='ipsType_light ipsType_small'>{lang="profile_email_addresses"}</span>
										</span>
									</li>
								</ul>
							</div>
						</div>
					{{endif}}
					{{if !empty( $visitors ) || \IPS\Member::loggedIn()->member_id == $member->member_id}}
						<div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'>
							{template="recentVisitorsBlock" group="profile" params="$member, $visitors"}
						</div>
					{{endif}}
				</div>

			</div>
			<section class='ipsColumn ipsColumn_fluid'>
				{{if $member->canHaveAchievements() and ( \IPS\core\Achievements\Rank::show() and \count( \IPS\core\Achievements\Rank::getStore() ) ) || ( \IPS\core\Achievements\Badge::show() and \count( \IPS\core\Achievements\Badge::getStore() ) )}}
					<div class='ipsWidget ipsBox ipsMargin_bottom'>
						<h2 class='ipsWidget_title ipsType_reset ipsFlex ipsFlex-ai:center ipsFlex-jc:between'>
							<span>
								{{if $member->member_id === \IPS\Member::loggedIn()->member_id}}
									{lang='profile_achievements_overview_self'}
								{{else}}
									{lang='profile_achievements_overview' sprintf='$member->name'}
								{{endif}}
							</span>
						</h2>
						<div class='ipsWidget_inner ipsPadding_horizontal ipsPadding_vertical:half ipsType_center cProfileAchievements'>
							{{if \IPS\core\Achievements\Rank::show() and \count( \IPS\core\Achievements\Rank::getStore() ) && $rank = $member->rank()}}
								<div class='ipsFlex ipsFlex-fd:column ipsFlex-ai:center ipsPadding_vertical:half'>
									{$rank->html( 'ipsDimension:4' )|raw}
									<h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>
                                        {$rank->_title} ({$rank->rankPosition()['pos']}/{$rank->rankPosition()['max']})
									</h3>
								</div>
							{{endif}}
							{{if \IPS\core\Achievements\Badge::show() and \count( \IPS\core\Achievements\Badge::getStore() )}}
								{{$recentBadges = $member->recentBadges( 5 );}}	
								{{if \count( $recentBadges )}}
									<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=badges" seoTemplate="profile_badges" seoTitle="$member->members_seo_name"}" data-action="badgeLog" title="{lang="members_badges" sprintf="$member->name"}" class='ipsPadding_vertical:half ipsRadius'>
										<ul class="ipsCaterpillar ipsFlex-jc:center">
											{{foreach $member->recentBadges( 5 ) as $badge}}
												<li class='ipsCaterpillar__item'>
													{$badge->html( 'ipsDimension:4', TRUE, TRUE )|raw}
												</li>
											{{endforeach}}
										</ul>
										<h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>
											{lang="profile_recent_badges"}
										</h3>
									</a>
								{{endif}}
							{{endif}}
							{{if settings.reputation_enabled and settings.reputation_show_profile}}
								{{if member.group['gbw_view_reps']}}
									<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}" data-action="repLog" title="{lang="members_reputation" sprintf="$member->name"}" class='ipsPadding_vertical:half ipsRadius'>
								{{else}}
									<div class='ipsPadding_vertical:half'>
								{{endif}}
										<p class='ipsType_reset cProfileRepScore {{if $member->pp_reputation_points > 1}}cProfileRepScore_positive{{elseif $member->pp_reputation_points < 0}}cProfileRepScore_negative{{else}}cProfileRepScore_neutral{{endif}} ipsRadius:full ipsDimension_height:4 ipsDimension_minWidth:4 ipsPadding_horizontal:half ipsType_large ipsFlex-inline ipsFlex-ai:center ipsFlex-jc:center' {{if $member->reputation()}}data-ipsTooltip title="{$member->reputation()}"{{endif}}>{number="$member->pp_reputation_points" format="short"}</p>
										<h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>
											{lang="profile_reputation"}
										</h3>
								{{if member.group['gbw_view_reps']}}
									</a>
								{{else}}
									</div>
								{{endif}}
							{{endif}}
							{{if $solutions}}
								<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=solutions" seoTemplate="profile_solutions" seoTitle="$member->members_seo_name"}" data-action="solutionLog" title="{lang="members_solutions" sprintf="$member->name"}" class='ipsPadding_vertical:half ipsRadius'>
									<p class='ipsType_reset cProfileSolutions ipsRadius:full ipsDimension_height:4 ipsDimension_minWidth:4 ipsPadding_horizontal:half ipsType_large ipsFlex-inline ipsFlex-ai:center ipsFlex-jc:center'>{number="$solutions" format="short"}</p>
									<h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>
										{lang="profile_solutions"}
									</h3>
								</a>
							{{endif}}
						</div>
					</div>
				{{endif}}

				<div class='ipsBox ipsResponsive_pull'>
					{$mainContent|raw}
				</div>
			</section>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}
]]></template>
 <template template_group="profile" template_name="profileActivity" template_data="$member, $latestActivity, $statusForm=NULL" template_location="front" template_app="core"><![CDATA[<div data-controller="core.front.statuses.statusFeed">
	{{if $statusForm}}
		<div class='ipsAreaBackground ipsPad ipsSpacer_bottom'>
			<div class='ipsComposeArea ipsComposeArea_withPhoto ipsClearfix ipsContained' data-role='newStatus'>
				<div class='ipsPos_left ipsResponsive_hidePhone ipsResponsive_block'>{template="userPhoto" app="core" group="global" params="\IPS\Member::loggedIn(), 'small'"}</div>
				<div class='ipsComposeArea_editor'>
					{$statusForm|raw}
				</div>
			</div>
		</div>
	{{elseif !\count( $latestActivity )}}
		<div class='ipsPad ipsType_center ipsType_large ipsType_light'>
			{lang="no_recent_activity" sprintf="$member->name"}
		</div>
	{{endif}}
	{{if $statusForm or \count( $latestActivity )}}
		<ol class='ipsStream ipsList_reset' data-role='activityStream' id='elProfileActivityOverview'>
			{{foreach $latestActivity as $activity}}
				{$activity->html()|raw}
			{{endforeach}}
		</ol>
	{{endif}}
</div>]]></template>
 <template template_group="profile" template_name="profileClubs" template_data="$member, $clubs, $pagination" template_location="front" template_app="core"><![CDATA[
{{if \count( $clubs )}}
	{{if $pagination}}
		{$pagination|raw}
	{{endif}}

	<ul class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='400' data-ipsGrid-maxItemSize='600' data-ipsGrid-equalHeights='row'>
		{{foreach $clubs as $club}}
			<li class='ipsGrid_span6 ipsBox'>{template="clubCard" group="clubs" app="core" params="$club"}</li>
		{{endforeach}}
	</ul>

	{{if $pagination}}
		{$pagination|raw}
	{{endif}}
{{else}}
	<p class='ipsType_light ipsType_large ipsType_center'>
		{lang="member_no_clubs" sprintf="$member->name"}
	</p>
{{endif}}]]></template>
 <template template_group="profile" template_name="profileHeader" template_data="$member, $small=FALSE" template_location="front" template_app="core"><![CDATA[{{$coverPhoto = $member->coverPhoto();}}
<header data-role="profileHeader">
    <div class='ipsPageHead_special {{if $small === true}}cProfileHeaderMinimal{{endif}}' id='elProfileHeader' data-controller='core.global.core.coverPhoto' data-url="{$member->url()->csrf()}" data-coverOffset='{$coverPhoto->offset}'>
        {{if $coverPhoto->file}}
        <div class='ipsCoverPhoto_container'>
            {{if settings.lazy_load_enabled}}
            <img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
            {{else}}
            <img src='{$coverPhoto->file->url}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
            {{endif}}
        </div>
        {{else}}
        <div class='ipsCoverPhoto_container' style="background-color: {$member->coverPhotoBackgroundColor()}">
            <img src='{resource="pattern.png" app="core" location="global"}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt=''>
        </div>
        {{endif}}
        {{if \IPS\Member::loggedIn()->modPermission('can_modify_profiles') or ( \IPS\Member::loggedIn()->member_id == $member->member_id )}}
        <ul class='ipsButton_split' id='elEditProfile' data-hideOnCoverEdit>
            {{if \IPS\Member::loggedIn()->member_id == $member->member_id}}
            <li>
                <a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' class='ipsButton ipsButton_small ipsButton_overlaid' title='{lang="edit_account_settings"}'>
                    <i class='fa fa-cog'></i>&nbsp;<span class='ipsResponsive_hidePhone ipsResponsive_inline'>&nbsp;&nbsp;{lang="menu_settings"}</span>
                </a>
            </li>
            {{endif}}
            {{if $member->group['g_edit_profile']}}
            <li>
                <a href='{url="app=core&module=members&controller=profile&do=edit&id={$member->member_id}" base="front" seoTemplate="edit_profile" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_small ipsButton_overlaid' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-title='{lang="profile_edit"}'>
                    <i class='fa fa-pencil'></i>&nbsp;<span class='ipsResponsive_hidePhone ipsResponsive_inline'>&nbsp;&nbsp;{lang="profile_edit"}</span>
                </a>
            </li>
            {{endif}}
            {{if $coverPhoto->editable}}
            <li>
                <a href='#elEditPhoto_menu' data-hideOnCoverEdit class='ipsButton ipsButton_small ipsButton_overlaid' data-ipsMenu id='elEditPhoto' data-role='coverPhotoOptions'>
                    <i class='fa fa-picture-o'></i>&nbsp;<span class='ipsResponsive_hidePhone ipsResponsive_inline'>&nbsp;&nbsp;{lang="profile_edit_cover_photo_tab"} <i class='fa fa-caret-down'></i></span>
                </a>
                <ul class='ipsMenu ipsMenu_auto ipsHide' id='elEditPhoto_menu'>
                    {{if $coverPhoto->file}}
                    <li class='ipsMenu_item' data-role="photoEditOption">
                        <a href='{$member->url()->setQueryString( 'do', 'coverPhotoRemove' )->csrf()}' data-action='removeCoverPhoto'>{lang="cover_photo_remove"}</a>
                    </li>
                    <li class='ipsMenu_item ipsHide' data-role="photoEditOption">
                        <a href='#' data-action='positionCoverPhoto'>{lang="cover_photo_reposition"}</a>
                    </li>
                    {{endif}}
                    <li class='ipsMenu_item'>
                        <a href='{$member->url()->setQueryString( 'do', 'coverPhotoUpload' )}' data-ipsDialog data-ipsDialog-title="{lang="cover_photo_add"}">{lang="cover_photo_add"}</a>
                    </li>
                </ul>
            </li>
            {{endif}}
        </ul>

        {{endif}}
        <div class='ipsColumns ipsColumns_collapsePhone' data-hideOnCoverEdit>
            <div class='ipsColumn ipsColumn_fixed ipsColumn_narrow ipsPos_center' id='elProfilePhoto'>
                {{if $member->pp_main_photo and ( mb_substr( $member->pp_photo_type, 0, 5 ) === 'sync-' or $member->pp_photo_type === 'custom' )}}
                <a href="{file="$member->pp_main_photo" extension="core_Profile"}" data-ipsLightbox class='ipsUserPhoto ipsUserPhoto_xlarge'>
                    <img src='{$member->photo}' alt=''>
                </a>
                {{else}}
                <span class='ipsUserPhoto ipsUserPhoto_xlarge'>
						<img src='{$member->photo}' alt=''>
					</span>
                {{endif}}
                {{if ( \IPS\Member::loggedIn()->modPermission('can_modify_profiles') or ( \IPS\Member::loggedIn()->member_id == $member->member_id and $member->group['g_edit_profile'] ) ) AND explode( ':', $member->group['g_photo_max_vars'] )[0]}}
                <a href='{url="app=core&module=members&controller=profile&do=editPhoto&id={$member->member_id}" base="front" seoTemplate="edit_profile_photo" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow' data-action='editPhoto' data-ipsDialog data-ipsDialog-forceReload='true' data-ipsDialog-modal='true' data-ipsDialog-title='{lang="profile_edit_photo_tab"}' title='{lang="profile_edit_photo_tab"}' data-ipsTooltip><i class='fa fa-photo'></i></a>
                {{endif}}
            </div>
            <div class='ipsColumn ipsColumn_fluid'>
                <div class='ipsPos_left ipsPad cProfileHeader_name ipsType_normal'>
                    <h1 class='ipsType_reset ipsPageHead_barText'>
                        {$member->name}

                        {{if \IPS\Member::loggedIn()->group['g_view_displaynamehistory'] AND $member->hasNameChanges()}}
                        <a href='{$member->url()->setQueryString( 'do', 'namehistory' )}' class='cProfileHeader_history ipsType_large ipsPos_right' title='{lang="membername_history"}' data-ipsTooltip data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="membername_history"}'>
                        <i class='fa fa-history'></i>
                        </a>
                        {{endif}}
                        {{if \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->member_id === $member->member_id AND $member->isOnlineAnonymously()}}
                        <span class='cProfileHeader_history ipsType_large ipsPos_right' title='{lang="member_is_currently_anon"}' data-ipsTooltip>
                                <i class='fa fa-eye-slash'></i>
                            </span>
                        {{endif}}
                    </h1>
                    <span>
						<span class='ipsPageHead_barText'>{expression="\IPS\Member\Group::load( $member->member_group_id )->formattedName" raw="true"}</span>
					</span>
                </div>
                {{if \IPS\Member::loggedIn()->member_id != $member->member_id}}
                <ul class='ipsList_inline ipsPad ipsResponsive_hidePhone ipsResponsive_block ipsPos_left'>
                    {{if \IPS\Member::loggedIn()->member_id != $member->member_id and ( !$member->members_bitoptions['pp_setting_moderate_followers'] or \IPS\Member::loggedIn()->following( 'core', 'member', $member->member_id ) )}}
                    <li>{template="memberFollow" app="core" group="profile" params="'core', 'member', $member->member_id, $member->followersCount()"}</li>
                    {{endif}}
                    {{if \IPS\Member::loggedIn()->member_id && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
                    <li><a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$member->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" class='ipsButton ipsButton_primary'><i class='fa fa-envelope'></i> <span class='ipsResponsive_showDesktop ipsResponsive_inline'>&nbsp; {lang="message_send"}</span></a></li>
                    {{endif}}
                </ul>
                {{endif}}
            </div>
        </div>
    </div>

    <div class='ipsGrid ipsAreaBackground ipsPad ipsResponsive_showPhone ipsResponsive_block'>
        {{$span = 1;}}
        {{if \IPS\Member::loggedIn()->member_id && \IPS\Member::loggedIn()->member_id != $member->member_id and !$member->members_bitoptions['pp_setting_moderate_followers']}}
        {{$span++;}}
        {{endif}}
        {{if \IPS\Member::loggedIn()->member_id != $member->member_id && \IPS\Member::loggedIn()->member_id && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm}}
        {{$span++;}}
        {{endif}}

        {{if \IPS\Member::loggedIn()->member_id && \IPS\Member::loggedIn()->member_id != $member->member_id and !$member->members_bitoptions['pp_setting_moderate_followers']}}
        <div class='ipsGrid_span{{if $span == 1}}12{{elseif $span == 2}}6{{else}}4{{endif}}'>
            {template="memberFollow" app="core" group="profile" params="'core', 'member', $member->member_id, $member->followersCount()"}
        </div>
        {{endif}}
        {{if \IPS\Member::loggedIn()->member_id != $member->member_id && \IPS\Member::loggedIn()->member_id && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
        <a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$member->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsGrid_span{{if $span == 1}}12{{elseif $span == 2}}6{{else}}4{{endif}} ipsButton ipsButton_alternate ipsButton_small'><i class='
			fa fa-envelope'></i> <i class='fa fa-caret-right'></i></a>
        {{endif}}
        <div data-role='switchView' class='ipsGrid_span{{if $span == 1}}12{{elseif $span == 2}}6{{else}}4{{endif}}'>
            <div data-action="goToProfile" data-type='phone' class='{{if $small != true}}ipsHide{{endif}}'>
                <a href='{$member->url()}' class='ipsButton ipsButton_veryLight ipsButton_small ipsButton_fullWidth' title="{lang="members_profile" sprintf="$member->name"}"><i class='fa fa-user'></i></a>
            </div>
            <div data-action="browseContent" data-type='phone' class='{{if $small == true}}ipsHide{{endif}}'>
                <a href="{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}" rel="nofollow" class='ipsButton ipsButton_veryLight ipsButton_small ipsButton_fullWidth'  title="{lang="members_content" sprintf="$member->name"}"><i class='fa fa-newspaper-o'></i></a>
            </div>
        </div>
    </div>

    <div id='elProfileStats' class='ipsClearfix sm:ipsPadding ipsResponsive_pull'>
        <div data-role='switchView' class='ipsResponsive_hidePhone ipsPos_right'>
            <a href='{$member->url()}' class='ipsButton ipsButton_veryLight ipsButton_small ipsPos_right {{if $small != true}}ipsHide{{endif}}' data-action="goToProfile" data-type='full' title="{lang="members_profile" sprintf="$member->name"}"><i class='fa fa-user'></i> <span class='ipsResponsive_showDesktop ipsResponsive_inline'>&nbsp;{lang="profile_view_profile"}</span></a>
            <a href="{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}" rel="nofollow" class='ipsButton ipsButton_veryLight ipsButton_small ipsPos_right {{if $small == true}}ipsHide{{endif}}' data-action="browseContent" data-type='full' title="{lang="members_content" sprintf="$member->name"}"><i class='fa fa-newspaper-o'></i> <span class='ipsResponsive_showDesktop ipsResponsive_inline'>&nbsp;{{if member.member_id === $member->member_id}}{lang="profile_browse_my_content"}{{else}}{lang="profile_browse_content"}{{endif}}</span></a>
        </div>
        <ul class='ipsList_reset ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap ipsPos_left ipsResponsive_noFloat'>
            <li>
                <h4 class='ipsType_minorHeading'>{lang="members_member_posts"}</h4>
                {number="$member->member_posts"}
            </li>
            <li>
                <h4 class='ipsType_minorHeading'>{lang="joined"}</h4>
                {datetime="$member->joined"}
            </li>
            {{if ( !$member->isOnlineAnonymously() ) OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() )}}
            <li>
                <h4 class='ipsType_minorHeading'>{lang="members_last_visit"}</h4>
                <span>
					{{if $member->isOnline() AND ( !$member->isOnlineAnonymously() OR ( $member->isOnlineAnonymously() AND \IPS\Member::loggedIn()->isAdmin() ) )}}
                    	<i class="fa fa-circle ipsOnlineStatus_online" data-ipsTooltip title='{{if $member->isOnlineAnonymously()}}{lang="online_now_anon" sprintf="$member->name"}{{elseif $member->isOnline()}}{lang="online_now" sprintf="$member->name"}{{endif}}'></i>
                    {{endif}}
                    {{if $member->last_activity}}{datetime="$member->last_activity"}{{else}}{lang="never"}{{endif}}
				</span>
            </li>
            {{endif}}
            {{if settings.reputation_leaderboard_on and settings.reputation_show_days_won_trophy and $member->getReputationDaysWonCount()}}
            <li>
                <h4 class='ipsType_minorHeading'>{lang="members_days_won_count"}</h4>
                <span data-ipsTooltip title='{lang="members_days_won_count_desc" sprintf="$member->name"}'>{number="$member->getReputationDaysWonCount()"}</span>
            </li>
            {{endif}}
        </ul>
    </div>
</header>]]></template>
 <template template_group="profile" template_name="profileTabs" template_data="$member, $tabs, $activeTab, $activeTabContents" template_location="front" template_app="core"><![CDATA[{{if \count( $tabs ) > 1}}
	<div class='ipsTabs ipsTabs_stretch ipsClearfix' id='elProfileTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elProfileTabs_content'>
		<a href='#elProfileTabs' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role="tablist">
			{{foreach $tabs as $tab => $title}}
				<li>
					<a href='{$member->url()->setQueryString( 'tab', $tab )}' id='elProfileTab_{$tab}' class='ipsTabs_item ipsType_center {{if $activeTab == $tab}}ipsTabs_activeItem{{endif}}' role="tab" aria-selected="{{if $activeTab == $tab}}true{{else}}false{{endif}}">{lang="$title"}</a>
				</li>
			{{endforeach}}
		</ul>
	</div>
{{endif}}
<div id='elProfileTabs_content' class='ipsTabs_panels ipsPadding ipsAreaBackground_reset'>
	{{foreach $tabs as $tab => $title}}
		{{if $activeTab == $tab}}
			<div id="ipsTabs_elProfileTabs_elProfileTab_{$tab}_panel" class='ipsTabs_panel ipsAreaBackground_reset'>
				{$activeTabContents|raw}
			</div>
		{{endif}}
	{{endforeach}}
</div>]]></template>
 <template template_group="profile" template_name="recentVisitorsBlock" template_data="$member, $visitors" template_location="front" template_app="core"><![CDATA[
{{if $member->members_bitoptions['pp_setting_count_visitors']}}
	
	<h2 class='ipsWidget_title ipsType_reset'>
		{{if \IPS\Member::loggedIn()->modPermission('can_modify_profiles') or ( \IPS\Member::loggedIn()->member_id == $member->member_id and $member->group['g_edit_profile'] )}}
			<a href='{url="app=core&module=members&controller=profile&do=visitors&id=$member->member_id" seoTemplate="profile" seoTitle="$member->members_seo_name" csrf="true"}' class='ipsType_light ipsType_normal ipsPos_right ipsFaded ipsFaded_more ipsFaded_withHover' data-ipsTooltip title='{lang="hide_recent_visitors"}' data-action='disable'><i class='fa fa-times'></i></a>
		{{endif}}

		{lang="profile_recent_visitors"}
	</h2>
	<div class='ipsWidget_inner ipsPad'>
		<span class='ipsType_light'>
			{lang="profile_views" pluralize="$member->members_profile_views"}
		</span>
		{{if \is_array( $visitors ) AND \count( $visitors ) }}
			<ul class='ipsDataList ipsDataList_reducedSpacing ipsSpacer_top'>
			{{foreach $visitors as $visitor}}
				<li class='ipsDataItem'>
					<div class='ipsType_center ipsDataItem_icon'>
						{template="userPhoto" app="core" group="global" params="$visitor['member'], 'tiny'"}
					</div>
					<div class='ipsDataItem_main'>
						<h3 class='ipsDataItem_title'>{$visitor['member']->link()|raw}</h3>
						<p class='ipsDataItem_meta ipsType_light'>{datetime="$visitor['visit_time']"}</p>
					</div>
				</li>
			{{endforeach}}
			</ul>
		{{else}}
			<div class='ipsType_center ipsType_medium'>
				<p class='ipsType_light'>
					{lang="no_recent_visitors"}
				</p>
			</div>
		{{endif}}
	</div>
{{else}}
	<h2 class='ipsWidget_title ipsType_reset'>
		{lang="profile_recent_visitors"}
	</h2>
	<div class='ipsWidget_inner ipsPad'>
		<div class='ipsType_center ipsType_medium'>
			<p class='ipsType_light'>
				{lang="disabled_recent_visitors"}
			</p>
            {{if \IPS\Member::loggedIn()->modPermission('can_modify_profiles') or ( \IPS\Member::loggedIn()->member_id == $member->member_id and $member->group['g_edit_profile'] )}}
			<a href='{url="app=core&module=members&controller=profile&do=visitors&id={$member->member_id}&state=1" seoTemplate="profile" seoTitle="$member->members_seo_name" csrf="TRUE"}' class='' data-action='enable'>{lang="enable"}</a>
            {{endif}}
		</div>
	</div>
{{endif}}
		]]></template>
 <template template_group="profile" template_name="singleStatus" template_data="$member, $status" template_location="front" template_app="core"><![CDATA[<div class='ipsPad' id='elSingleStatusUpdate'>
	<h2 class='ipsType_pageTitle {{if !isset( \IPS\Request::i()->status )}}ipsSpacer_top{{endif}}'>
		{lang="viewing_single_status"}
	</h2>
	<p class='ipsType_reset ipsType_normal ipsSpacer_bottom'>
		<a href='{$member->url()->setQueryString( array( 'do' => 'content', 'type' => 'core_statuses_status', 'change_section' => 1 ) )}'><i class='fa fa-caret-left'></i> {lang="see_all_statuses_by_x" sprintf="$member->name"}</a>
	</p>
	<div data-controller='core.front.profile.statusFeed' class='cStatusUpdates ipsSpacer_top'>
		<ol class='ipsType_normal ipsList_reset' data-role='commentFeed'>
			{template="statusContainer" app="core" group="statuses" params="$status"}
		</ol>
	</div>
</div>]]></template>
 <template template_group="profile" template_name="tableRow" template_data="$table, $headers, $members" template_location="front" template_app="core"><![CDATA[{{foreach $members as $member}}
	{{$loadedMember = \IPS\Member::load( $member->member_id );}}
	<li class='ipsDataItem'>
		<div class='ipsDataItem_icon'>
			{template="userPhoto" group="global" app="core" params="$loadedMember, 'medium'"}
		</div>
		<div class='ipsDataItem_main'>
			<h3 class='ipsType_sectionHead'>{$loadedMember->link()|raw}</h3> {{if $loadedMember->isOnline()}}<i class="fa fa-circle ipsOnlineStatus_online" data-ipsTooltip title='{lang="online_now" sprintf="$member->name"}'></i>{{endif}}<br>
			<span class='ipsType_normal'>{expression="\IPS\Member\Group::load( $member->member_group_id )->formattedName" raw="true"}</span>
			<ul class='ipsList_inline ipsType_light'>
				<li><strong>{lang="members_member_posts"}: {$loadedMember->member_posts}</strong></li>
				<li>{lang="members_joined"} {datetime="$loadedMember->joined"}</li>
				{{if $loadedMember->last_activity}}
					<li>{lang="members_last_visit"} {datetime="$loadedMember->last_activity"}</li>
				{{endif}}
			</ul>
		</div>
		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$member->member_id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $member ) )"}" data-state=''>
					<span></span>
				</span>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="profile" template_name="userBadgeOverview" template_data="$member, $percentage" template_location="front" template_app="core"><![CDATA[
{{$baseUrl = \IPS\Http\Url::internal( "app=core&module=members&controller=profile&id={$member->member_id}&do=content", 'front', 'profile_content', $member->members_seo_name );}}
{{if !\IPS\Request::i()->isAjax()}}
<div data-controller='core.front.profile.main' id='elProfileUserContent'>
	{template="profileHeader" app="core" location="front" group="profile" params="$member, true"}
	<div data-role="profileContent" class='ipsSpacer_top'>
{{endif}}
		<div class='ipsColumns ipsColumns_collapseTablet'>
            {{if $member->canHaveAchievements() and \IPS\core\Achievements\Rank::show() and \IPS\core\Achievements\Rank::getStore() and $rank = $member->rank()}}
                <div class='ipsColumn ipsColumn_veryWide'>
                    <div class='ipsBox ipsSpacer_bottom'>
                        <h2 class='ipsType_sectionTitle ipsType_reset'>{lang="achievements_profile_rank_progress"}</h2>
                        <div class='ipsPadding'>
                            {{if $rank}}
                            <p class='ipsType_reset ipsMargin_bottom'>
                                {{if $percentage}}
                                    {lang="profile_rank_progress_blurb_percentage" sprintf="$member->name, $member->rank()->rankPosition()['pos'], $member->rank()->rankPosition()['max'], $percentage"}
                                <span class="ipsType_light ipsType_small" data-ipsToolTip title="{lang="profile_rank_progress_blurb_percentage_info"}"><i class="fa fa-info-circle"></i></span>
                                {{else}}
                                    {lang="profile_rank_progress_blurb" sprintf="$member->name, $member->rank()->rankPosition()['pos'], $member->rank()->rankPosition()['max']"}
                                {{endif}}
                            </p>
                            <hr class='ipsHr ipsMargin_bottom:double'>
                            {{endif}}

                            <ul class='ipsList_reset cRankHistory ipsPos_relative'>
                                {{if $member->rankHistory()['earned']}}
                                {{foreach $member->rankHistory()['earned'] as $entry}}
                                    <li class='ipsFlex ipsMargin_vertical cRankHistory__item'>
                                        {$entry['rank']->html( 'ipsFlex-flex:00 ipsDimension:4 ipsOutline cRankHistory__itemBadge' )|raw}
                                        <div class='ipsMargin_left:half'>
                                            <h3 class='ipsType_reset ipsType_semiBold ipsType_darkText ipsType_large'>{$entry['rank']->_title}</h3>
                                            {{if ! $entry['time'] or ( $entry['time']->getTimestamp() < settings.achievements_last_rebuilt)}}
                                                {{if \IPS\Settings::i()->achievements_last_rebuilt}}<p class='ipsType_reset ipsType_light'>{lang="badge_earned_date_while_rebuilding" htmlsprintf="\IPS\DateTime::ts( \IPS\Settings::i()->achievements_last_rebuilt )->shortMonthAndFullYear()"}</p>{{endif}}
                                            {{elseif $entry['time']}}
                                            <p class='ipsType_reset ipsType_light'>{lang="badge_earned_date" htmlsprintf="$entry['time']->html()"}</p>
                                            {{endif}}
                                        </div>
                                    </li>
                                {{endforeach}}
                                {{endif}}
                                {{if $member->rankHistory()['not_earned']}}
                                {{foreach $member->rankHistory()['not_earned'] as $entry}}
                                    <li class='ipsFlex ipsMargin_vertical cRankHistory__item'>
                                        {$entry['rank']->html( 'ipsFlex-flex:00 ipsDimension:4 ipsOutline cRankHistory__itemBadge cRankHistory__itemBadge--unearned' )|raw}
                                        <div class='ipsMargin_left:half ipsFaded'>
                                            <h3 class='ipsType_reset ipsType_semiBold ipsType_large'>{$entry['rank']->_title}</h3>
                                            <p class='ipsType_reset'><em>{lang="badge_earned_but_not_really"}</em></p>
                                        </div>
                                    </li>
                                {{endforeach}}
                                {{endif}}
                            </ul>
                        </div>
                    </div>
                </div>
            {{endif}}
			<div class='ipsColumn ipsColumn_fluid'>
				<div class='ipsBox ipsSpacer_bottom'>
					<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="achievements_profile_title" pluralize="$member->badgeCount()"}</h2>
					{{if $member->badgeCount()}}
						<div class='ipsPadding cProfileBadgeGrid'>
							{{foreach $member->recentBadges( NULL ) as $badge}}
								<div class='ipsFlex ipsFlex-ai:center'>
									{$badge->html('ipsFlex-flex:00 ipsDimension:4', FALSE, TRUE)|raw}
									<div class='ipsMargin_left:half'>
										{{if ! empty( $badge->recognize ) AND $badge->recognize->contentWrapper() }}
										<h4 class='ipsType_reset ipsType_semiBold ipsType_medium'>
											{lang="badge_from_recognize" sprintf="$badge->_title, $badge->recognize->content()->url(), $badge->recognize->content()->indefiniteArticle()"}
										</h4>
										{{else}}
										<h4 class='ipsType_reset ipsType_semiBold ipsType_medium'>{$badge->_title}</h4>
										{{endif}}
										{{if ! empty( $badge->awardDescription )}}
											<p class='ipsType_reset ipsType_small ipsType_light'>{$badge->awardDescription}</p>
										{{endif}}
                                        {{if $badge->datetime < settings.achievements_last_rebuilt}}
                                            {{if \IPS\Settings::i()->achievements_last_rebuilt}}<p class='ipsType_reset ipsType_small ipsType_light'>{lang="badge_earned_date_while_rebuilding" htmlsprintf="\IPS\DateTime::ts( \IPS\Settings::i()->achievements_last_rebuilt )->shortMonthAndFullYear()"}</p>{{endif}}
                                        {{else}}
                                        <p class='ipsType_reset ipsType_small ipsType_light'>{lang="badge_earned_date" htmlsprintf="\IPS\DateTime::ts( $badge->datetime )->html()"}</p>
                                        {{endif}}
									</div>
								</div>
							{{endforeach}}
						</div>
					{{else}}
						<div class='ipsPadding ipsType_center ipsType_light'>
							{{if $member->member_id === \IPS\Member::loggedIn()->member_id}}
								{lang="achievements_self_none" sprintf=""}
							{{else}}
								{lang="achievements_member_none" sprintf="$member->name"}
							{{endif}}
						</div>
					{{endif}}
				</div>
			</div>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}]]></template>
 <template template_group="profile" template_name="userContent" template_data="$member, $types, $currentAppModule, $currentType, $table" template_location="front" template_app="core"><![CDATA[{{$baseUrl = \IPS\Http\Url::internal( "app=core&module=members&controller=profile&id={$member->member_id}&do=content", 'front', 'profile_content', $member->members_seo_name );}}
{{if !\IPS\Request::i()->isAjax()}}
<div data-controller='core.front.profile.main' id='elProfileUserContent'>
	{template="profileHeader" app="core" location="front" group="profile" params="$member, true"}
	<div data-role="profileContent" class='ipsSpacer_top'>
{{endif}}
		<div class="ipsColumns ipsColumns_collapsePhone">
			<div class="ipsColumn ipsColumn_wide">
				<div class='ipsPadding:half ipsBox'>
					<div class="ipsSideMenu" data-ipsTabBar data-ipsTabBar-contentArea='#elUserContent' data-ipsTabBar-itemselector=".ipsSideMenu_item" data-ipsTabBar-activeClass="ipsSideMenu_itemActive" data-ipsSideMenu>
						<h3 class="ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium">
							<a href="#user_content" class="ipsPad_double" data-action="openSideMenu"><i class="fa fa-bars"></i> &nbsp;{lang="user_content_type"}&nbsp;<i class="fa fa-caret-down"></i></a>
						</h3>
						<div>
							<ul class="ipsSideMenu_list">
								<li><a href="{$baseUrl->setQueryString( array( 'change_section' => 1 ) )}" class="ipsSideMenu_item {{if !$currentType}}ipsSideMenu_itemActive{{endif}}">{lang="all_activity"}</a></li>
							</ul>
							{{foreach $types as $app => $_types}}
								<h4 class='ipsSideMenu_subTitle'>{lang="module__{$app}"}</h4>
								<ul class="ipsSideMenu_list">
									{{foreach $_types as $key => $class}}
										<li><a href="{$baseUrl->setQueryString( array( 'type' => $key, 'change_section' => 1 ) )}" class="ipsSideMenu_item {{if $currentType == $key}}ipsSideMenu_itemActive{{endif}}">{lang="{$class::$title}_pl"}</a></li>
									{{endforeach}}
								</ul>
							{{endforeach}}
						</div>			
					</div>
				</div>
			</div>
			<div class="ipsColumn ipsColumn_fluid" id='elUserContent'>
				{template="userContentSection" group="profile" app="core" params="$member, $types, $currentAppModule, $currentType, $table"}
			</div>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}]]></template>
 <template template_group="profile" template_name="userContentSection" template_data="$member, $types, $currentAppModule, $currentType, $table" template_location="front" template_app="core"><![CDATA[<div class='ipsBox'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{{if !$currentAppModule}}{lang="all_content_by_user" sprintf="$member->name"}{{else}}{lang="content_by_user" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $types[ $currentAppModule ][ $currentType ]::$title . '_pl' ), $member->name"}{{endif}}</h2>
	{$table|raw}
</div>]]></template>
 <template template_group="profile" template_name="userContentStream" template_data="$member, $results, $pagination" template_location="front" template_app="core"><![CDATA[
<div data-baseurl="{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}&all_activity=1&page=1" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}" data-resort="listResort" data-tableid="topics" data-controller="core.global.core.table">
	<div data-role="tableRows">
		{{if $pagination}}
			<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear" data-role="tablePagination">
				{$pagination|raw}
			</div>
		{{endif}}
		<ol class='ipsDataList ipsDataList_large cSearchActivity ipsStream ipsPad'>
			{{foreach $results as $activity}}
				{$activity->html()|raw}
			{{endforeach}}
		</ol>
		{{if $pagination}}
			<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
				{$pagination|raw}
			</div>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="profile" template_name="userReputation" template_data="$member, $types, $currentAppModule, $currentType, $table, $reactions" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
<div data-controller='core.front.profile.main'>
	{template="profileHeader" app="core" location="front" group="profile" params="$member, true"}
	<div data-role="profileContent" class="ipsSpacer_top">
{{endif}}
		<div class="ipsColumns ipsColumns_collapsePhone ipsSpacer_top">
			<aside class="ipsColumn ipsColumn_wide">
				<div class="cProfileRepScore ipsMargin_bottom ipsPadding:half {{if $member->pp_reputation_points > 1}}cProfileRepScore_positive{{elseif $member->pp_reputation_points < 0}}cProfileRepScore_negative{{else}}cProfileRepScore_neutral{{endif}}">
					<h2 class='ipsType_minorHeading'>{lang="profile_reputation"}</h2>
					<span class='cProfileRepScore_points'>{number="$member->pp_reputation_points"}</span>
					{{if $member->reputation()}}
						<span class='cProfileRepScore_title'>{$member->reputation()}</span>
					{{endif}}
					{{if $member->reputationImage()}}
						<div class='ipsAreaBackground_reset ipsRadius ipsPad_half ipsType_center'>
							<img src='{file="$member->reputationImage()" extension="core_Theme"}' alt=''>
						</div>
					{{endif}}		
				</div>
				{{if \count( $reactions['given'] ) OR \count( $reactions['received'] )}}
					<div class="ipsMargin_bottom ipsPadding:half ipsBox">
						{{if \count( $reactions['given'] )}}
							<h2 class='ipsType_minorHeading'>{lang="replog_reactions_given"}</h2>
							<div class='ipsPad_half ipsGrid'>
								{{foreach $reactions['given'] as $reaction}}
									<div class='ipsGrid_span6'>
										<img src='{file="$reaction['reaction']->_icon" extension="core_Reaction"}' width="20" height="20" alt='{$reaction['reaction']->_title}' data-ipsTooltip> 
										<span class='ipsCommentCount'>{$reaction['count']}</span>
									</div>
								{{endforeach}}
							</div>
						{{endif}}

						{{if \count( $reactions['received'] )}}
							<h2 class='ipsType_minorHeading'>{lang="replog_reactions_received"}</h2>
							<div class='ipsPad_half ipsGrid'>
								{{foreach $reactions['received'] as $reaction}}
									<div class='ipsGrid_span6'>
										<img src='{file="$reaction['reaction']->_icon" extension="core_Reaction"}' width="20" height="20" alt='{$reaction['reaction']->_title}' data-ipsTooltip> 
										<span class='ipsCommentCount'>{$reaction['count']}</span>
									</div>
								{{endforeach}}
							</div>
						{{endif}}
					</div>
				{{endif}}
				<div class='ipsPadding:half ipsBox'>
					<div class="ipsSideMenu" data-ipsTabBar data-ipsTabBar-contentArea='#elUserReputation' data-ipsTabBar-itemselector=".ipsSideMenu_item" data-ipsTabBar-activeClass="ipsSideMenu_itemActive" data-ipsSideMenu>
						<h3 class="ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium">
							<a href="#user_reputation" class="ipsPad_double" data-action="openSideMenu"><i class="fa fa-bars"></i> &nbsp;{lang="user_content_type"}&nbsp;<i class="fa fa-caret-down"></i></a>
						</h3>
						<div>
							{{foreach $types as $app => $_types}}
								<h4 class='ipsSideMenu_subTitle'>{lang="module__{$app}"}</h4>
								<ul class="ipsSideMenu_list">
									{{foreach $_types as $key => $class}}
										<li><a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation&type={$key}&change_section=1" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}" class="ipsSideMenu_item {{if $currentType == $key}}ipsSideMenu_itemActive{{endif}}">{lang="{$class::$title}_pl"}</a></li>
									{{endforeach}}
								</ul>
							{{endforeach}}
						</div>			
					</div>
				</div>
			</aside>
			<section class='ipsColumn ipsColumn_fluid'>
				<div class='ipsBox'>
					<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="replog_title"}</h2>
					<div id='elUserReputation'>
						{template="userReputationSection" group="profile" app="core" params="$table"}
					</div>
				</div>
			</section>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}	]]></template>
 <template template_group="profile" template_name="userReputationRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}}
	{{foreach $rows as $row}}
		{{$reaction = \IPS\Content\Reaction::load( $row->rep_reaction );}}
		<li class='ipsDataItem'>		
			{{if !\IPS\Content\Reaction::isLikeMode()}}
				<div class='ipsDataItem_generic ipsDataItem_size1'>
					<img src='{file="$reaction->_icon" extension="core_Reaction"}' alt='{$reaction->_title}' width='20' height='20' data-ipsTooltip title='{$reaction->_title}'>
				</div>
			{{endif}}
			<div class='ipsDataItem_generic ipsDataItem_size2 ipsType_center ipsResponsive_hidePhone'>
				{{if $row->rep_member == \IPS\Request::i()->id}}
					{template="userPhoto" group="global" app="core" params="\IPS\Member::load( \IPS\Request::i()->id ), 'mini'"}
				{{else}}
					{template="userPhoto" group="global" app="core" params="\IPS\Member::load( $row->rep_member ), 'mini'"}
				{{endif}}
			</div>
			<div class='ipsDataItem_main'>
				<span class=''>
					{{if !\IPS\Content\Reaction::isLikeMode()}}
						{{if $row instanceof \IPS\Content\Comment or $row instanceof \IPS\Content\Review}}
							{{$item = $row->item();}}
							{{if $row->rep_member != \IPS\Request::i()->id}}
								{lang="replog_rate_comment_received" htmlsprintf="\IPS\Member::load( $row->rep_member_received )->link(), \IPS\Member::load( $row->rep_member )->link()"} <a href='{$item->url()}'>{$item->mapped('title')}</a>
							{{else}}
								{{if $row->rep_member_received}}
									{lang="replog_rate_comment_gave" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), \IPS\Member::load( $row->rep_member_received )->link()"} <a href='{$item->url()}'>{$item->mapped('title')}</a>
								{{else}}
									{lang="replog_rate_comment_gave_no_recipient" htmlsprintf="\IPS\Member::load( $row->rep_member )->link()"} <a href='{$item->url()}'>{$item->mapped('title')}</a>
								{{endif}}
							{{endif}}
						{{else}}
							{{if $row->rep_member != \IPS\Request::i()->id}}
								{lang="replog_rate_item_received" htmlsprintf="\IPS\Member::load( $row->rep_member_received )->link(), \IPS\Member::load( $row->rep_member )->link(), $row->indefiniteArticle()"} <a href='{$row->url()}'>{$row->mapped('title')}</a>
							{{else}}
								{{if $row->rep_member_received}}
									{lang="replog_rate_item_gave" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), \IPS\Member::load( $row->rep_member_received )->link(), $row->indefiniteArticle()"} <a href='{$row->url()}'>{$row->mapped('title')}</a>
								{{else}}
									{lang="replog_rate_item_gave_no_recipient" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), $row->indefiniteArticle()"} <a href='{$row->url()}'>{$row->mapped('title')}</a>
								{{endif}}
							{{endif}}
						{{endif}}
					{{else}}
						<strong>
							{{if $row instanceof \IPS\Content\Comment or $row instanceof \IPS\Content\Review}}
								{{$item = $row->item();}}
								{{if $row->rep_member_received}}
									{lang="replog_like_comment" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), $row->url(), $row->indefiniteArticle(), \IPS\Member::load( $row->rep_member_received )->link()"} <a href='{$item->url()}'>{$item->mapped('title')}</a>
								{{else}}
									{lang="replog_like_comment_no_recipient" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), $row->url(), $row->indefiniteArticle()"} <a href='{$item->url()}'>{$item->mapped('title')}</a>
								{{endif}}
							{{else}}
								{{if $row->rep_member_received}}
									{lang="replog_like_item" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), $row->indefiniteArticle(), \IPS\Member::load( $row->rep_member_received )->link()"} <a href='{$row->url()}'>{$row->mapped('title')}</a>
								{{else}}
									{lang="replog_like_item_no_recipient" htmlsprintf="\IPS\Member::load( $row->rep_member )->link(), $row->indefiniteArticle()"} <a href='{$row->url()}'>{$row->mapped('title')}</a>
								{{endif}}
							{{endif}}
						</strong>
					{{endif}}
				</span>
				<span class='ipsType_light ipsType_medium'>&nbsp;&nbsp;{datetime="$row->rep_date"}</span>
				<br>
				{{if $result = $row->truncated()}}
					<div class='ipsType_medium ipsType_richText ipsContained cProfileRepLog_text' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='2 lines'>
						{$result|raw}
					</div>
				{{endif}}
			</div>
		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="profile" template_name="userReputationSection" template_data="$table" template_location="front" template_app="core"><![CDATA[
<section class='ipsDataList ipsDataList_large'>
	{$table|raw}
</section>]]></template>
 <template template_group="profile" template_name="userReputationTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}

	{{if $table->showAdvancedSearch AND ( (isset( $table->sortOptions ) and !empty( $table->sortOptions )) OR $table->advancedSearch ) OR !empty( $table->filters ) OR $table->pages > 1}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch )}}
				<li>
					{{if isset($table->sortOptions) }}
					<a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
							{{$custom = TRUE;}}
							{{foreach $table->sortOptions as $k => $col}}
								<li class="ipsMenu_item {{if $col === $table->sortBy}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{$table->getSortDirection( $col )}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => $table->getSortDirection( $col ) ) )->setPage( 'page', 1 )}">{lang="{$table->langPrefix}sort_{$k}"}</a></li>
							{{endforeach}}
						{{if $table->advancedSearch}}
							<li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
								<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
							</li>
						{{endif}}
					</ul>
					{{elseif $table->advancedSearch}}
						<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
					{{endif}}
				</li>
			{{endif}}
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>
		
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
		</div>
	</div>
	{{endif}}

	{{if \count( $rows )}}
		<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center ipsPad'>
			<p class='ipsType_large'>{lang="no_rows_in_table"}</p>
		</div>
	{{endif}}
				
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="profile" template_name="userSolutions" template_data="$member, $types, $currentType, $table, $solutions" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
<div data-controller='core.front.profile.main'>
	{template="profileHeader" app="core" location="front" group="profile" params="$member, true"}
	<div data-role="profileContent" class="ipsSpacer_top">
{{endif}}
		<div class="ipsColumns ipsColumns_collapsePhone ipsSpacer_top">
			<aside class="ipsColumn ipsColumn_wide">
				<div class='cProfileSidebarBlock ipsMargin_bottom'>
					<div class='cProfileRepScore ipsPad_half cProfileSolutions'>
						<h2 class='ipsType_minorHeading'>{lang="profile_solutions"}</h2>
						<span class='cProfileRepScore_points'>{number="$solutions"}</span>
					</div>
				</div>
				{{if \count( $types ) > 1}}
					<div class='ipsPadding:half ipsBox'>
						<div class="ipsSideMenu" data-ipsTabBar data-ipsTabBar-contentArea='#elUserSolutions' data-ipsTabBar-itemselector=".ipsSideMenu_item" data-ipsTabBar-activeClass="ipsSideMenu_itemActive" data-ipsSideMenu>
							<h3 class="ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium">
								<a href="#user_solutions" class="ipsPad_double" data-action="openSideMenu"><i class="fa fa-bars"></i> &nbsp;{lang="user_content_type"}&nbsp;<i class="fa fa-caret-down"></i></a>
							</h3>
							<div>
								<ul class="ipsSideMenu_list">
								{{foreach $types as $key => $type}}
									<li><a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=solutions&type={$key}&change_section=1" seoTemplate="profile_solutions" seoTitle="$member->members_seo_name"}" class="ipsSideMenu_item {{if $currentType == $key}}ipsSideMenu_itemActive{{endif}}">{lang="{$type::$title}_pl"}</a></li>
								{{endforeach}}
								</ul>
							</div>
						</div>
					</div>
				{{endif}}
			</aside>
			<section class="ipsColumn ipsColumn_fluid">
				<div class='ipsBox'>
					<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="profile_solutions"}</h2>
					<div id='elUserSolutions'>
						{template="userSolutionsSection" group="profile" app="core" params="$table"}
					</div>
				</div>
			</section>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}	]]></template>
 <template template_group="profile" template_name="userSolutionsRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}}
	{{foreach $rows as $row}}
		<li class='ipsDataItem'>		
			<div class='ipsDataItem_generic ipsDataItem_size2 ipsType_center ipsResponsive_hidePhone'>
				{template="userPhoto" group="global" app="core" params="\IPS\Member::load( \IPS\Request::i()->id ), 'mini'"}
			</div>
			<div class='ipsDataItem_main'>
				<span class=''>
					{lang="solution_headline" sprintf="\IPS\Member::load( \IPS\Request::i()->id )->name, $row->url(), \IPS\Member::loggedIn()->language()->addToStack( $row::$title . '_lc' ), $row->item()->url(), $row->item()->mapped('title')"}
				</span>
				<span class='ipsType_light ipsType_medium'>&nbsp;&nbsp;{datetime="$row->solved_date"}</span>
				<br>
				{{if $result = $row->truncated()}}
					<div class='ipsType_medium ipsType_richText ipsContained cProfileRepLog_text' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='2 lines'>
						{$result|raw}
					</div>
				{{endif}}
			</div>
		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="profile" template_name="userSolutionsSection" template_data="$table" template_location="front" template_app="core"><![CDATA[
<section class='ipsDataList ipsDataList_large'>
	{$table|raw}
</section>]]></template>
 <template template_group="profile" template_name="userSolutionsTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}}>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}

	{{if $table->showAdvancedSearch AND ( (isset( $table->sortOptions ) and !empty( $table->sortOptions )) OR $table->advancedSearch ) OR !empty( $table->filters ) OR $table->pages > 1}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch )}}
				<li>
					{{if isset($table->sortOptions) }}
					<a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
							{{$custom = TRUE;}}
							{{foreach $table->sortOptions as $k => $col}}
								<li class="ipsMenu_item {{if $col === $table->sortBy}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{$table->getSortDirection( $col )}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => $table->getSortDirection( $col ) ) )->setPage( 'page', 1 )}">{lang="{$table->langPrefix}sort_{$k}"}</a></li>
							{{endforeach}}
						{{if $table->advancedSearch}}
							<li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
								<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
							</li>
						{{endif}}
					</ul>
					{{elseif $table->advancedSearch}}
						<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}'>{lang="custom"}</a>
					{{endif}}
				</li>
			{{endif}}
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>
		
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
		</div>
	</div>
	{{endif}}

	{{if \count( $rows )}}
		<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center ipsPad'>
			<p class='ipsType_large'>{lang="no_rows_in_table"}</p>
		</div>
	{{endif}}
				
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="promote" template_name="edit" template_data="$form" template_location="front" template_app="core"><![CDATA[<div class='{{if !\IPS\Request::i()->isAjax()}}ipsBox_alt{{endif}} ipsPad'>
	{$form|raw}
</div>]]></template>
 <template template_group="promote" template_name="groupLink" template_data="$id, $name" template_location="admin" template_app="core"><![CDATA[<a href="{url="app=core&module=members&controller=groups&id=$id"}">{$name}</a>
]]></template>
 <template template_group="promote" template_name="history" template_data="$history" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground ipsRadius:bl ipsRadius:br'>
	<div class="ipsPad">
		{{if $history === NULL}}
			{lang="promote_history_none"}
		{{else}}
			<ol class="ipsStream ipsStream_withTimeline ipsList_reset">
				{{foreach $history as $date => $keys}}
					<li class="ipsStreamItem_time">{datetime="$date"}</li>
					{{foreach $keys as $service => $row}}
						{{foreach $row as $data}}
							{{$promoter = \IPS\core\Promote::getPromoter( $service );}}
							{{$formattedDate = \IPS\DateTime::ts( $data['response_date'] );}}
							<li class="ipsStreamItem ipsStreamItem_contentBlock ipsStreamItem_expanded ipsAreaBackground_reset ipsPad" data-role="activityItem" data-timestamp="{$date}">
								<div class="ipsStreamItem_container ipsClearfix">
									<div class="ipsStreamItem_header">
										<span class="ipsStreamItem_contentType" data-ipsTooltip title="{$service}"><i class="fa fa-{$promoter::$icon}"></i></span>
										<div>
											{lang="promote_history_response_text" sprintf="$promoter->getName( $data['response_service_id'] ), $formattedDate"}
										</div>
									</div>
								</div>
							</li>
						{{endforeach}}
					{{endforeach}}
				{{endforeach}}
				<li class="ipsStreamItem_terminator">&nbsp;</li>
			</ol>
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="promote" template_name="internalBlurb" template_data="" template_location="admin" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPad'>
	<div>
		<h2 class='ipsType_sectionHead'><strong>{lang="promote_internal_title"}</strong></h2>
		<div class='ipsType_normal ipsType_reset'>{lang="promote_internal_desc"}</div>
	</div>
</div>
]]></template>
 <template template_group="promote" template_name="permissionBlurb" template_data="$groups" template_location="admin" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPad'>
	<div>
		<h2 class='ipsType_sectionHead'><strong>{lang="promote_permission_title"}</strong></h2>
		<div class='ipsType_normal ipsType_reset'>
			{{if \count($groups)}}
				{lang="promote_permission_desc" htmllist="$groups"}
			{{else}}
				{lang="promote_permission_none_desc"}
			{{endif}}
		</div>
	</div>
</div>
]]></template>
 <template template_group="promote" template_name="promoteAttachments" template_data="$name, $value, $minimize, $maxFileSize, $maxFiles, $maxChunkSize, $totalMaxSize, $allowedFileTypes, $pluploadKey, $multiple=FALSE, $editor=FALSE, $forceNoscript=FALSE, $template='core.attachments.fileItem', $existing=array(), $default=NULL, $supportsDelete = TRUE, $maxImageDims = NULL" template_location="front" template_app="core"><![CDATA[<input name="{$name}" type="hidden" value="{$pluploadKey}">
{{if $forceNoscript}}
	<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
	<span class="ipsType_light ipsType_small">
		{{if $allowedFileTypes !== NULL}}
			<strong>{lang="form_upload_accepted"}</strong>
			{expression="implode( ', ', $allowedFileTypes )"}
		{{endif}}
		{{if $multiple and $totalMaxSize}}
			{{if $allowedFileTypes !== NULL}}
				&middot;
			{{endif}}
			<strong>{lang="form_upload_total_max"}</strong>
			{filesize="$totalMaxSize * 1048576"}
		{{endif}}
		{{if !$multiple or !$totalMaxSize or $maxChunkSize < $totalMaxSize}}
			{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
				&middot;
			{{endif}}
			<strong>{lang="form_upload_max"}</strong>
			{$maxChunkSize}MB
		{{endif}}
		{{if $maxFiles}}
			<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
		{{endif}}
	</span>
{{else}}
	<noscript>
		<input name="{$name}_noscript[]" type="file" {{if $multiple}}multiple{{endif}}>
		<span class="ipsType_light ipsType_small">
			{{if $allowedFileTypes !== NULL}}
				<strong>{lang="form_upload_accepted"}</strong>
				{expression="implode( ', ', $allowedFileTypes )"}
			{{endif}}
			{{if $multiple and $totalMaxSize}}
				{{if $allowedFileTypes !== NULL}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_total_max"}</strong>
				{filesize="$totalMaxSize * 1048576"}
			{{endif}}
			{{if !$multiple or !$totalMaxSize or $maxChunkSize < $totalMaxSize}}
				{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
					&middot;
				{{endif}}
				<strong>{lang="form_upload_max"}</strong>
				{$maxChunkSize}MB
			{{endif}}
			{{if $maxFiles}}
				<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
			{{endif}}
		</span>
	</noscript>
	{{if $value}}
		{{foreach $value as $id => $file}}
			<input type="hidden" name="{$name}_existing[{$id}]" value="{$file->tempId}">
		{{endforeach}}
	{{endif}}
	<div id="{$name}_drop_{expression="md5( mt_rand() )"}"
		 data-ipsUploader
		 {{if $maxFileSize}}data-ipsUploader-maxFileSize="{expression="number_format( $maxFileSize, 3, '.', '' )"}"{{endif}}
		 {{if $maxFiles}}data-ipsUploader-maxFiles="{$maxFiles}"{{endif}}
		 data-ipsUploader-maxChunkSize="{expression="number_format( $maxChunkSize, 3, '.', '' )"}"
		 {{if $allowedFileTypes}}data-ipsUploader-allowedFileTypes='{expression="json_encode( $allowedFileTypes )"}'{{endif}}
		 data-ipsUploader-name="{$name}"
		 data-ipsUploader-key="{$pluploadKey}"
		 {{if $multiple}}data-ipsUploader-multiple {{if $totalMaxSize}}data-ipsUploader-maxTotalSize="{expression="number_format( $totalMaxSize, 3, '.', '' )"}"{{endif}}{{endif}}
		 {{if $minimize}}data-ipsUploader-minimized{{endif}}
		 {{if $editor}}data-ipsUploader-insertable{{endif}}
		 data-ipsUploader-template='{$template}'
		 data-ipsUploader-existingFiles='{expression="json_encode( $existing )"}'
		 {{if isset( $default )}}data-ipsUploader-default='{$default}'{{endif}}
		 {{if $maxImageDims}}data-ipsUploader-maxImageDims="{$maxImageDims}"{{endif}}
	>
		<div class="ipsAttachment_dropZone {{if $minimize}}ipsAttachment_dropZoneSmall{{endif}} ipsClearfix">
			{{if $minimize}}
				<a href="#" data-action='uploadFile' class="ipsButton ipsButton_small ipsButton_primary ipsPos_left" id="{$name}_browse_{expression="md5( mt_rand() )"}">{{if $multiple}}{lang="form_upload_choose"}{{else}}{lang="form_upload_choose_one"}{{endif}}</a>
				<div class='ipsAttachment_dropZoneSmall_info'>
					<span class="ipsAttachment_supportDrag">{{if $multiple}}{lang="form_upload_dad_mini"}{{else}}{lang="form_upload_dad_mini_one"}{{endif}}<br></span>
					<span class="ipsType_light ipsType_small">
						{{if $allowedFileTypes !== NULL}}
							<strong>{lang="form_upload_accepted"}</strong>
							{expression="implode( ', ', $allowedFileTypes )"}
						{{endif}}
						{{if $multiple and $totalMaxSize}}
							{{if $allowedFileTypes !== NULL}}
								&middot;
							{{endif}}
							<strong>{lang="form_upload_total_max"}</strong>
							{filesize="$totalMaxSize * 1048576"}
						{{endif}}
						{{if $maxFileSize and ( !$multiple or !$totalMaxSize or $maxFileSize < $totalMaxSize )}}
							{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
								&middot;
							{{endif}}
							<strong>{lang="form_upload_max"}</strong>
							{expression="round($maxFileSize,2)"}MB
						{{endif}}
						{{if $maxFiles}}
							<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
						{{endif}}
					</span>
				</div>
			{{else}}
				<i class="fa fa-cloud-upload"></i>
				<span class="ipsAttachment_supportDrag">{{if $multiple}}{lang="form_upload_dad"}{{else}}{lang="form_upload_dad_one"}{{endif}}<br></span>
				<a href="#" data-action='uploadFile' class="ipsButton ipsButton_verySmall ipsButton_primary" id="{$name}_browse_{expression="md5( mt_rand() )"}">{{if $multiple}}{lang="form_upload_choose"}{{else}}{lang="form_upload_choose_one"}{{endif}}</a>
				<br>
				<span class="ipsType_light ipsType_small">
					{{if $allowedFileTypes !== NULL}}
						<strong>{lang="form_upload_accepted"}</strong>
						{expression="implode( ', ', $allowedFileTypes )"}
					{{endif}}
					{{if $multiple and $totalMaxSize}}
						{{if $allowedFileTypes !== NULL}}
							&middot;
						{{endif}}
						<strong>{lang="form_upload_total_max"}</strong>
						{filesize="$totalMaxSize * 1048576"}
					{{endif}}
					{{if $maxFileSize and ( !$multiple or !$totalMaxSize or $maxFileSize < $totalMaxSize )}}
						{{if $allowedFileTypes !== NULL or ( $multiple and $totalMaxSize )}}
							&middot;
						{{endif}}
						<strong>{lang="form_upload_max"}</strong>
						{expression="round($maxFileSize,2)"}MB
					{{endif}}
					{{if $maxFiles}}
						<br>{lang="form_upload_max_files" pluralize="$maxFiles"}
					{{endif}}
				</span>
			{{endif}}
		</div>
	
		<div class="ipsAttachment_fileList ipsScrollbar">
			<div data-role='fileList' class='ipsGrid' data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200' data-ipsGrid-equalHeights='row'></div>
			<noscript>
				{{if $value}}
					{{foreach $value as $id => $file}}
						{template="uploadFile" group="forms" location="global" app="core" params="$id, $file, $name, $editor, ( $template === 'core.attachments.imageItem' )"}
					{{endforeach}}
				{{endif}}
			</noscript>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="promote" template_name="promoteDialog" template_data="$title, $form" template_location="front" template_app="core"><![CDATA[<div id='elPromoteDialog' class='{{if !\IPS\Request::i()->isAjax()}}ipsBox_alt{{endif}}'>
	{{if $title && !\IPS\Request::i()->isAjax()}}
	<h1 class="ipsType_pageTitle">{$title}</h1>
	{{endif}}
	<div>
		{$form|raw}
	</div>
</div>]]></template>
 <template template_group="promote" template_name="promoteDialogImages" template_data="$images, $promote=NULL" template_location="front" template_app="core"><![CDATA[<li class="cPromote_attachList">
	<ul class="ipsGrid" data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200' data-ipsGrid-equalHeights='row'>
		{{foreach $images as $image}}
			{{foreach $image as $extension => $file}}
				{{$checked = ( $promote ? ( $promote->hasImage( $file, $extension ) ? 'checked="checked"' : '' ) : '' );}}
				<li class='ipsGrid_span4 cPromote_attachImage {{if !empty( $checked )}}cPromote_attachImageSelected{{endif}}'>
					{{$image = \IPS\File::get( $extension, $file )->url;}}
					<div class='ipsThumb ipsThumb_bg' data-role="preview" style='background-image: url( {expression="str_replace( array( '(', ')' ), array( '\(', '\)' ),$image)"} )'>
						<img src="{file="$file" extension="$extension"}" class="ipsImage">
					</div>
					<a href='#' class="cPromote_attachList_checkbox ipsImageAttach_controls" data-action='selectImage'>
						<span class='ipsAttach_selection {{if !empty( $checked )}}ipsAttach_selectionOn{{endif}}'><i class='fa fa-check'></i></span>
						<input type="checkbox" name="attach_files[{$file}]" {$checked} value="1" class='ipsJS_hide'>
					</a>
				</li>
			{{endforeach}}
		{{endforeach}}
	</ul>
</li>
]]></template>
 <template template_group="promote" template_name="promoteDialogLinks" template_data="$normalLink, $shortLink" template_location="front" template_app="core"><![CDATA[
<div class="ipsAreaBackground_light ipsPad cPromote_links {{if $shortLink}}ipsGrid{{endif}} ipsSpacer_bottom ">
	<span {{if $shortLink}}class="ipsGrid_span6"{{endif}}>
		<i class="fa fa-link"></i> {lang="promote_link_long"} <input type="text" name="link_normal" readonly="true" value="{$normalLink}">
	</span>
	{{if $shortLink}}
		<span class="ipsGrid_span6">
			<i class="fa fa-link"></i> {lang="promote_link_short"} <input type="text" name="link_short" readonly="true" value="{$shortLink}">
		</span>
	{{endif}}
</div>
]]></template>
 <template template_group="promote" template_name="promoteDialogTemplate" template_data="$existing, $object, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[
<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm id='elPromoteDialogContent'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}

	<div data-role='promoteDialogBody' class='ipsPad'>
		{{if $existing}}
			{{if $existing->sent}}
				<div class="ipsMessage ipsMessage_info">
					<h4 class="ipsMessage_title">{lang="promote_dialog_sent"}</h4>
					<div>{lang="promote_dialog_sent_desc" htmlsprintf="$existing->sentDateTime()->html()"}</div>
				</div>
			{{else}}
				<div class="ipsMessage ipsMessage_info">
					<h4 class="ipsMessage_title">{lang="promote_dialog_used"}</h4>
					<div>{lang="promote_dialog_used_desc" htmlsprintf="$existing->scheduledDateTime()->html()"}</div>
				</div>
			{{endif}}
		{{endif}}
		{{if $groups = $object->cannotViewGroups()}}
		<div class="ipsMessage ipsMessage_warning">
			<h4 class="ipsMessage_title">{lang="promote_dialog_not_all_view"}</h4>
			<div>{lang="promote_dialog_not_all_view_desc" list="$groups"}</div>
		</div>
		{{endif}}
		<div class='ipsColumns ipsColumns_collapsePhone ipsColumns_collapseTablet'>
			<div class='ipsColumn ipsColumn_fluid'>
				<ul class='ipsList_reset'>
					{{foreach $elements['promote_links'] as $id => $input}}
						{{if \is_object( $input ) }}
							{$input->rowHtml($form)|raw}
						{{else}}
							{$input|raw}
						{{endif}}
					{{endforeach}}
				</ul>
				<ul class='ipsList_reset'>
					{{$text = \IPS\core\Promote::objectContent( $object );}}
					<li class='cPromote_text_wrapper ipsClearfix ipsFieldRow ipsAreaBackground_light ipsPad'>
						<div id='eOriginalText' class='cPromote_text_fade'>
							<textarea>{$text|raw}</textarea>
						</div>
						<a href='#' data-action="expandTextarea">{lang="promote_show_original_content"}</a>
					</li>
				</ul>
				<ul class='ipsList_reset'>
					{{foreach $elements['promote_content'] as $id => $input}}
						{{if $id != 'promote_social_title_internal'}}
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endif}}
					{{endforeach}}
				</ul>
			</div>
			<div class='ipsColumn ipsColumn_veryWide'>
				<div class='ipsPad ipsAreaBackground_light'>
					{{foreach $elements['promote_meta'] as $id => $input}}
						<h3 class='ipsType_reset ipsType_normal ipsSpacer_bottom'>{lang="promote_meta_{$id}"}</h3>
						<ul class='ipsList_reset'>
							{{if \is_object( $input ) }}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						</ul>
					{{endforeach}}
				</div>
			</div>
		</div>

		<div id='elSchedulePromote_menu' class='ipsMenu ipsMenu_auto ipsPad ipsHide'>
			<ul class='ipsList_reset'>
				{{foreach $elements['promote_schedule'] as $id => $input}}
					{{if \is_object( $input ) }}
						{$input->rowHtml($form)|raw}
					{{else}}
						{$input|raw}
					{{endif}}
				{{endforeach}}
			</ul>
		</div>

        {{if isset( $elements['promote_content']['promote_social_title_internal'] ) }}
            <div id='elInternalTitle_menu' class='ipsMenu ipsMenu_wide ipsPad ipsHide'>
                <ul class='ipsList_reset'>
                    <h3 class='ipsType_reset ipsTruncate ipsTruncate_line ipsPadding_bottom'>{lang="promote_social_title_internal"}</h3>
                    {$elements['promote_content']['promote_social_title_internal']->html()|raw}
                </ul>
            </div>
        {{endif}}
	</div>

	<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground cPromoteSubmit">
		{{foreach $actionButtons as $button}}
			<li>{$button|raw}</li>
		{{endforeach}}

		<li>
			<a href='#' class='ipsButton ipsButton_veryLight ipsButton_fullWidth' id='elSchedulePromote' data-ipsMenu data-ipsMenu-appendTo='#elPromoteDialogContent'><i class='fa fa-clock-o'></i> {lang="promote_schedule_dialog"} <span data-role="promoteSchedule"></span> <i class='fa fa-caret-down'></i></a>
		</li>
	</ul>
</form>]]></template>
 <template template_group="promote" template_name="promoteDialogTwitterDuplicate" template_data="" template_location="front" template_app="core"><![CDATA[<div class="ipsMessage ipsMessage_warning" data-role='twitterDupe'>
	<div>{lang="promote_social_content_twitter_duplicate_tweet"}</div>
</div>]]></template>
 <template template_group="promote" template_name="promotePublicTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader ipsClearfix ipsType_center ipsBox ipsPadding:double sm:ipsPadding ipsResponsive_pull'>
	<h1 class='ipsType_veryLarge ipsMargin:none ipsMargin_bottom:half'>{lang="promote_table_header"}</h1>
	<p class='ipsType_reset ipsType_light ipsType_large'>{lang="promote_table_header_desc"}</p>
</div>

<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear ipsSpacer_bottom {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
	{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
</div>

{{if \is_array( $rows ) AND \count( $rows )}}
	<div class='ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows" data-ipsPatchwork>
		<div data-role='patchworkList'>
			<div class='ipsGrid'>
				<div class='ipsGrid_span4'>
					{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
				</div>
			</div>
		</div>
	</div>
{{else}}
	<div class='ipsType_center'>
		<p class='ipsType_large'>{lang="promote_table_none"}</p>
	</div>
{{endif}}

<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear ipsSpacer_top {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
	{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
</div>]]></template>
 <template template_group="promote" template_name="promotePublicTableRow" template_data="$item" template_location="front" template_app="core"><![CDATA[<!--{$item->id}-->
{{$photoCount = $item->imageObjects() ? \count( $item->imageObjects() ) : 0;}}
{{$staff = \IPS\Member::load( $item->added_by );}}
{{$itemUrl = ( $item->object() instanceof \IPS\Content\Item ) ? $item->object()->url( "getPrefComment" ) : $item->object()->url();}}
<div data-role='patchworkItem'>
	<div class='ipsBox ipsClearfix cPromoted' data-ipsLazyLoad>
		{{if $photoCount}}
			{{$firstPhoto = $item->imageObjects()[0];}}
			<a href='{$itemUrl}' class='ipsAreaBackground_dark cPromotedHeader' {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$firstPhoto->url"}'{{else}}style='background-image: url({backgroundimage="$firstPhoto->url"})'{{endif}}>
				<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$firstPhoto->url}' class='ipsHide' alt='{$item->ourPicksTitle}'>
			</a>
		{{endif}}
		{{if $photoCount > 1}}
			<ul class='ipsGrid cPromotedImages ipsClearfix ipsAreaBackground_light' data-ipsGrid data-ipsGrid-minItemSize='60' data-ipsGrid-maxItemSize='100'>
				{{foreach $item->imageObjects() as $file}}
					<li class='ipsGrid_span4'>
						<a href='{$file->url}' {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$file->url"}'{{else}}style='background-image: url({backgroundimage="$file->url"})'{{endif}} data-ipsLightbox data-ipsLightbox-group='g{$item->id}'>
							<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$file->url}' alt='' class='ipsHide'>
						</a>
					</li>
				{{endforeach}}
			</ul>
		{{endif}}

		<div class='ipsPadding'>
			<h2 class='ipsType_reset ipsType_large ipsType_blendLinks ipsType_break cPromotedTitle'>
				{{if $item->objectIsUnread}}
					{{if $item->object() instanceof \IPS\Content\Item}}
						<a href='{$item->object()->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip>
					{{elseif $item->object() instanceof \IPS\Content\Comment}}
						<a href='{$item->object()->item()->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip>
					{{else}}
						<a href="{$item->object()->url()}">
					{{endif}}
						<span class='ipsItemStatus'><i class="fa fa-circle"></i></span>
					</a>
				{{endif}}
				<a href="{$itemUrl}">{$item->ourPicksTitle}</a>
			</h2>
			<p class='ipsType_reset ipsType_light ipsType_medium ipsType_blendLinks'>
				{$item->objectMetaDescription|raw}
			</p>
			{{if $text = $item->getText('internal', true)}}
				<div class="ipsType_richText ipsType_medium ipsSpacer_both">{$text|raw}</div>
			{{endif}}

			<ul class='ipsList_inline ipsType_light'>
				
				{{if $item->objectReactionClass AND \IPS\IPS::classUsesTrait( $item->objectReactionClass, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
					<li>{template="reactionOverview" group="global" app="core" params="$item->objectReactionClass, FALSE"}</li>
				{{endif}}
				
				{{if $counts = $item->objectDataCount}}
					<li><i class='fa fa-comment'></i> {$counts['words']}</li>
				{{endif}}
			</ul>

			<hr class='ipsHr'>

			<div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsType_blendLinks ipsType_light'>
				{template="userPhoto" group="global" app="core" params="$staff, 'tiny'"}
				<div>
					{{if $item->sent && \count( $item->share_to ) > 1}}
						<ul class='ipsList_inline cPromotedNetworks'>
							{{foreach $item->share_to as $service}}
								{{if $service == 'internal'}}
									{{continue;}}
								{{endif}}
								{{if $url = $item->getPublishedUrl( $service )}}
									{{$sharer = $item->getPromoter( $service );}}
									<li class='ipsPos_right'>
										<a href='{$url}' class='cShareLink cShareLink_{$service}' data-ipsTooltip title='{lang="promote_shared_on" sprintf="$sharer->key"}'>
											<i class='fa fa-{$sharer::$icon}'></i>
										</a>
									</li>
								{{endif}}
							{{endforeach}}
						</ul>
					{{endif}}
					<h3 class='ipsType_minorHeading'>{lang="promoted_by"}</h3>
					{template="userLink" group="global" app="core" params="$staff"}, {datetime="$item->sent"}
				</div>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="promote" template_name="promotePublicTableRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}} 
	{{foreach $rows as $item}}
		{{if ( $item->object() instanceof \IPS\Content and  $item->object()->hidden() === 0 ) or ( ! $item->object() instanceof \IPS\Content )}}
			{template="promotePublicTableRow" params="$item" app="core" group="promote"}
		{{endif}}
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="promote" template_name="promoteScheduled" template_data="$promote" template_location="front" template_app="core"><![CDATA[{{$objectTitle = $promote->objectTitle;}}
<h1 class="ipsType_pageTitle">{$objectTitle}</h1>
{{if $promote->schedule_auto or $promote->scheduled > ( time() + 60 )}}
	{lang="promote_scheduled_future" sprintf="$promote->scheduledDateTime()->dayAndMonth() . ' ' . $promote->scheduledDateTime()->localeTime( FALSE )"}
{{else}}
	{lang="promote_scheduled_now"}
{{endif}}]]></template>
 <template template_group="promote" template_name="promoteTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom'>
	<h1 class='ipsType_pageTitle'>{lang="promote_manage_link"}</h1>
</div>

<div class='ipsBox ipsPadding' data-controller='core.front.system.promoteList'>
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>

	{{if \count( $rows )}}
		<ol class='ipsDataList ipsClear cPromoteModCP {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center'>
			<p class='ipsType_large'>{lang="promote_table_none"}</p>
		</div>
	{{endif}}

	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="promote" template_name="promoteTableRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}} 
	{{foreach $rows as $item}}
		{{$sent = $item->sent ? true : false;}}
		<!--{$item->id}-->
		<li class='ipsDataItem {{if $item->scheduled > time()}}ipsDataItem_unread{{endif}} {{if $item->failed}}ipsDataItem_error{{endif}} ipsFlex ipsPadding sm:ipsPadding:half' itemprop="itemListElement">
			<div class='ipsFlex-flex:00 ipsMargin_right:half'>
				{template="userPhoto" app="core" group="global" params="$item->author(), 'tiny'"}
			</div>
			<div class='ipsFlex-flex:11'>
				<div class='ipsFlex ipsFlex-ai:center ipsGap:4 sm:ipsFlex-fd:column sm:ipsFlex-ai:start'>
					<div class='ipsFlex-flex:11'>
						{{if $item->failed and $item->failed < 4}}
							<span class='ipsType_large'>
								<i class="fa fa-exclamation-triangle" data-ipsToolTip title="{lang="promote_failed_count" pluralize="$item->failed"}"></i>
							</span>
						{{elseif $item->failed and $item->failed > 3}}
							<span class='ipsType_large'>
								<i class="fa fa-exclamation-triangle ipsType_negative" data-ipsToolTip title="{lang="promote_failed_totally"}"></i>
							</span>
						{{elseif $item->scheduled > time()}}
							<span class='ipsType_large'>
								<i class="fa fa-circle"></i>
							</span>
							<strong>
						{{endif}}
								<a href="{$item->object()->url()}" class='ipsDataItem_title ipsType_break {{if $item->failed and $item->failed > 3}}ipsType_light{{endif}}'>{$item->objectTitle}</a>
						{{if $item->scheduled > time()}}
							</strong>
						{{endif}}
						<div>
							{{if $item->scheduled > time()}}
								<span class="ipsType_light">{lang="promote_time_scheduled"} {$item->scheduledDateTime()->html()|raw} {$item->scheduledDateTime()->localeTime(FALSE)|raw}</span>
							{{elseif $item->failed and $item->failed < 4}}
								<span class="ipsType_light">{lang="promote_time_failed_resend"} {{if $item->scheduled < time()}}{lang="promote_time_failed_resend_soon"}{{else}}{datetime="$item->scheduled"}{{endif}}</span>
							{{elseif $item->failed and $item->failed > 3}}
								<span class="ipsType_light">{lang="promote_failed_totally_description"}</span>
							{{elseif $sent}}
								<span class="ipsType_light">
									{lang="promote_time_sent"} {datetime="$item->sent"}
									&middot; <a href="{url="app=core&module=promote&controller=promote&do=history&promote_id={$item->id}" seoTemplate="promote_history"}" data-ipsDialog-size="narrow" data-ipsDialog data-ipsDialog-title="{lang="promote_view_history"}">{lang="promote_view_history"}</a>
								</span>
							{{else}}
								<span class="ipsType_light">{lang="promote_time_sending_soon"}</span>
							{{endif}}
							{{$photoCount = ( $item->imageObjects() !== NULL ) ? \count( $item->imageObjects() ) : 0;}}
							{{if $photoCount}}
								&nbsp; <span class="ipsType_light"><i class="fa fa-photo"></i> {lang="promote_photo_count" pluralize="$photoCount"}</span>
							{{endif}}
						</div>
					</div>
					<div class='ipsFlex-flex:00'>
						<div class='ipsFlex ipsGap:4'>
							{{if $item->scheduled > time() or ! $sent}}
								<div>
									<div class='ipsFlex ipsGap:1'>
										{{if ! $sent}}
											<a href="{url="app=core&module=promote&controller=promote&do=delete&promote_id={$item->id}" seoTemplate="promote_manage" csrf="true"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right" data-ipsToolTip title="{lang="delete"}"><i class="fa fa-times-circle"></i></a>
										{{endif}}
										{{if $item->scheduled > time()}}
											<a href="{url="app=core&module=promote&controller=promote&do=manage&promote_id={$item->id}" seoTemplate="promote"}" data-action="edit" data-ipsDialog ipsDialog-title="{lang="promote_social_button"}" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow ipsPos_right"><i class="fa fa-pencil"></i></a>
										{{endif}}
									</div>
								</div>
							{{elseif $sent}}
								<div class='ipsFlex-flex:10'>
									<div class='ipsFlex ipsGap:1'>
										{{foreach $item->share_to as $service}}
											{{if $url = $item->getPublishedUrl( $service )}}
												{{$sharer = $item->getPromoter( $service );}}
												{{if !$item->serviceFailed( $service )}}
													<a href="{$url}" class="cShareLink cShareLink_{$service}" title='{lang="promote_shared_on" sprintf="$sharer->key"}' data-ipsTooltip><i class="fa fa-{$sharer::$icon}"></i></a>
												{{else}}
													<span class="cShareLink cShareLink_{$service} cShareLink--failed" title='{lang="promote_service_failed"}' data-ipsTooltip><i class="fa fa-{$sharer::$icon}"></i></span>
												{{endif}}												
											{{endif}}
										{{endforeach}}
									</div>
								</div>
								{{$internalText = $item->getText('internal');}}
								<div class="ipsFlex-flex:10 {{if $internalText}}cPromoteModCP_edit{{endif}}">
									<div class='ipsFlex ipsGap:1'>
										<a href="{url="app=core&module=promote&controller=promote&do=delete&promote_id={$item->id}" seoTemplate="promote_manage" csrf="true"}" data-action="delete" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow" data-ipsToolTip title="{lang="delete"}"><i class="fa fa-times-circle"></i></a>
										{{if $internalText}}
											<a href="{url="app=core&module=promote&controller=promote&do=edit&promote_id={$item->id}" seoTemplate="promote_manage"}" data-ipsDialog data-ipsDialog-title="{lang="edit"}" data-action="edit" class="ipsButton ipsButton_verySmall ipsButton_light ipsButton_narrow" data-ipsToolTip title="{lang="edit"}"><i class="fa fa-pencil"></i></a>
										{{endif}}
									</div>
								</div>
							{{endif}}
						</div>
					</div>
				</div>
			</div>		
		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="promote" template_name="promoteTwitterComplete" template_data="$user" template_location="front" template_app="core"><![CDATA[<section class='ipsPad'>
	<br>
	<h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang="promote_twitter_done" sprintf="$user['screen_name']"}</h1>
	<p class='ipsType_large ipsType_center ipsType_light'>{lang="promote_twitter_done_text"}</p>
</section>]]></template>
 <template template_group="promote" template_name="twitterOwnedBy" template_data="$member, $pageName" template_location="admin" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPad ipsPhotoPanel ipsPhotoPanel_small ipsClearfix'>
	<a href="{$member->url()}" class="ipsPos_left">
		<img src="{$member->photo}" class="ipsUserPhoto ipsUserPhoto_small">
	</a>
	<div>
		<h2 class='ipsType_sectionHead'><strong>{{if $member->member_id === \IPS\Member::loggedIn()->member_id}}{lang="promote_twitter_owned_by_you"}{{else}}{lang="promote_twitter_owned_by_user" sprintf="$member->name"}{{endif}}</strong></h2>
		<div class='ipsType_normal ipsType_reset'>{{if $member->member_id === \IPS\Member::loggedIn()->member_id}}{lang="promote_twitter_owned_by_you_blurb" sprintf="$pageName, $pageName"}{{else}}{lang="promote_twitter_owned_by_user_blurb" sprintf="$pageName, $pageName"}{{endif}}</div>
		<div class="ipsPadding_top:half">
			<a href="{url="app=core&module=promotion&controller=promote&tab=twitter&clear=true" csrf="true"}" data-confirm class="ipsButton ipsButton_light ipsButton_small">{{if $member->member_id === \IPS\Member::loggedIn()->member_id}}{lang="promote_twitter_remove_settings"}{{else}}{lang="promote_twitter_remove_settings_other" sprintf="$member->name"}{{endif}}</a>
		</div>
	</div>
</div>
]]></template>
 <template template_group="promote" template_name="warningNoTwitterApp" template_data="" template_location="admin" template_app="core"><![CDATA[<div id='acpWarnings'>
	<div class='ipsAreaBackground_light ipsPad'>
		<div>
			<h2 class='ipsType_sectionHead'><strong>{lang="promote_twitter_setup_app"}</strong></h2>
			<div class='ipsType_normal ipsType_reset'>
				{lang="promote_twitter_setup_app_desc"}
				<ul class='ipsToolList ipsToolList_horizontal ipsAlert_buttonRow ipsClear ipsClearfix'>
					<li class="ipsPos_left"><a href="{url="app=core&module=settings&controller=login"}" class="ipsButton ipsButton_primary">{lang="promote_twitter_setup_button"}</a></li>
					<li class="ipsPos_left"><a href="{url="app=core&module=promotion&controller=promote&tab=twitter"}" class="ipsButton ipsButton_secondary"><i class="fa fa-refresh"></i> &nbsp; {lang="promote_reload_page"}</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="promote" template_name="warningNoTwitterPostToPagePermission" template_data="$message" template_location="admin" template_app="core"><![CDATA[<div id='acpWarnings'>
	<div class='ipsAreaBackground_light ipsPad'>
		<div>
			<h2 class='ipsType_sectionHead'><strong>{lang="promote_twitter_setup_post"}</strong></h2>
			{{if $message}}
			<div class="ipsMessage ipsMessage_error">{$message}</div>
			{{endif}}
			<div class='ipsType_normal ipsType_reset'>
				{lang="promote_twitter_setup_post_desc"}
				<ul class='ipsToolList ipsToolList_horizontal ipsAlert_buttonRow ipsClear ipsClearfix'>
					<li class="ipsPos_left"><a href="{url="app=core&module=promotion&controller=promote&tab=twitter"}" class="ipsButton ipsButton_secondary"><i class="fa fa-refresh"></i> &nbsp; {lang="promote_reload_page"}</a></li>
					<li class="ipsPos_left"><a href="{url="app=core&module=promotion&controller=promote&tab=twitter&clear=true" csrf="true"}" class="ipsButton ipsButton_secondary">{lang="promote_twitter_remove_settings"}</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="promote" template_name="warningNoTwitterUser" template_data="" template_location="admin" template_app="core"><![CDATA[<div id='acpWarnings'>
	<div class='ipsAreaBackground_light ipsPad'>
		<div>
			<h2 class='ipsType_sectionHead'><strong>{lang="promote_twitter_setup_user"}</strong></h2>
			<div class='ipsType_normal ipsType_reset'>
				{lang="promote_twitter_setup_user_desc"}
				<ul class='ipsToolList ipsToolList_horizontal ipsAlert_buttonRow ipsClear ipsClearfix'>
					<li class="ipsPos_left"><a href="{url="app=core&module=system&controller=twitter" base="front"}" target="_blank" rel="noopener" class="ipsButton ipsButton_primary">{lang="promote_twitter_setup_user_button"}</a></li>
					<li class="ipsPos_left"><a href="{url="app=core&module=promotion&controller=promote&tab=twitter"}" class="ipsButton ipsButton_secondary"><i class="fa fa-refresh"></i> &nbsp; {lang="promote_reload_page"}</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="promotion" template_name="activeBadge" template_data="$id, $text, $currentStatus, $ad" template_location="admin" template_app="core"><![CDATA[{{$filter = \IPS\Request::i()->filter;}}
{{if $currentStatus === -1}}
	<span class='ipsBadge ipsBadge_negative'>{lang="$text"}</span>
{{elseif ( $ad['ad_end'] AND $ad['ad_end'] < time() ) OR ( $ad['ad_maximum_unit'] == 'i' AND $ad['ad_maximum_value'] > -1 AND $ad['ad_impressions'] >= $ad['ad_maximum_value'] ) OR ( $ad['ad_maximum_unit'] == 'c' AND $ad['ad_maximum_value'] > -1 AND $ad['ad_clicks'] >= $ad['ad_maximum_value'] ) }}
	<span class='ipsBadge ipsBadge_neutral' data-ipsTooltip title='{lang="ad_nostatus_change"}'>{lang="disabled"}</span>
{{else}}
	<span data-ipsStatusToggle>
		<a href="{url="app=core&module=promotion&controller=advertisements&do=toggle&id=$id&status=0&filter={$filter}" csrf="true"}" data-ipsTooltip title="{lang="set_inactive"}" {{if $currentStatus !== 1}}class='ipsHide'{{endif}} data-state="enabled">
			<span class='ipsBadge ipsBadge_positive'>
				{lang="enabled"}
			</span>
		</a>
		<a href="{url="app=core&module=promotion&controller=advertisements&do=toggle&id=$id&status=1&filter={$filter}" csrf="true"}" data-ipsTooltip title="{lang="set_active"}" {{if $currentStatus !== 0}}class='ipsHide'{{endif}} data-state="disabled">
			<span class='ipsBadge ipsBadge_negative'>
				{lang="disabled"}
			</span>
		</a>
	</span>
{{endif}}]]></template>
 <template template_group="promotion" template_name="adsenseHelp" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsSpacer_bottom ipsSpacer_double">
		<p class="ipsType_normal">{lang="google_adsense_blurb"}</p>
	</div>
	
	<div class="ipsSpacer_bottom ipsSpacer_double">
		<h2 class="ipsType_sectionHead">{lang="google_adsense_login_header"}</h2>
		<p class="ipsType_normal">{lang="google_adsense_login_blurb"}</p>
		<a href='{url="secure-ads-adsense" ips="true"}' class="ipsButton ipsButton_normal" target='_blank' rel="noopener">{lang="google_adsense_login_link"}</a>
	</div>
	
	<div class="ipsSpacer_bottom ipsSpacer_double">
		<h2 class="ipsType_sectionHead">{lang="google_adsense_ajax_header"}</h2>
		<p class="ipsType_normal">{lang="google_adsense_ajax_intro"}</p>
		<p class="ipsType_normal">{lang="google_adsense_ajax_blurb"}</p>
		<ol>
			<li class="ipsType_normal">{lang="google_adsense_ajax_ins_1"}</li>
			<li class="ipsType_normal">{lang="google_adsense_ajax_ins_2"}</li>
			<li class="ipsType_normal">{lang="google_adsense_ajax_ins_3"}</li>
			<li class="ipsType_normal">{lang="google_adsense_ajax_ins_4"}</li>
		</ol>
	</div>
	
	<p class="ipsType_normal">{lang="google_adsense_other"}</p>
</div>]]></template>
 <template template_group="promotion" template_name="advertisementIframePreview" template_data="$id" template_location="admin" template_app="core"><![CDATA[
<iframe seamless class='ips{expression="mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)"}Preview' src='{url="app=core&module=promotion&controller=advertisements&do=getHtml&id={$id}"}'></iframe>
]]></template>
 <template template_group="promotion" template_name="advertisementMessage" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='ipsAreaBackground_light ipsPad ipsPhotoPanel ipsPhotoPanel_small'>
	<i class='fa fa-info-circle ipsType_veryLarge ipsPos_left'></i>
	<div>
		<h2 class='ipsType_sectionHead'>{lang="ad_promo_title"}</h2>
		<p class='ipsType_normal ipsType_reset'>
			{lang="ad_promo_msg"}
		</p>
		<br>
		<a href='{url="product-nexus" ips="true"}' class='ipsButton ipsButton_primary'>{lang="more_information"}</a>
	</div>
</div>
<br><br>
]]></template>
 <template template_group="promotion" template_name="imageMaximums" template_data="$name, $value, $type" template_location="admin" template_app="core"><![CDATA[{lang="ad_after"}
<input type="number" name="{$name}[value]" id="{$name}_v" {{if $value === -1}}value='' data-jsdisable="true"{{else}}value="{$value}"{{endif}} class="ipsField_short" size="5">
<select name='{$name}[type]' id='{$name}_t'>
	<option value='c' {{if $type == 'c'}}selected{{endif}}>{lang="ad_max_clicks"}</option>
	<option value='i' {{if $type == 'i'}}selected{{endif}}>{lang="ad_max_impressions"}</option>
</select>
&nbsp;
{lang="or"}
&nbsp;
<span class='ipsCustomInput'>
	<input type="checkbox" role='checkbox' data-control="unlimited" name="{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}" id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck' value="-1" {{if -1 === $value}}checked aria-checked='true'{{endif}} aria-labelledby='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label'>
	<span></span>
</span> <label for='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}-unlimitedCheck' class='ipsField_unlimited' id='{expression="preg_replace( '/\[(.+?)\]/', '[$1_unlimited]', $name, 1 )"}_label'>{lang="never"}</label>]]></template>
 <template template_group="promotion" template_name="metaTagUrl" template_data="$url" template_location="admin" template_app="core"><![CDATA[<span class='ipsType_light'>{setting="base_url"}</span>{$url}]]></template>
 <template template_group="search" template_name="filters" template_data="$baseUrl, $count, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $errorTabs=NULL" template_location="front" template_app="core"><![CDATA[
{{$countFields = array( 'search_min_comments', 'search_min_replies', 'search_min_reviews', 'search_min_views');}}
<form accept-charset='utf-8' class="ipsForm ipsForm_vertical" method='post' action='{$action}' data-ipsForm id='elSearchFilters_content'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	{{if $form->error}}
		<div class="ipsMessage ipsMessage_error ipsSpacer_bottom">
			{$form->error}
		</div>
	{{endif}}

	<div class='ipsFlex ipsFlex-ai:start ipsGap cSearchMainBar'>
		<button type='submit' class='ipsFlex-flex:00 cSearchPretendButton' tabindex='-1'><i class='fa fa-search ipsType_huge'></i></button>
		<div class='ipsFlex-flex:11'>
			<div class='cSearchWrapper'>
				<input type='text' id='elMainSearchInput' name='q' value='{expression="\IPS\Request::i()->q"}' placeholder='{lang="q"}' autofocus class='ipsField_primary ipsField_fullWidth'>
				<div class='cSearchWrapper__button'>
					<button type='submit' id='elSearchSubmit' class='ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right ipsResponsive_hidePhone {{if isset( $hiddenValues['__advanced'] )}}ipsHide{{endif}}' data-action='searchAgain'>{lang="search_again"}</button>
				</div>
			</div>
			<div class='ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap'>
				<div class='ipsFlex-flex:11 ipsType_brandedLinks'>
					<div class='ipsMargin_top' data-role="hints">
					{template="hints" group="search" location="front" params="$baseUrl, $count"}
				</div>
				</div>
				<div>
					<p class='ipsType_reset ipsMargin_top {{if isset( $hiddenValues['__advanced'] )}}ipsHide{{endif}}' data-action='showFilters'>
						<a href='#' class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-plus'></i> {lang="search_more_options"}</a>
					</p>
				</div>
			</div>
		</div>
	</div>

	<div data-role='searchFilters' class='ipsSpacer_top ipsBox ipsBox--child {{if !isset( $hiddenValues['__advanced'] )}}ipsHide{{endif}}'>
		{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
		<div class='ipsTabs ipsTabs_stretch ipsClearfix' id='elTabs_search' data-ipsTabBar data-ipsTabBar-contentArea='#elTabs_search_content'>
			<a href="#elTabs_search" data-action="expandTabs"><i class="fa fa-caret-down"></i></a>
			<ul role='tablist'>
				<li>
					<a href='#' id="elTab_searchContent" class="ipsTabs_item {{if \IPS\Request::i()->type != 'core_members'}}ipsTabs_activeItem{{endif}} ipsType_center" title="{lang="search_content_search_title"}" role="tab" {{if \IPS\Request::i()->type != 'core_members'}}aria-selected="true"{{endif}}>
						{lang="search_content_search"}
					</a>
				</li>
				<li>
					<a href='#' id="elTab_searchMembers" class="ipsTabs_item {{if \IPS\Request::i()->type == 'core_members'}}ipsTabs_activeItem{{endif}} ipsType_center" title="{lang="search_member_search_title"}" role="tab" {{if \IPS\Request::i()->type == 'core_members'}}aria-selected="true"{{endif}}>
						{lang="search_member_search"}
					</a>
				</li>
			</ul>
		</div>
		{{endif}}
		<section id='elTabs_search_content' class='ipsTabs_panels'>
			<div id='ipsTabs_elTabs_search_elTab_searchContent_panel' class='ipsTabs_panel' data-tabType='content'>
				<div class='ipsPad_double'>
					<div class=''>		
						<ul class='ipsList_reset'>
							{{if \IPS\Settings::i()->tags_enabled}}
								{{if isset( $elements['search_tab_content']['tags'] )}}
									<li class='ipsSpacer_half {{if !$elements['search_tab_content']['tags']->value}}ipsHide{{endif}} ipsFieldRow_fullWidth' data-role='searchTags'>
										<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="search_by_tags"}</h3>
										{$elements['search_tab_content']['tags']->html()|raw}
										<span class='ipsType_light ipsType_small'>{lang="tags_desc"}</span>
									</li>
								{{endif}}
								{{if isset( $elements['search_tab_content']['eitherTermsOrTags'] )}}
									<li class='ipsSpacer_top ipsSpacer_half {{if !$elements['search_tab_content']['tags']->value || !$elements['search_tab_all']['q']->value}}ipsHide{{endif}}' data-role='searchTermsOrTags'>
										<ul class='ipsFieldRow_content ipsList_reset'>
											<li class='ipsFieldRow_inlineCheckbox'>
												<span class='ipsCustomInput'>
													<input type='radio' name="eitherTermsOrTags" value="or" id='elRadio_eitherTermsOrTags_or' {{if $elements['search_tab_content']['eitherTermsOrTags']->value == 'or'}}checked{{endif}}>
													<span></span>
												</span> <label for='elRadio_eitherTermsOrTags_or'>{lang="termsortags_or_desc"}</label>
											</li>
											<li class='ipsFieldRow_inlineCheckbox'>
												<span class='ipsCustomInput'>
													<input type='radio' name="eitherTermsOrTags" value="and" id='elRadio_eitherTermsOrTags_and' {{if $elements['search_tab_content']['eitherTermsOrTags']->value == 'and'}}checked{{endif}}>
													<span></span>
												</span> <label for='elRadio_eitherTermsOrTags_and'>{lang="termsortags_and_desc"}</label>
											</li>
										</ul>
									</li>
								{{endif}}
							{{endif}}
							{{if isset( $elements['search_tab_content']['author'] )}}
								<li class='ipsSpacer_top {{if !$elements['search_tab_content']['author']->value}}ipsHide{{endif}} ipsFieldRow_fullWidth' data-role='searchAuthors'>
									<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="search_by_author"}</h3>
									{$elements['search_tab_content']['author']->html()|raw}
								</li>
							{{endif}}
						</ul>
						{{if isset( $elements['search_tab_content']['tags'] ) || isset( $elements['search_tab_content']['author'] )}}
							<ul class="ipsList_inline ipsType_normal ipsJS_show">
								{{if \IPS\Settings::i()->tags_enabled and isset( $elements['search_tab_content']['tags'] ) && !$elements['search_tab_content']['tags']->value}}
									<li><a href="#" data-action="searchByTags" data-opens='searchTags,searchTermsOrTags'><i class="fa fa-plus"></i> {lang="search_by_tags"}</a></li>
								{{endif}}
								{{if isset( $elements['search_tab_content']['author'] ) && !$elements['search_tab_content']['author']->value}}
									<li><a href="#" data-action="searchByAuthors" data-opens='searchAuthors'><i class="fa fa-plus"></i> {lang="search_by_author"}</a></li>
								{{endif}}
							</ul>
						{{endif}}
					</div>

					<div class='ipsGrid ipsGrid_collapsePhone ipsSpacer_top ipsSpacer_double'>
						{{if isset( $elements['search_tab_content']['type'] )}}
							{{$type = $elements['search_tab_content']['type'];}}
							<div class='ipsGrid_span3'>
								<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="searchType"}</h3>
								<ul class="ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal" data-role='searchApp' data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false">
									{{foreach $type->options['options'] as $k => $lang}}
										{{if $k == 'core_members'}}{{continue;}}{{endif}}
										<li>
											<span id='elSearchToggle_{$k}' class='ipsSideMenu_item {{if (string) $type->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
												<input type="radio" name="type" value="{$k}" {{if (string) $type->value == (string) $k}}checked{{endif}} id="elRadio_type_{$k}" data-control="toggle" data-toggles="{expression="implode( ',', $type->options['toggles'][ $k ] )"}" data-toggle-visibleCheck='#elSearchToggle_{$k}'>
												<label for='elRadio_type_{$k}' id='elField_type_{$k}_label' data-role='searchAppTitle'>{lang="$lang"}</label>
											</span>
										</li>
									{{endforeach}}
								</ul>
								
								{{if isset( $elements['search_tab_nodes'] )}}
									<br>
									{{foreach $elements['search_tab_nodes'] as $element}}
										<div id="{$element->htmlId}">
											<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="$element->label"}</h3>
											{$element->html()|raw}
										</div>
									{{endforeach}}
								{{endif}}
								
								{{if isset( $elements['search_tab_content']['club'] )}}
									<div id="{$elements['search_tab_content']['club']->htmlId}" class='ipsContained'>
										<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="club"}</h3>
										{$elements['search_tab_content']['club']->html()|raw}
									</div>
								{{endif}}

								<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
							</div>
						{{endif}}
						<div class='ipsGrid_span9'>
							<div class='ipsGrid_span9' data-role='searchFilters' id='elSearchFiltersMain'>
								<div class='ipsGrid ipsGrid_collapsePhone'>
									<div class='ipsGrid_span6'>
										<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="searchIn"}</h3>
										<ul class='ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half' role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='searchIn'>
											{{foreach $elements['search_tab_content']['search_in']->options['options'] as $k => $lang}}
												<li>
													<span class='ipsSideMenu_item {{if (string) $elements['search_tab_content']['search_in']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
														<input type="radio" name="search_in" value="{$k}" {{if (string) $elements['search_tab_content']['search_in']->value == (string) $k}}checked{{endif}} id="elRadio_searchIn_full_{$k}">
														<label for='elRadio_searchIn_full_{$k}' id='elField_searchIn_full_label_{$k}'>{lang="$lang"}</label>
													</span>
												</li>
											{{endforeach}}
										</ul>
									</div>
									<div class='ipsGrid_span6'>
										<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="andOr"}</h3>
										<ul class='ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half' role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='andOr'>
											{{foreach $elements['search_tab_content']['search_and_or']->options['options'] as $k => $lang}}
												<li>
													<span class='ipsSideMenu_item {{if (string) $elements['search_tab_content']['search_and_or']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
														<input type="radio" name="search_and_or" value="{$k}" {{if (string) $elements['search_tab_content']['search_and_or']->value == (string) $k}}checked{{endif}} id="elRadio_andOr_full_{$k}">
														<label for='elRadio_andOr_full_{$k}' id='elField_andOr_full_label_{$k}'>{lang="$lang"}</label>
													</span>
												</li>
											{{endforeach}}
										</ul>
									</div>
								</div>
								<br>
								<div class='ipsGrid ipsGrid_collapsePhone'>
									{{if isset( $elements['search_tab_content']['startDate'] )}}
										<div class='ipsGrid_span6'>
											<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="startDate"}</h3>
											<ul class="ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='dateCreated'>
												{{foreach $elements['search_tab_content']['startDate']->options['options'] as $k => $lang}}
													<li>
														<span class='ipsSideMenu_item {{if (string) $elements['search_tab_content']['startDate']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
															<input type="radio" name="startDate" value="{$k}" {{if (string) $elements['search_tab_content']['startDate']->value == (string) $k}}checked{{endif}} id="elRadio_startDate_{$k}">
															<label for='elRadio_startDate_{$k}' id='elField_startDate_label_{$k}'>{lang="$lang"}</label>
														</span>
													</li>
												{{endforeach}}
												<li class='ipsGrid ipsGrid_collapsePhone cStreamForm_dates ipsAreaBackground_light ipsPad_half {{if $elements['search_tab_content']['startDate']->value !== 'custom'}}ipsJS_hide{{endif}}' data-role="dateForm">
													<div class='ipsGrid_span6'>
                                                        {{$startValue = $elements['search_tab_content']['startDateCustom']->value['start'];}}
														<h4 class='ipsType_minorHeading'>{lang="start"}</h4>
														<input type='date' name='{$elements['search_tab_content']['startDateCustom']->name}[start]' data-control='date' data-role='start' value='{{if $startValue instanceof \IPS\DateTime}}{expression="date( 'Y-m-d', $startValue->getTimestamp() )"}{{else}}{$startValue}}{{endif}}'>
													</div>
													<div class='ipsGrid_span6'>
                                                        {{$endValue = $elements['search_tab_content']['startDateCustom']->value['end'];}}
														<h4 class='ipsType_minorHeading'>{lang="end"}</h4>
														<input type='date' name='{$elements['search_tab_content']['startDateCustom']->name}[end]' data-control='date' data-role='end' value='{{if $endValue instanceof \IPS\DateTime}}{$endValue->format( 'Y-m-d' )}{{else}}{$endValue}}{{endif}}'>
                                                    </div>
												</li>
											</ul>
											<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
										</div>
									{{endif}}
									{{if isset( $elements['search_tab_content']['updatedDate'] )}}
										<div class='ipsGrid_span6'>
											<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="updatedDate"}</h3>
											<ul class="ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='dateUpdated'>
												{{foreach $elements['search_tab_content']['updatedDate']->options['options'] as $k => $lang}}
													<li>
														<span class='ipsSideMenu_item {{if (string) $elements['search_tab_content']['updatedDate']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
															<input type="radio" name="updatedDate" value="{$k}" {{if (string) $elements['search_tab_content']['updatedDate']->value == (string) $k}}checked{{endif}} id="elRadio_updatedDate_{$k}">
															<label for='elRadio_updatedDate_{$k}' id='elField_updatedDate_label_{$k}'>{lang="$lang"}</label>
														</span>
													</li>
												{{endforeach}}
												<li class='ipsGrid ipsGrid_collapsePhone cStreamForm_dates ipsAreaBackground_light ipsPad_half {{if $elements['search_tab_content']['updatedDate']->value !== 'custom'}}ipsJS_hide{{endif}}' data-role="dateForm">
													<div class='ipsGrid_span6'>
                                                        {{$startValue = $elements['search_tab_content']['updatedDateCustom']->value['start'];}}
														<h4 class='ipsType_minorHeading'>{lang="start"}</h4>
														<input type='date' name='{$elements['search_tab_content']['updatedDateCustom']->name}[start]' data-control='date' data-role='start' value='{{if $startValue instanceof \IPS\DateTime}}{expression="date( 'Y-m-d', $startValue->getTimestamp() )"}{{else}}{$startValue}}{{endif}}'>
													</div>
													<div class='ipsGrid_span6'>
                                                        {{$endValue = $elements['search_tab_content']['updatedDateCustom']->value['end'];}}
														<h4 class='ipsType_minorHeading'>{lang="end"}</h4>
														<input type='date' name='{$elements['search_tab_content']['updatedDateCustom']->name}[end]' data-control='date' data-role='end' value='{{if $endValue instanceof \IPS\DateTime}}{expression="date( 'Y-m-d', $endValue->getTimestamp() )"}{{else}}{$endValue}}{{endif}}'>
													</div>
												</li>
											</ul>
										</div>
									{{endif}}
								</div>

								<hr class='ipsHr'>

								<h3 class="ipsType_reset ipsType_large cStreamForm_title" id="elSearch_filter_by_number">{lang="search_filter_by_number"}</h3>
								<ul class="ipsList_inline ipsSpacer_top ipsSpacer_half ipsType_normal">
									{{foreach $elements['search_tab_content'] as $inputName => $input}}
										{{if \in_array( $inputName, $countFields )}}
											<li id='{$inputName}'>
												<a href="#elSearch_{$inputName}_menu" data-ipsMenu data-ipsMenu-appendTo='#elSearchFilters_content' data-ipsMenu-closeOnClick='false' id='elSearch_{$inputName}' data-role='{$inputName}_link'><span class='ipsBadge ipsBadge_small ipsBadge_style1 {{if $input->value <= 0}}ipsHide{{endif}}' data-role='fieldCount'>{$input->value}</span> {lang="$inputName"} <i class='fa fa-caret-down'></i></a>
												<div class='ipsMenu ipsMenu_medium ipsFieldRow_fullWidth ipsPad ipsHide' id='elSearch_{$inputName}_menu'>
													<h4 class="ipsType_reset ipsType_minorHeading ipsSpacer_bottom ipsSpacer_half">{lang="{$inputName}_title"}</h4>
													<div class='ipsFieldRow_fullWidth'>
														{$input->html()|raw}
													</div>
												</div>
											</li>
										{{endif}}
									{{endforeach}}
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}
				<div id='ipsTabs_elTabs_search_elTab_searchMembers_panel' class='ipsTabs_panel' data-tabType='members'>
					{{$exclude = array( 'joinedDate', 'joinedDateCustom', 'group');}}
					{{$totalCustomFields = \count( $elements['search_tab_member'] ) - \count( $exclude ); // Don't count joined, joined custom or group}}
					{{$perCol = ceil( $totalCustomFields / 2 );}}
					<div class='ipsPad_double'>
						<span class='ipsJS_hide'>
							<input type="radio" name="type" value="core_members" {{if (string) $elements['search_tab_content']['type']->value == (string) 'core_members'}}checked{{endif}} id="elRadio_type_core_members">
							<label for='elRadio_type_core_members' id='elField_type_core_members_label' data-role='searchAppTitle'>{lang="core_members_pl"}</label>
						</span>
						<div class='ipsGrid ipsGrid_collapsePhone'>
							<div class='ipsGrid_span4'>
								{{if isset( $elements['search_tab_member']['joinedDate'] )}}
									<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="joinedDate"}</h3>
									<ul class="ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='joinedDate'>
										{{foreach $elements['search_tab_member']['joinedDate']->options['options'] as $k => $lang}}
											<li>
												<span class='ipsSideMenu_item {{if (string) $elements['search_tab_member']['joinedDate']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
													<input type="radio" name="joinedDate" value="{$k}" {{if (string) $elements['search_tab_member']['joinedDate']->value == (string) $k}}checked{{endif}} id="elRadio_joinedDate_{$k}">
													<label for='elRadio_joinedDate_{$k}' id='elField_joinedDate_label_{$k}'>{lang="$lang"}</label>
												</span>
											</li>
										{{endforeach}}
										<li class='ipsGrid ipsGrid_collapsePhone cStreamForm_dates ipsAreaBackground_light ipsPad_half {{if $elements['search_tab_member']['joinedDate']->value !== 'custom'}}ipsJS_hide{{endif}}' data-role="dateForm">
											<div class='ipsGrid_span6'>
												<h4 class='ipsType_minorHeading'>{lang="start"}</h4>
												<input type='date' name='{$elements['search_tab_member']['joinedDateCustom']->name}[start]' data-control='date' data-role='start' value='{$elements['search_tab_member']['joinedDateCustom']->value['start']}'>	
											</div>
											<div class='ipsGrid_span6'>
												<h4 class='ipsType_minorHeading'>{lang="end"}</h4>
												<input type='date' name='{$elements['search_tab_member']['joinedDateCustom']->name}[end]' data-control='date' data-role='end' value='{$elements['search_tab_member']['joinedDateCustom']->value['end']}'>
											</div>
										</li>
									</ul>
									<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
								{{endif}}
							</div>
							<div class='ipsGrid_span8' data-role='searchFilters' id='elSearchFiltersMembers'>
								<div class='ipsGrid ipsGrid_collapsePhone'>
									<div class='ipsGrid_span6'>
										{{if isset( $elements['search_tab_member']['group'] )}}
											<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="group"}</h3>
											<ul class="ipsSideMenu_list ipsSideMenu_withChecks ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" data-ipsSideMenu data-ipsSideMenu-type="check" data-ipsSideMenu-responsive="false" data-filterType='group'>
												{{foreach $elements['search_tab_member']['group']->options['options'] as $k => $group}}
													<li>
														<span class='ipsSideMenu_item {{if \is_array( $elements['search_tab_member']['group']->value ) AND \in_array( $k, $elements['search_tab_member']['group']->value )}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
															<input type="checkbox" name="group" value="{$k}" {{if \is_array( $elements['search_tab_member']['group']->value ) AND \in_array( $k, $elements['search_tab_member']['group']->value )}}checked{{endif}} id="elCheck_group_{$k}">
															<label for='elCheck_group_{$k}' id='elField_group_label_{$k}'>{$group|raw}</label>
														</span>
													</li>
												{{endforeach}}
											</ul>
										{{endif}}
	
										{{$countOne = 0;}}
										{{if $totalCustomFields > 1}}
											{{foreach $elements['search_tab_member'] as $id => $element}}
												{{if \in_array( $id, $exclude )}}
													{{continue;}}
												{{endif}}
												{{$countOne++;}}
	
												<hr class='ipsHr'>
												<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="$id"}</h3>
												<div class='ipsFieldRow_fullWidth'>
													{$element->html()|raw}
												</div>
												
												{{if $countOne >= $perCol}}
													{{break;}}
												{{endif}}
											{{endforeach}}
										{{endif}}
										<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
									</div>
									<div class='ipsGrid_span6'>
										{{$countTwo = 0;}}
										{{$realCount = 0;}}
										{{foreach $elements['search_tab_member'] as $id => $element}}
											{{if \in_array( $id, $exclude )}}
												{{continue;}}
											{{endif}}
											{{$countTwo++;}}
	
											{{if $countTwo <= $countOne}}
												{{continue;}}
											{{endif}}

											{{if $countTwo !== ( $countOne + 1 )}}
												<!-- HR except for first item -->
												<hr class='ipsHr'>
											{{endif}}

											<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="$id"}</h3>
											<div class='ipsFieldRow_fullWidth'>
												{$element->html()|raw}
											</div>
											{{$realCount++;}}
											{{if $realCount >= $perCol}}
												{{break;}}
											{{endif}}
										{{endforeach}}
									</div>			
								</div>			
							</div>
						</div>
					</div>
				</div>
			{{endif}}
		</section>
		<div class='ipsBorder_top ipsPadding cSearchFiltersSubmit'>
			<ul class='ipsToolList ipsToolList_horizontal ipsClearfix'>
				<li class='ipsPos_right'>
					<button type="submit" class="ipsButton ipsButton_primary ipsButton_medium ipsButton_fullWidth" data-action="updateResults">
						{{if \IPS\Request::i()->type == 'core_members'}}
							{lang="search_members"}
						{{else}}
							{lang="search_content"}
						{{endif}}
					</button>
				</li>
				<li class='ipsPos_right'>
					<button type="button" class="ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth {{if isset( $hiddenValues['__advanced'] )}}ipsHide{{endif}}" data-action="cancelFilters">{lang="cancel"}</button>
				</li>
			</ul>
		</div>
	</div>
</form>]]></template>
 <template template_group="search" template_name="globalSearchMenuOptions" template_data="$exclude" template_location="front" template_app="core"><![CDATA[{{foreach output.globalSearchMenuOptions() as $type => $name}}
	{{if !\in_array( $type, $exclude )}}
		<li>
			<span class='ipsSideMenu_item' data-ipsMenuValue='{$type}'>
				<input type="radio" name="type" value="{$type}" id="elQuickSearchRadio_type_{$type}">
				<label for='elQuickSearchRadio_type_{$type}' id='elQuickSearchRadio_type_{$type}_label'>{lang="$name"}</label>
			</span>
		</li>
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="search" template_name="hints" template_data="$url, $count" template_location="front" template_app="core"><![CDATA[{{if isset( \IPS\Request::i()->q ) and \IPS\Request::i()->q AND ( !isset( \IPS\Request::i()->type ) OR \IPS\Request::i()->type != 'core_members' )}}
{{$words = \IPS\Content\Search\Query::termAsWordsArray( \IPS\Request::i()->q, FALSE, 0 );}}
{{$noPhraseWords = \IPS\Content\Search\Query::termAsWordsArray( \IPS\Request::i()->q, TRUE );}}
	<p class='ipsType_reset'>{lang="search_better_results_hint"}</p>
	<ul class='ipsList_inline ipsType_brandedLinks'>
		{{if ! \IPS\Content\Search\Query::termIsPhrase( \IPS\Request::i()->q ) and \count( $words ) > 1}}
			<li><a href='{$url->setQueryString('q', '"' . \IPS\Request::i()->q . '"')}'>{lang="search_hint_phrase" sprintf="\IPS\Request::i()->q"}</a></li>
		{{elseif \IPS\Content\Search\Query::termIsPhrase( \IPS\Request::i()->q ) and \count( $noPhraseWords ) > 1}}
			<li><a href='{$url->setQueryString( array( 'q' => implode( ' ', $noPhraseWords ), 'search_and_or' => 'or' ) )}'>{expression="implode( ' ' . \IPS\Member::loggedIn()->language()->addToStack('search_join_or') . ' ', $noPhraseWords )"}</a></li>
		{{endif}}
		{{if \count( $words ) > 1}}
			{{if ( ( !isset( \IPS\Request::i()->search_and_or ) and settings.search_default_operator === 'and' ) or \IPS\Request::i()->search_and_or == 'and' )}}
				<li><a href='{$url->setQueryString( 'search_and_or', 'or')}'>{expression="implode( ' ' . \IPS\Member::loggedIn()->language()->addToStack('search_join_or') . ' ', $words )"}</a></li>
			{{elseif ( ( !isset( \IPS\Request::i()->search_and_or ) and settings.search_default_operator === 'or' ) or \IPS\Request::i()->search_and_or == 'or' )}}
				<li><a href='{$url->setQueryString( 'search_and_or', 'and')}'>{expression="implode( ' ' . \IPS\Member::loggedIn()->language()->addToStack('search_join_and') . ' ', $words )"}</a></li>
			{{endif}}
		{{endif}}
		{{if $count > 1 and ( ! isset( \IPS\Request::i()->sortby ) or \IPS\Request::i()->sortby != 'newest' )}}
			<li><a href='{$url->setQueryString('sortby', 'newest')}'>{lang="search_newer_first"}</a></li>
		{{elseif $count > 1 and ( isset( \IPS\Request::i()->sortby ) and \IPS\Request::i()->sortby == 'newest' )}}
			<li><a href='{$url->setQueryString('sortby', 'relevancy')}'>{lang="search_most_pertinent"}</a></li>
		{{endif}}
		{{if isset( \IPS\Request::i()->search_in ) and \IPS\Request::i()->search_in == 'titles'}}
			<li><a href='{$url->setQueryString('search_in', 'all')}'>{lang="search_titles_and_content" sprintf="\IPS\Request::i()->q"}</a></li>
		{{elseif $count > 1 and ( ! isset( \IPS\Request::i()->search_in ) or \IPS\Request::i()->search_in != 'titles' )}}
			<li><a href='{$url->setQueryString('search_in', 'titles')}'>{lang="search_titles_only" sprintf="\IPS\Request::i()->q"}</a></li>
		{{endif}}
		{{if isset( \IPS\Request::i()->updated_after ) and \IPS\Request::i()->updated_after != 'any'}}
			<li><a href='{$url->stripQueryString( array('updated_after' ) )}'>{lang="search_all_dates" sprintf="\IPS\Request::i()->q"}</a></li>
		{{endif}}
	</ul>
{{endif}}
			]]></template>
 <template template_group="search" template_name="member" template_data="$member" template_location="front" template_app="core"><![CDATA[<li class="ipsGrid_span4 ipsStreamItem ipsStreamItem_contentBlock ipsStreamItem_member ipsAreaBackground_reset ipsPad ipsType_center">
	{template="userPhoto" group="global" app="core" params="$member, 'medium'"}
	<div class='ipsStreamItem_container'>
		<div class='ipsStreamItem_header ipsSpacer_top ipsSpacer_half'>
			<h2 class='ipsType_reset ipsStreamItem_title ipsTruncate ipsTruncate_line' data-searchable>
				{template="userLink" app="core" group="global" params="$member"}
			</h2>
			<p class='ipsType_reset ipsType_medium'>{$member->groupName|raw}</p>
			{template="reputationBadge" group="global" app="core" params="$member"}
		</div>

		<ul class='ipsList_reset ipsGrid ipsBorder_vertical ipsMargin_vertical:half ipsPadding_vertical:half'>
			<li class='ipsGrid_span6 ipsList_reset ipsType_center'>
				<h3 class='ipsType_minorHeading ipsType_unbold'>{lang="joined"}</h3>
				<p class='ipsType_reset ipsTruncate ipsTruncate_line'>{datetime="$member->joined"}</p>
			</li>
			<li class='ipsGrid_span6 ipsList_reset ipsType_center'>
				<h3 class='ipsType_minorHeading ipsType_unbold'>{lang="members_member_posts"}</h3>
				<p class='ipsType_reset ipsTruncate ipsTruncate_line'>{number="$member->member_posts"}</p>
			</li>
		</ul>

		<ul class='ipsList_reset ipsGap:1'>
			<li>
				<a href='{url="app=core&module=members&controller=profile&do=content&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}' class='ipsButton ipsButton_fullWidth ipsButton_light ipsButton_small'>{lang="find_content"}</a>
			</li>
			{{if \IPS\Member::loggedIn()->member_id != $member->member_id and ( !$member->members_bitoptions['pp_setting_moderate_followers'] or \IPS\Member::loggedIn()->following( 'core', 'member', $member->member_id ) )}}
				<li>
					{template="memberFollow" app="core" group="profile" params="'core', 'member', $member->member_id, $member->followersCount(), TRUE"}
				</li>
			{{endif}}
		</ul>
	</div>
</li>]]></template>
 <template template_group="search" template_name="memberFilters" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[
{{$exclude = array( 'q', 'joinedDate', 'joinedDateCustom', 'group');}}
{{$totalCustomFields = \count( $elements[''] ) - \count( $exclude ); // Don't count q, joined, joined custom or group}}
{{$perCol = ceil( $totalCustomFields / 2 );}}

{{if !\IPS\Request::i()->isAjax()}}
<form accept-charset='utf-8' class="ipsForm ipsForm_vertical" method='post' action='{$action}' data-ipsForm id='elSearchFilters_content'>
{{endif}}
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	<div class='ipsPad_double'>
		<!--<div class='ipsAreaBackground_light ipsPad ipsSpacer_both ipsPhotoPanel ipsPhotoPanel_mini'>
			<i class='fa fa-user ipsType_huge ipsPos_left'></i>
			<div>
				<ul class='ipsList_reset'>
					{{if isset( $elements['']['q'] )}}
						<li class='ipsSpacer_bottom ipsSpacer_half'>
							<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">Search By Member Name</h3>
							<input type='text' name='q' value='{{if \is_array( $elements['']['q']->value )}}{expression="implode( ',', $elements['']['q']->value )"}{{else}}{$elements['']['q']->value}{{endif}}' class='ipsField_primary ipsField_fullWidth'>
						</li>
					{{endif}}
				</ul>
			</div>
		</div>
		<hr class='ipsHr ipsSpacer_bottom ipsSpacer_double'>-->

		<div class='ipsGrid ipsGrid_collapsePhone'>
			<div class='ipsGrid_span4'>
				{{if isset( $elements['']['joinedDate'] )}}
					<h3 class="ipsType_reset ipsType_large cStreamForm_title">Joined</h3>
					<ul class="ipsSideMenu_list ipsSideMenu_withRadios ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type="radio" data-ipsSideMenu-responsive="false" data-filterType='joinedDate'>
						{{foreach $elements['']['joinedDate']->options['options'] as $k => $lang}}
							<li>
								<a href='#' class='ipsSideMenu_item {{if (string) $elements['']['joinedDate']->value == (string) $k}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
									<input type="radio" name="joinedDate" value="{$k}" {{if (string) $elements['']['joinedDate']->value == (string) $k}}checked{{endif}} id="elRadio_joinedDate_{$k}">
									<label for='elRadio_joinedDate_{$k}' id='elField_joinedDate_label_{$k}'>{lang="$lang"}</label>
								</a>
							</li>
						{{endforeach}}
						<li class='ipsGrid ipsGrid_collapsePhone cStreamForm_dates ipsAreaBackground_light ipsPad_half {{if $elements['']['joinedDate']->value !== 'custom'}}ipsJS_hide{{endif}}' data-role="dateForm">
							<div class='ipsGrid_span6'>
								<h4 class='ipsType_minorHeading'>{lang="start"}</h4>
								<input type='date' name='{$elements['']['joinedDateCustom']->name}[start]' data-control='date' data-role='start' value='{$elements['']['joinedDateCustom']->value['start']}'>	
							</div>
							<div class='ipsGrid_span6'>
								<h4 class='ipsType_minorHeading'>{lang="end"}</h4>
								<input type='date' name='{$elements['']['joinedDateCustom']->name}[end]' data-control='date' data-role='end' value='{$elements['']['joinedDateCustom']->value['end']}'>
							</div>
						</li>
					</ul>
				{{endif}}
			</div>
			<div class='ipsGrid_span8' data-role='searchFilters' id='elSearchFiltersMembers'>
				<div class='ipsGrid ipsGrid_collapsePhone'>
					<div class='ipsGrid_span6'>
						{{if isset( $elements['']['group'] )}}
							<h3 class="ipsType_reset ipsType_large cStreamForm_title">{lang="group"}</h3>
							<ul class="ipsSideMenu_list ipsSideMenu_withChecks ipsSideMenu_small ipsType_normal ipsSpacer_top ipsSpacer_half" data-ipsSideMenu data-ipsSideMenu-type="check" data-ipsSideMenu-responsive="false" data-filterType='group'>
								{{foreach $elements['']['group']->options['options'] as $k => $group}}
									<li>
										<a href='#' class='ipsSideMenu_item {{if \is_array( $elements['']['group']->value ) AND \in_array( $k, $elements['']['group']->value )}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
											<input type="checkbox" name="group" value="{$k}" {{if \is_array( $elements['']['group']->value ) AND \in_array( $k, $elements['']['group']->value )}}checked{{endif}} id="elCheck_group_{$k}">
											<label for='elCheck_group_{$k}' id='elField_group_label_{$k}'>{$group|raw}</label>
										</a>
									</li>
								{{endforeach}}
							</ul>
						{{endif}}

						{{$countOne = 0;}}
						{{if $totalCustomFields > 1}}
							{{foreach $elements[''] as $id => $element}}
								{{if \in_array( $id, $exclude )}}
									{{continue;}}
								{{endif}}
								{{$countOne++;}}

								<hr class='ipsHr'>
								<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="$id"}</h3>
								<div class='ipsFieldRow_fullWidth'>
									{$element->html()|raw}
								</div>
								
								{{if $countOne >= $perCol}}
									{{break;}}
								{{endif}}
							{{endforeach}}
						{{endif}}
					</div>
					<div class='ipsGrid_span6'>
						{{$countTwo = 0;}}
						{{foreach $elements[''] as $id => $element}}
							{{if \in_array( $id, $exclude )}}
								{{continue;}}
							{{endif}}
							{{$countTwo++;}}

							{{if $countTwo <= $countOne}}
								{{continue;}}
							{{endif}}

							{{if $countTwo !== ( $countOne + 1 )}}
								<!-- HR except for first item -->
								<hr class='ipsHr'>
							{{endif}}

							<h3 class="ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half">{lang="$id"}</h3>
							<div class='ipsFieldRow_fullWidth'>
								{$element->html()|raw}
							</div>
							
							{{if $countTwo >= $perCol}}
								{{break;}}
							{{endif}}
						{{endforeach}}
					</div>			
				</div>			
			</div>
		</div>
	</div>
	<div class='ipsAreaBackground cSearchFiltersSubmit'>
		<ul class='ipsToolList ipsToolList_horizontal ipsClearfix'>
			<li class='ipsPos_right'>
				<button type="submit" class="ipsButton ipsButton_primary ipsButton_medium ipsButton_fullWidth" data-action="updateResults">{lang="update_results"}</button>
			</li>
			<li class='ipsPos_right'>
				<button type="button" class="ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth" data-action="cancelFilters">{lang="cancel"}</button>
			</li>
		</ul>
	</div>
{{if !\IPS\Request::i()->isAjax()}}	
</form>
{{endif}}]]></template>
 <template template_group="search" template_name="results" template_data="$termJSON, $title, $results, $pagination, $baseUrl, $count=NULL" template_location="front" template_app="core"><![CDATA[
<div data-controller='core.front.search.results' data-term='{$termJSON|raw}' data-role="resultsArea" class='ipsResponsive_pull'>
	{template="resultStream" group="search" params="$results, $pagination, $baseUrl, NULL, $count"}
</div>]]></template>
 <template template_group="search" template_name="resultStream" template_data="$results, $pagination, $baseUrl, $hideSort=FALSE, $count = 0" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox ipsMargin_bottom'>
	<p class='ipsType_sectionTitle'>{lang="search_found" pluralize="$count"}</p>
	{{if $pagination OR !$hideSort}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		{{if $pagination}}
			{$pagination|raw}
		{{endif}}
		{{if !$hideSort}}
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a href="#elSortByMenu_menu" id="elSortByMenu_search_results" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_search_results_menu">
						{{if !isset( \IPS\Request::i()->type ) OR \IPS\Request::i()->type != 'core_members'}}
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'newest'}} ipsMenu_itemChecked{{endif}}" data-sortDirection='desc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'newest' ) )->setPage( 'page', 1 )}">{lang="date"}</a></li>
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'relevancy'}} ipsMenu_itemChecked{{endif}}" data-sortDirection='desc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'relevancy' ) )->setPage( 'page', 1 )}">{lang="sort_relevancy"}</a></li>
						{{else}}
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'joined'}} ipsMenu_itemChecked{{endif}}" data-sortDirection='desc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'joined', 'sortdirection' => 'desc' ) )->setPage( 'page', 1 )}">{lang="sort_joined"}</a></li>
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'name' || !isset( \IPS\Request::i()->sortby )}} ipsMenu_itemChecked{{endif}}" data-sortDirection='asc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'name', 'sortdirection' => 'asc' ) )->setPage( 'page', 1 )}">{lang="sort_mname"}</a></li>
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'member_posts'}} ipsMenu_itemChecked{{endif}}" data-sortDirection='desc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'member_posts', 'sortdirection' => 'desc' ) )->setPage( 'page', 1 )}">{lang="sort_posts"}</a></li>
							<li class="ipsMenu_item{{if \IPS\Request::i()->sortby == 'pp_reputation_points'}} ipsMenu_itemChecked{{endif}}" data-sortDirection='desc'><a href="{$baseUrl->setQueryString( array( 'sortby' => 'pp_reputation_points', 'sortdirection' => 'desc' ) )->setPage( 'page', 1 )}">{lang="sort_reputation"}</a></li>
						{{endif}}
					</ul>
				</li>	
			</ul>
		{{endif}}
	</div>
	{{endif}}
</div>

{{if \count( $results ) }}
	<ol class="ipsStream ipsList_reset {{if request.type == 'core_members'}}cStream_members ipsGrid ipsGrid_collapsePhone{{endif}}" data-role='resultsContents' {{if request.type == 'core_members'}}data-ipsGrid data-ipsGrid-equalHeights='row' data-ipsGrid-minItemSize='250' data-ipsGrid-maxItemSize='400'{{endif}}>
		{{foreach $results as $result}}
			{{if request.type == 'core_members'}}
				{$result->searchResultHtml()|raw}
			{{elseif $result !== NULL}}
				{$result->html()|raw}
			{{endif}}
		{{endforeach}}
	</ol>
{{else}}
	<div class='ipsAreaBackground_light ipsType_center ipsPad' data-role='resultsContents'>
		<p class='ipsType_large ipsType_light'>{lang="no_search_results"}</p>
	</div>
{{endif}}
{{if $pagination}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		{$pagination|raw}
	</div>
{{endif}}]]></template>
 <template template_group="search" template_name="search" template_data="$termArray, $title, $results, $pagination, $baseUrl, $types, $filters, $count=NULL, $advanced=FALSE" template_location="front" template_app="core"><![CDATA[
<div data-controller='core.front.search.main' data-baseURL='{url="app=core&module=search&controller=search" seoTemplate="search"}'>
	<div class='ipsResponsive_hidePhone ipsPageHeader'>
		<h1 class='ipsType_pageTitle'>{lang="search_the_community"}</h1>
		<p class='ipsType_reset ipsType_large {{if $advanced}}ipsHide{{endif}}' data-role='searchBlurb'>{$title}</p>
	</div>
	
	{{if \IPS\Content\Search\Query::isRebuildRunning()}}
	<div class="ipsMessage ipsMessage_info">{lang="search_rebuild_is_running"}</div>
	{{endif}}

	<div class='ipsBox ipsPadding ipsResponsive_pull ipsMargin_top' data-controller='core.front.search.filters' id='elSearchFilters'>
		{$filters|raw}
	</div>

	<div id="elSearch_main" class='ipsSpacer_top' data-role='filterContent'>
		{{if !$advanced}}
			{template="results" group="search" params="$termArray, $title, $results, $pagination, $baseUrl, $count"}
		{{endif}}
	</div>
</div>
]]></template>
 <template template_group="search" template_name="searchReaction" template_data="$reactions, $itemUrl, $repCount" template_location="front" template_app="core"><![CDATA[
{{if \IPS\Settings::i()->reaction_count_display == 'count'}}
	<div class='ipsReact_reactCountOnly ipsReact_reactCountOnly_mini {{if $repCount >= 1}}ipsAreaBackground_positive{{elseif $repCount < 0}}ipsAreaBackground_negative{{else}}ipsAreaBackground_light{{endif}} ipsType_blendLinks {{if !\count( $reactions )}}ipsHide{{endif}}' data-role='reactCount'>
		{$repCount}
	</div>
{{else}}
	<div class='ipsReactOverview ipsReactOverview_small ipsType_light'>
		<ul>
			<li class='ipsReactOverview_repCount'>
				{$repCount}
			</li>
			{{foreach $reactions AS $reactID => $count}}
				{{$reaction = \IPS\Content\Reaction::load( $reactID );}}
				<li>
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						<a href='{$itemUrl->setQueryString( 'reaction', $reaction->id )}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="see_who_reacted" escape="true"}" data-ipsTooltip title="{lang="see_who_reacted_x" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'reaction_title_' . $reaction->id )" escape="true"}">
					{{else}}
						<span data-ipsTooltip title="{lang="reaction_title_{$reaction->id}" escape="true"}">
					{{endif}}
							<img src='{file="$reaction->_icon" extension="core_Reaction"}' alt="{lang="reaction_title_{$reaction->id}" escape="true"}">
					{{if \IPS\Member::loggedIn()->group['gbw_view_reps']}}
						</a>
					{{else}}
						</span>
					{{endif}}
				</li>
			{{endforeach}}
		</ul>
	</div>
{{endif}}]]></template>
 <template template_group="settings" template_name="authySetupProtection" template_data="$value" template_location="admin" template_app="core"><![CDATA[{lang="authy_setup_protection_1"} <input name="authy_setup_protection[0]" type="number" class="ipsField_tiny" min="1" value="{$value[0]}"> {lang="authy_setup_protection_2"} <input name="authy_setup_protection[1]" type="number" class="ipsField_tiny" value="{$value[1]}"> {lang="authy_setup_protection_3"}]]></template>
 <template template_group="settings" template_name="dataLayerContext" template_data="$propertyBlock" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPad'>
	<div class="">
		<h2 class="ipsMargin_top:none ipsMargin_bottom:half" >{lang="datalayer_page_context"}</h2>
		<br>
		<div class="ipsType ipsMargin_bottom ipsPadding_bottom">{lang="datalayer_page_content_desc"}</div>
	</div>
	<div id='table_area'>
		{$propertyBlock|raw}
	</div>
</div>]]></template>
 <template template_group="settings" template_name="dataLayerSelector" template_data="$items, $tab, $itemKey, $head, $activeKey='', $pre=true" template_location="admin" template_app="core"><![CDATA[
<div class="ipsPadding_bottom:half">
    <h2 class="ipsPadding_left ipsMargin_bottom:half">
        {$head}
    </h2>
    <ul class="ipsList_reset" id="dataLayerSelector">
      {{foreach $items as $key => $item}}
        <li class="ipsPadding_left {{if $key === $activeKey}}ipsButton_active{{endif}} listItem">
            <a href='{url="app=core&module=settings&controller=dataLayer&tab={$tab}&{$itemKey}={$key}"}'
               class='ipsOnlineStatus ipsOnlineStatus_{expression="($item['enabled'] ?? 1) ? 'online' : 'offline'"}' >
                <span data-ipstooltip title="{$item['short']}" class="ipsType_monospace" style="padding:4px 0px;" >{$item['formatted_name']|raw}</span>
            </a>
        </li>
      {{endforeach}}
    </ul>
</div>
]]></template>
 <template template_group="settings" template_name="dataLayerTab" template_data="$left, $right" template_location="admin" template_app="core"><![CDATA[
<main class="ipsColumns">
	<div class="ipsColumn ipsColumn_wide ipsPadding_right:none">
        {$left|raw}
	</div>
	<div class="ipsColumn ipsColumn_fluid ipsPadding" id="table_area">
		{$right|raw}
	</div>
</main>]]></template>
 <template template_group="settings" template_name="dataLayerTitleContent" template_data="$item, $item_key, $type='property', $form='', $table=''" template_location="admin" template_app="core"><![CDATA[
<div class="ipsGrid ipsBorder_bottom">
    <div class="ipsGrid_span4 ipsBorder_right ipsPadding_right">
        <h2 class="ipsMargin:none" style="display:inline-flex; flex-direction: row; align-items: center;">
            <p type="text" data-name-field class='ipsMargin:none ipsType_monospace'>{$item['formatted_name']}</p>
            {{if $item['custom'] ?? 0}}
            <div>
                <a id="deleteProperty" class='ipsMargin_left ipsButton ipsButton_negative ipsButton_negative ipsType_bold' href='{url="app=core&module=settings&controller=dataLayer&do=deleteProperty&property_key={$item_key}" csrf="true"}'>
                    <i class='fa fa-minus-circle'></i> {lang="delete"}
                </a>
            </div>
            {{endif}}
        </h2>
        <div class="ipsMargin_top:half">
        {{if $type === 'property'}}
            {{$badgeStyle = $item['enabled'] ? 'positive' : 'negative';}}
            {{if $item['pii']}}
            <span class='ipsType_bold ipsBadge ipsBadge_intermediary'>{lang="datalayer_pii"}</span>
            {{endif}}
            {{if $item['page_level']}}
            <span class='ipsType_bold ipsBadge ipsBadge_style2'><a href='{url="app=core&module=settings&controller=dataLayer&tab=pageContext"}'>{lang="datalayer_page_context"}</a></span>
            {{endif}}
            <span class='ipsType_bold ipsBadge ipsBadge_{$badgeStyle}'>{{if $item['enabled']}}{lang="datalayer_enabled"}{{else}}{lang="datalayer_disabled"}{{endif}}</span>
            {{if $item['custom'] ?? 0}}
            <span class='ipsType_bold ipsBadge ipsBadge_neutral'>{lang="datalayer_custom"}</span>
            {{endif}}
        {{endif}}
            <p class='ipsType'>{$item['description']|raw}</p>
        {{if $item['custom'] ?? 0}}
            {{$value = $item['value'] ?? 'undefined';}}
            <p>{lang="datalayer_note_dec" htmlsprintf="$value"}</p>
        {{endif}}
        {{if $item['pii'] ?? 0}}
            <p>{lang="datalayer_pii_desc"}</p>
        {{endif}}
        </div>
    </div>
    <div class="ipsGrid_span8">
        <h2 class="ipsFieldRow_section">{lang="options"}</h2>
        {$form|raw}
        <br>
    </div>
</div>
<br>

{{if $table}}
    <h3 class="ipsMargin_bottom:half">
        {{if $type==='property'}}
        {lang="datalayer_events_using_property"}
        {{else}}
        {lang="datalayer_events_properties"}
        {{endif}}
    </h3>
    {$table|raw}
{{else}}
<p class="ipsMargin">
    {{if $type === 'property'}}
    {lang="datalayer_no_events_use_property"}
    {{else}}
    {lang="datalayer_no_events_here"}
    {{endif}}
</p>
{{endif}}
]]></template>
 <template template_group="settings" template_name="dataStoreChange" template_data="$downloadUrl, $checkUrl, $error=FALSE" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsType_center">
	<p class="ipsType_large">{lang="datastore_change_blurb"}</p>
	<div class="ipsPad">
		<a href="{$downloadUrl}" class="ipsButton ipsButton_primary">{lang="datastore_change_download"}</a> <a href="{$checkUrl}" class="ipsButton ipsButton_normal">{lang="continue"}</a>
	</div>
	{{if $error}}
		<p class="ipsType_warning">{lang="datastore_change_error"}</p>
	{{endif}}
</div>]]></template>
 <template template_group="settings" template_name="formWrapper" template_data="$form" template_location="admin" template_app="core"><![CDATA[
<div id="dataLayerContent" >
    {$form|raw}
</div>]]></template>
 <template template_group="settings" template_name="handlers" template_data="$handlers=array()" template_location="admin" template_app="core"><![CDATA[
<div class="ipsMargin" >
    <h2 class="ipsMargin_top:none ipsMargin_bottom:half">{lang="datalayer_title"}</h2>
    <div class="ipsType ipsMargin_bottom ipsPadding_bottom">{lang="datalayer_desc"}</div>
    <div>
        {{if empty($handlers)}}
        <p class="ipsPadding_vertical">
            {lang="datalayer_custom_handler_none"}
        </p>
        <a href='{url="app=core&module=settings&controller=dataLayer&do=addHandler" location="admin"}' class="ipsButton ipsButton_primary">{lang="datalayer_custom_handler_create"}</a>
        {{else}}
        {{foreach $handlers as $handler}}
        <div>
            {{$dataLayerKey = \IPS\Member::loggedIn()->language()->addToStack('datalayer_custom_title_prefix') . ' ' . $handler->datalayer_key;}}
            {template="row" group="trees" location="admin" app="core" params="$handler->url(), $handler->id, $handler->name, false, $handler->buttonHtml, $dataLayerKey, NULL, NULL, FALSE, $handler->enabled"}
        </div>
        {{endforeach}}
        {{endif}}
    </div>
</div>
]]></template>
 <template template_group="settings" template_name="reputationLeaderboardRebuild" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='acpBlock'>
	<div class="ipsPad">
		{lang="reputation_leaderboard_rebuild_desc"}
		<p>
			<a href='{url="app=core&module=membersettings&controller=reputation&do=rebuildLeaderboard&process=1" csrf="true"}' class="ipsButton ipsButton_primary">{lang="reputation_leaderboard_rebuild_run_now"}</a>
		</p>
	</div>
</div>]]></template>
 <template template_group="settings" template_name="reputationLike" template_data="$blurb" template_location="admin" template_app="core"><![CDATA[<div class='ipsLikeRep'>
	<a class='ipsButton ipsButton_like ipsButton_alternate'><i class='fa fa-heart'></i> {lang="like"}</a>
	<span class='ipsLike_contents'>{$blurb|raw}</span>
</div>
<br>
<span class="ipsType_light">{lang="rep_system_like"}</span>]]></template>
 <template template_group="settings" template_name="reputationNormal" template_data="$pos,$neg" template_location="admin" template_app="core"><![CDATA[<div class='ipsLikeRep'>
	{{if $pos}}
		<a class='ipsButton ipsButton_rep ipsButton_repUp'><i class='fa fa-arrow-up'></i></a>
	{{endif}}
	{{if $neg}}
		<a class='ipsButton ipsButton_rep ipsButton_repDown'><i class='fa fa-arrow-down'></i></a>
	{{endif}}
	{{if $pos and $neg}}
		<span class='ipsReputation_count ipsType_blendLinks ipsType_neutral'><i class='fa fa-heart ipsType_small'></i> 0</span>
	{{elseif $pos}}
		<span class='ipsReputation_count ipsType_blendLinks ipsType_positive'><i class='fa fa-heart ipsType_small'></i> 5</span>
	{{else}}
		<span class='ipsReputation_count ipsType_blendLinks ipsType_negative'><i class='fa fa-heart ipsType_small'></i> -5</span>
	{{endif}}
</div>
<br>
<span class="ipsType_light">
	{{if $pos and $neg}}
		{lang="rep_system_both"}
	{{elseif $pos}}
		{lang="rep_system_positive"}
	{{else}}
		{lang="rep_system_negative"}
	{{endif}}
</span>]]></template>
 <template template_group="settings" template_name="searchDecay" template_data="$days, $factor" template_location="admin" template_app="core"><![CDATA[{lang="search_decay_1"}
<input type="number" name="search_decay[0]" value="{$days}" class="ipsField_short">
{lang="search_decay_2"}
<input type="number" name="search_decay[1]" value="{$factor}" step="0.1" class="ipsField_short">
{lang="search_decay_3"}
<div class="ipsFieldRow_inlineCheckbox">
	&nbsp;
	{lang="or"}
	&nbsp;
	<span class="ipsCustomInput">
		<input type="checkbox" data-control="unlimited" name="search_decay[2]" id="search_decay-unlimitedCheck" value="0" {{if !$factor}}checked{{endif}} aria-labelledby="search_decay_label">
		<span></span>
	</span>
	<label for="search_decay-unlimitedCheck" id="search_decay_label" class="ipsField_unlimited">{lang="search_decay_unlimited"}</label>
</div>]]></template>
 <template template_group="settings" template_name="verifySetupProtection" template_data="$value" template_location="admin" template_app="core"><![CDATA[{lang="verify_setup_protection_1"} <input name="verify_setup_protection[0]" type="number" class="ipsField_tiny" min="1" value="{$value[0]}"> {lang="verify_setup_protection_2"} <input name="verify_setup_protection[1]" type="number" class="ipsField_tiny" value="{$value[1]}"> {lang="verify_setup_protection_3"}]]></template>
 <template template_group="sharelinks" template_name="email" template_data="$url, $title" template_location="front" template_app="core"><![CDATA[<a href="mailto:?subject={$title}&body={$url}" rel='nofollow' class='cShareLink cShareLink_email' title='{lang="email_text"}' data-ipsTooltip>
	<i class="fa fa-envelope"></i>
</a>]]></template>
 <template template_group="sharelinks" template_name="facebook" template_data="$url" template_location="front" template_app="core"><![CDATA[<a href="https://www.facebook.com/sharer/sharer.php?u={$url}" class="cShareLink cShareLink_facebook" target="_blank" data-role="shareLink" title='{lang="facebook_text"}' data-ipsTooltip rel='noopener nofollow'>
	<i class="fa fa-facebook"></i>
</a>]]></template>
 <template template_group="sharelinks" template_name="linkedin" template_data="$url, $title" template_location="front" template_app="core"><![CDATA[<a href="https://www.linkedin.com/shareArticle?mini=true&amp;url={$url}&amp;title={$title}" rel="nofollow noopener" class="cShareLink cShareLink_linkedin" target="_blank" data-role="shareLink" title='{lang="lin_text"}' data-ipsTooltip>
	<i class="fa fa-linkedin"></i>
</a>]]></template>
 <template template_group="sharelinks" template_name="pinterest" template_data="$url" template_location="front" template_app="core"><![CDATA[<a href="{$url}" class="cShareLink cShareLink_pinterest" rel="nofollow noopener" target="_blank" data-role="shareLink" title='{lang="pinterest_text"}' data-ipsTooltip>
	<i class="fa fa-pinterest"></i>
</a>]]></template>
 <template template_group="sharelinks" template_name="reddit" template_data="$url, $title" template_location="front" template_app="core"><![CDATA[<a href="https://www.reddit.com/submit?url={$url}&amp;title={expression="urlencode( $title )"}" rel="nofollow noopener" class="cShareLink cShareLink_reddit" target="_blank" title='{lang="reddit_text"}' data-ipsTooltip>
	<i class="fa fa-reddit"></i>
</a>]]></template>
 <template template_group="sharelinks" template_name="shareButton" template_data="$item, $size = 'verySmall', $type = 'link'" template_location="front" template_app="core"><![CDATA[{{$id = mt_rand();}}
{{if \count( $item->sharelinks() ) }}
    <a href='#elShareItem_{$id}_menu' id='elShareItem_{$id}' data-ipsMenu class='ipsShareButton ipsButton ipsButton_{$size} ipsButton_{$type} {{if $type == 'link'}}ipsButton_link--light{{endif}}'>
        <span><i class='fa fa-share-alt'></i></span> &nbsp;{lang="share"}
    </a>

    <div class='ipsPadding ipsMenu ipsMenu_auto ipsHide' id='elShareItem_{$id}_menu' data-controller="core.front.core.sharelink">
        <ul class='ipsList_inline'>
            {{foreach $item->sharelinks() as $sharelink }}
                <li>{$sharelink|raw}</li>
            {{endforeach}}
        </ul>
        {{if $shareData = $item->webShareData()}}
            <hr class='ipsHr'>
            <button class='ipsHide ipsButton ipsButton_verySmall ipsButton_light ipsButton_fullWidth ipsMargin_top:half' data-controller='core.front.core.webshare' data-role='webShare' data-webShareTitle='{$shareData['title']}' data-webShareText='{$shareData['text']}' data-webShareUrl='{$shareData['url']}'>{lang="more_share_options"}</button>
        {{endif}}
    </div>
{{endif}}]]></template>
 <template template_group="sharelinks" template_name="x" template_data="$url, $title" template_location="front" template_app="core"><![CDATA[<a href="https://x.com/share?url={$url}" class="cShareLink cShareLink_x" target="_blank" data-role="shareLink" title='{lang="x_text"}' data-ipsTooltip rel='nofollow noopener'>
    <i class="fa fa-x"></i>
</a>]]></template>
 <template template_group="smartcommunity" template_name="cloud" template_data="" template_location="admin" template_app="core"><![CDATA[
<!-- Top bit -->
<div class="ipsPad ipsBox">
    <h3 class="ipsType_sectionHead">
        {lang="cloud_smart_community_title"}
    </h3>
    <p class="ipsType_light">
        {lang="cloud_smart_community_desc"}
    </p>
</div>
<br>
<div class="ipsGrid ipsGrid_collapsePhone">
    <!-- IMAGE SCANNER -->
	<div class="ipsGrid_span6">
        <div class="ipsSpacer_bottom ipsSpacer_double">
            <div class="ipsBox ipsFaded_withHover acpEnhancement">
                <div class="acpEnhancement__title">
                    <h3>{lang="cloud_ai_service_imagescan"} &nbsp; <span class="ipsBadge ipsBadge_neutral ipsPos_right">{lang="only_available_on_cloud"}</span></h3>
                </div>
                <div class="ipsType_normal ipsPad">
                    <div class="ipsType_richText">
                        <p>{lang="cloud_ai_service_imagescan_desc"}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- TRENDING -->
    <div class="ipsGrid_span6">
        <div class="ipsSpacer_bottom ipsSpacer_double">
            <div class="ipsBox ipsFaded_withHover acpEnhancement">
                <div class="acpEnhancement__title">
                    <h3>{lang="cloud_ai_service_trending"} &nbsp; <span class="ipsBadge ipsBadge_neutral ipsPos_right">{lang="only_available_on_cloud"}</span></h3>
                </div>
                <div class="ipsType_normal ipsPad">
                    <div class="ipsType_richText">
                        <p>{lang="cloud_ai_service_trending_desc"}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- REALTIME -->
    <div class="ipsGrid_span6">
        <div class="ipsSpacer_bottom ipsSpacer_double">
            <div class="ipsBox ipsFaded_withHover acpEnhancement">
                <div class="acpEnhancement__title">
                    <h3>
                        {lang="cloud_ai_service_realtime"} &nbsp; <span class="ipsBadge ipsBadge_neutral ipsPos_right">{lang="only_available_on_cloud"}</span>
                    </h3>
                </div>
                <div class="ipsType_normal ipsPad">
                    <div class="ipsType_richText">
                        <p>{lang="cloud_ai_service_realtime_desc"}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div>
	<a href="{url="switch_to_cloud" ips="true"}" target="_blank" class="ipsButton ipsButton_fullWidth ipsButton_medium ipsButton_important">{lang="learn_more"}</a>
</div>]]></template>
 <template template_group="spam" template_name="spamGeoSettings" template_data="$matrix" template_location="admin" template_app="core"><![CDATA[
{{if !\in_array( \IPS\Login::registrationType(), array( 'normal', 'full' ) ) OR !\IPS\Settings::i()->ipsgeoip}}
<p class='ipsMessage ipsMessage_warning ipsMargin_horizontal:half'>{lang="geolocation_settings_requirements"}</p>
{{endif}}
<p class='ipsMessage ipsMessage_info ipsMargin_horizontal:half'>{lang="geolocation_settings_desc"}</p>
{$matrix|raw}]]></template>
 <template template_group="spam" template_name="spamQandASettings" template_data="$table" template_location="admin" template_app="core"><![CDATA[
{{if !\in_array( \IPS\Login::registrationType(), array( 'normal', 'full' ) )}}
<p class='ipsMessage ipsMessage_warning ipsMargin_horizontal:half'>{lang="qanda_settings_requirements"}</p>
{{endif}}

{$table|raw}]]></template>
 <template template_group="staffdirectory" template_name="layout_blocks" template_data="$users" template_location="front" template_app="core"><![CDATA[{{$count=0;}}
{{foreach $users as $user}}
	{{if $count%4 == 0}}
		<div class='ipsGrid ipsGrid_collapsePhone cStaffDirectory_blocks'>
	{{endif}}
		<div class='ipsGrid_span3 ipsType_center ipsAreaBackground_light ipsPad'>
			{template="userPhoto" app="core" group="global" params="$user->member(), 'small'"}
			<h3 class='ipsType_sectionHead'>
				{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_name_" . $user->id ) }}
					{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}
						<a href='{$user->member()->url()}'>{lang="core_staff_directory_name_{$user->id}" escape="true"}</a>
					{{else}}
						{lang="core_staff_directory_name_{$user->id}" escape="true"}
					{{endif}}
				{{else}}
					{$user->member()->link()|raw}
				{{endif}}
			</h3>
			<p class='ipsType_reset ipsType_normal ipsType_light'>
				{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_title_" . $user->id )}}
					{lang="core_staff_directory_title_{$user->id}" escape="true"}
				{{endif}}
			</p>
			{{if !member.members_disable_pm AND !$user->member()->members_disable_pm AND \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
				<br>
				<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$user->member()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-forceReload data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}"><i class='fa fa-envelope'></i> {lang="message_send"}</a>
			{{endif}}
		</div>
	{{$count++;}}
	{{if $count%4 == 0}}
		</div>
		<br>
	{{endif}}
{{endforeach}}
{{if $count%4 != 0}}
	</div>
	<br>
{{endif}}
]]></template>
 <template template_group="staffdirectory" template_name="layout_blocks_preview" template_data="" template_location="front" template_app="core"><![CDATA[
<div class='cStaffDirPreview cStaffDirPreview_blocks'>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span3 ipsType_center cStaffDirPreview_block'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
		</div>
		<div class='ipsGrid_span3 ipsType_center cStaffDirPreview_block'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
		</div>
		<div class='ipsGrid_span3 ipsType_center cStaffDirPreview_block'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
		</div>
		<div class='ipsGrid_span3 ipsType_center cStaffDirPreview_block'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
		</div>
	</div>
</div>]]></template>
 <template template_group="staffdirectory" template_name="layout_full" template_data="$users" template_location="front" template_app="core"><![CDATA[{{foreach $users as $user}}
	<div class='ipsClearfix ipsAreaBackground_light ipsPad ipsPhotoPanel ipsPhotoPanel_small ipsSpacer_bottom ipsSpacer_half cStaffDirectory_full'>
		{template="userPhoto" app="core" group="global" params="$user->member(), 'small'"}
		<div>
			<h3 class='ipsType_sectionHead'>
				{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_name_" . $user->id ) }}
					{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}
						<a href='{$user->member()->url()}'>{lang="core_staff_directory_name_{$user->id}" escape="true"}</a>
					{{else}}
						{lang="core_staff_directory_name_{$user->id}" escape="true"}
					{{endif}}
				{{else}}
					{$user->member()->link()|raw}
				{{endif}}
			</h3>
			<p class='ipsType_reset ipsType_normal ipsType_light'>
				{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_title_" . $user->id )}}
					{lang="core_staff_directory_title_{$user->id}" escape="true"}
				{{endif}}
			</p>
			{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_bio_" . $user->id )}}
				<br>
				{{$truncateAttributes = array('data-ipsTruncate', 'data-ipsTruncate-size="4 lines"', 'data-ipsTruncate-type="hide"');}}
				{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('core_staff_directory_bio_' . $user->id), array('ipsType_normal'), array(), $truncateAttributes"}
			{{endif}}			
			{{if !member.members_disable_pm AND !$user->member()->members_disable_pm AND \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
				<br>
			<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$user->member()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-forceReload data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}"><i class='fa fa-envelope'></i> {lang="message_send"}</a>
			{{endif}}
		</div>
	</div>
{{endforeach}}]]></template>
 <template template_group="staffdirectory" template_name="layout_full_preview" template_data="" template_location="front" template_app="core"><![CDATA[
<div class='cStaffDirPreview cStaffDirPreview_full'>
	<div class='cStaffDirPreview_block cStaffDirPreview_row'>
		<span class='cStaffDirPreview_photo'></span><br>
		<span class='cStaffDirPreview_title'></span>
		<span class='cStaffDirPreview_text'></span>
	</div>
	<div class='cStaffDirPreview_block cStaffDirPreview_row'>
		<span class='cStaffDirPreview_photo'></span><br>
		<span class='cStaffDirPreview_title'></span>
		<span class='cStaffDirPreview_text'></span>
	</div>
	<div class='cStaffDirPreview_block cStaffDirPreview_row'>
		<span class='cStaffDirPreview_photo'></span><br>
		<span class='cStaffDirPreview_title'></span>
		<span class='cStaffDirPreview_text'></span>
	</div>
</div>]]></template>
 <template template_group="staffdirectory" template_name="layout_half" template_data="$users" template_location="front" template_app="core"><![CDATA[{{$count=0;}}
{{foreach $users as $user}}
	{{if $count%2 == 0}}
		<div class='ipsGrid ipsGrid_collapsePhone ipsSpacer_bottom cStaffDirectory_half'>
	{{endif}}
			<div class='ipsGrid_span6 ipsPhotoPanel ipsPhotoPanel_small ipsAreaBackground_light ipsPad'>
				{template="userPhoto" app="core" group="global" params="$user->member(), 'small'"}
				<div>
					<h3 class='ipsType_sectionHead'>
						{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_name_" . $user->id ) }}
							{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}
								<a href='{$user->member()->url()}'>{lang="core_staff_directory_name_{$user->id}" escape="true"}</a>
							{{else}}
								{lang="core_staff_directory_name_{$user->id}" escape="true"}
							{{endif}}
						{{else}}
							{$user->member()->link()|raw}
						{{endif}}
					</h3>
					<p class='ipsType_light ipsType_normal ipsType_reset'>
						{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_title_" . $user->id ) }}
							{lang="core_staff_directory_title_{$user->id}" escape="true"}
						{{endif}}
					</p>
					{{if $user->id AND \IPS\Member::loggedIn()->language()->checkKeyExists( "core_staff_directory_bio_" . $user->id )}}
						<br>
						<div class='ipsType_richText ipsType_normal' data-ipsTruncate data-ipsTruncate-size="4 lines" data-ipsTruncate-type="hide">{lang="core_staff_directory_bio_{$user->id}"}</div>
					{{endif}}			
					{{if !member.members_disable_pm AND !$user->member()->members_disable_pm AND \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
						<br>
						<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$user->member()->member_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-forceReload data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}"><i class='fa fa-envelope'></i> {lang="message_send"}</a>
					{{endif}}
				</div>
			</div>
	{{$count++;}}
	{{if $count%2 == 0}}
		</div>
	{{endif}}
{{endforeach}}
{{if $count%2 != 0}}
	</div>
{{endif}}]]></template>
 <template template_group="staffdirectory" template_name="layout_half_preview" template_data="" template_location="front" template_app="core"><![CDATA[
<div class='cStaffDirPreview cStaffDirPreview_full'>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span6 cStaffDirPreview_block cStaffDirPreview_row'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
			<span class='cStaffDirPreview_text'></span>
		</div>
		<div class='ipsGrid_span6 cStaffDirPreview_block cStaffDirPreview_row'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
			<span class='cStaffDirPreview_text'></span>
		</div>
	</div>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span6 cStaffDirPreview_block cStaffDirPreview_row'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
			<span class='cStaffDirPreview_text'></span>
		</div>
		<div class='ipsGrid_span6 cStaffDirPreview_block cStaffDirPreview_row'>
			<span class='cStaffDirPreview_photo'></span><br>
			<span class='cStaffDirPreview_title'></span>
			<span class='cStaffDirPreview_text'></span>
		</div>
	</div>
</div>]]></template>
 <template template_group="staffdirectory" template_name="template" template_data="$groups, $userIsStaff=FALSE" template_location="front" template_app="core"><![CDATA[
<div class="ipsPageHeader ipsClearfix ipsMargin_bottom ipsFlex ipsFlex-ai:center ipsFlex-jc:between sm:ipsFlex-fd:column sm:ipsFlex-ai:stretch">
	<h1 class='ipsType_pageTitle ipsFlex-flex:11 ipsType_break'>
		{lang="staff_directory"}
	</h1>
	{{if $userIsStaff}}
		<ul class='ipsToolList ipsToolList_horizontal ipsClearfix sm:ipsMargin_top'>
			<li class='ipsToolList_primaryAction'>
				<a href="{url="app=core&module=staffdirectory&controller=directory&do=form" seoTemplate="staffdirectory"}" rel="nofollow" class='ipsButton ipsButton_fullWidth ipsButton_small ipsButton_important' data-ipsDialog data-ipsDialog-title='{lang="leader_edit_mine"}'><i class='fa fa-pencil'></i> &nbsp;{lang="leader_edit_mine"}</a>
			</li>
		</ul>
	{{endif}}
</div>

{{foreach $groups as $group}}
	{{$members = $group->members();}}
	{{if \count( $members )}}
		<section class='ipsBox cStaffDirectory'>
			<h2 class='ipsType_sectionTitle ipsType_reset'>{$group->_title}</h2>
			<div class='ipsPad_half'>
				{template="$group->template" app="core" group="staffdirectory" location="front" params="$members"}
			</div>
		</section>
		<br>
	{{endif}}
{{endforeach}}]]></template>
 <template template_group="stats" template_name="activitymessage" template_data="" template_location="admin" template_app="core"><![CDATA[<p class="ipsType_normal">
	{lang="member_activity_info"}
</p>]]></template>
 <template template_group="stats" template_name="filtersFormTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div class="ipsPad_half" {{if isset( $elements['']['groups'] )}}data-controller='core.admin.stats.filtering'{{endif}}>

		{$elements['']['date']->html()|raw}

		{{if isset( $elements['']['groups'] )}}
			<span class='ipsType_small'><a href='#' data-role='toggleGroupFilter'>{lang="filter_stats_by_group"}</a></span>

			<div id='elGroupFilter' class='ipsHide' data-hasGroupFilters="{{if \count( $elements['']['groups']->value ) != \count( \IPS\Member\Group::groups( TRUE, FALSE ) )}}true{{else}}false{{endif}}">{$elements['']['groups']->html()|raw}</div>
		{{endif}}
			<button type="submit" class="ipsButton ipsButton_primary">{lang="go"}</button>
	</div>
</form>]]></template>
 <template template_group="stats" template_name="filtersOverviewForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' class="cStatsFilters ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-role="dateFilter" data-defaultRange='{$elements['']['predate']->value}'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<ul class='ipsList_inline'>
		<li data-role='formTitle'>
			<strong>{lang="stats_date_range_c"}</strong>
		</li>
		<li>
			{$elements['']['predate']->html()|raw}
			<div id='dateFilterInputs'>{$elements['']['date']->html()|raw}</div>
			<button type="submit" class="ipsButton ipsButton_primary ipsHide">{lang="update"}</button>
			<button type="button" class="ipsButton ipsButton_link ipsHide" data-action='cancelDateRange'>{lang="cancel"}</button>
		</li>
	</ul>
</form>]]></template>
 <template template_group="stats" template_name="memberactivity" template_data="$form, $count, $members, $type='overview'" template_location="admin" template_app="core"><![CDATA[<div class=''>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{{if $type=="overview"}}{lang="activity_date"}{{else}}{lang="activity_no_activity"}{{endif}}</h1>
		<div>
			{$form|raw}
		</div>
	</div>
</div>

{{if $count !== NULL}}
	<div class='ipsSpacer_top ipsSpacer_double'>
		{$members|raw}
	</div>
{{endif}}]]></template>
 <template template_group="stats" template_name="membervisits" template_data="$form, $count, $members" template_location="admin" template_app="core"><![CDATA[<div class=''>
	<div class='ipsBox'>
		<h1 class='ipsBox_titleBar'>{lang="visit_date"}</h1>
		<div>
			{$form|raw}
		</div>
	</div>
</div>

{{if $count !== NULL}}
	<div class='ipsSpacer_top ipsSpacer_double'>
		{$members|raw}
	</div>
{{endif}}]]></template>
 <template template_group="stats" template_name="mycharts" template_data="$charts" template_location="admin" template_app="core"><![CDATA[
<div class='ipsGrid ipsGrid_collapsePhone'>
{{foreach $charts AS $chart}}
	<div class='ipsGrid_span6' data-controller='core.admin.members.lazyLoadingProfileBlock' data-url='{url="app=core&module=overview&controller=mycharts&do=getChart&chartId="}{$chart}'>
		<div class="ipsSpacer_bottom ipsType_center">
			<img src="{resource="tiny_loading.gif" app="core"}">
		</div>
	</div>
{{endforeach}}
</div>]]></template>
 <template template_group="stats" template_name="mychartsEmpty" template_data="" template_location="admin" template_app="core"><![CDATA[<div class='ipsBox ipsPad'>
	<p class="ipsType_large">{lang="mycharts_blurb"}</p>
</div>]]></template>
 <template template_group="stats" template_name="overview" template_data="$form, $blocks" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.stats.overview' data-url='?app=core&module=stats&controller=overview&do=loadBlock'>
	<div class='ipsBox ipsBox_shadowed ipsPad ipsSpacer_bottom ipsClearfix ipsFlex ipsFlex-jc:center ipsFlex-ai:center'>
		<div class='ipsFlex-grow:1'></div>
		{$form|raw}
	</div>
	<div class='cStatsGrid'>
		<div class='ipsGrid ipsGrid_collapseTablet' data-ipsGrid data-ipsGrid-minItemSize='350'>
			{{foreach $blocks as $blockKey => $block}}
				{{if $block->page == 'user' AND $subBlocks = $block->getBlocks()}}
					{{foreach $subBlocks as $subBlock}}
						{{if $details = $block->getBlockDetails( $subBlock )}}
							<div class='ipsGrid_span3 ipsBox ipsBox_shadowed cStatTile' data-role='statsBlock' data-block='{$blockKey}' data-subblock='{$subBlock}' data-refresh='{$details['refresh']}' data-app='{$details['app']}' data-controller='core.admin.stats.overviewBlock'>
								<div class='cStatTile__header'>
									<h2 class='ipsType_reset cStatTile__title'>{lang="$details['title']"}</h2>
									{{if $details['description']}}
										<a href='#' class='cStatTile__info' title="{lang="$details['description']"}" data-ipsTooltip>?</a>
									{{endif}}
								</div>
								<div class='cStatTile__body ipsLoading ipsLoading_small'>
									<div class='cStatTile__bodyInner ipsType_center' data-role='statBlockContent'></div>
								</div>
							</div>
						{{endif}}
					{{endforeach}}
				{{endif}}
			{{endforeach}}
		</div>
	</div>
</div>]]></template>
 <template template_group="stats" template_name="overviewComparisonCount" template_data="$count, $previousCount=NULL, $chart=FALSE" template_location="admin" template_app="core"><![CDATA[{{if $previousCount === NULL}}
	{template="overviewCount" location="admin" app="core" group="stats" params="$count"}
{{else}}
	<span class='cStat__number cStat__number--large' data-number='{$count}'>{number="$count"}</span>
	<p class='ipsType_reset cStat__change cStat__change--large {{if $previousCount > $count}}ipsType_negative{{elseif $previousCount < $count}}ipsType_positive{{else}}ipsType_neutral{{endif}}' data-ipsTooltip title="{lang="previous_period"} {number="$previousCount"}">
		{{if $previousCount > $count}}
			-{expression="round( 100 - ( $count / $previousCount * 100 ), 2 )"}%
		{{elseif $previousCount < $count}}
			{{if $previousCount}}+{expression="round( ( ( $count - $previousCount ) / $previousCount ) * 100, 2 )"}%{{else}}+ ∞{{endif}}
		{{else}}
			&mdash;
		{{endif}}
	</p>
{{endif}}

{{if $chart}}
	<hr class='ipsHr'>
	{$chart|raw}
{{endif}}]]></template>
 <template template_group="stats" template_name="overviewCount" template_data="$count" template_location="admin" template_app="core"><![CDATA[<span class='cStat__number cStat__number--large' data-number='{$count}'>{number="$count"}</span>]]></template>
 <template template_group="stats" template_name="overviewTable" template_data="$values, $previousValues=array()" template_location="admin" template_app="core"><![CDATA[{{if \count( $values )}}
    <table class='ipsTable ipsType_large ipsSpacer_top ipsSpacer_double ipsType_left'>
        {{foreach $values as $title => $count}}
            <tr>
                <td>{lang="$title"}</td>
                <td class='ipsType_right {{if isset( $previousValues[ $title ] ) AND $previousValues[ $title ] > $count}} ipsType_negative{{elseif isset( $previousValues[ $title ] ) AND $previousValues[ $title ] < $count}} ipsType_positive{{else}} ipsType_neutral{{endif}}'>
                    {number="$count"}
                    {{if isset( $previousValues[ $title ] )}}
                        {{if $previousValues[ $title ] > $count}}
                            <i class='fa fa-arrow-down' title='{expression="round( 100 - ( $count / $previousValues[ $title ] * 100 ) )"}%'></i>
                        {{elseif $previousValues[ $title ] < $count}}
                            <i class='fa fa-arrow-up' title='{{if $previousValues[ $title ]}}{expression="round( ( ( $count - $previousValues[ $title ] ) / $previousValues[ $title ] ) * 100 )"}%{{endif}}'></i>
                        {{endif}}
                    {{endif}}
                </td>
            </tr>
        {{endforeach}}
    </table>
{{else}}
    <p class='ipsType_light ipsType_center'>
        {lang="no_data"}
    </p>
{{endif}}]]></template>
 <template template_group="stats" template_name="rankprogressionmessage" template_data="" template_location="admin" template_app="core"><![CDATA[<p class="ipsType_normal">
	{lang="core_stats_rank_progression_desc"}
</p>]]></template>
 <template template_group="stats" template_name="tableheader" template_data="$start, $end, $count, $string" template_location="admin" template_app="core"><![CDATA[<h1 class='ipsBox_titleBar'>{lang="$string" pluralize="$count" htmlsprintf="$start, $end"}</h1>]]></template>
 <template template_group="stats" template_name="topFollow" template_data="$select, $pagination, $members, $total, $column, $activeTab" template_location="admin" template_app="core"><![CDATA[<h2 class="ipsBox_titleBar">{lang="stats_{$activeTab}_desc"}</h2>
{{if trim( $pagination )}}
	{$pagination|raw}
	<br><br>
{{endif}}
	<table class="ipsTable ipsTable_zebra">
		<thead>
			<tr>
				<th>{lang="member"}</th>
				<th>{lang="count"}</th>
			</tr>
		</thead>
		<tbody>
			{{foreach $select as $row}}
				{{$member = \IPS\Member::constructFromData( $members[ $row[$column] ] );}}
				<tr>
					<td>{template="userPhoto" app="core" group="global" params="$member"} {$member->name}</td>
					<td>{$row['count']}</td>
				</tr>
			{{endforeach}}
		</tbody>
	</table>
	<br>

	{$pagination|raw}
]]></template>
 <template template_group="stats" template_name="topmembers" template_data="$select, $pagination, $members, $total" template_location="admin" template_app="core"><![CDATA[
<div class="acpBlock">
<h1 class="ipsBox_titleBar">{lang="core_stats_referrer_count" pluralize="$total"}</h1></div>
<br>
{{if trim( $pagination )}}
	{$pagination|raw}
	<br><br>
{{endif}}
	<table class="ipsTable ipsTable_zebra">
		<thead>
			<tr>
				<th>{lang="member"}</th>
				<th>{lang="count"}</th>
			</tr>
		</thead>
		<tbody>
			{{foreach $select as $row}}
				{{$member = \IPS\Member::constructFromData( $members[ $row['member_id'] ] );}}
				<tr>
					<td>{template="userPhoto" app="core" group="global" params="$member"} {$member->name}</td>
					<td>{$row['count']}</td>
				</tr>
			{{endforeach}}
		</tbody>
	</table>
	<br>

	{$pagination|raw}
]]></template>
 <template template_group="status" template_name="feed" template_data="$statuses,$form,$pagination" template_location="front" template_app="core"><![CDATA[<div class='ipsBox ipsPad'>
	<div class='ipsPageHeader ipsClearFix ipsSpacer_bottom'>
		<h1 class='ipsType_pageTitle'><a href='#elFeed_menu' id='elFeed' data-ipsMenu data-ipsMenu-align-center>{{if isset( \IPS\Request::i()->following )}}{lang="people_i_follow"}{{else}}{lang="status_updates"}{{endif}} <i class='fa fa-caret-down'></i></a></h1>
	</div>
	<ul id='elFeed_menu' class='ipsMenu ipsMenu_auto ipsMenu_selectable ipsHide ipsType_medium'>
		<li class='ipsMenu_item {{if !isset( \IPS\Request::i()->following )}}ipsMenu_itemChecked{{endif}}'>
			<a href='{url="app=core&module=status&controller=feed" seoTemplate="status"}'>{lang="global_feed"}</a>
		</li>
		{{if \IPS\Member::loggedIn()->member_id }}
		<li class='ipsMenu_item {{if isset( \IPS\Request::i()->following )}}ipsMenu_itemChecked{{endif}}'>
			<a href='{url="app=core&module=status&controller=feed&following=1" seoTemplate="status_following"}'>{lang="people_i_follow"}</a>
		</li>
		{{endif}}
	</ul>
	<div data-controller='core.front.statuses.statusFeed' class='cStatusUpdates'>
		{{if \IPS\core\Statuses\Status::canCreate( \IPS\Member::loggedIn() ) AND $form !== NULL}}
			<div class='ipsComposeArea ipsComposeArea_withPhoto ipsClearfix ipsContained' data-role='newStatus'>
				<div class='ipsPos_left ipsResponsive_hidePhone ipsResponsive_block'>{template="userPhoto" app="core" group="global" params="\IPS\Member::loggedIn(), 'small'"}</div>
				<div class='ipsComposeArea_editor'>
					{$form|raw}
				</div>
			</div>
			<br>
		{{endif}}
		{{if isset( $statuses['statuses'] ) and \count( $statuses['statuses'] )}}
			{$pagination|raw}
			<br><br>
			<ol class='ipsType_normal ipsList_reset' data-role='commentFeed'>
				{{foreach $statuses['statuses'] as $status}}
					{template="statusContainer" app="core" group="statuses" params="$status"}
				{{endforeach}}
			</ol>
		{$pagination|raw}
		{{else}}
			<p class='ipsEmpty ipsType_center'>{lang="no_status_updates"}</p>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="statuses" template_name="statusContainer" template_data="$status, $authorData=NULL, $profileOwnerData=NULL, $condensed=FALSE, $table=NULL" template_location="front" template_app="core"><![CDATA[
<li {{if !$condensed}}data-controller='core.front.statuses.status'{{endif}} class='ipsStreamItem ipsStreamItem_contentBlock {{if $condensed}}ipsStreamItem_condensed{{endif}} {{if $status->hidden()}} ipsModerated{{endif}} ipsAreaBackground_reset ipsPad' data-timestamp='{$status->date}' data-role='activityItem' data-statusid="{$status->id}">
	<a id='status-{$status->id}'></a>
	<div class='ipsStreamItem_container'>
		<div class='ipsStreamItem_header ipsPhotoPanel ipsPhotoPanel_mini'>
			<span class='ipsStreamItem_contentType' data-ipsTooltip title='{lang="status_update"}'><i class='fa fa-user'></i></span>
			{{if $authorData}}
				{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $condensed ? 'tiny' : 'mini' )"}
			{{else}}
				{template="userPhoto" group="global" app="core" params="$status->author(), ( $condensed ? 'tiny' : 'mini' )"}
			{{endif}}
			<div>
				<h2 class='ipsType_reset ipsStreamItem_title {{if $condensed}}ipsStreamItem_titleSmall{{endif}} ipsType_break'>
					{{if $status->member_id != $status->author()->member_id}}
						<ul class='ipsList_inline ipsList_noSpacing'>
							<li>
								<strong>
									{{if $authorData}}
										{template="userLinkFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], $authorData['member_group_id']"}
									{{else}}
										{template="userLink" app="core" group="global" location="front" params="$status->author()"}
									{{endif}}
								</strong>
							</li>
							<li>
								&nbsp;<i class='fa fa-angle-right'></i>&nbsp;
							</li>
							<li>
								<strong>
									{{if $profileOwnerData}}
										{template="userLinkFromData" group="global" app="core" params="$profileOwnerData['member_id'], $profileOwnerData['name'], $profileOwnerData['members_seo_name'], $profileOwnerData['member_group_id']"}
									{{else}}
										{member="link()" id="$status->member_id" raw="true"}
									{{endif}}
								</strong>
							</li>
						</ul>
					{{else}}
						<strong>
							{{if $authorData}}
								{template="userLinkFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], $authorData['member_group_id']"}
							{{else}}
								{template="userLink" app="core" group="global" location="front" params="$status->author()"}
							{{endif}}
						</strong>
					{{endif}}
					{{if $status->hidden() AND $status->hidden() != -2}}
						<span class="ipsBadge ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span>
					{{elseif $status->hidden() == -2}}
						<span class="ipsBadge ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{$status->deletedBlurb()}'><i class='fa fa-trash'></i></span>
					{{endif}}
				</h2>
				{{if $condensed}}
					<ul class='ipsList_inline ipsStreamItem_stats ipsType_light'>
						<li>
							<a href='{$status->url()}' class='ipsType_blendLinks'><i class='fa fa-clock-o'></i> {datetime="$status->date"}</a>
						</li>
					</ul>
					<p class="ipsStreamItem_status ipsType_reset">
						{{if $status->member_id == $status->author()->member_id}}
							{{if $authorData}}
								{lang="member_posted_status_self" sprintf="$authorData['name']"}
							{{else}}
								{lang="member_posted_status_self" sprintf="$status->author()->name"}
							{{endif}}
						{{else}}
							{{if $authorData}}
								{lang="member_posted_status_other" sprintf="$authorData['name'], $profileOwnerData['name']"}
							{{else}}
								{lang="member_posted_status_other" sprintf="$status->author()->name, \IPS\Member::load( $status->member_id )->name"}
							{{endif}}
						{{endif}}
					</p>
				{{endif}}
			</div>
		</div>
		{{if !$condensed}}
			<div data-ipsTruncate data-ipsTruncate-size='10 lines' class='ipsStreamItem_snippet' {{if ( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'search' )}}data-searchable data-findTerm{{endif}}>
				<div class='ipsType_richText ipsType_normal ipsContained' data-controller='core.front.core.lightboxedImages'>{$status->content|raw}</div>
			</div>
		{{endif}}
		{{if !$condensed}}
			<ul class='ipsList_inline ipsStreamItem_meta ipsFaded_withHover'>
				<li class='ipsType_medium'>{{if $status->locked()}}<i class='fa fa-lock'></i>{{endif}} <a href='{$status->url()}' class='ipsType_blendLinks'><span class='ipsType_light'><i class='fa fa-clock-o'></i> {datetime="$status->date"}</span></a></li>
				{{if \IPS\IPS::classUsesTrait( $status, 'IPS\Content\Reactable' ) and settings.reputation_enabled and ( \count( $status->reactions() ) or $status->canReact() )}}
					<li class='ipsType_light ipsType_medium'>{template="reputationMini" group="global" app="core" params="$status"}</li>
				{{endif}}
				{{if $status->canEdit()}}
					<li>
						<a class='ipsFaded ipsFaded_more' data-ipsDialog data-ipsDialog-title='{lang="edit"}' href='{$status->url('editStatus')}'>{lang="edit"}</a>
					</li>
				{{endif}}
				{{if $status->canDelete() || $status->canLock() || $status->canUnlock() || $status->canHide() || $status->canUnhide()}}
					<li>
						<a href='#elStatus_{$status->id}_menu' data-ipsMenu data-ipsMenu-activeClass='ipsFaded_cancel' id='elStatus_{$status->id}' class='ipsFaded ipsFaded_more'>{lang="options"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsMenu ipsMenu_narrow ipsHide' id='elStatus_{$status->id}_menu'>
							{{if !$status->locked() and $status->canLock()}}
								<li class='ipsMenu_item'><a href="{$status->url('moderate')->setQueryString( 'action', 'lock' )->csrf()}">{lang="lock"}</a></li>
							{{elseif $status->locked() and $status->canUnlock()}}
								<li class='ipsMenu_item'><a href="{$status->url('moderate')->setQueryString( 'action', 'unlock' )->csrf()}">{lang="unlock"}</a></li>
							{{endif}}
							{{if !$status->hidden() and $status->canHide()}}
								<li class='ipsMenu_item'><a href='{$status->url('moderate')->setQueryString( 'action', 'hide' )->csrf()}'>{lang="hide"}</a></li>
							{{elseif $status->hidden() and $status->canUnhide()}}
								<li class='ipsMenu_item'><a href='{$status->url('moderate')->setQueryString( 'action', 'unhide' )->csrf()}'>{lang="unhide"}</a></li>
							{{endif}}
							{{if $status->canDelete()}}
								<li class='ipsMenu_item'><a data-confirm href="{$status->url('moderate')->setQueryString( 'action', 'delete' )->csrf()}">{lang="delete"}</a></li>
							{{endif}}
						</ul>
					</li>
				{{endif}}
				{{if $status->canReportOrRevoke() === TRUE}}
					<li><a href='{$status->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="report"}"{{endif}} data-action='reportStatus' title='{lang="report_content"}' class='ipsFaded ipsFaded_more'>{lang="status_report"}</a></li>
				{{endif}}	
			</ul>
		{{endif}}
		{{if !$condensed && ( \count( $status->comments() ) ||  $status->canComment() )}}
			<div class='ipsComment_feed ipsComment_subComments ipsType_medium'>
				<ol class="ipsList_reset" data-role='statusComments' data-currentPage='{expression="\IPS\Request::i()->page ? \intval( \IPS\Request::i()->page ) : 1"}'>
					{template="statusReplies" group="statuses" params="$status"}
				</ol>
				{{if \IPS\core\Statuses\Status::canCreateReply( \IPS\Member::loggedIn() )}}
					<div class="ipsComment ipsFieldRow_fullWidth ipsAreaBackground_light ipsPad" data-role="replyComment">
						<div class="ipsComment_content ipsContained">
							{$status->commentForm()|raw}
						</div>
					</div>
				{{endif}}
			</div>
		{{endif}}
		{{if $table AND method_exists( $table, 'canModerate' ) AND $table->canModerate()}}
		<div class='ipsDataItem_modCheck'>
			<span class='ipsCustomInput'>
				<input type='checkbox' data-role='moderation' name="moderate[{$status->id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $status ) )"}" data-state='{{if $status->tableStates()}}{$status->tableStates()}{{endif}}'>
				<span></span>
			</span>
		</div>
		{{endif}}
	</div>
</li>]]></template>
 <template template_group="statuses" template_name="statusContentRows" template_data="$table, $headers, $rows" template_location="front" template_app="core">{{foreach $rows as $status}}
	{template=&quot;statusContainer&quot; app=&quot;core&quot; group=&quot;statuses&quot; params=&quot;$status, NULL, NULL, NULL, $table&quot;}
{{endforeach}}</template>
 <template template_group="statuses" template_name="statusPagination" template_data="$baseUrl, $pages, $comments, $activePage=1, $perPage=3, $direction='prev'" template_location="front" template_app="core"><![CDATA[{{if $pages > 1}}
	{{if !( \IPS\Request::i()->isAjax() AND \IPS\Request::i()->dir == 'next' ) AND $direction == 'prev' && $activePage != $pages && !( $activePage > $pages )}}
		<li class="ipsComment ipsClearfix ipsAreaBackground_light cStatusUpdates_pagination">
			<a href="{$baseUrl->setPage( 'commentPage', $activePage + 1 )->setQueryString( 'dir', 'prev' )}" data-action="loadPreviousComments"><i class="fa fa-angle-up"></i> {lang="show_prev_comments"} &nbsp;<span class="ipsType_light">{lang="x_more" pluralize="$comments - ( $activePage * $perPage )"}</span></a>
		</li>
	{{elseif !( \IPS\Request::i()->isAjax() AND \IPS\Request::i()->dir == 'prev' ) AND $direction == 'next' && $activePage > 1}}
		<li class="ipsComment ipsClearfix ipsAreaBackground_light cStatusUpdates_pagination">
			<a href="{$baseUrl->setQueryString( 'commentPage', $activePage - 1 )->setQueryString( 'dir', 'next' )}" data-action="loadNextComments"><i class="fa fa-angle-down"></i> {lang="show_next_comments"} &nbsp;<span class="ipsType_light">{lang="x_more" pluralize="( $activePage - 1 ) * $perPage"}</span></a>
		</li>
	{{endif}}
{{endif}}]]></template>
 <template template_group="statuses" template_name="statusReplies" template_data="$status" template_location="front" template_app="core"><![CDATA[
{{if $status->commentPageCount() > 1}}
	{template="statusPagination" group="statuses" location="front" app="core" params="$status->url(), $status->commentPageCount(), $status->commentCount(), \IPS\Request::i()->commentPage ? \intval( \IPS\Request::i()->commentPage ) : 1, \IPS\core\Statuses\Status::getCommentsPerPage(), 'prev'"}
{{endif}}
{{foreach $status->commentsForDisplay() as $comment}}
	{$comment->html()|raw}
{{endforeach}}
{{if $status->commentPageCount() > 1}}
	{template="statusPagination" group="statuses" location="front" app="core" params="$status->url(), $status->commentPageCount(), $status->commentCount(), \IPS\Request::i()->commentPage ? \intval( \IPS\Request::i()->commentPage ) : 1, \IPS\core\Statuses\Status::getCommentsPerPage(), 'next'"}
{{endif}}]]></template>
 <template template_group="statuses" template_name="statusReply" template_data="$status, $comment" template_location="front" template_app="core"><![CDATA[<div class="ipsComment_content ipsFaded_withHover" data-controller="core.front.core.comment" data-commentID="{$comment->id}">
	<p class="ipsComment_author ipsType_normal">
		<strong>{template="userLink" app="core" group="global" location="front" params="$comment->author()"}</strong>
		{{if $comment->hidden() AND $comment->hidden() != -2}}
			<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span>
		{{elseif $comment->hidden() == -2}}
			<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$comment->deletedBlurb()}'><i class='fa fa-trash'></i></span>
		{{endif}}
	</p>
	<div data-role="commentContent" class='ipsType_richText ipsType_medium ipsContained' data-controller='core.front.core.lightboxedImages'>
		{$comment->content|raw}
	</div>
	<ul class="ipsList_inline ipsType_medium cStatusTools">
		<li class="ipsType_light"><a href='{$comment->url()}' class='ipsType_blendLinks'>{datetime="$comment->date"}</a></li>
		{{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled and ( \count( $comment->reactions() ) or $comment->canReact() )}}
			<li>{template="reputationMini" group="global" app="core" params="$comment"}</li>
		{{endif}}
		{{if $comment->canEdit()}}
			<li>
				<a href='{$comment->url('editStatusReply')}' class='ipsFaded ipsFaded_more' data-action='editComment'>{lang="edit"}</a>
			</li>
		{{endif}}
		{{if $comment->canDelete() || ( $comment instanceof \IPS\Content\Hideable && ( !$comment->hidden() and $comment->canHide() ) || ( $comment->hidden() and $comment->canUnhide() ) ) }}
			<li>
				<a href='#elComment_{$comment->id}_menu' id='elComment_{$comment->id}' data-ipsMenu data-ipsMenu-activeClass='ipsFaded_cancel' class='ipsFaded ipsFaded_more'>{lang="options"} <i class='fa fa-caret-down'></i></a>
				<ul class='ipsMenu ipsMenu_narrow ipsHide' id='elComment_{$comment->id}_menu'>
					{{if $comment instanceof \IPS\Content\Hideable}}
						{{if !$comment->hidden() and $comment->canHide()}}
							<li class='ipsMenu_item'><a href='{$comment->url('moderate')->setQueryString( 'action', 'hide' )->csrf()}'>{lang="hide"}</a></li>
						{{elseif $comment->hidden() and $comment->canUnhide()}}
							<li class='ipsMenu_item'><a href='{$comment->url('moderate')->setQueryString( 'action', 'unhide' )->csrf()}'>{lang="unhide"}</a></li>
						{{endif}}
					{{endif}}
					{{if $comment->canDelete()}}
						<li class='ipsMenu_item'><a data-confirm href='{$comment->url('moderate')->setQueryString( 'action', 'delete' )->csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li>
					{{endif}}
				</ul>
			</li>
		{{endif}}
		{{if $comment->canReportOrRevoke() === TRUE}}
			<li><a href='{$comment->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="report"}"{{endif}} data-action='reportComment' title='{lang="report_content"}' class='ipsFaded ipsFaded_more'>{lang="status_report"}</a></li>
		{{endif}}
	</ul>
</div>]]></template>
 <template template_group="statuses" template_name="statusReplyContainer" template_data="$status, $comment" template_location="front" template_app="core"><![CDATA[{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if $comment->isIgnored()}}
	<li class='ipsComment ipsComment_ignored ipsPad_half ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
		{lang="status_ignoring" sprintf="$comment->author()->name"}
	</li>
{{endif}}	
<li class="ipsComment ipsAreaBackground_light ipsClearfix{{if $comment->hidden() OR $status->hidden() == -2}} ipsModerated{{endif}} {{if $comment->isIgnored()}}ipsHide{{endif}}" data-commentid="{$comment->id}">
	{template="userPhoto" app="core" group="global" params="$comment->author(), 'tiny'"}
	{template="statusReply" group="statuses" app="core" params="$status, $comment"}
</li>]]></template>
 <template template_group="statuses" template_name="statusReplyContentRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $reply}}
	{{$item = $reply->item();}}
	<li data-controller='core.front.statuses.status' class='ipsStreamItem ipsStreamItem_contentBlock {{if $item->hidden()}} ipsModerated{{endif}} ipsAreaBackground_reset ipsPad' data-timestamp='{$item->date}' data-role='activityItem' data-statusid="{$item->id}">
		<a id='status-{$item->id}'></a>
		<div class='ipsStreamItem_container'>
			<div class='ipsStreamItem_header ipsPhotoPanel ipsPhotoPanel_mini'>
				<span class='ipsStreamItem_contentType' data-ipsTooltip title='{lang="status_update"}'><i class='fa fa-user'></i></span>
				{template="userPhoto" group="global" app="core" params="$item->author(), 'mini'"}
				<div>
					<h2 class='ipsType_reset ipsStreamItem_title ipsType_break'>
						<strong>{template="userLink" app="core" group="global" location="front" params="$item->author()"}</strong>{{if $item->member_id != $item->author()->member_id}} &nbsp;<i class='fa fa-angle-right'></i>&nbsp; <strong>{member="link()" id="$item->member_id" raw="true"}</strong>{{endif}}
						{{if $item->hidden()}}
							<span class="ipsBadge ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span>
						{{endif}}
					</h2>
				</div>
			</div>
			<div class='ipsStreamItem_snippet'>
				<div class='ipsType_richText ipsType_normal ipsContained'>{$item->content|raw}</div>
			</div>
			<ul class='ipsList_inline ipsStreamItem_meta ipsFaded_withHover'>
				<li class='ipsType_medium'>{{if $item->locked()}}<i class='fa fa-lock'></i>{{endif}} <a href='{$item->url()}' class='ipsType_blendLinks'><span class='ipsType_light'>{datetime="$item->date"}</span></a></li>
				{{if \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Reactable' ) and settings.reputation_enabled and ( $item->reactionCount() or $item->canReact() )}}
					<li class='ipsType_light ipsType_medium'>{template="reputationMini" group="global" app="core" params="$item"}</li>
				{{endif}}
				{{if $item->canDelete() || $item->canLock() || $item->canUnlock() || $item->canHide() || $item->canUnhide()}}
					<li>
						<a href='#elStatus_{$item->id}_menu' data-ipsMenu data-ipsMenu-activeClass='ipsFaded_cancel' id='elStatus_{$item->id}' class='ipsFaded ipsFaded_more'>{lang="options"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsMenu ipsMenu_narrow ipsHide' id='elStatus_{$item->id}_menu'>
							{{if !$item->locked() and $item->canLock()}}
								<li class='ipsMenu_item'><a href="{$item->url('moderate')->setQueryString( 'action', 'lock' )->csrf()}">{lang="lock"}</a></li>
							{{elseif $item->locked() and $item->canUnlock()}}
								<li class='ipsMenu_item'><a href="{$item->url('moderate')->setQueryString( 'action', 'unlock' )->csrf()}">{lang="unlock"}</a></li>
							{{endif}}
							{{if !$item->hidden() and $item->canHide()}}
								<li class='ipsMenu_item'><a href='{$item->url('moderate')->setQueryString( 'action', 'hide' )->csrf()}'>{lang="hide"}</a></li>
							{{elseif $item->hidden() and $item->canUnhide()}}
								<li class='ipsMenu_item'><a href='{$item->url('moderate')->setQueryString( 'action', 'unhide' )->csrf()}'>{lang="unhide"}</a></li>
							{{endif}}
							{{if $item->canDelete()}}
								<li class='ipsMenu_item'><a data-confirm href="{$item->url('moderate')->setQueryString( 'action', 'delete' )->csrf()}">{lang="delete"}</a></li>
							{{endif}}
						</ul>
					</li>
				{{endif}}
				{{if $item->canReportOrRevoke() === TRUE}}
					<li><a href='{$item->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="report"}"{{endif}} data-action='reportStatus' title='{lang="report_content"}' class='ipsFaded ipsFaded_more'>{lang="status_report"}</a></li>
				{{endif}}	
			</ul>

			{{if !$item->hidden() && ( \count( $item->comments() ) ||  \IPS\core\Statuses\Status::canCreate( \IPS\Member::loggedIn() ) ) }}
				<div class='ipsComment_feed ipsComment_subComments ipsType_medium'>
					<ol class="ipsList_reset" data-role='statusComments' data-currentPage='{expression="\IPS\Request::i()->page ? \intval( \IPS\Request::i()->page ) : 1"}'>
						{template="statusReplyContainer" group="statuses" params="$item, $reply"}
						{{if ( $item->mapped('num_comments') - 1 ) > 0}}
							<li class='ipsComment ipsAreaBackground_light ipsPad_half ipsType_light'>
								<p class='ipsType_reset ipsType_medium ipsComment_content'><a href='{$item->url()}'>{lang="status_see_x_other_replies" pluralize="( $item->mapped('num_comments') - 1 )"}</a></p>
							</li>
						{{endif}}
					</ol>
				</div>
			{{endif}}	
		</div>
	</li>

{{endforeach}}]]></template>
 <template template_group="statuses" template_name="statusRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[<div data-role='commentFeed' class='{{if \IPS\Request::i()->do == 'content'}}cStatusUpdates ipsPad{{endif}}'>
	<ol class='ipsType_normal ipsList_reset'>
		{{foreach $rows as $status}}
			{template="statusContainer" app="core" group="statuses" params="$status"}
		{{endforeach}}
	</ol>
</div>]]></template>
 <template template_group="streams" template_name="extraItem" template_data="$time, $image, $html, $view = 'expanded'" template_location="front" template_app="core"><![CDATA[<li class='ipsStreamItem ipsStreamItem_{$view} ipsStreamItem_actionBlock' data-role="activityItem" data-timestamp='{$time->getTimestamp()}'>
	<div class='ipsStreamItem_container'>
		<div class='ipsStreamItem_action ipsType_blendLinks ipsType_light ipsType_break ipsFlex ipsFlex-ai:center'>
			{{if isset( $image )}}
				<div class='ipsFlex-flex:00 ipsMargin_right:half'>
					{$image|raw}
				</div>
			{{endif}}
			<div class='ipsFlex-flex:11'>
				<span class='ipsMargin_right'>{$html|raw}</span> <span class='ipsType_light'>{datetime="$time"}</span>
			</div>
		</div>
	</div>
</li>
]]></template>
 <template template_group="streams" template_name="filterCreateForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<div data-controller='core.front.streams.form' data-formType='createStream'>
	<form accept-charset='utf-8' class="ipsForm ipsForm_vertical" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
			<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
		{{endif}}
		<div class='ipsBox ipsResponsive_pull ipsSpacer_bottom' id='elStreamFilterForm'>
			<div class='ipsPadding'>
				<h2 class='ipsType_sectionHead'>{lang="create_new_stream"}</h2>
				<ul class='ipsList_inline ipsPos_right ipsResponsive_noFloat'>
					<li>
						<a href='#elStreamSortEdit_menu' class='ipsButton ipsButton_light ipsButton_verySmall' id='elStreamSortEdit' data-ipsMenu data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm' data-ipsMenu-closeOnClick='false'>{lang="stream_sorting"} <i class='fa fa-caret-down'></i></a>
					</li>
				</ul>

				<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' id='elStreamSortEdit_menu'>
					<li class='ipsMenu_item {{if $elements['']['stream_sort']->value == 'newest'}}ipsMenu_itemChecked{{endif}}'>
						<a href='#'>
							<input type="radio" name="stream_sort" value="newest" {{if (string) $elements['']['stream_sort']->value == 'newest'}}checked{{endif}} id="elRadio_stream_sort_newest">
							{lang="stream_sort_newest"}
						</a>
					</li>
					<li class='ipsMenu_item {{if $elements['']['stream_sort']->value == 'oldest'}}ipsMenu_itemChecked{{endif}}'>
						<a href='#'>
							<input type="radio" name="stream_sort" value="oldest" {{if (string) $elements['']['stream_sort']->value == 'oldest'}}checked{{endif}} id="elRadio_stream_sort_oldest">
							{lang="stream_sort_oldest"}
						</a>
					</li>
				</ul>
				<hr class='ipsHr'>
				{{if isset( $elements['']['stream_title'] )}}
					<div class="ipsSpacer_bottom ipsAreaBackground_light ipsPad">
						<input type='text' name='stream_title' value='{$elements['']['stream_title']->value}' class='ipsField_primary ipsField_fullWidth' placeholder='{lang="stream_title"}' autofocus>
						{{if $elements['']['stream_title']->error}}
							<br>
							<span class="ipsType_warning">{lang="$elements['']['stream_title']->error"}</span>
						{{endif}}
					</div>
				{{endif}}
				{template="filterForm" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form"}
			</div>
			<div class='ipsPadding ipsBorder_top'>
				<ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsMargin:none">
					<li class='ipsToolList_primaryAction ipsPos_right'><button type='submit' class='ipsButton ipsButton_primary ipsButton_medium ipsButton_fullWidth' data-action='createStream'>{lang="stream_button_save"}</button></li>
				</ul>
			</div>
		</div>
	</form>
</div>]]></template>
 <template template_group="streams" template_name="filterForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<div class='ipsGrid ipsGrid_collapsePhone'>
	<div class='ipsGrid_span4'>
		<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_include_comments"}</h3>
		<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false'>
			{{foreach $elements['']['stream_include_comments']->options['options'] as $k => $v}}
				<li>
					{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_include_comments', $elements['']['stream_include_comments']->value, $elements['']['stream_include_comments']->required, $elements['']['stream_include_comments']->options['options'], $elements['']['stream_include_comments']->options['disabled']"}
				</li>
			{{endforeach}}
		</ul>
		<hr class='ipsHr ipsSpacer_both ipsSpacer_double ipsResponsive_hidePhone'>
		<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
		{template="filterFormShowMe" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form"}
	</div>
	<div class='ipsGrid_span8'>
		{{if isset( $elements['']['stream_tags'] )}}
			{template="filterFormTags" group="streams" app="core" params="$elements['']['stream_tags']"}
			<hr class='ipsHr ipsSpacer_bottom ipsSpacer_double ipsResponsive_hidePhone'>
			<hr class='ipsHr ipsSpacer_bottom ipsResponsive_showPhone ipsResponsive_block'>
		{{endif}}
		<div class='ipsGrid ipsGrid_collapsePhone'>
			<div class='ipsGrid_span6'>
				<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_read"}</h3>
				<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='read'>
					{{foreach $elements['']['stream_read']->options['options'] as $k => $v}}
						<li>
							{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_read', $elements['']['stream_read']->value, $elements['']['stream_read']->required, $elements['']['stream_read']->options['options'], $elements['']['stream_read']->options['disabled']"}
						</li>
					{{endforeach}}
				</ul>
                <hr class='ipsHr ipsSpacer_both ipsSpacer_double ipsResponsive_hidePhone'>
                <hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
                <h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_solved"}</h3>
                <ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='read'>
                    {{foreach $elements['']['stream_solved']->options['options'] as $k => $v}}
                    <li>
                        {template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_solved', $elements['']['stream_solved']->value, $elements['']['stream_solved']->required, $elements['']['stream_solved']->options['options'], $elements['']['stream_solved']->options['disabled']"}
                    </li>
                    {{endforeach}}
                </ul>
				<hr class='ipsHr ipsSpacer_both ipsSpacer_double ipsResponsive_hidePhone'>
				<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
				<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_ownership"}</h3>
				{{if isset( $elements['']['stream_ownership'] )}}
				<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='ownership'>
					{{foreach $elements['']['stream_ownership']->options['options'] as $k => $v}}
					<li>
						{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_ownership', $elements['']['stream_ownership']->value, $elements['']['stream_ownership']->required, $elements['']['stream_ownership']->options['options'], $elements['']['stream_ownership']->options['disabled']"}
					</li>
					{{endforeach}}
					{template="filterFormOwnership" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form"}
				</ul>
				{{endif}}
				<hr class='ipsHr ipsSpacer_both ipsSpacer_double ipsResponsive_hidePhone'>
				<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
				<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_default_view"}</h3>
				{{if isset( $elements['']['stream_default_view'] )}}
				<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' role="radiogroup" data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='defaultview'>
					{{foreach $elements['']['stream_default_view']->options['options'] as $k => $v}}
					<li>
						{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_default_view', $elements['']['stream_default_view']->value, $elements['']['stream_default_view']->required, $elements['']['stream_default_view']->options['options'], $elements['']['stream_default_view']->options['disabled']"}
					</li>
					{{endforeach}}
				</ul>
				{{endif}}
				<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
			</div>
			<div class='ipsGrid_span6'>
				{{if isset( $elements['']['stream_follow'] )}}
					<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_follow"}</h3>
					<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='follow'>
						{{foreach $elements['']['stream_follow']->options['options'] as $k => $v}}
							<li>
								{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_follow', $elements['']['stream_follow']->value, $elements['']['stream_follow']->required, $elements['']['stream_follow']->options['options'], $elements['']['stream_follow']->options['disabled'], ( $k == 'followed' )"}
								{{if $k == 'followed'}}
									<a class='ipsType_noUnderline cStreamForm_menu' data-ipsTooltip title='' id='elMenu_followOptions' data-ipsMenu data-ipsMenu-activeClass='cStreamForm_menuActive' data-ipsMenu-closeOnClick='false' data-ipsMenu-appendTo='#elStreamFilterForm'>
										<i class='fa fa-cog ipsType_large'></i>
										<i class='fa fa-caret-down'></i>
									</a>
								{{endif}}
							</li>
						{{endforeach}}
					</ul>
					{template="filterFormFollowStatus" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form"}
				{{endif}}
				<hr class='ipsHr ipsSpacer_both ipsSpacer_double ipsResponsive_hidePhone'>
				<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
				<h3 class='ipsType_reset ipsType_large cStreamForm_title'>{lang="stream_date_type"}</h3>
				{{if isset( $elements['']['stream_date_type'] )}}
					<ul class='ipsSideMenu_list ipsSideMenu_withRadios cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='radio' data-ipsSideMenu-responsive='false' data-filterType='date'>
						{{foreach $elements['']['stream_date_type']->options['options'] as $k => $v}}
							<li>
								{template="filterFormRadio" group="streams" app="core" params="$k, $v, 'stream_date_type', $elements['']['stream_date_type']->value, $elements['']['stream_date_type']->required, $elements['']['stream_date_type']->options['options'], $elements['']['stream_date_type']->options['disabled']"}
							</li>
						{{endforeach}}
						{template="filterFormTimePeriod" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form"}
					</ul>
				{{endif}}
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="streams" template_name="filterFormClubs" template_data="$field" template_location="front" template_app="core"><![CDATA[<div>
	{{if $field}}
		<div class='ipsFieldRow ipsFieldRow_fullWidth'>
			<div class='ipsFieldRow_content'>
				<ul class='ipsList_inline'>{$field|raw}</ul>
			</div>
		</div>
	{{endif}}
</div>
]]></template>
 <template template_group="streams" template_name="filterFormContentType" template_data="$elements, $key, $type, $checked=FALSE" template_location="front" template_app="core"><![CDATA[{{if \in_array( $type, array_keys( $elements['']['stream_classes']->options['toggles'] ) )}}
	<div class='ipsMenu ipsMenu_wide ipsPad ipsHide' data-role="streamContainer" data-contentKey="{$key}" data-className="{$type}" id='elMenu_{$key}_menu'>
	</div>
{{endif}}]]></template>
 <template template_group="streams" template_name="filterFormContentTypeContent" template_data="$field, $type, $key" template_location="front" template_app="core"><![CDATA[<div data-contentType='{$key}'>
	{{if $field}}
		<div class='ipsFieldRow ipsFieldRow_fullWidth'>
			<div class='ipsFieldRow_content'>
				<ul class='ipsList_inline'>{$field|raw}</ul>
			</div>
		</div>
	{{endif}}
</div>
]]></template>
 <template template_group="streams" template_name="filterFormFollowStatus" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $showTitle=TRUE" template_location="front" template_app="core"><![CDATA[{{if isset( $elements['']['stream_follow'] )}}
	<div id='elMenu_followOptions_menu' class='ipsMenu ipsMenu_wide ipsPad ipsHide'>
		<ul class='ipsSideMenu_list ipsSideMenu_withChecks cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='check' data-ipsSideMenu-responsive='false' data-filterType='followed'>
		{{foreach $elements['']['stream_followed_types']->options['options'] as $type => $lang}}
			<li>
				<a href='#' class='ipsSideMenu_item {{if $elements['']['stream_followed_types']->value !== 0 && \in_array( $type, $elements['']['stream_followed_types']->value ) !== FALSE}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$type}'>
					<input type='checkbox' name='stream_followed_types[{$type}]' value='1' {{if $elements['']['stream_followed_types']->value !== 0 && \in_array( $type, $elements['']['stream_followed_types']->value ) !== FALSE}}checked{{endif}}> 
					{lang="$lang"}
				</a>
			</li>
		{{endforeach}}
		</ul>
	</div>
{{endif}}
			]]></template>
 <template template_group="streams" template_name="filterFormOwnership" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $showTitle=TRUE" template_location="front" template_app="core"><![CDATA[{{if isset( $elements['']['stream_ownership'] )}}
	{{if isset( $elements['']['stream_custom_members'] )}}
		<li class='ipsPad ipsSpacer_top ipsSpacer_half cStreamForm_authors {{if $elements['']['stream_ownership']->value !== 'custom'}}ipsHide{{endif}}' data-role="ownershipMemberForm">
			<h4 class='ipsType_minorHeading'>{lang="stream_custom_members"}</h4>
			{$elements['']['stream_custom_members']->html()|raw}
		</li>
	{{endif}}
{{endif}}
				]]></template>
 <template template_group="streams" template_name="filterFormRadio" template_data="$k, $v, $name, $value, $required, $options, $disabled=FALSE, $hasOptions=FALSE" template_location="front" template_app="core"><![CDATA[
<a href='#' class='ipsSideMenu_item {{if $hasOptions}}cStream_withOptions{{endif}} {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='{$k}'>
	<input type="radio" name="{$name}" value="{$k}" {{if (string) $value == (string) $k or ( isset( $userSuppliedInput ) and !\in_array( $value, array_keys( $options ) ) and $k == $userSuppliedInput )}}checked{{endif}} {{if $disabled === TRUE or ( \is_array( $disabled ) and \in_array( $k, $disabled ) )}}disabled{{endif}} id="elRadio_{$name}_{$k}">
	<label for='elRadio_{$name}_{$k}' id='elField_{$name}_label'>{lang="$v"}</label>
</a>]]></template>
 <template template_group="streams" template_name="filterFormShowMe" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $showTitle=TRUE" template_location="front" template_app="core"><![CDATA[
<h3 class='ipsType_reset ipsType_large cStreamForm_title ipsSpacer_top'>{lang="stream_classes_type"}</h3>
<ul class='ipsSideMenu_list ipsSideMenu_withChecks cStreamForm_list ipsType_normal ipsSpacer_top ipsSpacer_half' data-ipsSideMenu data-ipsSideMenu-type='check' data-ipsSideMenu-responsive='false' data-filterType='type'>
	<li>
		<a href='#' class='ipsSideMenu_item {{if $elements['']['stream_classes_type']->value == 0}}ipsSideMenu_itemActive{{endif}}' data-ipsMenuValue='__all'>
			<input type="hidden" name="stream_classes[__EMPTY]" value="__EMPTY">
			{lang="stream_all_content"}
		</a>
		{{if member.canAccessModule( \IPS\Application\Module::get( 'core', 'clubs' ) ) and isset( $elements['']['stream_club_select'] )}}			
			<a href='#' class='ipsType_noUnderline cStreamForm_menu' data-ipsTooltip title='{lang="stream_filter_clubs"}' data-role='streamClubs'>
				<i class='fa fa-cog ipsType_large'></i>
				<i class='fa fa-caret-down'></i>
			</a>
			<div class='cStreamForm_nodes ipsHide' id="elStreamClubs">
				<span class='ipsType_light'>{lang="loading"}</span>
			</div>
			<input type="hidden" name="stream_club_select" value="{$elements['']['stream_club_select']->value}">
			<input type="hidden" name="stream_club_filter" value="{{if \is_array( $elements['']['stream_club_filter']->value )}}{expression="implode(',',$elements['']['stream_club_filter']->value)"}{{else}}{$elements['']['stream_club_filter']->value}{{endif}}">
		{{endif}}
		<input type='radio' class='ipsHide' name='stream_classes_type' value='0' {{if $elements['']['stream_classes_type']->value == 0}}checked{{endif}}>
		<input type='radio' class='ipsHide' name='stream_classes_type' value='1' {{if $elements['']['stream_classes_type']->value == 1}}checked{{endif}}>
	</li>
	{{if isset( $elements['']['stream_classes'] )}}
		{{foreach $elements['']['stream_classes']->options['options'] as $type => $lang}}
			<li>
				<a class='ipsSideMenu_item {{if isset( $elements['']['stream_containers_' . str_replace('_pl', '', $lang ) ] ) || isset( $elements['']['stream_classes_' . str_replace('_pl', '', $lang ) ] )}}cStream_withOptions{{endif}} {{if $elements['']['stream_classes_type']->value !== 0 && \in_array( $type, $elements['']['stream_classes']->value ) !== FALSE}}ipsSideMenu_itemActive{{endif}}' data-class='{$type}' data-ipsMenuValue='{expression="str_replace( '_pl', '', $lang )"}'>
					<input type='checkbox' name='stream_classes[{$type}]' value='1' {{if $elements['']['stream_classes_type']->value !== 0 && \in_array( $type, $elements['']['stream_classes']->value ) !== FALSE}}checked{{endif}}> 
					<span class='ipsSideMenu_noCheck'>{lang="$lang"}</span>
				</a>
				{{if \in_array( $type, array_keys( $elements['']['stream_classes']->options['toggles'] ) )}}
					<a href='#' class='ipsType_noUnderline cStreamForm_menu' data-ipsTooltip title='{lang="stream_filter_options" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $lang )"}' data-role='streamContainer' data-class='{$type}' data-contentKey='{expression="str_replace( '_pl', '', $lang )"}'>
						<i class='fa fa-cog ipsType_large'></i>
						<i class='fa fa-caret-down'></i>
					</a>
				{{endif}}
				<div class='cStreamForm_nodes ipsHide'>
					<span class='ipsType_light'>{lang="loading"}</span>
				</div>
			</li>
		{{endforeach}}
	{{endif}}
	{{if ! isset( \IPS\Request::i()->do ) or \IPS\Request::i()->do != 'create' }}
	<li>
		<p class='ipsCenter'><button data-action='applyFilters' title="{lang="stream_apply_tip"}" type='button' class='ipsButton ipsButton_light ipsButton_fullWidth ipsButton_small ipsButton_disabled'>{lang="stream_apply"}</button></p>
	</li>
	{{endif}}
</ul>
<hr class='ipsHr ipsSpacer_both ipsResponsive_showPhone ipsResponsive_block'>
{{foreach $elements['']['stream_classes']->options['options'] as $type => $lang}}
	{template="filterFormContentType" group="streams" app="core" params="$elements, str_replace('_pl', '', $lang ), $type, ( $elements['']['stream_classes_type']->value !== 0 && $elements['']['stream_classes']->value == $type ), $elements"}
{{endforeach}}
<div class='ipsMenu ipsMenu_wide ipsPad ipsHide' data-role="streamContainer" data-contentKey="clubs" data-className="clubs" id='elMenu_clubFilter_menu'>
</div>]]></template>
 <template template_group="streams" template_name="filterFormTags" template_data="$tags" template_location="front" template_app="core"><![CDATA[
<input type="hidden" name="stream_tags_type" value="custom">
<h3 class='ipsType_reset ipsType_large cStreamForm_title ipsSpacer_bottom ipsSpacer_half'>{lang="stream_tags"}</h3>
<div class='ipsFieldRow_fullWidth'>
	{$tags->html()|raw}
	<p class='ipsType_reset ipsType_small ipsType_light ipsPadding_top:half'>{lang="tags_desc"}</p>
</div>]]></template>
 <template template_group="streams" template_name="filterFormTimePeriod" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $showTitle=TRUE" template_location="front" template_app="core"><![CDATA[{{if isset( $elements['']['stream_date_relative_days'] )}}
	<li class='ipsPad ipsSpacer_top ipsSpacer_half cStreamForm_dates {{if $elements['']['stream_date_type']->value !== 'relative'}}ipsHide{{endif}}' data-role="dateRelativeForm">
		<h4 class='ipsType_minorHeading'>{lang="stream_date_relative_days_prefix"}</h4>
		{$elements['']['stream_date_relative_days']->html()|raw}
		{{if $elements['']['stream_date_relative_days']->error}}
			<br>
			<span class="ipsType_warning ipsType_small">{lang="$elements['']['stream_date_relative_days']->error"}</span>
		{{endif}}
	</li>
{{endif}}
{{if isset( $elements['']['stream_date_range'] )}}
	<li class='ipsPad ipsSpacer_top ipsSpacer_half cStreamForm_dates {{if $elements['']['stream_date_type']->value !== 'custom'}}ipsHide{{endif}}' data-role="dateForm">
		<div class="ipsGrid ipsGrid_collapsePhone">
			<div class='ipsGrid_span6'>
				<h4 class='ipsType_minorHeading'>{lang="start"}</h4>
				{$elements['']['stream_date_range']->start->html()|raw}	
			</div>
			<div class='ipsGrid_span6'>
				<h4 class='ipsType_minorHeading'>{lang="end"}</h4>
				{$elements['']['stream_date_range']->end->html()|raw}	
			</div>
		</div>
		{{if $elements['']['stream_date_range']->error}}
			<span class="ipsType_warning ipsType_small">{lang="$elements['']['stream_date_range']->error"}</span>
		{{endif}}
	</li>
{{endif}}
]]></template>
 <template template_group="streams" template_name="filterInlineForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<div data-controller='core.front.streams.form'>
	<form accept-charset='utf-8' class="ipsForm ipsForm_vertical" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm id='elFilterForm'>
		<input type="hidden" name="{$id}_submitted" value="1">
		{{foreach $hiddenValues as $k => $v}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endforeach}}
		{{if $uploadField}}
			<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
			<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
		{{endif}}
		<div class='' id='elStreamFilterForm'>
			<ul class='cStreamFilter ipsClearfix ipsList_reset ipsJS_show' data-role="filterBar">
				<li data-filter='stream_include_comments'>
					<a href='#elStreamShowMe_menu' id='elStreamShowMe' data-ipsMenu data-ipsMenu-stopLinks data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm'>
						<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_include_comments"}</h3>
						<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
					</a>
				</li>
				<li data-filter='stream_classes'>
					<a href='#elStreamContentTypes_menu' id='elStreamContentTypes' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm' data-ipsMenu-closeOnClick='false'>
						<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_classes_type"}</h3>
						<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
					</a>
				</li>
				{{if \IPS\Member::loggedIn()->member_id}}
					{{if isset( $elements['']['stream_read'] )}}
					<li data-filter='stream_read'>
						<a href='#elStreamReadStatus_menu' id='elStreamReadStatus' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm'>
							<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_read"}</h3>
							<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
						</a>
					</li>
					{{endif}}
                    {{if isset( $elements['']['stream_solved'] )}}
                    <li data-filter='stream_solved'>
                        <a href='#elStreamSolvedStatus_menu' id='elStreamSolvedStatus' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm'>
                            <h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_solved"}</h3>
                            <p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
                        </a>
                    </li>
                    {{endif}}
					{{if isset( $elements['']['stream_ownership'] )}}
					<li data-filter='stream_ownership'>
						<a href='#elStreamOwnership_menu' id='elStreamOwnership' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm' data-ipsMenu-closeOnClick='false'>
							<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_ownership"}</h3>
							<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
						</a>
					</li>
					{{endif}}
					{{if isset( $elements['']['stream_follow'] )}}
					<li data-filter='stream_follow'>
						<a href='#elStreamFollowStatus_menu' id='elStreamFollowStatus' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='checkbox' data-ipsMenu-appendTo='#elStreamFilterForm' data-ipsMenu-closeOnClick='false'>
							<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_follow"}</h3>
							<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
						</a>
					</li>
					{{endif}}
				{{endif}}
				{{if isset( $elements['']['stream_date_type'] )}}
				<li data-filter='stream_date_type'>
					<a href='#elStreamTimePeriod_menu' id='elStreamTimePeriod' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm' data-ipsMenu-closeOnClick='false'>
						<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_date_type"}</h3>
						<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
					</a>
				</li>
				{{endif}}
				<li data-filter='stream_sort'>
					<a href='#elStreamSortEdit_menu' id='elStreamSortEdit' data-ipsMenu data-ipsMenu-activeClass='cStreamFilter_active' data-ipsMenu-selectable='radio' data-ipsMenu-appendTo='#elStreamFilterForm'>
						<h3 class='ipsType_reset ipsTruncate ipsTruncate_line'>{lang="stream_sorting"}</h3>
						<p class='cStreamFilter_blurb ipsType_reset ipsTruncate ipsTruncate_line' data-role='filterOverview'></p>
					</a>
				</li>
			</ul>
			{{if \IPS\Member::loggedIn()->member_id }}
				<ul data-role="saveButtonContainer" class='ipsList_inline ipsHide ipsType_right ipsType_small ipsPad_half ipsAreaBackground_light'>
					<li><strong>{lang="stream_save_changes"}</strong></li>
					<li><a href='#' class='ipsButton ipsButton_link ipsButton_verySmall' data-action='dismissSave'>{lang="stream_save_dismiss"}</a></li>
					<li>
						<button type='button' class='ipsButton ipsButton_link ipsButton_verySmall'  data-ipsMenu data-ipsMenu-closeOnClick='false' data-ipsMenu-appendTo='#elFilterForm' data-action='saveNewStream' id='elSaveNewStream'>{lang="stream_button_save_as_new"}</button>
					</li>
					{{if isset( $hiddenValues['__stream_owner'] ) and $hiddenValues['__stream_owner'] === \IPS\Member::loggedIn()->member_id}}
						<li>
							<button type='button' class='ipsButton ipsButton_primary ipsButton_verySmall' data-action='saveStream' id='elSaveStream'>{lang="stream_button_save"}</button>
						</li>
					{{endif}}
				</ul>
			{{endif}}

			<a href='#' class='ipsResponsive_showPhone ipsResponsive_block ipsJS_show ipsButton ipsButton_link ipsButton_fullWidth' data-action="toggleFilters"></a>

			<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' id='elStreamSortEdit_menu'>
				<li class='ipsMenu_item {{if $elements['']['stream_sort']->value == 'newest'}}ipsMenu_itemChecked{{endif}}'>
					<a href='#'>
						<input type="radio" name="stream_sort" value="newest" {{if (string) $elements['']['stream_sort']->value == 'newest'}}checked{{endif}} id="elRadio_stream_sort_newest">
						{lang="stream_sort_newest"}
					</a>
				</li>
				<li class='ipsMenu_item {{if $elements['']['stream_sort']->value == 'oldest'}}ipsMenu_itemChecked{{endif}}'>
					<a href='#'>
						<input type="radio" name="stream_sort" value="oldest" {{if (string) $elements['']['stream_sort']->value == 'oldest'}}checked{{endif}} id="elRadio_stream_sort_oldest">
						{lang="stream_sort_oldest"}
					</a>
				</li>
			</ul>

			<!-- Show me menu -->
			<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamShowMe_menu'>
				{{foreach $elements['']['stream_include_comments']->options['options'] as $k => $v}}
					<li class='ipsMenu_item {{if $elements['']['stream_include_comments']->value == $k}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue="{$k}">
						<a href='#'>
							<input type="radio" name="stream_include_comments" value="{$k}" {{if (string) $elements['']['stream_include_comments']->value == $k}}checked{{endif}} id="stream_ownership_{$k}">
							{lang="$v"}
						</a>
					</li>
				{{endforeach}}
				{{if isset( $elements['']['stream_tags'] )}}
				<!-- Tags menu -->
				<li><hr class='ipsHr'></li>
				<li class='ipsPad ipsPadding_top:half'>
					<input type="hidden" name="stream_tags_type" value="custom">
					<h3 class='ipsType_reset ipsTruncate ipsTruncate_line ipsPadding_bottom'>{lang="stream_tagged_with"}</h3>
					<div class='ipsFieldRow_fullWidth'>
						{$elements['']['stream_tags']->html()|raw}
						<p class='ipsType_reset ipsType_small ipsType_light'>{lang="tags_desc"}</p>
					</div>
				</li>
				{{endif}}
			</ul>

			<!-- Content types menu -->
			<div class='ipsMenu ipsMenu_selectable ipsMenu_wide ipsPad ipsHide' data-role="streamMenuFilter" id='elStreamContentTypes_menu'>
				{template="filterFormShowMe" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form, FALSE"}
			</div>

			{{if \IPS\Member::loggedIn()->member_id}}
				<!-- Read Status menu -->
				<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamReadStatus_menu'>
					{{foreach $elements['']['stream_read']->options['options'] as $k => $v}}
						<li class='ipsMenu_item {{if $elements['']['stream_read']->value == $k}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue="{$k}">
							<a href='#'>
								<input type="radio" name="stream_read" value="{$k}" {{if (string) $elements['']['stream_read']->value == $k}}checked{{endif}} id="elRadio_stream_read_{$k}">
								{lang="$v"}
								{{if $k == 'unread'}}
									<p class="ipsType_reset ipsType_small ipsType_light">
										{lang="stream_read_unread_desc"}
									</p>
								{{endif}}
							</a>
						</li>
					{{endforeach}}
				</ul>
				<!-- Ownership menu -->
				<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamOwnership_menu'>
					{{foreach $elements['']['stream_ownership']->options['options'] as $k => $v}}
						<li class='ipsMenu_item {{if $elements['']['stream_ownership']->value == $k}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue="{$k}">
							<a href='#'>
								<input type="radio" name="stream_ownership" value="{$k}" {{if (string) $elements['']['stream_ownership']->value == $k}}checked{{endif}} id="stream_ownership_{$k}">
								{lang="$v"}
							</a>
						</li>
					{{endforeach}}
					{template="filterFormOwnership" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form, FALSE"}
				</ul>
				<!-- Follow status menu -->
				<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamFollowStatus_menu'>
					<input type='hidden' name='stream_follow' value='{$elements['']['stream_follow']->value}'>

					{{foreach $elements['']['stream_followed_types']->options['options'] as $type => $lang}}
						<li class='ipsMenu_item {{if $elements['']['stream_followed_types']->value !== 0 && \in_array( $type, $elements['']['stream_followed_types']->value ) !== FALSE && (string) $elements['']['stream_follow']->value !== 'all'}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$type}'>
							<a href='#'>
								<input type='checkbox' name='stream_followed_types[{$type}]' value='1' {{if $elements['']['stream_followed_types']->value !== 0 && \in_array( $type, $elements['']['stream_followed_types']->value ) !== FALSE && (string) $elements['']['stream_follow']->value !== 'all'}}checked{{endif}}>
								{lang="$lang"}
							</a>
						</li>
					{{endforeach}}
				</ul>
			{{endif}}
            <!-- Solved Status menu -->
            <ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamSolvedStatus_menu'>
                {{foreach $elements['']['stream_solved']->options['options'] as $k => $v}}
                <li class='ipsMenu_item {{if $elements['']['stream_solved']->value == $k}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue="{$k}">
                <a href='#'>
                    <input type="radio" name="stream_solved" value="{$k}" {{if (string) $elements['']['stream_solved']->value == $k}}checked{{endif}} id="elRadio_stream_solved_{$k}">
                    {lang="$v"}
                </a>
                </li>
                {{endforeach}}
            </ul>
			<!-- Time Period menu -->
			<ul class='ipsMenu ipsMenu_selectable ipsMenu_auto ipsHide' data-role="streamMenuFilter" id='elStreamTimePeriod_menu'>
				{{foreach $elements['']['stream_date_type']->options['options'] as $k => $v}}
					<li class='ipsMenu_item {{if $elements['']['stream_date_type']->value == $k}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue="{$k}">
						<a href='#'>
							<input type="radio" name="stream_date_type" value="{$k}" {{if (string) $elements['']['stream_date_type']->value == $k}}checked{{endif}} id="stream_date_type_{$k}">
							{lang="$v"}
						</a>
					</li>
				{{endforeach}}
				{template="filterFormTimePeriod" group="streams" params="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class, $attributes, $sidebar, $form, FALSE"}
			</ul>
		</div>
		<div id='elSaveNewStream_menu' class='ipsMenu ipsMenu_wide ipsHide ipsPad'>
			<ul class='ipsForm ipsForm_horizontal'>
				<li class='ipsFieldRow'>
					<input type='text' name='stream_title' value='{{if isset( $elements['']['stream_title'] )}}{$elements['']['stream_title']->value}{{endif}}' placeholder='{lang="stream_title"}' class='ipsField_fullWidth ipsField_primary' {{if !empty($elements['']['stream_title']->options['maxLength'])}}maxLength="{$elements['']['stream_title']->options['maxLength']}"{{endif}}>
				</li>
				<li class='ipsFieldRow'>
					<button type='submit' data-action='newStream' class='ipsButton ipsButton_primary ipsButton_medium ipsButton_fullWidth'>{lang="stream_new_stream"}</button>
				</li>
			</ul>
		</div>
	</form>
</div>]]></template>
 <template template_group="streams" template_name="stream" template_data="$stream, $results, $autoUpdate, $showTimeline=FALSE, $sort='date', $view='expanded'" template_location="front" template_app="core"><![CDATA[<div data-role='streamResults' data-controller='core.front.streams.results' data-streamReadType="{$stream->read}" {{if !$autoUpdate}}data-view='{$view}'{{endif}} {{if $autoUpdate && settings.auto_polling_enabled}}data-autoPoll{{endif}} data-streamUrl="{$stream->url()}" {{if isset( \IPS\Request::i()->id )}}data-streamID='{expression="\IPS\Request::i()->id"}'{{endif}}>
	<div class='ipsBox_alt'>
		<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:end sm:ipsMargin_bottom:half'>
			<p id='elStreamUpdateMsg' class='ipsMargin_right {{if !( $autoUpdate && settings.auto_polling_enabled )}}ipsHide{{endif}} ipsType_light ipsType_small ipsType_reset ipsJS_show ipsResponsive_hidePhone' data-role='updateMessage'><i class='fa fa-refresh'></i> {lang="stream_auto_updates"}</p>
			<ul class="ipsButton_split ipsClearfix">
				<li>
					<a href="{$stream->baseUrl->setQueryString( 'view', 'condensed')->csrf()}" data-action='switchView' data-view='condensed' data-ipsTooltip title="{lang="stream_condensed"}" class="ipsButton ipsButton_verySmall {{if $view == 'condensed'}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}}" rel="nofollow"><i class="fa fa-list"></i> &nbsp;{lang="stream_results_as_condensed"}</a>
				</li>
				<li>
					<a href="{$stream->baseUrl->setQueryString( 'view', 'expanded')->csrf()}" data-action='switchView' data-view='expanded' data-ipsTooltip title="{lang="stream_expanded"}" class="ipsButton ipsButton_verySmall {{if $view == 'expanded'}}ipsButton_primary{{else}}ipsButton_veryLight{{endif}}" rel="nofollow"><i class="fa fa-bars"></i>  &nbsp;{lang="stream_results_as_expanded"}</a>
				</li>
			</ul>
		</div>
		<ol class='ipsStream {{if $showTimeline !== FALSE && \count( $results )}}ipsStream_withTimeline{{endif}} ipsList_reset' data-role='streamContent'>
			{template="streamItems" group="streams" app="core" params="$results, $showTimeline, $sort, $view"}
		</ol>
		<ol class="ipsList_reset">
			<li class='ipsType_center ipsJS_show {{if !\count( $results )}}ipsHide{{endif}}' data-role="loadMoreContainer">
				<a href='#' class='ipsButton ipsButton_veryLight ipsButton_small' data-action='loadMore'>{lang="load_more_activity"}</a>
			</li>
		</ol>
	</div>
</div>]]></template>
 <template template_group="streams" template_name="streamItems" template_data="$results, $showTimeSeparators=FALSE, $sort='date', $view='expanded'" template_location="front" template_app="core"><![CDATA[{{$currentSeparator = NULL;}}
{{if \count( $results )}}
	{{foreach $results as $result}}
		{{if $result !== NULL}}
			{{if $showTimeSeparators}}
				{{if $currentSeparator != 'earlier'}}
					{{$separator = $result->streamSeparator( $sort == 'date' );}}
					{{if $currentSeparator != $separator}}
						<li class='ipsStreamItem_time' data-timeType='{$separator}'>{lang="$separator"}</li>
						{{$currentSeparator = $separator;}}
					{{endif}}
				{{endif}}
			{{endif}}
			{$result->html( $view, $sort != 'date', TRUE )|raw}
		{{endif}}
	{{endforeach}}
{{else}}
	{{if ! ( \IPS\Request::i()->isAjax() and isset( \IPS\Request::i()->before ) )}}
	<li class='ipsBox_alt ipsType_center ipsPad' data-role="streamNoResultsMessage">
		<p class='ipsType_reset ipsType_light ipsType_normal'>
			{lang="stream_no_results"}
		</p>
	</li>
	{{endif}}
{{endif}}]]></template>
 <template template_group="streams" template_name="streamWrapper" template_data="$stream, $html, $form, $rssLink=NULL, $canCopy=FALSE" template_location="front" template_app="core"><![CDATA[<section data-controller='core.front.streams.main, core.front.core.ignoredComments' data-streamID='{{if isset( \IPS\Request::i()->id )}}{expression="\IPS\Request::i()->id"}{{else}}all{{endif}}'>	

	{{if \IPS\Content\Search\Query::isRebuildRunning()}}
	<div class="ipsMessage ipsMessage_info">{lang="stream_rebuild_is_running"}</div>
	{{endif}}
	<div class="ipsPageHeader ipsBox ipsResponsive_pull ipsClearfix ipsMargin_bottom md:ipsMargin_bottom:half">
		<div class='ipsPadding_top ipsPadding_horizontal'>
			<div class='ipsFlex sm:ipsFlex-fd:column ipsFlex-jc:between ipsFlex-ai:start ipsFlex-fw:wrap ipsGap:3 ipsPadding_bottom'>
				<div class='ipsFlex-flex:11 sm:ipsMargin_bottom:half'>
					<h1 class='ipsType_pageTitle'>
						<span data-role='streamTitle'>{$stream->_title}</span>
					</h1>
					{{if $form}}
						<p class='ipsType_reset ipsType_normal' data-role='streamOverview'>
							<span data-role='streamBlurb'>{$stream->blurb()}</span>
						</p>
					{{endif}}
				</div>

				{{if $rssLink || ( $stream->member && $stream->member == \IPS\Member::loggedIn()->member_id ) || \IPS\Member::loggedIn()->member_id}}
					<ul class="ipsList_reset sm:ipsFlex-as:stretch ipsFlex-flex:01 ipsFlex sm:ipsFlex-fd:column-reverse sm:ipsFlex-ai:stretch ipsFlex-ai:center ipsFlex-jc:center ipsGap:3 ipsType_blendLinks">
						{{if $stream->member && $stream->member == \IPS\Member::loggedIn()->member_id}}
							<li>
								<a href='{$stream->url()}' title='{lang="stream_share_desc"}' data-ipsMenu data-ipsTooltip id='elStreamShare' class='ipsButton ipsButton_link ipsButton_verySmall ipsButton_fullWidth'><i class='fa fa-share-alt'></i> {lang="stream_share"}</a>
								<div class='ipsMenu ipsMenu_wide ipsPad ipsHide' id='elStreamShare_menu'>
									<h2 class='ipsType_sectionHead'>{lang="share_stream_title"}</h2>
									<hr class='ipsHr'>
									<p class='ipsType_medium'>
										{lang="share_stream_info"}
									</p>
									<input type='text' value='{$stream->url()}' class='ipsField_fullWidth'>
								</div>
							</li>
						{{endif}}
						{{if \IPS\Member::loggedIn()->member_id}}
							{{if $stream->canSubscribe()}}
							<a href="{$stream->url()->setQueryString('do','subscribe')}" class='ipsButton ipsButton_link ipsButton_verySmall' data-action='subscribe' data-ipsDialog data-ipsDialog-flashMessage='subscribed' data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="stream_subscribe_s" sprintf="$stream->_title"}' data-ipsToolTip title='{lang="stream_subscribe_desc"}'>
								<i class='fa fa-envelope fa-fw'></i> &nbsp;{lang='stream_subscribe'}
							</a>
							{{elseif $stream->canUnsubscribe()}}
							<a href="{$stream->url()->setQueryString('do','unsubscribe')->csrf()}" class='ipsButton ipsButton_link ipsButton_verySmall' data-confirm data-confirmMessage="{lang="confirm_stream_unsubscribe"}" data-confirmSubMessage="{lang="stream_unsubscribe_confirm"}">
								<i class='fa fa-envelope fa-fw'></i> &nbsp;{lang='stream_unsubscribe'}
							</a>
							{{endif}}
							<li>
								<a href='#' class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_fullWidth' id='elStreamOptions' data-ipsMenu data-ipsMenu-appendTo='[data-streamID="{{if isset( \IPS\Request::i()->id )}}{expression="\IPS\Request::i()->id"}{{else}}all{{endif}}"]'>{lang="stream_options"} <i class='fa fa-caret-down'></i></a>
							</li>
						{{endif}}
					</ul>
					{{if \IPS\Member::loggedIn()->member_id}}
						<ul class='ipsMenu ipsMenu_auto ipsHide' id='elStreamOptions_menu'>
							<li class='ipsMenu_item {{if \IPS\Member::loggedIn()->defaultStream === $stream->_id}}ipsHide{{endif}}'>
								<a data-action="toggleStreamDefault" data-change="1" href="{$stream->url()->csrf()->setQueryString('default', 1)}" >{lang="stream_this_isnt_default"}</a>
							</li>
							<li class='ipsMenu_item {{if \IPS\Member::loggedIn()->defaultStream !== $stream->_id}}ipsHide{{endif}}'>
								<a data-action="toggleStreamDefault" data-change="0" href="{$stream->url()->csrf()->setQueryString('default', 0)}">{lang="stream_this_is_default"}</a>
							</li>
							{{if $stream->member AND $stream->member === \IPS\Member::loggedIn()->member_id}}
								<li class='ipsMenu_item'>
									<a href='{$stream->url()->setQueryString( 'do', 'edit' )->csrf()}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="stream_edit_title"}' data-action='editStream'>{lang="stream_edit_title"}</a>
								</li>
								<li class='ipsMenu_item'>
									<a href='{$stream->url()->setQueryString( 'do', 'delete' )->csrf()}' data-action='removeStream'>{lang="stream_remove"}</a>
								</li>
							{{endif}}
							{{if $rssLink}}
								<li class='ipsMenu_sep'><hr></li>
								<li class='ipsMenu_item'><a href="{$rssLink}"><i class="fa fa-rss fa-fw"></i> &nbsp;{lang="stream_rss"}</a></li>
							{{endif}}
						</ul>
					{{endif}}
				{{endif}}
			</div>

			{{if $canCopy}}
				{{$owner = \IPS\Member::load( $stream->member );}}
				<div class='ipsAreaBackground ipsPad ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
					{template="userPhoto" group="global" app="core" params="$owner, 'mini'"}
					<div>
						<a href='{$stream->url()->setQueryString('do', 'copy')->csrf()}' class='ipsButton ipsButton_primary ipsButton_large ipsPos_right ipsResponsive_noFloat'><i class='fa fa-plus'></i> &nbsp;{lang="stream_copy_feed"}</i></a>
						<p class='ipsType_reset ipsType_normal'>
							<strong>{lang="stream_copy_title" sprintf="$owner->name"}</strong><br>
							{lang="stream_copy_desc"}
						</p>
					</div>
				</div>
			{{endif}}
		</div>
		{{if $form}}
			{$form|raw}
		{{endif}}
	</div>
	<div data-role='streamBody'>
		{$html|raw}
	</div>

	{{if $rssLink || ( $stream->member && $stream->member == \IPS\Member::loggedIn()->member_id )}}
		<ul class="ipsList_inline ipsType_blendLinks ipsSpacer_both ipsType_center ipsResponsive_showPhone ipsResponsive_block">
			{{if $rssLink}}	
				<li><a href="{$rssLink}"><i class="fa fa-rss"></i> {lang="rss"}</a></li>
			{{endif}}
			{{if $stream->member && $stream->member == \IPS\Member::loggedIn()->member_id}}
				<li>
					<a href='{$stream->url()}' title='{lang="stream_share_desc"}' data-ipsMenu data-ipsTooltip id='elStreamShare'><i class='fa fa-share-alt'></i> {lang="stream_share"}</a>
					<div class='ipsMenu ipsMenu_wide ipsPad ipsHide' id='elStreamShare_menu'>
						<h2 class='ipsType_sectionHead'>{lang="share_stream_title"}</h2>
						<hr class='ipsHr'>
						<p class='ipsType_medium'>
							{lang="share_stream_info"}
						</p>
						<input type='text' value='{$stream->url()}' class='ipsField_fullWidth'>
					</div>
				</li>
			{{endif}}
		</ul>
	{{endif}}
</section>]]></template>
 <template template_group="streams" template_name="unsubscribeStream" template_data="$title, $member, $form, $choice = FALSE" template_location="front" template_app="core"><![CDATA[<div class='ipsBox ipsPad'>
    <p class='ipsType_reset ipsType_center ipsType_huge'>
        <i class='fa fa-envelope'></i>
    </p>

    <h1 class='ipsType_veryLarge ipsType_center'>{$title}</h1>

    <div class='ipsType_large ipsType_center ipsType_richText'>
        {{if $choice == 'single'}}
        <div class="ipsMessage ipsMessage_info">{lang="stream_guest_unfollowed_thing" sprintf="$title"}</div>
        {{elseif $choice == 'all'}}
        <div class="ipsMessage ipsMessage_info">{lang="stream_guest_unfollowed_all"}</div>
        {{endif}}
    </div>
    <div class='ipsPadding'>
        {$form|raw}
    </div>
</div>
<p class='ipsType_center'>
    <a href='{url="/"}' class='ipsButton ipsButton_link ipsButton_small'>{lang='go_community_home'}</a>
</p>


]]></template>
 <template template_group="support" template_name="admin" template_data="$name, $email, $password" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPad'>
	<p>
		{lang="username"}: {$name}<br>
		{lang="email"}: {$email}<br>
		{lang="password"}: {$password}
	</p>
	<p class='ipsMessage ipsMessage_warning'>
		{lang="copy_admin_info"}
	</p>
</div>]]></template>
 <template template_group="support" template_name="contact" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[
<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-itemID='{expression="\IPS\Request::i()->id"}' data-controller='core.admin.support.contact'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		{{if \is_array($v)}}
			{{foreach $v as $_k => $_v}}
				<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
			{{endforeach}}
		{{else}}
			<input type="hidden" name="{$k}" value="{$v}">
		{{endif}}
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	
	<div class='ipsPad'>
		<ul class='ipsForm ipsForm_vertical'>
			{{foreach $elements as $collection}}
				{{foreach $collection as $inputName => $input}}
					{{if \is_object( $input ) }}
						{$input->rowHtml($form)|raw}
					{{else}}
						{$input|raw}
					{{endif}}
				{{endforeach}}
			{{endforeach}}
		</ul>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		{expression="implode( '', $actionButtons)" raw="true"}
	</div>
</form>]]></template>
 <template template_group="support" template_name="dashboard" template_data="$blocks, $chart, $guidesForm, $featuredGuides=array(), $bulletins=array(),$hookCount=0" template_location="admin" template_app="core"><![CDATA[<div class='ipsColumns ipsColumns_collapsePhone' data-controller='core.admin.support.dashboard'>
	<div class='ipsColumn ipsColumn_fluid ipsPadding_right sm:ipsPadding_right:none'>
		
		
		<div class='ipsBox ipsBox_shadowed ipsClearfix'>
			<p class='ipsPadding'>{lang="health_intro"}</p>
		</div>
		<br>
		<div class='ipsBox ipsBox_shadowed ipsHide ipsClearfix' data-role="summary">
			<div class='ipsPos_right ipsPadding:half'>
				<button class='ipsButton ipsButton_light ipsButton_small' data-role="checkAgain">{lang="health_check_again_button"}</button>
			</div>
			<h2 class='ipsBox_titleBar ipsPadding' data-role="summaryText"></h2>
		</div>

		<div data-role="tableRows" data-ipsPatchwork data-ipsPatchwork-maxColSize='500' class='ipsClear'>
			<div data-role='patchworkList'>
				<div class='ipsGrid'>
					{{foreach $blocks as $key => $block}}
						<div class='ipsGrid_span4 ipsBox ipsBox_shadowed ipsMargin_vertical' data-role='patchworkItem' data-blockid='{$key}'>
							<div class='elBlockTitle ipsPadding ipsFlex ipsFlex-ai:center ipsFlex-jc:between ipsBorder_bottom'>
								<div>
									<h2 class='ipsBox_titleBar ipsPadding:none'>
										{$block['title']}
									</h2>
									{{if !empty( $block['details'] )}}
										<p class='ipsType_reset ipsType_small ipsType_break'>
											{$block['details']}
										</p>
									{{endif}}
								</div>
								<div>
									<span class='ipsType_warning ipsHide' data-iconType="critical"><i class="fa fa-exclamation-triangle"></i></span>
									<span class='ipsType_issue ipsHide' data-iconType="recommended"><i class="fa fa-info-circle"></i></span>
								</div>
							</div>
							<div class='ipsLoading' data-role="supportBlock"></div>
						</div>
					{{endforeach}}
				</div>
			</div>
		</div>

		<div class='ipsBox ipsBox_shadowed ipsMargin_vertical'>
			<h2 class='ipsBox_titleBar ipsPadding_bottom:none'>
				{lang="health__known_issues"}
			</h2>
			<div class='ipsPadding ipsPadding_top:none'>
				<div class='ipsType_medium ipsMargin_top:none'>
					{{if \count( $bulletins )}}
						{{foreach $bulletins as $bulletin}}
							<div class="ipsMessage ipsMessage_{$bulletin['style']}">
								<h3 class='ipsMessage_title'>{$bulletin['title']}</h3>
								{$bulletin['body']|raw}
							</div>
						{{endforeach}}
					{{else}}
						{lang="health__no_known_issues"}
					{{endif}}
				</div>
			</div>
		</div>

		<div class='ipsBox ipsBox_shadowed ipsMargin_vertical ipsPadding'>
			<div class='ipsFlex ipsFlex-jc:between ipsFlex-fw:wrap ipsMargin_bottom'>
				<div>
					<h2 class='ipsBox_titleBar ipsPadding:none'>
						{lang="health__system_log_chart"}
					</h2>
					<p class='ipsType_medium ipsMargin_top:none'>
						{lang="health_system_log_intro"}
					</p>
				</div>
				<div class='ipsFlex ipsFlex-fw:wrap ipsFlex-ai:center ipsGap:1'>
					<a class='ipsButton ipsButton_light ipsButton_verySmall' href='{url="app=core&module=support&controller=systemLogs"}'>{lang="health_system_log_title"}</a>
					<a class='ipsButton ipsButton_light ipsButton_verySmall' href='{url="app=core&module=support&controller=errorLogs"}'>{lang="health_error_log_title"}</a>
					<a class='ipsButton ipsButton_light ipsButton_verySmall' href='{url="app=core&module=settings&controller=email&do=errorLog"}'>{lang="health_email_error_log_title"}</a>
				</div>
			</div>	
			
			<div class='ipsPadding_top:none elHealthChart'>
				{$chart|raw}
			</div>
		</div>
	</div>

	<div class='ipsColumn ipsColumn_veryWide ipsPadding_left md:ipsPadding_left:none'>
		<div class='ipsBox ipsBox_shadowed'>
			<h2 class='ipsBox_titleBar ipsPadding_bottom:none'>
				{lang="health__tools_title"}
			</h2>
			<div class='ipsPadding ipsPadding_top:none'>
				<p class='ipsType_medium ipsMargin_top:none'>
					{lang="health_tools_intro"}
				</p>

				<a href="{url="app=core&module=support&controller=support&do=clearCaches" csrf="true"}" class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth ipsMargin_bottom:half' data-role="clearCaches">{lang="health_clear_caches_button"}</a>
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" data-ipsDialog class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth ipsMargin_bottom:half' >{lang="health_customizations_overview"}</a>
				<a href="{url="app=core&module=support&controller=hookedFiles"}" data-ipsDialog data-ipsDialog-size="fullscreen" data-ipsDialog-title="{lang="health__more_information"}" class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth ipsMargin_bottom:half">{lang="health__thirdparty_hooks" pluralize="$hookCount"}</a>

				{{if !\IPS\CIC}}
					<div class='ipsGrid'>
						<div class='ipsGrid_span12'>
							<a href='{url="app=core&module=support&controller=phpinfo"}' target='_blank' class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth'>{lang="health_phpinfo"}</a>
						</div>
					</div>
				{{endif}}
			</div>
		</div>

		<div class='ipsBox ipsBox_shadowed ipsMargin_vertical'>
			<h2 class='ipsBox_titleBar ipsPadding_bottom:none'>
				<a href='{url="client_area" ips="true"}' class='ipsPos_right ipsType_medium' target='_blank' rel='noopener'>{lang="health__client_area_link"}</a>
				{lang="health__support_title"}
			</h2>
			<div class='ipsPadding ipsPadding_top:none'>
				<p class='ipsType_medium ipsMargin_top:none'>
					{lang="health_support_intro1"}
				</p>
				<p class='ipsType_medium'>
					{lang="health_support_intro2"}
				</p>
				{{if \IPS\Login\Handler::findMethod( 'IPS\Login\Handler\Standard' )}}
					<p class='ipsType_medium'>
						{lang="health_support_intro3"}
					</p>
				{{endif}}
				<div class='ipsButton ipsButton_disabled ipsButton_alternate ipsButton_fullWidth ipsMargin_top' data-ipsDialog>{lang="health__support_button"}</div>
			</div>
		</div>
		<div id='thirdPartyDialog'></div>
	</div>
</div>]]></template>
 <template template_group="support" template_name="finishUtf8Mb4Conversion" template_data="" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	{lang="utf8mb4_converter_conf_intro"}
	<ol>
		<li>{lang="utf8mb4_converter_conf_1" sprintf="\IPS\ROOT_PATH"}</li>
		<li>
			{lang="utf8mb4_converter_conf_2"}
			<pre class="ipsCode">'sql_utf8mb4' => false,</pre>
			{lang="utf8mb4_converter_conf_2b"}
			<pre class="ipsCode">\$INFO['sql_utf8mb4'] = false;</pre>
		</li>
		<li>{lang="utf8mb4_converter_conf_3"}</li>
	</ol>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a class="ipsButton ipsButton_primary" href="{url="app=core&module=support&controller=utf8mb4"}">{lang="utf8mb4_converter_finish"}</a>
</div>]]></template>
 <template template_group="support" template_name="fixConnection" template_data="$error" template_location="admin" template_app="core"><![CDATA[{lang="support_connection_fail"}
<pre>{$error}</pre>
]]></template>
 <template template_group="support" template_name="fixDatabase" template_data="$queries, $errors, $version" template_location="admin" template_app="core"><![CDATA[<div class="ipsPadding:double ipsType_large">
	{{if $errors === NULL}}
		{lang="database_changes_to_make"}
	{{else}}
		<div class="ipsMessage ipsMessage_warning">{lang="database_changes_to_make_errors"}</div>
	{{endif}}
	{{foreach $queries as $i => $query}}
		<pre class="prettyprint lang-sql cSupportQuery">{$query}</pre>
		{{if $errors !== NULL and isset( $errors[ $i ] )}}
			<span class='ipsType_warning'>{$errors[ $i ]}</span>
		{{endif}}
	{{endforeach}}
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	{{if $errors === NULL}}
		<form action="{url="app=core&module=support&controller=support&do=getBlock&block=mysql&fix=1&run=1&_upgradeVersion={$version}" csrf="true"}" method="post" style="display:inline">
			<input type="submit" class="ipsButton ipsButton_intermediate" value="{lang="database_changes_run"}">
		</form>
	{{endif}}
	<form action="{url="app=core&module=support&controller=support&do=getBlock&block=mysql&fix=1&_upgradeVersion={$version}" csrf="true"}" method="post" style="display:inline">
		<input type="submit" name="run" class="ipsButton ipsButton_alternate" value="{lang="support_check_again"}">
	</form>
</div>]]></template>
 <template template_group="support" template_name="fixMd5" template_data="$modifiedFiles, $form" template_location="admin" template_app="core"><![CDATA[<div data-controller="core.admin.support.md5">
	<div class="{{if $form->error}}ipsHide{{endif}}" data-role="initialScreen">
		<div class='ipsPadding:double ipsType_large'>
			{lang="md5_fail_help_1"}
			<ul>
				{{foreach $modifiedFiles as $file}}
					<li>{$file}</li>
				{{endforeach}}
			</ul>
			{lang="md5_fail_help_2"}
		</div>
		<div class="ipsAreaBackground_light ipsClearfix ipsPadding ipsType_center">
			<div class="ipsJS_show">
				<a href="#" class="ipsButton ipsButton_important" data-action="downloadDelta"><i class="fa fa-cloud-download"></i> {lang="md5_fail_download"}</a>
				<a href="{url="client_area" ips="true"}" target="_blank" rel="noopener" class="ipsButton ipsButton_alternate">{lang="delta_upgrade_download_full"}</a>
			</div>
			<div class="ipsJS_hide">
				<a href="{url="client_area" ips="true"}" class="ipsButton ipsButton_important" target="_blank" rel="noopener">{lang="delta_upgrade_go_to_clientarea"}</a>
			</div>
		</div>
	</div>
	<div data-role="downloadForm" {{if !$form->error}}class="ipsHide"{{endif}}>
		{$form|raw}
	</div>
</div>]]></template>
 <template template_group="support" template_name="fixMd5Download" template_data="$downloadUrl" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	{lang="md5_fail_download_1"}
	<div class="ipsType_center ipsSpacer_bottom">
		<a href="{$downloadUrl}" class="ipsButton ipsButton_important ipsButton_large"><i class="fa fa-cloud-download"></i> {lang="md5_fail_download"}</a>
	</div>
	{lang="md5_fail_download_2"}
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=support&controller=support"}" class="ipsButton ipsButton_alternate">{lang="support_check_again"}</a>
</div>
]]></template>
 <template template_group="support" template_name="fixRepeatLogs" template_data="$logs" template_location="admin" template_app="core"><![CDATA[{lang="health__logs_repeats_info"}
<ul class='ipsDataList ipsDataList_reducedSpacing ipsMargin_top'>
	<li class='ipsDataItem ipsAreaBackground'>
		<div class="ipsDataItem_generic ipsDataItem_main ipsPadding:half">{lang="health__repeat_logs_message"}</div>
		<div class='ipsDataItem_stats ipsPadding:half'>{lang="health__repeat_logs_count"}</div>
	</li>
	{{foreach $logs as $message => $count}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_generic ipsDataItem_main ipsPadding:half">{$message}</div>
			<div class='ipsDataItem_stats ipsPadding:half'>{$count}</div>
		</li>
	{{endforeach}}
</ul>]]></template>
 <template template_group="support" template_name="guideSearchForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="admin" template_app="core"><![CDATA[
<form accept-charset='utf-8' method="post" action="{$action}" id='elCoppaForm' class='ipsType_center' data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Text}}
				<div class="acpSearch">
					<i class="fa fa-search"></i>
					{$input->html()|raw}
				</div>
			{{endif}}
		{{endforeach}}
	{{endforeach}}
	&nbsp;&nbsp;<button type='submit' class='ipsButton ipsButton_large ipsButton_primary ipsHide'>{lang="continue"}</button>
</form>]]></template>
 <template template_group="support" template_name="healthcheck" template_data="$requirements" template_location="admin" template_app="core"><![CDATA[{{foreach $requirements['requirements'] as $k => $_requirements}}
	<div class="ipsSpacer_bottom">
		<h2 class="ipsType_sectionHead">{lang="requirements_header" sprintf="$k"}</h2>
		<ul class="ipsDataList ipsSpacer_top">
			{{foreach $_requirements as $item}}
				<li class="ipsDataItem">
					<span class="ipsDataItem_generic {{if $item['success']}}ipsType_success{{else}}ipsType_warning{{endif}}">
						<i class="fa {{if $item['success']}}fa-check{{else}}fa-times{{endif}}"></i>
						{$item['message']}
					</span>
				</li>
			{{endforeach}}
		</ul>
	</div>
{{endforeach}}
{{if isset( $requirements['advice'] ) and \count( $requirements['advice'] )}}
	<div class="ipsSpacer_bottom">
		<h2 class="ipsType_sectionHead">{lang="advice"}</h2>
		<ul class="ipsDataList ipsSpacer_top">
			{{foreach $requirements['advice'] as $item}}
				<li class="ipsDataItem">
					<span class="ipsDataItem_generic">
						<i class="fa fa-info-circle"></i>
						{$item}
					</span>
				</li>
			{{endforeach}}
		</ul>
	</div>
{{endif}}
]]></template>
 <template template_group="support" template_name="hookedClasses" template_data="$table" template_location="admin" template_app="core"><![CDATA[<div class='ipsPadding'>
	{$table|raw}
</div>]]></template>
 <template template_group="support" template_name="message" template_data="$message, $type" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPad'>
	{template="message" group="global" app="core" params="$message, $type"}
</div>
]]></template>
 <template template_group="support" template_name="methodIssues" template_data="$table" template_location="admin" template_app="core"><![CDATA[
<div class="ipsPadding:half">
    <div class="ipsMessage ipsMessage_warning">{lang="advise_removal_of_php8_incompatible_code"}</div>
    <div class="acpOverflow_scroll_x" >
        {$table|raw}
    </div>
</div>]]></template>
 <template template_group="support" template_name="patchAvailable" template_data="$updates" template_location="admin" template_app="core"><![CDATA[{lang="upgrade_check_patches"}
<div class="ipsSpacer_top ipsSpacer_half">
	<ul>
		{{foreach $updates as $issue}}
			<li>{$issue}</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="support" template_name="queryFormTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class} ipsSpacer_bottom" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div class="ipsGrid">
		<div class="ipsGrid_span10">
			{{foreach $elements as $collection}}
				{{foreach $collection as $input}}
					{$input->html()|raw}
				{{endforeach}}
			{{endforeach}}
		</div>
		<div class="ipsGrid_span2">
			<button type="submit" class="ipsButton ipsButton_primary ipsButton_veryLarge ipsButton_fullWidth">{lang="run_query"}</button>
		</div>
	</div>
</form>]]></template>
 <template template_group="support" template_name="recovery" template_data="$apps, $plugins, $theme" template_location="admin" template_app="core"><![CDATA[
<div class="ipsAreaBackground_light ipsPad">
	{{if \count( $apps )}}
		<p class='ipsType_normal'>{lang="recovery_apps_disabled"}</p>
		<ul>
		{{foreach $apps as $app}}
			<li>{$app->_title}</li>
		{{endforeach}}
		</ul>
	{{endif}}
	{{if \count( $plugins )}}
		<p class='ipsType_normal'>{lang="recovery_plugins_disabled"}</p>
		<ul>
		{{foreach $plugins as $plugin}}
			<li>{$plugin->_title}</li>
		{{endforeach}}
		</ul>
	{{endif}}
	{{if $theme}}
		<p class='ipsType_normal'>{lang="recovery_theme_restored"}</p>
	{{endif}}
	<p>{lang="recovery_end_blurb"}</p>
	<pre>define( 'RECOVERY_MODE', TRUE );</pre>
</div>]]></template>
 <template template_group="support" template_name="redis" template_data="$info, $table" template_location="admin" template_app="core"><![CDATA[
<div class='ipsPadding:double ipsType_large'>
	{{if isset( $info['used_memory_human'] ) AND ( isset( $info['total_system_memory'] ) OR isset( $info['maxmemory'] ) )}}
		{{$percentage = ( $info['used_memory'] > 0 ) ? ceil( 100 / ( $info['maxmemory'] ?: $info['total_system_memory'] ) * $info['used_memory'] ) : 0;}}
		<div data-ipsSticky data-ipsSticky-spacing='60' class="ipsPad_half ipsType_center">
			<strong>{lang="redis_space_used_bar"}</strong><br>
			<div class="ipsProgressBar">
				<div class="ipsProgressBar_progress" style="width:{$percentage}%" data-role="percentageBar"><span data-role="percentage">{$percentage}</span>% (<span data-role="number">{$info['used_memory_human']}</span>/{{if $info['maxmemory']}}{$info['maxmemory_human']}{{else}}{$info['total_system_memory_human']}{{endif}})</div>
			</div>
		</div>
	{{endif}}
	<br>
	{$table|raw}
</div>]]></template>
 <template template_group="support" template_name="redisEnabledBadge" template_data="$status" template_location="admin" template_app="core"><![CDATA[
{{if $status === TRUE}}
<span class='ipsBadge ipsBadge_positive'>
	{lang="enabled"}
</span>
{{else}}
<span class='ipsBadge ipsBadge_negative'>
	{lang="disabled"}
</span>
{{endif}}
]]></template>
 <template template_group="support" template_name="supportBlockList" template_data="$listItems" template_location="admin" template_app="core"><![CDATA[<ul class="ipsList_reset">
	{{if \count( $listItems )}}
		{{$count = 1;}}
		{{foreach $listItems as $idx => $listItem}}
			<li class='{{if $count < \count( $listItems )}}ipsBorder_bottom{{endif}}'>
				{{$count++;}}
				{{if !empty( $listItem['link'] )}}
					<a href="{$listItem['link']}" {{if !isset( $listItem['skipDialog'] )}}data-ipsDialog data-ipsDialog-title="{{if !empty( $listItem['dialogTitle'] )}}{lang="$listItem['dialogTitle']"}{{else}}{lang="self_service"}{{endif}}"{{endif}} class="ipsPadding_vertical:half ipsPadding_horizontal ipsFlex ipsFlex-ai:center {{if $listItem['critical']}}ipsType_negative ipsType_bold{{elseif $listItem['advice']}}ipsType_issue{{else}}ipsType_neutral{{endif}}" {{if isset($listItem['dialogSize'])}}data-ipsDialog-size="{$listItem['dialogSize']}"{{endif}}>
				{{elseif !empty( $listItem['element'] )}}
					<a href="#{$listItem['element']}" data-ipsDialog data-ipsDialog-content='#{$listItem['element']}' data-ipsDialog-title="{{if !empty( $listItem['dialogTitle'] )}}{lang="$listItem['dialogTitle']"}{{else}}{lang="self_service"}{{endif}}" class="ipsPadding_vertical:half ipsPadding_horizontal ipsFlex ipsFlex-ai:center {{if $listItem['critical']}}ipsType_negative ipsType_bold{{elseif $listItem['advice']}}ipsType_issue{{else}}ipsType_neutral{{endif}}">
				{{else}}
					<div class='ipsPadding_vertical:half ipsPadding_horizontal ipsFlex ipsFlex-ai:center ipsType_neutral'>
				{{endif}}

					{{if $listItem['critical']}}
						<i class="fa fa-exclamation-triangle ipsMargin_right:half"></i>
					{{elseif $listItem['advice']}}
						<i class="fa fa-info-circle ipsMargin_right:half"></i>
					{{elseif $listItem['success']}}
						<i class="fa fa-check ipsMargin_right:half"></i>
					{{else}}
						<i class="fa fa-info-circle ipsMargin_right:half"></i>
					{{endif}}
					
					<p class='ipsType_reset ipsFlex-flex:11 ipsType_break'>{$listItem['detail']}</p>
				
				{{if !empty( $listItem['learnmore'] )}}
				<button class="ipsButton ipsButton_light ipsButton_small">{lang="health_learn_more"}</button>
                    </a>
				{{elseif !empty( $listItem['link'] ) OR !empty( $listItem['element'] )}}
				<button class="ipsButton ipsButton_light ipsButton_small">{lang="health_fix_this"}</button>
					</a>
				{{else}}
					</div>
				{{endif}}

				{{if !empty( $listItem['element'] )}}
					<div id="{$listItem['element']}" class='ipsHide'>
						<div class='ipsPadding:double ipsType_large'>
							{$listItem['body']|raw}
						</div>
						{{if empty( $listItem['learnmore'] )}}
						<div class="ipsAreaBackground_light ipsClearfix ipsPadding ipsType_center">
							{{if !empty( $listItem['button'] )}}
								<a href="{$listItem['button']['href']}" class="ipsButton {$listItem['button']['css']}">{lang="$listItem['button']['lang']"}</a>
							{{endif}}	
							<a href="{url="app=core&module=support&controller=support"}" class="ipsButton ipsButton_alternate">{lang="support_check_again"}</a>
						</div>
						{{endif}}
					</div>
				{{endif}}
			</li>
		{{endforeach}}
	{{else}}
		<li>
			<div class="ipsPadding_vertical:half ipsPadding_horizontal ipsFlex ipsFlex-ai:center ipsType_neutral">
				<i class="fa fa-check ipsMargin_right:half"></i>
				<p class='ipsType_reset ipsFlex-flex:11'>{lang="health_no_issues"}</p>
			</div>
		</li>
	{{endif}}
</ul>]]></template>
 <template template_group="support" template_name="supportPatchWrapper" template_data="$updates" template_location="admin" template_app="core"><![CDATA[<a href='#supportPatchAvailable' data-ipsDialog data-ipsDialog-content='#supportPatchAvailable' data-ipsDialog-title='{lang="self_service"}'>{lang="health__patch_before_proceed"}</a>

<div class='ipsHide' id='supportPatchAvailable'>
	<div class='ipsPadding:double ipsType_large'>
		{template="patchAvailable" app="core" location="admin" group="support" params="$updates"}
	</div>
	<div class='ipsAreaBackground_light ipsClearfix ipsPadding ipsType_center'>
		<a href='{url="app=core&module=system&controller=upgrade&_new=1&patch=1"}' class="ipsButton ipsButton_veryLight">{lang="upgrade_apply_patch"}</a>
	</div>
</div>]]></template>
 <template template_group="support" template_name="table" template_data="$result, $pagination" template_location="admin" template_app="core"><![CDATA[<br><br>
<div class="ipsOverflow">
	{{if $pagination}}
		{$pagination|raw}
		<br><br>
	{{endif}}
	<table class="ipsTable ipsTable_zebra" >
		{{$headers = FALSE;}}
		{{while ($row = $result->fetch_assoc() ):}}
			{{if !$headers}}
			<tr>
				{{foreach $row as $k => $v}}
					<th>{$k}</th>
				{{endforeach}}
			</tr>
			{{$headers = TRUE; endif;}}
			<tr>
				{{foreach $row as $v}}
					<td>
						<div data-ipsTruncate data-ipsTruncate-size="2 lines">
							{$v}
						</div>
					</td>
				{{endforeach}}
			</tr>
		{{endwhile;}}
	</table>
	{{if $pagination}}
		<br><br>
		{$pagination|raw}
	{{endif}}
</div>]]></template>
 <template template_group="support" template_name="thirdPartyDisabled" template_data="$disabledApps, $disabledPlugins, $restoredDefaultTheme, $restoredEditor, $disabledAds" template_location="admin" template_app="core"><![CDATA[<p>{lang="support_third_party_instruction"}</p>
<ul class="ipsDataList ipsSpacer_top" data-role="disabledInformation">
	{{if \count( $disabledApps )}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div>
			<div class="ipsDataItem_generic ipsType_warning">
				<div data-role="disabledMessage">{lang="support_third_party_apps" pluralize="\count( $disabledApps )"}</div>
				<div data-role="enabledMessage" class='ipsHide'>{lang="support_third_party_apps_reenabled" pluralize="\count( $disabledApps )"}</div>
				{{$disabledApps = implode( ',', array_keys( $disabledApps ) );}}
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half" data-action="enableThirdPartyPart" data-type="apps">{lang="support_third_party_apps_enable"}</a>
				<a href="{url="app=core&module=applications&controller=applications"}" target="_blank" rel="noopener" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="support_third_party_apps_link"}</a>
			</div>
		</li>
	{{else}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
			<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_apps"}</div>
		</li>
	{{endif}}
	{{if \count( $disabledPlugins )}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div>
			<div class="ipsDataItem_generic ipsType_warning">
				<div data-role="disabledMessage">{lang="support_third_party_plugins" pluralize="\count( $disabledPlugins )"}</div>
				<div data-role="enabledMessage" class='ipsHide'>{lang="support_third_party_plugins_reenabled" pluralize="\count( $disabledPlugins )"}</div>
				{{$diabledPlugins = implode( ',', array_keys( $disabledPlugins ) );}}
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half" data-action="enableThirdPartyPart" data-type="plugins">{lang="support_third_party_plugins_enable"}</a>
				<a href="{url="app=core&module=applications&controller=plugins"}" target="_blank" rel="noopener" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="support_third_party_plugins_link"}</a>
			</div>
		</li>
	{{else}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
			<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_plugins"}</div>
		</li>
	{{endif}}
	{{if $restoredDefaultTheme}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div>
			<div class="ipsDataItem_generic ipsType_warning">
				<div data-role="disabledMessage">
					{lang="support_third_party_theme"}
					<p>{lang="support_third_party_theme_desc"}</p>
				</div>
				<div data-role="enabledMessage" class="ipsHide">{lang="support_third_party_theme_reenabled"}</div>
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half" data-action="enableThirdPartyPart" data-type="theme">{lang="support_third_party_theme_enable"}</a>
				<a href="{url="app=core&module=customization&controller=themes"}" target="_blank" rel="noopener" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="support_third_party_theme_link"}</a>
			</div>
		</li>
	{{else}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
			<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_theme"}</div>
		</li>
	{{endif}}
	{{if $restoredEditor}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div>
			<div class="ipsDataItem_generic ipsType_warning">
				<div data-role="disabledMessage">{lang="support_third_party_editor"}</div>
				<div data-role="enabledMessage" class="ipsHide">{lang="support_third_party_editor_reenabled"}</div>
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half" data-action="enableThirdPartyPart" data-type="editor">{lang="support_third_party_editor_enable"}</a>
				<a href="{url="app=core&module=editor&controller=toolbar"}" target="_blank" rel="noopener" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="support_third_party_editor_link"}</a>
			</div>
		</li>
	{{else}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
			<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_editor"}</div>
		</li>
	{{endif}}
	{{if \count( $disabledAds )}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_warning ipsPos_top ipsType_large"><i class="fa fa-exclamation-triangle"></i></div>
			<div class="ipsDataItem_generic ipsType_warning">
				<div data-role="disabledMessage">{lang="support_third_party_ads" pluralize="\count( $disabledAds )"}</div>
				<div data-role="enabledMessage" class="ipsHide">{lang="support_third_party_ads_reenabled" pluralize="\count( $disabledAds )"}</div>
				{{$disabledAds = implode( ',', $disabledAds );}}
				<a href="{url="app=core&module=support&controller=support&do=thirdparty" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half" data-action="enableThirdPartyPart" data-type="ads">{lang="support_third_party_ads_enable"}</a>
				<a href="{url="app=core&module=promotion&controller=advertisements"}" target="_blank" rel="noopener" class="ipsButton ipsButton_negative ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="support_third_party_ads_link"}</a>
			</div>
		</li>
	{{else}}
		<li class="ipsDataItem">
			<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
			<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_ads"}</div>
		</li>
	{{endif}}
</ul>]]></template>
 <template template_group="support" template_name="thirdPartyItems" template_data="$apps, $plugins, $themes, $editor, $ads" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.support.dashboard'>
	<div class='ipsPadding' data-role="customizationsWrapper">
	<ul class="ipsDataList">
		{{if \count( $apps )}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_issue ipsPos_top ipsType_large"><i class="fa fa-info-circle"></i></div>
				<div class="ipsDataItem_generic ipsType_issue">
					{lang="support_third_party_apps_count" pluralize="\count( $apps )"}
				</div>
			</li>
		{{else}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
				<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_apps"}</div>
			</li>
		{{endif}}
		{{if \count( $plugins )}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_issue ipsPos_top ipsType_large"><i class="fa fa-info-circle"></i></div>
				<div class="ipsDataItem_generic ipsType_issue">
					{lang="support_third_party_plugins_count" pluralize="\count( $plugins )"}
				</div>
			</li>
		{{else}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
				<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_plugins"}</div>
			</li>
		{{endif}}
		{{if $themes}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_issue ipsPos_top ipsType_large"><i class="fa fa-info-circle"></i></div>
				<div class="ipsDataItem_generic ipsType_issue">
					{lang="support_third_party_theme_count"}
				</div>
			</li>
		{{else}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
				<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_theme"}</div>
			</li>
		{{endif}}
		{{if $editor}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_issue ipsPos_top ipsType_large"><i class="fa fa-info-circle"></i></div>
				<div class="ipsDataItem_generic ipsType_issue">
					{lang="support_third_party_editor_count"}
				</div>
			</li>
		{{else}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
				<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_editor"}</div>
			</li>
		{{endif}}
		{{if \count( $ads )}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_issue ipsPos_top ipsType_large"><i class="fa fa-info-circle"></i></div>
				<div class="ipsDataItem_generic ipsType_issue">
					{lang="support_third_party_ads_count" pluralize="\count( $ads )"}
				</div>
			</li>
		{{else}}
			<li class="ipsDataItem">
				<div class="ipsDataItem_icon ipsType_success ipsPos_top ipsType_large"><i class="fa fa-check"></i></div>
				<div class="ipsDataItem_generic ipsType_success">{lang="support_third_party_no_ads"}</div>
			</li>
		{{endif}}
	</ul>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPadding ipsType_center {{if !$themes AND !$editor AND !\count( $ads ) AND !(\count( $apps )) AND !(\count( $plugins ))}}ipsHide{{endif}}">
		<button href='{url="app=core&module=support&controller=support&do=thirdparty&enable=0" csrf="true"}' class='ipsButton ipsButton_important' data-role="disableCustomizations">{lang="health_disable_customizations"}</button>
		<button href="{url="app=core&module=support&controller=support&do=thirdparty&enable=1&type=all" csrf="true"}" data-role="enableCustomizations" class="ipsButton ipsButton_important ipsHide">{lang="support_third_party_enable_all"}</button>
	</div>
</div>]]></template>
 <template template_group="support" template_name="toolboxResults" template_data="$form, $queries, $results" template_location="admin" template_app="core"><![CDATA[{$form|raw}
{{foreach $queries as $k => $query}}
	{$results[ $k ]|raw}
{{endforeach}}]]></template>
 <template template_group="system" template_name="analyticsItemLink" template_data="$item" template_location="front" template_app="core"><![CDATA[{{if \IPS\Member::loggedIn()->modPermission('can_view_moderation_log')}}
    <a class='ipsButton ipsButton_light ipsButton_verySmall' href="{$item->url()->setQueryString('do', 'analytics')}" data-ipsTooltip title="{lang="analytics_and_stats"}" data-ipsDialog data-ipsDialog-title='{lang="analytics_and_stats"}'><i class="fa fa-line-chart"></i></a>
{{endif}}]]></template>
 <template template_group="system" template_name="announcement" template_data="$announcement" template_location="front" template_app="core"><![CDATA[{{if \IPS\Request::i()->isAjax()}}
<div>
	<div class='ipsPadding ipsPhotoPanel ipsPhotoPanel_tiny ipsClearfix'>
		{template="userPhoto" app="core" group="global" params="$announcement->author(), 'tiny'"}
		<div>
			<p class='ipsType_reset ipsType_large ipsType_blendLinks'>
				{lang="byline_nodate" htmlsprintf="$announcement->author()->link()"}
	            {{if $announcement->start}}
	                <br>
	                <span class='ipsType_light ipsType_medium'>{datetime="$announcement->start" dateonly="true"}</span>
	            {{endif}}
			</p>
		</div>
	</div>
{{else}}
	<div class="ipsPadding">
		<div class='ipsType_pageHeader'>
			<h1 class='ipsType_pageTitle ipsType_largeTitle ipsContained_container'><span class='ipsType_break ipsContained'>{$announcement->mapped( 'title' )}</span></h1>
			{{if !$announcement->active}}
				<p class='ipsType_reset ipsType_light'>{lang="announcement_not_active"}</p>
			{{endif}}
		</div>
		<div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsClearfix'>
			{template="userPhoto" app="core" group="global" params="$announcement->author(), 'tiny'"}
			<div>
				<p class='ipsType_reset ipsType_large ipsType_blendLinks'>
					{lang="byline_nodate" htmlsprintf="$announcement->author()->link()"}
					{{if $announcement->start}}
						<br>
						<span class='ipsType_light ipsType_medium'>{datetime="$announcement->start" dateonly="true"}</span>
					{{endif}}
				</p>
			</div>
		</div>
	</div>
	<br>
	{{endif}}
	<article class='ipsBox ipsPad'>
		<section class='ipsType_richText ipsType_normal' data-controller='core.front.core.lightboxedImages'>
			{$announcement->mapped( 'content' )|raw}
			{{if \IPS\Member::loggedIn()->modPermission('can_manage_announcements') and ( $announcement->canEdit() or $announcement->canDelete() )}}
				<hr class='ipsHr'>
				<a href='#elAnnouncementActions{$announcement->id}_menu' id='elAnnouncementActions{$announcement->id}' class='ipsButton ipsButton_light ipsButton_verySmall' data-ipsMenu>{lang="announce_actions"} <i class='fa fa-caret-down'></i></a>
				<ul id='elAnnouncementActions{$announcement->id}_menu' class='ipsMenu ipsMenu_auto ipsHide'>
					{{if $announcement->canEdit()}}
						<li class='ipsMenu_item'><a href='{$announcement->url( 'create' )}' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-destructOnClose='true' data-ipsDialog-title='{lang="edit_announcement"}' data-action='ipsMenu_ping'>{lang="edit"}</a></li>
					{{endif}}
					{{if $announcement->canDelete()}}
						<li class='ipsMenu_item'><a href='{$announcement->url( 'delete' )->csrf()}' data-confirm  title='{lang="delete"}'>{lang="delete"}</a></li>
					{{endif}}
					<li class='ipsMenu_item'><a href='{$announcement->url( 'status' )->csrf()}' title='{{if $announcement->active}}{lang="announce_mark_inactive"}{{else}}{lang="announce_mark_active"}{{endif}}'>{{if $announcement->active}}{lang="announce_mark_inactive"}{{else}}{lang="announce_mark_active"}{{endif}}</a></li>
				</ul>
			{{endif}}
		</section>
	</article>

	{{if \IPS\Request::i()->isAjax()}}
	</div>
{{endif}}]]></template>
 <template template_group="system" template_name="backgroundProcessesRunNow" template_data="" template_location="admin" template_app="core"><![CDATA[
<div class='acpBlock'>
	<div class="ipsPad">
		{lang="background_process_run_content"}
		<p>
			<a href='{url="app=core&module=system&controller=background&do=process" csrf="true"}' class="ipsButton ipsButton_primary">{lang="background_process_run_button"}</a>
		</p>
	</div>
</div>]]></template>
 <template template_group="system" template_name="banned" template_data="$message, $warnings, $banEnd" template_location="front" template_app="core"><![CDATA[<section class='ipsType_center ipsPad ipsBox'>
	<br>
	<i class='ipsType_huge fa fa-lock'></i>
	<h1 class='ipsType_veryLarge'>{{if $banEnd instanceof \IPS\DateTime}}{lang="suspended"}{{else}}{lang="banned"}{{endif}}</h1>
	<p class='ipsType_large'>
		{lang="$message"}
	</p>
</section>

{{if $warnings}}
	<h2 class='ipsType_sectionTitle'>{lang="warnings"}</h2>
	{$warnings|raw}
{{endif}}]]></template>
 <template template_group="system" template_name="completeProfile" template_data="$form" template_location="front" template_app="core"><![CDATA[
<section class='ipsPadding'>
	<br>
	<h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang='need_more_info'}</h1>
	<p class='ipsType_large ipsType_center ipsType_light'>{lang="need_more_info_text"}</p>
	<br>
	<div class='ipsBox ipsPadding'>
		{$form|raw}
	</div>
</section>
]]></template>
 <template template_group="system" template_name="completeValidation" template_data="$member, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="front" template_app="core"><![CDATA[
<form accept-charset='utf-8' method="post" action="{$action}" class='ipsType_center' data-ipsForm data-ipsFormSubmit>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	<div class='ipsType_center ipsBox ipsPad'>
		<h1 class='ipsType_veryLarge ipsType_reset'>{lang="registration_validate_heading" sprintf="$member->name"}</h1>
		<p class='ipsType_normal ipsType_large'>{lang="registration_validate_explain"}</p>
		<button type='submit' class='ipsButton ipsButton_veryLarge ipsButton_primary'>{lang="validate_my_account"}</button>
	</div>
</form>]]></template>
 <template template_group="system" template_name="completeWizardTemplate" template_data="$stepNames, $activeStep, $output, $baseUrl, $showSteps" template_location="front" template_app="core"><![CDATA[
<div data-ipsWizard class='ipsWizard'>
	<div data-role="wizardStepbar">
		{{$completion = \intval( (string) \IPS\Member::loggedIn()->profileCompletionPercentage() );}}
		<div class="ipsProgressBar ipsProgressBar_fullWidth ipsSpacer_bottom">
			<div class='ipsProgressBar_progress' style='width: {expression="\IPS\Member::loggedIn()->profileCompletionPercentage()"}%'>
				{lang="profile_completion_percent" sprintf="$completion . '%'"}
			</div>
		</div>
	</div>
	<div data-role="wizardContent" class="ipsBox">
		{$output|raw}
	</div>
</div>]]></template>
 <template template_group="system" template_name="contact" template_data="$form" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('contact')"}
	<div class='ipsBox_alt'>
{{else}}
	<div class='ipsPad'>
{{endif}}
		<div class='ipsType_normal'>
			{$form|raw}
		</div>
	</div>
]]></template>
 <template template_group="system" template_name="contactConfirmVerify" template_data="$form" template_location="front" template_app="core"><![CDATA[
<br><br>
<div class='ipsBox_alt'>
	<p class='ipsType_reset ipsType_center ipsType_huge'>
		<i class='fa fa-envelope'></i>
	</p>

	<h1 class='ipsType_veryLarge ipsType_center'>{lang="contact_verify"}</h1>

	<div class='ipsType_large ipsType_richText'>
		{$form|raw}
	</div>
</div>]]></template>
 <template template_group="system" template_name="contactDone" template_data="" template_location="front" template_app="core"><![CDATA[
<br><br>
<div class='ipsBox_alt'>
	<p class='ipsType_reset ipsType_center ipsType_huge'>
		<i class='fa fa-envelope'></i>
	</p>

	<h1 class='ipsType_veryLarge ipsType_center'>{lang="contact_sent"}</h1>

	<div class='ipsType_large ipsType_center ipsType_richText'>
		{lang="contact_sent_blurb"}
	</div>
	<br>
	<p class='ipsType_center'>
		<a href='{url="/"}' class='ipsButton ipsButton_normal ipsButton_small'>{lang="go_community_home"}</a>
	</p>
</div>]]></template>
 <template template_group="system" template_name="contactFormReferrer" template_data="$referrer" template_location="front" template_app="core"><![CDATA[<p>
	{expression="sprintf( \IPS\Member::loggedIn()->language()->get( 'contact_form_referrer' ), $referrer, $referrer )" raw="true"}
</p>]]></template>
 <template template_group="system" template_name="contactVerify" template_data="" template_location="front" template_app="core"><![CDATA[
<br><br>
<div class='ipsBox_alt'>
	<p class='ipsType_reset ipsType_center ipsType_huge'>
		<i class='fa fa-envelope'></i>
	</p>

	<h1 class='ipsType_veryLarge ipsType_center'>{lang="contact_verify"}</h1>

	<div class='ipsType_large ipsType_center ipsType_richText'>
		{lang="contact_verify_your_email"}
	</div>
</div>]]></template>
 <template template_group="system" template_name="cookies" template_data="" template_location="front" template_app="core"><![CDATA[{{$prefix = \IPS\COOKIE_PREFIX;}}
{template="pageHeader" if="!\IPS\Request::i()->isAjax()" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('cookies_about')"}
<div class='ipsBox_alt'>
    <div class='ipsBox'>
	<div class='ipsType_normal ipsType_richText ipsPad'>
		{lang="cookies_about_header"}
	

 	    <h3 class="ipsType_large">{lang="cookies_standard"}</h3>
        <div>{lang="cookie_standard_desc"}</div>
        <details>
        <summary>{lang="cookies_standard"}</summary>
        <div class='ipsType_normal ipsType_richText ipsPad'>
			{{foreach \IPS\Request::getEssentialCookies() as $cookie}}
			<strong class='ipsType_medium'>{$prefix}{$cookie}</strong>
			<div>{lang="cookie_{$cookie}_description"}</div>
			<br>
            {{endforeach}}
        </div>
    </details>
    {{if \IPS\Request::i()->cookieConsentEnabled()}}
        <h3 class='ipsType_large'>{lang='cookies_optional'}
            {{$currentUrl = base64_encode((string) request.url());}}
            {{$status = (int) !\IPS\Member::loggedIn()->optionalCookiesAllowed;}}
            <a href='{url="app=core&module=system&controller=cookies&do=cookieConsentToggle&ref={$currentUrl}&status={$status}" csrf="true"}' rel='nofollow'>
                {{$allowed = $status ? "_off" : '_on' ;}}
                <i class='ipsToggle ipsToggle{$allowed}' aria-hidden='true'><span class='status'></span> </i>
            </a>
        </h3>
        <div>{lang="cookies_optional_desc"}</div>
    {{endif}}
   <hr>
		{{if \IPS\Member::loggedIn()->language()->checkKeyExists('cookie_3rdpartynotice_value') AND !empty( \IPS\Member::loggedIn()->language()->get('cookie_3rdpartynotice_value') )}}
	<h3 class="ipsType_large">{lang="cookies_third_party"}</h3>
	<div class='ipsType_normal ipsType_richText '>
		{lang="cookie_3rdpartynotice_value"}
	</div>
		   {{endif}}
	<h3 class="ipsType_large">{lang="cookies_change_header"}</h3>
	<div class='ipsType_normal ipsType_richText '>
		{lang="cookies_change_text"}
	</div>
    </div>
    </div>
</div>]]></template>
 <template template_group="system" template_name="coppa" template_data="$form, $postBeforeRegister" template_location="front" template_app="core"><![CDATA[
<section class='ipsPad'>
	<br>
	{{if $postBeforeRegister}}
		<h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang="post_before_register_headline"}</h1>
		<p class='ipsType_reset ipsType_large ipsType_center ipsType_light'>{lang="post_before_register_subtext"}</p>
	{{else}}
		<h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang='sign_up'}</h1>
		<p class='ipsType_large ipsType_center ipsType_light'>{lang="existing_user"} <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}'>{lang="sign_in_short"}</a></p>
	{{endif}}
	<br>

	<div data-role='registerForm' class='ipsBox ipsPad'>
		<section class='ipsType_center'>
			<p class='ipsType_large ipsType_reset'><strong>{lang="coppa_verify"}</strong></p>
			<p class='ipsType_normal ipsType_light ipsType_reset'>
				{lang="coppa_verification_only"} {{if \IPS\Settings::i()->privacy_type != "none"}} <a href='{{if \IPS\Settings::i()->privacy_type == "internal"}}{url="app=core&module=system&controller=privacy" seoTemplate="privacy"}{{else}}{setting="privacy_link"}{{endif}}'>{lang="privacy"}</a>.{{endif}}
			</p>
			<br><br>

			{$form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'system', 'core', 'front' ), 'coppaForm' ) )|raw}
		</section>
	</div>
</section>]]></template>
 <template template_group="system" template_name="coppaConsent" template_data="" template_location="front" template_app="core"><![CDATA[<div class="ipsPrint">
	<h1>{setting="board_name"}</h1>
	<h2>{lang="coppa_form"}</h2>

	{lang="coppa_form_intro" sprintf="\IPS\Settings::i()->board_name"}
	
	<table>
		<tr>
			<th>{lang="coppa_form_child_name"} </th>
			<th>{lang="coppa_form_child_email"} </th>
		</tr>
		<tr>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
		</tr>
	</table>
	
	{lang="coppa_form_disclaimer"}
	
	<div></div>
	<div></div>

	<table>
		<tr>
			<th>{lang="coppa_form_name"} </th>
			<th>{lang="coppa_form_relation"} </th>
		</tr>
		<tr>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
		</tr>
		<tr>
			<th>{lang="coppa_form_email"} </th>
			<th>{lang="coppa_form_phone"} </th>
		</tr>
		<tr>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
			<td class="ipsPrint_doubleHeight">&nbsp;</td>
		</tr>
		<tr>
			<th colspan="2">{lang="coppa_form_sig"} </th>
		</tr>
		<tr>
			<td colspan="2" class="ipsPrint_tripleHeight">&nbsp;</td>
		</tr>
		<tr>
			<th colspan="2">{lang="coppa_form_date"} </th>
		</tr>
		<tr>
			<td colspan="2" class="ipsPrint_doubleHeight">&nbsp;</td>
		</tr>
	</table>

	<div></div>

	{{if \IPS\Settings::i()->privacy_type != "none"}}
		<p>{lang="coppa_form_privacy"} {{if \IPS\Settings::i()->privacy_type == "internal"}}{url="app=core&module=system&controller=privacy" seoTemplate="privacy"}{{else}}{setting="privacy_link"}{{endif}}</p>
		<div></div>
	{{endif}}
	{{if \IPS\Settings::i()->coppa_address}}
		<p>{lang="coppa_form_mail"} {address="\IPS\Settings::i()->coppa_address"}</p>
	{{endif}}
	{{if \IPS\Settings::i()->coppa_fax}}
		<p>{{if \IPS\Settings::i()->coppa_address and \IPS\Settings::i()->coppa_fax}}{lang="or"} {{endif}}{lang="coppa_form_fax"} {setting="coppa_fax"}</p>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="coppaForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="front" template_app="core"><![CDATA[
<form accept-charset='utf-8' method="post" action="{$action}" id='elCoppaForm' class='ipsType_center' data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}

	{{foreach $elements as $collection}}
		{{foreach $collection as $input}}
			{{if $input instanceof \IPS\Helpers\Form\Date}}
				<input type="date" class='ipsField_short ipsField_primary' required placeholder="{lang="$input->name"}" name='{$input->name}' id='{$input->htmlId}' max='{$input->options["max"]->format( "Y-m-d" )}'>
			{{endif}}
		{{endforeach}}
	{{endforeach}}
	&nbsp;&nbsp;<button type='submit' class='ipsButton ipsButton_large ipsButton_primary'>{lang="continue"}</button>
</form>]]></template>
 <template template_group="system" template_name="finishRegistration" template_data="$harryPotter" template_location="front" template_app="core"><![CDATA[<section class='ipsPadding'>
	<h1 class='ipsType_veryLarge ipsType_center ipsType_reset'>{lang='complete_your_profile'}</h1>
	<br>
	{$harryPotter|raw}
</section>]]></template>
 <template template_group="system" template_name="followedContent" template_data="$types, $currentAppModule, $currentType, $table" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('menu_followed_content')"}
<div class='ipsBox_alt'>
	<div data-role="profileContent">
{{endif}}
		<div class="ipsColumns ipsColumns_collapsePhone">
			<div class="ipsColumn ipsColumn_wide">
				<div class="ipsSideMenu ipsBox ipsPad" data-ipsTabBar data-ipsTabBar-contentArea='#elFollowedContent' data-ipsTabBar-itemselector=".ipsSideMenu_item" data-ipsTabBar-activeClass="ipsSideMenu_itemActive" data-ipsSideMenu>
					<h3 class="ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium">
						<a href="#user_content" class="ipsPad_double" data-action="openSideMenu"><i class="fa fa-bars"></i> &nbsp;{lang="user_content_type"}&nbsp;<i class="fa fa-caret-down"></i></a>
					</h3>
					<div>
						{{foreach $types as $app => $_types}}
							{{if $app != "core"}}
								<h4 class='ipsSideMenu_subTitle'>{lang="module__{$app}"}</h4>
								<ul class="ipsSideMenu_list">
									{{foreach $_types as $key => $class}}
										<li><a href="{$table->baseUrl->setQueryString( array( 'type' => $key, 'change_section' => 1 ) )->setPage( 'page', 1 )}" class="ipsSideMenu_item {{if $currentType == $key}}ipsSideMenu_itemActive{{endif}}">{{if is_subclass_of( $class, 'IPS\Content\Item' )}}{lang="{$class::$title}_pl"}{{else}}{lang="{$class::$nodeTitle}"}{{endif}}</a></li>	
									{{endforeach}}
								</ul>
							{{endif}}
						{{endforeach}}
						<h4 class='ipsSideMenu_subTitle'>{lang="other"}</h4>
						<ul class='ipsSideMenu_list'>
							<li><a href="{$table->baseUrl->setQueryString( array( 'type' => 'core_member', 'change_section' => 1 ) )->setPage( 'page', 1 )}" class="ipsSideMenu_item {{if $currentType == 'core_member'}}ipsSideMenu_itemActive{{endif}}">{lang="members"}</a></li>
						</ul>
					</div>			
				</div>
			</div>
			<div class="ipsColumn ipsColumn_fluid" id='elFollowedContent'>
				{template="followedContentSection" group="system" app="core" params="$types, $currentAppModule, $currentType, (string) $table"}
			</div>
		</div>
{{if !\IPS\Request::i()->isAjax()}}
	</div>
</div>
{{endif}}]]></template>
 <template template_group="system" template_name="followedContentMemberRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[
{{foreach $rows as $row}}
	{{$loadedMember = \IPS\Member::load( $row->member_id );}}
	<li class='ipsDataItem' data-controller='core.front.system.manageFollowed' data-followID='{$row->_followData['follow_area']}-{$row->_followData['follow_rel_id']}'>
		<div class='ipsDataItem_icon'>
			{template="userPhoto" group="global" app="core" params="$loadedMember, 'small'"}
		</div>
		<div class='ipsDataItem_main'>
			<h3 class='ipsType_reset ipsType_large ipsType_unbold'>{$loadedMember->link( NULL, FALSE )|raw}</h3> {{if $loadedMember->isOnline()}}<i class="fa fa-circle ipsOnlineStatus_online" data-ipsTooltip title='{lang="online_now" sprintf="$row->name"}'></i>{{endif}}
			<span class='ipsType_normal'>{expression="\IPS\Member\Group::load( $row->member_group_id )->formattedName" raw="true"}</span>
			<ul class='ipsList_inline ipsType_light'>
				<li>{lang="members_member_posts"}: {$loadedMember->member_posts}</li>
				<li>{lang="members_joined"}: {datetime="$loadedMember->joined"}</li>
				{{if $loadedMember->last_activity}}
					<li>{lang="members_last_visit"}: {datetime="$loadedMember->last_activity"}</li>
				{{endif}}
			</ul>
		</div>
		<div class='ipsDataItem_generic ipsDataItem_size1 ipsType_center ipsType_large'>
			<span class='ipsBadge ipsBadge_icon ipsBadge_new {{if !$row->_followData['follow_is_anon']}}ipsHide{{endif}}' data-role='followAnonymous' data-ipsTooltip title='{lang="follow_is_anon"}'><i class='fa fa-eye-slash'></i></span>
		</div>

		<div class='ipsDataItem_generic ipsDataItem_size6'>
			<ul class='ipsList_reset'>
				<li title='{lang="follow_when"}' data-role='followDate'><i class='fa fa-clock-o'></i> {datetime="$row->_followData['follow_added']"}</li>
				<li title='{lang="follow_how"}' data-role='followFrequency'>
					{{if $row->_followData['follow_notify_freq'] == 'none'}}
						<i class='fa fa-bell-slash-o'></i>
					{{else}}
						<i class='fa fa-bell'></i>
					{{endif}} {lang="follow_freq_{$row->_followData['follow_notify_freq']}"}
				</li>
			</ul>
		</div>

		<div class='ipsDataItem_generic ipsDataItem_size6 ipsType_center'>
			{template="manageFollow" group="system" app="core" params="$row->_followData['follow_app'], $row->_followData['follow_area'], $row->_followData['follow_rel_id']"}
		</div>

		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row->member_id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state=''>
					<span></span>
				</span>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="system" template_name="followedContentSection" template_data="$types, $currentAppModule, $currentType, $table" template_location="front" template_app="core"><![CDATA[<div class='ipsBox cFollowedContent'>
	<h2 class='ipsType_sectionTitle ipsType_reset'>{{if is_subclass_of( $types[ $currentAppModule ][ $currentType ], 'IPS\Content\Item' )}}{lang="stuff_i_follow" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $types[ $currentAppModule ][ $currentType ]::$title . '_pl' )"}{{elseif $types[ $currentAppModule ][ $currentType ] == "\IPS\Member"}}{lang="members_i_follow"}{{else}}{lang="stuff_i_follow" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $types[ $currentAppModule ][ $currentType ]::$nodeTitle )"}{{endif}}</h2>
	{$table|raw}
</div>]]></template>
 <template template_group="system" template_name="followers" template_data="$url, $pagination, $followers, $anonymous, $removeAllUrl" template_location="front" template_app="core"><![CDATA[<div data-ipsInfScroll data-ipsInfScroll-scrollScope="#elFollowerList" data-ipsInfScroll-container="#elFollowerListContainer" data-ipsInfScroll-url="{$url}" data-ipsInfScroll-pageParam="followerPage" data-ipsInfScroll-pageBreakTpl="">
	<div class="ipsJS_hide">{$pagination|raw}</div>
	<div class='ipsFollowerList ipsPad ipsBox_alt ipsScrollbar' id="elFollowerList">
		<ul class="ipsDataList ipsList_reset" id='elFollowerListContainer'>
			{template="followersRows" group="system" params="$followers"}
		</ul>
		{{if $anonymous}}
			{{if $followers !== NULL and \count( $followers )}}
				<div class="ipsPad_half ipsType_center ipsType_light">{lang="and_x_others" pluralize="$anonymous"}</div>
			{{else}}
				<div class="ipsPad_half ipsType_center ipsType_light">{lang="x_anonymous_members" pluralize="$anonymous"}</div>
			{{endif}}
		{{endif}}
	</div>
	{{if \IPS\Member::loggedIn()->modPermission('can_remove_followers')}}
		<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground">
			<li>
				<a href="{$removeAllUrl}" data-confirm data-confirmmessage='{lang="remove_followers_confirm"}' class="ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_negative">{lang="remove_followers"}</a>
			</li>
		</ul>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="followersRows" template_data="$followers" template_location="front" template_app="core"><![CDATA[{{foreach $followers as $follower}}
	<li class='ipsDataItem ipsClearfix'>
		<div class='ipsDataItem_icon ipsPos_top'>
			{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $follower['follow_member_id'] ), 'tiny'"}
		</div>
		<div class='ipsDataItem_main'>
			<strong class='ipsDataItem_title'>{{$link = \IPS\Member::load( $follower['follow_member_id'] )->link();}}{$link|raw}</strong><br>
			<span class='ipsType_light'>{datetime="$follower['follow_added']"}</span>
		</div>
	</li>
{{endforeach}}]]></template>
 <template template_group="system" template_name="followForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[<form {{if \IPS\Request::i()->isAjax() }}data-controller='core.front.core.followForm'{{endif}} accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm >
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div>
		<h2 class='ipsType_sectionTitle'>{expression="\IPS\Output::i()->title"}</h2>
		<ul class='ipsPadding ipsList_reset'>
			{{foreach $elements as $collection}}
				{{foreach $collection as $input}}
					{{if \is_string( $input )}}
						{$input|raw}
						<hr class='ipsHr'>
					{{elseif $input instanceof \IPS\Helpers\Form\Radio}}
						<li class="ipsFieldRow">
							<strong class='ipsType_normal'>{lang="follow_send_me"}</strong>
							{$input->html($form)|raw}
							<hr class='ipsHr'>
						</li>
					{{elseif $input instanceof \IPS\Helpers\Form\Checkbox}}
						{$input->html($form)|raw}
					{{else}}
						{$input->rowHtml($form)|raw}
					{{endif}}
				{{endforeach}}
			{{endforeach}}
		</ul>
	</div>
	<div class="ipsToolList ipsToolList_horizontal ipsBorder_top ipsPadding">
		{$actionButtons[0]|raw} {{if isset( $actionButtons[1] )}}{$actionButtons[1]|raw}{{endif}}
		{{if !isset( $actionButtons[1] ) AND \IPS\core\Hive::showPromotion()}}
			{template="followButton" group="hive" app="core" location="front"}
		{{endif}}
	</div>
</form>]]></template>
 <template template_group="system" template_name="guidelines" template_data="$guidelines" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	<div class='ipsPageHeader sm:ipsPadding:half ipsClearfix ipsMargin_bottom sm:ipsMargin_bottom:half ipsType_center'>
		<h1 class='ipsType_veryLarge'>{lang="guidelines"}</h1>
	</div>
{{endif}}
<div class='ipsType_normal ipsType_richText ipsPadding ipsBox ipsResponsive_pull'>
	{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('guidelines_value'), array('ipsType_normal')"}
</div>]]></template>
 <template template_group="system" template_name="ignore" template_data="$form, $table, $id=0" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('ignored_users'), \IPS\Member::loggedIn()->language()->addToStack('ignored_users_blurb')"}
<div data-controller='core.front.ignore.new' data-id="{$id}">
	<div class='ipsBox ipsPadding ipsResponsive_pull ipsMargin_bottom'>
		<h2 class='ipsType_sectionHead'>{lang="ignored_users_add"}</h2>
		<p class='ipsType_reset'>{lang="ignored_users_add_desc"}</p>
		<br>
		{$form|raw}
	</div>
	
	<div class='ipsResponsive_pull'>
		{$table|raw}
	</div>
</div>]]></template>
 <template template_group="system" template_name="ignoreEditForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="front" template_app="core"><![CDATA[
<form accept-charset='utf-8' id="elIgnoreForm" class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-controller='core.front.ignore.edit'>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	<ul class="ipsForm ipsForm_vertical ipsPad">
		{{foreach $elements as $collection}}
			<li class='ipsFieldRow ipsFieldRow_fullWidth'>
				<ul class='ipsFieldRow_content ipsList_reset'>
					{{foreach $collection as $input}}
						{{if $input instanceof \IPS\Helpers\Form\Checkbox}}
							<li class='ipsFieldRow_inlineCheckbox'>
								{$input->html()|raw}
								<label for='check_{$input->htmlId}'>{lang="$input->name"}</label>
							</li>
						{{endif}}
					{{endforeach}}
				</ul>
			</li>
		{{endforeach}}
	</ul>
	<div class='ipsBorder_top ipsPadding ipsType_right'>
		{{foreach $actionButtons as $button}}
			{$button|raw}
		{{endforeach}}
	</div>
</form>]]></template>
 <template template_group="system" template_name="ignoreForm" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' id="elIgnoreForm" class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	<ul class="ipsForm ipsForm_vertical">
		{{foreach $elements as $collection}}
			{{foreach $collection as $input}}
				{{if !( $input instanceof \IPS\Helpers\Form\Checkbox )}}
					<li class='ipsFieldRow ipsFieldRow_noLabel ipsFieldRow_fullWidth'>
						<div class='ipsFieldRow_content'>
							{$input->html()|raw}
							{{if $input->error}}
								<br>
								<span class="ipsType_warning">{lang="$input->error"}</span>
							{{endif}}
						</div>
					</li>
				{{endif}}
			{{endforeach}}
			<li class='ipsFieldRow ipsFieldRow_fullWidth' id='elIgnoreTypes'>
				<strong class='ipsFieldRow_title'>{lang="ignored_users_ignore"}</strong>
				<ul class='ipsFieldRow_content ipsList_reset'>
					{{foreach $collection as $input}}
						{{if $input instanceof \IPS\Helpers\Form\Checkbox}}
							<li class='ipsFieldRow_inlineCheckbox'>
								{$input->html()|raw}
								<label for='check_{$input->htmlId}'>{lang="$input->name"}</label>
							</li>
						{{endif}}
					{{endforeach}}
				</ul>
			</li>
		{{endforeach}}
		<li class='ipsFieldRow' id='elIgnoreSubmitRow'>
			<div class='ipsFieldRow_content'>
				{{foreach $actionButtons as $button}}
					{$button|raw}
				{{endforeach}}
			</div>
		</li>
	</ul>
	<div id='elIgnoreLoading'></div>
</form>]]></template>
 <template template_group="system" template_name="ignoreTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[
<div class='ipsBox' data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table' id='elTable_{$table->uniqueId}'>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'filter' => '', 'group' => \IPS\Request::i()->group ) )->setPage( 'page', 1 )}' class='{{if !array_key_exists( $table->filter, $table->filters )}}ipsButtonRow_active{{endif}}'>{lang="all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'group' => \IPS\Request::i()->group ) )->setPage( 'page', 1 )}' class='cIgnoreType_{$k}'>{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>
		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
	</div>

	<ol class='ipsDataList ipsGrid ipsGrid_collapsePhone ipsClear' id='elIgnoreUsers' data-role='tableRows'>
		{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
	</ol>
 
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
	</div>
</div>]]></template>
 <template template_group="system" template_name="ignoreTableRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if empty($rows)}}
	<li class='ipsDataItem'>
		<div class='ipsPad ipsType_light ipsType_center'><br><br>{lang="no_results"}</div>
	</li>
{{else}}
	{{foreach $rows as $r}}
		<li class='ipsDataItem ipsGrid_span6 ipsFaded_withHover' id='elIgnoreRow{$r['ignore_ignore_id']}' data-role="ignoreRow" data-ignoreUserID='{$r['ignore_ignore_id']}' data-controller='core.front.ignore.existing'>
			<p class='ipsType_reset ipsDataItem_icon'>
				{template="userPhoto" app="core" group="global" params="\IPS\Member::load( $r['ignore_ignore_id'] ), 'tiny'"}
			</p>
			<div class='ipsDataItem_main'>
				<h4 class='ipsDataItem_title'><strong data-role="ignoreRowName">{member="name" id="$r['ignore_ignore_id']"}</strong></h4>
				<ul class='ipsList_inline'>
					{{foreach \IPS\core\Ignore::types() as $t}}
						{{if $r["ignore_{$t}"]}}
							<li class='ipsType_light'><i class='fa fa-check'></i> {lang="ignore_$t"}</li>
						{{endif}}
					{{endforeach}}
					<li class='ipsFaded'>
						<a href='#elUserIgnore{$r['ignore_ignore_id']}_menu' id='elUserIgnore{$r['ignore_ignore_id']}' class='ipsType_large ipsPos_middle ipsType_blendLinks' data-ipsMenu data-ipsMenu-appendTo='#elIgnoreRow{$r['ignore_ignore_id']}' data-action='ignoreMenu'>
							<i class='fa fa-cog'></i> <i class='fa fa-caret-down'></i>
						</a>
					</li>
				</ul>

				<ul class='ipsMenu ipsJS_hide' id='elUserIgnore{$r['ignore_ignore_id']}_menu'>
					<li class='ipsMenu_item' data-ipsMenuValue='edit'>
						<a href='{url="app=core&module=system&controller=ignore&do=edit&id={$r['ignore_ignore_id']}"}' data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="edit_ignore_for" sprintf="\IPS\Member::load( $r['ignore_ignore_id'] )->name"}'>{lang="change_ignored_content"}</a>
					</li>
					<li class='ipsMenu_item' data-ipsMenuValue='remove'>
						<a href='{url="app=core&module=system&controller=ignore&do=remove&id={$r['ignore_ignore_id']}" csrf="true"}'>{lang="stop_ignoring_user"}</a>
					</li>
				</ul>
			</div>
		</li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="system" template_name="invite" template_data="$links, $url" template_location="front" template_app="core"><![CDATA[
<div class='ipsPad'>
	<h4 class='ipsType_sectionHead'>{lang="block_invite"}</h4>
	<hr class='ipsHr'>
	<h5 class='ipsType_normal ipsType_reset'>{lang="link_to_site"}</h5>

	<input type='text' value='{$url}' class='ipsField_fullWidth'>

	{{if \count( $links ) }}
	<h5 class='ipsType_normal ipsType_reset ipsSpacer_top'>{lang="share_externally"}</h5>
	<ul class='ipsList_inline ipsList_noSpacing ipsClearfix'>
		{{foreach $links as $link }}
		<li>{$link|raw}</li>
		{{endforeach}}
	</ul>
	<hr class='ipsHr'>
	{{endif}}
	<button class='ipsHide ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth ipsMargin_top:half' data-controller='core.front.core.webshare' data-role='webShare' data-webShareTitle='{lang="block_invite_text" sprintf="\IPS\Settings::i()->board_name"}' data-webShareText='{lang="block_invite_text" sprintf="\IPS\Settings::i()->board_name"}' data-webShareUrl='{$url}'>{{if \count( $links )}}{lang="more_share_options"}{{else}}{lang="share"}{{endif}}</button>
</div>]]></template>
 <template template_group="system" template_name="login" template_data="$login, $error" template_location="admin" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<meta charset="utf-8">
		<title>{lang="login"}</title>
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" app="core" group="global" location="global" params=""}
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	</head>
	<body class='ipsApp ipsApp_admin {{if isset(\IPS\Request::i()->cookie['acptheme']) AND \IPS\Request::i()->cookie['acptheme'] == 'dark'}}ipsDarkMode {{endif}}' id='elLogin' data-controller="core.admin.core.app">
		<div id='elLogin_box' data-controller="core.admin.system.login">
			<form accept-charset='utf-8' method='post' action='{$login->url}'>
				<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
				<div class='ipsColumns' data-role="loginForms">
					<div class='cAcpLoginBox ipsColumn ipsColumn_fluid'>
						<div class='cAcpLoginBox_logo'>
							<img src='{resource="logo_dark_full.png" app="core" location="admin"}' alt=''>
						</div>
						<div class="ipsPad">
							{{if $error}}
								<div class='ipsMessage ipsMessage_error'>{lang="$error"}</div>
							{{endif}}
							{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
							{{$buttonMethods = $login->buttonMethods();}}
							{{if $usernamePasswordMethods}}
								{template="loginForm" app="core" group="system" params="$login"}
								{{if $buttonMethods}}
									<hr class="ipsHr">
								{{endif}}
							{{endif}}
							{{if $buttonMethods}}
								<ul class='ipsForm ipsForm_vertical'>
									{{foreach $buttonMethods as $method}}
										<li class='ipsFieldRow_fullWidth ipsSpacer_top ipsSpacer_half'>
											{$method->button()|raw}
										</li>
									{{endforeach}}
								</ul>
							{{endif}}
						</div>
					</div>
				</div>
			</form>
		</div>
	</body>
</html>]]></template>
 <template template_group="system" template_name="login" template_data="$login, $ref, $error" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method='post' action='{$login->url}' class='ipsBox_alt'>
	<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
	{{if $ref}}
		<input type="hidden" name="ref" value="{$ref}">
	{{endif}}
	{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
	{{$buttonMethods = $login->buttonMethods();}}
	{{if $usernamePasswordMethods and $buttonMethods}}
		{{if $error}}
			<div class="ipsMessage ipsMessage_error">{lang="$error"}</div>
		{{endif}}
		<div class='ipsColumns ipsColumns_collapsePhone'>
			<div class='ipsColumn ipsColumn_fluid'>
				<div class='{{if !request.isAjax()}}ipsBox ipsResponsive_pull{{endif}} ipsPadding'>
					{{if !request.isAjax()}}
						<h1 class='ipsType_reset ipsType_pageTitle'>{lang='sign_in_short'}</h1>
						{{if \IPS\Login::registrationType() != 'disabled'}}
							<p class='ipsType_reset ipsType_large ipsType_light'>
								{lang="dont_have_an_account"}
								{{if \IPS\Login::registrationType() == 'redirect'}}
									<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener">
								{{else}}
									<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>
								{{endif}}
								{lang="sign_up"}</a>
							</p>
							<hr class='ipsHr ipsMargin_vertical'>
						{{endif}}
					{{endif}}
					{template="loginForm" app="core" group="system" params="$login"}
				</div>
			</div>
			<div class='ipsColumn ipsColumn_veryWide'>
				<div class='{{if !request.isAjax()}}ipsBox ipsResponsive_pull{{endif}} ipsPadding'>
					<h2 class='ipsType_sectionHead'>{lang="sign_in_faster"}</h2>
					{{if \count( $buttonMethods ) > 1}}
						<p class='ipsType_normal ipsType_reset ipsType_light'>{lang='sign_in_with_these'}</p>
					{{endif}}
					<div class='ipsGap:2 ipsMargin_top:half'>
						{{foreach $buttonMethods as $method}}
							<div class='cLogin_social ipsType_center'>
								{$method->button()|raw}
							</div>
						{{endforeach}}
					</div>
				</div>
			</div>
		</div>
	{{elseif $usernamePasswordMethods}}
		<div class='cLogin_single ipsPos_center'>
		{{if $error}}
			<p class="ipsMessage ipsMessage_error">{lang="$error"}</p>
		{{endif}}
			<div class="{{if !request.isAjax()}}ipsBox ipsResponsive_pull{{endif}} ipsPadding">
				{{if !request.isAjax()}}
					<h1 class='ipsType_reset ipsType_pageTitle'>{lang='sign_in_short'}</h1>
					{{if \IPS\Login::registrationType() != 'disabled'}}
						<p class='ipsType_reset ipsType_large ipsType_light'>
							{lang="dont_have_an_account"}
							{{if \IPS\Login::registrationType() == 'redirect'}}
								<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener">
							{{else}}
								<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>
							{{endif}}
							{lang="sign_up"}</a>
						</p>
						<hr class='ipsHr ipsMargin_vertical'>
					{{endif}}
				{{endif}}
				{template="loginForm" app="core" group="system" params="$login"}
			</div>
		</div>
	{{elseif $buttonMethods}}
		<div class="cLogin_single ipsPos_center">
			{{if $error}}
				<p class="ipsMessage ipsMessage_error">{lang="$error"}</p>
			{{endif}}
			<div class='ipsGap:2 ipsMargin_top:half'>
				{{foreach $buttonMethods as $method}}
					<div class='ipsType_center'>
						{$method->button()|raw}
					</div>
				{{endforeach}}
			</div>
		</div>
	{{endif}}
</form>
]]></template>
 <template template_group="system" template_name="loginForm" template_data="$login" template_location="admin" template_app="core"><![CDATA[<ul class='ipsForm ipsForm_vertical'>
	<li class="ipsFieldRow ipsFieldRow_fullWidth">
		{{$authType = $login->authType();}}
		<div class="ipsFieldRow_content">
			{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
				<input autofocus type="text" placeholder="{lang="username"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="username">
			{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
				<input autofocus type="email" placeholder="{lang="email_address"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="email">
			{{else}}
				<input autofocus type="text" placeholder="{lang="username_or_email"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="email">
			{{endif}}
		</div>
	</li>
	<li class="ipsFieldRow ipsFieldRow_fullWidth">
		<div class="ipsFieldRow_content">
			<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}} autocomplete="current-password">
		</div>
	</li>
	<li class='ipsFieldRow_fullWidth'>
		<button type='submit' name="_processLogin" value="usernamepassword" class='ipsButton ipsButton_primary ipsButton_medium'><i class='fa fa-lock'></i> {lang="login"}</button>
	</li>
</ul>
]]></template>
 <template template_group="system" template_name="loginForm" template_data="$login" template_location="front" template_app="core"><![CDATA[<ul class='ipsForm'>
	<li class="ipsFieldRow ipsFieldRow_fullWidth ipsClearfix">
		{{$authType = $login->authType();}}
		<label class="ipsFieldRow_label" for="auth">
			{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
				{lang="username"}
			{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
				{lang="email_address"}
			{{else}}
				{lang="username_or_email"}
			{{endif}}
			<span class="ipsFieldRow_required">{lang="required"}</span>
		</label>
		<div class="ipsFieldRow_content">
			{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
				<input type="text" placeholder="{lang="username"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="username">
			{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
				<input type="email" placeholder="{lang="email_address"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="email">
			{{else}}
				<input type="text" placeholder="{lang="username_or_email"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}} autocomplete="email">
			{{endif}}
		</div>
	</li>
	<li class="ipsFieldRow ipsFieldRow_fullWidth ipsClearfix">
		<label class="ipsFieldRow_label" for="password">
			{lang="password"}
			<span class="ipsFieldRow_required">{lang="required"}</span>
		</label>
		<div class="ipsFieldRow_content">
			<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}} autocomplete="current-password">
		</div>
	</li>
	<li class="ipsFieldRow ipsFieldRow_checkbox ipsClearfix">
		<span class="ipsCustomInput">
			<input type="checkbox" name="remember_me" id="remember_me_checkbox" value="1" checked aria-checked="true">
			<span></span>
		</span>
		<div class="ipsFieldRow_content">
			<label class="ipsFieldRow_label" for="remember_me_checkbox">{lang="remember_me"}</label>
			<span class="ipsFieldRow_desc">{lang="remember_me_desc"}</span>
		</div>
	</li>
	<li class="ipsFieldRow ipsFieldRow_fullWidth">
		<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton_primary ipsButton_small" id="elSignIn_submit">{lang="login"}</button>
		{{if settings.allow_forgot_password != 'disabled'}}
			<p class="ipsType_right ipsType_small">
				{{if settings.allow_forgot_password == 'redirect'}}
					<a href='{expression="\IPS\Settings::i()->allow_forgot_password_target"}' target="_blank" rel="noopener">
				{{else}}
					<a href='{url="app=core&module=system&controller=lostpass" seoTemplate="lostpassword"}' {{if \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-title='{lang="forgotten_password"}'{{endif}}>
				{{endif}}
				{lang="forgotten_password"}</a>
			</p>
		{{endif}}
	</li>
</ul>]]></template>
 <template template_group="system" template_name="lostPass" template_data="$form" template_location="front" template_app="core"><![CDATA[{{if !request.isAjax()}}
	{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('lost_password')"}
{{endif}}
<div class='ipsBox ipsPadding'>
	{$form|raw}
</div>
]]></template>
 <template template_group="system" template_name="lostPassConfirm" template_data="$message" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('lost_password')"}
<div class='ipsLayout_contentSection ipsBox ipsPadding'>
	{lang="$message"}
</div>
]]></template>
 <template template_group="system" template_name="manageFollow" template_data="$app, $area, $id" template_location="front" template_app="core"><![CDATA[
<div data-followApp='{$app}' data-followArea='{$area}' data-followID='{$id}' data-buttonType='manage' data-controller='core.front.core.followButton'>
	{template="manageFollowButton" group="system" app="core" params="$app, $area, $id"}
</div>]]></template>
 <template template_group="system" template_name="manageFollowButton" template_data="$app, $area, $id" template_location="front" template_app="core"><![CDATA[
{{if member.member_id}}
	{{if member.following( $app, $area, $id )}}
		<div class="ipsFollow" data-role="followButton">
			<a href="{url="app=core&module=system&controller=notifications&do=follow&follow_app={$app}&follow_area={$area}&follow_id={$id}"}" title="{lang="following_this_content"}" class='ipsButton ipsButton_light ipsButton_fullWidth ipsButton_verySmall' data-ipsHover data-ipsHover-cache='false' data-ipsHover-onClick>{lang="follow_change_preference"} <i class='fa fa-caret-down'></i></a>
		</div>
	{{endif}}
{{endif}}]]></template>
 <template template_group="system" template_name="manualUpgradeRequired" template_data="$link=NULL" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsSpacer_bottom">
		<h2 class='ipsType_sectionHead'>{lang="download_upgrade_error"}</h2>
	</div>
	<div class="ipsSpacer_bottom">
		<p>{lang="delta_upgrade_manual"}</p>
		<div class="ipsType_center">
			<a href="{url="client_area" ips="true"}" class="ipsButton ipsButton_important ipsButton_large" target="_blank" rel="noopener">{lang="delta_upgrade_go_to_clientarea"}</a>
		</div>
		<p>{lang="delta_upgrade_manual_footer"}</p>
	</div>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="upgrade" class="ipsButton ipsButton_primary">{lang="continue"}</a>
</div>]]></template>
 <template template_group="system" template_name="mergeSocialAccount" template_data="$handler, $existingAccount, $login, $error" template_location="front" template_app="core"><![CDATA[<div class="ipsSpacer_both">
	<h1 class='ipsType_veryLarge ipsType_center'>{lang='link_your_accounts'}</h1>
	<p class='ipsType_large ipsType_center ipsType_light'>{lang="link_your_accounts_blurb" sprintf="$handler->_title"}</p>
</div>
<div class='ipsBox ipsPadding'>
	{template="reauthenticate" group="system" params="$login, $error"}
</div>]]></template>
 <template template_group="system" template_name="mfaAccountRecovery" template_data="$message" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('mfa_account_recovery')"}
<div class='ipsLayout_contentSection'>
	{lang="$message"}
</div>
]]></template>
 <template template_group="system" template_name="mfaKnownDeviceInfo" template_data="$url" template_location="front" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
		<h1 class='ipsType_center ipsType_pageTitle ipsSpacer_top'>{lang="mfa_account_recovery"}</h1>
		<p class='ipsType_medium ipsType_richText ipsType_center c2FA_info'>
			{lang="mfa_recovery_known_device_details"}
		</p>
		<div class="ipsPad">
			<ul class="ipsList_reset">
				<li class="ipsSpacer_bottom ipsSpacer_half">
					<a href="{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}" class="ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_medium">{lang="sign_out"}</a>
				</li>
				<li>
					<a href='{$url->setQueryString( array( '_mfa' => 'alt', '_mfaMethod' => '' ) )}' class='ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth'>{lang="mfa_try_another_method"} <i class='fa fa-angle-right'></i></a>
				</li>
			</ul>
		</div>
	</div>
</div>]]></template>
 <template template_group="system" template_name="mfaLogin" template_data="$form" template_location="admin" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<meta charset="utf-8">
		<title>{lang="login"}</title>
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" app="core" group="global" location="global" params=""}
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	</head>
	<body class='ipsApp ipsApp_admin' id='elLogin' data-controller="core.admin.core.app">
		<div id='elLogin_box' data-controller="core.admin.system.login" class='elLogin_single'>
			<div data-role="loginForms">
				<div class='cAcpLoginBox'>
					<div id='elTabContent'>
						{$form|raw}
					</div>
				</div>
			</div>
		</div>
	</body>
</html>]]></template>
 <template template_group="system" template_name="myAttachments" template_data="$files, $used" template_location="front" template_app="core"><![CDATA[<div class="ipsPageHeader ipsClearfix">
	<h1 class="ipsType_pageTitle">{lang="my_attachments"}</h1>
</div>
{{if member.group['g_attach_max'] > 0}}
	<div class='ipsAreaBackground_light ipsPad'>
		<p>{lang="my_attachments_blurb" sprintf="\IPS\Output\Plugin\Filesize::humanReadableFilesize( $used ), \IPS\Output\Plugin\Filesize::humanReadableFilesize( \IPS\Member::loggedIn()->group['g_attach_max'] * 1024 )"}</p>
	</div>
{{endif}}
{{if empty($files)}}
	<div class='ipsPad ipsAreaBackground_light'>
		{lang="my_attachments_empty"}
	</div>
{{else}}
	<div class="ipsGrid ipsAttachment_fileList">
		{{foreach $files as $url => $file}}
			{{$id = mb_substr( $url, mb_strrpos( $url, '=' ) + 1 );}}
			<div class='ipsDataItem ipsAttach ipsAttach_done'>
				<div class='ipsDataItem_generic ipsDataItem_size1 ipsResponsive_hidePhone ipsResponsive_block ipsType_center'>
					{{if \in_array( mb_strtolower( mb_substr( $file->filename, mb_strrpos( $file->filename, '.' ) + 1 ) ), \IPS\Image::supportedExtensions() )}}
						<a href="{$file}"><img src="{$file}" alt='' class='ipsImage' data-ipsLightbox data-ipsLightbox-group="myAttachments"></a>
					{{else}}
						<i class='fa fa-{expression="\IPS\File::getIconFromName( $file->originalFilename )"} ipsType_large'></i>
					{{endif}}
				</div>
				<div class='ipsDataItem_main' data-action='selectFile'>
					<h2 class='ipsDataItem_title ipsType_reset ipsType_medium ipsAttach_title ipsTruncate ipsTruncate_line'>{$file->originalFilename}</h2>
					<p class='ipsDataItem_meta ipsType_light'>
						{filesize="$file->filesize()"}
					</p>
				</div>
				<div class='ipsDataItem_generic ipsDataItem_size6 ipsType_right'>
					<ul class='ipsButton_split'>
						<li>
							<a href='{url="app=core&module=system&controller=attachments&do=view&id={$id}" seoTemplate="attachments"}' class='ipsButton ipsButton_verySmall ipsButton_light' data-ipsTooltip title='{lang="my_attachments_view"}'><i class='fa fa-search'></i></a>
						</li>
					</ul>
				</div>		
			</div>
		{{endforeach}}
	</div>
{{endif}}
]]></template>
 <template template_group="system" template_name="noResults" template_data="" template_location="front" template_app="core"><![CDATA[
<p class='ipsType_center ipsType_large ipsType_light'>{lang="no_results"}</p>]]></template>
 <template template_group="system" template_name="notAdminValidated" template_data="" template_location="front" template_app="core"><![CDATA[<section class='ipsType_center ipsPadding ipsBox'>
	<br>
	<i class='ipsType_huge fa fa-lock'></i>
	<h1 class='ipsType_veryLarge'>{lang="reg_admin_validation"}</h1>

	<p class='ipsType_large'>
		{lang="reg_admin_validation_desc" sprintf="\IPS\Member::loggedIn()->email"}
	</p>
	{{$guest = new \IPS\Member;}}
	<p class='ipsType_normal'>
		<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}' class='ipsButton ipsButton_primary'>{{if $guest->group['g_view_board']}}{lang="reg_continue_as_guest"}{{else}}{lang="sign_out"}{{endif}}</a>
	</p>
	<hr class='ipsHr'>
	<ul class='ipsToolList ipsToolList_horizontal ipsPos_center'>
		<li><a href='{url="app=core&module=system&controller=register&do=cancel" csrf="true" seoTemplate="register"}' class='ipsButton ipsButton_light ipsButton_verySmall' data-confirm data-confirmMessage='{lang="reg_cancel"}' data-confirmSubMessage='{lang="reg_cancel_confirm"}'>{lang="reg_cancel"}</a></li>
	</ul>
</section>]]></template>
 <template template_group="system" template_name="notCoppaValidated" template_data="" template_location="front" template_app="core"><![CDATA[<section class='ipsType_center ipsPadding ipsBox'>
	<h1 class='ipsType_veryLarge ipsType_center'>{lang="coppa_consent_required"}</h1>
	<br>

	<div data-role='registerForm'>
		<p class='ipsType_large'>
			{lang="coppa_consent_required_desc"}
		</p>
		<br><br>

		<a href='{url="app=core&module=system&controller=register&do=coppaForm" seoTemplate="register"}' class='ipsButton ipsButton_primary ipsButton_large'>{lang="coppa_print_form"}</a>
	</div>
</section>]]></template>
 <template template_group="system" template_name="notifications" template_data="$table" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom'>
	<h1 class='ipsType_pageTitle'>{lang="notifications"}</h1>
	<div class="ipsPos_right">
		<a class="ipsButton ipsButton_link" href="{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
		<a class="ipsButton ipsButton_link" href="{url="app=core&module=system&controller=notifications&format=rss" seoTemplate="notifications_rss"}"><i class="fa fa-rss"></i> {lang="rss"}</a>
	</div>
</div>
<div class='ipsBox'>
	{$table|raw}
</div>]]></template>
 <template template_group="system" template_name="notificationsAjax" template_data="$notifications" template_location="front" template_app="core"><![CDATA[{{if empty( $notifications )}}
	<li class='ipsDataItem ipsDataItem_unread'>
		<div class='ipsPad ipsType_light ipsType_center ipsType_normal'>{lang="no_results_notifications"}</div>
	</li>
{{else}}
	{{foreach $notifications as $notification}}
		<li class='ipsDataItem {{if !$notification['notification']->read_time}}ipsDataItem_unread{{endif}}'>
			<div class='ipsDataItem_icon'>
				{{if isset( $notification['data']['author'] )}}
					{template="userPhoto" app="core" group="global" params="$notification['data']['author'], 'mini'"}
				{{endif}}
			</div>
			<div class='ipsDataItem_main'>
				<a href="{$notification['data']['url']}">
					<span class='ipsDataItem_title ipsType_break'>{$notification['data']['title']}</span>
					<br>
					<span class="ipsType_light">{datetime="$notification['notification']->updated_time"}</span>
				</a>
			</div>
		</li>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="system" template_name="notificationSettingsIndex" template_data="$categories" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('notification_options')"}
<div class="ipsBox ipsResponsive_pull ipsSpacer_both">
	<h2 class="ipsType_sectionTitle ipsType_reset">{lang="what_notifications_you_receive"}</h2>
	<div class='ipsAreaBackground_light ipsPadding:half'>
		<ul class="ipsList_reset cNotificationTypes" >
			{{foreach $categories as $k => $enabled}}
				{template="notificationSettingsIndexRow" group="system" params="$k, $enabled"}
			{{endforeach}}
		</ul>
	</div>
</div>
<div class="ipsBox ipsResponsive_pull ipsSpacer_both ipsSpacer_double">
	<h2 class="ipsType_sectionTitle ipsType_reset">{lang="where_you_receive_notifications"}</h2>
	<div class="ipsGrid ipsGrid_collapsePhone">
		<div class="ipsGrid_span4 ipsPadding">
			<div class="cNotificationMethodIcon">
				<img src="{resource="notification_settings/notification_bell.svg"}">
			</div>
			<div class="cNotificationMethodDetails">
				<p class="ipsType_reset ipsType_large">{lang="member_notifications_inline"}</p>
				<p class="ipsType_light">{lang="member_notifications_inline_desc"}</p>
			</div>
		</div>
		{{if \IPS\Notification::webPushEnabled() || \count( \IPS\Member::loggedIn()->getPwaAuths() )}}
			<div class="ipsGrid_span4 ipsPadding">
				<div class="cNotificationMethodIcon">
					<img src="{resource="notification_settings/push.svg"}">
				</div>
				<div class="cNotificationMethodDetails">
					<p class="ipsType_reset ipsType_large">{lang="member_notifications_push"}</p>
						<p class="ipsType_light">{lang="member_notifications_push_desc"}</p>
					<ul class='ipsList_reset'>
						{{if \IPS\Notification::webPushEnabled()}}
							<li class='ipsBorder_top ipsPadding_vertical:half' data-action="enablePush" style='display: none'>
								<a href='#' title="{lang="member_notifications_push_enable"}">{lang="member_notifications_push_enable"} <i class='fa fa-angle-right'></i> </a>
							</li>
						{{endif}}
						{{if \IPS\Notification::webPushEnabled() && \count( \IPS\Member::loggedIn()->getPwaAuths() ) }}
							<li class='ipsBorder_top ipsPadding_vertical:half'>
								<a href="{url="app=core&module=system&controller=notifications&do=disable&type=push" csrf="true"}" data-confirm data-confirmIcon="false" data-confirmMessage="{lang="member_notifications_push_stop_desc"}" data-confirmSubMessage="{lang="member_notifications_push_stop_desc_sub"}">{lang="member_notifications_push_stop"} <i class='fa fa-angle-right'></i></a>
							</li>
						{{endif}}
					</ul>
				</div>
			</div>
		{{endif}}
		<div class="ipsGrid_span4 ipsPadding">
			<div class="cNotificationMethodIcon">
				<img src="{resource="notification_settings/email.svg"}">
			</div>
			<div class="cNotificationMethodDetails">
				<p class="ipsType_reset ipsType_large">{lang="member_notifications_email"}</p>
				<p class="ipsType_light">{lang="member_notifications_email_desc" sprintf="\IPS\Member::loggedIn()->email"}</p>
				<ul class='ipsList_reset'>
					<li class='ipsBorder_top ipsPadding_vertical:half'>
						<a href="{url="app=core&module=system&controller=notifications&do=disable&type=email" csrf="true"}" data-confirm>{lang="member_notifications_email_stop"} <i class='fa fa-angle-right'></i></a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
{{if \IPS\core\Stream\Subscription::hasSubscribedStreams() }}
<div class="ipsBox">
    <h2 class='ipsType_sectionTitle ipsType_reset'>{lang='stream_subscriptions'}</h2>

        {{foreach \IPS\core\Stream\Subscription::getSubscribedStreams() as $stream }}
    <div class='ipsGrid '>
        <div class='ipsGrid_span8 ipsPadding'>
            <a href="{$stream->stream->url()}">{$stream->stream->_title}</a>
        </div>
        <div class='ipsGrid_span4 ipsPadding'>
           <a href="{$stream->stream->url()->setQueryString('do','unsubscribe')->csrf()}" data-confirm data-confirmSubMessage="{lang="stream_unsubscribe_confirm"}" >{lang="stream_unsubscribe"}</a>
        </div>
    </div>
        {{endforeach}}

</div>
{{endif}}]]></template>
 <template template_group="system" template_name="notificationSettingsIndexRow" template_data="$k, $enabled" template_location="front" template_app="core"><![CDATA[<li class="cNotificationTypes__row ipsAreaBackground_reset ipsPos_relative ipsLoading_tiny">
	<a href="{url="app=core&module=system&controller=notifications&do=options&type={$k}" seoTemplate="notifications_options"}" class="ipsFlex ipsFlex-ai:center sm:ipsFlex-ai:start ipsFlex-jc:between ipsType_blendLinks ipsPadding" data-action="showNotificationSettings">
		{template="notificationSettingsIndexRowDetails" group="system" params="$k, $enabled"}
	</a>
	<div data-role="notificationSettingsWindow" class="ipsHide ipsPadding">
		
	</div>
</li>]]></template>
 <template template_group="system" template_name="notificationSettingsIndexRowDetails" template_data="$k, $enabled" template_location="front" template_app="core"><![CDATA[
<div class='ipsFlex-flex:11'>
	<h3 class="ipsType_reset ipsType_large ipsType_bold ipsType_darkText cNotificationTypes__row__title">
		{lang="notifications__$k"}
	</h3>

	{{if \count( $enabled )}}
		<ul class='ipsList_reset ipsFlex ipsFlex-ai:center sm:ipsFlex-fd:column sm:ipsFlex-ai:start ipsGap:4 sm:ipsGap:1 cNotificationTypes__row__types'>
			{{foreach $enabled as $k => $v}}
				{{if $v['icon'] !== 'envelope-o' and $v['icon'] !== 'bell-o' and $v['icon'] !== 'mobile'}}
					<li {{if isset( $v['description'] )}}title="{lang="$v['description']"}" data-ipsTooltip{{endif}}>
						<i class="fa fa-fw fa-{$v['icon']}"></i> {$v['title']}
					</li>
				{{endif}}
				{{if $v['icon'] === 'bell-o' or $v['icon'] === 'mobile'}}
					<li>
						<i class="fa fa-fw fa-{$v['icon']}"></i> {$v['title']}
					</li>
				{{endif}}
				{{if $v['icon'] === 'envelope-o'}}
					<li>
						<i class="fa fa-fw fa-{$v['icon']}"></i> {$v['title']}
					</li>
				{{endif}}
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_reset ipsType_light'>
			{lang="notifications_none_selected"}
		</p>
	{{endif}}
</div>
<div class="cNotificationSettings_expand ipsType_center">
	<i class="fa fa-angle-down"></i>
</div>]]></template>
 <template template_group="system" template_name="notificationSettingsType" template_data="$title, $form, $ajax=FALSE" template_location="front" template_app="core"><![CDATA[{{if $ajax}}
	<div class="ipsClearfix">
		<a href="#" class="ipsDialog_close" data-action="closeNotificationSettings">×</a>
		<h3 class="ipsType_reset ipsType_large ipsType_bold ipsType_darkText cNotificationTypes__row__title">
			{$title}
		</h3>
	</div>
	<div class="ipsSpacer_top">
		{$form|raw}
	</div>
{{else}}
	{template="pageHeader" group="global" params="$title"}
	<div class="ipsBox ipsPadding">
		{$form|raw}
	</div>
{{endif}}]]></template>
 <template template_group="system" template_name="notificationsRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}} 
	{{foreach $rows as $notification}}
		{{if isset( $notification['data']['title'] )}}
			<li class='ipsDataItem {{if $notification['data']['unread']}}ipsDataItem_unread{{endif}} ipsClearfix'>
				<div class='ipsDataItem_icon'>
					{{if isset( $notification['data']['author'] )}}
						{template="userPhoto" app="core" group="global" params="$notification['data']['author'], 'tiny'"}
					{{endif}}
				</div>
				<div class='ipsDataItem_main'>
					{{if !$notification['data']['unread']}}
						<span class="ipsItemStatus ipsItemStatus_small ipsItemStatus_read">
							<i class="fa fa-circle"></i>
						</span>
						<strong>
					{{endif}}
							<a href="{$notification['data']['url']}" class='ipsDataItem_title'>{$notification['data']['title']}</a>
					{{if !$notification['data']['unread']}}
						</strong>
					{{endif}}
					<br>
					<span class="ipsType_light">{datetime="$notification['notification']->updated_time"}</span>
				</div>
			</li>
			{{endif}}
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="system" template_name="notificationsTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom'>
	<h1 class='ipsType_pageTitle'>{lang="notifications"}</h1>
	<div class="ipsPos_right">
		<a class="ipsButton ipsButton_light ipsButton_verySmall" href="{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}"><i class="fa fa-cog"></i> {lang="notification_options"}</a>
	</div>
</div>

<div class='ipsBox'>
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>

	{{if \is_array( $rows ) AND \count( $rows )}}
		<ol class='ipsDataList ipsClear cForumTopicTable {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
	{{else}}
		<div class='ipsType_center ipsPadding:half'>
			<p class='ipsType_large'>{lang="notifications_none"}</p>
		</div>
	{{endif}}

	
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="system" template_name="notValidated" template_data="$validating=array()" template_location="front" template_app="core"><![CDATA[<section class='ipsType_center ipsBox ipsPadding'>
	<br><br>
	<i class='ipsType_huge fa fa-envelope'></i>
	<h1 class='ipsType_veryLarge'>{lang="reg_confirm_email"}</h1>

	<p class='ipsType_large'>
		{lang="reg_confirm_email_desc" sprintf="\IPS\Member::loggedIn()->email"}
	</p>
	<p class='ipsType_large'>
		{lang="reg_confirm_email_must"}
	</p>
	<hr class='ipsHr'>
	<p class='ipsType_normal'>
		<ul class='ipsToolList ipsToolList_horizontal ipsPos_center'>
			<li><a href='{url="app=core&module=system&controller=register&do=resend" seoTemplate="register" csrf="true"}' class='ipsButton ipsButton_light ipsButton_verySmall'>{lang="reg_resend_email"}</a></li>
			<li><a href='{url="app=core&module=system&controller=register&do=changeEmail" seoTemplate="register"}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="reg_change_email"}' data-ipsDialog-modal='true' class='ipsButton ipsButton_light ipsButton_verySmall'>{lang="reg_change_email"}</a></li>
			<li><a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}' class='ipsButton ipsButton_light ipsButton_verySmall'>{lang="sign_out"}</a></li>
			{{if $validating['new_reg'] AND !\IPS\Member::loggedIn()->members_bitoptions['created_externally']}}
				<li><a href='{url="app=core&module=system&controller=register&do=cancel" csrf="true" seoTemplate="register"}' class='ipsButton ipsButton_light ipsButton_verySmall' data-confirm data-confirmMessage='{lang="reg_cancel"}' data-confirmSubMessage='{lang="reg_cancel_confirm"}'>{lang="reg_cancel"}</a></li>
			{{endif}}
		</ul>
	</p>
</section>]]></template>
 <template template_group="system" template_name="offline" template_data="$message" template_location="front" template_app="core"><![CDATA[<div id='ipsLayout_mainArea'>
	<div class='ipsBox_alt'>
		<br>
		<h1 class='ipsType_pageTitle'>{lang='offline_unavailable' sprintf='\IPS\Settings::i()->board_name'}</h1>
		<br>
		<div class='ipsRichText ipsType_normal'>
			{$message|raw}
		</div>
		<br>
		{{if member.member_id}}
			<a href='{url="app=core&module=system&controller=login&do=logout" seoTemplate="logout" csrf="1"}' class='ipsButton ipsButton_medium ipsButton_primary'>{lang='sign_out'}</a>
		{{else}}
			<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_medium ipsButton_primary'>{lang='login'}</a>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="system" template_name="pixabay" template_data="$uploader" template_location="front" template_app="core"><![CDATA[<div data-controller='core.global.stockart.pixabay' data-uploader="{$uploader}">
	<div class='ipsPixabay_content' data-role='pixabayResults'>
		<div data-role='pixabayLoading'>
			
		</div>
		<div class='ipsPixabay_moar' data-role='pixabayMore' data-offset='0'>
			<div data-role='pixabayMoreLoading' class='ipsType_light ipsHide ipsSpacer_bottom'><i class='fa fa-circle-o-notch fa-spin fa-fw'></i>{lang="loading"}</div>
		</div>
	</div>
	<div class='ipsMenu_footerBar'>
		<input type='text' data-role='pixabaySearch' class='ipsField_fullWidth' placeholder='{lang="search"}'>
		<a href="https://pixabay.com/" target='_blank' rel="noopener external nofollow" class="ipsPixabay_attribution"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 123.87"><g><path d="M523.513 40.165c-3.478-2.46-6.005-4.955-6.005-8.033H498.17c0 5.539-2.527 8.033-5.645 8.033h-5.164v56.236h100.42V40.165h-64.63zm-6.006 16.067h-18.096V48.2h20.084v6.464zm33.991 31.276c-11.457 0-20.779-9.201-20.779-20.513s9.322-20.04 20.78-20.04c11.456 0 20.777 8.729 20.777 20.04s-9.32 20.513-20.778 20.513zm11.17-20.513c0 6.08-5.01 11.028-11.169 11.028-6.159 0-11.17-4.947-11.17-11.028 0-6.08 5.011-11.027 11.17-11.027 6.158 0 11.17 4.947 11.17 11.027zm77.334-34.48l-25 63.735-19.185-7.693V77.695l13.323 5.452 17.592-44.844-65.92-25.205-6.11 19.034h-11L554.95-.003l85.053 32.52z"/><g><path d="M33.952 28.507c16.562-.38 32.107 13.09 33.856 29.606C69.9 72.627 61.362 87.7 47.98 93.592 39.874 97.616 30.72 96.38 22 96.585h-8.518v27.29H-.011c.03-21.057-.054-42.116.042-63.174.441-15.684 13.287-29.735 28.795-31.823a34.551 34.551 0 015.126-.372zm0 54.582c9.733.244 18.861-7.35 20.314-16.992 1.94-9.706-4.252-20.135-13.717-23.046-9.141-3.244-20.14 1.027-24.604 9.66-3.464 5.897-2.233 12.87-2.463 19.369v11.01h20.47zM74.334 28.177h13.34v68.08h-13.34v-68.08zM127.764 71.16h.486l18.963 25.284h16.531l-25.77-35.008 22.853-33.063h-16.532L128.25 51.71h-.486l-16.046-23.338H95.187l22.852 33.063-25.77 35.008h16.532z"/><path d="M193.953 28.177c13.511-.267 26.471 8.585 31.472 21.082 2.61 5.804 2.574 12.234 2.49 18.465v28.532c-12.04-.041-24.085.083-36.124-.065-13.842-.675-26.5-10.768-30.462-24.013-3.633-11.515-.614-24.886 7.936-33.485 6.388-6.608 15.465-10.604 24.687-10.516zm20.47 54.586c-.058-7.57.121-15.147-.1-22.711-.798-10.142-10.192-18.639-20.37-18.378-9.678-.234-18.8 7.274-20.315 16.854-1.773 9.194 3.505 19.212 12.279 22.643 5.404 2.357 11.373 1.385 17.085 1.592h11.42zM268.523 28.507c15.98-.394 30.91 12.179 33.455 27.916 2.887 14.915-5.539 31.029-19.427 37.169-13.573 6.406-31.026 2.278-40.36-9.46-5.784-6.815-8.277-15.875-7.784-24.709V1.216H247.9v27.29c6.874.001 13.75-.001 20.623.002zm0 54.582c10.248.274 19.616-8.33 20.367-18.525 1.285-10.133-6.226-20.324-16.256-22.166-5.546-.759-11.18-.248-16.766-.398H247.9c.087 7.691-.184 15.397.155 23.078 1.072 10.161 10.261 18.21 20.468 18.011zM341.648 28.177c13.513-.267 26.472 8.586 31.473 21.082 2.61 5.804 2.574 12.234 2.49 18.465v28.532c-12.04-.041-24.085.083-36.124-.065-13.841-.675-26.499-10.768-30.462-24.013-3.632-11.515-.614-24.886 7.936-33.485 6.388-6.608 15.465-10.604 24.687-10.516zm20.47 54.586c-.057-7.57.122-15.147-.099-22.711-.798-10.142-10.192-18.639-20.371-18.378-9.677-.234-18.8 7.274-20.314 16.854-1.773 9.194 3.505 19.212 12.279 22.643 5.404 2.357 11.373 1.385 17.085 1.592h11.42zM449.87 28.342c-.028 21.007.055 42.017-.041 63.022-.49 16.533-14.697 31.392-31.284 32.256-3.151.166-6.308.065-9.463.093V110.22c5.758-.029 11.918.556 17.017-2.705 6.37-3.573 10.418-10.779 10.274-18.066-11.96 9.644-30.502 9.143-42.133-.811-8.474-6.841-13.105-17.846-12.45-28.675v-31.62h13.492c.062 12.019-.127 24.046.1 36.059.732 9.893 9.554 18.266 19.468 18.502 10.047.772 19.717-7.03 21.216-16.969.605-5.946.176-11.952.305-17.924V28.343h13.497z"/></g></g></svg></a>
	</div>
</div>
]]></template>
 <template template_group="system" template_name="privacy" template_data="$subprocessors" template_location="front" template_app="core"><![CDATA[{template="pageHeader" if="!\IPS\Request::i()->isAjax()" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('privacy')"}
<div class='ipsBox_alt ipsType_normal ipsType_richText ipsPad'>
	{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('privacy_text_value'), array('ipsType_normal')"}
	{{if \IPS\Settings::i()->site_address and \IPS\Settings::i()->site_address != "null"}}
		<p>{setting="board_name"}, {address="\IPS\Settings::i()->site_address"}</p>
	{{endif}}
	{{if $subprocessors and \count($subprocessors)}}
	<div>
		<h3 class="ipsType_large">{lang="pp_third_parties"}</h3>
		{{foreach $subprocessors as $processor}}
			<div class="ipsPadding_bottom">
				<strong>{$processor['title']}</strong>
				<div>{$processor['description']}</div>
				<div><a href="{$processor['privacyUrl']}">{lang="pp_privacy_policy"}</a></div>
			</div>
		{{endforeach}}
	</div>
	{{endif}}
</div>
]]></template>
 <template template_group="system" template_name="profileCompleteSocial" template_data="$step, $socialButton, $action" template_location="front" template_app="core"><![CDATA[	{$socialButton|raw}

	{{if !$step->required OR $step->completed()}}
		<ul class="ipsPad ipsToolList ipsToolList_horizontal ipsList_reset ipsClearfix ipsAreaBackground">
			<li><a href="{$action->setQueryString('_moveToStep', $step->getNextStep())}" data-action="wizardLink" class="ipsButton ipsButton_link ipsJS_none">{lang="profile_complete_skip_step"}</a></li>
		</ul>
	{{endif}}]]></template>
 <template template_group="system" template_name="reauthenticate" template_data="$login, $error, $blurb=NULL" template_location="front" template_app="core"><![CDATA[<form accept-charset='utf-8' method='post' action='{$login->url}'>
	<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
	{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
	{{$buttonMethods = $login->buttonMethods();}}
	{{if $blurb}}
		<p class='ipsType_normal ipsType_reset ipsSpacer_bottom'>
			{lang="$blurb"}
		</p>
	{{endif}}
	{{if $error}}
		<div class="ipsMessage ipsMessage_error">{lang="$error"}</div>
	{{endif}}
	{{if $usernamePasswordMethods and $buttonMethods}}
		<div class='ipsColumns ipsColumns_collapsePhone'>
			<div class='ipsColumn ipsColumn_fluid'>
				<p class='ipsType_normal ipsType_reset ipsSpacer_bottom'>
					{{if $blurb}}
						{lang="reauthenticate_password_blurb2"}
					{{else}}
						{lang="reauthenticate_password_blurb"}
					{{endif}}
				</p>
				<ul class='ipsForm'>
					<li class="ipsFieldRow ipsFieldRow_fullWidth ipsClearfix">
						<div class="ipsFieldRow_content">
							<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}} autocomplete="current-password">
						</div>
					</li>
					<li class="ipsFieldRow ipsFieldRow_fullWidth">
						<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton_primary ipsButton_small" id="elSignIn_submit">{lang="reauthenticate"}</button>
					</li>
				</ul>
				{{if settings.allow_forgot_password != 'disabled'}}
					<p class="ipsType_right ipsType_small">
						{{if settings.allow_forgot_password == 'redirect'}}
							<a href='{expression="\IPS\Settings::i()->allow_forgot_password_target"}' target="_blank" rel="noopener">
						{{else}}
							<a href='{url="app=core&module=system&controller=lostpass" seoTemplate="lostpassword"}' {{if \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-title='{lang="forgotten_password"}'{{endif}}>
						{{endif}}
						{lang="forgotten_password"}</a>
					</p>
				{{endif}}
			</div>
			<div class='ipsColumn ipsColumn_veryWide'>
				<p class='ipsType_normal ipsType_reset'>{lang='reauthenticate_alt_blurb'}</p>
				<div class='ipsGap:2 ipsMargin_top:half'>
					{{foreach $buttonMethods as $method}}
						<div class='ipsType_center'>
							{$method->button()|raw}
						</div>
					{{endforeach}}
				</div>
			</div>
		</div>
	{{elseif $usernamePasswordMethods}}
		<p class='ipsType_normal ipsType_reset ipsSpacer_bottom'>
			{{if $blurb}}
				{lang="reauthenticate_password_blurb2"}
			{{else}}
				{lang="reauthenticate_password_blurb"}
			{{endif}}
		</p>
		<ul class='ipsForm'>
			<li class="ipsFieldRow ipsClearfix">
				<div class="ipsFieldRow_content">
					<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}}>
				</div>
			</li>
			<li class="ipsFieldRow">
				<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton_primary ipsButton_small" id="elSignIn_submit">{lang="reauthenticate"}</button>
				{{if settings.allow_forgot_password != 'disabled'}}
					&nbsp;&nbsp;&nbsp;
					{{if settings.allow_forgot_password == 'redirect'}}
						<a href='{expression="\IPS\Settings::i()->allow_forgot_password_target"}' target="_blank" rel="noopener" class="ipsType_small">
					{{else}}
						<a href='{url="app=core&module=system&controller=lostpass" seoTemplate="lostpassword"}' data-ipsDialog data-ipsDialog-title='{lang="forgotten_password"}' class="ipsType_small">
					{{endif}}
					{lang="forgotten_password"}</a>
				{{endif}}
			</li>
		</ul>
	{{elseif $buttonMethods}}
		{{if !$blurb}}
			<p class='ipsType_normal ipsType_reset ipsSpacer_bottom'>
				{lang="reauthenticate_button_blurb"}
			</p>
		{{endif}}
		<div class='ipsGap:2 ipsMargin_top:half'>
			{{foreach $buttonMethods as $method}}
				<div class='ipsType_center'>
					{$method->button()|raw}
				</div>
			{{endforeach}}
		</div>
	{{endif}}
	
</form>
]]></template>
 <template template_group="system" template_name="reconfirmTerms" template_data="$terms, $privacy, $form, $subprocessors" template_location="front" template_app="core"><![CDATA[
<div class="ipsBox">
	<div class="ipsPadding">

		{{if member.joined->getTimestamp() < ( time() - 60 )}}
			<div class="ipsType_large ipsSpacer_bottom">
				{{if $terms and $privacy}}
					{lang="reconfirm_terms_and_policy_blurb"}
				{{elseif $terms}}
					{lang="reconfirm_terms_blurb"}
				{{else}}
					{lang="reconfirm_privacy_blurb"}
				{{endif}}
			</div>
		{{endif}}

		{{if $terms}}
			<div class="ipsSpacer_bottom">
				<h2 class="ipsType_sectionHead">{lang="reg_terms"}</h2>
				<div class='ipsType_normal ipsType_richText ipsPadding'>
					{lang="reg_rules_value"}
				</div>
			</div>
		{{endif}}
		
		{{if $privacy}}
			<div class="ipsSpacer_bottom">
				<h2 class="ipsType_sectionHead">{lang="privacy"}</h2>
				<div class='ipsType_normal ipsType_richText ipsPadding'>
					{{if \IPS\Settings::i()->privacy_type == 'external'}}
						<a href='{setting="privacy_link"}' rel='external'>{lang="view_privacy_policy"}</a>
					{{else}}
						{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('privacy_text_value'), array('ipsType_normal')"}
					{{endif}}
					{{if \IPS\Settings::i()->site_address and \IPS\Settings::i()->site_address != "null"}}
						<p>{setting="board_name"}, {address="\IPS\Settings::i()->site_address"}</p>
					{{endif}}
					{{if $subprocessors and \count($subprocessors)}}
					<div>
						<h3 class="ipsType_large">{lang="pp_third_parties"}</h3>
						{{foreach $subprocessors as $processor}}
							<div class="ipsPadding_bottom">
								<strong>{$processor['title']}</strong>
								<div>{$processor['description']}</div>
								<div><a href="{$processor['privacyUrl']}">{lang="pp_privacy_policy"}</a></div>
							</div>
						{{endforeach}}
					</div>
					{{endif}}
				</div>
			</div>
		{{endif}}
	</div>
	<div class="ipsAreaBackground ipsPadding ipsType_center">
		{$form|raw}
	</div>
</div>]]></template>
 <template template_group="system" template_name="referralsRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}} 
	{{foreach $rows as $row}}
		{{$member = \IPS\Member::load( $row['member_id'] );}}
		<li class='ipsPhotoPanel ipsPhotoPanel_tiny'>
			{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}	
			<div>
				<strong>
					<a href="{$member->url()}">{member="name" id="$row['member_id']"}</a>
				</strong>
				<br>
				<span class='ipsType_light ipsType_small'>{datetime="$row['joined']"}</span>
			</div>
		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="system" template_name="referralTable" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div class='cReferal_members' data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}} data-tableID='{expression="md5($table->baseUrl->stripQueryString($table->getPaginationKey()))"}'>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}
    {{if \count( $rows )}}
		<ol class='ipsList_inline ipsClearfix ipsSpacer_top ipsSpacer_half' id='elTable_{$table->uniqueId}' data-role="tableRows">
			{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
		</ol>
    <div class="ipsButtonBar ipsPadding_top ipsBorder:none ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
        {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
    </div>
	{{else}}
		{lang="referral_no_referrals"}
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="register" template_data="$form, $login, $postBeforeRegister" template_location="front" template_app="core"><![CDATA[
<section class='ipsBox_alt ipsPad'>
	<div data-role='registerForm'>
		<div class='ipsColumns ipsColumns_collapseTablet'>
			{{$buttonMethods = $login->buttonMethods();}}
			{{if $buttonMethods}}
				<div class='ipsColumn ipsColumn_fluid'>
			{{endif}}
					<div class='ipsBox {{if !$buttonMethods}}cRegister_noSocial ipsPos_center{{endif}}'>
						<div class='ipsPadding ipsBorder_bottom'>
							{{if $postBeforeRegister}}
								<h1 class='ipsType_pageTitle ipsType_reset'>{lang="post_before_register_headline"}</h1>
								{{if !\IPS\Request::i()->hidereminder}}<p class='ipsType_reset ipsType_large ipsType_light'>{lang="post_before_register_subtext"}</p>{{endif}}
							{{else}}
								<h1 class='ipsType_pageTitle ipsType_reset'>{lang='sign_up'}</h1>
								<p class='ipsType_reset ipsType_large ipsType_light'>{lang="existing_user"} <a href='{$login->url}'>{lang="sign_in_short"}</a></p>
							{{endif}}
						</div>
						{$form|raw}
					</div>
			{{if $buttonMethods}}
				</div>
				<div class='ipsColumn ipsColumn_wide' id='elRegisterSocial'>
					<div class='ipsBox ipsPad'>
						<h2 class='ipsType_sectionHead'>{lang='reg_start_faster'}</h2>
						<p class='ipsType_normal ipsType_reset ipsType_light'>{lang='reg_connect'}</p>
						<br>
						<form accept-charset='utf-8' method='post' action='{$login->url}'>
							<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
							<div class='ipsGap:2'>
								{{foreach $buttonMethods as $method}}
									<div class='ipsType_center'>
										{$method->button()|raw}
									</div>
								{{endforeach}}
							</div>
						</form>
					</div>
				</div>
			{{endif}}
		</div>
	</div>
</section>]]></template>
 <template template_group="system" template_name="registerSetPassword" template_data="$form,$member" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack( 'set_password_title', FALSE, array( 'sprintf' => array( $member->name ) ) )"}
<div class='ipsLayout_contentSection ipsBox ipsPad'>
	{$form|raw}
</div>]]></template>
 <template template_group="system" template_name="registerWrapper" template_data="$content" template_location="front" template_app="core"><![CDATA[
<div id='elRegisterForm' class='ipsPos_center ipsPad' data-controller='core.front.system.register'>
	{$content|raw}
</div>]]></template>
 <template template_group="system" template_name="reportedAlready" template_data="$index, $report, $content" template_location="front" template_app="core"><![CDATA[<div class="ipsPad ipsType_center">
	<div class="ipsType_large">{lang="automoderation_already_reported" htmlsprintf="\IPS\DateTime::ts( $report['date_reported'] )->html()"}</div>
	<div class="ipsPad">
		<a data-confirm href="{$content->url()->setQueryString( array( 'do' => 'deleteReport', 'cid' => $report['id'] ) )->csrf()}" class='ipsButton ipsButton_primary'>{lang="automoderation_already_reported_delete"}</a>
	</div>
</div>]]></template>
 <template template_group="system" template_name="reportForm" template_data="$form" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('report')"}
<div class="ipsLayout_contentSection ipsBox ipsPad">
	{$form|raw}
</div>]]></template>
 <template template_group="system" template_name="resetPass" template_data="$form" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('lost_password')"}
<div class='ipsLayout_contentSection ipsBox ipsPad'>
	{lang="reset_pass_instructions"}
	<br>
	<br>
	{$form|raw}
</div>]]></template>
 <template template_group="system" template_name="searchResult" template_data="$indexData, $articles, $authorData, $itemData, $unread, $objectUrl, $itemUrl, $containerUrl, $containerTitle, $repCount, $showRepUrl, $snippet, $iPostedIn, $view, $canIgnoreComments=FALSE, $reactions=array()" template_location="front" template_app="core"><![CDATA[
<li class='ipsStreamItem ipsStreamItem_contentBlock ipsStreamItem_{$view} ipsAreaBackground_reset ipsPad {{if isset( $indexData['index_class']::$searchResultClassName )}}{$indexData['index_class']::$searchResultClassName}{{endif}} {{if $indexData['index_hidden']}}ipsModerated{{endif}}' data-role='activityItem' data-timestamp='{$indexData['index_date_created']}'>
	<div class='ipsStreamItem_container ipsClearfix'>
		{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
			{{$itemClass = $indexData['index_class']::$itemClass;}}
			<div class='ipsStreamItem_header ipsPhotoPanel ipsPhotoPanel_mini'>
				{{if $indexData['index_title']}}
					<span class='ipsStreamItem_contentType' data-ipsTooltip title='{lang="$itemClass::$title"}'><i class='fa fa-{$itemClass::$icon}'></i></span>
				{{else}}				
					<span class='ipsStreamItem_contentType' data-ipsTooltip title='{lang="$indexData['index_class']::$title"}'><i class='fa fa-{$indexData['index_class']::$icon}'></i></span>
				{{endif}}
				{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view !== 'condensed' ) ? 'mini' : 'tiny'"}
				<div class='{{if $unread}}ipsStreamItem_unread{{endif}}'>
					{{if $view == 'condensed' && $snippet}}
						<div class='ipsPhotoPanel ipsPhotoPanel_small'>
							{$snippet|raw}
							<div>
					{{endif}}
					<h2 class='ipsType_reset ipsStreamItem_title ipsContained_container {{if !$indexData['index_title'] or $view == 'condensed'}}ipsStreamItem_titleSmall{{endif}}'>
						{{if $unread}}
							<span>
								<a href='{{if member.member_id}}{$objectUrl->stripQueryString( array( 'comment' => 'comment', 'review' => 'review' ) )->setQueryString( 'do', 'getNewComment' )}{{else}}{$objectUrl->stripQueryString( array( 'comment' => 'comment', 'review' => 'review' ) )}{{endif}}' data-linkType="star" {{if $iPostedIn}}data-iPostedIn{{endif}} title='{lang="first_unread_post"}' data-ipsTooltip>
									<span class='ipsItemStatus {{if $iPostedIn}}ipsItemStatus_posted{{endif}}'><i class="fa fa-{{if $iPostedIn}}star{{else}}circle{{endif}}"></i></span>
								</a>
							</span>
						{{elseif $iPostedIn}}
							<span><span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span></span>
						{{endif}}
						{{if isset( $indexData['index_prefix'] )}}
								<span>{template="prefix" group="global" app="core" params="rawurlencode($indexData['index_prefix']), $indexData['index_prefix']"}</span>
						{{endif}}
						<span class='ipsType_break ipsContained'>
							<a href='{$objectUrl}' data-linkType="link" data-searchable>{{if ! empty( $itemData['extra']['solved'] ) }}<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span>{{endif}} {$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['title'] ]}</a>
						</span>
						{{if $indexData['index_hidden']}}
								{{if $indexData['index_hidden'] === -1}}
								<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span></span>
								{{elseif $indexData['index_hidden'] === 1}}
								<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
								{{endif}}
						{{endif}}
					</h2>
					{{if $view != 'condensed'}}
						<p class='ipsType_reset ipsStreamItem_status ipsType_blendLinks'>
							{expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
						</p>
					{{else}}
						<ul class='ipsList_inline ipsStreamItem_stats ipsType_light ipsType_blendLinks'>
							<li>
								<a rel="nofollow" href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'><i class='fa fa-clock-o'></i> {datetime="$indexData['index_date_created']"}</a>
							</li>
							{{if isset( $itemClass::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] ) and $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] > ( $itemClass::$firstCommentRequired ? 1 : 0 )}}
								<li>
									<a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'>
										{{if $itemClass::$firstCommentRequired}}
											<i class='fa fa-comment'></i> {expression="$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ]-1"}
										{{else}}
											<i class='fa fa-comment'></i> {expression="$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ]"}
										{{endif}}
									</a>
								</li>
							{{endif}}
							{{if isset( $itemClass::$databaseColumnMap['num_reviews'] ) and isset( $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_reviews'] ] ) and $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_reviews'] ]}}
								<li>
									<a href='{$itemUrl}#reviews' class='ipsType_blendLinks'><i class='fa fa-star-half-o'></i> {$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_reviews'] ]}</a>
								</li>
							{{endif}}
						</ul>

						<p class='ipsStreamItem_status ipsType_reset ipsType_blendLinks'>
							{expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
						</p>
					{{endif}}
					{{if isset( $indexData['index_tags'] ) and $view == 'condensed'}}
						<span>{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true, true"}</span>
					{{endif}}
						
					{{if $view == 'condensed' && $snippet}}
							</div>
						</div>
					{{endif}}
				</div>
			</div>
			{{if $view !== 'condensed'}}
				<div class='ipsStreamItem_snippet ipsType_break'>
					{{if $canIgnoreComments and isset( $itemData['author'] ) and \IPS\Member::loggedIn()->member_id and isset( $authorData['member_id'] ) and isset ( $authorData['member_group_id'] ) and \IPS\Member::loggedIn()->isIgnoring( $authorData, 'topics' )}}
					<div class='ipsComment_ignored ipsType_light' id='elIgnoreComment_{$indexData['index_object_id']}' data-ignoreCommentID='elComment_{$indexData['index_object_id']}' data-ignoreUserID='{$authorData['member_id']}'>
						{lang="ignoring_content" sprintf="$authorData['name']"} <a href='#elIgnoreComment_{$indexData['index_object_id']}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$indexData['index_object_id']}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$indexData['index_object_id']}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
						<ul class='ipsMenu ipsHide' id='elIgnoreComment_{$indexData['index_object_id']}_menu'>
							<li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
							<li class='ipsMenu_sep ipsJS_show'><hr></li>
							<li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$authorData['member_id']}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$authorData['name']"}</a></li>
							<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
						</ul>
					</div>
					<div id='elComment_{$indexData['index_object_id']}' class="ipsHide">
						{$snippet|raw}
					</div>
					{{else}}
					 	{$snippet|raw}
					{{endif}}
				</div>
				<ul class='ipsList_inline ipsStreamItem_meta ipsGap:1'>
					<li class='ipsType_light ipsType_medium'>
						<a rel="nofollow" href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'><i class='fa fa-clock-o'></i> {datetime="$indexData['index_date_created']"}</a>
					</li>
					{{if isset( $itemClass::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] ) and $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] > ( $itemClass::$firstCommentRequired ? 1 : 0 )}}
						<li class='ipsType_light ipsType_medium'>
							<a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'>
								{{if $itemClass::$firstCommentRequired}}
									<i class='fa fa-comment'></i> {lang="num_replies" pluralize="$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] - 1"}
								{{else}}
									<i class='fa fa-comment'></i> {lang="num_comments" pluralize="$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ]"}
								{{endif}}
							</a>
						</li>
					{{endif}}
					{{if \IPS\IPS::classUsesTrait( $indexData['index_class'], 'IPS\Content\Reactable' ) and settings.reputation_enabled and \count( $reactions )}}
						{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}
							<li>{template="searchReaction" group="search" app="core" params="$reactions, $itemUrl->setQueryString('do', 'showReactionsReview')->setQueryString('review', $indexData['index_object_id']), $repCount"}</li>
						{{else}}
							<li>{template="searchReaction" group="search" app="core" params="$reactions, $itemUrl->setQueryString('do', 'showReactionsComment')->setQueryString('comment', $indexData['index_object_id']), $repCount"}</li>
						{{endif}}
					{{endif}}
					{{if isset( $indexData['index_tags'] )}}
						<li>{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true"}</li>
					{{endif}}
				</ul>
			{{endif}}
		{{else}}
			{{$itemClass = $indexData['index_class'];}}

			<div class='ipsStreamItem_header {{if isset( $itemClass::$databaseColumnMap['author'] )}}ipsPhotoPanel ipsPhotoPanel_mini{{endif}}'>
				<span class='ipsStreamItem_contentType {{if !isset( $itemClass::$databaseColumnMap['author'] )}}ipsResponsive_hidePhone{{endif}}' data-ipsTooltip title='{lang="$indexData['index_class']::$title" ucfirst="true"}'><i class='fa fa-{$indexData['index_class']::$icon}'></i></span>
				{{if isset( $itemClass::$databaseColumnMap['author'] )}}
					{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view !== 'condensed' ) ? 'mini' : 'tiny'"}
				{{endif}}
				<div class='{{if $unread}}ipsStreamItem_unread{{endif}}'>
					{{if $view == 'condensed' && $snippet}}
						<div class='ipsPhotoPanel ipsPhotoPanel_small'>
							{$snippet|raw}
							<div>
					{{endif}}
					<h2 class='ipsType_reset ipsContained_container ipsStreamItem_title ipsType_break {{if $view == 'condensed'}}ipsStreamItem_titleSmall{{endif}}'>
						{{if $unread}}
							<span><a href='{{if member.member_id}}{$objectUrl->setQueryString( 'do', 'getNewComment' )}{{else}}{$objectUrl}{{endif}}' title='{lang="first_unread_post"}' data-linkType="star" {{if $iPostedIn}}data-iPostedIn{{endif}} data-ipsTooltip>
								<span class='ipsItemStatus {{if $iPostedIn}}ipsItemStatus_posted{{endif}}'><i class="fa fa-{{if $iPostedIn}}star{{else}}circle{{endif}}"></i></span>
							</a></span>
						{{elseif $iPostedIn}}
							<span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span>
						{{endif}}
						{{if isset( $indexData['index_prefix'] )}}
							<span>{template="prefix" group="global" app="core" params="rawurlencode($indexData['index_prefix']), $indexData['index_prefix']"}</span>
						{{endif}}
						<span class='ipsContained ipsType_break'><a href='{$itemUrl}' data-linkType="link" data-searchable>{{if ! empty( $itemData['extra']['solved'] ) }}<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span>{{endif}} {$indexData['index_title']}</a>
                        {{if $indexData['index_hidden']}}
							<span><span class="ipsBadge ipsBadge_icon ipsBadge_warning ipsBadge_medium " data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span></span>
						{{endif}}
                        </span>

						{{if isset( $indexData['index_tags'] ) and $view == 'condensed'}}
							{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true, true"}
						{{endif}}
					</h2>
					{{if $view != 'condensed'}}
						{{if $containerTitle}}
							<p class='ipsType_reset ipsStreamItem_status ipsType_blendLinks'>
								{expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
							</p>
						{{endif}}
					{{else}}
						<ul class='ipsList_inline ipsStreamItem_stats ipsType_light ipsType_blendLinks'>
							<li>
								<a href='{$objectUrl}' class='ipsType_blendLinks' rel="nofollow"><i class='fa fa-clock-o'></i> {datetime="$indexData['index_date_created']"}</a>
							</li>
							{{if isset( $indexData['index_class']::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] ) and $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] > ( $indexData['index_class']::$firstCommentRequired ? 1 : 0 )}}
								<li>
									<a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'>
										{{if $indexData['index_class']::$firstCommentRequired}}
											<i class='fa fa-comment'></i> {expression="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] - 1"}
										{{else}}
											<i class='fa fa-comment'></i> {expression="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ]"}
										{{endif}}
									</a>
								</li>
							{{endif}}
							{{if isset( $indexData['index_class']::$databaseColumnMap['num_reviews'] ) and isset( $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ] ) and $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ]}}
								<li>
									<a href='{$itemUrl}#reviews' class='ipsType_blendLinks'><i class='fa fa-star-half-o'></i> {expression="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ]"}</a>
								</li>
							{{endif}}
						</ul>
						{{if $containerTitle}}
							<p class='ipsStreamItem_status ipsType_reset ipsType_blendLinks'>
								{expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
							</p>
						{{endif}}
					{{endif}}
					
					{{if $view == 'condensed' && $snippet}}
							</div>
						</div>
					{{endif}}
				</div>
			</div>
			{{if $view !== 'condensed'}}
				<div class='ipsStreamItem_snippet ipsType_break'>
					{$snippet|raw}
				</div>
				<ul class='ipsList_inline ipsStreamItem_meta ipsGap:1'>
					{{if isset( $indexData['index_class']::$databaseColumnMap['date'] )}}
						<li class='ipsType_light ipsType_medium'>
							<a href='{$objectUrl}' rel="nofollow" class='ipsType_blendLinks'><i class='fa fa-clock-o'></i> {datetime="$indexData['index_date_created']"}</a>
						</li>
					{{endif}}
					{{if isset( $indexData['index_class']::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] ) and $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] > ( $indexData['index_class']::$firstCommentRequired ? 1 : 0 )}}
						<li class='ipsType_light ipsType_medium'>
							<a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}' class='ipsType_blendLinks'>
								{{if $indexData['index_class']::$firstCommentRequired}}
									<i class='fa fa-comment'></i> {lang="num_replies" pluralize="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ] - 1"}
								{{else}}
									<i class='fa fa-comment'></i> {lang="num_comments" pluralize="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_comments'] ]"}
								{{endif}}
							</a>
						</li>
					{{endif}}
					{{if isset( $indexData['index_class']::$databaseColumnMap['num_reviews'] ) and isset( $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ] ) and $itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ]}}
						<li class='ipsType_light ipsType_medium'>
							<a href='{$itemUrl}#reviews' class='ipsType_blendLinks'><i class='fa fa-star-half-o'></i> {lang="num_reviews" pluralize="$itemData[ $indexData['index_class']::$databasePrefix . $indexData['index_class']::$databaseColumnMap['num_reviews'] ]"}</a>
						</li>
					{{endif}}
					{{if \IPS\IPS::classUsesTrait( $indexData['index_class'], 'IPS\Content\Reactable' ) and settings.reputation_enabled and \count( $reactions )}}
						<li>{template="searchReaction" group="search" app="core" params="$reactions, $itemUrl->setQueryString('do', 'showReactions'), $repCount"}</li>
					{{endif}}
					{{if isset( $indexData['index_tags'] )}}
						<li>{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true"}</li>
					{{endif}}
				</ul>
			{{endif}}
		{{endif}}
	</div>
</li>]]></template>
 <template template_group="system" template_name="searchResultSnippet" template_data="$indexData, $itemData=null" template_location="front" template_app="core"><![CDATA[{{if trim( $indexData['index_content'] ) !== ''}}
	<div class='ipsType_richText ipsContained ipsType_medium'>
		<div {{if !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'search' )}}data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='3 lines' data-ipsTruncate-watch='false'{{else}}data-searchable data-findTerm{{endif}}>
			{expression="\IPS\Content\Search\Result::preDisplay( $indexData['index_content'] )" raw="true"}
		</div>
	</div>
{{endif}}
{{if isset( $itemData['attachedImages'] )}}
    <div class='ipsFlex ipsFlex-fw:wrap ipsGap:2 ipsMargin_top:half' data-controller="core.front.core.lightboxedImages" data-ipsLazyLoad>
        {{foreach $itemData['attachedImages'] as $image }}
            {{$imagePath = $image['thumb_location'] ?: $image['location'];}}
            <div>
                <a href='{file="$image['location']" extension="$image['extension']"}' {{if $image['labels']}}title="{lang="alt_label_could_be"} {$image['labels']}"{{endif}} data-ipsLightbox {{if $image['labels']}}title="{lang="alt_label_could_be"} {$image['labels']}"{{endif}} data-ipsLightbox-group='g{$indexData['index_class_type_id_hash']}'>
                    <span class='ipsThumb_bg ipsThumb_small ipsPos_left' {{if settings.lazy_load_enabled}}data-background-src="{backgroundimage="\IPS\File::get( $image['extension'], $imagePath )->url"}"{{else}}style='background-image: url({backgroundimage="\IPS\File::get( $image['extension'], $imagePath )->url"})'{{endif}}>
                        <img {{if settings.lazy_load_enabled}}src="{expression="\IPS\Text\Parser::blankImage()"}" data-{{endif}}src='{file="$imagePath" extension="$image['extension']"}' {{if $image['labels']}}alt="{lang="alt_label_could_be"} {$image['labels']}"{{endif}}>
                    </span>
                </a>
            </div>
        {{endforeach}}
    </div>
{{endif}}]]></template>
 <template template_group="system" template_name="settings" template_data="$tab, $output, $canChangeEmail, $canChangePassword, $canChangeUsername, $canChangeSignature, $loginMethods,  $canConfigureMfa=FALSE, $showApps=FALSE" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" app="core" params="\IPS\Member::loggedIn()->language()->addToStack('settings'), \IPS\Member::loggedIn()->language()->addToStack('settings_blurb')"}
{{if \IPS\Member::loggedIn()->members_bitoptions["email_messages_bounce"]}}
    <div class="ipsMessage ipsMessage_error">
        {lang="ucp_change_email_prompt"}
    </div>
{{endif}}
<div id='elSettingsTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elProfileTabContent' data-ipsTabBar-itemSelector='[data-ipsSideMenu] .ipsSideMenu_item' data-ipsTabBar-activeClass='ipsSideMenu_itemActive'>
	<div class='ipsColumns ipsColumns_collapsePhone'>
		<div class='ipsColumn ipsColumn_wide'>
			<div class='ipsBox ipsPadding sm:ipsPadding:half ipsResponsive_pull sm:ipsMargin_bottom'>
				<div class='ipsSideMenu' data-ipsSideMenu>
					<h3 class="ipsSideMenu_mainTitle ipsAreaBackground_light ipsType_medium">
						<a href="#modcp_menu" class="ipsPad_double{{if \IPS\Member::loggedIn()->members_bitoptions['email_messages_bounce']}} ipsWarningIndicator ipsWarningIndicator__topRight {{endif}}" data-action="openSideMenu">
							<i class="fa fa-bars"></i> &nbsp;{lang="settings_area"}&nbsp;<i class="fa fa-caret-down"></i>
						</a>
					</h3>
					<ul class="ipsSideMenu_list">
						<li>
							<a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' id='setting_overview' class='ipsType_normal ipsSideMenu_item {{if $tab === 'overview'}}ipsSideMenu_itemActive{{endif}}' title="{lang="overview"}" role="tab" aria-selected="{{if $tab === 'overview'}}true{{else}}false{{endif}}">
								<i class='fa fa-tachometer'></i> {lang="overview"}
							</a>
						</li>
						{{if $canChangeEmail}}
							<li>
                                <a href='{url="app=core&module=system&controller=settings&area=email" seoTemplate="settings_email"}' id='setting_email' class='ipsType_normal ipsSideMenu_item {{if \IPS\Member::loggedIn()->members_bitoptions["email_messages_bounce"]}}ipsWarningIndicator {{endif}}{{if $tab === 'email'}}ipsSideMenu_itemActive{{endif}}' title="{lang="email_address"}" role="tab" aria-selected="{{if $tab === 'email'}}true{{else}}false{{endif}}">
									<i class='fa fa-envelope-o'></i> {lang="email_address"}
								</a>
							</li>
						{{endif}}
						{{if $canChangePassword}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=password" seoTemplate="settings_password"}' id='setting_password' class='ipsType_normal ipsSideMenu_item {{if $tab === 'password'}}ipsSideMenu_itemActive{{endif}}' title="{lang="password"}" role="tab" aria-selected="{{if $tab === 'password'}}true{{else}}false{{endif}}">
									<i class='fa fa-key'></i> {lang="password"}
								</a>
							</li>
						{{endif}}
						{{if $canConfigureMfa OR \IPS\Member::loggedIn()->canUseAccountDeletion() OR settings.pii_type != 'off' }}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=mfa" seoTemplate="settings_mfa"}' id='setting_mfa' class='ipsType_normal ipsSideMenu_item {{if $tab === 'mfa'}}ipsSideMenu_itemActive{{endif}}' title="{lang="ucp_mfa"}" role="tab" aria-selected="{{if $tab === 'mfa'}}true{{else}}false{{endif}}">
									<i class='fa fa-lock'></i> {lang="ucp_mfa"}
								</a>
							</li>
						{{endif}}
						{{if settings.device_management}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=devices" seoTemplate="settings_devices"}' id='setting_devices' class='ipsType_normal ipsSideMenu_item {{if $tab === 'devices'}}ipsSideMenu_itemActive{{endif}}' title="{lang="ucp_devices"}" role="tab" aria-selected="{{if $tab === 'devices'}}true{{else}}false{{endif}}">
									<i class='fa fa-laptop'></i> {lang="ucp_devices"}
								</a>
							</li>
						{{endif}}
						{{if $canChangeUsername}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=username" seoTemplate="settings_username"}' id='setting_username' class='ipsType_normal ipsSideMenu_item {{if $tab === 'username'}}ipsSideMenu_itemActive{{endif}}' title="{lang="username"}" role="tab" aria-selected="{{if $tab === 'username'}}true{{else}}false{{endif}}">
									<i class='fa fa-user'></i> {lang="username"}
								</a>
							</li>
						{{endif}}
						<li>
							<a href='{url="app=core&module=system&controller=settings&area=links" seoTemplate="settings_links"}' id='setting_links' class='ipsType_normal ipsSideMenu_item {{if $tab === 'links'}}ipsSideMenu_itemActive{{endif}}' title="{lang="profile_settings_cvb"}" role="tab" aria-selected="{{if $tab === 'links'}}true{{else}}false{{endif}}">
							<i class='fa fa-link'></i> {lang="profile_settings_cvb"}
							</a>
						</li>
						{{if $canChangeSignature}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=signature" seoTemplate="settings_signature"}' id='setting_signature' class='ipsType_normal ipsSideMenu_item {{if $tab === 'signature'}}ipsSideMenu_itemActive{{endif}}' title="{lang="signature"}" role="tab" aria-selected="{{if $tab === 'signature'}}true{{else}}false{{endif}}">
									<i class='fa fa-pencil'></i> {lang="signature"}
								</a>
							</li>
						{{endif}}
						{{if \IPS\Settings::i()->ref_on}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=referrals" seoTemplate="settings_referrals"}' id='setting_referrals' class='ipsType_normal ipsSideMenu_item {{if $tab === 'referrals'}}ipsSideMenu_itemActive{{endif}}' title="{lang="referrals"}" role="tab" aria-selected="{{if $tab === 'referrals'}}true{{else}}false{{endif}}">
								<i class='fa fa-users'></i> {lang="referrals"}
								</a>
							</li>
						{{endif}}
						{{foreach $loginMethods as $method}}
							{{if $method->showInUcp( \IPS\Member::loggedIn() )}}
								<li>
									<a href='{url="app=core&module=system&controller=settings&area=login&service={$method->id}" seoTemplate="settings_login"}' id='setting_login_{$method->id}' class='ipsType_normal ipsSideMenu_item {{if $tab === "login_{$method->id}"}}ipsSideMenu_itemActive{{endif}}' title="{$method->_title}" role="tab" aria-selected="{{if $tab === "login_{$method->id}"}}true{{else}}false{{endif}}">
										{{$icon = $method->logoForUcp();}}
										{{if \is_string( $icon )}}
											<i class='fa fa-{$icon}'></i>
										{{else}}
											<div class="cLoginServiceIcon">
												{{if $icon}}<img src="{$icon}">{{endif}}
											</div>
										{{endif}}
										{lang="$method->_title"}
									</a>
								</li>
							{{endif}}
						{{endforeach}}
						{{if $showApps}}
							<li>
								<a href='{url="app=core&module=system&controller=settings&area=apps" seoTemplate="settings_apps"}' id='setting_apps' class='ipsType_normal ipsSideMenu_item {{if $tab === "apps"}}ipsSideMenu_itemActive{{endif}}' title="{lang="oauth_apps"}" role="tab" aria-selected="{{if $tab === "apps"}}true{{else}}false{{endif}}">
									<i class='fa fa-cubes'></i> {lang="oauth_apps"}
								</a>
							</li>
						{{endif}}
					</ul>
				</div>
			</div>
		</div>
		<div class='ipsColumn ipsColumn_fluid'>
			<section id='elProfileTabContent' class='ipsBox ipsResponsive_pull'>
				<div id="ipsTabs_elSettingsTabs_setting_{$tab}_panel" class="ipsTabs_panel" aria-labelledby="setting_overview" aria-hidden="false">
					{$output|raw}
				</div>
			</section>
		</div>
	</div>
</div>]]></template>
 <template template_group="system" template_name="settingsApps" template_data="$apps" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	<h2 class="ipsType_pageTitle">{lang="oauth_apps"}</h2>
</div>

<div class='ipsPadding'>
	<p class="ipsType_normal ipsSpacer_bottom ipsSpacer_double">{lang="oauth_apps_info"}</p>
	{{if \count( $apps )}}
		{{foreach $apps as $app}}
			<div class="ipsBox ipsSpacer_bottom ipsClearfix">
				<div class="ipsAreaBackground_light ipsClearfix ipsPad">
					<div class="ipsPos_right">
						<a href="{url="core&module=system&controller=settings&area=apps&do=revokeApp&client_id={$app['client']->client_id}" seoTemplate="settings_apps" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_small" data-confirm data-confirmSubMessage="{lang="oauth_app_revoke_confirm"}">
							{lang="oauth_app_revoke"}
						</a>
					</div>
					<div class="ipsPad_half">
						<h2 class="ipsType_sectionHead">
							{$app['client']->_title}
						</h2>
					</div>
				</div>
				<div class="ipsPad">
					<ul class="ipsDataList">
						<li class="ipsDataItem">
							<span class="ipsDataItem_generic ipsDataItem_size6">
								<strong>{lang="oauth_app_issued"}</strong>
							</span>
							<span class="ipsDataItem_generic">
								{datetime="$app['issued']"}
							</span>
						</li>
						{{if $app['scopes']}}
							<li class="ipsDataItem">
								<span class="ipsDataItem_generic ipsDataItem_size6">
									<strong>{lang="oauth_app_scopes"}</strong>
								</span>
								<div class="ipsDataItem_generic">
									<ul class="ipsList_reset">
										{{foreach $app['scopes'] as $key => $scope}}
											<li>
												<i class="fa fa-check"></i> {$scope}
											</li>
										{{endforeach}}
									</ul>
								</div>
							</li>
						{{endif}}
					</ul>
				</div>
			</div>
		{{endforeach}}
	{{else}}
		<div class="ipsPad ipsType_center ipsType_light">{lang="oauth_apps_empty"}</div>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsDevices" template_data="$devices, $ipAddresses" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
    <h2 class="ipsType_pageTitle">{lang="ucp_devices"}</h2>
</div>
<div class='ipsPadding'>
    {{if \IPS\Settings::i()->new_device_email}}
    <div class='ipsClearfix ipsSpacer_bottom'>
        <h2 class='ipsType_sectionHead ipsType_large'>{lang="ucp_devices_email"}&nbsp;&nbsp;{{if \IPS\Member::loggedIn()->members_bitoptions['new_device_email']}}<span class='ipsType_positive ipsType_medium'><i class='fa fa-check'></i> {lang="ucp_devices_email_on"}</span>{{else}}<span class='ipsType_negative ipsType_medium'><i class='fa fa-times'></i> {lang="ucp_devices_email_off"}</span>{{endif}}</h2>
        <p class='ipsType_medium'>{lang="ucp_devices_email_desc"}</p>
        {{if \IPS\Member::loggedIn()->members_bitoptions['new_device_email']}}
        <a href='{url="app=core&module=system&controller=settings&do=updateDeviceEmail&value=0" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="ucp_devices_email_disable"}</a>
        {{else}}
        <a href='{url="app=core&module=system&controller=settings&do=updateDeviceEmail&value=1" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="ucp_devices_email_enable"}</a>
        {{endif}}
    </div>
    {{endif}}
    <h2 class='ipsType_sectionHead ipsType_large'>{lang="ucp_devices"}</h2>
    <p class="ipsType_normal ipsSpacer_bottom ipsSpacer_double">{lang="device_management_info"}&nbsp; <a href='{url="app=core&module=system&controller=settings&do=secureAccount" seoTemplate="settings_secure"}'>{lang="device_list_secure_account"}</a></p>
    {{if \count( $devices )}}
    {{foreach $devices as $device}}
    <div class="ipsBox ipsBox--child ipsSpacer_bottom ipsClearfix">
        <div class="ipsBorder_bottom ipsClearfix ipsPad_half ipsFlex ipsFlex-ai:center ipsFlex-jc:between sm:ipsFlex-fd:column sm:ipsFlex-ai:stretch">
            <div class='ipsFlex-flex:10'>
                <div class="ipsPos_left ipsMargin_right:half">
                    {{if $device->userAgent()->platform === 'Macintosh'}}
                    <img src="{resource="logos/devices/mac.png" location="interface"}" width="64">
                    {{elseif $device->userAgent()->platform === 'Android' or $device->userAgent()->platform === 'Windows Phone'}}
                    <img src="{resource="logos/devices/android.png" location="interface"}" width="64">
                    {{elseif $device->userAgent()->platform === 'iPad'}}
                    <img src="{resource="logos/devices/ipad.png" location="interface"}" width="64">
                    {{elseif $device->userAgent()->platform === 'iPhone'}}
                    <img src="{resource="logos/devices/iphone.png" location="interface"}" width="64">
                    {{else}}
                    <img src="{resource="logos/devices/pc.png" location="interface"}" width="64">
                    {{endif}}
                </div>
                <h2 class="ipsType_sectionHead ipsMargin_top:half">
                    {$device->userAgent()->platform}
                </h2>
                <br>
                {{if isset( request.cookie['device_key'] ) and request.cookie['device_key'] === $device->device_key}}
                {lang="current_device"}
                {{else}}
                {lang="device_last_loggedin" sprintf="\IPS\DateTime::ts( $device->last_seen )->relative()"}
                {{endif}}
            </div>
            {{if $device->login_key or isset( $apps[ $device->device_key ] )}}
            <a href="{url="=core&module=system&controller=settings&area=devices&do=disableAutomaticLogin&device={$device->device_key}" seoTemplate="settings_devices" csrf=""}" class="ipsButton ipsButton_link ipsButton_link--negative ipsButton_small">
            {{if isset( request.cookie['device_key'] ) and request.cookie['device_key'] === $device->device_key}}
            {lang="disable_automatic_login"}
            {{else}}
            {lang="sign_out"}
            {{endif}}
            </a>
            {{endif}}
        </div>
        <div class="ipsPadding_horizontal:half">
            <ul class="ipsDataList">
                <li class="ipsDataItem">
							<span class="ipsDataItem_generic ipsDataItem_size6">
								<strong>{lang="device_table_user_agent"}</strong>
							</span>
                    <span class="ipsDataItem_generic">
								{{if \in_array( $device->userAgent()->browser, array( 'Android Browser', 'AppleWebKit', 'Camino', 'Chrome', 'Edge', 'Firefox', 'IEMobile', 'Midori', 'MSIE', 'Opera', 'Puffin', 'Safari', 'SamsungBrowser', 'Silk', 'UCBrowser', 'Vivaldi' ) )}}
									{{$browser = str_replace( ' ', '', $device->userAgent()->browser );}}
									<img src="{resource="logos/browsers/{$browser}.png" location="interface"}" width="24"> &nbsp;
								{{endif}}
								{$device->userAgent()->browser} {$device->userAgent()->browserVersion}
							</span>
                </li>
                {{if $loginMethod = $device->loginMethod() and $logo = $loginMethod->logoForDeviceInformation()}}
                <li class="ipsDataItem">
								<span class="ipsDataItem_generic ipsDataItem_size6">
									<strong>{lang="device_table_login_handler"}</strong>
								</span>
                    <span class="ipsDataItem_generic">
									<img src="{$logo}" width="24"> &nbsp;
									{$loginMethod->_title}
								</span>
                </li>
                {{endif}}
                {{if isset( $apps[ $device->device_key ] )}}
                <li class="ipsDataItem">
                    <div class="ipsDataItem_generic ipsDataItem_size6">
                        <strong>{lang="oauth_apps"}</strong>
                    </div>
                    <div class="ipsDataItem_generic">
                        <ul class="ipsDataList">
                            {{foreach $apps[ $device->device_key ] as $clientId => $app}}
                            <li class="ipsDataItem">
												<span class="ipsDataItem_generic">
													{$oauthClients[ $clientId ]->_title}
												</span>
                            </li>
                            {{endforeach}}
                        </ul>
                    </div>
                </li>
                {{endif}}
                <li class="ipsDataItem">
                    <div class="ipsDataItem_generic ipsDataItem_size6 ipsPos_top">
                        <strong>{{if settings.ipsgeoip}}{lang="device_last_locations"}*{{else}}{lang="device_last_logins"}{{endif}}</strong>
                    </div>
                    <div class="ipsDataItem_generic">
                        <ul class="ipsList_reset">
                            {{foreach $ipAddresses[ $device->device_key ] as $ipAddress => $details}}
                            <li>
                                {{if settings.ipsgeoip}}
                                {$details['location']}
                                {{else}}
                                {$ipAddress}
                                {{endif}}
                                &nbsp; <span class="ipsType_light">{datetime="$details['date']"}</span>
                            </li>
                            {{endforeach}}
                        </ul>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    {{endforeach}}
    {{if settings.ipsgeoip}}
    <p class="ipsType_light ipsType_small">* {lang="ip_geolocation_info"}</p>
    {{endif}}
    {{else}}
    {{$userAgent = \IPS\Http\UserAgent::parse();}}
    <div class="ipsBox ipsSpacer_bottom ipsClearfix">
        <div class="ipsAreaBackground_light ipsClearfix ipsPad_half">
            <div class="ipsPos_left">
                {{if $userAgent->platform === 'Macintosh'}}
                <img src="{resource="logos/devices/mac.png" location="interface"}" width="64">
                {{elseif $userAgent->platform === 'Android' or $userAgent->platform === 'Windows Phone'}}
                <img src="{resource="logos/devices/android.png" location="interface"}" width="64">
                {{elseif $userAgent->platform === 'iPad'}}
                <img src="{resource="logos/devices/ipad.png" location="interface"}" width="64">
                {{elseif $userAgent->platform === 'iPhone'}}
                <img src="{resource="logos/devices/iphone.png" location="interface"}" width="64">
                {{else}}
                <img src="{resource="logos/devices/pc.png" location="interface"}" width="64">
                {{endif}}
            </div>
            <div class="ipsPad_half">
                <h2 class="ipsType_sectionHead">
                    {$userAgent->platform}
                </h2>
                <br>
                {lang="current_device"}
            </div>
        </div>
        <div class="ipsPad">
            <ul class="ipsDataList">
                <li class="ipsDataItem">
						<span class="ipsDataItem_generic ipsDataItem_size6">
							<strong>{lang="device_table_user_agent"}</strong>
						</span>
                    <span class="ipsDataItem_generic">
							{{if \in_array( $userAgent->browser, array( 'Android Browser', 'AppleWebKit', 'Camino', 'Chrome', 'Edge', 'Firefox', 'IEMobile', 'Midori', 'MSIE', 'Opera', 'Puffin', 'Safari', 'SamsungBrowser', 'Silk', 'UCBrowser', 'Vivaldi' ) )}}
								{{$browser = str_replace( ' ', '', $userAgent->browser );}}
								<img src="{resource="logos/browsers/{$browser}.png" location="interface"}" width="24">
							{{endif}}
							{$userAgent->browser} {$userAgent->browserVersion}
						</span>
                </li>
            </ul>
        </div>
    </div>
    {{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsEmail" template_data="$form=NULL, $login=NULL, $error=NULL" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	<h2 class='ipsType_pageTitle'>{lang="change_email_address"}</h2>
</div>
<div class='ipsPadding'>
	{{if $form}}
		{{if \IPS\Settings::i()->reg_auth_type == 'user' or \IPS\Settings::i()->reg_auth_type == 'admin_user'}}
			<div class='ipsType_textBlock ipsType_normal'>
				<ul class='ipsList_bullets'>
					<li>{lang="change_email_explain_1"}</li>
					<li>
						{lang="change_email_explain_2"}
					</li>
				</ul>
			</div>
			<hr class='ipsHr'>
		{{endif}}
		{$form|raw}
	{{elseif $login}}
		<br><hr class='ipsHr'>
		{template="reauthenticate" group="system" params="$login, $error"}
	{{else}}
		<div class='ipsType_normal'>
			{lang="change_email_admin_1"}
		</div>

		<ol class='ipsList_bullets ipsList_numbers ipsSpacer_top ipsType_normal'>
			<li>{lang="change_email_admin_2"}</li>
			<li>{lang="change_email_admin_3" sprintf="\IPS\Member::loggedIn()->name"}</li>
			<li>{lang="change_email_admin_4"}</li>
			<li>{lang="change_email_admin_5"}</li>
		</ol>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsLinks" template_data="$form" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
    <h2 class='ipsType_pageTitle'>{lang="profile_settings_cvb"}</h2>
</div>
<div class='ipsPadding'>
    {$form|raw}
</div>
]]></template>
 <template template_group="system" template_name="settingsLoginConnect" template_data="$method, $login, $error" template_location="front" template_app="core"><![CDATA[{{if $error}}
	<div class="ipsMessage ipsMessage_error">{lang="$error"}</div>
{{endif}}
<form accept-charset='utf-8' method='post' action='{$login->url}'>
	<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
	{{if $method->type() === \IPS\Login::TYPE_USERNAME_PASSWORD}}
		<ul class='ipsForm'>
			<li class="ipsFieldRow ipsFieldRow_fullWidth ipsClearfix">
				{{$authType = $method->authType();}}
				<label class="ipsFieldRow_label" for="auth">
					{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
						{lang="username"}
					{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
						{lang="email_address"}
					{{else}}
						{lang="username_or_email"}
					{{endif}}
					<span class="ipsFieldRow_required">{lang="required"}</span>
				</label>
				<div class="ipsFieldRow_content">
					{{if $authType === \IPS\Login::AUTH_TYPE_USERNAME}}
						<input type="text" placeholder="{lang="username"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}}>
					{{elseif $authType === \IPS\Login::AUTH_TYPE_EMAIL}}
						<input type="email" placeholder="{lang="email_address"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}}>
					{{else}}
						<input type="text" placeholder="{lang="username_or_email"}" name="auth" id="auth" {{if isset( \IPS\Request::i()->auth )}}value="{request="auth"}"{{endif}}>
					{{endif}}
				</div>
			</li>
			<li class="ipsFieldRow ipsFieldRow_fullWidth ipsClearfix">
				<label class="ipsFieldRow_label" for="password">
					{lang="password"}
					<span class="ipsFieldRow_required">{lang="required"}</span>
				</label>
				<div class="ipsFieldRow_content">
					<input type="password" placeholder="{lang="password"}" name="password" id="password" {{if isset( \IPS\Request::i()->password )}}value="{request="password"}"{{endif}}>
				</div>
			</li>
			<li class="ipsFieldRow ipsFieldRow_fullWidth">
				<button type="submit" name="_processLogin" value="usernamepassword" class="ipsButton ipsButton_primary ipsButton_small" id="elSignIn_submit">{lang="login"}</button>
				{{if $forgotPasswordUrl = $method->forgotPasswordUrl()}}
					<p class="ipsType_right ipsType_small">
						<a href='{$forgotPasswordUrl}' target="_blank" rel="noopener">{lang="forgotten_password"}</a>
					</p>
				{{endif}}
			</li>
		</ul>	
	{{else}}
		{$method->button()|raw}
	{{endif}}
</form>]]></template>
 <template template_group="system" template_name="settingsLoginMethodOff" template_data="$method, $login, $error, $blurb, $canDisassociate=FALSE" template_location="front" template_app="core"><![CDATA[
<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	{{if $canDisassociate}}
		<a href="{url="app=core&module=system&controller=settings&area=login&service={$method->id}&disassociate=1" seoTemplate="settings_login" csrf="true"}" class="ipsButton ipsButton_link ipsButton_link--negative ipsButton_small ipsPos_right" data-confirm data-confirmSubMessage="{lang="profilesync_sign_out_confirm" sprintf="$method->_title"}">{lang="sign_out"}</a>
	{{endif}}
	<h2 class='ipsType_pageTitle'>{$method->_title}</h2>
</div>

<div class='ipsPadding'>
	<p class="ipsType_normal ipsSpacer_bottom ipsSpacer_double">{lang="$blurb" sprintf="$method->_title"}</p>
	{template="settingsLoginConnect" group="system" params="$method, $login, $error, $blurb"}
</div>]]></template>
 <template template_group="system" template_name="settingsLoginMethodOn" template_data="$method, $form, $canDisassociate, $photoUrl, $profileName, $extraPermissions, $login, $forceSync" template_location="front" template_app="core"><![CDATA[<div class='ipsPadding'>
	<div class='ipsClearfix'>
		{{if $canDisassociate}}
			<a href="{url="app=core&module=system&controller=settings&area=login&service={$method->id}&disassociate=1" seoTemplate="settings_login" csrf="true"}" class="ipsButton ipsButton_negative ipsButton_small ipsPos_right" data-confirm data-confirmSubMessage="{lang="profilesync_sign_out_confirm" sprintf="$method->_title"}">{lang="sign_out"}</a>
		{{endif}}
		<div class="ipsPhotoPanel {{if $photoUrl}}ipsPhotoPanel_mini{{endif}} ipsClearfix">
			{{if $photoUrl}}
				<img src="{$photoUrl}" alt="" class="ipsUserPhoto ipsUserPhoto_mini">
			{{endif}}
			<div>
        		<h2 class='ipsType_sectionHead'>{$method->_title}</h2>                        
				<div>
					{{if $profileName}}
						{lang="profilesync_headline" sprintf="$profileName"}
					{{else}}
						{lang="profilesync_signed_in"}
					{{endif}}
				</div>
			</div>
		{{if $login}}
			<br>
			<div>
				{template="settingsLoginConnect" group="system" params="$method, $login, \IPS\Member::loggedIn()->language()->addToStack('profilesync_extra_permissions_required', true, array( 'sprintf' => array( $extraPermissions ) ) )"}
			</div>
		{{endif}}
	</div>
	{{if $forceSync}}
		<hr class="ipsHr">
		<ul class="ipsList_reset">
			{{foreach $forceSync as $details}}
				<li class="ipsSpacer_bottom">
					<p class="ipsType_normal ipsType_reset">{$details['label']}</p>
					{{if $details['error']}}
						{template="settingsLoginMethodSynError" group="system" params="$details['error']"}
					{{endif}}
				</li>
			{{endforeach}}
		</ul>
	{{endif}}
	{{if $form or $forceSync}}
		<hr class="ipsHr">
		{$form|raw}
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsLoginMethodSynError" template_data="$error" template_location="front" template_app="core"><![CDATA[<span class="ipsType_warning">{lang="$error"}</span>]]></template>
 <template template_group="system" template_name="settingsMfa" template_data="$handlers" template_location="front" template_app="core"><![CDATA[
{{if \count( $handlers )}}
	<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
		<h2 class="ipsType_pageTitle">{lang="mfa_settings_title"}</h2>
	</div>
	<div class='ipsPadding'>
		<p class='ipsType_normal ipsSpacer_bottom ipsSpacer_double'>{lang="mfa_ucp_blurb"}</p>

		{{foreach $handlers as $key => $handler}}
			<div class="ipsSpacer_bottom ipsPad ipsAreaBackground_light ipsClearfix">
				<h2 class="ipsType_sectionHead ipsType_large">{$handler->ucpTitle()} {{if $handler->memberHasConfiguredHandler( \IPS\Member::loggedIn() )}}&nbsp;&nbsp;<span class='ipsType_positive ipsType_medium'><i class='fa fa-check'></i> {lang="enabled"}</span>{{endif}}</h2>
				<p class='ipsType_medium'>{$handler->ucpDesc()}</p>
				<ul class="ipsList_inline">
				{{if $handler->memberHasConfiguredHandler( \IPS\Member::loggedIn() )}}
					<li><a href="{url="app=core&module=system&controller=settings&area=mfa&act=enable&type={$key}&_new=1" seoTemplate="settings_mfa" csrf="true"}" class="ipsButton ipsButton_verySmall ipsButton_primary">{lang="mfa_{$key}_reauth"}</a></li>
					<li>{lang="or"}</li>
					<li><a href="{url="app=core&module=system&controller=settings&area=mfa&act=disable&type={$key}" seoTemplate="settings_mfa" csrf="true"}" class="ipsType_negative" data-confirm>{lang="mfa_disable"}</a></li>
				{{else}}
					<li><a href="{url="app=core&module=system&controller=settings&area=mfa&act=enable&type={$key}&_new=1" seoTemplate="settings_mfa" csrf="true"}" class="ipsButton ipsButton_verySmall ipsButton_primary">{lang="enable"}</a></li>
				{{endif}}
				</ul>
			</div>
		{{endforeach}}
	</div>
{{endif}}

{{if \IPS\Member::loggedIn()->group['g_hide_online_list'] !== 2}}
<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom {{if \count( $handlers )}}ipsBorder_top{{endif}}'>
	<h2 class='ipsType_pageTitle'>{lang="settings_privacy_title"}</h2>
</div>
<div class='ipsPadding'>
	<div class='ipsClearfix'>
		<h2 class='ipsType_sectionHead ipsType_large'>{lang="online_visibility"}&nbsp;&nbsp;{{if \IPS\Member::loggedIn()->members_bitoptions['is_anon']}}<span class='ipsType_negative ipsType_medium'><i class='fa fa-times'></i> {lang="online_status_hidden"}</span>{{else}}<span class='ipsType_positive ipsType_medium'><i class='fa fa-check'></i> {lang="online_status_visible"}</span>{{endif}}</h2>
		<p class='ipsType_medium'>{lang="online_visibility_desc"}</p>
        {{if !\IPS\Member::loggedIn()->group['g_hide_online_list']}}
		{{if \IPS\Member::loggedIn()->members_bitoptions['is_anon']}}
			<a href='{url="app=core&module=system&controller=settings&do=updateAnon&value=0" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="show_online_status"}</a>
		{{else}}
			<a href='{url="app=core&module=system&controller=settings&do=updateAnon&value=1" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="hide_online_status"}</a>
		{{endif}}
        {{endif}}
	</div>
</div>
{{if settings.core_datalayer_enabled AND settings.core_datalayer_include_pii AND settings.core_datalayer_member_pii_choice}}
<div class='ipsPadding'>
    <div class='ipsClearfix'>
        <h2 class='ipsType_sectionHead ipsType_large'>{lang="datalayer_pii_opt_out"}&nbsp;&nbsp;{{if !\IPS\Member::loggedIn()->members_bitoptions['datalayer_pii_optout']}}<span class='ipsType_negative ipsType_medium'><i class='fa fa-times'></i> {lang="datalayer_omitted"}</span>{{else}}<span class='ipsType_positive ipsType_medium'><i class='fa fa-check'></i> {lang="datalayer_collected"}</span>{{endif}}</h2>
        <p class='ipsType_medium'>{lang="datalayer_pii_opt_out_desc"}</p>
        {{if \IPS\Member::loggedIn()->members_bitoptions['datalayer_pii_optout']}}
        <a href='{url="app=core&module=system&controller=settings&do=togglePii" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="datalayer_omit"}</a>
        {{else}}
        <a href='{url="app=core&module=system&controller=settings&do=togglePii" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang="datalayer_collect"}</a>
        {{endif}}
    </div>
</div>
{{endif}}
{{endif}}]]></template>
 <template template_group="system" template_name="settingsMfaPassword" template_data="$login, $error" template_location="front" template_app="core"><![CDATA[
<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
    <h2 class="ipsType_pageTitle">{lang="ucp_mfa"}</h2>
</div>
<div class='ipsPadding'>
    {template="reauthenticate" group="system" params="$login, $error, 'mfa_ucp_blurb_password'"}
</div>]]></template>
 <template template_group="system" template_name="settingsMfaSetup" template_data="$configurationScreen, $url" template_location="front" template_app="core"><![CDATA[<div id='elTwoFactorAuthentication' class='ipsModal' data-controller='core.global.core.2fa'>
	<div>
		<form action="{$url}" method="post" accept-charset='utf-8' data-ipsForm class="ipsForm ipsForm_fullWidth">
			<input type="hidden" name="mfa_setup" value="1">
			<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
			{$configurationScreen|raw}
		</form>
	</div>
</div>]]></template>
 <template template_group="system" template_name="settingsOverview" template_data="$loginMethods, $canChangePassword" template_location="front" template_app="core"><![CDATA[<div class='ipsPadding sm:ipsPadding:half'>
	<div class='ipsColumns ipsColumns_collapsePhone'>
		<div class='ipsColumn ipsColumn_fluid'>
			<ul class='ipsDataList'>
				<li class='ipsDataItem'>
					<div class='ipsDataItem_main'>
						{{if \IPS\Member::loggedIn()->group['g_dname_changes']}}
							<a href="{url="app=core&module=system&controller=settings&area=username" seoTemplate="settings_username"}" class="ipsButton ipsButton_link ipsPos_right">{lang="change"}</a>
						{{endif}}
						<h4 class='ipsDataItem_title'><strong>{lang="username"}</strong></h4><br>
						{member="name"}
					</div>
				</li>
				<li class='ipsDataItem'>
					<div class='ipsDataItem_main'>
						{{if \IPS\Settings::i()->allow_email_changes != 'disabled'}}
							{{if settings.allow_email_changes == 'redirect'}}
								<a href='{expression="\IPS\Settings::i()->allow_email_changes_target"}' target="_blank" rel="noopener" class="ipsButton ipsButton_link ipsPos_right">
							{{else}}
								<a href='{url="app=core&module=system&controller=settings&area=email" seoTemplate="settings_email"}' class="ipsButton ipsButton_link ipsPos_right">
							{{endif}}
							{lang="change"}</a>
						{{endif}}
						<h4 class='ipsDataItem_title'><strong>{lang="email_address"}</strong></h4><br>
						{member="email"}
					</div>
				</li>
				{{if $canChangePassword}}
					<li class='ipsDataItem'>
						<div class='ipsDataItem_main'>
							<a href="{url="app=core&module=system&controller=settings&area=password" seoTemplate="settings_password"}" class="ipsButton ipsButton_link ipsPos_right">{lang="change"}</a>
							<h4 class='ipsDataItem_title'><strong>{lang="password"}</strong></h4><br>
							********
						</div>
					</li>
				{{endif}}
				<li class='ipsDataItem'>
					<div class='ipsDataItem_main'>
						<h4 class='ipsDataItem_title'><strong>{lang="profile_completion_status"}</strong></h4><br>
						{template="profileNextStep" group="global" app="core" params="\IPS\Member::loggedIn()->nextProfileStep(), false, false"}
					</div>
				</li>
				{{foreach $loginMethods as $id => $details}}
					<li class='ipsDataItem ipsClearfix'>
						<div class="ipsDataItem_icon">
							{{if isset( $details['icon'] )}}
								<img src="{$details['icon']}" class="ipsUserPhoto ipsUserPhoto_mini">
							{{else}}
								<img src="{resource="default_photo.png" app="core" location="global"}" class="ipsUserPhoto ipsUserPhoto_mini">
							{{endif}}
						</div>
						<div class='ipsDataItem_main'>
							<a href="{url="app=core&module=system&controller=settings&area=login&service={$id}" seoTemplate="settings_login"}" class="ipsButton ipsButton_link ipsPos_right">{lang="profilesync_configure"}</a>
							<h4 class='ipsDataItem_title'><strong>{$details['title']}</strong></h4><br>
							{$details['blurb']}
						</div>
					</li>
				{{endforeach}}
			</ul>
		</div>
		<div class='ipsColumn ipsColumn_wide'>
			<div class='ipsBox ipsBox--child'>
				{{$thisMemberID = \IPS\Member::loggedIn()->member_id;}}
				<h3 class='ipsType_sectionTitle'>{lang="other_settings"}</h3>
				<ul class='ipsSideMenu_list ipsPadding:half'>
					<li class='ipsSideMenu_item'><a href='{url="app=core&module=system&controller=notifications&do=options" seoTemplate="notifications_options"}'>{lang="notification_options"}</a></li>
					{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) ) AND \IPS\Member::loggedIn()->group['g_edit_profile']}}
						<li class='ipsSideMenu_item'><a href='{expression="\IPS\Member::loggedIn()->url()->setQueryString( 'do', 'edit' )"}' data-ipsDialog data-ipsDialog-modal='true' data-ipsDialog-title='{lang="profile_edit"}'>{lang="profile_edit"}</a></li>
					{{endif}}
					{{if settings.ignore_system_on}}
						<li class='ipsSideMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
					{{endif}}
				</ul>
			</div>
		</div>
	</div>
</div>]]></template>
 <template template_group="system" template_name="settingsPassword" template_data="$form=null" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	<h2 class='ipsType_pageTitle'>{lang="change_password"}</h2>
</div>

<div class='ipsPadding'>
	{{if \IPS\Member::loggedIn()->passwordResetForced()}}
		<p class='ipsMessage ipsMessage_warning'>{lang="password_reset_required"}</p>
    {{elseif isset( \IPS\Request::i()->success ) AND \IPS\Request::i()->success == 1}}
        <p class="ipsMessage ipsMessage_success">{lang="password_changed"}</p>
	{{endif}}
	{{if $form}}
		{$form|raw}
	{{else}}
		<div class='ipsType_normal'>
			{lang="change_password_admin_1"}
		</div>

		<ol class='ipsList_bullets ipsList_numbers ipsSpacer_top ipsType_normal'>
			<li>{lang="change_password_admin_2"}</li>
			<li>{lang="change_password_admin_3" sprintf="\IPS\Member::loggedIn()->name"}</li>
			<li>{lang="change_password_admin_4"}</li>
			<li>{lang="change_password_admin_5"}</li>
		</ol>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsPrivacy" template_data="" template_location="front" template_app="core"><![CDATA[
{{if settings.pii_type=='on'}}
<div class='ipsPadding'>
    <div class='ipsClearfix'>
		<h2 class='ipsType_sectionHead ipsType_large' id="piiDataRequest">{lang='pii_data_request'}</h2>
		<p class='ipsType_medium'>{lang='pii_data_request_desc'}</p>
		{{if \IPS\Member\PrivacyAction::canRequestPiiData() AND !\IPS\Member\PrivacyAction::hasPiiRequest(NULL, TRUE ) }}
		    <a href='{url="app=core&module=system&controller=settings&do=requestPiiData" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang='download_pii_data_request'}</a>
		{{endif}}
		{{if \IPS\Member\PrivacyAction::hasPiiRequest(NULL, TRUE )}}
			<a href='{url="app=core&module=system&controller=settings&do=downloadPiiData" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang='download_pii_data'}</a>
		{{elseif  \IPS\Member\PrivacyAction::hasPiiRequest(NULL, FALSE )}}
		<div class="ipsMessage ipsMessage_success">{lang="pii_data_request_pending"}</div>
		{{endif}}
    </div>
</div>
{{elseif settings.pii_type=='redirect'}}
<div class='ipsPadding'>
    <div class='ipsClearfix'>
        <h2 class='ipsType_sectionHead ipsType_large' id="piiDataRequest">{lang='pii_data_request'}</h2>
        <p class='ipsType_medium'>{lang='pii_data_request_desc'}</p>
<a href='{setting="pii_link"}' target="_blank" rel="noopener"  class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang='download_pii_data_request'}</a>
</div>
</div>
{{endif}}
{{if \IPS\Member::loggedIn()->canUseAccountDeletion() }}
<div class='ipsPadding'>
	<div class='ipsClearfix'>
		<h2 class='ipsType_sectionHead ipsType_large' id="requestAccountDeletion">{lang='account_deletion'}</h2>
		<p class='ipsType_medium'>{lang='account_deletion_desc'}</p>
		{{if \IPS\Member\PrivacyAction::canDeleteAccount() AND !\IPS\Member::loggedIn()->isDeletionPending}}
		<a href='{url="app=core&module=system&controller=settings&do=requestAccountDeletion" seoTemplate="settings" csrf="true"}' class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang='request_account_deletion'}</a>
		{{else}}
		{{if \IPS\Member::loggedIn()->isDeletionPending}}
		<div class='ipsMessage ipsMessage_error'>{lang="email_account_delete_warning"}<br>
			<a href='{url="app=core&module=system&controller=settings&do=cancelAccountDeletion" seoTemplate="settings" csrf="true"}' class=''>{lang='cancel'}</a></div>
		{{else}}
			<div class='ipsMessage ipsMessage_error'>{lang='account_deletion_pending'}</div>
		{{endif}}

		{{endif}}
    </div>
</div>
{{elseif settings.right_to_be_forgotten_type=='redirect'}}
<div class='ipsPadding'>
    <div class='ipsClearfix'>
        <h2 class='ipsType_sectionHead ipsType_large' id="requestAccountDeletion">{lang='account_deletion'}</h2>
        <p class='ipsType_medium'>{lang='account_deletion_desc'}</p>
        <a href='{setting="right_to_be_forgotten_link"}' target="_blank" rel="noopener" class='ipsButton ipsButton_verySmall ipsButton_primary'>{lang='request_account_deletion'}</a>
</div>
</div>
{{endif}}]]></template>
 <template template_group="system" template_name="settingsProfileSyncLogin" template_data="$method, $login, $error" template_location="front" template_app="core"><![CDATA[<div class="ipsPadding">
	<div class="ipsType_normal ipsSpacer_bottom">{lang="profilesync_blurb" sprintf="$method->_title"}</div>
	{template="settingsLoginConnect" group="system" params="$method, $login, $error"}
</div>]]></template>
 <template template_group="system" template_name="settingsReferrals" template_data="$table, $url, $rules" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	<h2 class="ipsType_pageTitle">{lang="referrals"}</h2>
</div>

<div class='ipsPadding'>
	<div class='ipsBox ipsBox--child ipsSpacer_bottom cReferralLinks' data-controller='core.front.system.referrals'>
		<div class='ipsPad cReferrals_directLink'>
			<h3 class='ipsType_sectionHead'>{lang="referral_directlink"}</h3>
			<span class='cReferrals_directLink_link'>{$url}</span>
			<input class='cReferrals_directLink_input ipsHide' type="text" value="{$url}">
			<button class="cReferrer_copy cReferrer_copy_link ipsButton ipsButton_alternate ipsButton_veryVerySmall" data-clipboard-text="{$url}">{lang="copy"}</button>
		</div>
		{{if \count( \IPS\core\ReferralBanner::roots() )}}
		<div class='cReferrals_grid ipsPad_half'>
		{{$count = 0;}}
		<div class='cReferrals_grid_row ipsSpacer_top'>
			{{foreach \IPS\core\ReferralBanner::roots() as $banner}}
				<div class='cReferrals_grid_item ipsClear ipsClearfix ipsBox'>
					<div class='cReferrals_grid_item__image' style='background-image: url("{file="$banner->url" extension="core_ReferralBanners"}")'>
						{$banner->_title|raw}
					</div>
					<div class='cReferrals_grid_item__body ipsPad'>
						<div>
							<div class='ipsSpacer_bottom'>
								<h3 class='ipsType_minorHeading'>{lang="referral_html_banner"}</h3>
								<input type='text' class='ipsField_fullWidth' id="bannerValue_{$banner->id}" value="&lt;a href='{$url}'&gt;&lt;img src='{file="$banner->url" extension="core_ReferralBanners"}' alt='{setting="board_name"}'&gt;&lt;/a&gt;">
								<button class="cReferrer_copy ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth ipsSpacer_top ipsSpacer_half" data-clipboard-target="#bannerValue_{$banner->id}">{lang="copy"}</button>
							</div>
						</div>
					</div>
				</div>
				{{$count++;}}
				{{if $count % 3 == 0 and $count !== \count( \IPS\core\ReferralBanner::roots() )}}
					</div>
					<div class='cBlog_grid_row ipsSpacer_top'>
				{{endif}}
			{{endforeach}}
		</div>
	</div>
	{{endif}}

	</div>

	<div class="ipsBox ipsBox--child ipsSpacer_bottom ipsClearfix">
		<div class="ipsAreaBackground_light ipsClearfix ipsPad">
			<strong><i class="fa fa-users"></i> {lang="referrals_yours"}</strong>
		</div>
		<div class="ipsPad">
			{$table|raw}
		</div>
	</div>

	{{if $rules}}
	{template="referralRulesCommission" app="nexus" group="global" location="front" params="$rules"}
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="settingsSecureAccount" template_data="$canChangePassword, $canConfigureMfa, $hasConfiguredMfa, $loginMethods, $oauthApps=0" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('secure_account'), \IPS\Member::loggedIn()->language()->addToStack('secure_account_blurb')"}
{{if $canChangePassword}}
	<div class="ipsBox ipsBox--child ipsSpacer_bottom">
		<h2 class="ipsType_sectionTitle ipsType_reset">{lang="change_password"}</h2>
		<div class="ipsPad ipsType_normal">
			<p class="ipsType_reset">
				{lang="secure_account_change_password"}
			</p>
			<div class="ipsSpacer_top">
				<a href="{url="app=core&module=system&controller=settings&area=password" seoTemplate="settings_password"}" target="_blank" rel="noopener" class="ipsButton ipsButton_primary ipsButton_small">{lang="change_password"}</a>
			</div>
		</div>
	</div>
{{endif}}
{{if $canConfigureMfa}}
	<div class="ipsBox ipsBox--child ipsSpacer_bottom">
		<h2 class="ipsType_sectionTitle ipsType_reset">{lang="mfa_settings_title"}</h2>
		<div class="ipsPad ipsType_normal">
			<p class="ipsType_reset">
				{{if $hasConfiguredMfa}}
					{lang="secure_account_mfa_revise"}
				{{else}}
					{lang="secure_account_mfa_setup"}
				{{endif}}
			</p>
			<div class="ipsSpacer_top">
				<a href="{url="app=core&module=system&controller=settings&area=mfa" seoTemplate="settings_mfa"}" target="_blank" rel="noopener" class="ipsButton ipsButton_primary ipsButton_small">{lang="mfa_settings_title"}</a>
			</div>
		</div>
	</div>
{{endif}}
{{if \count( $loginMethods )}}
	<div class="ipsBox ipsBox--child ipsSpacer_bottom">
		<h2 class="ipsType_sectionTitle ipsType_reset">{lang="secure_account_login_title"}</h2>
		<div class="ipsPad ipsType_normal">
			<p class="ipsType_reset ipsSpacer_bottom">
				{lang="secure_account_login_info"}
			</p>
			<ul class="ipsDataList">
				{{foreach $loginMethods as $id => $details}}
					<li class='ipsDataItem ipsClearfix'>
						<div class="ipsDataItem_icon ipsPos_top">
							{{if isset( $details['icon'] )}}
								<img src="{$details['icon']}" class="ipsUserPhoto ipsUserPhoto_mini">
							{{else}}
								<img src="{resource="default_photo.png" app="core" location="global"}" class="ipsUserPhoto ipsUserPhoto_mini">
							{{endif}}
						</div>
						<div class='ipsDataItem_main'>
							<h4 class='ipsDataItem_title'><strong>{$details['title']}</strong></h4><br>
							{$details['blurb']}<br>
							<a href="{url="app=core&module=system&controller=settings&area=login&service={$id}" seoTemplate="settings_login"}" class="ipsButton ipsButton_primary ipsButton_small">{lang="profilesync_configure"}</a>
						</div>							
					</li>
				{{endforeach}}
			</ul>
		</div>
	</div>
{{endif}}
{{if $oauthApps}}
	<div class="ipsBox ipsBox--child ipsSpacer_bottom">
		<h2 class="ipsType_sectionTitle ipsType_reset">{lang="oauth_apps"}</h2>
		<div class="ipsPad ipsType_normal">
			<p class="ipsType_reset">
				{lang="secure_account_apps" pluralize="$oauthApps"}
			</p>
			<div class="ipsSpacer_top">
				<a href="{url="app=core&module=system&controller=settings&area=apps" seoTemplate="settings_apps"}" target="_blank" rel="noopener" class="ipsButton ipsButton_primary ipsButton_small">{lang="review_oauth_apps"}</a>
			</div>
		</div>
	</div>
{{endif}}
]]></template>
 <template template_group="system" template_name="settingsSignature" template_data="$form, $sigLimits" template_location="front" template_app="core"><![CDATA[<div class='ipsPadding'>
{{if $sigLimits[1] != "" or $sigLimits[2] or $sigLimits[3] or $sigLimits[4] or $sigLimits[5]}}
		<h2 class='ipsType_sectionHead'>{lang="signature_restrictions"}</h2>
		<p class='ipsType_medium ipsType_reset'>
			{lang="ensure_signature_restrictions"}:
		</p>

		<div class='ipsType_textBlock ipsType_normal'>
			<br>
			<ul class='ipsList_inline'>
				{{if $sigLimits[1] != ""}}
					<li>{{if $sigLimits[1]}}<i class='fa fa-check'></i> {lang="sig_max_imagesr" pluralize="$sigLimits[1]"}{{else}}<i class='fa fa-close'></i> {lang="sig_max_imagesr_none"}{{endif}}</li>
				{{endif}}
				{{if $sigLimits[2] or $sigLimits[3]}}
					<li><i class='fa fa-check'></i> {lang="sig_max_imgsize" sprintf="$sigLimits[2], $sigLimits[3]"}</li>
				{{endif}}
				{{if $sigLimits[4]}}
					<li><i class='fa fa-check'></i> {lang="sig_max_urls" pluralize="$sigLimits[4]"}</li>
				{{endif}}
				{{if $sigLimits[5]}}
					<li><i class='fa fa-check'></i> {lang="sig_max_lines" pluralize="$sigLimits[5]"}</li>
				{{endif}}
			</ul>
		</div>
		<hr class='ipsHr'><br>
{{endif}}
		{$form|raw}
	</div>]]></template>
 <template template_group="system" template_name="settingsUsername" template_data="$form, $made, $allowed, $since, $days" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
	<h2 class='ipsType_pageTitle'>{lang="change_username"}</h2>
</div>
<div class='ipsPadding'>
	{{if \IPS\Member::loggedIn()->group['g_dname_changes'] != -1}}
		<div class='ipsType_textBlock ipsType_normal'>
			<ul class='ipsList_bullets'>
				<li>{lang="change_username_explain" sprintf="$made, $allowed, $since->localeDate(), $days" pluralize="$allowed"}</li>
			</ul>
		</div>
		<br>
	{{endif}}
	
	{$form|raw}
</div>]]></template>
 <template template_group="system" template_name="settingsUsernameLimitReached" template_data="$message" template_location="front" template_app="core"><![CDATA[<div class='ipsAreaBackground_light ipsPadding ipsBorder_bottom'>
    <h2 class='ipsType_pageTitle'>{lang="change_username"}</h2>
</div>
<div class='ipsPadding'>
    {$message|raw}
</div>
]]></template>
 <template template_group="system" template_name="systemLogFileView" template_data="$contents" template_location="admin" template_app="core"><![CDATA[<div class="ipsSpacer_bottom">
	<textarea rows="40" style="font-family: monospace;">{$contents}</textarea>
</div>]]></template>
 <template template_group="system" template_name="systemLogView" template_data="$log" template_location="admin" template_app="core"><![CDATA[<div class="ipsMargin_bottom">
	<div class='ipsFlex ipsFlex-ai:center ipsGap'>
		<div class='ipsFlex-flex:00'>
			<span class='ipsUserPhoto ipsUserPhoto_medium'>
				<img src='{member="photo" id="$log->member_id"}' alt=''>
			</span>
		</div>
		<div class='ipsFlex-flex:11'>
			<h1 class='ipsType_reset'>
				{{if $log->member_id}}
					<a href="{url="app=core&module=members&controller=members&do=view&id="}{$log->member_id}" data-ipsTooltip title='{lang="triggered_by" sprintf="\IPS\Member::load($log->member_id)->name"}'>{member="name" id="$log->member_id"}</a>
				{{else}}
					{lang="triggered_guest"}
				{{endif}}
				({expression="\IPS\Member\Group::load( \IPS\Member::load( $log->member_id )->member_group_id )->formattedName" raw="true"})
			</h1>
			<div>{datetime="$log->time"}</div>
			<div class='ipsContained ipsType_break'>
				<div class='ipsTruncate'>
					{lang="triggered_at"} {{if $log->url}}<a href='{$log->url}' target='_blank' rel="noopener" title='{$log->url}'>{$log->url}</a>{{else}}<em>{lang="log_missing_data"}</em>{{endif}}
				</div>
			</div>
		</div>
	</div>
</div>
<div class="ipsMargin_bottom">
	{{if $log->exception_class}}
		<code>{$log->exception_class}::{$log->exception_code}</code><br>
		<br>
	{{endif}}
	<textarea rows="15" style="font-family: monospace;">{$log->message}</textarea>
</div>
<div class="ipsMargin_bottom">
	<h3 class="ipsType_minorHeading">{lang="log_backtrace"}</h3>
	<textarea rows="8" style="font-family: monospace;">{$log->backtrace}</textarea>
</div>
{{if $log->loaded_hooks}}
<div class="ipsMargin_bottom">
	<h3 class="ipsType_minorHeading">{lang="log_loaded_hooks"}</h3>
	<ul>
		{{foreach $log->loaded_hooks as $hook}}
		{{$details = \IPS\Log::hookDetails( $hook );}}
		<li><a href='{{if $details['type'] == 'app'}}{url="app=core&module=applications&controller=applications&do=details&id={$details['id']}"}{{else}}{url="app=core&module=applications&controller=plugins&do=details&id={$details['id']}"}{{endif}}' data-ipsDialog data-ipsDialog-title='{lang="app_view_details"}'>{$hook}</a></li>
		{{endforeach}}
	</ul>
</div>
{{endif}}]]></template>
 <template template_group="system" template_name="terms" template_data="" template_location="front" template_app="core"><![CDATA[{{if !\IPS\Request::i()->isAjax()}}
	{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('reg_terms')"}
{{endif}}
<div class='ipsBox_alt ipsType_normal ipsType_richText ipsPad'>
	{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('reg_rules_value'), array('ipsType_normal')"}
</div>]]></template>
 <template template_group="system" template_name="unfollowFromEmail" template_data="$title, $member, $form, $choice" template_location="front" template_app="core"><![CDATA[{{if $choice}}
<div class='ipsBox_alt'>
	<p class='ipsType_reset ipsType_center ipsType_huge'>
		<i class='fa fa-envelope'></i>
	</p>

	<h1 class='ipsType_veryLarge ipsType_center'>{lang="follow_guest_unfollow_title"}</h1>

	<div class='ipsType_large ipsType_center ipsType_richText'>
		{{if $choice == 'single'}}
			{lang="follow_guest_unfollowed_thing" sprintf="$title"}
		{{elseif $choice == 'all'}}
			{lang="follow_guest_unfollowed_all"}
		{{endif}}
	</div>
	<br>
	<p class='ipsType_center'>
		<a href='{url="/"}' class='ipsButton ipsButton_normal ipsButton_small'>{lang="go_community_home"}</a>
	</p>
</div>
{{else}}
<div class='ipsPadding'>
	<h2 class='ipsType_sectionHead'>{lang="follow_guest_unfollow_title"}</h2>
	<p class='ipsType_light'>{lang="follow_guest_followed_by" sprintf="$member->name, $member->name"}</p>
	{$form|raw}
</div>
{{endif}}]]></template>
 <template template_group="system" template_name="unsubscribed" template_data="$action" template_location="front" template_app="core"><![CDATA[{template="pageHeader" group="global" params="\IPS\Member::loggedIn()->language()->addToStack('unsubscribed')"}
<div class='ipsLayout_contentSection ipsBox ipsPadding'>
	{{if $action === 'markSolved'}}{lang="unsubscribed_solved_desc"}{{else}}{lang="unsubscribed_desc"}{{endif}}
</div>]]></template>
 <template template_group="system" template_name="upgradeDeltaDatabaseCheck" template_data="$version" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsSpacer_bottom">
		<h2 class='ipsType_sectionHead'>{lang="download_upgrade_database_check_fail_title"}</h2>
	</div>
	<div class="ipsSpacer_bottom">
		<p>{lang="download_upgrade_database_check_fail_desc"}</p>
	</div>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=system&controller=upgrade&do=databaseChecker&_upgradeVersion={$version}" csrf="true"}" data-ipsDialog data-ipsDialog-title="{lang="self_service"}" class="ipsButton ipsButton_primary">{lang="help_me_fix_this"}</a>
</div>]]></template>
 <template template_group="system" template_name="upgradeDeltaFailed" template_data="$error, $deltaDownloadUrl" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsSpacer_bottom">
		<h2 class='ipsType_sectionHead'>{lang="download_upgrade_error"}</h2>
	</div>
	<div class="ipsSpacer_bottom">
		{{if $error == 'ftp'}}
			<p>{lang="delta_upgrade_manual_ftp"}</p>
		{{elseif $error == 'unexpected_response'}}
			<p>{lang="delta_upgrade_fail_server"}</p>
		{{elseif $error == 'exception'}}
			<p>{lang="delta_upgrade_fail_client"}</p>
		{{else}}
			<p>{lang="delta_upgrade_manual"}</p>
		{{endif}}
		<div class="ipsType_center">
			{{if $deltaDownloadUrl}}
				<a href="{$deltaDownloadUrl}" class="ipsButton ipsButton_important ipsButton_large"><i class="fa fa-cloud-download"></i> {lang="delta_upgrade_download"}</a>
				<p><a href="{url="client_area" ips="true"}" target="_blank" rel="noopener">{lang="delta_upgrade_download_full"}</a></p>
			{{else}}
				<a href="{url="client_area" ips="true"}" class="ipsButton ipsButton_important ipsButton_large" target="_blank" rel="noopener">{lang="delta_upgrade_go_to_clientarea"}</a>
			{{endif}}
		</div>
		<p>{lang="delta_upgrade_manual_footer"}</p>
	</div>
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
	<a href="{url="app=core&module=system&controller=upgrade&check=1"}" class="ipsButton ipsButton_primary">{lang="continue"}</a>
</div>
]]></template>
 <template template_group="system" template_name="upgradeDeltaFailedCic" template_data="" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.system.autoupgradetimer'>
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="delta_upgrade_fail_cic_head"}</h2>
		</div>
		<div class="ipsSpacer_bottom">
			<p>{lang="delta_upgrade_fail_cic_desc"}</p>
		</div>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<span data-role="counter-wrapper">{lang="delta_upgrade_fail_cic_cont"}</span>
		<span data-role="continue-button" class='ipsJS_hide'><a href="{url="app=core&module=system&controller=upgrade&check=1"}" class="ipsButton ipsButton_primary">{lang="continue"}</a></span>
	</div>
</div>]]></template>
 <template template_group="system" template_name="upgradeDeltaFtp" template_data="$form" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">{lang="delta_upgrade_ftp_instructions" sprintf="\IPS\Http\Url::internal('app=core&module=system&controller=upgrade&manual=1')"}</div>
{$form|raw}]]></template>
 <template template_group="system" template_name="upgradeDeltaLargeTables" template_data="$version, $largeTables" template_location="admin" template_app="core"><![CDATA[<form action="{url="app=core&module=system&controller=upgrade" csrf="1"}" method="post">
	<input type="hidden" name="version" value="{$version}">
	<input type="hidden" name="select_version_submitted" value="1">
	<input type="hidden" name="skip_md5_check" value="1">
    <input type="hidden" name="skip_resource_check" value="1">
	<input type="hidden" name="skip_theme_check" value="1">
	<input type="hidden" name="skip_large_tables_check" value="1">
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="download_upgrade_initial_large_tables_title"}</h2>
		</div>
		<div class="ipsSpacer_bottom">
			<p class="ipsType_normal">{lang="download_upgrade_initial_large_tables_explain"}</p>
		</div>
		<table class="ipsTable">
			<thead>
				<tr>
					<th>{lang="sql_table_name"}</th>
					<th>{lang="sql_table_rows"}</th>
					<th>{lang="sql_table_size"}</th>
				</tr>
			</thead>
			<tbody>
				{{foreach $largeTables as $table}}
					<tr>
						<td>{$table}</td>
						<td>{number="\IPS\Db::i()->cachedTableData[ $table ]['rows']"}</td>
						<td>{filesize="\IPS\Db::i()->cachedTableData[ $table ]['size']"}</td>
					</tr>
				{{endforeach}}
			</tbody>
		</table>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<input type="submit" class="ipsButton ipsButton_primary" name="skip_theme_check" value="{lang="continue"}">
	</div>
</form>]]></template>
 <template template_group="system" template_name="upgradeDeltaManualQuery" template_data="$mr, $query" template_location="admin" template_app="core"><![CDATA[<div data-controller="core.admin.system.upgradeManualQuery" data-url="{url="app=core&module=system&controller=upgrade&mr={$mr}&runQuery=1"}">
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="download_upgrade_error"}</h2>
		</div>
		<p class="ipsType_normal ipsType_reset ipsSpacer_bottom">{lang="upgrade_delta_manual_query"}</p>
		<div class="ipsCode ipsSpacer_bottom" data-ipsCopy>
			<code class="prettyprint lang-sql" data-role="copyTarget">{$query}</code>
			<button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right ipsHide" data-role="copyButton" data-clipboard-text="{$query}">{lang="copy"}</button>
		</div>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center" data-role="querySuccessButtons">
		<a href="{url="app=core&module=system&controller=upgrade&mr={$mr}&query_has_been_ran=1"}" class="ipsButton ipsButton_primary" data-action="redirectContinue">{lang="upgrade_delta_manual_query_done"}</a>
		<div class="ipsHide" data-role="runManualButton">
			&nbsp; {lang="or"} &nbsp;
			<button type="button" class="ipsButton ipsButton_alternate" data-action="runQuery">{lang="upgrade_delta_manual_query_auto"}</button>
		</div>
	</div>
</div>]]></template>
 <template template_group="system" template_name="upgradeDeltaMd5" template_data="$version, $files" template_location="admin" template_app="core"><![CDATA[<form action="{url="app=core&module=system&controller=upgrade" csrf="1"}" method="post">
	<input type="hidden" name="version" value="{$version}">
	<input type="hidden" name="select_version_submitted" value="1">
	<input type="hidden" name="skip_md5_check" value="1">
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="download_upgrade_initial_md5_fail_title"}</h2>
		</div>
		<div class="ipsSpacer_bottom">
			<p class="ipsType_normal">{lang="download_upgrade_initial_md5_fail_explain"}</p>
			<ul>
				{{foreach $files as $file}}
					<li>{$file}</li>
				{{endforeach}}
			</ul>
		</div>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<input type="submit" class="ipsButton ipsButton_primary" value="{lang="continue"}">
	</div>
</form>]]></template>
 <template template_group="system" template_name="upgradeDeltaQueryFailed" template_data="$mr, $e" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	<div class="ipsSpacer_bottom">
		<h2 class='ipsType_sectionHead'>{lang="upgrade_delta_query_fail_title"}</h2>
	</div>
	<p class="ipsType_normal ipsType_reset ipsSpacer_bottom">
		{{if \IPS\CIC}}
			{lang="upgrade_delta_query_fail_cic"}
		{{else}}
			{lang="upgrade_delta_query_fail_nocic"}
		{{endif}}
	</p>
	<div class="ipsMessage ipsMessage_error">{$e->getMessage()}</div>
	<div class="ipsCode ipsSpacer_bottom" data-ipsCopy>
		<code class="prettyprint lang-sql" data-role="copyTarget">{expression="\IPS\Db::_replaceBinds( $e->query, $e->binds )"}</code>
		<button type="button" class="ipsButton ipsButton_light ipsButton_veryVerySmall ipsPos_right ipsHide" data-role="copyButton" data-clipboard-text="{expression="\IPS\Db::_replaceBinds( $e->query, $e->binds )"}">{lang="copy"}</button>
	</div>	
</div>
<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center" data-role="querySuccessButtons">
	<a href="{url="app=core&module=system&controller=upgrade&mr={$mr}&query_has_been_ran=1"}" class="ipsButton ipsButton_primary" data-action="redirectContinue">{lang="continue_anyway"}</a>
</div>]]></template>
 <template template_group="system" template_name="upgradeDeltaResourceIssues" template_data="$version, $resources" template_location="admin" template_app="core"><![CDATA[<form action="{url="app=core&module=system&controller=upgrade" csrf="1"}" method="post">
	<input type="hidden" name="version" value="{$version}">
	<input type="hidden" name="select_version_submitted" value="1">
	<input type="hidden" name="skip_md5_check" value="1">
	<input type="hidden" name="skip_resource_check" value="1">
	<div class="ipsPad">
        <div class="ipsSpacer_bottom">
            <h2 class='ipsType_sectionHead'>{lang="download_upgrade_initial_resource_title"}</h2>
        </div>
        <div class="ipsSpacer_bottom">
            <p class="ipsType_normal">{lang="download_upgrade_initial_resource_explain"}</p>
        </div>
        {{foreach $resources as $type => $res}}
        {{if \count( $res )}}
        <h3 class="ipsMargin_bottom:none">{lang="download_upgrade_initial_resource_upgrade_{$type}" sprintf="\count($res)" pluralize="\count($res)"}</h3>
        {lang="download_upgrade_initial_resource_upgrade_{$type}_blurb"}
        <ul class="ipsFlex ipsFlex-ai:center ipsGap_row:2 sm:ipsFlex-ai:stretch sm:ipsFlex-fd:column ipsFlex-fw:wrap sm:ipsFlex-flex:11 ipsSpacer_half ipsSpacer_top">
        {{foreach $res AS $r }}
            <li>{$r['title']}</li>
        {{endforeach}}
        </ul>
        {{endif}}
        {{endforeach}}
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<input type="submit" class="ipsButton ipsButton_primary" name="skip_resource_check" value="{lang="continue"}">
	</div>
</form>
]]></template>
 <template template_group="system" template_name="upgradeDeltaThemeConflicts" template_data="$version, $conflicts" template_location="admin" template_app="core"><![CDATA[<form action="{url="app=core&module=system&controller=upgrade" csrf="1"}" method="post">
	<input type="hidden" name="version" value="{$version}">
	<input type="hidden" name="select_version_submitted" value="1">
	<input type="hidden" name="skip_md5_check" value="1">
    <input type="hidden" name="skip_resource_check" value="1">
	<input type="hidden" name="skip_theme_check" value="1">
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="download_upgrade_initial_theme_conflicts_title" pluralize="\count($conflicts)"}</h2>
		</div>
		<div class="ipsSpacer_bottom">
			<p class="ipsType_normal">{lang="download_upgrade_initial_theme_conflicts_explain" pluralize="\count($conflicts)"}</p>
		</div>
		{{foreach $conflicts as $themeId => $categories}}
			{{$theme = \IPS\Theme::load( $themeId );}}
			<div class="ipsSpacer_bottom">
				<h3>{$theme->_title}</h3>
				<ul>
					{{if isset( $categories['html'] )}}
						{{foreach $categories['html'] as $templateName => $templateId}}
							<li>
								{{list( $app, $location, $group, $name ) = explode( '/', $templateName );}}
								<a href="{url="app=core&module=customization&controller=themes&do=templates&id={$themeId}&t_type=templates&t_app={$app}&t_location={$location}&t_group={$group}&t_name={$name}"}" target="_blank" rel="noopener">
									{$app} &rarr; {$location} &rarr; {$group} &rarr; {$name}
								</a>
							</li>
						{{endforeach}}
					{{endif}}
					{{if isset( $categories['css'] )}}
						{{foreach $categories['css'] as $cssName => $cssId}}
							<li>
								{{list( $app, $location, $group, $name ) = explode( '/', $cssName );}}
								<a href="{url="app=core&module=customization&controller=themes&do=templates&id={$themeId}&t_type=css&t_app={$app}&t_location={$location}&t_group={$group}&t_name={$name}"}" target="_blank" rel="noopener">
									{$app} &rarr; {$location} &rarr; {$group} &rarr; {$name}
								</a>
							</li>
						{{endforeach}}
					{{endif}}
				</ul>
			</div>
		{{endforeach}}	
		<p class="ipsType_small">{lang="download_upgrade_initial_theme_conflicts_tip"}</p>	
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<input type="submit" class="ipsButton ipsButton_primary" name="skip_theme_check" value="{lang="continue"}">
	</div>
</form>]]></template>
 <template template_group="system" template_name="upgradeExtract" template_data="$url" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsType_center">
	<iframe src="{$url}" width="100%" style="border:0; height:50px; margin:0"></iframe>
	{lang="delta_upgrade_extracting"}
</div>]]></template>
 <template template_group="system" template_name="upgradeExtractCic" template_data="$url" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad ipsType_center">
	<iframe src="{$url}" width="100%" style="border:0; height:200px; margin:0" scrolling="no"></iframe>
	<p class='ipsType_light'>
		{lang="delta_upgrade_applycic"}
	</p>
</div>]]></template>
 <template template_group="system" template_name="upgradeExtractCic2" template_data="" template_location="admin" template_app="core"><![CDATA[<div data-controller='core.admin.system.autoupgradetimer'>
	<div class="ipsPad">
		<div class="ipsSpacer_bottom">
			<h2 class='ipsType_sectionHead'>{lang="delta_upgrade_cic2"}</h2>
		</div>
		<div class="ipsSpacer_bottom">
			<p>{lang="delta_upgrade_cic2_desc"}</p>
		</div>
	</div>
	<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
		<span data-role="counter-wrapper">{lang="delta_upgrade_cic2_cont"}</span>
		<span data-role="continue-button" class='ipsJS_hide'><a href="{url="app=core&module=system&controller=upgrade&check=1"}" class="ipsButton ipsButton_primary">{lang="continue"}</a></span>
	</div>
</div>]]></template>
 <template template_group="system" template_name="upgradeFinished" template_data="$databaseErrors" template_location="admin" template_app="core"><![CDATA[<div class="ipsPad">
	
	<p class="ipsMessage ipsMessage_success">
		{lang="upgrade_complete"}
	</p>
	{{if $databaseErrors}}
		<div class="ipsMessage ipsMessage_warning">
			{lang="upgrade_complete_database_error"}<br>
			<a href="{url="app=core&module=system&controller=upgrade&do=databaseChecker" csrf="true"}" data-ipsDialog data-ipsDialog-title="{lang="self_service"}" class="ipsButton ipsButton_veryLight ipsButton_verySmall ipsSpacer_top ipsSpacer_half">{lang="help_me_fix_this"}</a>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="system" template_name="upgradeManagedContactUs" template_data="$supportEmail" template_location="admin" template_app="core"><![CDATA[<div class="ipsPadding ipsBox">
	<h2 class="ipsType_pageTitle ipsType_center">{lang="managed_upgrade_block_head"}</h2>
	<div class="ipsPad ipsSpacer_top ipsSpacer_bottom ipsType_center"><img src='{resource="machine.png" app="core" location="admin"}'></div>
	<p class="ipsType_large ipsType_center">{lang="managed_upgrade_block_msg" sprintf="$supportEmail, $supportEmail"}</p>
</div>]]></template>
 <template template_group="system" template_name="upgradeSelectVersion" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="admin" template_app="core"><![CDATA[{{if \IPS\CIC AND \IPS\Cicloud\isManaged()}}
	<h2 class="ipsType_pageTitle ipsType_center ipsPad">{lang="managed_upgrade_allow_head" sprintf="\IPS\Cicloud\managedSupportEmail()"}</h2>
{{endif}}
{{foreach $elements as $collection}}
	{{foreach $collection as $input}}
		{{if \count( $input->options['options'] ) > 1}}
			<div class="ipsAreaBackground ipsPad">
				<div class="ipsSpacer_bottom">{lang="upgrade_choose_version"}</div>
		{{endif}}
		{{foreach $input->options['options'] as $longVersion => $humanVersion}}
			<form accept-charset='utf-8' action="{$action}" method="post">
				<input type="hidden" name="{$id}_submitted" value="1">
				{{foreach $hiddenValues as $k => $v}}
					{{if \is_array($v)}}
						{{foreach $v as $_k => $_v}}
							<input type="hidden" name="{$k}[{$_k}]" value="{$_v}">
						{{endforeach}}
					{{else}}
						<input type="hidden" name="{$k}" value="{$v}">
					{{endif}}
				{{endforeach}}
				<input type="hidden" name="version" value="{$longVersion}">
				
				{{if \count( $input->options['options'] ) > 1}}
					<div class="ipsBox ipsSpacer_bottom">
						{{if $humanVersion === \IPS\Application::load('core')->version}}
							<h2 class="ipsBox_titleBar">{lang="upgrade_check_patches"}</h2>
						{{else}}
							<h2 class='ipsBox_titleBar'>{$humanVersion}</h2>
						{{endif}}
						<div class="ipsPad">
							{{if $humanVersion === \IPS\Application::load('core')->version}}
								{{if $input->options['_details'][ $longVersion ]['releasenotes']}}
									<ul>
										{{foreach $input->options['_details'][ $longVersion ]['changes'] as $issue}}
											<li>{$issue}</li>
										{{endforeach}}
									</ul>
								{{endif}}
							{{else}}
								{{if $input->options['_details'][ $longVersion ]['security']}}
									<p class="ipsType_reset"><strong class="ipsType_warning">{lang="this_is_a_security_update"}</strong></p>
								{{endif}}
								{{if $input->options['_details'][ $longVersion ]['releasenotes']}}
									<div>{$input->options['_details'][ $longVersion ]['releasenotes']|raw}</div>
								{{endif}}
							{{endif}}
							<input type="submit" class="ipsButton ipsButton_primary" value="{{if \IPS\CIC}}{lang="start_upgrade"}{{else}}{lang="continue"}{{endif}}">
							{{if $input->options['_details'][ $longVersion ]['updateurl']}}
								<a href='{$input->options['_details'][ $longVersion ]['updateurl']}' target="_blank" rel="noopener" class='ipsButton ipsButton_alternate ipsButton_small'>{lang="dashboard_version_moreinfo"}</a>
							{{endif}}
						</div>
					</div>
				{{else}}
					<div class="ipsAreaBackground_reset ipsPad">
						{{if $humanVersion === \IPS\Application::load('core')->version}}
							<h2 class='ipsType_sectionHead'>{lang="upgrade_check_patches"}</h2>
							{{if $input->options['_details'][ $longVersion ]['releasenotes']}}
								<ul>
									{{foreach $input->options['_details'][ $longVersion ]['changes'] as $issue}}
										<li>{$issue}</li>
									{{endforeach}}
								</ul>
							{{endif}}
						{{else}}
							<h2 class='ipsType_sectionHead'>{lang="dashboard_version_info" sprintf="$humanVersion"}</h2>
							{{if $input->options['_details'][ $longVersion ]['security']}}
								<p><strong class="ipsType_warning">{lang="this_is_a_security_update"}</strong></p>
							{{endif}}
							{{if $input->options['_details'][ $longVersion ]['releasenotes']}}
								<div>{$input->options['_details'][ $longVersion ]['releasenotes']|raw}</div>
							{{endif}}
						{{endif}}
					</div>
					<div class="ipsAreaBackground_light ipsClearfix ipsPad ipsType_center">
						<input type="submit" class="ipsButton ipsButton_primary" value="{{if \IPS\CIC}}{lang="start_upgrade"}{{else}}{lang="continue"}{{endif}}">
						{{if $input->options['_details'][ $longVersion ]['updateurl']}}
							<a href='{$input->options['_details'][ $longVersion ]['updateurl']}' target="_blank" rel="noopener" class='ipsButton ipsButton_alternate ipsButton_small'>{lang="dashboard_version_moreinfo"}</a>
						{{endif}}
					</div>
				{{endif}}
			</form>
		{{endforeach}}
		{{if \count( $input->options['options'] ) > 1}}
			</div>
		{{endif}}
	{{endforeach}}
{{endforeach}}
]]></template>
 <template template_group="system" template_name="warningRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[
{{foreach $rows as $row}}
	<li class="ipsDataItem {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} ">
		<div class='ipsDataItem_icon ipsPos_top'>
			<a href="{url="app=core&module=system&controller=warnings&do=view&id={$row->member}&w={$row->id}" seoTemplate="warn_view" seoTitle="\IPS\Member::load( $row->member )->members_seo_name"}" data-ipsDialog data-ipsDialog-size='narrow' class="ipsType_blendLinks" data-ipsTooltip title='{lang="wan_action_points" pluralize="$row->points"}'>
                <span class="ipsPoints {{if $row->expire_date == 0}}ipsPoints_removed{{endif}}">{$row->points}</span>
			</a>
		</div>
		<div class='ipsDataItem_main'>
			<h4 class='ipsDataItem_title'>				
				<a href='{$row->url()}' title='{lang="view_announcement"}' {{if $row->tableHoverUrl}}data-ipsHover{{endif}}>
					{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
				</a>
			</h4>
            {{if $row->note_member}}
                <div class='ipsDataItem_meta ipsType_richText ipsType_medium' data-ipsTruncate data-ipsTruncate-size='1 lines' data-ipsTruncate-type='remove'>
                    {lang="warn_member_note"}: {$row->note_member|raw}
                </div>
            {{endif}}
            {{if $row->note_mods and member.modPermission('mod_see_warn')}}
                <div class='ipsDataItem_meta ipsType_richText ipsType_medium' data-ipsTruncate data-ipsTruncate-size='1 lines' data-ipsTruncate-type='remove'>
                    {lang="warn_mod_note"}: {$row->note_mods|raw}
                </div>
            {{endif}}
            <ul class='ipsList_inline ipsSpacer_top ipsSpacer_half'>
            {{if \IPS\Settings::i()->warnings_acknowledge}}
            	<li>
					{{if $row->acknowledged}}
						<strong class='ipsType_success'><i class='fa fa-check-circle'></i> {lang="warning_acknowledged"}</strong>
					{{else}}
						<strong class='ipsType_light'><i class='fa fa-circle-o'></i> {lang="warning_not_acknowledged"}</strong>
					{{endif}}
				</li>
			{{endif}}
			<li class='ipsType_light'>{lang="warned_by" sprintf="\IPS\Member::load( $row->moderator )->name"}{datetime="$row->__get( $row::$databaseColumnMap['date'] )"}
                {{if $row->expire_date > 0}}<em><strong>({lang="warning_expires" sprintf="\IPS\DateTime::ts( $row->expire_date )"})</em></strong>{{endif}}
                {{if $row->expire_date == 0}}
                <em><strong>{lang="warning_no_longer_active"}{{if $row->removed_on}} {lang="warning_expired_on" sprintf="\IPS\DateTime::ts( $row->removed_on )->relative()"}{{endif}}</em></strong>
                {{endif}}
            </li>
		</div>
		{{if $row->canDelete()}}
			<div class='ipsDataItem_generic ipsDataItem_size3'>
				<a href="{$row->url('delete')->csrf()}" title='{lang="revoke_this_warning"}' data-action="revoke" class='ipsPos_right ipsButton ipsButton_verySmall ipsButton_light' data-ipsDialog data-ipsDialog-title='{lang="revoke_this_warning"}' data-ipsDialog-size='medium'><i class="fa fa-undo"></i> {lang="revoke_this_warning"}</a>
			</div>
		{{endif}}
		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck ipsType_noBreak ipsPos_center'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row->id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if !$row->active}}hidden{{endif}}'>
					<span></span>
				</span>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="tables" template_name="commentRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	{{$idField = $row::$databaseColumnId;}}
	<li class='ipsMargin ipsDataItem ipsDataItem_autoWidth' data-rowID='{$row->$idField}'>
		<article id='elComment_{$row->$idField}' class='ipsComment ipsBox ipsBox--child {{if \IPS\IPS::classUsesTrait( $row, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $row->reactionCount() >= settings.reputation_highlight}}ipsComment_popular{{endif}} ipsClearfix ipsClear {{if $row->hidden()}}ipsModerated{{endif}}'>

			{{if \IPS\IPS::classUsesTrait( $row, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $row->reactionCount() >= settings.reputation_highlight}}
				<div class='ipsResponsive_showPhone ipsComment_badges'>
					<ul class='ipsList_reset ipsFlex ipsFlex-fw:wrap ipsGap:2 ipsGap_row:1'>
						<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_post"}</strong></li>
					</ul>
				</div>
			{{endif}}

			<div id='comment-{$row->$idField}_wrap' class='ipsComment_content ipsType_normal ipsClearfix'>	
				<div class='ipsComment_header ipsPadding_top ipsFlex ipsFlex-fd:row-reverse ipsFlex-ai:start ipsFlex-jc:between sm:ipsFlex-fd:column'>
					<div class='ipsComment_toolWrap ipsFlex-flex:00'>
						{{if \IPS\IPS::classUsesTrait( $row, 'IPS\Content\Reactable' ) and settings.reputation_highlight and $row->reactionCount() >= settings.reputation_highlight}}
							<div class='ipsResponsive_hidePhone ipsComment_badges'>
								<ul class='ipsList_reset ipsFlex ipsFlex-jc:end ipsFlex-fw:wrap ipsGap:2 ipsGap_row:1'>
									<li><strong class='ipsBadge ipsBadge_large ipsBadge_popular'>{lang="this_is_a_popular_post"}</strong></li>
								</ul>
							</div>
						{{endif}}
						<ul class='ipsList_reset ipsComment_tools'>
							{{if $row->canReportOrRevoke() === TRUE}}
								<li><a href='{$row->url('report')}' {{if member.member_id or \IPS\Helpers\Form\Captcha::supportsModal()}}data-ipsDialog data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-ipsDialog-flashMessage='{lang="report_submit_success"}' data-ipsDialog-title="{lang="report_reply"}"{{endif}} data-action='reportComment' title='{lang="report_content"}' class='ipsType_medium ipsType_light'>{lang="report"}</a></li>
							{{endif}}
							{{if $table->canModerate() and ( $row->canSplit() or ( $row->hidden() === -1 AND $row->canUnhide() ) or ( $row->hidden() === 1 AND $row->canUnhide() ) or $row->canDelete() )}}
								<li>
									<span class='ipsCustomInput'>
										<input type="checkbox" name="moderate[{$row->$idField}]" value="1" data-role="moderation" data-actions="{{if $row->canSplit()}}split{{endif}} {{if $row->hidden() === -1 AND $row->canUnhide()}}unhide{{elseif $row->hidden() === 1 AND $row->canUnhide()}}approve{{elseif $row->canHide()}}hide{{endif}} {{if $row->canDelete()}}delete{{endif}}" data-state='{{if $row->tableStates()}}{$row->tableStates()}{{endif}}'>
										<span></span>
									</span>
								</li>
							{{endif}}
						</ul>
					</div>
					{$row->contentTableHeader()|raw}
				</div>
				
				<div class=''>
					<div class='ipsPadding_horizontal ipsPadding_bottom ipsPadding_top:half'>
						{{if \IPS\Request::i()->controller == 'activity'}}
							<div class='ipsPhotoPanel ipsPhotoPanel_mini ipsClearfix'>
								{template="userPhoto" group="global" app="core" params="$row->author(), 'mini'"}
								<div>
									<h3 class='ipsType_reset ipsType_normal'>{$row->author()->link( NULL, NULL, $row->isAnonymous() )|raw}</h3>
						{{endif}}
						<p class='ipsComment_meta ipsType_light ipsType_medium ipsType_blendLinks'>
							<a href='{$row->url( 'find' )}' class='ipsType_blendLinks'>{$row->dateLine()|raw}</a>
							{{if $row->editLine()}}
								&middot; {$row->editLine()|raw}
							{{endif}}
							{{if $row->hidden()}}
								&middot; {$row->hiddenBlurb()}
							{{endif}}							
						</p>
						{{if \IPS\Request::i()->controller == 'activity'}}
								</div>
							</div>
						{{endif}}

						<div data-role='commentContent' class='ipsType_break ipsType_richText ipsContained ipsMargin_top' data-controller='core.front.core.lightboxedImages'>
							{{if $row->hidden() === 1 && $row->author()->member_id == \IPS\Member::loggedIn()->member_id}}
								<strong class='ipsType_medium ipsType_warning'><i class='fa fa-info-circle'></i> {lang="comment_awaiting_approval"}</strong>
							{{endif}}
							{$row->content()|raw}
						</div>
					</div>
					{{if $row->hidden() !== 1 && \IPS\IPS::classUsesTrait( $row, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
						<div class='ipsItemControls'>
							{template="reputation" group="global" app="core" params="$row"}
						</div>
					{{endif}}
				</div>		
			</div>
		</article>
	</li>
{{endforeach}}]]></template>
 <template template_group="tables" template_name="container" template_data="$table, $header=NULL" template_location="front" template_app="core"><![CDATA[<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom'>
	<h1 class='ipsType_pageTitle'>{{if $header}}{$header}{{else}}{expression="\IPS\Output::i()->title"}{{endif}}</h1>
</div>

<div class='ipsBox'>
	{$table|raw}
</div>]]></template>
 <template template_group="tables" template_name="content" template_data="$content" template_location="admin" template_app="core"><![CDATA[<div data-ipsTruncate data-ipsTruncate-size="5 lines">
	{$content|raw}
</div>]]></template>
 <template template_group="tables" template_name="icon" template_data="$class, $container=NULL" template_location="front" template_app="core"><![CDATA[<i class='fa fa-{$class::$icon}'></i> 
{{if $container === NULL}}
	{lang="$class::$title"}
{{else}}
	<a href="{$container->url()}">{lang="icon_blurb_in_containers" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $class::$title ), $container->_title"}</a>
{{endif}}]]></template>
 <template template_group="tables" template_name="manageFollowNodeRow" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	{{$contentItemClass = $row::$contentItemClass;}}
	<li class="ipsDataItem {{if $contentItemClass::containerUnread( $row )}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}}" data-controller='core.front.system.manageFollowed' data-followID='{$row->_followData['follow_area']}-{$row->_followData['follow_rel_id']}'>
		<div class='ipsDataItem_main'>
			<h4 class='ipsType_sectionHead'>
				{{if $row->_locked}}
					<i class="fa fa-lock"></i>
				{{endif}}
				
				<a href='{$row->url()}'>
					{$row->_title}
				</a>
			</h4>
			<div class='ipsDataItem_meta ipsType_light' data-ipsTruncate data-ipsTruncate-size='2 lines' data-ipsTruncate-type='remove'>
				{$row->_description}
			</div>
			<ul class='ipsList_inline ipsType_light'>
				{{if $row->_items}}
					<li>{lang="node_content_items" pluralize="$row->_items"}</li>
				{{endif}}
				{{if $row->_comments}}
					<li>{lang="node_content_comments" pluralize="$row->_comments"}</li>
				{{endif}}
				{{if $row->_reviews}}
					<li>{lang="node_content_reviews" pluralize="$row->_reviews"}</li>
				{{endif}}
			</ul>
		</div>
		
		<div class='ipsDataItem_generic ipsDataItem_size1 ipsType_center ipsType_large'>
			<span class='ipsBadge ipsBadge_icon ipsBadge_new {{if !$row->_followData['follow_is_anon']}}ipsHide{{endif}}' data-role='followAnonymous' data-ipsTooltip title='{lang="follow_is_anon"}'><i class='fa fa-eye-slash'></i></span>
		</div>

		<div class='ipsDataItem_generic ipsDataItem_size6'>
			<ul class='ipsList_reset'>
				<li title='{lang="follow_when"}' data-role='followDate'><i class='fa fa-clock-o'></i> {datetime="$row->_followData['follow_added']"}</li>
				<li title='{lang="follow_how"}' data-role='followFrequency'>
					{{if $row->_followData['follow_notify_freq'] == 'none'}}
						<i class='fa fa-bell-slash-o'></i>
					{{else}}
						<i class='fa fa-bell'></i>
					{{endif}} {lang="follow_freq_{$row->_followData['follow_notify_freq']}"}
				</li>
			</ul>
		</div>

		<div class='ipsDataItem_generic ipsDataItem_size6 ipsType_center'>
			{template="manageFollow" group="system" app="core" params="$row->_followData['follow_app'], $row->_followData['follow_area'], $row->_followData['follow_rel_id']"}
		</div>

		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row->_id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state=''>
					<span></span>
				</span>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="tables" template_name="manageFollowRow" template_data="$table, $headers, $rows, $includeFirstCommentInCommentCount=TRUE" template_location="front" template_app="core"><![CDATA[{{if \count( $rows )}}
	{{foreach $rows as $row}}
	{{$idField = $row::$databaseColumnId;}}
		<li class="ipsDataItem ipsDataItem_responsivePhoto {{if $row->unread()}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if $row->hidden()}}ipsModerated{{endif}}" data-controller='core.front.system.manageFollowed' data-followID='{$row->_followData['follow_area']}-{$row->_followData['follow_rel_id']}'>
			<div class='ipsDataItem_main'>
				<h4 class='ipsDataItem_title ipsContained_container'>
					{{if $row->mapped('locked')}}
						<span><i class="fa fa-lock"></i></span>
					{{endif}}

					{{if $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}}
						<span>
							{{if $row->hidden() === -1}}
								<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span>
							{{elseif $row->hidden() === 1}}
								<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span>
							{{endif}}							
							{{if $row->mapped('pinned')}}
								<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span>
							{{endif}}
							{{if $row->mapped('featured')}}
								<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
							{{endif}}
						</span>
					{{endif}}

					{{if $row->prefix()}}
						<span>{template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"}</span>
					{{endif}}
					
					<span class='ipsType_break ipsContained'>
						<a href='{$row->url()}'>
							{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
						</a>
					</span>
				</h4>
				<div class='ipsDataItem_meta ipsType_light ipsType_blendLinks' data-ipsTruncate data-ipsTruncate-size='2 lines' data-ipsTruncate-type='remove'>
					{{if method_exists( $row, 'tableDescription' )}}
						{$row->tableDescription()|raw}
					{{else}}
                        {lang="byline" htmlsprintf="$row->author()->link( $row->warningRef() )"}{datetime="$row->__get( $row::$databaseColumnMap['date'] )"}
						{lang="in"} <a href="{$row->container()->url()}">{$row->container()->_title}</a>
					{{endif}}
				</div>				
			</div>

			<div class='ipsDataItem_generic ipsDataItem_size1 ipsType_center ipsType_large cFollowedContent_anon'>
				<span class='ipsBadge ipsBadge_icon ipsBadge_new {{if !$row->_followData['follow_is_anon']}}ipsHide{{endif}}' data-role='followAnonymous' data-ipsTooltip title='{lang="follow_is_anon"}'><i class='fa fa-eye-slash'></i></span>
			</div>

			<div class='ipsDataItem_generic ipsDataItem_size6 cFollowedContent_info'>
				<ul class='ipsList_reset'>
					<li title='{lang="follow_when"}' data-role='followDate'><i class='fa fa-clock-o'></i> {datetime="$row->_followData['follow_added']"}</li>
					<li title='{lang="follow_how"}' data-role='followFrequency'>
						{{if $row->_followData['follow_notify_freq'] == 'none'}}
							<i class='fa fa-bell-slash-o'></i>
						{{else}}
							<i class='fa fa-bell'></i>
						{{endif}} {lang="follow_freq_{$row->_followData['follow_notify_freq']}"}
					</li>
				</ul>
			</div>

			<div class='ipsDataItem_generic ipsDataItem_size6 ipsType_center cFollowedContent_manage'>
				{template="manageFollow" group="system" app="core" params="$row->_followData['follow_app'], $row->_followData['follow_area'], $row->_followData['follow_rel_id']"}
			</div>

			{{if $table->canModerate()}}
				<div class='ipsDataItem_modCheck'>
					<span class='ipsCustomInput'>
						<input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if $row->tableStates()}}{$row->tableStates()}{{endif}}'>
						<span></span>
					</span>
				</div>
			{{endif}}

		</li>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="tables" template_name="nodeRows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{foreach $rows as $row}}
	{{$contentItemClass = $row::$contentItemClass;}}
	<li class="ipsDataItem {{if $contentItemClass::containerUnread( $row )}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}}">
		{{if method_exists( $row, 'tableIcon' )}}
			<div class='ipsDataItem_icon ipsType_center ipsType_noBreak'>
				{$row->tableIcon()|raw}
			</div>
		{{endif}}
		<div class='ipsDataItem_main'>
			<h4 class='ipsDataItem_title'>
				{{if $contentItemClass::containerUnread( $row )}}
					<span class='ipsBadge ipsBadge_new'>{lang="new"}</span>
				{{endif}}

				{{if $row->_locked}}
					<i class="fa fa-lock"></i>
				{{endif}}
				
				<a href='{$row->url()}'>
					{$row->_title}
				</a>
			</h4>
			<div class='ipsDataItem_meta ipsType_light' data-ipsTruncate data-ipsTruncate-size='2 lines' data-ipsTruncate-type='remove'>
				{$row->_description}
			</div>
		</div>
		<ul class='ipsDataItem_stats'>
			<li>
				<span class='ipsDataItem_stats_number'>{number="$row->_items"}</span>
				<span class='ipsDataItem_stats_type'>{lang="node_content_items" pluralize="$row->_items"}</span>
			</li>
			<li>
				<span class='ipsDataItem_stats_number'>{number="$row->_comments"}</span>
				<span class='ipsDataItem_stats_type'>{lang="node_content_comments" pluralize="$row->_comments"}</span>
			</li>
			<li>
				<span class='ipsDataItem_stats_number'>{number="$row->_reviews"}</span>
				<span class='ipsDataItem_stats_type'>{lang="node_content_reviews" pluralize="$row->_reviews"}</span>
			</li>
		</ul>
		{{if $table->canModerate()}}
			<div class='ipsDataItem_modCheck'>
				<span class='ipsCustomInput'>
					<input type='checkbox' data-role='moderation' name="moderate[{$row->_id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state=''>
					<span></span>
				</span>
			</div>
		{{endif}}
	</li>
{{endforeach}}]]></template>
 <template template_group="tables" template_name="noRows" template_data="" template_location="front" template_app="core"><![CDATA[<div class='ipsType_center ipsPad'>
	<p class='ipsType_large'>{lang="nothing_to_show"}</p>
</div>]]></template>
 <template template_group="tables" template_name="rows" template_data="$table, $headers, $rows" template_location="admin" template_app="core"><![CDATA[{{if empty( $rows )}}
	<tr>
		<td colspan="{expression="\count( $headers )"}">
			<div class='ipsPad_double ipsType_light'>
				{lang="no_results"}
				{{if ( isset( $table->rootButtons['add'] ) )}}
					&nbsp;&nbsp;
					<a 
						{{if isset( $table->rootButtons['add']['link'] )}}href='{$table->rootButtons['add']['link']}'{{endif}}
						title='{lang="$table->rootButtons['add']['title']"}'
						class='ipsButton ipsButton_alternate ipsButton_small {{if isset( $table->rootButtons['add']['class'] )}}{$table->rootButtons['add']['class']}{{endif}}'
						role="button"
						{{if isset( $table->rootButtons['add']['data'] )}}
							{{foreach $table->rootButtons['add']['data'] as $k => $v}}
								data-{$k}="{$v}"
							{{endforeach}}
						{{endif}}
						{{if isset( $table->rootButtons['add']['hotkey'] )}}
							data-keyAction='{$table->rootButtons['add']['hotkey']}'
						{{endif}}
					>{lang="$table->rootButtons['add']['title']"}</a>
				{{endif}}
			</div>
		</td>
	</tr>
{{else}}
	{{foreach $rows as $rowId => $r}}
		<tr class='ipsClearfix{{if isset( $table->highlightRows[ $rowId ] )}} {$table->highlightRows[ $rowId ]}{{endif}}' data-keyNavBlock {{if isset( $r['_buttons']['view'] )}}data-tableClickTarget="view"{{elseif isset( $r['_buttons']['edit'] )}}data-tableClickTarget="edit"{{endif}}>
			{{foreach $r as $k => $v}}
				<td class='{{if $k === 'photo'}}ipsTable_icon{{endif}} {{if $k === ( $table->mainColumn ?: $table->quickSearch ) OR $k === 'o_invoice'}}ipsTable_wrap{{endif}} {{if $k === $table->mainColumn}}ipsTable_primary{{endif}} {{if $k === '_buttons'}}ipsTable_controls{{endif}}{{if isset( $table->rowClasses[ $k ] )}}{expression="implode( ' ', $table->rowClasses[ $k ] )"}{{endif}}' {{if $k !== $table->mainColumn && $k !== '_buttons' && $k !== 'photo'}}data-title="{lang="{$table->langPrefix}{$k}"}"{{endif}}>
					{{if $k === '_buttons'}}
						{template="controlStrip" params="$v" group="global" app="core"}
					{{else}}
						{$v|raw}
					{{endif}}
				</td>
			{{endforeach}}
		</tr>
	{{endforeach}}
{{endif}}]]></template>
 <template template_group="tables" template_name="rows" template_data="$table, $headers, $rows" template_location="front" template_app="core"><![CDATA[{{$rowIds = array();}}
{{foreach $rows as $row}}
	{{$idField = $row::$databaseColumnId;}}
	{{$rowIds[] = $row->$idField;}}
{{endforeach}}
{{if \count( $rows )}}
	{{foreach $rows as $row}}
	{{$idField = $row::$databaseColumnId;}}
		{{if $row->mapped('moved_to')}}
			{{if $movedTo = $row->movedTo()}}
				<li class="ipsDataItem">
					<div class='ipsDataItem_icon ipsType_center ipsType_noBreak'>
						<i class="fa fa-arrow-left ipsType_large"></i>
					</div>
					<div class='ipsDataItem_main'>
						<h4 class='ipsDataItem_title'>
							<span class='ipsType_break ipsContained_container'><em><a href='{$movedTo->url()}' title='{lang="go_to_new_location"}' class='ipsTruncate ipsTruncate_line'>{$row->mapped('title')}</a></em></span>
						</h4>
						<div class='ipsDataItem_meta'>
							{{if isset( $row::$databaseColumnMap['status'] )}}
								{{$statusField = $row::$databaseColumnMap['status'];}}
								{{if $row->$statusField == 'merged'}}
									<p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="merged_to" sprintf="$movedTo->url(), $movedTo->mapped('title')"}</p>
								{{else}}
									<p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="moved_to" sprintf="$movedTo->container()->url(), $movedTo->container()->_title"}</p>
								{{endif}}
							{{else}}
								<p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="moved_to" sprintf="$movedTo->container()->url(), $movedTo->container()->_title"}</p>
							{{endif}}
						</div>
					</div>
					{{if $table->canModerate()}}
						<div class='ipsDataItem_modCheck'>
							<span class='ipsCustomInput'>
								<input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if $row->mapped('pinned')}}pinned{{endif}} {{if $row->mapped('featured')}}featured{{endif}}'>
								<span></span>
							</span>
						</div>
					{{endif}}
				</li>
			{{endif}}
		{{else}}
			<li class="ipsDataItem ipsDataItem_responsivePhoto {{if $row->unread()}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if $row->hidden()}}ipsModerated{{endif}}">
				<div class='ipsDataItem_icon ipsPos_top'>
					{{if $row->unread()}}
						<a href='{$row->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip>
							{{if $row->containerWrapper() AND \IPS\IPS::classUsesTrait( $row->containerWrapper(), 'IPS\Node\Statistics' ) AND \in_array( $row->$idField, $row->containerWrapper()->contentPostedIn( null, $rowIds ) )}}
								<span class='ipsItemStatus'><i class="fa fa-star"></i></span>
							{{else}}
								<span class='ipsItemStatus'><i class="fa fa-circle"></i></span>
							{{endif}}
						</a>
					{{else}}
						{{if $row->containerWrapper() AND \IPS\IPS::classUsesTrait( $row->containerWrapper(), 'IPS\Node\Statistics' ) AND \in_array( $row->$idField, $row->containerWrapper()->contentPostedIn( null, $rowIds ) )}}
							<span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span>
						{{else}}
							&nbsp;
						{{endif}}
					{{endif}}
				</div>
				<div class='ipsDataItem_main'>
					<h4 class='ipsDataItem_title ipsContained_container'>						
						{{if $row->mapped('locked')}}
							<span><i class="fa fa-lock"></i></span>
						{{endif}}

						{{if $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}}
							<span>
								{{if $row->hidden() === -1}}
									<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span>
								{{elseif $row->hidden() === 1}}
									<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span>
								{{endif}}							
								{{if $row->mapped('pinned')}}
									<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span>
								{{endif}}
								{{if $row->mapped('featured')}}
									<span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span>
								{{endif}}
							</span>
						{{endif}}
						
						{{if $row->prefix()}}
							<span>{template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"}</span>
						{{endif}}
						
						<span class='ipsType_break ipsContained'>
							<a href='{$row->url()}' {{if $row->tableHoverUrl and $row->canView()}}data-ipsHover data-ipsHover-target='{$row->url()->setQueryString('preview', 1)}'data-ipsHover{{endif}} {{if $row->canEdit() AND $row->editableTitle === TRUE}}data-role="editableTitle" title="{lang="click_hold_edit"}"{{endif}}>
								{{if $row->mapped('title') or $row->mapped('title') == 0}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}}
							</a>
						</span>
						{{if $row->commentPageCount() > 1}}
	                        {$row->commentPagination( array(), 'miniPagination' )|raw}
	                    {{endif}}
					</h4>

					<div class='ipsDataItem_meta ipsType_light ipsType_blendLinks' data-ipsTruncate data-ipsTruncate-size='2 lines' data-ipsTruncate-type='remove'>
						{{if method_exists( $row, 'tableDescription' )}}
							{$row->tableDescription()|raw}
						{{else}}
                            {lang="byline" htmlsprintf="$row->author()->link( $row->warningRef(), NULL, $row->isAnonymous() )"}{datetime="$row->__get( $row::$databaseColumnMap['date'] )"}
							{{if \in_array( \IPS\Request::i()->controller, array( 'search' ) )}}
								{lang="in"} <a href="{$row->container()->url()}">{$row->container()->_title}</a>
							{{endif}}
						{{endif}}
					</div>
					{{if $row->tags() AND \count( $row->tags() )}}
						&nbsp;&nbsp;
						{template="tags" group="global" app="core" params="$row->tags(), true, true"}
					{{endif}}
				</div>
				<ul class='ipsDataItem_stats'>
					{{foreach $row->stats(TRUE) as $k => $v}}
						<li {{if \in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}>
							<span class='ipsDataItem_stats_number'>{number="$v"}</span>
							<span class='ipsDataItem_stats_type'>{lang="$k" pluralize="$v"}</span>
						</li>
					{{endforeach}}
				</ul>
				<ul class='ipsDataItem_lastPoster ipsDataItem_withPhoto ipsType_blendLinks'>
					<li>
						{{if $row->mapped('num_comments')}}
							{template="userPhoto" app="core" group="global" params="$row->lastCommenter(), 'tiny'"}
						{{else}}
							{template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"}
						{{endif}}
					</li>
					<li>
						{{if $row->mapped('num_comments')}}
							{$row->lastCommenter()->link()|raw}
						{{else}}
							{$row->author()->link()|raw}
						{{endif}}
					</li>
					<li class="ipsType_light">
						{{if $row->mapped('last_comment')}}
							<a href="{$row->url('getLastComment')}">{datetime="$row->mapped('last_comment')"}</a>
						{{else}}
							{datetime="$row->mapped('date')"}
						{{endif}}
					</li>
				</ul>
				{{if $table->canModerate()}}
					<div class='ipsDataItem_modCheck'>
						<span class='ipsCustomInput'>
							<input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if $row->tableStates()}}{$row->tableStates()}{{endif}}'>
							<span></span>
						</span>
					</div>
				{{endif}}

			</li>
		{{endif}}
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="tables" template_name="subRow" template_data="$subResult" template_location="front" template_app="core"><![CDATA[
<li class='cSearchSubResult ipsPhotoPanel ipsPhotoPanel_tiny'>
	{template="userPhoto" group="global" app="core" params="$subResult->author(), 'tiny'"}
	<div>
		<p class='ipsType_reset'>
			{{if $subResult instanceof \IPS\Content\Review}}
				<a href='{$subResult->url()}' title='{lang="go_to_this_review"}'>
					<strong>{lang="search_user_reviewed" sprintf="$subResult->author()->name"} &nbsp;<span class='ipsType_light ipsType_unbold'>{datetime="$subResult->mapped('date')"}</span></strong>
				</a>
			{{else}}
				<a href='{$subResult->url()}' title='{lang="go_to_this_post"}'>
					<strong>{lang="search_user_commented" sprintf="$subResult->author()->name"} &nbsp;<span class='ipsType_light ipsType_unbold'>{datetime="$subResult->mapped('date')"}</span></strong>
				</a>
			{{endif}}
		</p>
		{{if $subResult instanceof \IPS\Content\Review}}
			{template="rating" group="global" app="core" params="'tiny', $subResult->mapped('rating'), \IPS\Settings::i()->reviews_rating_out_of"}
		{{endif}}
		<div class='ipsType_richText ipsType_medium ipsType_break' data-ipsTruncate data-ipsTruncate-size='2 lines' data-ipsTruncate-type='remove'>
			{$subResult->truncated()|raw}
		</div>
	</div>
</li>]]></template>
 <template template_group="tables" template_name="table" template_data="$table, $headers, $rows, $quickSearch" template_location="admin" template_app="core"><![CDATA[<div data-baseurl="{$table->baseUrl}" data-resort='{$table->resortKey}' data-controller="core.global.core.table">
	<div class='ipsClearfix'>
		<div data-role="tablePagination" class='ipsSpacer_bottom {{if $table->pages <= 1}}ipsHide{{endif}}'>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
		</div>
		{template="buttons" params="$table->rootButtons, ''" group="global" app="core" if="isset( $headers['_buttons'] )"}
	</div>
	<div class="acpBlock ipsClear">
		{{if $quickSearch !== NULL or $table->advancedSearch or !empty( $table->filters )}}
			<div class='acpWidgetToolbar ipsFlex ipsFlex-ai:center ipsFlex-jc:between' data-role="tableSortBar">

				<!-- Filter buttons -->
				{{if !empty( $table->filters )}}
					<div class='ipsButtonBar ipsClearfix ipsResponsive_showDesktop'>
						<ul class='ipsButtonRow ipsPos_left ipsClearfix'>
							<li data-action="tableFilter" data-filter="">
								<a href='{$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection, 'filter' => '' ) )->setPage( 'page', 1 )}' class='{{if !array_key_exists( $table->filter, $table->filters )}}ipsButtonRow_active{{endif}}'>{lang="all"}</a>
							</li>
							{{foreach $table->filters as $k => $q}}
								<li data-action="tableFilter" data-filter="{$k}">
									<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection) )->setPage( 'page', 1 )}' class='{{if $k === $table->filter}}ipsButtonRow_active{{endif}}'>{lang="$k"}</a>
								</li>
							{{endforeach}}
						</ul>
					</div>
				{{endif}}

				<!-- Search -->
				<div class='ipsFlex ipsMargin-l:auto ipsPosition:relative'>
					{{if $quickSearch !== NULL or $table->advancedSearch}}
						{{if $quickSearch !== NULL}}
							<input type='text' class='acpTable_search ipsJS_show' data-role='tableSearch' results placeholder="{{if \is_string( $quickSearch )}}{lang="search_prefix" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $table->langPrefix . $quickSearch )"}{{else}}{lang="search"}{{endif}}" value="{expression="\IPS\Request::i()->quicksearch?:''"}">
						{{endif}}
						{{if $table->advancedSearch}}
							<a class='acpWidgetSearch' data-ipsTooltip aria-label='{lang="search"}' href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="search"}'><i class='fa fa-cog'></i></a>
						{{endif}}
					{{endif}}
				</div>
				
				<div class='ipsButtonBar ipsClearfix ipsResponsive_hideDesktop ipsResponsive_block'>
					{{if !empty( $table->filters )}}
						<ul class='ipsButtonRow ipsPos_left ipsClearfix'>
							<li>
								<a href='#elFilterMenu_menu' data-role="tableFilterMenu" id='elFilterMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="filter"} <i class='fa fa-caret-down'></i></a>
								<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterMenu_menu'>
									<li data-ipsMenuValue='' class='ipsMenu_item {{if !array_key_exists( $table->filter, $table->filters )}}ipsMenu_itemChecked{{endif}}'><a href='{$table->baseUrl->setQueryString( array( 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="all"}</a></li>
									{{foreach $table->filters as $k => $q}}
										<li class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}' data-action="tableFilter" data-ipsMenuValue='{$k}'><a href={$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}'>{lang="$k"}</a></li>
									{{endforeach}}
								</ul>
							</li>
						</ul>
					{{endif}}
					<ul class='ipsButtonRow ipsPos_left ipsClearfix'>
						<li>
							<a href='#elSortMenu_menu' id='elSortMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="sort_by"} <i class='fa fa-caret-down'></i></a>
							<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elSortMenu_menu'>
								{{foreach $headers as $k => $header}}
									{{if $header !== '_buttons' && !\in_array( $header, $table->noSort )}}
										<li class='ipsMenu_item {{if $header == $table->sortBy}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='{$header}'>
											{{if $header == $table->sortBy and $table->sortDirection == 'desc'}}
												<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'desc' ) )}'>
											{{else}}
												<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'asc' ) )}'>
											{{endif}}
													{lang="{$table->langPrefix}{$header}"}
												</a>
										</li>
									{{endif}}
								{{endforeach}}
							</ul>
						</li>
						<li>
							<a href='#elOrderMenu_menu' id='elOrderMenu' data-ipsMenu data-ipsMenu-activeClass='ipsButtonRow_active' data-ipsMenu-selectable="radio">{lang="order_by"} <i class='fa fa-caret-down'></i></a>
							<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elOrderMenu_menu'>
								<li class='ipsMenu_item {{if $table->sortDirection == 'asc'}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='asc'>
									<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => 'asc' ) )}'>{lang="ascending"}</a>
								</li>
								<li class='ipsMenu_item {{if $table->sortDirection == 'desc'}}ipsMenu_itemChecked{{endif}}' data-ipsMenuValue='desc'>
									<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => 'desc' ) )}'>{lang="descending"}</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
		{{endif}}
		
		<div data-role="extraHtml">{$table->extraHtml|raw}</div>
		
		<table class='ipsTable ipsTable_responsive ipsTable_zebra {{foreach $table->classes as $class}}{$class} {{endforeach}}' data-role="table" data-ipsKeyNav data-ipsKeyNav-observe='e d return'>
			<thead>
				<tr class='ipsAreaBackground'>
					{{foreach $headers as $k => $header}}
						{{if $header !== '_buttons'}}
							<th class='{{if !\in_array( $header, $table->noSort )}}ipsTable_sortable {{if $table->sortBy AND $header == ( mb_strrpos( $table->sortBy, ',' ) !== FALSE ? trim( mb_substr( $table->sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}ipsTable_sortableActive ipsTable_sortable{{if $table->sortDirection == 'asc'}}Asc{{else}}Desc{{endif}} {{else}}ipsTable_sortableAsc{{endif}}{{endif}} {{if array_key_exists( $header, $table->classes )}}{$table->classes[ $header ]}{{endif}}' data-key="{$header}" {{if !\in_array( $header, $table->noSort )}}data-action="tableSort" {{if $table->sortBy AND $header == ( mb_strrpos( $table->sortBy, ',' ) !== FALSE ? trim( mb_substr( $table->sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}aria-sort="{{if $table->sortDirection == 'asc'}}ascending{{else}}descending{{endif}}"{{endif}}{{endif}} {{if isset( $table->widths[ $header ] )}}style="width: {$table->widths[ $header ]}%"{{endif}}>
								{{if !\in_array( $header, $table->noSort )}}
									{{if $header == $table->sortBy and $table->sortDirection == 'desc'}}
										<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'asc' ) )}'>
									{{else}}
										<a href='{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $header, 'sortdirection' => 'desc' ) )}'>
									{{endif}}
											{lang="{$table->langPrefix}{$header}"}
											<span class='ipsTable_sortIcon'></span>
										</a>
								{{else}}
									{lang="{$table->langPrefix}{$header}"}
								{{endif}}
							</th>
						{{elseif $header === '_buttons'}}
							<th>&nbsp;</th>
						{{endif}}
					{{endforeach}}
				</tr>
			</thead>
			<tbody data-role="tableRows">
				{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
			</tbody>
		</table>
	</div>
	<div data-role="tablePagination" class='ipsSpacer_top {{if $table->pages <= 1}}ipsHide{{endif}}'>
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
	</div>
</div>]]></template>
 <template template_group="tables" template_name="table" template_data="$table, $headers, $rows, $quickSearch" template_location="front" template_app="core"><![CDATA[<div data-baseurl='{$table->baseUrl}' data-resort='{$table->resortKey}' data-controller='core.global.core.table{{if $table->canModerate()}},core.front.core.moderation{{endif}}' {{if $table->dummyLoading}}data-dummyLoading{{endif}} {{if $table->getPaginationKey() != 'page'}}data-pageParam='{$table->getPaginationKey()}'{{endif}} data-tableID='{expression="md5($table->baseUrl->stripQueryString($table->getPaginationKey()))"}'>
	{{if $table->title}}
		<h2 class='ipsType_sectionTitle ipsType_reset ipsClear'>{lang="$table->title"}</h2>
	{{endif}}

	{{if ( $table->canModerate() AND $table->showFilters ) OR ( $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch ) ) OR ( !empty( $table->filters ) ) OR ( $table->pages > 1 )}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear">
		{{if $table->canModerate() AND $table->showFilters}}
			<ul class="ipsButtonRow ipsPos_right ipsClearfix">
				<li>
					<a class="ipsJS_show" href="#elCheck_menu" id="elCheck_{$table->uniqueId}" title='{lang="{$table->langPrefix}select_rows_tooltip"}' data-ipsTooltip data-ipsAutoCheck data-ipsAutoCheck-context="#elTable_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active">
						<span class="cAutoCheckIcon ipsType_medium"><i class="fa fa-square-o"></i></span> <i class="fa fa-caret-down"></i>
						<span class='ipsNotificationCount' data-role='autoCheckCount'>0</span>
					</a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide" id="elCheck_{$table->uniqueId}_menu">
						<li class="ipsMenu_title">{lang="{$table->langPrefix}select_rows"}</li>
						<li class="ipsMenu_item" data-ipsMenuValue="all"><a href="#">{lang="all"}</a></li>
						<li class="ipsMenu_item" data-ipsMenuValue="none"><a href="#">{lang="none"}</a></li>
						{{if \count($table->getFilters())}}
							<li class="ipsMenu_sep"><hr></li>
							{{foreach $table->getFilters() as $filter}}
								{{if $filter}}
									<li class="ipsMenu_item" data-ipsMenuValue="{$filter}"><a href="#">{lang="$filter"}</a></li>
								{{else}}
									<li class="ipsMenu_sep"><hr></li>
								{{endif}}
							{{endforeach}}
						{{endif}}
					</ul>
				</li>
			</ul>
		{{endif}}

		<ul class="ipsButtonRow ipsPos_right ipsClearfix">
			{{if $table->showAdvancedSearch AND ( ( isset( $table->sortOptions ) and \count( $table->sortOptions ) > 1 ) OR $table->advancedSearch )}}
				<li>
					{{if isset($table->sortOptions) }}
					<a href="#elSortByMenu_menu" id="elSortByMenu_{$table->uniqueId}" data-role="sortButton" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="sort_by"} <i class="fa fa-caret-down"></i></a>
					<ul class="ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide" id="elSortByMenu_{$table->uniqueId}_menu">
							{{$custom = TRUE;}}
							{{foreach $table->sortOptions as $k => $col}}
								<li class="ipsMenu_item {{if $col === $table->getSortByColumn()}}{{$custom = FALSE;}}ipsMenu_itemChecked{{endif}}" data-ipsMenuValue="{$col}" data-sortDirection='{$table->getSortDirection( $k )}'><a href="{$table->baseUrl->setQueryString( array( 'filter' => $table->filter, 'sortby' => $col, 'sortdirection' => $table->getSortDirection( $k ) ) )->setPage( 'page', 1 )}" rel="nofollow">{lang="{$table->langPrefix}sort_{$k}"}</a></li>
							{{endforeach}}
						{{if $table->advancedSearch}}
							<li class="ipsMenu_item {{if $custom}}ipsMenu_itemChecked{{endif}}" data-noSelect="true">
								<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}' rel="nofollow">{lang="custom"}</a>
							</li>
						{{endif}}
					</ul>
					{{elseif $table->advancedSearch}}
						<a href='{$table->baseUrl->setQueryString( array( 'advancedSearchForm' => '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="custom_sort"}' rel="nofollow">{lang="custom"}</a>
					{{endif}}
				</li>
			{{endif}}
			{{if !empty( $table->filters )}}
				<li>
					<a href="#elFilterByMenu_{$table->uniqueId}_menu" data-role="tableFilterMenu" id="elFilterByMenu_{$table->uniqueId}" data-ipsMenu data-ipsMenu-activeClass="ipsButtonRow_active" data-ipsMenu-selectable="radio">{lang="filter_by"} <i class="fa fa-caret-down"></i></a>
					<ul class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsMenu_selectable ipsHide' id='elFilterByMenu_{$table->uniqueId}_menu'>
						<li data-action="tableFilter" data-ipsMenuValue='' class='ipsMenu_item {{if !$table->filter}}ipsMenu_itemChecked{{endif}}'>
							<a href='{$table->baseUrl->setQueryString( array( 'filter' => '', 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}' rel="nofollow">{lang="{$table->langPrefix}all"}</a>
						</li>
						{{foreach $table->filters as $k => $q}}
							<li data-action="tableFilter" data-ipsMenuValue='{$k}' class='ipsMenu_item {{if $k === $table->filter}}ipsMenu_itemChecked{{endif}}'>
								<a href='{$table->baseUrl->setQueryString( array( 'filter' => $k, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )->setPage( 'page', 1 )}' rel="nofollow">{lang="{$table->langPrefix}{$k}"}</a>
							</li>
						{{endforeach}}
					</ul>
				</li>
			{{endif}}
		</ul>

		<div data-role="tablePagination" {{if $table->pages <= 1}}class='ipsHide'{{endif}}>
			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
		</div>
	</div>
	{{endif}}

	{{if $table->canModerate()}}
		<form action="{$table->baseUrl->csrf()}" method="post" data-role='moderationTools' data-ipsPageAction>
	{{endif}}
		{{if \count( $rows )}}
			<ol class='ipsDataList ipsClear {{foreach $table->classes as $class}}{$class} {{endforeach}}' id='elTable_{$table->uniqueId}' data-role="tableRows">
				{template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
			</ol>
		{{else}}
			<div class='ipsType_center ipsPad'>
				<p class='ipsType_large ipsType_light'>{lang="no_rows_in_table"}</p>
				{{if method_exists( $table, 'container' ) AND $table->container() !== NULL}}
					{{if $table->container()->can('add')}}
						<a href='{$table->container()->url()->setQueryString( 'do', 'add' )}' class='ipsButton ipsButton_primary ipsButton_medium'>
							{lang="submit_first_row"}
						</a>
					{{endif}}
				{{endif}}
			</div>
		{{endif}}

	{{if $table->canModerate()}}
			<div class="ipsAreaBackground ipsPad ipsClearfix ipsJS_hide" data-role="pageActionOptions">
				<div class="ipsPos_right">
					<select name="modaction" data-role="moderationAction">
						{{if $table->canModerate('unhide')}}
							<option value='approve' data-icon='check-circle'>{lang="approve"}</option>
						{{endif}}
						{{if $table->canModerate('feature') or $table->canModerate('unfeature')}}
							<optgroup label="{lang="feature"}" data-icon='star' data-action='feature'>
								{{if $table->canModerate('feature')}}
									<option value='feature'>{lang="feature"}</option>
								{{endif}}
								{{if $table->canModerate('unhide')}}
									<option value='unfeature'>{lang="unfeature"}</option>
								{{endif}}
							</optgroup>
						{{endif}}
						{{if $table->canModerate('pin') or $table->canModerate('unpin')}}
							<optgroup label="{lang="pin"}" data-icon='thumb-tack' data-action='pin'>
								{{if $table->canModerate('pin')}}
									<option value='pin'>{lang="pin"}</option>
								{{endif}}
								{{if $table->canModerate('unpin')}}
									<option value='unpin'>{lang="unpin"}</option>
								{{endif}}
							</optgroup>
						{{endif}}
						{{if $table->canModerate('hide') or $table->canModerate('unhide')}}
							<optgroup label="{lang="hide"}" data-icon='eye' data-action='hide'>
								{{if $table->canModerate('hide')}}
									<option value='hide'>{lang="hide"}</option>
								{{endif}}
								{{if $table->canModerate('unhide')}}
									<option value='unhide'>{lang="unhide"}</option>
								{{endif}}
							</optgroup>
						{{endif}}
						{{if $table->canModerate('lock') or $table->canModerate('unlock')}}
							<optgroup label="{lang="lock"}" data-icon='lock' data-action='lock'>
								{{if $table->canModerate('lock')}}
									<option value='lock'>{lang="lock"}</option>
								{{endif}}
								{{if $table->canModerate('unlock')}}
									<option value='unlock'>{lang="unlock"}</option>
								{{endif}}
							</optgroup>
						{{endif}}
						{{if $table->canModerate('move')}}
							<option value='move' data-icon='arrow-right'>{lang="move"}</option>
						{{endif}}
						{{if $table->canModerate('split_merge')}}
							<option value='merge' data-icon='level-up'>{lang="merge"}</option>
						{{endif}}
						{{if method_exists( $table, 'customActions' )}}
							{{foreach $table->customActions() as $action}}
								{{if \is_array( $action['action'] ) }}
									<optgroup label="{lang="$action['grouplabel']"}" data-icon='{$action['icon']}' data-action='{$action['groupaction']}'>
										{{foreach $action['action'] as $_action}}
											<option value='{$_action['action']}'>{lang="$_action['label']"}</option>
										{{endforeach}}
									</optgroup>
								{{else}}
									<option value='{$action['action']}' data-icon='{$action['icon']}'>{lang="$action['label']"}</option>
								{{endif}}
							{{endforeach}}
						{{endif}}
						{{if $table->savedActions}}
							<optgroup label="{lang="saved_actions"}" data-icon='tasks' data-action='saved_actions'>
								{{foreach $table->savedActions as $k => $v}}
									<option value='savedAction-{$k}'>{$v}</option>
								{{endforeach}}
							</optgroup>
						{{endif}}
						{{if $table instanceof \IPS\core\Followed\Table}}
							<optgroup label="{lang="adjust_follow"}" data-icon='bell' data-action='adjust_follow'>
								<option value='follow_immediate'>{lang="follow_type_immediate_prefixed"}</option>
								<option value='follow_daily'>{lang="follow_type_daily_prefixed"}</option>
								<option value='follow_weekly'>{lang="follow_type_weekly_prefixed"}</option>
								<option value='follow_none'>{lang="follow_type_none"}</option>
							</optgroup>
							<optgroup label="{lang="adjust_follow_privacy"}" data-icon='ban' data-action='adjust_follow_privacy'>
								<option value='follow_public'>{lang="follow_public"}</option>
								<option value='follow_anonymous'>{lang="follow_anonymous"}</option>
							</optgroup>
							<option value='unfollow' data-icon='times'>{lang="unfollow"}</option>
						{{endif}}
						{{if $table->canModerate('delete')}}
							<option value='delete' data-icon='trash'>{lang="delete"}</option>
						{{endif}}
					</select>
					<button type="submit" class="ipsButton ipsButton_alternate ipsButton_verySmall">{lang="submit"}</button>
				</div>
			</div>
		</form>
	{{endif}}
	<div class="ipsButtonBar ipsPad_half ipsClearfix ipsClear {{if $table->pages <= 1}}ipsHide{{endif}}" data-role="tablePagination">
		{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit, TRUE, $table->getPaginationKey()"}
	</div>
</div>]]></template>
 <template template_group="trees" template_name="row" template_data="$url,$id,$title,$hasChildren=FALSE,$buttons=array(),$description='',$icon=NULL,$draggablePosition=NULL,$root=FALSE,$toggleStatus=NULL,$locked=NULL,$badge=NULL,$titleHtml=FALSE,$descriptionHtml=FALSE,$acceptsChildren=TRUE,$canBeRoot=TRUE, $additionalRowHtml=NULL, $lockedLang=NULL" template_location="admin" template_app="core"><![CDATA[<div class='ipsTree_row {{if !$root and $draggablePosition !== NULL}}ipsTree_sortable{{endif}} {{if $hasChildren}}ipsTree_parent{{endif}} {{if !$canBeRoot}}ipsTree_noRoot{{endif}} {{if $root}}ipsTree_open ipsTree_noToggle ipsTree_root{{endif}} {{if $acceptsChildren}}ipsTree_acceptsChildren{{endif}}' data-nodeid='{$id}' data-keyNavBlock data-keyAction='right'>
	{{if !$root and $draggablePosition !== NULL}}
		<div class='ipsTree_drag ipsDrag'>
			<i class='ipsTree_dragHandle ipsDrag_dragHandle fa fa-bars ipsJS_show' data-ipsTooltip data-ipsTooltip-label='{lang="reorder"}'></i>
			<noscript>
				<input name='order[{$id}]' value="{$draggablePosition}" size='2' type='text'>
			</noscript>
		</div>
	{{endif}}
	{{if $icon !== NULL and $icon instanceof \IPS\File}}
		<img class="ipsTree_icon" src="{$icon->url}">
	{{elseif $icon !== NULL and $icon instanceof \IPS\Http\Url}}
		<img class="ipsTree_icon" src="{$icon}">
	{{endif}}
	<div class='ipsTree_rowData ipsClearfix {{if $hasChildren === FALSE}}ipsContained_container{{endif}}'>
		<h4 class='ipsContained ipsType_break'>
			{{if $icon !== NULL and !( $icon instanceof \IPS\File ) and !( $icon instanceof \IPS\Http\Url )}}
				{{if mb_substr( $icon, 0, 7) === 'ipsFlag'}}
					<span><i class='{$icon}'></i></span>
				{{else}}
					<span><i class="{{if mb_substr( $icon, 0, 3 ) !== 'fa '}}fa fa-fw fa-{{endif}}{$icon}"></i></span>
				{{endif}}
			{{endif}}
			{{if $hasChildren}}
				<a href='{$url->setQueryString( array( 'root' => $id ) )}' class='ipsJS_preventEvent'>
					{{if !$titleHtml}}
						{$title}
					{{else}}
						{$title|raw}
					{{endif}}
				</a>
			{{else}}
				{{if !$titleHtml}}
					{$title}
				{{else}}
					{$title|raw}
				{{endif}}
			{{endif}}
			{{if $toggleStatus !== NULL}}
				{{if $locked}}
					<span class='ipsPos_right ipsBadge {{if $toggleStatus}}ipsBadge_positive{{else}}ipsBadge_negative{{endif}} ipsCursor_locked' {{if $lockedLang}}data-ipsTooltip title='{lang="$lockedLang"}'{{endif}}>{{if $lockedLang}}<i class="fa fa-info-circle"></i>{{endif}} {lang="locked"}</span>
				{{else}}
					{{if \is_array($toggleStatus) }}
						<span class='ipsPos_right' data-ipsStatusToggle>
							<a href='{$url->setQueryString( array( 'do' => 'enableToggle', 'status' => '0', 'id' => $id, 'root' => \IPS\Request::i()->root ) )->csrf()}' {{if !$toggleStatus['status']}}class='ipsHide'{{endif}} data-ipsDialog-title="{lang="turn_offline"}" data-ipsDialog data-ipsTooltip data-state="enabled" title='{lang="node_disable_row"}'>
								<span class='ipsBadge ipsBadge_positive'>{lang="$toggleStatus['enabled_lang']"}</span>
							</a>
							<a href='{$url->setQueryString( array( 'do' => 'enableToggle', 'status' => '1', 'id' => $id, 'root' => \IPS\Request::i()->root ) )->csrf()}' {{if $toggleStatus['status']}}class='ipsHide'{{endif}} data-ipsDialog-title="{lang="turn_offline"}" data-ipsDialog data-ipsTooltip data-state="disabled" title='{lang="node_enable_row"}'>
								<span class='ipsBadge ipsBadge_{$toggleStatus['disabled_badge']}'>{lang="$toggleStatus['disabled_lang']"}</span>
							</a>
						</span>
					{{else}}
						<span class='ipsPos_right' data-ipsStatusToggle>
							<a href='{$url->setQueryString( array( 'do' => 'enableToggle', 'status' => '0', 'id' => $id, 'root' => \IPS\Request::i()->root ) )->csrf()}' {{if !$toggleStatus}}class='ipsHide'{{endif}} data-state="enabled" data-ipsTooltip title='{lang="node_disable_row" sprintf="$title"}'>
								<span class='ipsTree_toggleEnable ipsBadge ipsBadge_positive'>{lang="enabled"}</span>
							</a>
							<a href='{$url->setQueryString( array( 'do' => 'enableToggle', 'status' => '1', 'id' => $id, 'root' => \IPS\Request::i()->root ) )->csrf()}' {{if $toggleStatus}}class='ipsHide'{{endif}} data-state="disabled" data-ipsTooltip title='{lang="node_enable_row" sprintf="$title"}'>
								<span class='ipsTree_toggleDisable ipsBadge ipsBadge_negative'>{lang="disabled"}</span>
							</a>
						</span>
					{{endif}}
				{{endif}}
			{{endif}}
			{{if $badge}}
				<span class="ipsBadge ipsBadge_{$badge[0]}">{{if !empty($badge[2])}}{$badge[2]|raw}{{else}}{lang="$badge[1]"}{{endif}}</span>
			{{endif}}
			{$additionalRowHtml|raw}
		</h4>
		{{if $description}}
			{{if !$descriptionHtml}}
				<div class="ipsType_light ipsContained ipsType_break">{$description}</div>
			{{else}}
				<div class="ipsType_light ipsContained ipsType_break">{$description|raw}</div>
			{{endif}}
		{{endif}}
	</div>
	<div class='ipsTree_controls'>
		{template="controlStrip" params="$buttons, $url" group="global" app="core"}
	</div>
</div>
{{if !$hasChildren}}
	<ol class='ipsTree ipsTree_node'></ol>
{{endif}}]]></template>
 <template template_group="trees" template_name="rows" template_data="$rows, $uniqid, $root=false" template_location="admin" template_app="core"><![CDATA[{{if \count( $rows )}}
	<ol class='ipsTree ipsTree_node'>
		{{foreach $rows as $id => $row}}
			<li id="sortable-{$uniqid}_{$id}" data-role="node" class='mjs-nestedSortable-collapsed'>
				{$row|raw}
			</li>
		{{endforeach}}	
	</ol>
{{endif}}]]></template>
 <template template_group="trees" template_name="template" template_data="$url,$title,$root,$rootParent,$rows,$rootButtons=array(),$lockParents=FALSE,$protectRoots=FALSE,$searchable=FALSE,$pagination=NULL" template_location="admin" template_app="core"><![CDATA[
{{if $rootButtons}}
	<!-- Primary buttons -->
	<div class='ipsFlex ipsFlex-jc:end'>
		<div class='ipsClearfix acpTrees_buttons'>
			{template="buttons" params="$rootButtons, $url" group="global" app="core"}
		</div>
	</div>
{{endif}}

<div class='acpBlock'>
	
	{{if ( request.root and !request.noshowroot ) or ($searchable && !empty( $rows )) }}
		<div class='acpWidgetToolbar ipsFlex ipsFlex-jc:between ipsFlex-ai:center ipsFlex-fw:wrap'>
			<div>
				{{if ( request.root and !request.noshowroot )}}
				<!-- Back to root buttons -->
					<a href='{$url}' class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-angle-double-left'></i> &nbsp;{lang="$title"}</a>
					{{if $rootParent !== NULL}}
						{{if \is_object( $rootParent )}}
							<a href='{$url->setQueryString( array( 'root' => $rootParent->_id ) )}' class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-angle-left'></i> {$rootParent->_title}</a>
						{{else}}
							<a href='{$url->setQueryString( array( 'root' => $rootParent ) )}' class='ipsButton ipsButton_light ipsButton_verySmall'><i class='fa fa-angle-left'></i></a>
						{{endif}}
					{{endif}}
				{{endif}}
			</div>
			<div>
				{{if $searchable && !empty( $rows )}}
					<!-- Search -->
					<input type='text' class='acpTable_search ipsJS_show' id='tree_search' placeholder='{lang="search_prefix_nofield"}' />
				{{endif}}
			</div>
		</div>
	{{endif}}

	<div class='ipsTree_wrapper' data-ipsTree {{if $lockParents}}data-ipsTree-lockParents{{endif}} {{if $protectRoots}}data-ipsTree-protectRoots{{endif}} data-ipsTree-url='{{if request.root}}{$url->setQueryString( array( 'root' => \IPS\Request::i()->root ) )}{{else}}{$url}{{endif}}' data-ipsTree-searchable='#tree_search'>
		{$root|raw}
		{{if empty( $rows )}}
			<div class='ipsType_light ipsPad'>
				{lang="no_results"}
			</div>
		{{else}}
			<form accept-charset='utf-8' action="{$url->setQueryString( array( 'root' => \IPS\Request::i()->root ?: 0, 'do' => 'reorder' ) )}" method="post" data-role="treeListing">
				<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
				<div class='ipsTree_rows'>
					{template="rows" group="trees" app="core" params="$rows, mt_rand(), true"}
				</div>
				<noscript>
					<div class='ipsBlock_actionbar clearfix'>
						<button class="left">{lang="reorder"}</button>
					</div>
				</noscript>
			</form>
			{{if $searchable}}
				<div data-role="treeResults"></div>
			{{endif}}
		{{endif}}
		{{if $pagination}}
			<div class="ipsSpacer_top">
				{$pagination|raw}
			</div>
		{{endif}}
	</div>
</div>]]></template>
 <template template_group="vse" template_name="globalTemplate" template_data="$vseCss, $customCss, $settings, $form, $values, $colorValues" template_location="front" template_app="core"><![CDATA[<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{lang="easy_mode_editor_title"}</title>
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" app="core" group="global" location="global" params=""}
		<script type="text/javascript">
			var ipsResumeVse = {
				form:    	{expression="json_encode($form)" raw="true"},
				settings:   {expression="json_encode($settings)" raw="true"},
				colors:   {expression="json_encode($colorValues)" raw="true"}
			};
		</script>
	</head>
	<body class='ipsApp ipsApp_vse' data-controller='core.front.vse.main'>
		<div id='vseMainWrapper'>
			<iframe src='{setting="base_url"}' id='vseMainFrame' class='ipsScrollbar'></iframe>
		</div>
		<div id='vseToolbox' class='ipsToolbox'>
			<div class='ipsTabs ipsTabs_stretch ipsClearfix' id='vseSection' data-ipsTabBar data-ipsTabBar-contentArea='#vseToolbox_tabs'>
				<ul role='tablist' class='ipsList_reset'>
					<li>
						<a href='#' role='tab' aria-selected="true" id='vseCustomizeTab' class='ipsTabs_item ipsTabs_activeItem ipsType_center'>
							{lang="vse_customize"}
						</a>
					</li>
					<li>
						<a href='#' role='tab' aria-selected="false" id='vseSettingsTab' class='ipsTabs_item ipsType_center'>
							{lang="vse_settings"}
						</a>
					</li>
					<li>
						<a href='#' role='tab' aria-selected="false" id='vseBuildTab' class='ipsTabs_item ipsType_center'>
							{lang="vse_build"}
						</a>
					</li>
				</ul>
			</div>
			<section id='vseToolbox_tabs'>
				<div id='ipsTabs_vseSection_vseCustomizeTab_panel' class='ipsTabs_panel'>
					<div class='ipsPad'>
						<div class='ipsGrid'>
							<a href='#' class='ipsButton ipsButton_small ipsButton_primary ipsButton_narrow ipsGrid_span5' title='{lang="vse_colorize"}' id='vseColorize'><i class='fa fa-tint'></i> &nbsp;{lang="vse_colorize"}</a>
							<a href='#' class='ipsButton ipsButton_small ipsButton_primary ipsButton_narrow ipsGrid_span5' title='{lang="vse_select_elem"}' id='vseStartXRay'><i class='fa fa-magic ipsType_normal'></i> &nbsp;{lang="vse_select_elem"}</a>
							<a href='#' class='ipsButton ipsButton_small ipsButton_primary ipsButton_narrow ipsGrid_span2' title='{lang="vse_custom_css"}' data-ipsTooltip id='vseAddCustomCSS'><i class='fa fa-code ipsType_normal'></i></a>
						</div>
					</div>


					<div id='vseClassWrap'>
						<div id='vseClassList' class='ipsScrollbar'>
							<ul class='ipsList_reset'></ul>
						</div>

						<div id='vseClassEditor' class='ipsPad'>
							<div class='vseNavBack'>
								<a href='#' data-action='back'>{lang="vse_back"}</a>
								<h2 data-role='classTitle' class='ipsType_reset ipsType_sectionHead'></h2>
							</div>
							<div data-role='panels'></div>
						</div>
					</div>

					<div id='vseColorizerPanel' class='ipsPad ipsHide'>
						<div class='vseNavBack'>
							<a href='#' data-action='colorizerBack'>{lang="vse_back"}</a>
							<h2 class='ipsType_reset ipsType_sectionHead'>{lang="vse_colorizer"}</h2>
						</div>
						<div data-role="colorizer" data-controller='core.front.vse.colorizer'></div>
					</div>
				</div>
				<div id='ipsTabs_vseSection_vseSettingsTab_panel' class='ipsTabs_panel'>
					<div class='ipsPad ipsScrollbar' id='vseSettingsWrap'>
						{$form|raw}
					</div>
				</div>
				<div id='ipsTabs_vseSection_vseBuildTab_panel' class='ipsTabs_panel'>
					<div class='ipsPad'>
						<p class='ipsType_light ipsType_center'>{lang="vse_ready_to_build"}</p>

						<a href='#' class='ipsButton ipsButton_important ipsButton_large ipsButton_fullWidth' data-action='buildSkin'>{lang="vse_build_this_skin"}</a>
						<br><br>

						<a href='{setting="base_url"}' class='ipsButton ipsButton_primary ipsButton_fullWidth' data-action='cancelSkin'>{lang="vse_close_editor"}</a>
					</div>
				</div>
			</section>
		</div>
		<div id='vseCustomCSS' class='ipsToolbox'>
			<h3 class='ipsToolbox_sectionTitle ipsType_reset'>{lang="vse_custom_css_title"}</h3>
			<div class='ipsPad'>
				<textarea id='vseCustomCSS_editor'>{$customCss}</textarea>
			</div>
		</div>
	</body>
</html>]]></template>
 <template template_group="widgets" template_name="achievements" template_data="$result, $title, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[
{{if $title}}
<h3 class="ipsType_reset ipsWidget_title">{$title}</h3>
{{endif}}
<div class='ipsWidget_inner'>
	<ul class='ipsDataList ipsDataList_reducedSpacing'>
		{{foreach $result as $row}}
			<li class='ipsDataItem'>
				{{if $row['type'] === 'badge'}}
					<div class='ipsDataItem_icon ipsPos_top'>
						<div class='ipsPos_relative'>
							<div class='cAchievementsWidget__badge'>{$row['badge']->html('ipsDimension:4')|raw}</div>
							<div class='cAchievementsWidget__photo'>
								{template="userPhoto" app="core" group="global" params="$row['member'], 'tinier', '', 'ipsOutline'"}
							</div>
						</div>
					</div>
					<div class='ipsDataItem_main ipsPadding_left:half'>
						{lang="block_achievements_earned_badge" htmlsprintf="$row['member']->link()"}<br>						
						<strong {{if ! empty( $row['badge']->awardDescription )}}title="{$row['badge']->awardDescription}" data-ipsTooltip{{endif}}>{$row['badge']->_title}</strong><br>
						<span class="ipsType_light">{datetime="$row['date']"}</span>
					</div>
				{{else}}
					<div class='ipsDataItem_icon ipsPos_top'>
						<div class='ipsPos_relative'>
							<div class='cAchievementsWidget__badge'>{$row['rank']->html('ipsDimension:4')|raw}</div>
							<div class='cAchievementsWidget__photo'>
								{template="userPhoto" app="core" group="global" params="$row['member'], 'tinier', '', 'ipsOutline'"}
							</div>
						</div>
					</div>
					<div class='ipsDataItem_main ipsPadding_left:half'>
						{lang="block_achievements_earned_rank" htmlsprintf="$row['member']->link()"}<br>
						<strong>{$row['rank']->_title}</strong><br>
						<span class="ipsType_light">{datetime="$row['date']"}</span>
					</div>
				{{endif}}
			</li>
		{{endforeach}}
	</ul>
</div>]]></template>
 <template template_group="widgets" template_name="activeUsers" template_data="$members, $memberCount, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<div data-controller='core.front.core.onlineUsersWidget'>
    <h3 class='ipsType_reset ipsWidget_title'>
        {{if \IPS\Dispatcher::i()->application->directory !== 'core'}}
            {lang="block_activeUsers"}
        {{else}}
            {lang="block_activeUsers_noApp"}
        {{endif}}
        {{if $orientation == 'horizontal'}}
        &nbsp;&nbsp;<span class='ipsType_light ipsType_unbold ipsType_medium' data-memberCount="{$memberCount}">{lang="block_user_online_info" pluralize="$memberCount"}</span>
        {{endif}}
    </h3>
    <div class='ipsWidget_inner ipsPad'>
        <ul class='ipsList_inline ipsList_csv ipsList_noSpacing ipsType_normal'>
            {{if $memberCount}}
            {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) ) }}
                {{foreach $members as $row}}
                    <li data-memberId="{$row['member_id']}"><a href="{url="app=core&module=members&controller=profile&id={$row['member_id']}" seoTemplate="profile" seoTitle="$row['seo_name']"}" data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$row['member_id']}&do=hovercard" seoTemplate="profile" seoTitle="$row['seo_name']"}' {{if $row['in_editor']}}data-ipsTooltip data-ipsTooltip-label="{lang="block_user_in_editor"}"{{else}}title="{lang="view_user_profile" sprintf="$row['member_name']"}"{{endif}} {{if $row['in_editor']}}class='cActiveUserEditor'{{endif}}>{expression="\IPS\Member\Group::load( $row['member_group'] )->formatName( $row['member_name'] )" raw="true"}</a></li>
                {{endforeach}}
            {{else}}
                {{foreach $members as $row}}
                    <li data-memberId="{$row['member_id']}">{{if $row['in_editor']}}<i class="fa fa-circle-o-notch fa-spin" data-ipsTooltip data-ipsTooltip-label="{lang="block_user_in_editor"}"></i>{{endif}}
                        {expression="\IPS\Member\Group::load( $row['member_group'] )->formatName( $row['member_name'] )" raw="true"}</li>
                {{endforeach}}
            {{endif}}
            {{else}}
                <li class='ipsType_reset ipsType_medium ipsType_light' data-noneOnline>{lang="active_users_empty"}</li>
            {{endif}}
        </ul>
        {{if $memberCount > 60 && $orientation == 'vertical'}}
            <p class='ipsType_medium ipsType_reset'>
                <a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="and_x_others" pluralize="$memberCount - 60"}</a>
            </p>
        {{endif}}
    </div>
</div>]]></template>
 <template template_group="widgets" template_name="announcements" template_data="$announcements, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{lang="block_announcements"}</h3>
<div class='ipsWidget_inner'>
	{{if !empty( $announcements ) }}
		<ul class='ipsList_reset ipsPad'>
			{{foreach $announcements as $announcement}}
				<li class='ipsPhotoPanel ipsPhotoPanel_tiny cAnnouncement ipsClearfix'>
					{template="userPhoto" group="global" app="core" params="\IPS\Member::load( $announcement->member_id ), 'tiny'"}
					<div>
						{{if $orientation == 'vertical'}}
							<h4 class='ipsType_large ipsType_reset'>
								<span class='ipsType_break ipsContained'>
									<a href='{url="app=core&module=system&controller=announcement&id={$announcement->id}" seoTemplate="announcement" seoTitle="$announcement->seo_title"}' class='ipsTruncate ipsTruncate_line'>{wordbreak="$announcement->title"}</a>
								</span>
							</h4>
							{{if $announcement->start}}<span class='ipsType_light'>{datetime="$announcement->start" dateonly="true"}</span>{{endif}}
							<br><br>
						{{else}}
							<h4 class='ipsType_large ipsType_reset'>
								<a href='{url="app=core&module=system&controller=announcement&id={$announcement->id}" seoTemplate="announcement" seoTitle="$announcement->seo_title"}'>{$announcement->title}</a>{{if $announcement->start}} &nbsp;&nbsp;<span class='ipsType_light ipsType_medium ipsType_unbold'>{datetime="$announcement->start" dateonly="true"}</span>{{endif}}
							</h4>							
						{{endif}}						
						<div class='ipsType_medium ipsType_textBlock ipsType_richText ipsContained' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='{{if $orientation == 'vertical'}}6 lines{{else}}2 lines{{endif}}' data-ipsTruncate-watch='false'>
							{$announcement->truncated( TRUE, NULL )|raw}
						</div>
					</div>
				</li>
			{{endforeach}}
		</ul>
	{{else}}
		<div class='ipsPad'>
			<p class='ipsType_reset'>{lang="no_announcements"}</p>
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="widgets" template_name="blankWidget" template_data="$widget" template_location="front" template_app="core"><![CDATA[<div class="ipsWidgetBlank">
	{lang="$widget->errorMessage"}
</div>
]]></template>
 <template template_group="widgets" template_name="blockList" template_data="$availableBlocks" template_location="front" template_app="core"><![CDATA[{{if isset( $availableBlocks['plugin'] )}}
	{{foreach $availableBlocks['plugin'] as $pluginId => $blocks}}
	<h3 class='ipsToolbox_sectionTitle ipsCursor_pointer'>{expression="\IPS\Plugin::load( $pluginId )->name"}</h3>
	<ul class='ipsList_reset'>
		{{foreach $blocks as $block}}
			<li data-blockTitle="{$block->title()}" data-blockID='plugin_{$block->plugin}_{$block->key}' {{if $block->hasConfiguration()}}data-blockConfig='true'{{endif}} {{if isset( $block->menuStyle)}}data-menuStyle='{$block->menuStyle}'{{endif}} {{if !empty( $block->allowReuse)}}data-allowReuse='true'{{endif}} class='ipsCursor_drag cSidebarManager_block'>
				<h4 class='ipsType_reset'>{lang="block_{$block->key}"}</h4>
				<p class='ipsType_reset ipsType_light ipsType_small'>{lang="block_{$block->key}_desc"}</p>
			</li>
		{{endforeach}}
	</ul>
	{{endforeach}}
{{endif}}

{{if isset( $availableBlocks['apps'] )}}
	{{foreach $availableBlocks['apps'] as $app => $blocks}}
	<h3 class='ipsToolbox_sectionTitle ipsCursor_pointer'>{lang="__app_{$app}"}</h3>
	<ul class='ipsList_reset'>
		{{foreach $blocks as $block}}
			<li data-blockTitle="{$block->title()}" data-blockErrorMessage="{lang="$block->errorMessage" escape="true"}" data-blockID='app_{$block->app}_{$block->key}' {{if $block->hasConfiguration()}}data-blockConfig='true'{{endif}} {{if isset( $block->menuStyle)}}data-menuStyle='{$block->menuStyle}'{{endif}} {{if !empty( $block->allowReuse)}}data-allowReuse='true'{{endif}} class='ipsCursor_drag cSidebarManager_block'>
				<h4 class='ipsType_reset'>{lang="block_{$block->key}"}</h4>
				<p class='ipsType_reset ipsType_light ipsType_small'>{lang="block_{$block->key}_desc"}</p>
			</li>
		{{endforeach}}
	</ul>
	<p class='ipsType_light ipsType_center ipsPad_half ipsHide'><em>{lang="no_app_widgets"}</em></p>
	{{endforeach}}
{{endif}}
]]></template>
 <template template_group="widgets" template_name="builderWrapper" template_data="$output, $config" template_location="front" template_app="core"><![CDATA[{{if isset( \IPS\Request::i()->do ) and \IPS\Request::i()->do == 'getBlock'}}
<style type="text/css">
	{{if isset($config['custom'])}}{$config['custom']}{{endif}}
	{{if ! $config['border']}}
	{{$block = \IPS\Request::i()->blockID;}}
	.ipsBox[data-blockid="{$block}"] {
		border: none;
		box-shadow: none;
	}
	.ipsWidget[data-blockid="{$block}"] {
		background: transparent !important;
	}
	{{endif}}
</style>
{{endif}}
{{if ! empty( $config['background_custom_image_overlay'] )}}
	{{$padding = isset( $config['style']['padding'] ) ? $config['style']['padding'] : '';}}
	{{unset( $config['style']['padding'] );}}
	{{$style = implode( " ", $config['style']);}}
{{else}}
	{{$style = implode( " ", $config['style']);}}
{{endif}}
<div class='{$config['class']} {{if ! empty($config['border'])}}ipsBox{{endif}}
			{{if  empty( $config['background_custom_image_overlay'] )}}{{if ! empty($config['padding']) and $config['padding'] == 'half'}}ipsPad_half{{elseif ! empty($config['padding']) and $config['padding'] == 'full'}}ipsPad{{endif}}{{endif}}
			{{if ! empty($config['fontsize']) and $config['fontsize'] != 'custom' and $config['fontsize'] != 'inherit'}}{$config['fontsize']}{{endif}}'
	 style='{{if ! empty($config['style'])}}{$style}{{endif}}'>
	{{if ! empty( $config['background_custom_image_overlay'] )}}
	<div class='{$config['class']}_overlay' style="background-color: {$config['background_custom_image_overlay']}; {$padding}"
		 class="{{if ! empty($config['padding']) and $config['padding'] == 'half'}}ipsPad_half{{elseif ! empty($config['padding']) and $config['padding'] == 'full'}}ipsPad{{endif}}">
	{{endif}}
	{$output|raw}
	{{if ! empty( $config['background_custom_image_overlay'] )}}
	</div>
	{{endif}}
</div>
]]></template>
 <template template_group="widgets" template_name="clubs" template_data="$clubs, $title=NULL, $orientation=NULL" template_location="front" template_app="core"><![CDATA[
{{if $title}}
	<h3 class="ipsType_reset ipsWidget_title">{$title}</h3>
{{endif}}
<section class="ipsWidget_inner">
	<ul class='ipsDataList ipsDataList_reducedSpacing'>
		{{foreach $clubs as $club}}
			<li class='ipsDataItem ipsClearfix'>
				<div class='ipsDataItem_icon'>
					{template="clubIcon" group="clubs" app="core" params="$club, 'tiny', 'ipsPos_left'"}
				</div>
				<div class='ipsDataItem_main'>
					<h3 class='ipsType_sectionHead ipsType_large ipsContained_container'>
						<span class='ipsContained ipsType_break'><a href='{$club->url()}'>{$club->name}</a></span>
					</h3>
					<p class='ipsType_reset ipsType_medium ipsType_light'>
						{lang="club_{$club->type}"}
						{{if $club->type !== $club::TYPE_PUBLIC}}
						&nbsp;&middot;&nbsp;
						{lang="club_members_count" pluralize="$club->members"}
						{{endif}}
					</p>
				</div>
			</li>
		{{endforeach}}
	</ul>
</section>]]></template>
 <template template_group="widgets" template_name="communityhive" template_data="$form" template_location="front" template_app="core"><![CDATA[    
<h3 style="align-items:center; justify-content:space-between" class="ipsType_reset ipsWidget_title ipsFlex ipsClear">  
    {lang="block_communityhive"}   
    <a href="https://communityhive.com/about" target="_blank">
        <img style="max-width:3rem;" src="{resource="hive/logo_on_white_background.png" app="core" location="front"}" alt="{lang="block_communityhive"}" >
    </a>
</h3>

<section class="ipsWidget_inner ipsPad">
    <p class="ipsType_reset ipsType_light ipsType_medium ipsSpacer_bottom"> {lang="block_communityhive_display"} </p>
    {template="followButton" group="hive" app="core" location="front" params="'full'"}
</section>
]]></template>
 <template template_group="widgets" template_name="formTemplate" template_data="$widget, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL" template_location="front" template_app="core"><![CDATA[{template="includeJS" app="core" group="global" location="global" params=""}
{{$visibilityFields = array( 'show_on_all_devices', 'devices_to_show', 'clubs_visibility');}}
<form accept-charset='utf-8' class="ipsForm ipsForm_vertical" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}} {{foreach $attributes as $k => $v}}{$k}="{$v}"{{endforeach}} data-ipsForm>
	<input type="hidden" name="{$id}_submitted" value="1">
	{{foreach $hiddenValues as $k => $v}}
		<input type="hidden" name="{$k}" value="{$v}">
	{{endforeach}}
	{{if $uploadField}}
		<input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}">
		<input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}">
	{{endif}}
	<div class='ipsMenu_headerBar'>
		<h4 class='ipsType_sectionHead'>{lang="editBlockSettings"}</h4>
	</div>

	{{$hasSettings = FALSE;}}
	{{foreach $elements as $collection}}
		{{foreach $collection as $inputName => $input}}
			{{if \mb_substr( $inputName, 0, 12 ) != 'widget_adv__' and ! \in_array( $inputName, $visibilityFields )}}
				{{$hasSettings = TRUE; break 2;}}
			{{endif}}
		{{endforeach}}
	{{endforeach}}
	
	<div class='ipsTabs ipsClearfix ipsJS_show' id='tabs_{$id}' data-ipsTabBar data-ipsTabBar-contentArea='#ipsTabs_content_{$id}'>
		<a href='#tabs_{$id}' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
		<ul role='tablist'>
			{{if $hasSettings}}
			<li>
				<a href='#ipsTabs_tabs_{$id}_{$id}_tab_settings_panel' id='{$id}_tab_settings' class="ipsTabs_item" role="tab" aria-selected="true">
					{lang="settings"}
				</a>
			</li>
			{{endif}}
			<li>
				<a href='#ipsTabs_tabs_{$id}_{$id}_tab_visibility_panel' id='{$id}_tab_visibility' class="ipsTabs_item" role="tab" aria-selected="true">
					{lang="visibility"}
				</a>
			</li>
			{{if ( \in_array( 'IPS\Widget\Builder', class_implements( $widget ) ) )}}
			<li>
				<a href='#ipsTabs_tabs_{$id}_{$id}_tab_advanced_panel' id='{$id}_tab_advanced' class="ipsTabs_item" role="tab" aria-selected="false">
					{lang="widget_tab_advanced"}
				</a>
			</li>
			{{endif}}
		</ul>
	</div>
	<div id='ipsTabs_content_{$id}' class='ipsTabs_panels'>
		<div id='ipsTabs_tabs_{$id}_{$id}_tab_settings_panel' class="{{if $widget->menuStyle !== 'modal'}}ipsMenu_innerContent{{endif}} ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_settings" aria-hidden="false">
			<ul class='ipsList_reset'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $inputName => $input}}
						{{if \mb_substr( $inputName, 0, 12 ) != 'widget_adv__' and ! \in_array( $inputName, $visibilityFields, TRUE )}}
							{{if \is_object( $input )}}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
			</ul>
		</div>
		<div id='ipsTabs_tabs_{$id}_{$id}_tab_visibility_panel' class="{{if $widget->menuStyle !== 'modal'}}ipsMenu_innerContent{{endif}} ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_visibility" aria-hidden="false">
			<ul class='ipsList_reset'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $inputName => $input}}
						{{if \is_object( $input ) and \in_array( $input->name, $visibilityFields, TRUE )}}
							{$input->rowHtml($form)|raw}
						{{elseif \in_array( $inputName, $visibilityFields, TRUE )}}
							{$input|raw}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
			</ul>
		</div>

		{{if ( \in_array( 'IPS\Widget\Builder', class_implements( $widget ) ) )}}
		<div id='ipsTabs_tabs_{$id}_{$id}_tab_advanced_panel' class="{{if $widget->menuStyle !== 'modal'}}ipsMenu_innerContent{{endif}}ipsTabs_panel ipsPad" aria-labelledby="{$id}_tab_advanced" aria-hidden="false">
			<ul class='ipsList_reset'>
				{{foreach $elements as $collection}}
					{{foreach $collection as $inputName => $input}}
						{{if \mb_substr( $inputName, 0, 12 ) == 'widget_adv__' and ! \in_array( $inputName, $visibilityFields, TRUE )}}
							{{if \is_object( $input )}}
								{$input->rowHtml($form)|raw}
							{{else}}
								{$input|raw}
							{{endif}}
						{{endif}}
					{{endforeach}}
				{{endforeach}}
			</ul>
		</div>
		{{endif}}
	</div>
	<div class='ipsMenu_footerBar ipsType_center'>
		{{foreach $actionButtons as $button}}
			{$button|raw}
		{{endforeach}}
	</div>
</form>]]></template>
 <template template_group="widgets" template_name="guestSignUp" template_data="$login, $text, $title, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[{{$buttonMethods = $login->buttonMethods();}}
{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
{{$ref = \IPS\Request::i()->externalref ?: base64_encode( \IPS\Request::i()->url() ); }}
{{if $orientation == 'vertical'}}
	<div class='ipsWidget_inner ipsPos_center ipsPad'>
		<div class="ipsAreaBackground_light ipsPad">
		    <h2 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half">{$title}</h2>
		    <p class="ipsType_richText ipsType_contained">
		        {$text|raw}
		    </p>
		    
		    {{if $usernamePasswordMethods}}
			    <ul class="ipsList_inline">
			        <li>
			            <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a>
			        </li>
			        <li>{lang="or"}</li>
			        <li>
			            <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a>
			        </li>
			    </ul>
			{{endif}}
		
		    {{if $buttonMethods}}
			    <div class=''>
					<form accept-charset='utf-8' method='post' action='{$login->url}' target="_parent">
						<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
						<input type="hidden" name="ref" value="{$ref}">
				        {{foreach $buttonMethods as $method}}
					        <div class='ipsType_center ipsPos_center ipsSpacer_top'>
					            {$method->button()|raw}
					        </div>
				        {{endforeach}}
				    </form>
			    </div>
		    {{endif}}
		</div>
	</div>
{{else}}
	<div class='ipsWidget_inner ipsPos_center ipsPad_half'>
		<div class="ipsAreaBackground_light ipsPad">
		    <div class="ipsGrid ipsGrid_collapsePhone">
		        <div class='ipsGrid_span{{if $buttonMethods}}8{{endif}}'>
		            <h2 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half">{$title}</h2>
		            <div class="ipsType_richText ipsType_contained">
						{$text|raw}
		            </div>
		            
		            {{if $usernamePasswordMethods}}
			            <ul class="ipsList_inline">
			                <li>
			                    <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a>
			                </li>
			                <li>{lang="or"}</li>
			                <li>
			                    <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a>
			                </li>
			            </ul>
			        {{endif}}
		        </div>
		        {{if $buttonMethods}}
			        <div class='ipsGrid_span4 cSignInTeaser_right'>
						<form accept-charset='utf-8' method='post' action='{$login->url}' target="_parent">
							<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
							<input type="hidden" name="ref" value="{$ref}">
				            {{foreach $buttonMethods as $method}}
					            <div class='ipsPad_half ipsType_center ipsPos_center'>
					                {$method->button()|raw}
					            </div>
				            {{endforeach}}
				        </form>
			        </div>
		        {{endif}}
		    </div>
		</div>
	</div>
{{endif}}]]></template>
 <template template_group="widgets" template_name="invite" template_data="$subject, $url" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>
	{lang="block_invite"}
</h3>
<div class='ipsWidget_inner ipsPadding:half ipsType_center'>
	<div class="ipsPadding_bottom ipsPadding_top:half">
		{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('block_invite_text', FALSE, array( 'sprintf' => array( \IPS\Settings::i()->board_name ) ) ), array('ipsType_reset','ipsType_medium')"}
	</div>
	<ul class="ipsList_reset ipsFlex ipsFlex-ai:center ipsFlex-jc:stretch ipsFlex-fw:wrap ipsGap:1">
		<li class='ipsFlex-flex:11'><a class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth " href='mailto:?subject={$subject}&body={$url}'><i class="fa fa-envelope"></i> {lang="block_invite_button"}</a></li>
		<li class='ipsFlex-flex:11'><a class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth " href='{url="app=core&module=system&controller=settings&do=invite"}' data-ipsDialog data-ipsDialog-size="narrow"><i class="fa fa-share-alt"></i> {lang="block_invite_share"}</a></li>
	</ul>
</div>]]></template>
 <template template_group="widgets" template_name="members" template_data="$members, $title, $display='csv', $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>
	{$title}
</h3>
{{if $display === 'csv'}}
<div class='ipsWidget_inner ipsPad'>
	{{if \count( $members )}}
		<ul class='ipsList_inline ipsList_csv ipsList_noSpacing'>
			{{foreach $members as $row}}
				<li>{template="userLinkFromData" group="global" app="core" params="$row->member_id, $row->name, $row->members_seo_name, $row->member_group_id"}</li>
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_reset ipsType_medium ipsType_light'>{lang="widget_members_no_results"}</p>
	{{endif}}
</div>
{{else}}
<div class='ipsWidget_inner {{if $orientation == 'vertical'}}ipsPad{{else}}ipsPad_half{{endif}}'>
	{{if \count( $members ) }}
		<ul class='ipsList_reset'>
			{{foreach $members as $member}}
				<li class='ipsPhotoPanel ipsPhotoPanel_tiny cAnnouncement'>
					{template="userPhoto" group="global" app="core" params="$member, 'tiny'"}
					<div>
						<h4 class='ipsType_large ipsType_reset'>{$member->link()|raw} <a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}'  class='ipsPos_right ipsRepBadge {{if $member->pp_reputation_points > 0}}ipsRepBadge_positive{{elseif $member->pp_reputation_points < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $member->pp_reputation_points > 0}}fa-plus-circle{{elseif $member->pp_reputation_points < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {number="$member->pp_reputation_points"}</a></h4>
						{$member->groupName|raw}
						<br>
						<span class='ipsType_light ipsType_small'>{lang="widget_member_joined_date" htmlsprintf="$member->joined->html()"}</span>
						{{if $member->last_activity}}
							<br><span class='ipsType_light ipsType_small'>{lang="widget_member_last_active_date" htmlsprintf="\IPS\DateTime::ts( $member->last_activity )->html()"}</span>
						{{endif}}
					</div>
				</li>
			{{endforeach}}
		</ul>
	{{else}}
		<p class='ipsType_reset'>{lang="widget_members_no_results"}</p>
	{{endif}}
</div>
{{endif}}]]></template>
 <template template_group="widgets" template_name="mostContributions" template_data="$contributions, $area, $title, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{$title}</h3>
<div class='ipsWidget_inner {{if $orientation !== 'vertical'}}ipsPad{{else}}ipsPad_half{{endif}}'>
	{{if $orientation == 'vertical'}}
			<ol class='ipsDataList ipsDataList_reducedSpacing'>
				{{foreach $contributions['members'] as $member}}
					<li class='ipsDataItem'>
						<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_tiny ipsClearfix'>
							{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
							<div>
								{$member->link()|raw}
								<br><span class='ipsType_light'>{{if $area}}{$contributions['counts'][$member->member_id]}{{else}}{$member->member_posts}{{endif}}</span>
							</div>
						</div>
					</li>
				{{endforeach}}
			</ol>
	{{else}}
			<ol class='ipsList_inline ipsList_noSpacing'>
				{{foreach $contributions['members'] as $idx => $member}}
					<li>
						{$member->link()|raw} <span class='ipsType_light'>{{if $area}} ({$contributions['counts'][$member->member_id]}){{else}} ({$member->member_posts}){{endif}}</span>{{if $idx != \count( $contributions['members'] ) - 1}},{{endif}}
					</li>
				{{endforeach}}
			</ol>
	{{endif}}
</div>
]]></template>
 <template template_group="widgets" template_name="mostSolved" template_data="$topSolvedThisWeek, $limit, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{lang="block_mostSolved"}</h3>
<div class='ipsTabs ipsTabs_small ipsTabs_stretch ipsClearfix' id='elMostSolved' data-ipsTabBar data-ipsTabBar-updateURL='false' data-ipsTabBar-contentArea='#elMostSolved_content'>
	<a href='#elMostSolved' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
	<ul role="tablist" class='ipsList_reset'>
		<li>
			<a href='#ipsTabs_elMostSolved_el_MostSolvedWeek_panel' id='el_MostSolvedWeek' class='ipsTabs_item ipsTabs_activeItem' role="tab" aria-selected='true'>{lang="week"}</a>
		</li>
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=mostSolved&time=month&limit={$limit}&orientation={$orientation}"}' id='el_MostSolvedMonth' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="month"}</a>
		</li>		
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=mostSolved&time=year&limit={$limit}&orientation={$orientation}"}' id='el_MostSolvedYear' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="year"}</a>
		</li>
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=mostSolved&time=all&limit={$limit}&orientation={$orientation}"}' id='el_MostSolvedAll' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="alltime"}</a>
		</li>
	</ul>
</div>

<section id='elMostSolved_content' class='ipsWidget_inner ipsPad_half'>
	<div id="ipsTabs_elMostSolved_el_MostSolvedWeek_panel" class='ipsTabs_panel'>
		{template="mostSolvedRows" group="widgets" app="core" params="$topSolvedThisWeek, 'week', $orientation"}
	</div>
</section>]]></template>
 <template template_group="widgets" template_name="mostSolvedRows" template_data="$results, $timeframe, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[{{if \count( $results )}}
	{{if $orientation == 'vertical'}}
		<ol class='ipsDataList ipsDataList_reducedSpacing cTopContributors'>
			{{$idx = 1;}}
			{{foreach $results as $memberId => $solvedCount}}
				{{$member = \IPS\Member::load( $memberId );}}
				<li class='ipsDataItem'>
					<div class='ipsDataItem_icon ipsPos_middle ipsType_center ipsType_large ipsType_light'><strong>{expression="$idx++"}</strong></div>
					<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_tiny'>
						{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
						<div>
							{$member->link()|raw}
							<br>
							<span title="{lang="solved_badge_tooltip_time"}" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'><i class='fa fa-check-circle'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $solvedCount )"}</span>
						</div>
					</div>
				</li>
			{{endforeach}}
		</ol>
	{{else}}
		<div class="ipsGrid ipsGrid_collapsePhone">
			{{$count = 0;}}
			{{foreach $results as $memberId => $solvedCount}}
				{{if $count == 4}}
					{{break;}}
				{{else}}
					{{$count++;}}
				{{endif}}
				{{$member = \IPS\Member::load( $memberId );}}
				<div class='ipsGrid_span3'>
					<div class='ipsPad_half ipsPhotoPanel ipsPhotoPanel_tiny'>
						{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
						<div>
							<p class='ipsType_reset ipsTruncate ipsTruncate_line'>
								{$member->link()|raw}
							</p>
							<span title="{lang="solved_badge_tooltip_time"}" data-ipsTooltip class='ipsRepBadge ipsRepBadge_positive'><i class='fa fa-check-circle'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $solvedCount )"}</span>
						</div>
					</div>
				</div>
			{{endforeach}}
		</div>
	{{endif}}
{{else}}
	<div class='ipsPad'>
		<p class='ipsType_reset'>{lang="top_solved_empty__{$timeframe}"}</p>
	</div>
{{endif}}]]></template>
 <template template_group="widgets" template_name="newsletter" template_data="$ref" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>
	{lang="block_newsletter_title"}
</h3>
<div class='ipsWidget_inner ipsPad'>
	<span class="ipsType ipsType_veryLarge ipsPos_right ipsPad"><i class="fa fa-envelope"></i></span>
	{template="richText" group="global" app="core" location="global" params="\IPS\Member::loggedIn()->language()->addToStack('block_newsletter_signup'), array('ipsType_reset','ipsType_medium')"}
	{{if \IPS\Member::loggedIn()->member_id}}
		<a class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth" href="{url="app=core&module=system&controller=settings&do=newsletterSubscribe&ref={$ref}" seoTemplate="settings" csrf="true" ref="$ref"}">{lang="block_newsletter_signup_button"}</a>
	{{else}}
		<a class="ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth" href='{url="app=core&module=system&controller=register&newsletter=1" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>{lang="block_newsletter_signup_button"}</a>
	{{endif}}
</div>]]></template>
 <template template_group="widgets" template_name="pagebuilderoembed" template_data="$video" template_location="front" template_app="core"><![CDATA[<div class='ipsPos_center'>{$video|raw}</div>]]></template>
 <template template_group="widgets" template_name="pagebuildertext" template_data="$text" template_location="front" template_app="core"><![CDATA[<div>{$text|raw}</div>]]></template>
 <template template_group="widgets" template_name="pagebuilderupload" template_data="$images" template_location="front" template_app="core"><![CDATA[{{if ! \is_array( $images )}}
<div><img src="{$images}" class="ipsPageBuilderUpload"></div>
{{endif}}]]></template>
 <template template_group="widgets" template_name="profile" template_data="$nextStep, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[
<div class='ipsSpacer_bottom ipsPad_half' data-role='profileWidget' data-controller="core.front.core.profileCompletion">
	{{if $orientation == 'horizontal'}}
		<span class='ipsPos_right'><a class='ipsButton ipsButton_primary' href='{url="app=core&module=system&controller=settings&_new=1&do=completion" ref="(string) \IPS\Request::i()->url()" seoTemplate="settings"}'>{lang="complete_my_profile"}</a> {lang="or"} <a class='ipsButton ipsButton_link' href='{url="app=core&module=system&controller=settings&do=dismissProfile" ref="(string) \IPS\Request::i()->url()" csrf="true"}' data-role='dismissProfile'>{lang="dismiss"}</a></span>
	{{endif}}
	<div class='ipsType_richText'>{lang="profile_step_text_{$nextStep->id}"}</div>
	<span class="ipsAttachment_progress"><span style='width: {expression="\IPS\Member::loggedIn()->profileCompletionPercentage()"}%'></span></span><br>
	<span class='ipsType_light'>{lang="profile_completion_percent" sprintf="\IPS\Member::loggedIn()->profileCompletionPercentage() . '%'"}</span>
	{{if $orientation == 'vertical'}}
		<br>
		<a class='ipsButton ipsButton_primary' href='{url="app=core&module=system&controller=settings&do=completion&_new=1" seoTemplate="settings" ref="(string) \IPS\Request::i()->url()"}'>{lang="complete_my_profile"}</a> {lang="or"} <a class='ipsButton ipsButton_link' href='{url="app=core&module=system&controller=settings&do=dismissProfile" csrf="true" ref="(string) \IPS\Request::i()->url()"}' data-role='dismissProfile'>{lang="dismiss"}</a>
	{{endif}}
</div>]]></template>
 <template template_group="widgets" template_name="promoted" template_data="$promoted, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[
<h3 class='ipsType_reset ipsWidget_title'>{lang="block_promoted"}</h3>
<div class='{{if $orientation !== 'vertical'}}ipsPad{{else}}ipsPad_half{{endif}} ipsWidget_inner'>
	{{if $orientation !== 'vertical'}}
		<div class='ipsCarousel ipsClearfix cPromotedWidget_horizontal' data-ipsCarousel>
			<div class='ipsCarousel_inner'>
	{{endif}}
		<ul class='ipsList_reset {{if $orientation == 'vertical'}}cPromotedWidget_vertical ipsDataList{{endif}}' data-role='carouselItems'>
		{{foreach $promoted as $item}}
			{{$photoCount = ( $imageObjects = $item->imageObjects() ) ? \count( $imageObjects ) : 0;}}
			{{$staff = \IPS\Member::load( $item->added_by );}}
			<li class='cPromoted cPromotedWidgetItem {{if $orientation !== 'vertical'}}ipsBox ipsBox--child ipsCarousel_item{{else}}ipsDataItem{{endif}}' data-ipsLazyLoad>
				{{if $photoCount}}
					{{$firstPhoto = $item->imageObjects()[0];}}
					<a href='{$item->object()->url()}' class='ipsAreaBackground_dark cPromotedHeader' {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$firstPhoto->url"}'{{else}}style='background-image: url({backgroundimage="$firstPhoto->url"})'{{endif}}>
						<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$firstPhoto->url}' class='ipsHide' alt="{$item->objectTitle}">
					</a>
				{{endif}}
				{{if $photoCount > 1}}
					<ul class='ipsGrid cPromotedImages ipsClearfix ipsAreaBackground_light' data-ipsGrid data-ipsGrid-minItemSize='40' data-ipsGrid-maxItemSize='60'>
						{{foreach $item->imageObjects() as $file}}
							<li class='ipsGrid_span4'>
								<a href='{$file->url}' {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$file->url"}'{{else}}style='background-image: url({backgroundimage="$file->url"})'{{endif}} data-ipsLightbox data-ipsLightbox-group='g{$item->id}'>
									<img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{$file->url}' alt='' class='ipsHide'>
								</a>
							</li>
						{{endforeach}}
					</ul>
				{{endif}}
				<div class='ipsPad cPromotedWidgetItem_content'>
					<h2 class='ipsType_reset ipsType_large ipsType_blendLinks ipsType_break cPromotedTitle'>
						<a href="{$item->object()->url()}">{$item->ourPicksTitle}</a>
					</h2>
					<p class='ipsType_reset ipsType_light ipsType_medium ipsType_blendLinks'>
						{$item->objectMetaDescription|raw}
					</p>
					<div class='cPromotedWidgetItem_contentInner'>
						{{if $text = $item->getText('internal', true)}}
							<div class="ipsType_richText ipsType_medium ipsSpacer_both ipsSpacer_half" data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='4 lines'>{$text|raw}</div>
						{{endif}}
						{{$reactionClass = $item->objectReactionClass;}}
						{{if $reactionClass || $item->objectDataCount}}
							<ul class='ipsList_inline ipsType_light ipsSpacer_bottom'>
								{{if $reactionClass}}
								<li>{template="reactionOverview" group="global" app="core" params="$reactionClass, FALSE"}</li>
								{{endif}}
								
								{{if $counts = $item->objectDataCount}}
									<li><i class='fa fa-comment'></i> {$counts['words']}</li>
								{{endif}}
							</ul>
						{{endif}}
					</div>

					<div class='ipsPhotoPanel ipsPhotoPanel_tiny ipsType_blendLinks ipsType_light'>
						{template="userPhoto" group="global" app="core" params="$staff, 'tiny'"}
						<div>
							{{if $item->sent AND $item->share_to AND \count( $item->share_to ) > 1}}
								<ul class='ipsList_inline cPromotedNetworks'>
									{{foreach $item->share_to as $service}}
										{{if $service == 'internal'}}
											{{continue;}}
										{{endif}}
										{{if $url = $item->getPublishedUrl( $service )}}
											{{$sharer = $item->getPromoter( $service );}}
											<li class='ipsPos_right'>
												<a href='{$url}' class='cShareLink cShareLink_{$service}' data-ipsTooltip title='{lang="promote_shared_on" sprintf="$sharer->key"}'>
													<i class='fa fa-{$sharer::$icon}'></i>
												</a>
											</li>
										{{endif}}
									{{endforeach}}
								</ul>
							{{endif}}
							<h3 class='ipsType_minorHeading'>{lang="promoted_by"}</h3>
							{template="userLink" group="global" app="core" params="$staff"}, {datetime="$item->sent"}
						</div>
					</div>
				</div>
			</li>
		{{endforeach}}
		</ul>
	{{if $orientation !== 'vertical'}}
			</div>
			<span class='ipsCarousel_shadow ipsCarousel_shadowLeft'></span>
			<span class='ipsCarousel_shadow ipsCarousel_shadowRight'></span>
			<a href='#' class='ipsCarousel_nav ipsHide' data-action='prev'><i class='fa fa-chevron-left'></i></a>
			<a href='#' class='ipsCarousel_nav ipsHide' data-action='next'><i class='fa fa-chevron-right'></i></a>
		</div>
	{{endif}}
</div>
<div class='ipsPad_half ipsWidget_inner ipsWidget_bottomBar'>
	<div class='ipsType_center ipsAreaBackground_light ipsPad_half'>
		<a href='{url="app=core&module=promote&controller=ourpicks" seoTemplate="promote_show"}'>{lang="view_all_picks"}</a>
	</div>
</div>]]></template>
 <template template_group="widgets" template_name="recentStatusUpdates" template_data="$statuses, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{lang="block_recentStatusUpdates"}</h3>
<div class='ipsWidget_inner cStatusUpdateWidget' data-controller="core.front.core.statusFeedWidget">
	{{if \IPS\core\Statuses\Status::canCreateFromCreateMenu()}}
		<div class="ipsAreaBackground ipsPad_half" data-role='statusFormArea'>
			<div class='ipsComposeArea_editor' data-role='statusDummy'>
				<div class='ipsComposeArea_dummy ipsType_light' tabindex='-1'>
					{lang="status_content"}
				</div>
			</div>
			<div data-role='statusEditor' class='ipsHide'></div>
		</div>
	{{endif}}
	<ul class='ipsDataList' data-role="statusFeed">
		{{foreach $statuses as $status}}
			{template="recentStatusUpdatesStatus" app="core" group="widgets" params="$status"}
		{{endforeach}}
	</ul>
	{{if \count( $statuses ) == 0}}
		<div class='ipsType_center ipsType_light ipsPad_half' data-role="statusFeedEmpty">{lang="no_recent_statuses"}</div>
	{{endif}}
</div>]]></template>
 <template template_group="widgets" template_name="recentStatusUpdatesStatus" template_data="$status" template_location="front" template_app="core"><![CDATA[<li class='ipsDataItem {{if $status->hidden()}} ipsModerated{{endif}}' data-statusID='{$status->id}'>
	<div class='ipsDataItem_icon ipsPos_top'>
		{template="userPhoto" group="global" app="core" params="$status->author(), 'tiny'"}
	</div>
	<div class='ipsDataItem_main ipsType_medium ipsType_break'>
		<p class='ipsType_medium ipsType_reset'>
			{{if $status->member_id != $status->author()->member_id}}
				<strong class='ipsType_light'>{$status->author()->link()|raw}</strong> &nbsp;&raquo;&nbsp; <strong>{expression="\IPS\Member::load( $status->member_id )->link()" raw="true"}</strong>
			{{else}}
				<strong>{$status->author()->link()|raw}</strong>
			{{endif}}
		</p> 
		<div class='ipsType_richText ipsContained' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='3 lines' data-ipsTruncate-watch='false'>
			{$status->truncated()|raw}
		</div>
		<span class='ipsType_light ipsType_small ipsType_blendLinks'><a href='{$status->url()}'>{datetime="$status->date"}</a>{{if $status->replies or $status->canComment()}} &middot; <a href="{$status->url()}">{lang="status_num_replies" pluralize="$status->replies"}</a>{{endif}}</span>
	</div>
</li>
]]></template>
 <template template_group="widgets" template_name="relatedContent" template_data="$similar, $title, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[{{if !empty( $similar ) }}
<h3 class='ipsWidget_title ipsType_reset'>{$title}</h3>

{{if $orientation == 'vertical'}}
	<div class='ipsWidget_inner'>
		<ul class='ipsDataList ipsDataList_reducedSpacing'>
			{{foreach $similar as $item}}
				{{$numComments = ( $item::$firstCommentRequired ) ? $item->mapped('num_comments') - 1 : $item->mapped('num_comments');}}
				<li class='ipsDataItem {{if $item->hidden()}} ipsModerated{{endif}}'>
					<div class='ipsDataItem_icon ipsPos_top'>
						{template="userPhoto" group="global" app="core" params="$item->author(), 'tiny'"}
					</div>
					<div class='ipsDataItem_main cWidgetComments'>
						<div class="ipsCommentCount ipsPos_right {{if $numComments === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="replies_number" pluralize="$numComments"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber($numComments)"}</div>
						
						<div class='ipsType_break ipsContained'>
							{{if $item->mapped('featured') || $item->hidden() === -1 || $item->hidden() === 1 || \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Solvable' )}}
								{{if $item->hidden() === -1}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$item->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span>
								{{elseif $item->hidden() === 1}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
								{{endif}}
								{{if $item->mapped('featured')}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
								{{endif}}
								{{if \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Solvable' ) and $item->isSolved()}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span></span>
								{{endif}}
							{{endif}}							
							<a href="{$item->url( "getPrefComment" )}" title='{lang="view_this_topic" sprintf="$item->title"}' class='ipsDataItem_title'>{$item->mapped('title')}</a>
						</div>
						<p class='ipsType_reset ipsType_medium ipsType_blendLinks ipsContained'>
							<span>{lang="byline_nodate" htmlsprintf="$item->author()->link( NULL, NULL, $item->isAnonymous() )"}</span><br>
							<span class='ipsType_light'>{lang="started_date" htmlsprintf="\IPS\DateTime::ts( $item->mapped('date') )->html()"}</span>
						</p>
					</div>
				</li>
			{{endforeach}}
		</ul>
	</div>
{{else}}
	<div class='ipsWidget_inner'>
		<ul class='ipsDataList'>
			{{foreach $similar as $item}}
				<li class="ipsDataItem ipsDataItem_responsivePhoto {{if $item->hidden()}}ipsModerated{{endif}}">
					<div class='ipsDataItem_main'>
						<h4 class='ipsDataItem_title ipsContained_container'>
							{{if $item->mapped('pinned') || $item->mapped('featured') || $item->hidden() === -1 || $item->hidden() === 1 || \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Solvable' )}}
								{{if $item->hidden() === -1}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$item->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span>
								{{elseif $item->hidden() === 1}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
								{{endif}}							
								{{if $item->mapped('pinned')}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span></span>
								{{endif}}
								{{if $item->mapped('featured')}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
								{{endif}}
								{{if \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Solvable' ) and $item->isSolved()}}
									<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="this_is_solved"}'><i class='fa fa-check'></i></span></span>
								{{endif}}
							{{endif}}
							{{if $item->prefix()}}
								<span>{template="prefix" group="global" app="core" params="$item->prefix( TRUE ), $item->prefix()"}</span>
							{{endif}}
							
							<span class='ipsType_break ipsContained'>
								<a href='{$item->url( "getPrefComment" )}' {{if $item->tableHoverUrl and $item->canView()}}data-ipsHover data-ipsHover-target='{$item->url()->setQueryString('preview', 1)}' data-ipsHover-timeout='1.5' {{endif}}>
									{$item->mapped('title')}
								</a>
							</span>
							{{if $item->commentPageCount() > 1}}
								{$item->commentPagination( array(), 'miniPagination' )|raw}
							{{endif}}
						</h4>
						
						<p class='ipsType_reset ipsType_medium ipsType_light'>
							{lang="byline" htmlsprintf="$item->author()->link( NULL, NULL, $item->isAnonymous() )"} {datetime="$item->mapped('date')"}
						</p>
						{{if \count( $item->tags() )}}
							&nbsp;&nbsp;
							{template="tags" group="global" app="core" params="$item->tags(), true, true"}
						{{endif}}
					</div>
					<ul class='ipsDataItem_stats'>
						{{foreach $item->stats(FALSE) as $k => $v}}
							<li {{if \in_array( $k, $item->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}>
								<span class='ipsDataItem_stats_number'>{number="$v"}</span>
								<span class='ipsDataItem_stats_type'>{lang="{$k}" pluralize="$v"}</span>
							</li>
						{{endforeach}}
					</ul>
					<ul class='ipsDataItem_lastPoster ipsDataItem_withPhoto'>
						<li>
							{{if $item->mapped('num_comments')}}
								{template="userPhoto" app="core" group="global" params="$item->lastCommenter(), 'tiny'"}
							{{else}}
								{template="userPhoto" app="core" group="global" params="$item->author(), 'tiny'"}
							{{endif}}
						</li>
						<li>
							{{if $item->mapped('num_comments')}}
								{$item->lastCommenter()->link()|raw}
							{{else}}
								{$item->author()->link( NULL, NULL, $item->isAnonymous() )|raw}
							{{endif}}
						</li>
						<li class="ipsType_light">
							<a href='{$item->url( 'getLastComment' )}' title='{lang="get_last_post"}' class='ipsType_blendLinks'>
								{{if $item->mapped('last_comment')}}{datetime="$item->mapped('last_comment')"}{{else}}{datetime="$item->mapped('date')"}{{endif}}
							</a>
						</li>
					</ul>
				</li>
			{{endforeach}}
		</ul>
	</div>
{{endif}}
{{endif}}]]></template>
 <template template_group="widgets" template_name="stats" template_data="$stats, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{lang="block_stats"}</h3>
<div class='ipsWidget_inner'>
	{{if $orientation == 'vertical'}}
		<ul class="ipsDataList">
			<li class="ipsDataItem">
				<div class="ipsDataItem_main ipsPos_middle">
					<strong>{lang="stats_total_members"}</strong>
				</div>
				<div class="ipsDataItem_stats ipsDataItem_statsLarge">
					<span class="ipsDataItem_stats_number">{number="$stats['member_count']"}</span>
				</div>
			</li>
			<li class="ipsDataItem">
				<div class="ipsDataItem_main ipsPos_middle">
					<strong>{lang="stats_most_online"}</strong>
				</div>
				<div class="ipsDataItem_stats ipsDataItem_statsLarge">
					<span class="ipsDataItem_stats_number">{number="$stats['most_online']['count']"}</span><br>
					<span class="ipsType_light ipsType_small"><time>{$stats['most_online']['time']}</time></span>
				</div>
			</li>
		</ul>
		<hr class='ipsHr'>
		{{if $stats['last_registered']}}
			<div class='ipsClearfix ipsPadding_bottom'>
				<div class='ipsPos_left ipsType_center cNewestMember'>
					{template="userPhoto" app="core" group="global" params="$stats['last_registered'], 'small'"}
				</div>
				<div class='ipsWidget_latestItem'>
					<strong class='ipsType_minorHeading'>{lang="stats_newest_member"}</strong><br>
					<span class='ipsType_normal'>{$stats['last_registered']->link()|raw}</span><br>
					<span class='ipsType_medium ipsType_light'>{lang="members_joined"} <time>{$stats['last_registered']->joined->getTimestamp()}</time></span>
				</div>
			</div>
		{{endif}}
	{{else}}
		<div class='ipsFlex ipsFlex-ai:center ipsFlex-jc:between sm:ipsFlex-fd:column sm:ipsFlex-ai:stretch ipsPadding ipsWidget_stats'>
			<div class='ipsFlex-flex:11 ipsFlex ipsFlex-ai:center ipsFlex-jc:around'>
				<div class='ipsType_center'>
					<span class='ipsType_large ipsWidget_statsCount'>{number="$stats['member_count']"}</span><br>
					<span class='ipsType_light ipsType_medium'>{lang="stats_total_members"}</span>
				</div>
				<div class='ipsType_center'>
					<span class='ipsType_large ipsWidget_statsCount' data-ipsTooltip title='<time data-norelative="true">{$stats['most_online']['time']}</time>'>{number="$stats['most_online']['count']"}</span><br>
					<span class='ipsType_light ipsType_medium'>{lang="stats_most_online"}</span>
				</div>
			</div>
			{{if $stats['last_registered'] instanceof \IPS\Member}}
			<div class='ipsFlex-flex:01 ipsBorder_left ipsPadding_left ipsMargin_right:double sm:ipsMargin_right:none sm:ipsMargin_top sm:ipsBorder:none sm:ipsBorder_top sm:ipsPadding_top sm:ipsPadding_left:none sm:ipsFlex sm:ipsFlex-jc:center'>
				<div class='ipsPhotoPanel ipsPhotoPanel_mini cNewestMember'>
					{template="userPhoto" app="core" group="global" params="$stats['last_registered'], 'mini'"}
					<div>
						<span class='ipsType_minorHeading'>{lang="stats_newest_member"}</span><br>
						<span class='ipsType_normal'>{$stats['last_registered']->link()|raw}</span><br>
						<span class='ipsType_small ipsType_light'>{lang="members_joined"} <time>{$stats['last_registered']->joined->getTimestamp()}</time></span>
					</div>
				</div>
			</div>
			{{endif}}
		</div>
	{{endif}}
</div>]]></template>
 <template template_group="widgets" template_name="stream" template_data="$stream, $results, $title, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsWidget_title'>{$title}</h3>
<div class='{{if $orientation == "vertical"}}ipsPadding_horizontal:half ipsPadding_bottom:half {{else}} ipsPadding_horizontal ipsPadding_bottom {{endif}} ipsWidget_inner'>
<ol class="cWidgetStreamList ipsList_reset">
{{foreach $results AS $result}}
	{$result->html($orientation, $stream->include_comments ? 'last_comment' : 'date', TRUE, $result->asArray()['indexData']['index_class']::searchResultBlock() )|raw}
{{endforeach}}
</ol>
</div>]]></template>
 <template template_group="widgets" template_name="streamItem" template_data="$indexData, $articles, $authorData, $itemData, $unread, $objectUrl, $itemUrl, $containerUrl, $containerTitle, $repCount, $showRepUrl, $snippet, $iPostedIn, $view, $canIgnoreComments=FALSE, $reactions=array()" template_location="front" template_app="core"><![CDATA[<li class='cWidgetStream ipsFlex {{if $view == 'horizontal'}}ipsGap:5{{else}}ipsGap:3{{endif}}' data-orientation="{$view}">
	{{if \in_array( 'IPS\Content\Comment', class_parents( $indexData['index_class'] ) )}}
		{{$itemClass = $indexData['index_class']::$itemClass;}}
		<div class="cWidgetStream__icon ipsFlex-flex:00">
			{{if $view == 'horizontal'}}{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view == 'horizontal' ) ? 'mini' : 'tiny'"}{{endif}}
			{{if $indexData['index_title']}}
				<span class='cWidgetStreamIcon' data-ipsTooltip title='{lang="$itemClass::$title"}'><i class='fa fa-{$itemClass::$icon}'></i></span>
			{{else}}				
				<span class='cWidgetStreamIcon' data-ipsTooltip title='{lang="$indexData['index_class']::$title"}'><i class='fa fa-{$indexData['index_class']::$icon}'></i></span>
			{{endif}}		
		</div>
		<div class='cWidgetStream__main ipsFlex-flex:11'>
			{{if isset( $itemClass::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] )}}	
				{{$commentCount = $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ];}}
				{{if $itemClass::$firstCommentRequired}}
					<div class="ipsCommentCount ipsPos_right" data-ipsTooltip title='{lang="replies_number" pluralize="$commentCount - 1"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber( $commentCount - 1 )"}</div>
				{{else}}
					<div class="ipsCommentCount ipsPos_right" data-ipsTooltip title='{lang="replies_number" pluralize="$commentCount"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber( $commentCount )"}</div>
				{{endif}}
			{{endif}}
			<div class="ipsType_break">
				<h4 class='ipsDataItem_title {{if $view == 'horizontal'}}ipsType_large ipsType_break{{endif}}'>
					{{if isset( $indexData['index_prefix'] )}}
						<span>{template="prefix" group="global" app="core" params="rawurlencode($indexData['index_prefix']), $indexData['index_prefix']"}</span>
					{{endif}}
					<span class='ipsType_break'>
						<a href='{$objectUrl}' data-linkType="link" data-searchable>{$itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['title'] ]}</a>
					</span>
					{{if $indexData['index_hidden']}}
						{{if $indexData['index_hidden'] === -1}}
						<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span></span>
						{{elseif $indexData['index_hidden'] === 1}}
						<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
						{{endif}}
					{{endif}}
				</h4>
				<div class='ipsType_reset ipsType_blendLinks ipsType_medium'>
					{template="searchResultSnippet" app="core" location="front" group="system" params="$indexData"}
					{{if \IPS\IPS::classUsesTrait( $indexData['index_class'], 'IPS\Content\Reactable' ) and settings.reputation_enabled and \count( $reactions )}}
						{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}
							<span class="cWidgetStreamReaction">{template="searchReaction" group="search" app="core" params="$reactions, $itemUrl->setQueryString('do', 'showReactionsReview')->setQueryString('review', $indexData['index_object_id']), $repCount"}</span>
						{{else}}
							<span class="cWidgetStreamReaction">{template="searchReaction" group="search" app="core" params="$reactions, $itemUrl->setQueryString('do', 'showReactionsComment')->setQueryString('comment', $indexData['index_object_id']), $repCount"}</span>
						{{endif}}
					{{endif}}
				</div>
			
				<div class='cWidgetStreamTime ipsType_blendLinks ipsType_light ipsType_medium'>
					{{if $view == 'horizontal'}}
						<i class='fa fa-clock-o'></i> <a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}'>{datetime="$indexData['index_date_created']"}</a> - {expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
					{{else}}
						{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view == 'horizontal' ) ? 'mini' : 'tiny'"} <a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}'>{datetime="$indexData['index_date_created']"}</a> {lang="in"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>	
					{{endif}}
				</div>
				{{if isset( $indexData['index_tags'] )}}
					<div>{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true, true"}</div>
				{{endif}}
			</div>
		</div>
	{{else}}
		{{$itemClass = $indexData['index_class'];}}
		<div class="cWidgetStream__icon ipsFlex-flex:00">
			{{if $view == 'horizontal'}}{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view == 'horizontal' ) ? 'mini' : 'tiny'"}{{endif}}
			{{if $indexData['index_title']}}
				<span class='cWidgetStreamIcon' data-ipsTooltip title='{lang="$itemClass::$title"}'><i class='fa fa-{$itemClass::$icon}'></i></span>
			{{else}}				
				<span class='cWidgetStreamIcon' data-ipsTooltip title='{lang="$indexData['index_class']::$title"}'><i class='fa fa-{$indexData['index_class']::$icon}'></i></span>
			{{endif}}
		</div>
		<div class='cWidgetStream__main ipsFlex-flex:11'>
			{{if isset( $itemClass::$databaseColumnMap['num_comments'] ) and isset( $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ] )}}
				{{$commentCount = $itemData[ $itemClass::$databasePrefix . $itemClass::$databaseColumnMap['num_comments'] ];}}
				{{if $itemClass::$firstCommentRequired}}
					<div class="ipsCommentCount ipsPos_right" data-ipsTooltip title='{lang="replies_number" pluralize="$commentCount - 1"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber( $commentCount - 1 )"}</div>
				{{else}}
					<div class="ipsCommentCount ipsPos_right" data-ipsTooltip title='{lang="replies_number" pluralize="$commentCount"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber( $commentCount )"}</div>
				{{endif}}
			{{endif}}
			<div class='ipsType_break'>
				<h4 class='ipsDataItem_title {{if $view == 'horizontal'}}ipsType_large ipsType_break{{endif}}'>
					{{if isset( $indexData['index_prefix'] )}}
						<span>{template="prefix" group="global" app="core" params="rawurlencode($indexData['index_prefix']), $indexData['index_prefix']"}</span>
					{{endif}}
					<span class='ipsType_break'><a href='{$itemUrl}' data-linkType="link" data-searchable>{$indexData['index_title']}</a>
                    {{if $indexData['index_hidden']}}
						<span><span class="ipsBadge ipsBadge_icon ipsBadge_warning ipsBadge_medium " data-ipsTooltip title='{lang="hidden"}'><i class='fa fa-eye-slash'></i></span></span>
					{{endif}}
                    </span>
				</h4>
				{{if $containerTitle}}
					<div class='ipsType_reset ipsType_blendLinks ipsType_light ipsType_medium'>
						{$snippet|raw}
					</div>
					<div class='cWidgetStreamTime ipsType_blendLinks ipsType_light ipsType_medium'>
						{{if $view == 'horizontal'}}
							<i class='fa fa-clock-o'></i> <a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}'>{datetime="$indexData['index_date_created']"}</a> - {expression="$itemClass::searchResultSummaryLanguage( $authorData, $articles, $indexData, $itemData )"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>
						{{else}}
							{template="userPhotoFromData" group="global" app="core" params="$authorData['member_id'], $authorData['name'], $authorData['members_seo_name'], \IPS\Member::photoUrl( $authorData ), ( $view == 'horizontal' ) ? 'mini' : 'tiny'"} <a href='{{if $indexData['index_title']}}{$objectUrl}{{else}}{{if \in_array( 'IPS\Content\Review', class_parents( $indexData['index_class'] ) )}}{$objectUrl->setQueryString( array( 'do' => 'findReview', 'review' => $indexData['index_object_id'] ) )}{{else}}{$objectUrl->setQueryString( array( 'do' => 'findComment', 'comment' => $indexData['index_object_id'] ) )}{{endif}}{{endif}}'>{datetime="$indexData['index_date_created']"}</a> {lang="in"} <a href='{$containerUrl}'>{$containerTitle|raw}</a>	
						{{endif}}
					</div>
					{{if isset( $indexData['index_tags'] )}}
						<div>{template="tags" group="global" app="core" params="explode( ',', $indexData['index_tags'] ), true, true"}</div>
					{{endif}}
				{{endif}}
			</div>
		</div>
	{{endif}}
</li>]]></template>
 <template template_group="widgets" template_name="topContributorRows" template_data="$results, $timeframe, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[{{if \count( $results )}}
	{{if $orientation == 'vertical'}}
		<ol class='ipsDataList ipsDataList_reducedSpacing cTopContributors'>
			{{$idx = 1;}}
			{{foreach $results as $memberId => $rep}}
				{{$member = \IPS\Member::load( $memberId );}}
				<li class='ipsDataItem'>
					<div class='ipsDataItem_icon ipsPos_middle ipsType_center ipsType_large ipsType_light'><strong>{expression="$idx++"}</strong></div>
					<div class='ipsDataItem_main ipsPhotoPanel ipsPhotoPanel_tiny'>
						{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
						<div>
							{$member->link()|raw}
							<br>
							{{if member.group['gbw_view_reps']}}
								<a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}' title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</a>
							{{else}}
								<span title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</span>
							{{endif}}
						</div>
					</div>
				</li>
			{{endforeach}}
		</ol>
		{{if settings.reputation_leaderboard_on and member.canAccessModule( \IPS\Application\Module::get( 'core', 'discover' ) )}}
			<div class="ipsMargin_top:half">
				{{$_timeframe = $timeframe == 'all' ? 'time=oldest' : ( $timeframe == 'year' ? ( 'custom_date_start=' . ( time() - 31536000 ) ) : ( 'time=' . $timeframe ) );}}
				<a href="{url="app=core&module=discover&controller=popular&tab=leaderboard&{$_timeframe}" seoTemplate="leaderboard_leaderboard"}" class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth'>{lang="leaderboard_show_more"}</a>
			</div>
		{{endif}}
	{{else}}
		<div class="ipsGrid ipsGrid_collapsePhone">
			{{$count = 0;}}
			{{foreach $results as $memberId => $rep}}
				{{if $count == 4}}
					{{break;}}
				{{else}}
					{{$count++;}}
				{{endif}}
				{{$member = \IPS\Member::load( $memberId );}}
				<div class='ipsGrid_span3'>
					<div class='ipsPad_half ipsPhotoPanel ipsPhotoPanel_tiny'>
						{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}
						<div>
							<p class='ipsType_reset ipsTruncate ipsTruncate_line'>
								{$member->link()|raw}
							</p>
							{{if member.group['gbw_view_reps']}}
								<a href='{url="app=core&module=members&controller=profile&id={$member->member_id}&do=reputation" seoTemplate="profile_reputation" seoTitle="$member->members_seo_name"}' title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</a>
							{{else}}
								<span title="{lang="reputation_badge_tooltip_period"}" data-ipsTooltip class='ipsRepBadge {{if $rep > 0}}ipsRepBadge_positive{{elseif $rep < 0}}ipsRepBadge_negative{{else}}ipsRepBadge_neutral{{endif}}'><i class='fa {{if $rep > 0}}fa-plus-circle{{elseif $rep < 0}}fa-minus-circle{{else}}fa-circle-o{{endif}}'></i> {expression="\IPS\Member::loggedIn()->language()->formatNumber( $rep )"}</span>
							{{endif}}
						</div>
					</div>
				</div>
			{{endforeach}}
		</div>
		{{if settings.reputation_leaderboard_on and member.canAccessModule( \IPS\Application\Module::get( 'core', 'discover' ) )}}
			<div>
				{{$_timeframe = $timeframe == 'all' ? 'time=oldest' : ( $timeframe == 'year' ? ( 'custom_date_start=' . ( time() - 31536000 ) ) : ( 'time=' . $timeframe ) );}}
				<a href="{url="app=core&module=discover&controller=popular&tab=leaderboard&{$_timeframe}" seoTemplate="leaderboard_leaderboard"}" class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth'>{lang="leaderboard_show_more"}</a>
			</div>
		{{endif}}
	{{endif}}
{{else}}
	<div class='ipsPad'>
		<p class='ipsType_reset'>{lang="top_contributors_empty__{$timeframe}"}</p>
	</div>
{{endif}}]]></template>
 <template template_group="widgets" template_name="topContributors" template_data="$topContributorsThisWeek, $limit, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<h3 class='ipsType_reset ipsWidget_title'>{lang="block_topContributors"}</h3>
<div class='ipsTabs ipsTabs_small ipsTabs_stretch ipsClearfix' id='elTopContributors' data-ipsTabBar data-ipsTabBar-updateURL='false' data-ipsTabBar-contentArea='#elTopContributors_content'>
	<a href='#elTopContributors' data-action='expandTabs'><i class='fa fa-caret-down'></i></a>
	<ul role="tablist" class='ipsList_reset'>
		<li>
			<a href='#ipsTabs_elTopContributors_el_topContributorsWeek_panel' id='el_topContributorsWeek' class='ipsTabs_item ipsTabs_activeItem' role="tab" aria-selected='true'>{lang="week"}</a>
		</li>
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=topContributors&time=month&limit={$limit}&orientation={$orientation}"}' id='el_topContributorsMonth' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="month"}</a>
		</li>		
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=topContributors&time=year&limit={$limit}&orientation={$orientation}"}' id='el_topContributorsYear' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="year"}</a>
		</li>
		<li>
			<a href='{url="app=core&module=system&controller=ajax&do=topContributors&time=all&limit={$limit}&orientation={$orientation}"}' id='el_topContributorsAll' class='ipsTabs_item' role="tab" aria-selected='false'>{lang="alltime"}</a>
		</li>
	</ul>
</div>

<section id='elTopContributors_content' class='ipsWidget_inner ipsPad_half'>
	<div id="ipsTabs_elTopContributors_el_topContributorsWeek_panel" class='ipsTabs_panel'>
		{template="topContributorRows" group="widgets" app="core" params="$topContributorsThisWeek, 'week', $orientation"}
	</div>
</section>]]></template>
 <template template_group="widgets" template_name="twitter" template_data="$username, $locale, $style=NULL, $color=NULL" template_location="front" template_app="core"><![CDATA[
<div class='ipsPad_half'>
	<a class="twitter-timeline" data-lang="{$locale}" data-height="500" {{if $style}}data-theme="{$style}"{{endif}} {{if $color}}data-link-color="{$color}"{{endif}} href="https://twitter.com/{$username}?ref_src=twsrc%5Etfw">Tweets by {$username}</a> 		<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>]]></template>
 <template template_group="widgets" template_name="whosOnline" template_data="$members, $memberCount, $guests, $anonymous, $orientation='vertical'" template_location="front" template_app="core"><![CDATA[<div data-controller='core.front.core.onlineUsersWidget'>
    <h3 class='ipsType_reset ipsWidget_title'>
        <span class='ipsFlex ipsFlex-jc:between ipsFlex-fw:wrap ipsFlex-ai:center'>
            <span>
                {lang="block_whosOnline"}
                {{if $orientation == 'horizontal'}}
                    &nbsp;&nbsp;<span class='ipsType_light ipsType_unbold ipsType_medium'><span data-memberCount="{$memberCount}">{lang="block_whos_online_info_members" pluralize="$memberCount"}</span>, {lang="block_whos_online_info_anonymous" pluralize="$anonymous"}, {lang="block_whos_online_info_guests" pluralize="$guests"}</span>
                {{endif}}
            </span>
            <span class='ipsType_medium ipsType_light ipsType_unbold ipsType_blendLinks'><a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="see_full_list"}</a></span>
        </span>
    </h3>
    <div class='ipsWidget_inner ipsPadding'>
        <ul class='ipsList_inline ipsList_csv ipsList_noSpacing ipsType_normal'>
            {{if $memberCount}}
                {{foreach $members as $row}}
                    <li data-memberId="{$row['member_id']}">{template="userLinkFromData" group="global" app="core" params="$row['member_id'], $row['member_name'], $row['seo_name'], $row['member_group'], TRUE"}</li>
                {{endforeach}}
            {{else}}
                <li class='ipsType_reset ipsType_medium ipsType_light' data-noneOnline>{lang="whos_online_users_empty"}</li>
            {{endif}}
        </ul>
        {{if $orientation == 'vertical' and $memberCount > 60}}
            <p class='ipsType_medium ipsType_reset'>
                <a href='{url="app=core&module=online&controller=online" seoTemplate="online"}'>{lang="and_x_others" pluralize="$memberCount - 60"}</a>
            </p>
        {{endif}}
    </div>
</div>]]></template>
 <css css_location="global" css_app="core" css_attributes="" css_path="." css_name="2fa.css"><![CDATA[/* ======================================================== */
/* 2FA */

#elTwoFactorAuthentication {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	overflow: auto;
}

	#elTwoFactorAuthentication > div {
		max-width: 500px;
		background: rgb( var(--theme-area_background_reset) );
		box-shadow: 0px 5px 55px rgba(0,0,0,0.4);
		border-radius: 3px;
		overflow: hidden;
	}

	#elTwoFactorAuthentication .ipsTabs {
		background: transparent;
		padding: 0;
		border: 0;
	}

		#elTwoFactorAuthentication .ipsTabs .ipsTabs_item:not( .ipsTabs_activeItem ) {
			color: rgb( var(--theme-text_color) );
			background: transparent;
		}

	#elTwoFactorAuthentication .c2FA_info {
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}

	#elTwoFactorAuthentication .cOtherMethod {
		padding-top: 0;
	}

	#elTwoFactorAuthentication button[name='_mfaCancel'] {
		border: none;
		padding-bottom: 7px;
	}

		#elTwoFactorAuthentication button[name='_mfaCancel'] i.fa {
			cursor: pointer;
		}

#elGoogleAuthenticator input[type='text'] {
	font-size: 30px;
	text-align: center;
}

#elGoogleAuthenticator .ipsGrid_span8 {
	margin-top: 25px;
}

#elGoogleAuthenticator .ipsGrid_span5 {
	padding-left: 25px;
}

#elAuthy select {
	width: 100%;
}

#elAuthy input[type='text'] {
	font-size: 30px;
	text-align: center;
}

.cAuthy_container {
	position: relative;
}

.cAuthy_icon {
	width: 36px;
	height: 36px;
	position: absolute;
	top: 8px;
	left: 8px;
}

.cAuthy_field {
	
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="." css_name="core_responsive.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	.cUserHovercard {
		min-width: 0;
	}

	html[dir="ltr"] .cTopContributors .ipsDataItem_main {
		margin-left: 30px;
	}
	html[dir="rtl"] .cTopContributors .ipsDataItem_main {
		margin-right: 30px;
	}
	
	/* This element is overlaid by the user photo, so we need to raise this to the top of the stack */
	#elEditProfile {
		z-index: 3050;
	}

	#elGuestTerms .ipsButton {
		line-height: 32px;
		max-width: calc(100vw - 30px);
		padding: 0 10px;
	}

	/* Google MFA */
	#elGoogleAuthenticator .ipsGrid_span8 {
		margin-top: 0;
		margin-bottom: 10px;
	}

	/* Guest Sign In */
	.cGuestTeaser .ipsPad.ipsBox {
		padding: 15px;
	}

	.cGuestTeaser .ipsButton {
		width: 100%;
	}

	.cGuestTeaser_social {
		width: 100%;
	}
	
		.cGuestTeaser_social a {
			margin: 0 auto;
		}

	html[dir] .cGuestTeaser_left {
		border-left: 0;
		border-right: 0;
		border-bottom: 2px solid rgba( var(--theme-text_dark), 0.05 );
		margin-bottom: 15px;
		padding-bottom: 15px;
	}

	/* Reset guest teaser on mobile back to normal layout from tablet flex layout */
	.cGuestTeaser .ipsGrid {
		display: block !important;
	}
		.cGuestTeaser .ipsGrid_span6 {
			display: block !important;
		}

	/* EMJOI */
	ul.cEmojiMenu.ipsMenu > li {
		min-width: 0;
		width: 100%;
		margin-bottom: 3px;
	}
}

/* BOTH */
@media screen and (max-width: 979px) {
	
	html[dir="ltr"] #elInboxContent .ipsDataItem_main {
		margin-right: 40px !important;
	}
	html[dir="rtl"] #elInboxContent .ipsDataItem_main {
		margin-left: 40px !important;
	}
	
	.cMessage > .ipsDataItem_main {
		margin-right: 75px;
	}

	.cMessage > .ipsDataItem_generic {
		width: 75px;
		display: inline-block;
		position: absolute;
		top: 7px;
	}

	html[dir="ltr"] .cMessage > .ipsDataItem_generic {
		right: var(--sp-4);
	}
	html[dir="rtl"] .cMessage > .ipsDataItem_generic {
		left: var(--sp-4);
	}
	
	#elWidgetControls {
		display: none;
	}

	.cPollList_choices li {
		margin-bottom: 15px;
	}

	.cPollVoteBar {
		margin: 5px 0;
	}

	.cPollList .ipsGrid > [class*="ipsGrid_span"] {
		min-height: 0;
	}
	
	.cPollChoices .ipsDataItem {
		padding: 7px 0 !important;
	}

		.cPollChoices .ipsDataItem:first-child {
			display: none;
		}

	.cPollChoices .cPollChoiceNumber {
		width: 30px;
		min-width: 0;
		float: left;
		font-size: 20px;
		line-height: 28px;
	}
	html[dir="rtl"] .cPollChoices .cPollChoiceNumber {
		float: right;
	}

	html[dir="ltr"] .cPollChoices .ipsDataItem_main {
		margin: 0 30px 5px 40px;
	}
	html[dir="rtl"] .cPollChoices .ipsDataItem_main {
		margin: 0 40px 5px 30px;
	}

	html[dir="ltr"] .cPollChoices .ipsDataItem_main + .ipsDataItem_generic {
		margin-left: 40px;
	}
	html[dir="rtl"] .cPollChoices .ipsDataItem_main + .ipsDataItem_generic {
		margin-right: 40px;
	}

		.cPollChoices .ipsDataItem_main + .ipsDataItem_generic:after {
			content: attr( data-voteText );
			font-size: 13px;
		}

		.cPollChoices .ipsDataItem_main + .ipsDataItem_generic input {
			max-width: 50px;
		}
		html[dir="ltr"] .cPollChoices .ipsDataItem_main + .ipsDataItem_generic input {
			margin-right: 5px;
		}
		html[dir="rtl"] .cPollChoices .ipsDataItem_main + .ipsDataItem_generic input {
			margin-left: 5px;
		}

	.cPollChoices [data-action="removeChoice"] {
		position: absolute;
		top: 7px;
	}
	html[dir="ltr"] .cPollChoices [data-action="removeChoice"] {
		right: 0;
	}
	html[dir="rtl"] .cPollChoices [data-action="removeChoice"] {
		left: 0;
	}

	html[dir="ltr"] #elNotifyContent .ipsDataItem_main {
		margin-left: 55px;
	}
	html[dir="rtl"] #elNotifyContent .ipsDataItem_main {
		margin-right: 55px;
	}
	
	/* This element is overlaid by the user photo, so we need to raise this to the top of the stack */
	#elEditProfile {
		z-index: 3050;
	}

	/* Use flex to ensure positioning in guest teaser for tablet */
	.cGuestTeaser .ipsGrid {
		display: flex;
	}
		.cGuestTeaser .ipsGrid_span6 {
			display: flex;
			flex: 1;
			flex-direction: column;
		}
			.cGuestTeaser .ipsGrid_span6 a {
				margin-top: auto;
			}
}

/* MY ATTACHMENTS */
@media (max-width: 979px){
	[data-pagecontroller="attachments"] .ipsAttach  > *,
	[data-pagecontroller="warnings"] .ipsDataList  > *{
		width: auto;
	}
	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_size3{
		flex: 0 0 60px;
		margin-right: 10px;
	}
	[dir='rtl'] [data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_size3{
		margin-right: 0;
		margin-left: 10px;
	}

		[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_size3 .ipsPos_right {
			float: none;
			margin-left: var(--sp-8);
			margin-top: var(--sp-1);
		}

		[data-pagecontroller="attachments"] .ipsAttach .ipsThumb_small,
		[data-pagecontroller="warnings"] .ipsDataList .ipsThumb_small{
			max-width: 100%;
		}

	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_main,
	[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_main{
		flex: 1 1 10%;
	}

	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_size9{
		flex-basis: 250px;
		margin: 0 20px;
	}

	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_stats,
	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_modCheck,
	[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_stats,
	[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_modCheck{
		flex-shrink: 0;
	}

	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_modCheck,
	[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_modCheck{
		right: 10px;
		left: auto;
		top: 50%;
		transform: translateY(-50%);
	}
		[dir='rtl'] [data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_modCheck,
		[dir='rtl'] [data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_modCheck{
			right: auto;
			left: 10px;
		}
}

@media (max-width: 767px){
	[data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_main,
	[data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_main{
		flex-basis: 70%;
	}
	[dir='ltr'] [data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_size9,
	[dir='ltr'] [data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_size9{
		margin-left: 70px;
	}
		[dir='rtl'] [data-pagecontroller="attachments"] .ipsAttach .ipsDataItem_size9,
		[dir='rtl'] [data-pagecontroller="warnings"] .ipsDataList .ipsDataItem_size9{
			margin-right: 70px;
		}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="." css_name="core.css"><![CDATA[/* Core app, non-framework styles */
#elError .fa {
	margin-bottom: 10px;
}
#elErrorMessage {
	margin-top: 0;
	font-size: {fontsize="2x_large"};
	font-weight: 500;
	line-height: 1.4;
	max-width: 800px;
}

#elRSS {
	color: #F28826;
	font-size: {fontsize="22"};
	margin-inline-start: 10px;
}

.cRegister_noSocial {
	max-width: 700px;
}


.cLogin_single {
	max-width: 500px;
}
.cLogin_popupSingle {
	max-width: 250px;
}

.cLogin .ipsButton_primary {
	margin-bottom: 7px;
}

.cLogin_noSocial {
	max-width: 500px;
}

.cLogin_social {
	padding: 7px 0;
}

/* USER HOVERCARDS */
.cUserHovercard {
	min-width: 370px;
}

	.cUserHovercard__header {
		height: 75px;
	}

	.cUserHovercard__photo {
		position: absolute;
		top: -30px;
		left: 50%;
		transform: translateX(-50%);
	}

	.cUserHovercard__title {
		font-size: {fontsize="x_large"};
		font-weight: bold;
		line-height: 1;
	}

	.cUserHovercard__onlineStatus {
		position: absolute;
		left: -16px;
	}

/*.cUserHovercard {
	min-height: 200px;
	min-width: 420px;
}

.cUserHovercard .ipsPageHead_special {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
	height: 85px;
	width: 100%;
	background-color: rgb( var(--theme-profile_header) );
	border-radius: var(--popup--radius) var(--popup--radius) 0px 0px;
}

.cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	position: absolute;
	top: 35px;
}
html[dir="ltr"] .cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	left: 15px;
}
html[dir="rtl"] .cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	right: 15px;
}

.cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
.cUserHovercard .ipsPageHead_special p {
	position: absolute;
	color: #fff;
}
html[dir="ltr"] .cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
html[dir="ltr"] .cUserHovercard .ipsPageHead_special p {
	left: 110px;
}
html[dir="rtl"] .cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
html[dir="rtl"] .cUserHovercard .ipsPageHead_special p {
	right: 110px;
}

.cUserHovercard .ipsPageHead_special a,
.cUserHovercard .ipsPageHead_special span.cProfileHeader_history{
	color: inherit !important;
}

	
.cUserHovercard .ipsPageHead_special span.cProfileHeader_history {
	opacity: 0.5;
	line-height: 1.5;
}
	html[dir="ltr"] .cUserHovercard .ipsPageHead_special span.cProfileHeader_history {
		margin-left: var( --sp-2 );
	}
	html[dir="rtl"] .cUserHovercard .ipsPageHead_special span.cProfileHeader_history {
		margin-right: var( --sp-2 );
	}

	.cUserHovercard .ipsPageHead_special span.cProfileHeader_history:hover {
		opacity: 1;
	}

.cUserHovercard .ipsPageHead_special p {
	top: 60px;
}

.cUserHovercard .ipsPageHead_special .ipsType_sectionHead {
	top: 28px;
	font-size: {fontsize="2x_large"};
	max-width: 325px;
	line-height: 1.5;
}

.cUserHovercard .ipsDataList .ipsDataItem_generic,
.cUserHovercard .ipsDataList .ipsDataItem_main {
	padding: 2px 0;
}

html[dir="ltr"] .cUserHovercard .ipsDataList .ipsDataItem_main {
	padding-left: 5px;
}
html[dir="rtl"] .cUserHovercard .ipsDataList .ipsDataItem_main {
	padding-right: 5px;
}

.cUserHovercard .cUserHovercard_data {
	max-width: 330px;
}
html[dir="ltr"] .cUserHovercard .cUserHovercard_data {
	margin-left: 105px;
}
html[dir="rtl"] .cUserHovercard .cUserHovercard_data {
	margin-right: 105px;
}

.cUserToggleFriend {
	position: absolute;
	top: 50px;
}
html[dir="ltr"] .cUserToggleFriend {
	right: 15px;
}
html[dir="rtl"] .cUserToggleFriend {
	left: 15px;
}

.cUserHovercard .ipsRepBadge {
	width: 80px;
	position: absolute;
	top: 120px;
	text-align: center;
}
html[dir="ltr"] .cUserHovercard .ipsRepBadge {
	left: 15px;
}
html[dir="rtl"] .cUserHovercard .ipsRepBadge {
	right: 15px;
}*/

/* Sidebar Manager */
html[dir="ltr"] .ipsApp.cWidgetsManaging {
	margin-left: 300px;
}
html[dir="rtl"] .ipsApp.cWidgetsManaging {
	margin-right: 300px;
}

.cWidgetContainer[data-widgetArea="header"] {
	margin: 0 0 20px 0;
}

.cWidgetContainer[data-widgetArea="footer"] {
	margin-top: 10px;
}

.cWidgetsManaging #ipsLayout_sidebar {
	overflow: visible;
}

.cWidgetContainer.cWidgetContainer_managing {
	display: block;
	min-height: 100px;
	position: relative;
	background-color: rgba( var(--theme-text_color), 0.15 );
}
	
	.cWidgetContainer.cWidgetContainer_managing > ul {
		display: block;
		min-height: 100px;
	}

		.cWidgetContainer > ul > li:last-child {
			margin-bottom: 0;
		}

	.cWidgetContainer.cWidgetContainer_managing:before {
		content: '';
		position: absolute;
		top: -2px;
		left: -2px;
		right: -2px;
		bottom: -2px;
		border: 1px dashed rgb( var(--theme-text_color) );
	}

.cWidgetContainer_managing li.ipsWidget[data-blockconfig="true"] {
	min-height: 100px;
}
.cWidgetContainer_managing > ul > li:not([data-hidden="true"]) { 
	position: relative;
	display: block !important; /* Required to show widgets that might be hidden by device size settings */
	margin-top: 10px !important; /* same reason */
}
.cSidebarBlock_managing {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding-top: 50px;
	background: rgba( var(--theme-area_background_reset), 0.6 );
	border: 1px dotted rgb( var(--theme-text_color) );
	cursor: move;
}

	.cSidebarBlock_managing [data-action="removeBlock"] {
		width: 28px;
		height: 28px;
		border-radius: 14px;
		background: rgba(0,0,0,0.8);
		color: #fff;
		line-height: 28px;
		text-align: center;
		position: absolute;
		top: -5px;
	}
	html[dir="ltr"] .cSidebarBlock_managing [data-action="removeBlock"] {
		right: -5px;
	}
	html[dir="rtl"] .cSidebarBlock_managing [data-action="removeBlock"] {
		left: -5px;
	}

	.cSidebarBlock_managing h4 {
		position: absolute;
		top: 5px;
		background: rgba(0,0,0,0.8);
		color: #fff;
		line-height: 20px;
		font-size: {fontsize="x_small"};
		font-weight: 400;
		padding: 0 15px;
		margin: 0;
		border-radius: 15px;
	}

	html[dir="ltr"] .cSidebarBlock_managing h4 {
		left: 9px;
	}
	html[dir="rtl"] .cSidebarBlock_managing h4 {
		right: 9px;
	}

.cSidebarBlock_managing [data-action="manageBlock"] {
	position: relative;
	z-index: 10;
}

.cSidebarBlock_loading {
	min-height: 120px;
}

#elWidgetControls {
	position: fixed;
	top: 50%;	
	width: 18px;
	opacity: 0.5;
	font-size: {fontsize="x_small"};
	background: rgb( var(--theme-text_dark) );
	padding-left: 2px;
	padding-right: 2px;
	z-index: 10000;
}

#devices_to_show li {
	margin: 0 8px 0 0;
	float: left;
}

/* Hide widget control on phones */
@media screen and (max-width: 767px) {
	#elWidgetControls {
		display: none !important;
	}
}

html[dir="ltr"] #elWidgetControls {
	left: 0;
	border-radius: 0 var(--radius-1) var(--radius-1) 0;
}
html[dir="rtl"] #elWidgetControls {
	right: 0;
	border-radius: var(--radius-1) 0 0 var(--radius-1);
}

	#elWidgetControls:hover {
		opacity: 1;
	}

#elSidebarWidgets.cSidebarManaging {
	min-height: 100px;
}
	
	#elSidebarWidgets.cSidebarManaging > li {
		min-height: 100px;
	}
	
#elSidebarManager {
	position: fixed;
	top: 0;
	bottom: 0;
	padding-bottom: 70px;
	width: 300px;
	z-index: 1000;	/* Make sure it shows on top of things when page horizontally scrolls */
}
html[dir="ltr"] #elSidebarManager {
	left: 0;
}
html[dir="rtl"] #elSidebarManager {
	right: 0;
}

	#elSidebarManager > div:first-child {
		position: absolute;
		top: 0;
		bottom: 70px;
		width: 300px;
		overflow: auto;
	}
	
	#elSidebarManager [data-role='availableBlocks'] {
		min-height: 100px;
	}

	#elSidebarManager .cSidebarManager_open,
	#elSidebarManager .cSidebarManager_closed {
		position: relative;
	}
	html[dir="ltr"] #elSidebarManager .cSidebarManager_open,
	html[dir="ltr"] #elSidebarManager .cSidebarManager_closed {
		padding-left: 26px;
	}
	html[dir="rtl"] #elSidebarManager .cSidebarManager_open,
	html[dir="rtl"] #elSidebarManager .cSidebarManager_closed {
		padding-right: 26px;
	}

	#elSidebarManager .cSidebarManager_open:before,
	#elSidebarManager .cSidebarManager_closed:before {
		font-family: "FontAwesome";
		position: absolute;
		font-size: 18px;
	}
	html[dir="ltr"] #elSidebarManager .cSidebarManager_open:before,
	html[dir="ltr"] #elSidebarManager .cSidebarManager_closed:before {
		left: 12px;
	}
	html[dir="rtl"] #elSidebarManager .cSidebarManager_open:before,
	html[dir="rtl"] #elSidebarManager .cSidebarManager_closed:before {
		right: 12px;
	}

	#elSidebarManager .cSidebarManager_open:before {
		content: '\f0d7';
	}

	html[dir="ltr"] #elSidebarManager .cSidebarManager_closed:before {
		content: '\f0da';
	}
	html[dir="rtl"] #elSidebarManager .cSidebarManager_closed:before {
		content: '\f0d9';
	}

#elSidebarManager_submit {
	position: fixed;
	bottom: 0;
	width: 300px;
	background: #000;
	z-index: 5500;
}
html[dir="ltr"] #elSidebarManager_submit {
	left: 0;
}
html[dir="rtl"] #elSidebarManager_submit {
	right: 0 !important;
}

.cSidebarManager_block {
	background: #313233;
	padding: 7px;
	margin: 0 0 10px 10px;
	color: #fff;
}
html[dir="rtl"] .cSidebarManager_block {
	margin: 0 10px 10px 0;
}

.cSidebarManager_placeholder {
	background: rgb( var(--theme-area_background_dark) );
	height: 75px;
	margin-top: 20px;
}

	#elSidebarManager .cSidebarManager_placeholder {
		background: transparent;
		margin-top: 0;
	}

.cAnnouncement {
	margin-bottom: 10px;
}

/* Registration validation */
.memberBlockedEmailWrap {
	color: var(--negative-dark);
}

#username + [data-role="validationCheck"], 
#email_address + [data-role="validationCheck"] {
	position: relative;
	top: 3px;
	font-size: 18px;
}
html[dir="ltr"] #username + [data-role="validationCheck"], 
html[dir="ltr"] #email_address + [data-role="validationCheck"] {
	margin-left: -28px;
}
html[dir="rtl"] #username + [data-role="validationCheck"], 
html[dir="rtl"] #email_address + [data-role="validationCheck"] {
	margin-right: -28px;
}
.ipsHovercard[data-role="advicePopup"] {
	width: 300px;
}
	.ipsHovercard[data-role="advicePopup"] > div {
		min-height: 60px;
	}
		.ipsHovercard[data-role="advicePopup"] > div .ipsType_sectionHead {
			font-size: {fontsize="base"};
		}

.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem {
	right: 100%;
	top: 15px;
}
	.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem:before {
		right: 1px;
		border-right-color: inherit;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem:after{
		border-right-color: currentColor;
	}
	
.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem {
	left: 100%;
	top: 15px;
}
	.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem:before {
		left: 1px;
		border-left-color: inherit;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem:after{
		border-left-color: currentColor;
	}
	
.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem{
	left: 50%;
	margin-left: -1em;
	top: 100%;
}
	.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem:before {
		border-top-color: inherit;
		top: 1px;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem:after{
		border-top-color: currentColor;
	}

/* Warning indicators */
.ipsWarningIndicator::after {
	background: var(--negative-dark);
	color: rgb(var(--theme-area_background_reset));
	font-weight: bolder;
	display: inline-block;
	height: 13px;
	width: 13px;
	line-height: 13px;
	padding: 4px;
	border-radius: 50%;
	text-align: center;
	content: "\f071";
	font: normal normal normal 13px/1 FontAwesome;
	position: absolute;
	right: -10.5px;
	top: calc(50% - 10.5px);
}


.ipsWarningIndicator__small::after {
	padding: 3px;
	right: -9px;
	top: calc(50% - 9px);
	height: 10px;
	width: 10px;
	line-height: 10px;
	font-size: 10px;
}

.ipsWarningIndicator__topLeft,
.ipsWarningIndicator__topRight,
.ipsWarningIndicator__bottomLeft,
.ipsWarningIndicator__bottomRight {
	position: relative;
}

.ipsWarningIndicator__topRight::after {
	bottom: auto;
	left: auto;
	right: -7px;
	top: -7px;
}

.ipsWarningIndicator__topLeft::after {
	bottom: auto;
	right: auto;
	left: -7px;
	top: -7px;
}

.ipsWarningIndicator__bottomRight::after {
	top: auto;
	left: auto;
	right: -7px;
	bottom: -7px;
}

.ipsWarningIndicator__bottomLeft::after {
	top: auto;
	right: auto;
	left: -7px;
	bottom: -7px;
}

#elAccountSettingsLink a.ipsWarningIndicator,
#elAccountSettingsLinkMobile a.ipsWarningIndicator,
.ipsDrawer_title span.ipsWarningIndicator {
	position: relative;
}

#elAccountSettingsLink a.ipsWarningIndicator::after {
	right: 10px;
}

.ipsDrawer_title span.ipsWarningIndicator::after {
	right: -25px;
}


#elAccountSettingsLinkMobile a.ipsWarningIndicator::after,
#setting_email.ipsWarningIndicator::after {
	right: 10px;
}


/* Upload Fix */
[data-role="registerForm"] .ipsAttach .ipsDataItem_size2 {
	display: none;
}


/* Sign in popup */
#elUserSignIn_menu {
	max-width: 560px;
}

/* Poll editor */
.cPoll [data-action='addQuestion'] {
	margin-top: 15px;
}

.cPoll [data-role='question'] {
	margin-bottom: 7px;
}

	.cPoll [data-role='question']:last-child {
		margin-bottom: 0;
	}

html[dir="ltr"] .cPollChoices [data-role="choiceRow"] {
	padding-left: 35px;
}
html[dir="rtl"] .cPollChoices [data-role="choiceRow"] {
	padding-right: 35px;
}

.cPollChoices > li {
	border-bottom: 0;
}

	.cPollChoices > li > div {
		padding-top: 5px;
	}

/* Poll view */
.cPollList .ipsType_sectionHead {
	margin-bottom: 10px;
}

.cPollList > li:not( :last-child ) {
	border-bottom: 1px solid rgba( var(--theme-text_color), 0.2 );
	padding-bottom: var(--sp-5);
	margin-bottom: var(--sp-5);
}

.cPollList_choices > li {
	border: 0;
}

.cPollVoteBar {
	display: block;
	border-radius: 2px;
	background: rgba( var(--theme-area_background), 0.6 );
	box-shadow: inset rgba( var(--theme-area_background), 1 ) 0px 0px 0px 1px;
	height: 20px;
}
	
	.cPollVoteBar > span {
		background: rgb( var(--theme-brand_primary) );
		position: relative;
		display: block;
		height: 20px;
		border-radius: 2px;
	}

	.cPollVoteBar > span:after {
		content: attr( data-votes );
		line-height: 18px;
		color: rgb( var(--theme-brand_primary) );
		font-size: 10px;
		font-weight: bold;
		position: absolute;
		width: 60px;
	}
	html[dir="ltr"] .cPollVoteBar > span:after {
		right: -65px;
	}
	html[dir="rtl"] .cPollVoteBar > span:after {
		left: -65px;
	}

		.cPollVoteBar > span.cPollVoteBar_inside:after {
			color: #fff;
		}
		html[dir="ltr"] .cPollVoteBar > span.cPollVoteBar_inside:after {
			right: 5px;
			text-align: right;
		}
		html[dir="rtl"] .cPollVoteBar > span.cPollVoteBar_inside:after {
			left: 5px;
			text-align: left;
		}

.cPollCloseDate {
	margin-top: 10px;
}

.cPollButtons.ipsToolList.ipsToolList_horizontal > li.ipsPos_right {
	min-width: 0; 
}

/* Online users */
.cOnlineUser {
	height: 60px;
}

#elCopyright a {
	font-size: {fontsize="x_small"};
}

#elSiteOffline {
	text-align: center;
	background: rgba(0,0,0,0.8);
	padding: 7px;
	color: #fff;
	font-size: {fontsize="x_small"};
	z-index: 50000;
	transition: 0.3s all linear;
}

	#elSiteOffline h2 {
		margin-bottom: 5px;
		font-size: {fontsize="base"};
	}

/* Share Links */
.cShareLink {
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border-radius: 16px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	color: white !important;
	font-size: 15px;
}
.cShareLink:hover {
	color: white;
}
a.cShareLink{
	display: inline-flex;
}

	#elMobileDrawer .cUserNav_icon .cShareLink{
		padding: 0;
	}

	.cShareLink_internal { background: #008b00; }
	.cShareLink_deviantart { background: #00e59b; }
	.cShareLink_email { background: #444; }
	.cShareLink_facebook { background: #1778F2; }
	.cShareLink_linkedin { background: #0a66c2; }
	.cShareLink_reddit { background: #FF4500; }
	.cShareLink_vk { background: #507299; }
	.cShareLink_weibo { background: #D32F2F; }
	.cShareLink_youtube { background: #ff0000; }
	.cShareLink_foursquare { background: #2D5BE3; }
	.cShareLink_etsy { background: #F56400; }
	.cShareLink_flickr { background: #ff0084; }
	.cShareLink_github { background: #24292f; }
	.cShareLink_instagram { background: #E13D62; }
	.cShareLink_pinterest { background: #BD081C; }
	.cShareLink_slack { background: #42C299; }
	.cShareLink_xing { background: #B0D400; }
	.cShareLink_tumblr { background: #36465D; }
	.cShareLink_twitch { background: #772ce8; }
	.cShareLink_discord { background: #5865f2; }
	.cShareLink_x { background: #000000; }
	.fa-x, .fa-discord{
		width: 1em;
		height: 1em;
		background-size: contain;
		background-position: 50%;
		background-repeat: no-repeat;
	}
	.fa-discord{
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 198.17'%3E%3Cpath d='M216.86 16.6C200.29 8.85 182.57 3.21 164.05 0c-2.28 4.11-4.93 9.65-6.77 14.05-19.69-2.96-39.2-2.96-58.53 0C96.92 9.65 94.2 4.12 91.9 0 73.36 3.21 55.62 8.86 39.04 16.64 5.62 67.15-3.44 116.4 1.09 164.96c22.17 16.56 43.65 26.61 64.78 33.19 5.22-7.18 9.87-14.81 13.87-22.85-7.63-2.9-14.94-6.48-21.85-10.63 1.83-1.36 3.62-2.78 5.36-4.24 42.12 19.7 87.89 19.7 129.51 0 1.75 1.46 3.54 2.88 5.36 4.24-6.93 4.17-14.26 7.75-21.89 10.65 4.01 8.02 8.64 15.67 13.87 22.85 21.14-6.58 42.65-16.64 64.82-33.21 5.32-56.29-9.08-105.09-38.06-148.36ZM85.47 135.09c-12.64 0-23.01-11.8-23.01-26.18s10.15-26.2 23.01-26.2 23.24 11.8 23.01 26.2c.02 14.38-10.15 26.18-23.01 26.18Zm85.05 0c-12.64 0-23.01-11.8-23.01-26.18s10.15-26.2 23.01-26.2 23.24 11.8 23.01 26.2c0 14.38-10.15 26.18-23.01 26.18Z' fill='%23fff'/%3E%3C/svg%3E");
	}
	.fa-x{
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='1227' fill='none'%3E%3Cpath fill='%23fff' d='M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z'/%3E%3C/svg%3E");
		width: .75em;
	}

#elIgnoreUsers > li {
	margin-bottom: 0;
}

.cAutoCheckIcon {
	font-size: 14px;
	position: relative;
	top: 1px;
}

/* Member stats widget */
.ipsWidget_vertical .cNewestMember {
	width: 85px;
}

	.ipsWidget_horizontal .cNewestMember .ipsType_normal {
		line-height: 1;
	}

/* Status update widget */
.ipsWidget .cStatusUpdateWidget .ipsComposeArea_dummy {
	padding: 7px 10px;
	font-size: {fontsize="small"};
}
	
	.ipsWidget .cStatusUpdateWidget .ipsComposeArea_dummy .fa {
		margin-right: 5px;
	}

	.ipsWidget .cStatusUpdateWidget [data-role="attachmentArea"] {
		display: none !important;
	}

.cTagPopup .ipsTags {
	margin-top: 10px;
}

/* New post flash message */
#elFlashMessage.cPostFlash {
	height: calc( ( var(--sp-3) * 2 ) + 36px );
	line-height: 32px;
	text-align: left;
}

.cNotificationFlash .ipsType_veryLarge {
	font-size: {fontsize="2x_large"};
	line-height: 1;
	color: inherit;
}

html[dir="ltr"] .cNotificationFlash .ipsType_veryLarge {
	margin-left: var(--sp-4);
}
html[dir="rtl"] .cNotificationFlash .ipsType_veryLarge {
	margin-right: var(--sp-4);
}

/* Status submit form */
html[dir] .ipsApp #elStatusSubmit .ipsToolList .ipsComposeArea_formControl {
	margin-top: 10px;
}

/* Guest Terms Bar */
body.cWithGuestTerms {
	padding-bottom: 80px;
}

#elGuestTerms {
	background: rgb( var(--theme-area_background_dark) );
	color: #c0c0c0;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 15px 0;
	z-index: 4000;
}

	#elGuestTerms a:not( .ipsButton ) {
		color: #dadada;
		border-bottom: 1px dotted currentColor;
	}

	#elGuestTerms .ipsType_sectionHead {
		color: #fff;
		font-size: {fontsize="large"};
	}

/* Guest Sign In */
.cGuestTeaser .ipsButton.ipsButton_primary {
	width: 100%;
	max-width: 350px;
}

.cGuestTeaser_social {
	width: 250px;
	margin-bottom: 5px;
}

/* Ensure Google captcha logo appears on top of other elements */
.grecaptcha-badge{
	z-index: 10;
}

/* Reactions */
.cReactionTabs .ipsTabs_item {
	padding: 0 15px;
}

	.cReactionTabs .ipsTabs_item img {
		position: relative;
		top: -1px;
		left: -3px;
	}


/* Color chooser for Content Item Messages */
html[dir] .ipsList_inline.cColorChoices li {
	margin: 0;
	position: relative;
}

.cColorChoice_chooser {
	width: 42px;
	height: 36px;
	padding: 0;
	display: block;
	position: relative;
	border: 2px solid transparent;
	transition: 0.05s all ease-in-out;
}

	.cColorChoice_chooser:before {
		display: none;
		border: 0;
	}

html[dir] .ipsList_inline.cColorChoices li input[type="radio"] {
	border-radius: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 100;
	opacity: 0.00001;
	cursor: pointer;
}
	html[dir] .ipsList_inline.cColorChoices li input[type="radio"]:checked + span {
		border-color: #000;
		z-index: 200;
		transform: scaleY(1.2);
	}

	/* Remove styling from ipsMessage so it fits within the radio dimensions */
	.cColorChoice_chooser.ipsMessage{
		padding: 0 !important;
		margin: 0;
	}

html[dir] .ipsList_inline.cColorChoices li span.ipsMessage.ipsMessage_none {
	background-color: rgb(248,248,248);
	border-color: rgba(0,0,0,0.05);
}

.cContentMessage{
	border-radius: var(--radius-1);
}

.cContentMessage_color {
	color: #fff;
}

	.cContentMessage_color::before{
		display: none !important;
	}

	.cContentMessage__header{
		background-color: rgba(0,0,0,0.15);
		border-top-left-radius: inherit;
		border-top-right-radius: inherit;
		padding: var(--sp-4) var(--sp-5);
		margin: 0;
		font-size: inherit;
	}

		.ipsBox > .cContentMessage__header{
			background-color: rgb( var(--theme-area_background_light) );
		}

		.cContentMessage__header a{
			color: inherit;
		}

			.cContentMessage__header a:hover{
				text-decoration: underline;
			}

			.cContentMessage__header--text {
				flex-basis: 310px;
			}

	.cContentMessage_color a,
	.cContentMessage_color .ipsType_richText{
		color: inherit;
	}

	.cContentMessage_color a:not([class]):hover{
		text-decoration: underline;
	}

	.cContentMessage_color .ipsType_light {
		color: inherit;
		opacity: 0.7;
	}

	.cContentMessage__badge{
		display: inline-block;
		padding: .25em .8em;
		border-radius: 100px;
		background: #fff;
		color: #222;
		font-weight: bold;
	}

		.cContentMessage__badge .fa{
			opacity: .4;
		}

			html[dir='ltr'] .cContentMessage__badge .fa{
				margin-right: .2em;
			}
			html[dir='rtl'] .cContentMessage__badge .fa{
				margin-left: .2em;
			}

	.cContentMessage_color .ipsButton{
		background: rgba(255,255,255,.1);
	}

	/* Use dark backgrounds for mentions inside staff notes */
	.cContentMessage.ipsMessage_information a[data-mentionid],
	.cContentMessage.ipsMessage_general a[data-mentionid],
	.cContentMessage.ipsMessage_warning a[data-mentionid],
	.cContentMessage.ipsMessage_error a[data-mentionid],
	.cContentMessage.ipsMessage_success a[data-mentionid]{
		background: rgba(0,0,0,0.4);
	}

/* Club embeds */
.cClubEmbedHeader {
	position: relative;
	height: 180px;
}

	.cClubEmbedHeader.cClubEmbedHeaderNoPhoto,
	.cClubEmbedHeader.cClubEmbedHeaderNoPhoto span {
		height: 120px;
	}

.cClubEmbedHeader .ipsUserPhoto {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 2px solid #fff;
}

.cClubEmbed .cClubCard_memberList {
	white-space: nowrap;
	overflow: hidden;
}

/* Notifications Menu Browser Prompt */
.cNotifcationPrompt {
	position: relative;
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
}

	.cNotifcationPrompt_title {
		color: inherit;
	}

	.cNotifcationPrompt_text {
		opacity: 0.7;
	}

	.cNotifcationPrompt_icon {
		display: block;
		background-image: url({resource="notification.svg" location="front" app="core"});
		background-repeat: no-repeat;
		background-size: cover;
		width: 40px;
		height: 40px;
	}

.cNotifcationPrompt_dismiss {
	display: inline-block;
	background: rgba(0,0,0,0.6);
	width: 16px;
	height: 16px;
	border-radius: 16px;
	line-height: 16px;
	text-align: center;
	color: #fff;
	border-bottom: 0;
	font-size: 12px;
	position: absolute;
	top: 9px;
}
html[dir="ltr"] .cNotifcationPrompt_dismiss {
	right: 9px;
}
html[dir="rtl"] .cNotifcationPrompt_dismiss {
	left: 9px;
}

/* Announcements */
.ipsAnnouncement {
	font-weight: bold;
}

	.ipsAnnouncement > a:not([data-role="dismissAnnouncement"]):after {
		content: '\f105';
		font-family: 'FontAwesome';
		font-size: 20px;
		line-height: 1;
	}

	.ipsAnnouncement:not( .cAnnouncementPageTop ) > a:after {
		position: absolute;
		top: 50%;
		margin-top: -0.55em;
	}
	
	html[dir="ltr"] .ipsAnnouncement:not( .cAnnouncementPageTop ) > a:after {
		right: var(--sp-3);
	}
	html[dir="rtl"] .ipsAnnouncement:not( .cAnnouncementPageTop ) > a:after {
		left: var(--sp-3);
		transform: rotate(180deg);
	}

	.ipsAnnouncement.cAnnouncementPageTop a:not([data-role="dismissAnnouncement"]):after {
		position: relative;
		left: 13px;
		top: 2px;
	}

.ipsApp .ipsAnnouncement::before {
	display: none;
}

	.ipsAnnouncement a {
		color: inherit;
	}

		.ipsAnnouncement a:not([data-role="dismissAnnouncement"]):hover {
			background: rgba(255,255,255,0.08);
		}

	/* Default sp-3 padding on announcement box */
	.ipsAnnouncement > *{
		display: block;
		padding: var(--sp-3);
	}

		/* For centered links, add extra horizontal spacing to allow for the arrow (apply to both sides so centered text stays centered) */
		/* For non-centered links, just apply extra space to the arrow side */
		.ipsAnnouncement.ipsType_center > a,
		html[dir="ltr"] .ipsAnnouncement:not( .ipsType_center ) > a {
			padding-right: var(--sp-8);
		}
		.ipsAnnouncement.ipsType_center > a,
		html[dir="rtl"] .ipsAnnouncement:not( .ipsType_center ) > a {
			padding-left: var(--sp-8);
		}

/* Fixed announcements */
.cAnnouncementPageTop.ipsAnnouncement {
	margin-bottom: 0;
	border-radius: 0;
	text-align: center;
	font-size: {fontsize="medium"};
}
	.cAnnouncementPageTop.ipsAnnouncement > *{
		padding: var(--sp-4);
	}
	[dir='ltr'] .cAnnouncementPageTop > *{
		padding-right: 55px;
	}
	[dir='rtl'] .cAnnouncementPageTop > *{
		padding-left: 55px;
	}

.cAnnouncementsFloat {
	position: sticky;
	top: 0px;
}

	[data-pagemodule="livetopics"] .cAnnouncementsFloat{
		position: static;
	}

a[data-role="dismissAnnouncement"] {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: rgba(0,0,0,0.3);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #fff;
	padding: 0 !important;
	font-size: 18px;
	position: absolute;
	top: 50%;
	margin-top: -15px;
	text-decoration: none;
}

	a[data-role="dismissAnnouncement"]:hover{
		background: rgba(0,0,0,0.6);
	}

html[dir="ltr"] a[data-role="dismissAnnouncement"] {
	right: 15px;
}
html[dir="rtl"] a[data-role="dismissAnnouncement"] {
	left: 15px;
}

#cAnnouncementSidebar {
	margin-top: 30px;
	position: relative;
	min-width: 295px;
	max-width: 100%;
}

	#cAnnouncementSidebar h3 {
		margin-top: -20px;
	}

	#cAnnouncementSidebar ul{
		padding-bottom: 1px;
	}

		#cAnnouncementSidebar ul > li {
			margin: var(--sp-2) var(--sp-3) 0 var(--sp-3);
		}

			#cAnnouncementSidebar ul > li:last-child {
				margin-bottom: var(--sp-3);
			}
	
.cAnnouncementIcon {
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgb( var(--theme-item_status) );
	color: #fff;
	border-radius: 50%;
	padding: 10px;
	height: 70px;
	width: 70px;
	top: -30px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}

	.cAnnouncementIcon .fa{
		transform: rotate(-20deg);
	}

#elAnnouncementGroupWarning {
	margin-top: 10px;
}

/* EMOJI */
ul.cEmojiMenu.ipsMenu {
	display: flex;
	flex-wrap: wrap;
	padding: 7px;
	max-height: 191px; /* rather precise value allows half a row to be seen, to indicate it's scrollable */
	overflow: auto;
	max-width: 100% !important;
	margin: 10px 15px 0 15px;
}

	ul.cEmojiMenu.ipsMenu > li {
		min-width: 150px;
		width: 25%;
		margin-bottom: 4px;
	}

		ul.cEmojiMenu.ipsMenu > li > a,
		ul.cEmojiMenu.ipsMenu > li > a:first-child,
		ul.cEmojiMenu.ipsMenu > li > a:last-child {
			padding: 3px 10px;
			border-radius: 20px;
			display: flex;
			align-items: center;
		}

			ul.cEmojiMenu.ipsMenu > li > a > span[data-role="shortCode"] {
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				display: block;
				min-width: 0;
			}

		ul.cEmojiMenu.ipsMenu > li .ipsEmoji {
			font-size: 16px;
		}

.cGroupIndicator {
	max-width: 45px;
	max-height: 45px;
}

.cAchievementsWidget__badge img{
	border-radius: inherit;
	max-width: unset;
	object-fit: contain;
}

	.cAchievementsWidget__photo{
		position: absolute;
		bottom: -20%;
		right: -12%;
	}

.cContentMessageEditor.cContentMessageEditor--private [data-ipseditor]{
	border-color: var(--negative-dark);
	box-shadow: var(--negative-light) 0px 0px 0px 8px;
}

.cContentMessageEditor.cContentMessageEditor--public [data-ipseditor]{
	border-color: var(--positive-dark);
	box-shadow: var(--positive-light) 0px 0px 0px 8px;
}

.ipsLiveActivity {
	background: #fae7c5;
	color: #482e12;
	opacity: 1;
	border-radius: 3px;
}

	.ipsLiveActivity--small {
		padding: 0 var(--sp-2);
	}

	.ipsLiveActivity--medium {
		padding: var(--sp-1) var(--sp-2);
	}

	.ipsLiveActivity--withPulse {
		animation: ellipsis 1.5s infinite;
	}

	.ipsLiveActivity em {
		font-style: normal;
		font-weight: 500;
	}

	.ipsLiveActivity__photos{
		flex: 0 0 auto;
	}

	html[dir="ltr"] .ipsLiveActivity__photos {
		margin-right: var(--sp-2);
	}
	html[dir="rtl"] .ipsLiveActivity__photos {
		margin-left: var(--sp-2);
	}
	  
@keyframes ellipsis {
	0% {
		opacity: 0.7;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0.7;    
	}
}

/* Guest terms */
.cGuestTerms{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2em;
}

	.cGuestTerms > :first-child{
		flex: 999 1 50%;
	}

/* Hive */
.chFollow.ipsButton {
	background: #2a9c66; 
	color:#fff; 
}

.chFollow.ipsButton span {
	/* position: relative; */
	display: flex;
    align-items: center;
    justify-content: center;
	gap: 12px;
}

.chFollow .chLogo {
    display: inline-block;
	width: 2rem; 
    height: 1.3rem; 
    background-size: contain;
    background-repeat: no-repeat;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="150" zoomAndPan="magnify" viewBox="0 0 112.5 84.749997" height="113" preserveAspectRatio="xMidYMid meet" version="1.0"><defs><clipPath id="3e012bcb46"><path d="M 0 0.0625 L 72 0.0625 L 72 84.0625 L 0 84.0625 Z M 0 0.0625 " clip-rule="nonzero"/></clipPath><clipPath id="50681041a8"><path d="M 87 0.0625 L 104 0.0625 L 104 84 L 87 84 Z M 87 0.0625 " clip-rule="nonzero"/></clipPath></defs><g clip-path="url(%233e012bcb46)"><path fill="%23ffffff" d="M 0.535156 42.359375 C 0.40625 19.128906 19.175781 0.226562 42.40625 0.226562 L 71.542969 0.226562 L 71.542969 34.089844 L 55.660156 34.089844 L 55.660156 4.820312 L 47.65625 4.820312 C 47.523438 4.820312 47.394531 4.820312 47.261719 4.820312 C 46.34375 4.820312 45.425781 5.085938 44.636719 5.347656 L 44.769531 5.347656 C 41.878906 6.527344 39.910156 9.414062 39.910156 12.695312 L 39.910156 71.628906 C 39.910156 75.960938 43.457031 79.503906 47.785156 79.503906 L 55.792969 79.503906 L 55.792969 50.234375 L 71.675781 50.234375 L 71.675781 84.097656 L 42.929688 84.097656 C 19.832031 83.964844 0.667969 65.589844 0.535156 42.359375 Z M 0.535156 42.359375 " fill-opacity="1" fill-rule="nonzero"/></g><path fill="%23ffffff" d="M 44.636719 5.347656 C 45.425781 4.953125 46.34375 4.820312 47.261719 4.820312 C 46.472656 4.820312 45.554688 5.085938 44.636719 5.347656 Z M 44.636719 5.347656 " fill-opacity="1" fill-rule="nonzero"/><g clip-path="url(%2350681041a8)"><path fill="%23ffffff" d="M 87.554688 83.964844 L 87.554688 0.0976562 L 95.5625 0.0976562 C 99.894531 0.0976562 103.4375 3.640625 103.4375 7.972656 L 103.4375 76.089844 C 103.4375 80.421875 99.894531 83.964844 95.5625 83.964844 Z M 87.554688 83.964844 " fill-opacity="1" fill-rule="nonzero"/></g></svg>');

}

form[data-controller="core.front.core.followForm"] div.ipsToolList:has(.chFollow) {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

form[data-controller="core.front.core.followForm"] div.ipsToolList:has(.chFollow)::after {
    content: none;
}
]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="." css_name="flags.css">/* Normal */

.ipsFlag {
	width: 16px;
	height: 16px;
	background: url(&quot;{resource=&quot;flags16.png&quot; app=&quot;core&quot; location=&quot;global&quot;}&quot;) no-repeat;
	display: inline-block;
	vertical-align:text-top;
	line-height:16px;
}

.ipsFlag.ipsFlag-ad{background-position:0 -352px;}
.ipsFlag.ipsFlag-ae{background-position:0 -368px;}
.ipsFlag.ipsFlag-af{background-position:0 -384px;}
.ipsFlag.ipsFlag-ag{background-position:0 -400px;}
.ipsFlag.ipsFlag-ai{background-position:0 -416px;}
.ipsFlag.ipsFlag-al{background-position:0 -432px;}
.ipsFlag.ipsFlag-am{background-position:0 -448px;}
.ipsFlag.ipsFlag-ao{background-position:0 -464px;}
.ipsFlag.ipsFlag-aq{background-position:0 -480px;}
.ipsFlag.ipsFlag-ar{background-position:0 -496px;}
.ipsFlag.ipsFlag-as{background-position:0 -512px;}
.ipsFlag.ipsFlag-at{background-position:0 -528px;}
.ipsFlag.ipsFlag-au{background-position:0 -544px;}
.ipsFlag.ipsFlag-aw{background-position:0 -560px;}
.ipsFlag.ipsFlag-ax{background-position:0 -576px;}
.ipsFlag.ipsFlag-az{background-position:0 -592px;}
.ipsFlag.ipsFlag-ba{background-position:0 -608px;}
.ipsFlag.ipsFlag-bb{background-position:0 -624px;}
.ipsFlag.ipsFlag-bd{background-position:0 -640px;}
.ipsFlag.ipsFlag-be{background-position:0 -656px;}
.ipsFlag.ipsFlag-bf{background-position:0 -672px;}
.ipsFlag.ipsFlag-bg{background-position:0 -688px;}
.ipsFlag.ipsFlag-bh{background-position:0 -704px;}
.ipsFlag.ipsFlag-bi{background-position:0 -720px;}
.ipsFlag.ipsFlag-bj{background-position:0 -736px;}
.ipsFlag.ipsFlag-bm{background-position:0 -752px;}
.ipsFlag.ipsFlag-bn{background-position:0 -768px;}
.ipsFlag.ipsFlag-bo{background-position:0 -784px;}
.ipsFlag.ipsFlag-br{background-position:0 -800px;}
.ipsFlag.ipsFlag-bs{background-position:0 -816px;}
.ipsFlag.ipsFlag-bt{background-position:0 -832px;}
.ipsFlag.ipsFlag-bw{background-position:0 -848px;}
.ipsFlag.ipsFlag-by{background-position:0 -864px;}
.ipsFlag.ipsFlag-bz{background-position:0 -880px;}
.ipsFlag.ipsFlag-ca{background-position:0 -896px;}
.ipsFlag.ipsFlag-cg{background-position:0 -912px;}
.ipsFlag.ipsFlag-cf{background-position:0 -928px;}
.ipsFlag.ipsFlag-cd{background-position:0 -944px;}
.ipsFlag.ipsFlag-ch{background-position:0 -960px;}
.ipsFlag.ipsFlag-ci{background-position:0 -976px;}
.ipsFlag.ipsFlag-ck{background-position:0 -992px;}
.ipsFlag.ipsFlag-cl{background-position:0 -1008px;}
.ipsFlag.ipsFlag-cm{background-position:0 -1024px;}
.ipsFlag.ipsFlag-cn{background-position:0 -1040px;}
.ipsFlag.ipsFlag-co{background-position:0 -1056px;}
.ipsFlag.ipsFlag-cr{background-position:0 -1072px;}
.ipsFlag.ipsFlag-cu{background-position:0 -1088px;}
.ipsFlag.ipsFlag-cv{background-position:0 -1104px;}
.ipsFlag.ipsFlag-cy{background-position:0 -1120px;}
.ipsFlag.ipsFlag-cz{background-position:0 -1136px;}
.ipsFlag.ipsFlag-de{background-position:0 -1152px;}
.ipsFlag.ipsFlag-dj{background-position:0 -1168px;}
.ipsFlag.ipsFlag-dk{background-position:0 -1184px;}
.ipsFlag.ipsFlag-dm{background-position:0 -1200px;}
.ipsFlag.ipsFlag-do{background-position:0 -1216px;}
.ipsFlag.ipsFlag-dz{background-position:0 -1232px;}
.ipsFlag.ipsFlag-ec{background-position:0 -1248px;}
.ipsFlag.ipsFlag-ee{background-position:0 -1264px;}
.ipsFlag.ipsFlag-eg{background-position:0 -1280px;}
.ipsFlag.ipsFlag-eh{background-position:0 -1296px;}
.ipsFlag.ipsFlag-er{background-position:0 -1312px;}
.ipsFlag.ipsFlag-es{background-position:0 -1328px;}
.ipsFlag.ipsFlag-et{background-position:0 -1344px;}
.ipsFlag.ipsFlag-fi{background-position:0 -1360px;}
.ipsFlag.ipsFlag-fj{background-position:0 -1376px;}
.ipsFlag.ipsFlag-fm{background-position:0 -1392px;}
.ipsFlag.ipsFlag-fo{background-position:0 -1408px;}
.ipsFlag.ipsFlag-fr{background-position:0 -1424px;} 
.ipsFlag.ipsFlag-bl{background-position:0 -1424px;} 
.ipsFlag.ipsFlag-cp{background-position:0 -1424px;} 
.ipsFlag.ipsFlag-mf{background-position:0 -1424px;} 
.ipsFlag.ipsFlag-yt{background-position:0 -1424px;} 
.ipsFlag.ipsFlag-ga{background-position:0 -1440px;}
.ipsFlag.ipsFlag-gb{background-position:0 -1456px;}
.ipsFlag.ipsFlag-sh{background-position:0 -1456px;}
.ipsFlag.ipsFlag-gd{background-position:0 -1472px;}
.ipsFlag.ipsFlag-ge{background-position:0 -1488px;}
.ipsFlag.ipsFlag-gg{background-position:0 -1504px;}
.ipsFlag.ipsFlag-gh{background-position:0 -1520px;}
.ipsFlag.ipsFlag-gi{background-position:0 -1536px;}
.ipsFlag.ipsFlag-gl{background-position:0 -1552px;}
.ipsFlag.ipsFlag-gm{background-position:0 -1568px;}
.ipsFlag.ipsFlag-gn{background-position:0 -1584px;}
.ipsFlag.ipsFlag-gp{background-position:0 -1600px;}
.ipsFlag.ipsFlag-gq{background-position:0 -1616px;}
.ipsFlag.ipsFlag-gr{background-position:0 -1632px;}
.ipsFlag.ipsFlag-gt{background-position:0 -1648px;}
.ipsFlag.ipsFlag-gu{background-position:0 -1664px;}
.ipsFlag.ipsFlag-gw{background-position:0 -1680px;}
.ipsFlag.ipsFlag-gy{background-position:0 -1696px;}
.ipsFlag.ipsFlag-hk{background-position:0 -1712px;}
.ipsFlag.ipsFlag-hn{background-position:0 -1728px;}
.ipsFlag.ipsFlag-hr{background-position:0 -1744px;}
.ipsFlag.ipsFlag-ht{background-position:0 -1760px;}
.ipsFlag.ipsFlag-hu{background-position:0 -1776px;}
.ipsFlag.ipsFlag-id{background-position:0 -1792px;}
.ipsFlag.ipsFlag-mc{background-position:0 -1792px;}
.ipsFlag.ipsFlag-ie{background-position:0 -1808px;}
.ipsFlag.ipsFlag-il{background-position:0 -1824px;}
.ipsFlag.ipsFlag-im{background-position:0 -1840px;}
.ipsFlag.ipsFlag-in{background-position:0 -1856px;}
.ipsFlag.ipsFlag-iq{background-position:0 -1872px;}
.ipsFlag.ipsFlag-ir{background-position:0 -1888px;}
.ipsFlag.ipsFlag-is{background-position:0 -1904px;}
.ipsFlag.ipsFlag-it{background-position:0 -1920px;}
.ipsFlag.ipsFlag-je{background-position:0 -1936px;}
.ipsFlag.ipsFlag-jm{background-position:0 -1952px;}
.ipsFlag.ipsFlag-jo{background-position:0 -1968px;}
.ipsFlag.ipsFlag-jp{background-position:0 -1984px;}
.ipsFlag.ipsFlag-ke{background-position:0 -2000px;}
.ipsFlag.ipsFlag-kg{background-position:0 -2016px;}
.ipsFlag.ipsFlag-kh{background-position:0 -2032px;}
.ipsFlag.ipsFlag-ki{background-position:0 -2048px;}
.ipsFlag.ipsFlag-km{background-position:0 -2064px;}
.ipsFlag.ipsFlag-kn{background-position:0 -2080px;}
.ipsFlag.ipsFlag-kp{background-position:0 -2096px;}
.ipsFlag.ipsFlag-kr{background-position:0 -2112px;}
.ipsFlag.ipsFlag-kw{background-position:0 -2128px;}
.ipsFlag.ipsFlag-ky{background-position:0 -2144px;}
.ipsFlag.ipsFlag-kz{background-position:0 -2160px;}
.ipsFlag.ipsFlag-la{background-position:0 -2176px;}
.ipsFlag.ipsFlag-lb{background-position:0 -2192px;}
.ipsFlag.ipsFlag-lc{background-position:0 -2208px;}
.ipsFlag.ipsFlag-li{background-position:0 -2224px;}
.ipsFlag.ipsFlag-lk{background-position:0 -2240px;}
.ipsFlag.ipsFlag-lr{background-position:0 -2256px;}
.ipsFlag.ipsFlag-ls{background-position:0 -2272px;}
.ipsFlag.ipsFlag-lt{background-position:0 -2288px;}
.ipsFlag.ipsFlag-lu{background-position:0 -2304px;}
.ipsFlag.ipsFlag-lv{background-position:0 -2320px;}
.ipsFlag.ipsFlag-ly{background-position:0 -2336px;}
.ipsFlag.ipsFlag-ma{background-position:0 -2352px;}
.ipsFlag.ipsFlag-md{background-position:0 -2368px;}
.ipsFlag.ipsFlag-me{background-position:0 -2384px;}
.ipsFlag.ipsFlag-mg{background-position:0 -2400px;}
.ipsFlag.ipsFlag-mh{background-position:0 -2416px;}
.ipsFlag.ipsFlag-mk{background-position:0 -2432px;}
.ipsFlag.ipsFlag-ml{background-position:0 -2448px;}
.ipsFlag.ipsFlag-mm{background-position:0 -2464px;}
.ipsFlag.ipsFlag-mn{background-position:0 -2480px;}
.ipsFlag.ipsFlag-mo{background-position:0 -2496px;}
.ipsFlag.ipsFlag-mq{background-position:0 -2512px;}
.ipsFlag.ipsFlag-mr{background-position:0 -2528px;}
.ipsFlag.ipsFlag-ms{background-position:0 -2544px;}
.ipsFlag.ipsFlag-mt{background-position:0 -2560px;}
.ipsFlag.ipsFlag-mu{background-position:0 -2576px;}
.ipsFlag.ipsFlag-mv{background-position:0 -2592px;}
.ipsFlag.ipsFlag-mw{background-position:0 -2608px;}
.ipsFlag.ipsFlag-mx{background-position:0 -2624px;}
.ipsFlag.ipsFlag-my{background-position:0 -2640px;}
.ipsFlag.ipsFlag-mz{background-position:0 -2656px;}
.ipsFlag.ipsFlag-na{background-position:0 -2672px;}
.ipsFlag.ipsFlag-nc{background-position:0 -2688px;}
.ipsFlag.ipsFlag-ne{background-position:0 -2704px;}
.ipsFlag.ipsFlag-ng{background-position:0 -2720px;}
.ipsFlag.ipsFlag-ni{background-position:0 -2736px;}
.ipsFlag.ipsFlag-nl{background-position:0 -2752px;}
.ipsFlag.ipsFlag-bq{background-position:0 -2752px;}
.ipsFlag.ipsFlag-no{background-position:0 -2768px;}
.ipsFlag.ipsFlag-bv{background-position:0 -2768px;}
.ipsFlag.ipsFlag-nq{background-position:0 -2768px;}
.ipsFlag.ipsFlag-sj{background-position:0 -2768px;}
.ipsFlag.ipsFlag-np{background-position:0 -2784px;}
.ipsFlag.ipsFlag-nr{background-position:0 -2800px;}
.ipsFlag.ipsFlag-nz{background-position:0 -2816px;}
.ipsFlag.ipsFlag-om{background-position:0 -2832px;}
.ipsFlag.ipsFlag-pa{background-position:0 -2848px;}
.ipsFlag.ipsFlag-pe{background-position:0 -2864px;}
.ipsFlag.ipsFlag-pf{background-position:0 -2880px;}
.ipsFlag.ipsFlag-pg{background-position:0 -2896px;}
.ipsFlag.ipsFlag-ph{background-position:0 -2912px;}
.ipsFlag.ipsFlag-pk{background-position:0 -2928px;}
.ipsFlag.ipsFlag-pl{background-position:0 -2944px;}
.ipsFlag.ipsFlag-pr{background-position:0 -2960px;}
.ipsFlag.ipsFlag-ps{background-position:0 -2976px;}
.ipsFlag.ipsFlag-pt{background-position:0 -2992px;}
.ipsFlag.ipsFlag-pw{background-position:0 -3008px;}
.ipsFlag.ipsFlag-py{background-position:0 -3024px;}
.ipsFlag.ipsFlag-qa{background-position:0 -3040px;}
.ipsFlag.ipsFlag-re{background-position:0 -3056px;}
.ipsFlag.ipsFlag-ro{background-position:0 -3072px;}
.ipsFlag.ipsFlag-rs{background-position:0 -3088px;}
.ipsFlag.ipsFlag-ru{background-position:0 -3104px;}
.ipsFlag.ipsFlag-rw{background-position:0 -3120px;}
.ipsFlag.ipsFlag-sa{background-position:0 -3136px;}
.ipsFlag.ipsFlag-sb{background-position:0 -3152px;}
.ipsFlag.ipsFlag-sc{background-position:0 -3168px;}
.ipsFlag.ipsFlag-sd{background-position:0 -3184px;}
.ipsFlag.ipsFlag-se{background-position:0 -3200px;}
.ipsFlag.ipsFlag-sg{background-position:0 -3216px;}
.ipsFlag.ipsFlag-si{background-position:0 -3232px;}
.ipsFlag.ipsFlag-sk{background-position:0 -3248px;}
.ipsFlag.ipsFlag-sl{background-position:0 -3264px;}
.ipsFlag.ipsFlag-sm{background-position:0 -3280px;}
.ipsFlag.ipsFlag-sn{background-position:0 -3296px;}
.ipsFlag.ipsFlag-so{background-position:0 -3312px;}
.ipsFlag.ipsFlag-sr{background-position:0 -3328px;}
.ipsFlag.ipsFlag-st{background-position:0 -3344px;}
.ipsFlag.ipsFlag-sv{background-position:0 -3360px;}
.ipsFlag.ipsFlag-sy{background-position:0 -3376px;}
.ipsFlag.ipsFlag-sz{background-position:0 -3392px;}
.ipsFlag.ipsFlag-tc{background-position:0 -3408px;}
.ipsFlag.ipsFlag-td{background-position:0 -3424px;}
.ipsFlag.ipsFlag-tg{background-position:0 -3440px;}
.ipsFlag.ipsFlag-th{background-position:0 -3456px;}
.ipsFlag.ipsFlag-tj{background-position:0 -3472px;}
.ipsFlag.ipsFlag-tl{background-position:0 -3488px;}
.ipsFlag.ipsFlag-tm{background-position:0 -3504px;}
.ipsFlag.ipsFlag-tn{background-position:0 -3520px;}
.ipsFlag.ipsFlag-to{background-position:0 -3536px;}
.ipsFlag.ipsFlag-tr{background-position:0 -3552px;}
.ipsFlag.ipsFlag-tt{background-position:0 -3568px;}
.ipsFlag.ipsFlag-tv{background-position:0 -3584px;}
.ipsFlag.ipsFlag-tw{background-position:0 -3600px;}
.ipsFlag.ipsFlag-tz{background-position:0 -3616px;}
.ipsFlag.ipsFlag-ua{background-position:0 -3632px;}
.ipsFlag.ipsFlag-ug{background-position:0 -3648px;}
.ipsFlag.ipsFlag-us{background-position:0 -3664px;}
.ipsFlag.ipsFlag-uy{background-position:0 -3680px;}
.ipsFlag.ipsFlag-uz{background-position:0 -3696px;}
.ipsFlag.ipsFlag-va{background-position:0 -3712px;}
.ipsFlag.ipsFlag-vc{background-position:0 -3728px;}
.ipsFlag.ipsFlag-ve{background-position:0 -3744px;}
.ipsFlag.ipsFlag-vg{background-position:0 -3760px;}
.ipsFlag.ipsFlag-vi{background-position:0 -3776px;}
.ipsFlag.ipsFlag-vn{background-position:0 -3792px;}
.ipsFlag.ipsFlag-vu{background-position:0 -3808px;}
.ipsFlag.ipsFlag-ws{background-position:0 -3824px;}
.ipsFlag.ipsFlag-ye{background-position:0 -3840px;}
.ipsFlag.ipsFlag-za{background-position:0 -3856px;}
.ipsFlag.ipsFlag-zm{background-position:0 -3872px;}
.ipsFlag.ipsFlag-zw{background-position:0 -3888px;}
.ipsFlag.ipsFlag-sx{background-position:0 -3904px;}
.ipsFlag.ipsFlag-cw{background-position:0 -3920px;}
.ipsFlag.ipsFlag-ss{background-position:0 -3936px;}
.ipsFlag.ipsFlag-nu{background-position:0 -3952px;}

/* Retina */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
	.ipsFlag {
		background: url(&quot;{resource=&quot;flags32.png&quot; app=&quot;core&quot; location=&quot;global&quot;}&quot;) no-repeat;
		background-size: 16px 3968px; 
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="achievements" css_name="achievements.css"><![CDATA[:root {
	--condition-title-width: 90px;
	--condition-line-width: 3px;
	--condition-button-size: 20px;
}

.cRulesForm {
	max-width: 50rem;
}

	.cRulesForm__container:before {
		content: '';
		width: var(--condition-line-width);
		background: var(--c3);
		position: absolute;
		top: var(--sp-6);
		bottom: var(--sp-6);
		left: calc( ( var(--sp-5) * 2 ) + ( var( --condition-title-width ) / 2 ) + ( var(--condition-line-width ) / 2 ) );
		z-index: 0;
	}

		.cRulesForm__container > * {
			z-index: 10;
		}
	
	.cRulesForm__condition {
	
	}

		.cRulesForm__condition--subCondition {
			margin-left: var(--sp-6);
		}

		.cRulesForm__condition__title {
			background: rgb( var(--theme-brand_primary ) );
			width: 90px;
			padding-top: var(--sp-1);
			padding-bottom: var(--sp-1);
		}

		.cRulesForm__conditionButtons {
			padding-left: calc( ( var(--sp-5) * 2 ) + ( var( --condition-title-width ) - var(--sp-2 ) ) ) !important;
			padding-top: 0 !important; /* Override ipsGap */
			padding-bottom: 0 !important;
			color: rgb( var(--theme-brand_primary) );
			margin-top: calc( var(--sp-1 ) * -1 );
		}

			.cRulesForm_conditionWrap:not( .ipsHide ) + .cRulesForm__conditionButtons {
				padding-top: var(--sp-4) !important; /* Override ipsGap */
			}

@media screen and (max-width: 767px) {
	.cRulesForm__container:before {
		display: none;
	}

	.cRulesForm__conditionButtons {
		padding-left: var(--sp-3) !important;
	}

	.cRulesForm__condition--subCondition {
		margin-left: 0;
	}
}

		.cRulesForm__conditionButton {
			color: inherit;
			padding: var(--sp-1) var(--sp-2);
			-webkit-appearance: none !important;
		}

			.cRulesForm__conditionButton:hover {
				background: var(--c2);
				color: inherit;
			}

			.cRulesForm__conditionButton__icon {
				width: var(--condition-button-size);
				height: var(--condition-button-size);
				margin-right: var(--sp-1);
				border-radius: var(--condition-button-size);
				text-align: center;
				background: rgb( var(--theme-brand_primary) );
				color: rgb( var(--theme-text_very_light) );
				font-size: 10px;
				line-height: 1;
			}

		.cRulesForm__condition__close {
			position: absolute;
			right: -6px;
			top: -6px;
		}

		.cRulesForm__condition__toDesc {
			margin-bottom: var(--sp-1);
		}

			.cRulesForm__condition__toDesc:empty {
				display: none;
			}

/* Badges */
.ipsAchievementsBadge{
	display: inline-block;
	border-radius: 4px;
	border: 1px solid currentColor;
	color: var(--achievementsBadge--color, var(--c8));
	background: var(--achievementsBadge--background-color, var(--c2));
	padding: .1em .6em;
	margin: 0 .1em;
	font-size: 95%;
}

.ipsAchievementsBadge--milestone{
	--achievementsBadge--color: #10967E;
	--achievementsBadge--background-color: #E5FDF9;
}

.ipsAchievementsBadge--location{
	--achievementsBadge--color: #8168BD;
	--achievementsBadge--background-color: #F4F0FF;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="badges.css">.ipsBadge {
	padding: 0px 12px;
}

.ipsBadge, 
.ipsBadge.ipsBadge_normal {
	height: 23px;
	line-height: 23px;
	border-radius: 19px;
}

.ipsBadge_new:not(.ipsBadge_front), .ipsBadge_style1:not(.ipsBadge_front){
	--badge--background: var(--dark);
	--badge--color: #fff;
}

.ipsBadge_positive:not(.ipsBadge_front), .ipsBadge_style4:not(.ipsBadge_front) {
	--badge--background: #49bd5b;
	--badge--color: #fff;
}

.ipsBadge_neutral:not(.ipsBadge_front), .ipsBadge_style6:not(.ipsBadge_front){
	--badge--background: #5f7794;
	--badge--color: #fff;
}

.ipsItemStatus:not( .ipsItemStatus_large ) {
	color: #385e8a;
	color: var(--primary);
}

.ipsApp .ipsNotificationCount {
	background: #B63F3F;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="buttons.css"><![CDATA[.ipsToolList {
	margin-bottom: 15px;
}

.ipsApp .ipsButton {
	border-radius: 5px;
}

.ipsApp .ipsButton_primary {
	background: #0c849f;
}

.ipsApp .ipsButton_important {
	background: #d66723;
}

.ipsApp .ipsButton_normal {
	background: #727d8c;
}

.ipsApp .ipsButton_alternate {
	background: #215e98;
}

.ipsApp .ipsButton_light {
	background: #f3f6fa;
	background: var(--c3);
	color: var(--c7);
}

.ipsApp .ipsButton_veryLight{
	background: var(--c2);
	color: var(--c8);
}
.ipsApp .ipsButton_light,
.ipsApp .ipsButton_veryLight,
.acpToolbar .ipsButton_normal {
	background-clip: padding-box;
	border-color: rgba(24, 45, 70, 0.15);
}

	.ipsDarkMode{
		--theme-link_button: 255,255,255;
	}
	.ipsDarkMode.ipsApp .ipsButton_light,
	.ipsDarkMode.ipsApp .ipsButton_veryLight,
	.ipsDarkMode .acpToolbar .ipsButton_normal,
	.ipsDarkMode .acpToolbar .ipsButton_primary{
		border-color: rgba(255,255,255,0.07);
		background-clip: border-box;
	}

.ipsApp .ipsButton_verySmall{
	line-height: 32px;
}

html[dir="ltr"] .ipsButtonBar.ipsPos_left .ipsButtonRow,
html[dir="ltr"] .ipsButtonBar .ipsButtonRow:not( .ipsPos_right ) {
	margin-left: 0;
}
html[dir="rtl"] .ipsButtonBar.ipsPos_left .ipsButtonRow,
html[dir="rtl"] .ipsButtonBar .ipsButtonRow:not( .ipsPos_right ) {
	margin-right: 0;
}

	.ipsButtonRow::before{
		border: 1px solid var(--c9);
	}

.ipsButtonRow li > a, 
.ipsButtonRow li > button,
.ipsButtonRow li > span {
	background-color: var(--c0);
	color: var(--c4);
}

/* Reset some of the button row inside button bar styles */
.ipsButtonBar .ipsButtonRow li > a, 
.ipsButtonBar .ipsButtonRow li > button, 
.ipsButtonBar .ipsButtonRow li > span {
	background-color: transparent;
	color: var(--c9);
}

	.ipsButtonBar .ipsButtonRow li > a:hover,
	.ipsButtonBar .ipsButtonRow li > button:hover,
	.ipsButtonBar .ipsButtonRow li > span:hover{
		background-color: var(--c2);
	}

.ipsButtonRow li > a.ipsButtonRow_active, 
.ipsButtonRow li > button.ipsButtonRow_active {
	background-color: var(--c4) !important;
	color: inherit;
	font-weight: bold;
}

.ipsButtonBar {
	background: transparent;
	box-shadow: none;
	border: none;
}

.ipsButtonBar ~ .ipsButtonBar{
	border-width: 0;
}

.ipsButton_split{
	background: #fff;
	background: var(--c2);
	background-clip: padding-box;
	border: 1px solid rgba(24, 45, 70, 0.15);
	border-radius: 5px;
	box-shadow: rgba(44, 95, 140, 0.08) 0px 3px 4px -1px;
	padding: 2px;
}

	.ipsDarkMode .ipsButton_split{
		box-shadow: none;
		border-color: rgba(255,255,255,0.1);
		background-clip: border-box;
	}

	.ipsButton_split > *{
		border-width: 0px !important;
		box-shadow: none !important;
	}

	/* Remove clearfix since this is flexbox */
	.ipsButton_split::after{
		display: none;
	}

	.ipsButton_split .ipsButton_verySmall{
		line-height: 28px;
	}


/* BUTTONS */
.acpToolbar .ipsButton_verySmall {
	line-height: 30px;
}
.acpToolbar .ipsButton_normal {
	background: #fff;
	background: var(--c0);
	color: inherit;
}

.acpToolbar .ipsButton_primary {
	background: #49bd5b;
	color: #fff;
}

	.acpToolbar .ipsButton_primary:active {
		box-shadow: inset rgba(0,0,0,0.1) 0px 100px 0;
	}

html[dir="ltr"] .acpToolbar > ul > li:not(:last-child) {
	margin-right: 7px;
}
html[dir="rtl"] .acpToolbar > ul > li:not(:last-child) {
	margin-left: 7px;
}

/* Fix social login buttons */
.ipsApp .ipsSocial{
	padding: 0 !important;
	line-height: 40px;
}

	.ipsSocial_text{
		line-height: inherit;
	}

/* Fix alignment when New button is next to search form at the top of tables */
.ipsApp .acpWidgetToolbar + .acpTrees_buttons .ipsToolList{
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="charts.css"></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="compose.css">.ipsDarkMode .ipsUploader .ipsUploader__row {
    background: var(--c3);
}

.ipsDarkMode .ipsUploader .ipsUploader__rowInsert {
    background: var(--c3);
}

.ipsDarkMode .ipsUploader:hover a {
    color: #fff;
}

.ipsUploader .ipsUploader_rowTitle {
    color: var(--c9);
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="controlstrip.css">.ipsControlStrip {
	display: inline-flex;
	float: right;
	position: relative;
	z-index: 1;
}
html[dir=&quot;rtl&quot;] .ipsControlStrip {
	float: left;
}

html[dir=&quot;ltr&quot;] .ipsControlStrip li {
	margin-right: 4px;
}
html[dir=&quot;rtl&quot;] .ipsControlStrip li {
	margin-left: 4px;
}

.ipsControlStrip a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	font-size: 16px;
	width: 30px;
	height: 30px;
	border-radius: 5px;
	position: relative;
	z-index: 0;
}

	.ipsControlStrip a::before{
		content: '';
		position: absolute; top: 0; left: 0; right: 0; bottom: 0;
		background: currentColor;
		border-radius: inherit;
		z-index: -1;
		opacity: 0;
	}

		.ipsControlStrip .ipsControlStrip_disabled:before {
			background: transparent;
		}

	.ipsControlStrip a:not(.ipsControlStrip_disabled):hover {
		color: #fff;
	}

		.ipsControlStrip a:not(.ipsControlStrip_disabled):hover::before{
			opacity: 1 !important;
			background: #215e98;
			background: var(--primary);
		}

.ipsControlStrip .ipsControlStrip_item {
	display: none;
}

html[dir=&quot;ltr&quot;] .ipsControlStrip li:last-child {
	margin-right: 0;
}
html[dir=&quot;rtl&quot;] .ipsControlStrip li:last-child {
	margin-left: 0;
}

/* Relationships with other css modules */
/*
.ipsTable tr .ipsControlStrip a,
.ipsTree_row .ipsControlStrip a {
	opacity: 0.7;
}
*/

.ipsTable tr:hover .ipsControlStrip a::before,
.ipsTree_row:hover .ipsControlStrip a::before {
	opacity: .08;
}

.ipsTree_row.ipsTree_open .ipsControlStrip a:not( :hover ):not( :active ) {
	
}

/* Show text option */
.ipsControlStrip.ipsControlStrip_showText a {
	width: auto;
	padding: 0 7px;
}

.ipsControlStrip.ipsControlStrip_showText .ipsControlStrip_icon {
	vertical-align: middle;
}

.ipsControlStrip .ipsControlStrip_disabled .ipsControlStrip_icon  {
	opacity: 0.5;
}

.ipsControlStrip.ipsControlStrip_showText .ipsControlStrip_item {
	display: inline-block;
	font-size: 12px;
}

html[dir=&quot;ltr&quot;] .ipsControlStrip.ipsControlStrip_showText .ipsControlStrip_item {
	margin-left: 3px;
}
html[dir=&quot;rtl&quot;] .ipsControlStrip.ipsControlStrip_showText .ipsControlStrip_item {
	margin-right: 3px;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="forms.css"><![CDATA[/* ACP Form styles */

.ipsDarkMode{
	--input-success__background-color: #295a3a;
	--input-success__border-color: #527b60;
	--input-error__background-color: #5a2929;
	--input-error__border-color: #7b5252;
}

.ipsApp select,
.ipsApp select:not([multiple]),
.ipsCustomInput > span,
.ipsApp .ipsField_autocomplete, .ipsApp textarea, .ipsApp input[type="text"], .ipsApp input[type="password"], .ipsApp input[type="datetime"], .ipsApp input[type="datetime-local"], .ipsApp input[type="date"], .ipsApp input[type="month"], .ipsApp input[type="time"], .ipsApp input[type="week"], .ipsApp input[type="number"], .ipsApp input[type="email"], .ipsApp input[type="url"], .ipsApp input[type="search"], .ipsApp input[type="tel"], .ipsApp .ipsField_dummy, .ipsField__checkboxOverflow--active {
	border-radius: 4px;
	padding: 11px;
	color: inherit;
	box-shadow: rgba(44, 95, 140, 0.08) 0px 3px 4px -1px;
	box-shadow: var(--input--shadow) 0px 3px 4px -1px;
	background-color: var(--input--background);
	border-color: var(--input--border);
}

.ipsDarkMode .ipsMatrixHeader .ipsCustomInput > span{
	background: var(--c4);
}

.ipsCustomInput > span{
	padding: 0;
}

/* Select menus */
.ipsApp select{
	padding: 5px;
}
	.ipsApp select option{
		padding: 4px;
	}

/*.ipsApp select:not([multiple]){
	height: auto;
	background-image: url( "{resource="select_dropdown_rtl.png" app="core" location="global"}" ), linear-gradient(to bottom, rgba(242,242,242,0) 0%,rgba(242,242,242,0) 100%);
	padding-right: 30px;
}*/

.ipsDarkMode input::placeholder {
	color: inherit;
	opacity: 0.4;
}

html[dir="rtl"] .ipsApp select:not([multiple]){
	padding: 11px;
	padding-left: 30px;
}

/* Disabled */
.ipsApp textarea[disabled], .ipsApp input[type="text"][disabled], .ipsApp input[type="password"][disabled],
.ipsApp input[type="datetime"][disabled], .ipsApp input[type="datetime-local"][disabled],
.ipsApp input[type="date"][disabled], .ipsApp input[type="month"][disabled], .ipsApp input[type="time"][disabled],
.ipsApp input[type="week"][disabled], .ipsApp input[type="number"][disabled], .ipsApp input[type="email"][disabled],
.ipsApp input[type="url"][disabled], .ipsApp input[type="search"][disabled], .ipsApp input[type="tel"][disabled],
.ipsApp input[type="color"][disabled], .ipsApp .ipsField_autocompleteDisabled {
	background-color: var(--c2);
}

/* Select trees */
.ipsSelectTree{
	min-height: 40px;
	background: #fff;
	background: var(--input--background);
	border-color: rgba(24, 45, 70, 0.22);
	border-radius: 4px;
	padding: 10px 25px 10px 10px;
	color: inherit;
	box-shadow: rgba(44, 95, 140, 0.08) 0px 3px 4px -1px;
	box-shadow: var(--input--shadow) 0px 3px 4px -1px;
	border-color: var(--input--border);
}

	html[dir='rtl'] .ipsSelectTree{
		padding: 10px 10px 10px 25px;
	}

	.ipsSelectTree_placeholder{
		color: var(--c6);
	}

	.ipsSelectTree_expand{
		line-height: 40px;
		width: 32px;
		color: var(--c6);
	}

	.ipsSelectTree_nodes{
		background: inherit;
	}

	.ipsSelectTree.ipsSelectTree_active{
		border-color: #3480bb;
		border-color: var(--primary);
	}

	.ipsSelectTree_active.ipsSelectTree_bottom{
		border-radius: 4px 4px 0 0;
	}

	.ipsSelectTree_active.ipsSelectTree_top{
		border-radius: 0 0 4px 4px;	
	}

	.ipsSelectTree_nodes{
		border-color: inherit;
	}

		.ipsSelectTree_nodes.ipsSelectTree_bottom{
			border-radius: 0 0 4px 4px;
		}
		.ipsSelectTree_nodes.ipsSelectTree_top{
			border-radius: 4px 4px 0 0;
		}

	.ipsSelectTree_nodes [data-role="nodeList"]{
		border-color: #edf1f8;
		border-color: var(--c3);
		background: var(--c0);
		border-radius: 4px;
		padding: 4px;
	}

		.ipsSelectTree_nodes [data-role="nodeList"] li,
		html[dir="ltr"] .ipsSelectTree_nodes [data-role="nodeList"] li [data-role="childWrapper"],
		html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li [data-role="childWrapper"],
		.ipsSelectTree_nodes [data-role="nodeList"] li [data-role="childWrapper"]{
			border-width: 0;
		}

		.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item{
			border-radius: 4px;
		}

		.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item:not(.ipsSelectTree_itemDisabled):hover{
			background: #edf1f8;
			background: var(--c2);
		}

		.ipsSelectTree_itemDisabled > [data-role="nodeTitle"]{
			color: inherit;
		}

		.ipsSelectTree_itemDisabled{
			opacity: .5;
		}
			.ipsSelectTree_itemDisabled .ipsSelectTree_itemDisabled{
				opacity: 1;
			}

		.ipsSelectTree_selected,
		.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item:not( .ipsSelectTree_itemDisabled ).ipsSelectTree_selected:hover{
			background: #3b6c99;
			background: var(--primary);
		}


.ipsForm_group,
html[dir="ltr"] .ipsForm_group > .ipsForm_groupContent,
html[dir="rtl"] .ipsForm_group > .ipsForm_groupContent{
	border-color: var(--c1);
}


/* RESET FORM STYLES */
.ipsFieldRow.ipsPad_half {
	padding: 3px;
}
.ipsWidthHeight {
	background: white;
	border: black dashed 1px;
	margin-bottom: 10px;
}
/* jQuery UI doesn't support resizing RTL */
html[dir="rtl"] .ipsWidthHeight {
	display: none;
}

.ui-icon-gripsmall-diagonal-se {
	background: url( "{resource="resizable.png" app="core" location="global"}" );
}

.ui-resizable {
	position: relative;
}
.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	display: block;
}
.ui-resizable-se {
	cursor: nwse-resize;
	width: 12px;
	height: 12px;
	right: 0px;
	bottom: 0px;
}

html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title,
html[dir] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	padding: 10px;
}

html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title,
html[dir] .ipsForm_vertical .ipsFieldRow > .ipsFieldRow_label, 
html[dir] .ipsForm_vertical .ipsFieldRow > .ipsFieldRow_title {
	float: none;
	min-width: 340px;
	font-size: 14px;
	font-weight: 500;
}

	html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
	html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
		margin-bottom: 0;
	}

html[dir] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_yesNo ) > .ipsFieldRow_label,
html[dir] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_yesNo ) > .ipsFieldRow_title {
	padding-top: 19px;
}

html[dir="ltr"] .ipsApp .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-left: 0;
	width: 100%;
	padding-left: 13px;
}

html[dir="rtl"] .ipsApp .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-right: 0;
	width: 100%;
	padding-left: 13px;
}

/* FLEXBOX FORMS */
.ipsForm_horizontal .ipsFieldRow {
	display: flex;
}

	.ipsForm_horizontal .ipsFieldRow.ipsFieldRow_noFlex {
		display: block;
	}

.ipsFieldRow [data-ipsMatrix] {
	width: 100%;
}

/* GENERAL FORM STYLING */
.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label,
.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	width: 340px;
}

html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-left: 345px;
}
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-right: 345px;
}

.ipsFieldRow_section {
	background-color: #f5f7fb;
	background-color: var(--c2);
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: inherit;
}

.ipsForm > .ipsFieldRow:not( :last-child ) {
	border-bottom: 1px solid rgba(0,0,0,0.05);
	border-bottom-color: var(--c2);
	margin-bottom: 0;
}

html[dir="ltr"] .ipsFieldRow_required {
	margin-left: 0;
}

.ipsDarkMode .ipsFieldRow_required {
	color: #ff8080;
}

.ipsApp textarea.ipsField_short,
.ipsApp input[type="text"].ipsField_short,
.ipsApp input[type="password"].ipsField_short,
.ipsApp input[type="datetime"].ipsField_short,
.ipsApp input[type="datetime-local"].ipsField_short,
.ipsApp input[type="month"].ipsField_short,
.ipsApp input[type="time"].ipsField_short,
.ipsApp input[type="week"].ipsField_short,
.ipsApp input[type="number"].ipsField_short,
.ipsApp input[type="email"].ipsField_short,
.ipsApp input[type="url"].ipsField_short,
.ipsApp input[type="search"].ipsField_short,
.ipsApp input[type="tel"].ipsField_short,
.ipsApp input[type="color"].ipsField_short,
.ipsApp select.ipsField_short {
	width: 100px;
	max-width: 100px;
}

	.ipsApp input[type="date"].ipsField_short {
		width: 150px;
		max-width: 150px;
	}
	
	/* Image edit dialog number input is too small, so make it a little larger */
	.ipsApp .ipsDialog input[type="number"].ipsField_short {
		width: 150px;
		max-width: 150px;
	}


.ipsFieldRow_content .ipsType_warning {
	display: block;
}

.ipsFieldRow .cCopyNode {
	line-height: 20px;
}

/*
html[dir] .ipsFieldRow > .ipsFieldRow_label, 
html[dir] .ipsFieldRow > .ipsFieldRow_title {
	color: #000;
}
*/

.ipsFieldRow_desc {
	color: #587898;
	color: var(--text-soft);
	font-size: inherit;
	margin-top: .7em;
}

	.ipsFieldRow_desc a{
		text-decoration: underline;
	}

/* Highlighted search result */
.ipsDarkMode .ipsFieldRow_searchResult {
	background-color: #393d22;
	border: 1px solid #555e35;
	color: #f8e5d4;
}

	.ipsDarkMode .ipsFieldRow.ipsFieldRow_searchResult .ipsFieldRow_desc{
		color: #c3b899;
	}

		.ipsDarkMode .ipsFieldRow_searchResult .ipsFieldRow_desc a{
			color: inherit;
		}	

.ipsField_fieldList_content label ~ .ipsFieldRow_desc {
	margin-top: 0;
}

/* STACKS */
.ipsField_stackItem .ipsField_stackDelete {
	background: #323232;
	background: var(--c8);
	color: #fff;
	color: var(--c2);
	width: 19px;
	height: 19px;
	border-radius: 19px;
	line-height: 17px;
	top: 5px;
}

/* Toggles */
.ipsToggle.ipsToggle_on{
	background: #56bf5c;
}

.ipsToggle.ipsToggle_off {
    background: #dadee3;
    background: var(--c4);
    filter: none;
}

	.ipsApp .ipsToggle:focus,
	.ipsApp .ipsCustomInput input:focus + span{
		box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0px 5px 7px rgba(0, 0, 0, 0.2);
		border-color: rgba(0,0,0,0.5);
	}

/* Checkbox and radio */
	/* Active styles */
	.ipsCustomInput input:active:not( :checked ):not( :disabled ) + span,
	.ipsCustomInput input:active:checked:not( :disabled ) + span {
		background: var(--primary);
	}

	/* Checked styles */
	.ipsCustomInput input:checked + span {
		border-color: var(--primary);
		background-color: var(--primary);
	}

/* Drop zones */
.ipsAttachment_dropZone{
	background: rgba(57, 101, 139, 0.05);
	border-radius: 5px;
}


/* Draggable inputs */
.ipsField_stackDrag{
	cursor: move;
}

.ipsField_stackItem{
	margin-bottom: 10px;
}

.ipsField_stackItem .ipsField_stackDrag,
.ipsField_stackItem .ipsField_stackDelete:not(.ipsJS_hide){
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	border-width: 0;
	padding: 0;
}

.ipsField_stackItem_keyValue{
	padding: 0;
}

html[dir="ltr"] .ipsField_stackItem_keyValue{
	margin: 0;
}

/* Progress bars */
.ipsAttachment_progress{
	background-color: var(--c0);
	border-color: transparent;
	box-shadow: inset var(--c3) 0px 0px 0px 1px;
}

	.ipsAttachment_progress > span{
		background-color: var(--c6);
	}

/* Warning messages in forms can sometimes use .ipsType_richText. This fixes their color */
.ipsMessage.ipsType_richText{
	color: #fff;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="global.css"><![CDATA[/* --- */

:root{
	--hue: 222;
	--saturation: 25%;
	
	--c0: hsl(var(--hue), var(--saturation), 100%);
	--c1: hsl(var(--hue), var(--saturation), 97.5%);
	--c2: hsl(var(--hue), var(--saturation), 94.5%);
	--c3: hsl(var(--hue), var(--saturation), 89%);
	--c4: hsl(var(--hue), var(--saturation), 82%);
	--c5: hsl(var(--hue), var(--saturation), 67%);
	--c6: hsl(var(--hue), var(--saturation), 53%);
	--c7: hsl(var(--hue), var(--saturation), 37%);
	--c8: hsl(var(--hue), var(--saturation), 27%);
	--c9: hsl(var(--hue), var(--saturation), 12%);

	--primary: #3b6c99;
	--background: #edf0f5;

	--dark: hsl(var(--hue), var(--saturation), 35%);

	--color: 			var(--c7);
	--text-soft: 		var(--c6);
	--text-heavy: 		var(--c9);

	--a--color: 		#0a579e;
	--a-hover--color: 	var(--text-heavy);

	--input--background: var(--c0);
	--input--border: var(--c3);
	--input--shadow: rgba(44, 95, 140, 0.08);

	--pagination--shadow: 0px 5px 10px -2px rgba(28,35,49,0.06), 0px 0px 0px 1px rgba(28,35,49,0.02);
	
	--header--background: var(--c0);
	--header--color: var(--text-heavy);

	--acpsearch--background: #dfe5ed;

	--eladmincontrols-a-hover--color: #f2f5f9;

	--acpappmenu--background: #215e98;
	--acpappmenu--background-image: linear-gradient(to bottom, #215e98, #0c849f);

	--acpapplist--border: rgba(70, 94, 128, 0.2);

	--menu-manager--active: var(--c8);
}

body {
	background: #edf0f5;
	background: var(--background);
	color: #1e3343;
	color: var(--color);
	
	position: absolute;
	width: 100%;
	font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.ipsDarkMode{
	color-scheme: dark;
	--saturation: 12%;

	--c0: hsl(var(--hue), var(--saturation), 20%);
	--c1: hsl(var(--hue), var(--saturation), 25%);
	--c2: hsl(var(--hue), var(--saturation), 30%);
	--c3: hsl(var(--hue), var(--saturation), 35%);
	--c4: hsl(var(--hue), var(--saturation), 46%);
	--c5: hsl(var(--hue), var(--saturation), 62%);
	--c6: hsl(var(--hue), var(--saturation), 70%);
	--c7: hsl(var(--hue), var(--saturation), 80%);
	--c8: hsl(var(--hue), var(--saturation), 93%);
	--c9: hsl(var(--hue), var(--saturation), 100%);

	--primary: #627b95;
	--background: #1f2126;

	--dark: hsl(var(--hue), var(--saturation), 38%);

	--color: 		#a9aebd;
	--text-soft: 	#84929f;
	--text-heavy: 	#fff;

	--a--color: 	#fafafa;
	--a-hover--color: 	var(--text-heavy);

	--input--background: var(--c2);
	--input--border: rgba(255,255,255,0.15) transparent transparent transparent;
	--input--shadow: rgba(0,0,0,0.07);

	--pagination--shadow: 0px 5px 10px -2px rgba(0,0,0,0.2), inset 0px 1px 0px rgba(255,255,255,0.2);

	--header--background: var(--c2);
	--header--color: var(--text-heavy);

	--acpsearch--background: var(--background);
	--acpsearch--background-active: var(--c0);

	--eladmincontrols-a-hover--color: #535b6c;

	--acpappmenu--background: #535b6c;
	--acpappmenu--background-image: none;

	--acpapplist--border: rgba(0,0,0,0.6);

	--menu-manager--active: var(--c3);
}

/* Hide the theme menu if the browser doesn't support css variables */
.elThemeMenu-wrap{
	display: none;
}

	@supports (--css: vars){
		.elThemeMenu-wrap{
			display: list-item;
		}
	}

/* Hide 'auto' option in theme selector if the OS doesn't support prefers-color-scheme */
.elThemeMenu__auto{
	display: none;
}

@media (prefers-color-scheme: dark), (prefers-color-scheme: light), (prefers-color-scheme: no-preference){
	.elThemeMenu__auto{
		display: block;
	}
}

/* Reset font-family */
.ipsType_pageTitle, .ipsType_sectionTitle, .ipsType_secondaryTitle, .ipsType_sectionHead, .ipsType_minorHeading{
	font-family: inherit;
}

a {
	color: #0a579e;
	color: var(--a--color);
}

	a:hover{
		color: #1e3343;
		color: var(--a-hover--color);
	}

/* Colors - darkest to lightest */
.ipsAreaBackground_reset{
	background: var(--c0);
}

.ipsAreaBackground,
.ipsChart_filters,
.acpMemberView_coverPhoto,
.ipsMenu_headerBar,
.ipsMenu_footerBar,
.ipsTable th,
.ipsTree_row.ipsTree_open{
	background-color: #f5f7fb;
	background-color: var(--c2);
}


.ipsAreaBackground_light{
	background-color: #f5f7fb;
	background-color: var(--c1);
}

.ipsTable tr[data-tableClickTarget]:hover{
	background-color: #f9fafc !important;
	background-color: var(--c2) !important;
}

.ipsTree_parent.ipsTree_row:not( .ipsTree_noToggle ):hover {
	background-color: #f9fafc;
	background-color: var(--c1);
}

/* ACP Charts */
svg[style*="hidden"] rect[fill="#ffffff"],
svg[style*="hidden"] path[fill="#ffffff"]{
	fill: var(--c0);
}

svg[style*="hidden"] rect[fill="#edf0f5"]{
	fill: var(--c0);
}

svg[style*="hidden"] text[fill="#444444"]{
	fill: var(--c5);
}

svg[style*="hidden"] text[fill="#222222"]{
	fill: var(--c8);
}

svg[style*="hidden"] text[fill="#000000"]{
	fill: var(--c9);
}

svg[style*="hidden"] rect[width="1"],
svg[style*="hidden"] rect[height="1"]{
	fill: var(--c2);
}

.ipsFlex-grow\:1 {
	flex-grow: 1;
}

/* Other utilities */
.ipsPosition\:relative{
	position: relative;
}
html[dir='ltr'] .ipsMargin-l\:auto{
	margin-left: auto;
}
html[dir='rtl'] .ipsMargin-l\:auto{
	margin-right: auto;
}

/* Layout */

#acpMainLayout {
	height: 100%;
	position: relative;
	z-index: 1500;
	overflow: hidden;
}

#acpJumpToContent {
	position: absolute;
	top: 2px;
	color: #fff;
	font-size: 11px;
	margin-left: -1000px;
}

	html[dir="ltr"] #acpJumpToContent {
		left: 53px;
	}
	html[dir="rtl"] #acpJumpToContent {
		right: 53px;
	}

	html[dir="ltr"] #acpJumpToContent:focus {
		margin-left: 0;
	}
	html[dir="rtl"] #acpJumpToContent:focus {
		margin-right: 0;
	}

/* APP LIST */
#acpAppMenu {
	background: #215e98;
	background: var(--acpappmenu--background);
	background-image: linear-gradient(to bottom, #215e98, #0c849f);
	background-image: var(--acpappmenu--background-image);
	background-attachment: fixed;
	width: calc(60px + 220px) !important;
}

	/* Navigation menu scrollbar */
	/* Instead of this code, the ipsScrollbar_light class can be removed from the HTML */
	#acpAppList .ipsScrollbar::-webkit-scrollbar-thumb { 
		background-color: rgba(0,0,0,0.05);
	}
	#acpAppList:hover .ipsScrollbar::-webkit-scrollbar-thumb { 
		background-color: rgba(0,0,0,0.2);
	}
	#acpAppList .ipsScrollbar::-webkit-scrollbar-track-piece { 
		background-color: transparent;
	}
	
	#acpAppList .acpAppList_icon {
		font-size: 22px;
	}

	#acpAppList > li {
		width: 60px;
	}

		body.cAdminDevModeOn #acpAppList > li:not( #elReorderAppMenu ) > a {
			padding-left: 3px;
		}

		#acpAppList > li:not( #elReorderAppMenu ):not( #elLogo ) > a {
			display: flex;
			justify-content: center;
			align-items: center;
			height: 60px;
			color: rgba(255,255,255,0.7);
			z-index: 2000;
			position: relative;
		}

			#acpAppList > li.acpAppList_dragging > ul {
				display: none !important;
			}

			#acpAppList > li:not( #elReorderAppMenu ).acpAppList_active > a {
				color: #fff !important;
				background: rgba(255,255,255,0.3);
			}

		#acpAppList > li.acpAppList_active > ul {
			display: block;
		}

		#acpAppList > li > ul {
			color: #2b4f78;
			color: var(--text-heavy);
			background: #fff;
			background: var(--c0);
			border-right: 1px solid transparent;
			border-right-color: rgba(70, 94, 128, 0.2);
			border-right-color: var(--acpapplist--border);
			box-shadow: rgba(0,0,0,0.06) -6px 0 6px;
			width: 220px;

			display: none;
			position: absolute;
			top: 0;
			bottom: 0;
			padding: 10px;
			display: none;
			z-index: 3500;
			overflow: auto;
			overflow-x: hidden;
			line-height: 1.8;
		}
		html[dir="ltr"] #acpAppList > li > ul {
			left: 60px;			
		}
		html[dir="rtl"] #acpAppList > li > ul {
			right: 60px;		
		}

			#acpAppList .acpAppList_header {
				background: #edf2f7;
				background: var(--c3);
				color: #1b314b;
				color: var(--text-heavy);
				border-radius: 5px;
				font-size: 17px;
				font-weight: 600;
				display: flex;
				align-items: center;
				height: 41px;
				padding: 0 20px;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}

			#acpAppList > li > ul a {
				color: #5f7794;
				color: var(--text-soft);
				display: block;
				padding: .25em .7em;
				border-radius: 5px;
			}

				#acpAppList > li > ul a:hover{
					color: #1b314b;
					color: var(--text-heavy);
					background: #edf2f7;
					background: var(--c1);
				}

				#acpAppList > li > ul .acpAppListItem_active a{
					color: #1b314b;
					color: var(--text-heavy);
					background: #edf2f7;
					background: var(--c3);
					font-weight: 500;
				}					

			#acpAppList > li > ul h3 {
				padding: 0 .7em;
				font-size: inherit;
				text-transform: uppercase;
				font-weight: bold;
				margin: 0;
			}

			#acpAppList > li > ul > li {
				margin-bottom: 20px;
			}

			#acpAppList > li > ul .acpModuleMenu_active {
				font-weight: bold;
			}

#elLogo {
	background: rgba(0,0,0,0.15);
	height: 61px;
	display: flex;
	align-items: center;
	justify-content: center;
}

	#elLogo img {
		width: 30px;
		height: 30px;
	}

html[dir="ltr"] #acpAppList .ipsNotificationCount {
	top: 6px;
	right: 6px;
}
html[dir="rtl"] #acpAppList .ipsNotificationCount {
	top: 6px;
	left: 6px;
}

#acpAppList > li > ul .ipsNotificationCount {
	position: static;
	background: #b63f3f;
	border-radius: 4px;
}

/* Hide menu stuff */
#acpAppList #elHideMenu {
	width: 16px;
	height: 32px;
	line-height: 32px;
	position: fixed;
	bottom: 0;
	z-index: 6000;
	background: #fff;
	background: var(--c0);
	border-radius: 5px 0 0 0;
}

	#acpAppList #elHideMenu a{
		color: inherit !important;
	}

	body.cAdminDevModeOn #acpAppList #elHideMenu {
		bottom: 60px;
	}

	html[dir="ltr"] #acpAppList #elHideMenu {
		left: 54px;
		left: calc(60px - 16px);
	}
	html[dir="rtl"] #acpAppList #elHideMenu {
		right: 54px;
		right: calc(60px - 16px);
	}
	
	#acpAppList #elHideMenu a {
		padding: 0 !important;
		height: 100% !important;
	}

/* Styles for the collapsing admin menu */
.cAdminHideMenu #acpAppList > li.acpAppList_active > ul,
body:not( .cAdminHideMenu ) #elHideMenu [data-action='toggleOpen'] {
	display: none;
}

.cAdminHideMenu #acpAppList, .cAdminHideMenu #acpAppMenu  {
	width: 60px !important;
}

.cAdminHideMenu #acpAppList > li.acpAppList_active:hover > ul {
	display: block;
}

.cAdminHideMenu #acpAppList > li:hover > ul {
	box-shadow: 0px -2px 36px rgba(0,0,0,0.2);
}

.cAdminHideMenu #elHideMenu [data-action='toggleClose'] {
	display: none;
}

#acpMainArea {
	padding-top: 60px;
}



/* Header */
#ipsLayout_header {
	background: #fff;
	background: var(--header--background);
	color: #1b314b;
	color: var(--header--color);
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	z-index: 3000;
	height: 61px;
	padding: 0 10px;
	border-width: 0;
	box-shadow: rgba(0,0,0,0.1) 0px 1px 0px 0px;
}

	.ipsDarkMode #ipsLayout_header {
		box-shadow: rgba(0,0,0,0.3) 0px 1px 0px 0px;
	}

html[dir="ltr"] #ipsLayout_header {
	right: 0;
	left: calc(60px + 220px);
}
	html[dir="ltr"] .cAdminHideMenu #ipsLayout_header {
		left: 60px;
	}

html[dir="rtl"] #ipsLayout_header {
	left: 0;
	right: calc(60px + 220px);
}
	html[dir="rtl"] .cAdminHideMenu #ipsLayout_header {
		right: 60px;
	}



/* ACP search bar */
.acpSearch{
	box-shadow: inset rgba(0,0,0,0.06) 0px 1px 3px;
	background: #dfe5ed;
	background: var(--acpsearch--background);
	border-radius: 5px;
	flex: 1 1 100%;
	display: flex;
	align-items: center;
	height: 41px;
}

	html[dir='ltr'] .acpSearch{
		margin-right: 10px;
	}
	html[dir='rtl'] .acpSearch{
		margin-left: 10px;
	}

	.acpSearch:focus-within {
		box-shadow: inset rgba(0,0,0,0.15) 0px 1px 3px;
		background: #f2f5f9;
	}

	.acpSearch .fa-search{
		margin: 0 14px;
		opacity: .6;
	}

	#acpSearchKeyword {
		border: 0;
		background: transparent;
		max-width: 100%;
		padding: 10px 0;
		color: inherit;
		box-shadow: none;
	}

	#acpSearchKeyword::-webkit-input-placeholder {
		color: inherit;
		opacity: 0.4;
	}
	#acpSearchKeyword::placeholder {
		color: inherit;
		opacity: 0.4;
	}

		.ipsDarkMode .acpSearch{
			box-shadow: inset rgba(0,0,0,0.6) 0px 1px 3px, rgba(255,255,255,0.15) 0px 1px 0px;
		}
		.ipsDarkMode .acpSearch:focus-within {
			background: var(--acpsearch--background-active);
			box-shadow: inset rgba(0,0,0,0.6) 0px 1px 3px, rgba(255,255,255,0.15) 0px 1px 0px;
		}



/* Admin controls */
#elAdminControls {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	list-style: none;
	margin: 0;
	padding: 0;
}

	/* If the search bar is hidden, ensure the admin controls are still positioned to the side */
	html[dir='ltr'] #elAdminControls{
		margin-left: auto;
	}
	html[dir='rtl'] #elAdminControls{
		margin-right: auto;
	}

	#elAdminControls a {
		color: inherit;
		display: flex;
		align-items: center;
		padding: 0 15px;
		border-radius: 4px;
		min-height: 40px;
	}
		#elAdminControls a:hover {
			background: #f2f5f9;
			background: var(--eladmincontrols-a-hover--color);
		}

		#elAdminControls .acpHighlightLink_wrap {
			--co: 129, 46%;
			color: hsl(var(--co), 51%);
			display: block;
			position: relative;
		}

			#elAdminControls .acpHighlightLink_wrap:hover .acpHighlightLink{
				background: hsl(var(--co), 95%);
			}

		.ipsDarkMode #elAdminControls .acpHighlightLink_wrap {
			--co: 129, 65%;
			color: hsl(var(--co), 65%);
		}

			.ipsDarkMode #elAdminControls .acpHighlightLink_wrap:hover .acpHighlightLink {
				background: hsla(var(--co), 65%, 0.2);
			}

		#elAdminControls .acpHighlightLink_close {
			position: absolute;
			top: -6px;
			right: -6px;
			font-size: 11px;
			width: 1.9em;
			height: 1.9em;
			justify-content: center;
			padding: 0;
			border-radius: 20px;
			color: #fff;
			opacity: 0;
			min-height: 0;
			background: var(--text-soft ) !important;
		}

			#elAdminControls .acpHighlightLink_wrap:hover > .acpHighlightLink_close {
				opacity: 100%;
			}

	/* Dropdown menu */
	.ipsMenu_headerBar,
	.ipsMenu_footerBar{
		background: transparent;
		border-width: 0;
	}

	/* Notifications icon */
	#elAdminControls .ipsNotificationCount{
		top: 0;
	}
		html[dir='ltr'] #elAdminControls .ipsNotificationCount{
			right: 0;
		}
		html[dir='rtl'] #elAdminControls .ipsNotificationCount{
			left: 0;
		}

	#elAdminControls .fa-home,
    #elAdminControls .fa-question-circle,
    #elAdminControls .fa-exclamation-circle,
    #elAdminControls .fa-trash {
        font-size: 14px;
        margin-right: 5px;
        opacity: .65;
    }

		html[dir='rtl'] #elAdminControls .fa-home,
		html[dir='rtl'] #elAdminControls .fa-question-circle{
			margin-right: 0;
			margin-left: 5px;
		}

	#elAdminUser{
		padding: 0 15px;
	}

	#elAdminControls .ipsUserPhoto{
		margin: 0;
	}

	html[dir="ltr"] #elAdminControls .ipsUserPhoto {
		margin-right: 5px;
	}
	html[dir="rtl"] #elAdminControls .ipsUserPhoto {
		margin-left: 5px;
	}

/* DEV MODE BANNER */
.cAdminDevModeBar {
	position: fixed;
	bottom: 0;
	top: 0;
	width: 5px;
	background-color: #000;
	background-image: linear-gradient(-45deg, #f4b738 25%, transparent 25%, transparent 50%, #f4b738 50%, #f4b738 75%, transparent 75%, transparent);
	background-size: 80px 80px;
	background-position: top;
	z-index: 5000;
	transition: 0.2s background ease-in-out;
}

	html[dir="ltr"] .cAdminDevModeBar {
		left: 0;
	}
	html[dir="rtl"] .cAdminDevModeBar {
		right: 0;
	}

.cAdminDevModeWarning {
	display: block;
	position: fixed;
	bottom: 0px;
	width: 60px;
	height: 60px;
	background: #f4b738;
	font-size: 22px;
	color: #fff;
	text-shadow: 0px 1px 4px rgba(151, 112, 30, 0.5);
	text-align: center;
	line-height: 60px;
	z-index: 5010;
	transition: 0.2s background ease-in-out;
}

	.cAdminDevModeWarning:hover {
		color: #fff;
		background: #ce9929;
		cursor: help;
	}

	html[dir="ltr"] .cAdminDevModeWarning {
		left: 0;
	}
	html[dir="rtl"] .cAdminDevModeWarning {
		right: 0;
	}


/* Mobile navigation panel */
#elMobileDrawer .ipsDrawer_title{
	display: flex;
	align-items: center;
}

	#elMobileDrawer .acpAppList_icon{
		margin-right: 9px;
		width: 18px;
		text-align: center;
		opacity: .4;
	}

	#elMobileDrawer .ipsDrawer_itemParent > h4::after,
	#elMobileDrawer .ipsDrawer_list [data-action="back"] a::before{
		opacity: .4;
	}



/* Page titles */
#acpPageHeader {
	padding: 25px 15px 10px 15px;
	position: relative;
}

	#acpPageHeader .ipsType_pageTitle {
		color: inherit;
		font-weight: 500;
		font-size: 26px;
		min-width: 0;
	}

	#acpPageHeader .ipsSubNavigation {
		margin-bottom: 5px;
	}

.acpPageHeader_flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

/* Main content area */
#acpContent {
	padding: 15px;
}
	.acpNoPadding #acpContent {
		padding: 0;
	}

/* BREADCRUMB */
.ipsBreadcrumb > ul > li {
	font-size: 12px;
	color: inherit;
}

#acpAppList #elReorderAppMenu {
	position: fixed;
	bottom: 0;
	z-index: 5000;
	text-align: center;
}
	
	body.cAdminDevModeOn #acpAppList #elReorderAppMenu {
		bottom: 60px;
	}

	html[dir="ltr"] #acpAppList #elReorderAppMenu {
		padding: 7px 23px 7px 7px;
	}
	html[dir="rtl"] #acpAppList #elReorderAppMenu {
		padding: 7px 7px 7px 23px;
	}

	#acpAppList #elReorderAppMenu a {
		color: #fff;
		opacity: 0.75;
	}

	#acpAppList #elReorderAppMenu a[data-action="reorder"]:hover,
	#acpAppList #elReorderAppMenu a[data-action="saveOrder"] {
		opacity: 1;
		color: #fff;
	}

	#acpAppList #elReorderAppMenu a[data-action="saveOrder"] {
		line-height: 23px;
	}

	#acpAppList > li > a > span[data-role='reorder'] {		
		position: absolute;
		top: 50%;
		margin-top: -20px;
	}
	html[dir="ltr"] #acpAppList > li > a > span[data-role='reorder'] {
		left: 5px;
	}
	html[dir="rtl"] #acpAppList > li > a > span[data-role='reorder'] {
		left: auto;
		right: 5px;
	}

	#acpAppList > li > ul > li span[data-role="reorder"] {
		display: inline-block;
		width: 18px;
		height: 18px;
		line-height: 18px;
		font-size: 10px;
	}
	html[dir="ltr"] #acpAppList > li > ul > li span[data-role="reorder"] {
		margin-right: 5px;
	}
	html[dir="rtl"] #acpAppList > li > ul > li span[data-role="reorder"] {
		margin-left: 5px;
	}

#acpAppList span[data-role="reorder"] {
	background: #f5f5f5;
	color: #000;
	font-size: 11px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	border-radius: 22px;
	text-align: center;
	display: block;
	cursor: move;
}

	/*
		Hide the reorder icon for the logo since it can't be repositioned
		!important is needed to overwrite inline style tag
	*/
	#acpAppList #elLogo span[data-role="reorder"]{
		display: none !important;
	}

/* Password hovercard */
.ipsHovercard{
	background: var(--c2);
}
.ipsHovercard[data-role="advicePopup"] {
	width: 300px;
}
	.ipsHovercard[data-role="advicePopup"] > div {
		min-height: 60px;
	}
		.ipsHovercard[data-role="advicePopup"] > div .ipsType_sectionHead {
			font-size: 16px;
		}

.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem {
	right: 100%;
	top: 25px;
}
	.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem:before {
		border-right-color: inherit;
		left: -1px;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_ltr .ipsHovercard_stem:after {
		border-right-color: var(--c2);
	}
	
.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem {
	left: 100%;
	top: 25px;
	border-left-color: inherit;
}
	.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem:before {
		border-left-color: inherit;
		right: -1px;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_rtl .ipsHovercard_stem:after {
		border-left-color: var(--c2);
	}
	
.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem {
	left: 50%;
	margin-left: -15px;
	top: 100%;
}
	.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem:before {
		border-top-color: inherit;
		bottom: -1px;
	}
	.ipsHovercard[data-role="advicePopup"].cStem_above .ipsHovercard_stem:after {
		border-top-color: var(--c2);
	}

/* Hover fallbacks for non-js */
.ipsJS_none #acpAppList:hover > li:not( #elReorderAppMenu ) > a {
	background: transparent;
}

.ipsJS_none #acpAppList > li:not( #elReorderAppMenu ):hover > a {
	color: #fff;
	background: #394248;
}

.ipsJS_none #acpAppList:hover > li > ul {
	display: none;
}

.ipsJS_none #acpAppList > li:hover > a + ul {
	display: block;
	opacity: 1;
}

/* MISC */
.cACPkeywords {
	line-height: 16px;
	height: 16px;
	padding: 0 9px;
}

/* Mobile menu */
#elUserNav_mobile{
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--c1);
}

#elUserNav_mobile a {
	font-size: 11px;
	color: #111;
	color: var(--c8);
	text-align: center;
}

#elUserNav_mobile .fa {
	font-size: 34px;
	display: block;
	margin-bottom: 5px;
}

.cMobileNav_utilities {
	background: #000;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
	.cMobileNav_utilities a {
		color: #fff;
	}

/* NOTIFICATIONS */

.cAcpNotifications {
	font-size: 20px;
}
	.cAcpNotifications a {
		position: relative;
	}
	
	.cAcpNotifications_active a {
		color: inherit !important;
	}
	
#elFullAcpNotifications_menu li a {
	display: block;
}

@keyframes notificationAnimate
{
    0% {transform: rotateZ(8deg) scale(1);}
    20% {transform: rotateZ(-8deg) scale(1.2);}
    40% {transform: rotateZ(8deg) scale(1.4);}
    60% {transform: rotateZ(-8deg) scale(1.4);}
    80% {transform: rotateZ(8deg) scale(1.2);}
    100% {transform: rotateZ(0deg) scale(1);}
}

.cAcpNotifications_animate {
	animation: notificationAnimate 0.8s ease;
}

html[dir="ltr"] .cNotification_error {
	border-left: 7px solid var(--negative-dark);
}
	html[dir="rtl"] .cNotification_error {
		border-right: 7px solid var(--negative-dark);
	}

html[dir="ltr"] .cNotification_warning {
 	border-left: 7px solid var(--intermediate-dark);
}
	html[dir="rtl"] .cNotification_warning {
	 	border-right: 7px solid var(--intermediate-dark);
	}

html[dir="ltr"] .cNotification_information {
	border-left: 7px solid var(--informational-dark);
}
	html[dir="rtl"] .cNotification_information {
		border-right: 7px solid var(--informational-dark);
	}

html[dir="ltr"] .cNotification_expire {
	border-left: 7px solid var(--general-dark);
}
	html[dir="rtl"] .cNotification_expire {
		border-right: 7px solid var(--general-dark);
	}

.cNotification_row:hover {
	background: #fafafa;
	background: var(--c2);
}

	.cNotification_row:hover > a {
		color: inherit !important;
	}

/* NEW FEATURES TOUR */
.acpNewFeature {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.acpNewFeature_wrap {
	width: 340px;
	height: 475px;
	background: #fff;
	background: var(--c1);
	border-radius: 3px;
	box-shadow: 0px 5px 35px rgba(0,0,0,0.1);
	position: relative;
	pointer-events: auto;
}

	.acpNewFeature_inner {
		position: absolute;
		padding: 20px;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		overflow: hidden;
	}

.acpNewFeature_mainTitle {
	font-size: 17px;
	color: #4c4c4c;
	color: var(--c7);
	font-weight: 400;
	text-align: center;
	margin: 0;
}

.acpNewFeature_cardWrap {
	margin: 20px 0;
	position: relative;
}

	.acpNewFeature_card {
		position:absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

.acpNewFeature_dots {
	text-align: center;
	position: absolute;
	bottom: 10px;
	left: 20px;
	right: 20px;
}

	.acpNewFeature_dot {
		display: inline-block;
	}

	.acpNewFeature_dot > a {
		display: block;
		border: 1px solid #3D6594;
		border-color: var(--primary);
		border-radius: 11px;
		width: 11px;
		height: 11px;
		margin-right: 2px;
	}

		.acpNewFeature_dot.acpNewFeature_active > a {
			background: #3D6594;
			background: var(--primary);
		}

	.acpNewFeature_dot:last-child > a {
		margin-right: 0;
	}

.acpNewFeature_info {
	text-align: center;
}

.acpNewFeature_title {
	text-align: center;
	font-size: 17px;
	margin-bottom: 0;
	margin-top: 20px;
}

.acpNewFeature_desc {
	text-align: center;
	font-size: 14px;
	margin-top: 10px;
	opacity: 0.8;
	max-height: 150px;
	overflow-y: auto;
}

.acpNewFeature_image {
	width: 340px;
	height: 150px;
	margin-left: -20px;
	background: #f0f0f0;
	background: var(--c3);
	border-top: 1px solid rgba(0,0,0,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.acpNewFeature_close {
	background: #111;
	color: #fff;
	font-family: 'arial', sans-serif;
	font-size: 19px;
	font-weight: 300;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	line-height: 30px;
	display: block;
	position: absolute;
	top: -10px;
	right: -10px;
	text-align: center;
	z-index: 100;
}

	.ipsDarkMode .acpNewFeature_close {
		background: var(--c5);
	}

	.acpNewFeature_close:hover {
		color: #fff;
	}

.acpNewFeature_arrow {
	font-size: 50px;
	color: #fff;
	position: absolute;
	top: 50%;
	margin-top: -30px;
	transition: 0.2s all ease-in-out;
	width: 60px;
	height: 60px;
	text-align: center;
}

	.acpNewFeature_arrow:hover {
		color: #fff;
	}

	.acpNewFeature_prev {
		left: -60px;
	}
	.acpNewFeature_next {
		right: -60px;
	}

/* PHONES */
@media screen and (max-width: 767px) {
	.acpNewFeature_arrow {
		top: auto;
		bottom: -70px;
	}
	.acpNewFeature_prev {
		left: 20%;
	}
	.acpNewFeature_next {
		right: 20%;
	}
}

/* Messages */
.ipsMessage{
	border-radius: 5px;
}

/* ACP notification blocks */
.ipsApp .cAcpNotificationBanner .ipsButton_light{
	background: rgba(255,255,255,0.2);
	border-color: transparent;
	color: #fff;
}

.ipsApp .cAcpNotificationBanner .ipsButton_primary {
	background: #fff;
	color: #000;
	border-color: transparent;
}

/* Editor - unfortunately needs to be light due to the images used as icons */
.ipsApp .cke_top{
	background: none;	
}

	.ipsDarkMode .cke_top{
		border-radius: 4px;
		background: var(--c8);
		padding: 3px;
	}

	body a.cke_button_off:hover,
	body a.cke_button_off:focus,
	body a.cke_button_off:active,
	body a.cke_button_disabled:hover,
	body a.cke_button_disabled:focus,
	body a.cke_button_disabled:active{
		background: #e5e9f0;
	}

	body a.cke_button_on,
	body .cke_toolbar_separator{
		background: #d7dce6;
	}

	body a.cke_combo_button{
		background: #fff !important;
		box-shadow: none !important;
		border-color: #d7dce6;
	}

	.ipsApp .cke_wysiwyg_frame,
	.ipsApp .cke_wysiwyg_div{
		background: var(--c0);
		color: var(--c8);
	}

	html[dir="ltr"] .ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
		border-right-color: var(--c2);
	}
	html[dir="rtl"] .ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
		border-left-color: var(--c2);
	}

	.ipsApp .cke_inner{
		background: none;
	}

	[data-ipseditor]{
		background: var(--c0);
		color: var(--c8);
	}

	.ipsComposeArea_dummy {
		background: none;
		color: var(--c5);
	}

	/* PASTE BAR */
		.ipsComposeArea_sidebarClosed {
			background: var(--c2) !important;
		}

	.ipsComposeArea_attachments {
		background: var(--c0);
		border-top-color: var(--c1);
	}

		.ipsDarkMode .ipsComposeArea_unavailable .ipsComposeArea_editor {
			background: rgba(0,0,0, 0.5);
		}
		
		html[dir="ltr"] .ipsDarkMode .ipsComposeArea_unavailable.ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
			border-right-color: rgba(0,0,0, 0.5);
		}
		html[dir="rtl"] .ipsDarkMode .ipsComposeArea_unavailable.ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
			border-left-color: rgba(0,0,0, 0.5);
		}

	.ipsAttachment_dropZone.ipsDragging, .ipsComposeArea_dropZone.ipsDragging {
		background: var(--c3);
		border-color: var(--c6);
	}

		.ipsAttach_selection.ipsAttach_selectionOn {
			background: var(--primary);
		}

	.ipsImageAttach_thumb {
		background-color: var(--c0);
	}
		
		.ipsEmoticons_item:hover {
			background: var(--c3);
		}

/* Date picker */
.ipsApp .ui-datepicker-title select{
	color: #222;
}

/* Data rows */
.ipsDataItem{
	border-bottom-color: var(--c2);
}

/* Hover cards */
/* USER HOVERCARDS */
.cUserHovercard {
	min-height: 200px;
}

.cUserHovercard .ipsPageHead_special {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
	height: 85px;
	width: 100%;
	background-color: rgb( var(--theme-profile_header) );
}

.cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	position: absolute;
	top: 35px;
}
html[dir="ltr"] .cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	left: 15px;
}
html[dir="rtl"] .cUserHovercard .ipsPageHead_special .ipsUserPhoto {
	right: 15px;
}

.cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
.cUserHovercard .ipsPageHead_special p {
	position: absolute;
	color: #fff;
}
html[dir="ltr"] .cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
html[dir="ltr"] .cUserHovercard .ipsPageHead_special p {
	left: 110px;
}
html[dir="rtl"] .cUserHovercard .ipsPageHead_special .ipsType_sectionHead, 
html[dir="rtl"] .cUserHovercard .ipsPageHead_special p {
	right: 110px;
}

.cUserHovercard .ipsPageHead_special p {
	top: 60px;
}

.cUserHovercard .ipsPageHead_special .ipsType_sectionHead {
	top: 28px;
	font-size: 24px;
	max-width: 325px;
	line-height: 36px;
}

.cUserHovercard .ipsDataList .ipsDataItem_generic,
.cUserHovercard .ipsDataList .ipsDataItem_main {
	padding: 2px 0;
}

html[dir="ltr"] .cUserHovercard .ipsDataList .ipsDataItem_main {
	padding-left: 5px;
}
html[dir="rtl"] .cUserHovercard .ipsDataList .ipsDataItem_main {
	padding-right: 5px;
}

.cUserHovercard .cUserHovercard_data {
	max-width: 330px;
}
html[dir="ltr"] .cUserHovercard .cUserHovercard_data {
	margin-left: 105px;
}
html[dir="rtl"] .cUserHovercard .cUserHovercard_data {
	margin-right: 105px;
}

.cUserHovercard .ipsRepBadge {
    width: 80px;
    position: absolute;
    top: 120px;
    text-align: center;
}

	html[dir="ltr"] .cUserHovercard .ipsRepBadge {
	    left: 20px;
	}
	html[dir="rtl"] .cUserHovercard .ipsRepBadge {
	    right: 20px;
	}

hr.ipsHr{
	border-color: var(--c9);
	opacity: 0.05;
}

/* Overflow stuff */
.acpOverflow_hidden {
	overflow: hidden;
}

.acpOverflow_scroll {
	overflow: scroll;
}

.acpOverflow_hidden_x {
	overflow-x: hidden;
}

.acpOverflow_hidden_y {
	overflow-y: hidden;
}

.acpOverflow_scroll_x {
	overflow-x: scroll;
}

.acpOverflow_scroll_y {
	overflow-y: scroll;
}

/* Fix white corners on color pickers in the theme settings */
.sp-colorize-container{
	border-radius: 4px;
}

/* Mobile ACP navigation menu */
.ipsDrawer_menu{
	background: var(--c0);
	color: var(--c7);
}

.ipsDrawer_itemParent > h4{
	color: var(--c9);
}

.ipsDrawer_list [data-action="back"] a{
	background: var(--c3);
	color: var(--c9) !important;
}

	.ipsDrawer_list > li > a:active{
		background: var(--c4);
	}

.ipsDrawer_listTitle{
	background: var(--c1);
	color: var(--c9);
	border-radius: 0;
}

/* Menus */
.ipsSideMenu_title{
	color: var(--c9);
}


/* Grid */
@supports (display: grid){

	:root{
		--grid-gap: 15px;
	}

	[data-ipsgrid-minitemsize="500"]{
		--grid-min: 400px;
	}

	[data-ipsgrid-minitemsize="400"]{
		--grid-min: 400px;
	}

	[data-ipsgrid-minitemsize="350"]{
		--grid-min: 350px;
	}

	[data-ipsgrid-minitemsize="320"]{
		--grid-min: 320px;
	}

	[data-ipsgrid-minitemsize="300"]{
		--grid-min: 300px;
	}

	[data-ipsgrid-minitemsize="250"]{
		--grid-min: 250px;
	}

	[data-ipsgrid-minitemsize="230"]{
		--grid-min: 230px;
	}

	[data-ipsgrid-minitemsize="200"]{
		--grid-min: 200px;
	}

	[data-ipsgrid-minitemsize="175"]{
		--grid-min: 175px;
	}

	[data-ipsgrid-minitemsize="170"]{
		--grid-min: 170px;
	}

	[data-ipsgrid-minitemsize="150"]{
		--grid-min: 150px;
	}

	[data-ipsgrid-minitemsize="100"]{
		--grid-min: 100px;
	}

	[data-ipsgrid-minitemsize="60"]{
		--grid-min: 60px;
	}

	[data-ipsgrid-minitemsize="40"]{
		--grid-min: 40px;
	}

	.ipsGrid{
		display: grid;
		grid-gap: var(--grid-gap);
		grid-template-columns: repeat(12, 1fr);
	}

		/* Forces truncated text to work */
		.ipsGrid > *{
			min-width: 0;
		}

	[data-ipsgrid-minitemsize]{
		grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr));
	}
  
	.ipsGrid + .ipsGrid{
		margin-top: var(--grid-gap) !important;
	}

		.ipsGrid > [class*="ipsGrid_span"]{
			width: auto !important;
			margin: 0 !important;
			float: none !important;
			height: auto !important;
		}

		.ipsGrid::before,
		.ipsGrid::after{
			display: none;
		}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span1{
		grid-column: span 1;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span2{
		grid-column: span 2;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span3{
		grid-column: span 3;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span4{
		grid-column: span 4;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span5{
		grid-column: span 5;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span6{
		grid-column: span 6;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span7{
		grid-column: span 7;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span8{
		grid-column: span 8;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span9{
		grid-column: span 9;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span10{
		grid-column: span 10;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span11{
		grid-column: span 11;
	}

	.ipsGrid:not([data-ipsgrid-minitemsize]) > .ipsGrid_span12,
	.ipsGrid:not([data-ipsgrid-minitemsize]) > :not([class*="ipsGrid_span"]){
		grid-column: span 12;
	}

	@media (max-width: 979px){
		.ipsGrid.ipsGrid_collapseTablet:not([data-ipsgrid-minitemsize]) > [class*="ipsGrid_span"]{
			grid-column: span 12;
		}
	}

	@media (max-width: 767px){
		.ipsGrid.ipsGrid_collapsePhone:not([data-ipsgrid-minitemsize]) > [class*="ipsGrid_span"]{
			grid-column: span 12;
		}
	}

}

@supports (width: calc(min(1%, 10%))) {
	[data-ipsgrid-minitemsize]{
		grid-template-columns: repeat(auto-fill, minmax(min(var(--grid-min), 100%), 1fr));
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="livesearch.css">#acpLiveSearchResults {
	width: 750px;
	top: 70px;
	bottom: 30px;
	position: fixed;
	background: #fff;
	background: var(--c0);
	border-radius: 5px;
	box-shadow: 0px 10px 40px rgba(0,0,0,0.2)
}
html[dir=&quot;ltr&quot;] #acpLiveSearchResults {
	left: 280px;
}
html[dir=&quot;rtl&quot;] #acpLiveSearchResults {
	right: 280px;
}

	.cAcpSearch_areas,
	.cAcpSearch_results {
		position: absolute;
		top: 0;
		bottom: 0;
		overflow: auto;
	}

	.cAcpSearch_areas {
		width: 220px;
		padding: 6px;
	}
		html[dir=&quot;rtl&quot;] .cAcpSearch_areas {
			left: 0;
		}
		html[dir=&quot;rtl&quot;] .cAcpSearch_areas {
			right: 0;
		}

		.cAcpSearch_areas a{
			border-radius: 4px;
		}

	.cAcpSearch_results {
		width: 560px;
	}
		html[dir=&quot;ltr&quot;] .cAcpSearch_results {
			left: 220px;
		}
		html[dir=&quot;rtl&quot;] .cAcpSearch_results {
			right: 220px;
		}

	#acpLiveSearchResults [data-role=&quot;searchMenu&quot;] {
		background: #f9fbfd;
		background: var(--c1);
	}
	html[dir=&quot;ltr&quot;] #acpLiveSearchResults [data-role=&quot;searchMenu&quot;] {
		border-right: 1px solid rgba(0,0,0,0.05);
		border-right-color: var(--c2);
		border-radius: 5px 0 0 5px;
	}
	html[dir=&quot;rtl&quot;] #acpLiveSearchResults [data-role=&quot;searchMenu&quot;] {
		border-left: 1px solid rgba(0,0,0,0.05);
		border-right-color: var(--c2);
		border-radius: 0 5px 5px 0;
	}

#acpLiveSearchResults:before {
	content: '';
	display: block;
	border-width: 7px;
	border-style: solid;
	border-color: transparent transparent #f9fbfd transparent;
	border-bottom-color: var(--c1);
	position: absolute;
	top: -14px;
	width: 0;
	height: 0;
	pointer-events: none;
}
html[dir=&quot;ltr&quot;] #acpLiveSearchResults:before {
	left: 23px;
}
html[dir=&quot;rtl&quot;] #acpLiveSearchResults:before {
	right: 23px;
}

#acpLiveSearchResults [data-resultsSection],
#acpLiveSearchResults [data-role=&quot;searchResults&quot;] {
	overflow: auto;
	height: 100%;
}

#acpLiveSearchResults .ipsPadding_top {
	padding-top: 2px;
}

.cAcpSearch_areas .ipsSideMenu_item:not(.ipsSideMenu_itemActive) .ipsSideMenu_itemCount{
	background: #fff;
	background: var(--c3);
	color: inherit;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="menu.css"><![CDATA[/* Dropdown menus */

/* Hover */
ul:not( .ipsMenu_keyNav ) .ipsMenu_item:not( .ipsMenu_itemClicked ):not( .ipsMenu_itemDisabled ) a:not( .ipsMenu_itemInline ):hover,
.ipsMenu_item[data-selected] a,
.ipsMenu_item[data-selected] span,
.ipsMenu_item.ipsMenu_hover {
	background: #f2f4f8;
	background: var(--c2);
}

.ipsSideMenu_itemActive a,
a.ipsSideMenu_itemActive,
.ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"]:checked ~ a,
.ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"]:checked ~ a {
	background: #3b6c99;
	background: var(--primary);
	color: #fff;
}

.ipsSideMenu_item:not(.ipsSideMenu_itemActive) a:hover,
a.ipsSideMenu_item:not(.ipsSideMenu_itemActive):hover,
span.ipsSideMenu_item:not(.ipsSideMenu_itemActive):hover{
	background: #c8d0d9;
	background: var(--c1);
}

.ipsSideMenu_itemDisabled a, 
a.ipsSideMenu_itemDisabled,
span.ipsSideMenu_itemDisabled{
	color: var(--c5);
	opacity: .4;
}

.ipsSideMenu_itemActive .ipsSideMenu_itemCount{
	background: transparent;
	color: inherit;
}

.ipsSideMenu_list > li:last-child .ipsSideMenu_item a, 
.ipsSideMenu_list > li:last-child a.ipsSideMenu_item {
	margin-bottom: 0;
}

.ipsMenu_title{
	background: #edf0f5;
	background: var(--c2);
	color: var(--c9);
}

.ipsMenu_item > a:not(.ipsMenu_itemInline),
.ipsMenu_item > span:not(.ipsMenu_itemInline){
	color: var(--c7);
}

.ipsMenu_sep{
	border-color: var(--c4);
}

/* Auto complete */
.ipsAutocompleteMenu{
	background: var(--c0);
}

	.ipsAutocompleteMenu_item[data-selected]{
		background: var(--c2);
	}

/* Dark mode selectors */
.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a:before, 
.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span:before, 
.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button:before {
	color: var(--c4);
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="misc.css"><![CDATA[.ipsBox,
.acpBlock,
#acpContent > form[class^="ipsForm"],
.ipsChart,
.ipsWizard,
.acpBlock .ipsTabs_panel > .acpBlock,
#elLogin_box{
	box-shadow: none;
	border-radius: 5px;
	background: #fff;
	background: var(--c0);
	border-width: 0;
}

.ipsBox:not( .ipsBox_transparent ):not( .ipsModerated ) {
	background: #fff;
	background: var(--c0);
}

.acpFormTabContent{
	background: #fff;
	background: var(--c0);
	padding: 1px;
}

/* Comments */
.ipsComment{
	background-color: var(--c1);
}

/* Moderated content */
.ipsDarkMode .ipsModerated:not(.ipsComment_selected):not(.ipsDataItem_selected) {
	background-color: #4b3333;
	color: #e2bfbf;
}

	.ipsDarkMode .ipsModerated a {
		color: inherit;
	}

	.ipsDarkMode .ipsModerated .ipsType_light {
		color: {hextorgb="#e2bfbf" opacity="0.7"};
	}

/* The pseudo elements purposely prevent child margins from collapsing */
.ipsBox::before,
.ipsBox::after,
.ipsWizard::before,
.ipsWizard::after,
.acpBlock::before,
.acpBlock::after{
	content: '';
	display: block;
	height: 0.1px;
}

/* Darker box-shadow for login box */
#elLogin_box{
	box-shadow: 0px 20px 40px -10px rgba(28,35,49,0.15), 0px 0px 0px 1px rgba(28,35,49,0.05);
}

	/* Remove styles from children boxes */
	.ipsDialog_content > .acpBlock,
	.acpBlock > .acpBlock,
	.ipsBox > .acpBlock,
	.ipsBox .ipsChart {
		box-shadow: none;
	}

.ipsBox_shadowed {
	border: 1px solid rgba(0,0,0,0.12);
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.04);
}

		.ipsDarkMode .ipsBox_shadowed {
			border-color: rgba(255,255,255,0.1) transparent transparent transparent;
		}

.ipsBox_group {
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
	background: rgba(0,0,0,0.033);
}

.ipsBox_title {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: rgba(0,0,0,0.7);
	color: var(--c5);
	padding: 10px 15px 5px 0;
	margin: 0;
}

	.ipsBox_title + .ipsBox {
		
	}

.ipsBox_titleBar {
	font-size: 15px;
	font-weight: 600;
	padding: var(--sp-5);
	margin: 0;
	color: var(--text-heavy);
}

	.ipsBox_titleBar .ipsBox_titleBar__icon{
		color: #587898;
		color: var(--text-soft);
		width: 1.5em;
		font-size: .9em;
	}

	.ipsBox_titleBar a.ipsPos_right {
		font-weight: normal;
	}

.acpWidgetToolbar {
	padding: 10px;
	position: relative;
}

	.acpWidgetToolbar .ipsPagination {
		line-height: 30px;
		margin-top: 2px;
	}

.ipsApp input[type="text"].acpTable_search {
	max-width: 200px;
}
html[dir="ltr"] .ipsApp input[type="text"].acpTable_search {
	padding-right: 30px;
}
html[dir="rtl"] .ipsApp input[type="text"].acpTable_search {
	padding-left: 30px;
}
	/*
	.ipsApp input[type="text"].acpTable_search:hover,
	.ipsApp input[type="text"].acpTable_search:focus {
		background: #fff;
	}*/

.acpWidgetSearch {
	padding: 0 10px;
	line-height: 41px;
	color: rgba(0,0,0,0.4);
	color: var(--c6);
	border: 0px solid transparent;
	position: relative;
}
html[dir="ltr"] .acpWidgetSearch {
	margin-left: -30px;
}
html[dir="rtl"] .acpWidgetSearch {
	margin-right: -30px;
}

	.acpWidgetSearch:hover {
		color: #000;
		color: var(--c9);
	}

/* Info panels */
.cWithInfoPanel {
	display: flex;
}

.cWithInfoPanel_main {
	flex-grow: 1;
	order: 1;
	margin-right: 30px;
	min-width: 0;
}

	.cWithInfoPanel_info.ipsSticky ~ .cWithInfoPanel_main {
		margin-right: 350px;
	}

.cWithInfoPanel_info {
	background: #2E3D49;
	min-width: 350px;
	max-width: 350px;
	order: 2;
	overflow: auto;
}

	html[dir='ltr'] .cWithInfoPanel_info{
		margin: 0 -15px -15px 0;
		border-top-left-radius: 5px;
	}
	html[dir='rtl'] .cWithInfoPanel_info{
		margin: 0 0 -15px -15px;
		border-top-right-radius: 5px;
	}

	.cWithInfoPanel_info.ipsSticky {
		top: 0;
		right: 0;
		bottom: 0;
		margin: 0;
	}

.cWithInfoPanel .ipsType_sectionTitle {
	margin: -15px -15px 15px -15px;
	background: #27333D;
	padding: 10px 15px;
	color: #fff;
	font-weight: 300;
}

/* Charts */
.ipsChart_filters {
	border-radius: 5px;
}

.acpContent > .ipsChart .ipsChart_filters{
	background-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
}

	ul[data-role='filterSaveMenu'] ul.ipsToolList,
	ul[data-role='filterRenameMenu'] ul.ipsToolList {
		margin-bottom: 0px;
	}

	button[data-role="renameChart"] {
		margin-right: 4px;
	}

	/* Align buttons correctly in dashboard */
	.ipsChart_filters .ipsButton{ vertical-align: top; }

/* Apple pie chart */
.ipsPieBar__bar {
	height: 38px;
	background: #ddd;
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	border-radius: 5px;
	position: relative;
}

.ipsPieBar__barSegment {
	height: 38px;
}

.ipsList_inline > .ipsPieBar__legendItem {
	display: inline-flex;
	align-items: center;
}

.ipsPieBar__barSegment:nth-child(10n-9),
.ipsPieBar__legendItem:nth-child(10n-9) > .ipsPieBar__legendItemKey {
	background: #10967e;
}
.ipsPieBar__barSegment:nth-child(10n-8),
.ipsPieBar__legendItem:nth-child(10n-8) > .ipsPieBar__legendItemKey {
	background: #ea7963;
}
.ipsPieBar__barSegment:nth-child(10n-7),
.ipsPieBar__legendItem:nth-child(10n-7) > .ipsPieBar__legendItemKey {
	background: #de6470;
}
.ipsPieBar__barSegment:nth-child(10n-6),
.ipsPieBar__legendItem:nth-child(10n-6) > .ipsPieBar__legendItemKey {
	background: #6b9dde;
}
.ipsPieBar__barSegment:nth-child(10n-5),
.ipsPieBar__legendItem:nth-child(10n-5) > .ipsPieBar__legendItemKey {
	background: #b09be4;
}
.ipsPieBar__barSegment:nth-child(10n-4),
.ipsPieBar__legendItem:nth-child(10n-4) > .ipsPieBar__legendItemKey {
	background: #eec766;
}
.ipsPieBar__barSegment:nth-child(10n-3),
.ipsPieBar__legendItem:nth-child(10n-3) > .ipsPieBar__legendItemKey {
	background: #9fc973;
}
.ipsPieBar__barSegment:nth-child(10n-2),
.ipsPieBar__legendItem:nth-child(10n-2) > .ipsPieBar__legendItemKey {
	background: #e291bf;
}
.ipsPieBar__barSegment:nth-child(10n-1),
.ipsPieBar__legendItem:nth-child(10n-1) > .ipsPieBar__legendItemKey {
	background: #55c1a6;
}
.ipsPieBar__barSegment:nth-child(10n),
.ipsPieBar__legendItem:nth-child(10n) > .ipsPieBar__legendItemKey {
	background: #5fb9da;
}

.ipsPieBar__legend {
	text-align: left;
    margin-top: 10px;
}

.ipsPieBar__legendItemKey {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	border-radius: 5px;
}

/* Step bar */
.ipsStepBar{
	background: var(--c2);
	color: var(--c7);
	margin: 5px;
	border-radius: 5px;
}

.ipsStepBar > .ipsStep > a,
.ipsStepBar > .ipsStep > span{
	color: var(--c7);
}

.ipsStepBar > .ipsStep.ipsStep_active::before,
.ipsStepBar > .ipsStep.ipsStep_active::after{
	background: var(--dark);
}

.ipsStepBar > .ipsStep::before,
.ipsStepBar > .ipsStep::after,
.ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after{
	border-color: var(--c0);
}

	.ipsDarkMode .ipsStepBar > .ipsStep::before,
	.ipsDarkMode .ipsStepBar > .ipsStep::after,
	.ipsDarkMode .ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after {
		border-color: var(--c4);
	}

/* Loading */
.icon-spinner2:before,
.ipsLoading:before{
	border-color: var(--c2);
	border-top-color: var(--c7);
}

/* Stats bar */
.acpStatsBar {
	height: 38px;
	background: #ddd;
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	border-radius: 5px;
	position: relative;
}

	.acpStatsBar::after{
		content: '';
		position: absolute;
		top: 0; left: 0; right: 0; bottom: 0;
		border: 1px solid rgba(0,0,0,0.1);
		border-radius: inherit;
		pointer-events: none;
	}

	.acpStatsBar_segment,
	.acpStatsBar_subsegment {
		height: 38px;
	}

	.acpStatsBar_subsegment {
		background: rgba(0,0,0,0.2);
	}

	.ipsList_inline > .acpStatsBar_legend{
		display: inline-flex;
		align-items: center;
	}
		
	.acpStatsBar_segment:nth-child(10n-9),
	.acpStatsBar_legend:nth-child(10n-9) > .acpStatsBar_preview {
		background: #10967e;
	}
	.acpStatsBar_segment:nth-child(10n-8),
	.acpStatsBar_legend:nth-child(10n-8) > .acpStatsBar_preview {
		background: #ea7963;
	}
	.acpStatsBar_segment:nth-child(10n-7),
	.acpStatsBar_legend:nth-child(10n-7) > .acpStatsBar_preview {
		background: #de6470;
	}
	.acpStatsBar_segment:nth-child(10n-6),
	.acpStatsBar_legend:nth-child(10n-6) > .acpStatsBar_preview {
		background: #6b9dde;
	}
	.acpStatsBar_segment:nth-child(10n-5),
	.acpStatsBar_legend:nth-child(10n-5) > .acpStatsBar_preview {
		background: #b09be4;
	}
	.acpStatsBar_segment:nth-child(10n-4),
	.acpStatsBar_legend:nth-child(10n-4) > .acpStatsBar_preview {
		background: #eec766;
	}
	.acpStatsBar_segment:nth-child(10n-3),
	.acpStatsBar_legend:nth-child(10n-3) > .acpStatsBar_preview {
		background: #9fc973;
	}
	.acpStatsBar_segment:nth-child(10n-2),
	.acpStatsBar_legend:nth-child(10n-2) > .acpStatsBar_preview {
		background: #e291bf;
	}
	.acpStatsBar_segment:nth-child(10n-1),
	.acpStatsBar_legend:nth-child(10n-1) > .acpStatsBar_preview {
		background: #55c1a6;
	}
	.acpStatsBar_segment:nth-child(10n),
	.acpStatsBar_legend:nth-child(10n) > .acpStatsBar_preview {
		background: #5fb9da;
	}

	.acpStatsBar_preview {
		display: inline-block;
		width: 14px;
		height: 14px;
		margin-right: 4px;
		border-radius: 5px;
	}


/* Progress bars */
.ipsProgressBar{
	background: var(--c3);
}

	.ipsProgressBar_progress{
		background: var(--primary);
	}

/* Pixabay modal */
.ipsPixabay_thumb{
	background-color: var(--c1);
}

/* Comment count */
.ipsCommentCount{
	background: var(--c3);
	color: var(--c9);
}

/* Thumbs */
.ipsThumb {
	border-color: var(--c2);
}
	.ipsThumb_bg {
		background-color: var(--c2);
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="pagination.css">.ipsPagination{
	color: var(--text-soft);
}

.ipsPagination .ipsPagination_page.ipsPagination_active a {
	background: var(--primary);
}

[data-role=&quot;pageJump&quot;] .ipsButton{
	margin-top: 10px;
}

.ipsPager{
	color: var(--c7);
}

	.ipsPager_prev a:hover,
	.ipsPager_next a:hover{
		color: var(--c9);
	}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="popups.css"><![CDATA[.ipsAlert,
.ipsDialog > div,
.ipsDialog .ipsDialog_loading{
	background: var(--c0);
}

.ipsModal {
	background: rgba(69,88,107,0.5);
}

.ipsDialog > div {
	box-shadow: 0px 5px 35px rgba(69,88,107,0.4);
	border-radius: 5px;
	background: var(--c0);
}

		.ipsDarkMode .ipsModal{
			background: rgba(0,0,0,0.6);
		}
		.ipsDarkMode .ipsDialog > div{
			box-shadow: 0px 5px 35px rgba(0,0,0,0.4);
		}

.ipsDialog_title {
	font-size: 23px;
	color: var(--c8);
}

.ipsDialog_close{
	color: inherit !important;
}

.ipsMenu {
	background: var(--c1);
	border-color: var(--c3);
}

	.ipsMenu_item > a, 
	.ipsMenu_item > span {
		color: var(--c5);
	}

	.ipsMenu.ipsMenu_topLeft:after,
	.ipsMenu.ipsMenu_topRight:after,
	.ipsMenu.ipsMenu_topCenter:after{
		border-top-color: var(--c1);
	}

	.ipsMenu.ipsMenu_bottomRight:after,
	.ipsMenu.ipsMenu_bottomLeft:after,
	.ipsMenu.ipsMenu_bottomCenter:after{
		border-bottom-color: var(--c1);
	}


.ipsDialog_content .ipsForm {
	margin: 15px;
}

.pac-container {
	z-index: 2000;
}

/* ACP Date pickers */
.ui-datepicker {
	background: var(--c1);
}

.ui-datepicker-header {
	background: var(--dark);
	color: #fff;
	border-bottom-width: 0;
}

	.ipsDarkMode .ui-datepicker-header{
		--input--shadow: transparent;
	}
	.ui-datepicker-title{
		line-height: 1;
	}
		.ui-datepicker-title select{
			margin: 5px;
		}

.ui-datepicker-prev:after, .ui-datepicker-next:after {
	color: #fff;
}
.ui-datepicker th {
	background: var(--c2);
}

.ui-datepicker td a{
	border-radius: 4px;
}

.ui-datepicker td a:hover {
	background-color: var(--c3);
}

.ui-datepicker-current-day {
	background-color: transparent;
	font-weight: bold;
}
	.ui-datepicker-current-day a{
		background: var(--c2);
	}

	.ui-datepicker-title select,
	.ui-datepicker-title option {
		color: var(--c8);
	}

	.ipsDarkMode .ui-datepicker-title select,
	.ipsDarkMode .ui-datepicker-title option {
		color: inherit;
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="support.css">.cSupportQuery {
	border: 0 !important;
	white-space: pre-wrap;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="tables.css">.ipsTable{
	background: #fff;
	background: var(--c0);
}

.ipsTable th {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 500;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}
html[dir=&quot;ltr&quot;] .ipsTable th {
	padding: 11px 20px 11px 10px;
}
html[dir=&quot;rtl&quot;] .ipsTable th {
	padding: 11px 10px 11px 20px;
}

.ipsTable_sortable.ipsTable_sortableActive {
	background: #e0e5ee;
	background: var(--c4);
	color: inherit;
}

	.ipsTable_sortable .ipsTable_sortIcon:after,
	.ipsTable_sortable.ipsTable_sortableActive .ipsTable_sortIcon::after{
		color: inherit;
	}

.ipsTable.ipsMatrix thead th {
	background: #f5f7fb;
	background: var(--c2);
	color: inherit;
}
html[dir=&quot;ltr&quot;] .ipsTable.ipsMatrix thead th {
	padding-left: 15px;
}
html[dir=&quot;rtl&quot;] .ipsTable.ipsMatrix thead th {
	padding-right: 15px;
}

.ipsTable td {
	border-bottom-color: #ebebeb;
	border-bottom-color: var(--c2);
}

.ipsTable_sortable:not(.ipsTable_sortableActive):hover{
	background: rgba(0,0,0,0.02);
}

.ipsTable_zebra tbody tr:nth-child(2n):not(.ipsTable_highlight):not(.ipsModerated){
	background: #f6f8fa;
	background: var(--c1);
}

.ipsTable.ipsMatrix .ipsMatrix_subHeader {
	background: var(--c3);
	color: var(--c8);
}

.ipsTable.ipsMatrix .ipsMatrix_buttons {
	margin-top: 5px;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="tabs.css"><![CDATA[.ipsTabs {
	--ipsTabs--padding: 4px;
	background: #f5f7fb;
	background: var(--c3);
	color: var(--c7);
	box-shadow: inset rgba(0,0,0,0.03) 0px -1px 2px;
}

.ipsTabs_small{
	border-width: 0;
}

.ipsTabs_item{
	margin-right: 3px;
	border-radius: 3px 3px 0 0;
}

.ipsTabs.ipsTabs_small .ipsTabs_item{
	line-height: 36px;
	font-size: 13px;
}

.ipsTabs_item:not( .ipsTabs_activeItem ) {
	color: inherit;
	background: transparent;
	border-top: 2px solid transparent;
}

	.ipsTabs_item:not( .ipsTabs_activeItem ):hover {
		color: rgba(0,0,0,0.8);
		color: var(--c9);
	}

		.ipsDarkMode .ipsTabs_item:not( .ipsTabs_activeItem ):hover {
			background: rgba(255,255,255,0.04);
		}

body .ipsTabs_activeItem {
	background: #fff;
	background: var(--c0);
	color: #3b6c99 !important;
	color: var(--c9) !important;
	font-weight: bold;
	border-top: 2px solid #3b6c99;
	border-top-color: currentColor;
}

	.ipsTabs_activeItem:hover{
		color: var(--c9);
	}

/* Remove background since it's already assigned with .ipsBox */
.ipsTabs_panel{
	background-color: transparent;
}

/* Don't apply above to forms when they're the only thing in a tab, though */ 
.ipsTabs_panel > .ipsForm,
.ipsTabs_panel div[data-controller="core.global.core.table"],
.ipsTabs_panel .acpTrees_buttons + .acpBlock,
.ipsTabs_panel .ipsForm,
.ipsTabs_panel .ipsChart {
	margin: 10px;
}

	.ipsTabs_panel .ipsTabs_panel .ipsChart {
		margin: 0;
		border: 0;
		box-shadow: none;
	}

.ipsTabs_panel *:not( [data-controller="core.global.core.table"] ) .ipsToolList {
	padding: 10px 10px 0 10px;
}

	.ipsTabs_panel > .ipsForm *:not( [data-controller="core.global.core.table"] ) .ipsToolList,
	.ipsTabs_panel div[data-controller="core.global.core.table"] .ipsToolList {
		padding: 0;
	}

.ipsTabs_panel .acpBlock {
	border: 0;
	padding: 0;
	box-shadow: none;
}

/* Dark tabs */
.ipsTabs.ipsTabs_alt {
	background: #2E3D49;
}

	.ipsTabs.ipsTabs_alt .ipsTabs_item:not( .ipsTabs_activeItem ) {
		background: rgba(255,255,255,0.1);
		color: rgba(255,255,255,0.8);
	}

/* Vertical tabs */
.ipsTabs.ipsTabs_vertical {
	padding: 2px 0 2px 2px;
}

.ipsTabs.ipsTabs_vertical > ul {
	display: flex;
	flex-direction: column;
	width: 50px;
}

	.ipsTabs.ipsTabs_vertical > ul > li {
		flex-grow: 1;
	}

		.ipsTabs.ipsTabs_vertical > ul > li > a {
			width: 100%;
		}

.ipsTabs.ipsTabs_vertical .ipsTabs_item {
	border-top: 0;
	border-left: 2px solid transparent;
	margin-bottom: 2px;
	padding: 0 15px;
}

.ipsTabs.ipsTabs_vertical .ipsTabs_activeItem {
	border-left: 2px solid #3b6c99;
}

.cBulkRecipient_count {
	line-height: 24px;
	background: #ddd;
	color: #222;
	font-weight: 400;
	font-size: 12px;
	border-radius: 2px;
	display: inline-block;
	padding: 0 10px;
}
html[dir="ltr"] .cBulkRecipient_count {
	margin-left: 8px;
	margin-right: 8px;
}
html[dir="rtl"] .cBulkRecipient_count {
	margin-right: 8px;
	margin-left: 8px;
}

.ipsTabs_activeItem .cBulkRecipient_count {
	background: #3b6c99;
	color: #fff;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="treelist.css"><![CDATA[.ipsTreeList, .ipsTreeList ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.ipsTreeList a {
		color: inherit;
		padding: 7px 0;
		font-size: 14px;
		display: block;
		position: relative;
	}

	html[dir="ltr"] .ipsTreeList li a { padding-left: 15px;	}
	html[dir="ltr"] .ipsTreeList li li a { padding-left: 30px; }
	html[dir="ltr"] .ipsTreeList li li li a { padding-left: 45px; }
	html[dir="ltr"] .ipsTreeList li li li li a { padding-left: 60px; }
	html[dir="rtl"] .ipsTreeList li a { padding-right: 15px; }
	html[dir="rtl"] .ipsTreeList li li a { padding-right: 30px; }
	html[dir="rtl"] .ipsTreeList li li li a { padding-right: 45px; }
	html[dir="rtl"] .ipsTreeList li li li li a { padding-right: 60px; }

	.ipsTreeList_inactiveBranch > ul {
		display: none;
	}

	.ipsTreeList_inactiveBranch > a:before,
	.ipsTreeList_activeBranch > a:before {
		font-family: 'FontAwesome';
		font-size: 14px;
		line-height: 6px;
	}

		html[dir="ltr"] .ipsTreeList_inactiveBranch > a:before,
		html[dir="ltr"] .ipsTreeList_activeBranch > a:before {
			margin-right: 7px;
		}
		html[dir="rtl"] .ipsTreeList_inactiveBranch > a:before,
		html[dir="rtl"] .ipsTreeList_activeBranch > a:before {
			margin-right: 7px;
		}

		.ipsTreeList_inactiveBranch > a:before {
			content: '\f0da';
		}
		.ipsTreeList_activeBranch > a:before {
			content: '\f0d7';
		}

	.ipsTreeList_activeNode > a {
		background: #3B6C99;
		background: var(--primary);
		color: #fff;
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="trees.css"><![CDATA[.ipsTree, .ipsTree ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ipsTree {
	margin: 7px;
}

.ipsTree_row {
	display: flex;
	align-items: center;
	padding: 15px;
}

	.ipsTree_row > *{
		min-width: 0;
	}

	.ipsTree_row + form > .ipsTree_rows {
		padding-left: 15px;
	}

.ipsTree_row:hover .ipsControlStrip {
	opacity: 1;
}

html[dir="ltr"] .ipsTree_loadingRow {
	padding: 10px 10px 10px 30px;
}
	html[dir="ltr"] .ipsTree_loadingRow:before {
		left: 15px;
	}
html[dir="rtl"] .ipsTree_loadingRow {
	padding: 10px 30px 10px 10px;
}
	html[dir="rtl"] .ipsTree_loadingRow:before {
		right: 15px;
	}

/* Cell types */
.ipsTree_drag {
	min-width: 30px;
	text-align: center;
}

	.ipsTree_drag .ipsTree_dragHandle {
		opacity: 0.2;
		cursor: move;
	}

.ipsTree_controls {
	flex: 0 0 110px;
	align-self: flex-start;
}
	
	.ipsTree_controls .ipsControlStrip {
		float: right;
	}
	html[dir="rtl"] .ipsTree_controls .ipsControlStrip {
		float: left;
	}

.ipsTree_rowData {
	padding: 0 10px;
	flex: 1 1 auto;
	position: relative;
}

.ipsTree_badge {
	padding-right: 10px;
	vertical-align: middle;
}

.ipsTree_icon {
	width: 24px;
}

/* Stack styles */
.ipsTree_rowData h4 {
	margin: 0;
	width: 100%;
	font-weight: normal;
	font-size: 14px;
}

.ipsTree_parent.ipsTree_row:not( .ipsTree_noToggle ):hover {
	/* background: rgba(245,246,247,0.7); */
	cursor: pointer;
}

html[dir="ltr"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData {
	padding-left: 35px;
}
html[dir="rtl"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData {
	padding-right: 35px;
}

	.ipsTree_parent.ipsTree_row > .ipsTree_rowData h4 {
		font-weight: 500;
		font-size: 16px;
		position: relative;
		display: inline-block;
	}

		.ipsJS_has .ipsTree_parent.ipsTree_row > .ipsTree_rowData h4 a {
			color: inherit;
		}

	.ipsTree_parent.ipsTree_row > .ipsTree_rowData h4:before {
		position: absolute;
		top: 5px;
		content: '\f04b';
		font-family: 'FontAwesome';
		font-size: 11px;
		text-align: center;
		display: block;
		opacity: 0.5;
		transition: 0.2s all linear;
	}
	html[dir="ltr"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData h4:before {
		left: -25px;
	}
	html[dir="rtl"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData h4:before {
		right: -25px;
	}

		.ipsTree_parent.ipsTree_row > .ipsTree_rowData h4:before {
			transform: rotate(0deg);
		}
		html[dir="rtl"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData h4:before {
			transform: rotate(180deg);
		}

		.ipsTree_parent.ipsTree_open.ipsTree_row > .ipsTree_rowData h4:before {
			transform: rotate(90deg);
			opacity: 1;
		}
		html[dir="rtl"] .ipsTree_parent.ipsTree_open.ipsTree_row > .ipsTree_rowData h4:before {
			transform: rotate(90deg);
			opacity: 1;
		}

.ipsTree_row {
	border-bottom: 1px solid #f0f0f0;
	border-bottom-color: var(--c2);
}

.ipsTree_row.ipsTree_parent {
	border-bottom: 1px solid #f0f0f0;
	border-bottom-color: var(--c2);
}

	ol.ipsTree > li:last-child > .ipsTree_row:not( .ipsTree_open ) {
		border-bottom: 0;
	}

	.ipsTree_row.ipsTree_draggingInto {
		background: #cfcfcf;
	}

.ipsTree_row + ol .ipsTree_row {
	background: #fafafa;
	border-bottom: 1px solid #ececec;
}

.ipsTree_row + ol .ipsTree_row + ol .ipsTree_row {
	background: #fff;
	border-bottom: 1px solid #f4f4f4;
}

html[dir="ltr"] ol ol {
	margin-left: 28px;
}
html[dir="rtl"] ol ol {
	margin-right: 15px;
}

/* Open trees */
.ipsTree_row.ipsTree_open {
	
}

/* Nested sortable classes */
.mjs-nestedSortable-error {
	border: 1px solid #e85959 !important;
	background: #f3d9d9 !important;
	min-height: 48px !important;
	position: relative;
}

	.mjs-nestedSortable-error:before,
	.mjs-nestedSortable-error:after {
		display: block;
		position: absolute;
		line-height: 48px;
		font-size: 11px;
		color: #e85959;
	}

	.mjs-nestedSortable-error:before {
		content: attr(data-error);
		left: 30px;
	}

	.mjs-nestedSortable-error:after {
		content: '\f071';
		font-family: 'FontAwesome';
		left: 10px;
	}

.sortable-placeholder {
	border: 1px solid #59aee8;
	background: #d9e8f3;
	min-height: 48px;
}

.ipsTree_row .ipsTree_row_cells {
	
}

	.ipsTree_row .ipsTree_row_cells .ipsTree_row_cell {
		width: auto;
		border-right: 1px solid #f0f0f0;
		padding-right: 8px;
		padding-left: 8px;
		min-width: 75px;
		display: inline-block;
	}
	
		.ipsTree_row .ipsTree_row_cells .ipsTree_row_cell:last-child {
			border-right: 0px;
		}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="core" css_name="typography.css"><![CDATA[.ipsType_richText{
	color: inherit;
}

.ipsType_veryLarge{
	color: var(--c8);
}

.ipsType_light {
	color: #587898;
	color: var(--text-soft);
}

	.ipsType_light a{
		text-decoration: underline;
	}

.ipsType_neutral {
	color: var(--c5);
}

.ipsType_huge{
	color: var(--c8);
}

.ipsType_pageTitle,
.ipsType_sectionHead {
	font-weight: 300;
}

.ipsType_pageTitle {
	font-size: 23px;
	color: var(--c9);
}

.ipsType_sectionHead {
	font-size: 18px;
	color: var(--c9);
}

.ipsType_sectionTitle {
    display: block;
	background: none;
	box-shadow: none;
	border-width: 0;
	font-size: 15px;
	font-weight: 600;
	padding: 16px;
	margin: 0;
	text-transform: none;
}

.ipsType_positive {
	color: var(--positive-dark);
}
.ipsType_negative {
	color: var(--negative-dark);
}


/* Pretty print and code */
.ipsCode,
.ipsDarkMode pre.prettyprint {
	background: var(--c1);
	border-color: var(--c4) !important;
}
.ipsDarkMode.ipsApp .CodeMirror{
	background: var(--c0);
	color: var(--c8);
	border-color: var(--c4);
}
    .ipsDarkMode .CodeMirror-gutters{
        border-color: var(--c2);
        background: var(--c0);
    }
    .ipsDarkMode .CodeMirror-linenumber{
        color: var(--c4);
    }
    .ipsDarkMode .diffDeleted{
        background: #673f3f;
        color: #fff;
    }
    .ipsDarkMode .diffInserted{
        background: #52613f;
        color: #fff;
    }
    .ipsDarkMode.ipsApp .CodeMirror-merge-l-chunk {
        background: var(--c4);
    }
    .ipsDarkMode.ipsApp .CodeMirror-merge-gap {
        background: var(--c6);
    }

.ipsDarkMode.ipsApp .cm-s-default .cm-meta{ color: #a5acbd; }
.ipsDarkMode.ipsApp .cm-s-default .cm-tag { color: #a0dd96; }
.ipsDarkMode.ipsApp .cm-s-default .cm-attribute { color: #bdbdf9; }
.ipsDarkMode.ipsApp .cm-s-default .cm-string { color: #f9e1a8; }
.ipsDarkMode.ipsApp .cm-s-default .cm-comment { color: #fdc389; }
.ipsDarkMode.ipsApp .cm-s-default .cm-error { color: #d56262; }
.ipsDarkMode.ipsApp .cm-s-default .cm-qualifier { color: #86c1ab; }
.ipsDarkMode.ipsApp .cm-s-default .cm-atom { color: #f9d88a; }
.ipsDarkMode.ipsApp .cm-s-default .cm-number { color: #f7ca90; }
.ipsDarkMode.ipsApp .cm-s-default .cm-def { color: #a9a9ff; }
.ipsDarkMode.ipsApp .cm-s-default .cm-variable-3, 
.ipsDarkMode.ipsApp .cm-s-default .cm-type { color: #e3fbf2; }
.ipsDarkMode.ipsApp .cm-s-default .cm-keyword { color: #ffa1a1; }
.ipsDarkMode.ipsApp .cm-s-default .cm-variable-2{ color: #94c0ec; }
.ipsDarkMode.ipsApp .cm-s-default .cm-builtin{ color: #b89cf9; }

.ipsDarkMode .CodeMirror-selected { background: rgba(255,255,255,0.25); }
.ipsDarkMode.ipsApp .CodeMirror-focused .CodeMirror-selected { background: rgba(255,255,255,0.25); }
.ipsDarkMode.ipsApp .CodeMirror-line::selection, 
.ipsDarkMode.ipsApp .CodeMirror-line > span::selection, 
.ipsDarkMode.ipsApp .CodeMirror-line > span > span::selection { background: rgba(255,255,255,0.25); }
.ipsDarkMode.ipsApp .CodeMirror-line::-moz-selection, 
.ipsDarkMode.ipsApp .CodeMirror-line > span::-moz-selection, 
.ipsDarkMode.ipsApp .CodeMirror-line > span > span::-moz-selection { background: rgba(255,255,255,0.25); }

.ipsDarkMode .pln{
    color: #fff
}
@media screen{
    .ipsDarkMode .str{
        color:#f9e1a8
    }
    .ipsDarkMode .kwd{
        color:#ffa1a1
    }
    .ipsDarkMode .com{
        color:#fdc389
    }
    .ipsDarkMode .typ{
        color:#aeecd5
    }
    .ipsDarkMode .lit{
        color:#a9a9ff
    }
    .ipsDarkMode .pun,
    .ipsDarkMode .opn,
    .ipsDarkMode .clo{
        color:#f9d88a
    }
    .ipsDarkMode .tag{
        color:#a0dd96
    }
    .ipsDarkMode .atn{
        color:#d56262
    }
    .ipsDarkMode .atv{
        color:#a0dd96
    }
    .ipsDarkMode .dec,
    .ipsDarkMode .var{
        color:#d56262
    }
    .ipsDarkMode .fun{
        color: #ffa1a1
    }
}
.ipsDarkMode li.L1,
.ipsDarkMode li.L3,
.ipsDarkMode li.L5,
.ipsDarkMode li.L7,
.ipsDarkMode li.L9{
    background: var(--c1);
}

.ipsDarkMode code [style*='color: #000000']{
	color: #fff !important;
}
.ipsDarkMode code [style*='color: #0000BB']{
	color: #a9a9ff !important;
}
.ipsDarkMode code [style*='color: #007700']{
	color: #a0dd96 !important;
}
.ipsDarkMode code [style*='color: #DD0000']{
	color: #d67979 !important;
}

.ipsDarkMode .CodeMirror-cursor{
    border-color: #fff;
}

/* Export diff template names */
.acpBlock_title{
    font-size: 18px;
    font-weight: bold;
    color: var(--c9);
    padding: 1em;
}

/* Branded links in dark theme should not apply as the colors clash */
.ipsDarkMode .ipsType_brandedLinks a,
.ipsDarkMode a.ipsType_brandedLink{
    color: var(--a-hover--color);
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="custom" css_name="custom.css">/**
 * This file is for your custom CSS.
 * This file is not modified or overwritten during upgrades
 */</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="emoticons.css"><![CDATA[/*#emoticonsManagement ul {
	min-height: 50px;
}*/

#emoticonsManagement li [data-role="dragHandle"] {
	cursor: move;
}

.cEmoticons_box {
	text-align: center;
	height: 100%;
	position: relative;
	padding-bottom: 40px;
}
	
	.cEmoticons_box > .ipsPad_half:first-child {
		display: table;
		width: 100%;
		height: 100%;
		vertical-align: middle;
	}

.cEmoticons_hd {
	position: absolute;
	right: 13px;
	bottom: 11px;
}
.cEmoticons_input {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

.cEmoticons_box [data-delete] {
	background: #222;
	width: 18px;
	height: 18px;
	line-height: 18px;
	color: #fff;
	position: absolute;
	top: -5px;
	right: -5px;
	border-radius: 30px;
}

#emoticonsManagement img {
	max-height: 100px;
}

#emoticonsManagement input {
	padding: 3px 40px 3px 3px;
	width: 100%;
	font-size: 13px;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="languages.css">.cTranslateTable .ipsTable_wrap {
	max-width: 220px;
}

.cTranslateTable_field {
	position: relative;
}
	
	.cTranslateTable_field a[data-action] {
		display: none;
		position: absolute;
		height: 22px;
		bottom: -22px;
		z-index: 4000;
		line-height: 20px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}

		.cTranslateTable_field_focus textarea ~ a[data-action] {
			display: block;
		}

		.cTranslateTable_field a[data-action=&quot;saveWords&quot;] {
			right: 0;
		}

		.cTranslateTable_field a[data-action=&quot;revertWords&quot;] {
			right: 55px;
		}

.cTranslateTable textarea {
	height: 100%;
	min-height: 50px;
	min-width: 150px;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="templates.css"><![CDATA[/* ----- */
#elTemplateEditor {
	margin: 0 -15px -5px -15px;
	border-top: 1px solid rgba(0,0,0,0.1);
}

		.ipsDarkMode #elTemplateEditor{
			margin: 0 -5px -5px -5px;
			border-width: 0;
		}

.cTemplateControls,
#elTemplateEditor .ipsTabs {
	background: #e0e6ee;
	background: var(--c1);
}

html[dir="ltr"] #elTemplateEditor > .ipsColumns > .ipsColumn_wide {
	border-right: 4px solid #e0e6ee;
	border-color: var(--c1);
}
html[dir="rtl"] #elTemplateEditor > .ipsColumns > .ipsColumn_wide {
	border-left: 4px solid #e0e6ee;
	border-color: var(--c1);
}

.cTemplateControls {
	height: 66px;
	padding-top: 15px;
}

	.cTemplateControls .ipsButton.ipsButton_disabled {
		opacity: 0.2;
	}

#elTemplateEditor_fileListControls {
	padding-left: 15px;
	padding-right: 15px;
}

	#elTemplateEditor_fileListControls > div:first-child {
		display: flex;
	}

		#elTemplateEditor_fileListControls > div:first-child input[type="text"] {
			flex-grow: 1;
			padding: 0 7px;
			/* border: 0; */
			border-right-width: 0px;
			line-height: 34px;
			border-radius: 3px 0 0 3px;
			box-shadow: none;
		}
			html[dir="ltr"] #elTemplateEditor_fileListControls > div:first-child input[type="text"] {
				border-radius: 3px 0 0 3px;
			}
			html[dir="rtl"] #elTemplateEditor_fileListControls > div:first-child input[type="text"] {
				border-radius: 0 3px 3px 0;
			}

html[dir="ltr"] #elTemplateEditor_panelToolbar {
	padding-right: 15px;
}
html[dir="rtl"] #elTemplateEditor_panelToolbar {
	padding-left: 15px;
}

#elTemplateEditor > .ipsColumns > .ipsColumn {
	padding: 0;
}

#elTemplateEditor_info {
	position: fixed;
	bottom: 0;
	background: #fff;
	background: var(--c0);
	text-align: center;
	padding: 7px;
	border-top: 1px solid rgba(0,0,0,0.2);
	border-color: var(--c2);
}
	html[dir="ltr"] #elTemplateEditor_info {
		left: 270px;
		right: 0;
	}
	html[dir="ltr"] body.cAdminHideMenu #elTemplateEditor_info {
		left: 70px;
	}
	html[dir="rtl"] #elTemplateEditor_info {
		right: 270px;
		left: 0;
	}
	html[dir="rtl"] body.cAdminHideMenu #elTemplateEditor_info {
		right: 70px;
	}
	

#elTemplateEditor .ipsTabs {
	padding: 0;
}
	
	#elTemplateEditor .ipsTabs_item {
		text-overflow: clip !important;
		margin-right: 0;
		color: inherit;
		border-radius: 0;
	}

	#elTemplateEditor .ipsTabs_item.ipsTabs_activeItem {
		background: #fff;
		background: var(--c0);
		font-weight: bold;
	}

#elTemplateEditor [data-role="editor"],
#elTemplateEditor .CodeMirror {
	border-width: 0px !important;
	border-radius: 0px !important;
	padding-bottom: 10px;
}



#elTemplateEditor [data-role="editor"] {
	font-family: monospace;
	font-size: 13px;
}

#elTemplateEditor [data-role="templateToolbar"] {
	margin-bottom: 15px;
}

#elTemplateEditor_panelWrap {
	position: absolute;
	top: 0px;
	left: 0;
	bottom: 0;
	right: 0;
}

#elTemplateEditor_outerPanelWrap {
	position: relative;
}

#elTemplateEditor [data-role="templatePanelWrap"] {
	width: 100%;
	background-color: #fff;
	background-color: var(--c0);
	position: absolute;
	top: 49px;
	left: 0;
	right: 0;
	bottom: 0;
}

	#elTemplateEditor [data-role="templatePanelWrap"] textarea {
		height: 550px;
	}

#elTemplateEditor [data-action="closeTab"] {
	font-size: 12px;
	color: #b4b4b4;
	color: var(--c5);
	margin: 0 0px 0 3px;
}
html[dir="rtl"] #elTemplateEditor [data-action="closeTab"] {
	margin: 0 3px 0 0px;
}

	#elTemplateEditor [data-action="closeTab"]:hover,
	#elTemplateEditor [data-state="unsaved"] [data-action="closeTab"] {
		color: #333;
		color: var(--c8);
	}

#elTemplateEditor input[data-role="templateSearch"] {
 	background-clip: padding-box;
	width: 75%;
	max-width: 350px;
	padding: 7px;
}
#elTemplateFilterMenu {
	line-height: 34px;
}
	html[dir="ltr"] #elTemplateFilterMenu {
		border-radius: 0 3px 3px 0;
	}
	html[dir="rtl"] #elTemplateFilterMenu {
		border-radius: 3px 0 0 3px;
	}

/* FILE LISTING STYLES */
#elTemplateEditor_fileList {
	height: 550px;
	overflow: auto;
}

.cTemplateList a {
	padding: 5px 0;
	display: block;
	position: relative;
	color: #333;
	color: var(--c7);
}

.cTemplateList li.cTemplateList_inactiveBranch > a:before,
.cTemplateList li.cTemplateList_activeBranch > a:before {
	font-family: 'FontAwesome';
	display: inline-block;
	line-height: 6px;
	font-size: 14px;
}
	html[dir="ltr"] .cTemplateList li.cTemplateList_inactiveBranch > a:before,
	html[dir="ltr"] .cTemplateList li.cTemplateList_activeBranch > a:before {
		content: '\f0da';
		margin-right: 7px;
	}
	html[dir="rtl"] .cTemplateList li.cTemplateList_inactiveBranch > a:before,
	html[dir="rtl"] .cTemplateList li.cTemplateList_activeBranch > a:before {
		content: '\f0d9';
		margin-left: 7px;
	}

	html[dir="ltr"] .cTemplateList li.cTemplateList_activeBranch > a:before,
	html[dir="rtl"] .cTemplateList li.cTemplateList_activeBranch > a:before {
		content: '\f0d7';
	}

.cTemplateList li.cTemplateList_inactiveBranch > ul {
	display: none;
}

.cTemplateList_highlight {
	background: rgb(237, 245, 247);
	background: var(--c1);
}

html[dir="ltr"] .cTemplateList li a {
	padding-left: 15px;
}
html[dir="rtl"] .cTemplateList li a {
	padding-right: 15px;
}

html[dir="ltr"] .cTemplateList li li a {
	padding-left: 30px;
}
html[dir="rtl"] .cTemplateList li li a {
	padding-right: 30px;
}

	html[dir="ltr"] .cTemplateList li li li a {
		padding-left: 45px;
	}
	html[dir="rtl"] .cTemplateList li li li a {
		padding-right: 45px;
	}

		html[dir="ltr"] .cTemplateList li li li li a {
			padding-left: 70px;
		}
		html[dir="rtl"] .cTemplateList li li li li a {
			padding-right: 70px;
		}

.cTemplateList li.cTemplateList_activeNode > a {
	background: #215e98;
	background: var(--primary);
	color: #fff;
}

.cTemplateList li:not( .cTemplateList_activeNode ) > a:hover {
	background: #f5f7fb;
	background: var(--c2);
}

/* INHERITED VALUES */
a[data-inherited-value]:after {
	position: absolute;
	margin-top: 2px;
}
html[dir="ltr"] a[data-inherited-value]:after {
	right: 5px;
}
html[dir="rtl"] a[data-inherited-value]:after {
	left: 5px;
}

li[class^="cTemplateState_"]:before {
	display: inline-block;
	color: #fff !important;
}

a[data-inherited-value]:after, li[class^="cTemplateState_"]:before {
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: monospace;
	padding: 0 5px;
	color: #b3b3b3;
	line-height: 14px;
	border-radius: 10px;
	opacity: 0.1;
	transition: 0.4s all linear;
}

a[data-inherited-value="original"]:after {
	display: none;
}

	.cTemplateList:hover a[data-inherited-value]:after, li[class^="cTemplateState_"]:before {
		opacity: 1;
	}

.cTemplateList a[data-inherited-value="custom"]:after, .cTemplateState_custom:before {
	content: 'C';
	background: #c9c030;
	color: #fff;
}

.cTemplateList a[data-inherited-value="inherit"]:after, .cTemplateState_inherit:before {
	content: 'I';
	background: #83b256;
	color: #fff;
}

.cTemplateList a[data-inherited-value="changed"]:after, .cTemplateState_changed:before {
	content: 'M';
	background: #eb841d;
	color: #fff;
}

.cTemplateList a[data-inherited-value="outofdate"]:after, .cTemplateState_outofdate:before {
	content: 'M';
	background: #c93054;
	color: #fff;
}

.cTemplateMergeHeaders {
	border: 1px solid var(--c3);
	border-bottom: 0;
}
.cTemplateMergeHeader {
	width: 47%;
	display: inline-block;
}
.cTemplateMergeHeader_spacer {
	width: 6%;
	display: inline-block;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="themes.css">.ipsCms_theme_image_preview {
	max-height: 100px;
	max-width: 100px;
}

.ipsThemeKey {
	border-bottom: 1px dotted black;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="toolbars.css">.editor_dummy {
	border: rgb(204, 204, 204) 1px solid !important;
	margin: auto !important;
}
.editor_dummy_desktop {
	width: 700px !important;
}
.editor_dummy_tablet {
	width: 400px !important;
}
.editor_dummy_phone {
	width: 320px !important;
}
.editor_dummy .dummy_toolbars {
	background-color: rgb( 247, 247, 247 );
}
.editor_dummy .dummy_toolbars li {
	display: inline;
	float: left;
}
html[dir=&quot;rtl&quot;] .editor_dummy .dummy_toolbars li {
	float: right;
}
.editor_dummy .cke_toolbar {
	min-height: 35px;
	width: 100%;
}

.editor_dummy .dummy_toolbar {
	clear: both;
	min-height: 25px;
	width: 100%;
}
.editor_dummy .dummy_contents {
	background: white !important;
	padding-left: 15px;
	padding-right: 15px;
}
.editor_dummy .dummy_contents p {
	padding: 5px;
}
.editor_dummy .cke_toolbar_separator {
	margin-left: 3px;
	margin-right: 3px;
	display: block;
}

.dummy_button {
	z-index: 10000 !important;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="customization" css_name="visuallanguage.css">[data-vle]:hover {
	background: #eeebd6;
	cursor: pointer;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="dashboard" css_name="files.css">.ipsTable .cFilesTable_multimod {
    width: 10px;
}

/* PHONES */
@media screen and (max-width: 767px) {

    .ipsTable tr,
    .ipsTable tr td {
        display: block;
    }

    html[dir=&quot;ltr&quot;] .ipsTable .cFilesTable_multimod {
        right: 10px;
    }

    html[dir=&quot;rtl&quot;] .ipsTable .cFilesTable_multimod {
        left: 10px;
    }

    .ipsTable .ipsButtonRow {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .ipsTable ~ .ipsList_inline {
        margin-top: 20px;
    }
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="dashboard" css_name="onboard.css"><![CDATA[.elOnboardGrid .fa-lg {
    font-size: 150px;
    line-height: 190px;
    vertical-align: middle;
}

.elOnboardGrid > div {
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.cOnboardBox  {
	padding: 40px;
	max-width: 900px;
	margin: 70px auto 0;
	border: 0;
	border-top-width: 20px;
	border-style: solid;
	border-color: #35589d;
	border-color: #215e98;
	border-image-source: linear-gradient(to right, #215e98, #0c849f);
	border-image-slice: 1;
}

	.cOnboardBox .ipsType_pageTitle {
		font-weight: 500;
		font-size: 30px;
	}

	.cOnboardBox hr.ipsHr {
		margin: 35px 0;
	}

	.cOnboardBox .cOnboardBox__text {
		font-size: 16px;
		line-height: 1.4;
	}

.cOnboardBox__image {
	margin-top: -110px;
	margin-right: -80px;
}

.cOnboardBox__stepTitle {
	line-height: 1.2;
}
.cOnboardBox__stepIcon {
	font-size: 30px;
	opacity: 0.5;
	width: 40px;
}


.cOnboard {

}

.cOnboard__sectionTitle {
	font-weight: 600;
	cursor: pointer;
	font-size: 18px;
	background: #f5f7fb;
	background: var(--c2);
}

	.cOnboard__sectionTitle .fa {
		font-size: 20px;
		transition: 0.2s all ease-in-out;
	}
		
		.cOnboard__sectionTitle .fa.fa-check-circle-o {
			font-weight: 300;
		}

.cOnboard__infoTitle {
	font-size: 17px;
	font-weight: 500;
}

.cOnboard__column--info {
	min-width: 450px;
	width: 450px;
}

.cOnboard__column--withBorder {
	border-right: 2px solid var(--c2);
}

@media screen and (max-width: 1500px) {
	.cOnboard__column--info {
		min-width: 350px;
		width: 350px;
	}	
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
	.cOnboard__sectionContents {
		flex-direction: column;
	}

	.cOnboard__column--info {
		flex-direction: row;
	}

		.cOnboard__column--info > div {
			flex: 1 0;
		}

		.cOnboard__column--info > div:first-child {
			margin-right: 15px;
		}
		.cOnboard__column--info > div:last-child {
			margin-left: 15px;
		}
}

@media screen and (max-width: 1200px) {
	.cOnboard__column--info {
		min-width: 100%;
		width: 100%;
		padding-bottom: 20px;
	}

	.cOnboard__column--withBorder {
		border-right: none;
		border-bottom: 2px solid var(--c2);
	}

	.cOnboard__column--form {
		padding-top: 30px;
	}

	.cOnboard__sectionButtons .cOnboard__column--info {
		display: none;
	}

	.cOnboard__sectionButtons .cOnboard__column--form {
		padding-left: 30px;
	}
}

.cOnboard__column--form .ipsFieldRow {
	margin: 15px 0 0;
	padding: 0 0 15px 0;
}

	.cOnboard__column--form .ipsFieldRow:first-child {
		margin-top: 0;
	}


.cOnboard__section--closed.cOnboard__section--done .cOnboard__sectionTitle {
	opacity: 0.4;
}

.cOnboard__section--closed.cOnboard__section--done .fa {
	transform: rotate(0);
	opacity: 0.6;
}
	.cOnboard__section--closed.cOnboard__section--done .fa:before {
		content: '\f05d';
	}

.cOnboard__section--closed .cOnboard__sectionTitle {
	background: transparent;
}

	.cOnboard__section--closed .cOnboard__sectionTitle:hover {
		background: var(--c1)
	}

.cOnboard__section--closed .cOnboard__sectionContents,
.cOnboard__section--closed .cOnboard__sectionButtons {
	display: none;
}

.cOnboard__section--closed .cOnboard__sectionIcon {
	transform: rotate(-90deg);
}
]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="_vars.css"><![CDATA[:root {
	/* Master scales & styles */
	--sp-0: 0px;
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 20px;
	--sp-6: 24px;
	--sp-7: 32px;
	--sp-8: 40px;
	--sp-9: 48px;
	--sp-10: 64px;

	/* Border vars */
	--radius-1: 4px;
	--radius-2: 8px;
	--border-1px: 1px solid rgba( var(--theme-text_light), 0.15 );

	/* Size vars for photos, ranks, badges, reactions etc.  */
	--size-1: 20px;
	--size-2: 24px;
	--size-3: 30px;
	--size-4: 36px;
	--size-5: 44px;
	--size-6: 56px;
	--size-7: 72px;
	--size-8: 92px;

	/* Status colors */
	--positive-dark: #2C8C69;
	--positive-light: #e3f3ec;
	--negative-dark: #C53030;
	--negative-light: #FFF5F5;
	--intermediate-dark: #DD6B20;
	--intermediate-light: #FFFAF0;
	--informational-dark: #2981bf;
	--informational-light: #e9f0f5;
	--general-dark: #7f858d;
	--general-light: #f0f4f8;
	
	/* Variables used for specific contexts */
	--box--boxShadow: 0px 2px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
	--box--boxShadow-bottom: 0px 2px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
	--box--boxShadow-left: -2px 0px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
	--box--boxShadow-right: 2px 0px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
	--box--boxShadow-top: 0px -2px 4px -1px rgba( var(--theme-area_background_dark), 0.1 );
	--box--backgroundColor: rgb( var(--theme-area_background_reset) );
	--box--radius: var(--radius-1);
	--solved--borderColor: 44, 140, 105;
	
	/* Popup/dialog colors */
	--popup--radius: var(--radius-1);
	--popup--border: 1px solid rgba( var(--theme-area_background_dark), 0.1 );
	--popup--boxShadow: 0 8px 50px rgba(0,0,0,0.1), 0px 4px 15px rgba(0,0,0,0.05);
	--dialog--boxShadow: 0px 5px 55px rgba( var(--theme-area_background_dark), 0.4 ), 0px 7px 24px -12px rgba( var(--theme-area_background_dark), 0.7 );

	/* Nav sizes */
	--header--height: {theme="header_height"}px;
	--responsive-header--height: {theme="header_height_mobile"}px;
	--logo--height: {theme="logo_height"}%;
	--responsive-logo--height: var(--logo--height);
	--primary-navigation--height: 52px;
	--secondary-navigation--height: 50px;

	/* Form styles */
	--form-field--radius: var(--radius-1);
	--form-field--borderColor: rgba( var(--theme-text_light), 0.4 );
	--form-field--borderHoverColor: rgba( var(--theme-text_light), 0.8 );
	--form-field--focusShadow: rgba( var(--theme-active_input_border), 0.3 ) 0px 0px 0px 4px;

	/* Button styles */
	--button--radius: var(--radius-1);

	/* Trophy colors */
	--trophy-first--background: #fac746;
	--trophy-first--color: #704926;
	--trophy-second--background: #c0c0c0;
	--trophy-third--background: #cd7f32;


	/* Page widths */
	--container--width: 1340px;
	--minimal_container--width: 1000px;
	
	/* Theme settings */
	/* Format is --theme-[setting-key] */
{expression="\IPS\Theme::i()->css_vars"}

}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="animation.css">/* Animation: classes used by javascript to add predefined animations to elements */
/* ======================================================== */
.ipsAnim {
	animation-duration: 0.5s;
	animation-fill-mode: both;
	animation-timing-function: ease-out;
	/* By setting an invisible 3d transform, we can cause */
	/* browsers to render the animation with the GPU instead */
	transform: translate3d(0,0,0);
}

.ipsAnim.ipsAnim_fast {
	animation-duration: 0.25s;
}

.ipsAnim.ipsAnim_slow {
	animation-duration: 0.8s;
}

.ipsAnim.ipsAnim_verySlow {
	animation-duration: 1.2s;
}

/* ======================================================== */
/* FADE IN/OUT */
@keyframes fadeIn {			0% { opacity: 0; }	100% { opacity: 1; } }
@keyframes fadeOut {		0% { opacity: 1; }	100% { opacity: 0; } }

@keyframes fadeInDown {
	0% { opacity: 0; transform: translateY(-20px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutDown {
	0% { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(20px); }
}

.ipsAnim_fade.ipsAnim_in {
	opacity: 1;
	animation-name: fadeIn;
}
.ipsAnim_fade.ipsAnim_out {
	opacity: 1;
	animation-name: fadeOut;
}
.ipsAnim_fade.ipsAnim_in.ipsAnim_down {
	animation-name: fadeInDown;
}
.ipsAnim_fade.ipsAnim_out.ipsAnim_down {
	animation-name: fadeOutDown;
}

/* ======================================================== */
/* BLIND DOWN */
@keyframes blindDown {
	0% { height: 0; }
	100% { height: auto; }
}

.ipsAnim_blind.ipsAnim_down {
	height: auto;
	animation-name: blindDown;
}

/* ======================================================== */
/* BLIND Up */
@keyframes blindUp {
	0% { height: auto; }
	100% { height: 0; }
}

.ipsAnim_blind.ipsAnim_up {
	height: 0;
	animation-name: blindUp;
}

/* ======================================================== */
/* SLIDE */
@keyframes slideFromRight {
	0% { right: -100%; }
	100% { right: 0; }
}

.ipsAnim_slide.ipsAnim_left {
	right: 0;
	animation-name: slideFromRight;
}

/* ======================================================== */
/* ZOOM */
@keyframes zoomIn {
	0% { transform: scale(0); }
	100% { transform: scale(1); }
}

.ipsAnim_zoom.ipsAnim_in {
	animation-name: zoomIn;
}

@keyframes zoomOut {
	0% { transform: scale(1); }
	100% { 
		transform: scale(0);
		opacity: 0;
	}
}

.ipsAnim_zoom.ipsAnim_out {
	animation-name: zoomOut;
	opacity: 1;
}

/* ======================================================== */
/* WOBBLE */
@keyframes wobble {
	0% { transform: translateX(0%); }
	15% { transform: translateX(-5%) rotate(-4deg); }
	30% { transform: translateX(5%) rotate(2deg); }
	45% { transform: translateX(-4%) rotate(-2deg); }
	60% { transform: translateX(4%) rotate(1deg); }
	75% { transform: translateX(-3%) rotate(-1deg); }
	100% { transform: translateX(0%);}
}

.ipsAnim_wobble {
	animation-name: wobble;
}

/* ======================================================== */
/* JIGGLE */
@keyframes jiggle {
	0% { transform: rotate(-3deg); }
	50% { transform: rotate(3deg); }
}

.ipsAnim_jiggle {
	animation: jiggle 0.3s infinite;
}

/* ======================================================== */

@keyframes fadeOutDown {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(20px);
	}
}

.ipsAnim_fadeOutDown {
	animation-name: fadeOutDown;
}

/* ======================================================== */

@keyframes pulseOnce {
	0% { transform: scale(1); }
	50% { transform: scale(1.15); }
	100% { transform: scale(1); }
}

.ipsAnim_pulseOnce {
	animation-name: pulseOnce;
}

/* ======================================================== */

@keyframes dummy_anim {
	0% { background-color: rgba( var(--theme-area_background), 0.6 ); }
	50% { background-color: rgba( var(--theme-area_background), 0.9 ); }
	99% { background-color: rgba( var(--theme-area_background), 0.6 ); }
}
</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="badges.css">/* Badges: various indicators */
/* ======================================================== */
/* STANDARD BADGE */

.ipsBadge {
	padding: 0 1em;
	line-height: 2;
	border-radius: 100px;
	font-weight: 500;
	display: inline-block;
	vertical-align: middle;
	text-shadow: none;
	letter-spacing: 0;
	/* Fallback background if one isn't specified */
	background: var(--badge--background, currentColor linear-gradient(rgba( var(--theme-area_background_reset), 0.9 ), rgba( var(--theme-area_background_reset), 0.9 )));
}

.ipsBadge,
a.ipsBadge{
	color: var(--badge--color, rgb( var(--theme-text_color) ));
}

	/* Remove background-image on badges if the style tag overwrites the background-color. Eg: Badges with featured forum colors */
	.ipsBadge[style*='background-color']{
		background-image: none;
	}

	.ipsBadge a,
	.ipsBadge a:hover {
		color: inherit;
	}
		.ipsBadge a:hover{
			text-decoration: underline;
		}
	
	.ipsBadge.ipsBadge_icon {
		width: 2em;
		height: 2em;
		border-radius: 500px;
		font-size: 14px;
		text-align: center;
		line-height: 2;
		vertical-align: middle;
		padding: 0;
		display: inline-flex;
		justify-content: center;
		align-items: center;
	}

		.ipsBadge.ipsBadge_icon.ipsBadge_small {
			font-size: 10px;
			vertical-align: baseline;
		}
		
		.ipsBadge.ipsBadge_icon.ipsBadge_medium {
			font-size: 11px;
			vertical-align: baseline;
		}

		.ipsBadge.ipsBadge_icon.ipsBadge_large {
			font-size: 17px;
		}

.ipsType_pageTitle .ipsBadge {
	vertical-align: middle !important;
}

.ipsBadge_reverse {
	color: var(--badge--background, #fff);
	background: var(--badge--color);
}

/* ======================================================== */
/* SIZES */
.ipsBadge.ipsBadge_small {
	font-size: 9px;
	line-height: 1.7;
}

.ipsBadge, .ipsBadge.ipsBadge_normal {
	font-size: 10px;
}

.ipsBadge.ipsBadge_medium {
	font-size: 11px;
} 

.ipsBadge.ipsBadge_large {
	font-size: 12px;
}

.ipsBadge.ipsBadge_veryLarge {
	width: 70px;
	height: 70px;
	line-height: 64px;
	border-radius: 70px;
	font-size: 34px;
}
/* ======================================================== */
/* STYLES */
.ipsBadge_new, .ipsBadge_style1 {
	--badge--color: #323232;
}

.ipsBadge_style2 {
	--badge--color: #6a4fa8;
}

.ipsBadge_warning, .ipsBadge_style3 {
	--badge--color: #873661;
}

.ipsBadge_positive, .ipsBadge_style4 {
	--badge--background: var(--positive-light);
	--badge--color: var(--positive-dark);
}

.ipsBadge_negative, .ipsBadge_style5 {
	--badge--color: var(--negative-dark);
}

.ipsBadge_neutral, .ipsBadge_style6 {
	--badge--color: rgb( var(--theme-text_light) );
}

.ipsBadge_intermediary, .ipsBadge_style7 {
	--badge--color: var(--intermediate-dark);
}

.ipsBadge_recommended{
	--badge--color: rgb( var(--theme-featured) );
}

.ipsBadge_highlightedGroup {
	--badge--background: rgb( var(--theme-post_highlight) );
	--badge--color: rgb( var(--theme-post_highlight_border) );
}

.ipsBadge_popular {
	--badge--color: rgb( var(--theme-featured) );
}

.ipsBadge_pill {
	border-radius: 30px;
}

.ipsBadge_rare {
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX( calc( -50% - var(--sp-2) ) ) rotate(-20deg);
}

/* ======================================================== */
/* ITEM STATUS BADGES */
.ipsItemStatus:not( .ipsItemStatus_large ) {
	color: rgb( var(--theme-item_status) );
	font-size: 14px;
	line-height: inherit;
	vertical-align: middle;
}

	.ipsItemStatus.ipsItemStatus_tiny {
		font-size: 9px;
	}

	.ipsItemStatus.ipsItemStatus_small {
		font-size: 13px;
	}

	.ipsItemStatus.ipsItemStatus_large {
		background: rgb( var(--theme-item_status) );
		color: #fff;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		font-size: 17px;
		transition: 0.15s all linear;
	}

		.ipsItemStatus.ipsItemStatus_large.ipsItemStatus_read {

		}

	.ipsItemStatus.ipsItemStatus_read {
		opacity: 0.2;
	}

	.ipsItemStatus.ipsItemStatus_read:not( .ipsItemStatus_large ):not( .ipsItemStatus_posted ):not( .ipsItemStatus_custom ) {
		display: none;
	}

	/* Restrict the width of custom forum icons to match standard icons */
	.ipsItemStatus_custom{
		max-width: 40px;
	}

/* ======================================================== */
/* POINTS (for warnings) */
.ipsPoints {
	display: inline-block;
	background: #b14848;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 36px;
	font-size: 18px;
	text-align: center;
	line-height: 36px;
}

.ipsPoints_removed {
	background: rgb( var(--theme-text_light) );
}

.ipsPoints_small {
	width: 22px;
	height: 22px;
	line-height: 22px;
	font-size: 12px;
	vertical-align: middle;
}

/* ======================================================== */
/* REP BADGE */
.ipsRepBadge {
	font-size: 11px;
	display: inline-block;
}

	.ipsRepBadge_positive,
	.ipsRepBadge_positive:hover {
		color: var(--positive-dark) !important;
	}

	.ipsRepBadge_negative,
	.ipsRepBadge_negative:hover {
		color: var(--negative-dark) !important;
	}

	.ipsRepBadge_neutral,
	.ipsRepBadge_neutral:hover {
		color: #b3b3b3 !important;
	}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="blocks.css"><![CDATA[/* Blocks - styles for various widgets */

.ipsWidget {
	position: relative;
	padding: 0;
	background-color: var(--box--backgroundColor);
}

	.ipsWidget[data-blockBuilder] {
		background: transparent;
	}

	.ipsWidget_vertical{
		margin-bottom: 15px;
	}

.ipsWidget_title {
	font-size: {fontsize="base"};
	font-weight: bold;
	padding: 16px;
	line-height: 1;
	margin: 0;
	position: relative;
	color: rgb( var(--theme-widget_title_font) );
	background: rgb( var(--theme-widget_title_bar) );
	border-bottom: 1px solid rgba( var(--theme-text_light), 0.15 );
	border-top-left-radius: var(--box--radius);
	border-top-right-radius: var(--box--radius);
	{{if theme.headline_font != 'default'}}
		font-family: "{theme="headline_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
	{{endif}}
}

	.ipsWidget.ipsWidget_horizontal:not( .ipsWidgetHide ) {
		margin-bottom: 10px;
	}

	.ipsWidget.ipsWidget_horizontal .ipsTabs {
		margin: -5px 0 5px 0;
	}
	
		.ipsWidget.ipsWidget_horizontal .ipsTabs_panel {
			background: rgb( var(--theme-area_background_reset) );
			margin: 0;
		}

.ipsWidget_columns > [class*="ipsGrid"] {
	margin-bottom: 0;
	border-bottom: 0;
}

html[dir="ltr"] .ipsWidget_columns > [class*="ipsGrid"] {
	border-right: 1px solid rgba(0,0,0,0.1);
	padding-right: 10px;
}
html[dir="rtl"] .ipsWidget_columns > [class*="ipsGrid"] {
	border-left: 1px solid rgba(0,0,0,0.1);
	padding-left: 10px;
}

	html[dir="ltr"] .ipsWidget_columns > [class*="ipsGrid"]:last-child {
		border-right: 0;
	}
	html[dir="rtl"] .ipsWidget_columns > [class*="ipsGrid"]:last-child {
		border-left: 0;
	}

.ipsWidget .ipsType_small{
	font-size: max(.9em, {fontsize="x_small"});
}

.ipsWidget_horizontal .ipsWidget_statsCount {
	font-size: {fontsize="x_large"};
	font-weight: bold;
}

.ipsWidget_horizontal .ipsWidget_stats {
	padding-top: 15px;
	padding-bottom: 15px;
}

.ipsWidget .ipsTabs_small {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

	.ipsWidget .ipsTabs_small .ipsTabs_item{
		border-radius: 0;
	}

	.ipsWidget .ipsTabs_small .ipsTabs_item:not( .ipsTabs_activeItem ) {
		color: rgb( var(--theme-text_light) );
		border-bottom: 1px solid transparent;
	}

	.ipsWidget .ipsTabs_small .ipsTabs_activeItem {
		border-bottom: 1px solid currentColor;
	}

@media (min-width: 980px){
	.ipsWidget_inner:not(.ipsPad_half) > .ipsDataList > .ipsDataItem{
		padding: 0 var(--sp-2);
	}
}

.ipsWidget .ipsDataItem_title {
	font-size: 1.05em;
	font-weight: 500;
}

.ipsApp .ipsWidget .ipsDataItem_main.cWidgetComments {
	padding-inline-end: 45px;
	position: relative;
}

	.ipsWidget .ipsDataItem_main.cWidgetComments .ipsCommentCount {
		position: absolute;
		inset-inline-end: 0;
		top: 50%;
		transform: translateY(-50%);
	}

.ipsWidget.ipsWidget_primary {
	background: rgb( var(--theme-area_background_dark) );
}

	.ipsWidget.ipsWidget_primary h3 {
		color: #fff;
	}

html[dir="ltr"] .ipsWidget_latestItem {
	margin-left: 85px;
}
html[dir="rtl"] .ipsWidget_latestItem {
	margin-right: 85px;
}

.ipsWidgetBlank {
	margin-top: 16px;
	padding-top: 30px;
}

.ipsWidget img.ipsPageBuilderUpload {
	width: 100%;
	height: auto;
}

.ipsWidget_imageCarousel{
	overflow: hidden;
	display: block;
	position: relative;
}

	.ipsWidget_vertical .ipsWidget_imageCarousel {
		height: 100%;
	}

	.ipsWidget_vertical .ipsWidget_imageCarousel img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.ipsWidget_imageCarousel img,
	.ipsWidget_imageCarousel a{
		display: block;
	}

	.ipsWidget_imageCarousel__caption {
		position: absolute;
		left: 0; right: 0; bottom: 0;
		font-size: {fontsize="base"};
		color: #ffffff;
		padding: 20px;
		white-space: normal;
		z-index: 1;
	}

		.ipsWidget_imageCarousel__caption::before{
			content: '';
			position: absolute;
			left: 0; right: 0; bottom: 0;
			height: 150%;
			z-index: -1;
			background-image: linear-gradient( to bottom, rgba(0,0,0,0), rgba(0,0,0,.7) );
		}

select[name="widget_adv__font"] option[value="Arial"] {
	font-family: Arial;
}
select[name="widget_adv__font"] option[value="Helvetica"] {
	font-family: Helvetica;
}
select[name="widget_adv__font"] option[value="Times new roman"] {
	font-family: "Times new roman";
}
select[name="widget_adv__font"] option[value="Courier"] {
	font-family: Courier;
}
select[name="widget_adv__font"] option[value="Lato"] {
	font-family: Lato;
}
select[name="widget_adv__font"] option[value="Merriweather"] {
	font-family: Merriweather;
}
select[name="widget_adv__font"] option[value="Open sans"] {
	font-family: "Open sans";
}
select[name="widget_adv__font"] option[value="Raleway"] {
	font-family: Raleway;
}
select[name="widget_adv__font"] option[value="Raleway black"] {
	font-family: "Raleway black";
}
select[name="widget_adv__font"] option[value="Roboto"] {
	font-family: Roboto;
}
select[name="widget_adv__font"] option[value="Roboto black"] {
	font-family: "Roboto black";
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="buttons.css"><![CDATA[/* Buttons: various buttons used in the interface */
/* ======================================================== */
/* BASE BUTTONS */
.ipsApp .ipsButton {
	font-size: {fontsize="medium"};
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
	padding: 10px 20px;
	border-radius: var(--button--radius);
	border: 1px solid transparent;
	transition: 0.1s all linear;
	cursor: pointer;
	{prefix="user-select" value="none"}
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ipsButton:has(.ipsNotificationCount){
    overflow: visible;
}

	.ipsApp .ipsButton:hover:not(:active) {
		background-image: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.08) 100%);
	}

	.ipsApp .ipsButton:active,
	.ipsApp .ipsButton_active {
		border-color: rgba(0,0,0,0.1);
		background-image: linear-gradient(to bottom, rgba( var(--theme-text_dark), 0.1 ) 0%, rgba( var(--theme-text_dark), 0.1 ) 100%);
	}

/* ======================================================== */
/* COLORS */
.ipsApp .ipsButton_normal {
	background: rgb( var(--theme-normal_button) );
	color: rgb( var(--theme-normal_button_font) );
}

.ipsApp .ipsButton_primary {
	font-weight: 500;
	background: rgb( var(--theme-primary_button) );
	color: rgb( var(--theme-primary_button_font) );
}

.ipsApp .ipsButton_alternate {
	background: rgb( var(--theme-alternate_button) );
	color: rgb( var(--theme-alternate_button_font) );
}

.ipsApp .ipsButton_important {
	font-weight: 500;
	background: rgb( var(--theme-important_button) );
	color: rgb( var(--theme-important_button_font) );
}

.ipsApp .ipsButton_positive {
	background: var(--positive-dark);
	color: var(--positive-light);
}

.ipsApp .ipsButton_intermediate {
	background: var(--intermediate-dark);
	color: var(--intermediate-light);
}

.ipsApp .ipsButton_negative {
	background: var(--negative-dark);
	color: var(--negative-light);
}

.ipsApp .ipsButton_light {
	background: rgb( var(--theme-light_button) );
	border-color: transparent;
	color: rgb( var(--theme-light_button_font) );
}
	
	.ipsApp .ipsButton_light:hover {
		background-image: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.3) 100%);
	}

.ipsApp .ipsButton_veryLight {
	background: rgb( var(--theme-very_light_button) );
	border-color: rgba( var(--theme-very_light_button_font), 0.075 );
	color: rgb( var(--theme-very_light_button_font) );
}

	.ipsApp .ipsButton_veryLight.ipsButton_veryLight--negative {
		color: var(--negative-dark);
	}

/* Overlaid button - allows content behind to be seen */
.ipsApp .ipsButton_overlaid {
	background: rgba(0,0,0,0.5);
	opacity: 0.6;
	color: #fff;
	z-index: 2;
}

	.ipsApp .ipsButton_overlaid:hover {
		background: #000;
		opacity: 1;
	}

	.ipsApp .ipsButton_overlaid:active {
		background: #000;
	}

/* Link button - works like a button, but looks like text */
.ipsApp .ipsButton_link {
	background: transparent;
	color: rgb( var(--theme-link_button) );
	border-color: transparent;
	padding: 9px 20px;
	font-weight: normal;
}

	.ipsApp .ipsButton_link:active {
		box-shadow: none;
		background-image: none;
	}
	
	.ipsApp .ipsToolList .ipsButton_link,
	.ipsApp .ipsButton_link.ipsButton_link_secondary {
		border-color: transparent;
	}

	.ipsApp .ipsButton_link--negative {
		color: var(--negative-dark);
	}

	.ipsApp .ipsButton_link--light {
		color: rgb( var(--theme-text_light) );
	}

/* ======================================================== */
/* SIZES */
.ipsApp .ipsButton_medium {
	font-size: {fontsize="medium"};
	line-height: 3;
	padding: 0 20px;
}

.ipsApp .ipsButton_large {
	font-size: {fontsize="medium"};
	line-height: 3;
	padding: 0 20px;
}

.ipsApp .ipsButton_veryLarge {
	font-size: {fontsize="base"};
	line-height: 3;
	padding: 0 22px;
}

.ipsApp .ipsButton_small {
	font-size: {fontsize="small"};
	line-height: 2.83;
	padding: 0 18px;
}

.ipsApp .ipsButton_verySmall {
	font-size: {fontsize="small"};
	line-height: 2.33;
	padding: 0 15px;
}

.ipsApp .ipsButton_veryVerySmall {
	font-size: {fontsize="10"};
	line-height: 2;
	padding: 0 8px;
}

.ipsApp .ipsButton_tiny {
	font-size: 10px;
	line-height: 15px;
	padding: 0 4px;
}

/* ======================================================== */
/* OTHER BUTTON STYLES */
.ipsApp .ipsButton_fullWidth {
	display: block;
	width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
}

.ipsApp .ipsButton_action {
	min-width: 200px;
}

.ipsApp .ipsButton_narrow {
	padding-left: 8px;
	padding-right: 8px;
}

.ipsApp .ipsButton_shouting {
	text-transform: uppercase;
}

/* Disabled */
.ipsApp .ipsButton[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.ipsApp .ipsButton.ipsButton_disabled {
	opacity: 0.5;
}

/* ======================================================== */
/* SPLIT BUTTONS */
.ipsButton_split {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-flex;
	border-radius: var(--button--radius);
}

	.ipsList_inline ul.ipsButton_split {
		vertical-align: middle;
	}

	/* Adjust border-radius */
	.ipsButton_split > .ipsButton,
	.ipsButton_split > li > .ipsButton {
		border-radius: 0;
	}
		/* Allow buttons to inherit radius from parent */
		html[dir='ltr'] .ipsButton_split > :first-child,
		html[dir='rtl'] .ipsButton_split > :last-child{
			border-top-left-radius: inherit;
			border-bottom-left-radius: inherit;
		}

		html[dir='ltr'] .ipsButton_split > :last-child,
		html[dir='rtl'] .ipsButton_split > :first-child{
			border-top-right-radius: inherit;
			border-bottom-right-radius: inherit;
		}

		.ipsButton_split > li > .ipsButton{
			border-radius: inherit;
		}

	/* Overlap borders for cleaner layout */
	html[dir='ltr'] .ipsButton_split > :not(:first-child),
	html[dir='rtl'] .ipsButton_split > :not(:last-child){
		margin-left: -1px;
	}

	.ipsButton_split .ipsButton{
		position: relative;
		z-index: 1;
	}

		.ipsButton_split .ipsButton_primary{
			z-index: 2;
		}

.ipsButton_split > .ipsButton.ipsButton_link,
.ipsButton_split > li > .ipsButton.ipsButton_link {
	border-color: currentColor;
}

/* Light buttons usually have a transparent border so a colour is assigned for split buttons */
[dir='ltr'] .ipsButton_split > :not(:first-child) .ipsButton_light{
	border-left-color: rgba( var(--theme-text_color), 0.15 );
}
[dir='rtl'] .ipsButton_split > :not(:first-child) .ipsButton_light{
	border-right-color: rgba( var(--theme-text_color), 0.15 );
}

/* ======================================================== */
/* BUTTON BARS */
.ipsButtonBar {
	line-height: 1;
	background: rgb( var(--theme-button_bar) );
	border-bottom: 1px solid rgba( var(--theme-text_color), 0.15 );
}

.ipsButtonBar:first-child,
.ipsType_sectionTitle.ipsHide + .ipsButtonBar{
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

	.ipsButtonBar ~ .ipsButtonBar {
		border-bottom-width: 0;
		border-top: 1px solid rgba( var(--theme-text_color), 0.15 );
		border-bottom-left-radius: inherit;
		border-bottom-right-radius: inherit;
	}

	.ipsButtonBar .ipsPagination{
		color: rgb( var(--theme-text_dark) );
	}

	/* Pagination in button bars needs to be white */
	.ipsApp .ipsButtonBar .ipsPagination a {
		background: transparent;
	}

	.ipsButtonBar .ipsPagination .ipsPagination_page.ipsPagination_active a {
		background: rgb( var(--theme-pagination_active) );
		color: #fff;
	}

	.ipsButtonBar .ipsButtonRow li > a,
	.ipsButtonBar .ipsButtonRow li > button,
	.ipsButtonBar .ipsButtonRow li > span {
		background: rgb( var(--theme-area_background_reset) );
		color: rgb( var(--theme-text_dark) );
		font-weight: bold;
	}

html[dir="ltr"] .ipsButtonBar .ipsButtonRow {
	margin-left: 10px;
	padding: 0;
}
html[dir="rtl"] .ipsButtonBar .ipsButtonRow {
	margin-right: 10px;
	padding: 0;
}

	.ipsButtonBar .ipsButtonRow:last-child {
		margin-right: 0;
	}
	html[dir="rtl"] .ipsButtonBar .ipsButtonRow:last-child {
		margin-left: 0;
	}

.ipsButtonRow {
	display: inline-flex;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	position: relative;
	border-radius: var(--button--radius);
	list-style: none;
}

	.ipsButtonRow::before{
		content: '';
		position: absolute; top: 0; left: 0; right: 0; bottom: 0;
		border: 1px solid currentColor;
		opacity: 0.1;
		pointer-events: none;
		z-index: 1;
		border-radius: inherit;
	}

		.ipsButtonRow li > a, .ipsButtonRow li > button, .ipsButtonRow li > span {
			display: block;
			background: rgb( var(--theme-area_background_light) );
			background-clip: padding-box;
			line-height: 26px;
			padding: 0 10px;
			font-size: 10px;
			font-weight: 500;
			color: rgb( var(--theme-text_color) );
			text-transform: uppercase;
			position: relative;
			border: 0px;
			border-radius: 0;
		}

			html[dir="ltr"] .ipsButtonRow li:first-child > a, 
			html[dir="ltr"] .ipsButtonRow li:first-child > button,
			html[dir="ltr"] .ipsButtonRow li:first-child > span,
			html[dir="rtl"] .ipsButtonRow li:first-child > a, 
			html[dir="rtl"] .ipsButtonRow li:first-child > button,
			html[dir="rtl"] .ipsButtonRow li:first-child > span {
				border-top-left-radius: var(--button--radius);
				border-bottom-left-radius: var(--button--radius);
			}
			html[dir="ltr"] .ipsButtonRow li:last-child > a, 
			html[dir="ltr"] .ipsButtonRow li:last-child > button,
			html[dir="ltr"] .ipsButtonRow li:last-child > span,
			html[dir="rtl"] .ipsButtonRow li:last-child > a, 
			html[dir="rtl"] .ipsButtonRow li:last-child > button,
			html[dir="rtl"] .ipsButtonRow li:last-child > span {
				border-top-right-radius: var(--button--radius);
				border-bottom-right-radius: var(--button--radius);
			}

			.ipsButtonRow li > a.ipsButtonRow_active,
			.ipsButtonRow li > button.ipsButtonRow_active {
				background: rgb( var(--theme-pagination_active) );
				border-color: rgb( var(--theme-pagination_active) );
				color: #fff;
				text-shadow: none;
			}

			html[dir="ltr"] .ipsButtonRow li + li a {
				border-left: 1px solid rgba( var(--theme-pagination_active), 0.1 );
				margin-left: -1px;
			}
			html[dir="rtl"] .ipsButtonRow li + li a {
				border-right: 1px solid rgba( var(--theme-pagination_active), 0.1 );
				margin-right: -1px;
			}

			.ipsAreaBackground_light .ipsButtonRow li > a:not( .ipsButtonRow_active ),
			.ipsAreaBackground_light .ipsButtonRow li > button:not( .ipsButtonRow_active ),
			.ipsAreaBackground_light .ipsButtonRow li > span:not( .ipsButtonRow_active ) {
				background: rgb( var(--theme-area_background_reset) );
			}
			
			.ipsAreaBackground_light .ipsButtonRow li > span.ipsButtonRow_noBackground {
				background: transparent;
			}
			
		.ipsButtonRow li .ipsIcon {
			position: relative;
			top: 3px;
		}

.ipsButtonRow li > span.ipsButtonRow_noBackground {
	background: transparent;
}

.ipsClose {
	background: #000;
	color: #fff;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	width: var(--close-size);
	height: var(--close-size);
	cursor: pointer;
}

	.ipsClose:after {
		content: '×';
		color: inherit;
		line-height: 1;
		font-size: calc( var(--close-size) / 2 + 5px );
		margin-top: calc( ( var(--close-size) / 9 ) * -1 );
	}

	.ipsClose_small { --close-size: 22px; }
	.ipsClose_medium { --close-size: 26px; }


/* Social buttons */
.ipsSocial {
	color: #fff;
	padding: 0 !important;
	border: 0 !important;
	border-spacing: 0;
	min-width: 200px;
	line-height: 36px !important;
}

	@media screen and (min-width: 768px) {
		.ipsSocial {
			max-width: 315px;
		}
	}

	.ipsSocial:hover {
		color: #fff;
	}

	.ipsSocial_icon {
		display: table-cell;
		vertical-align: middle;
		height: 36px;
		min-width: 36px;
		font-size: 18px;
		background: rgba(0,0,0,0.2);
	}
		[dir='ltr'] .ipsSocial_icon{
			border-top-left-radius: inherit;
			border-bottom-left-radius: inherit;
		}
		[dir='rtl'] .ipsSocial_icon{
			border-top-right-radius: inherit;
			border-bottom-right-radius: inherit;
		}
	
	.ipsSocial_icon img {
		max-width: 16px;
		margin-left: -2px;
		margin-top: -2px;
	}

	.ipsSocial_text {
		display: table-cell;
		width: 100%;
		font-size: 13px;
	}

	.ipsSocial_microsoft {
		background-color: #008b00;
	}

	.ipsSocial_facebook {
		background-color: #3a579a;
	}

	.ipsSocial_twitter {
		background-color: #00abf0;
	}

	.ipsSocial_linkedIn {
		background: #007eb3;
	}

	.ipsSocial_google {
		background-color: #4285F4;
	}
		.ipsSocial_google .ipsSocial_icon {
			height: 36px;
			width: 36px;
			background-color: #fff;
			background-image: url( {resource="logos/login/Google.png" app="core" location="interface"} );
			background-size: 18px 18px;
			background-repeat: no-repeat;
			background-position: center center;
			box-shadow: inset 0px 0px 0px 1px #4285F4;
		}
			.ipsSocial_google .ipsSocial_icon .fa {
				display: none !important;
			}
	
	.ipsSocial_internal {
		background-color: #008b00;
	}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="cards.css"><![CDATA[.ipsMemberCard {
	background-clip: padding-box;
	position: relative;
	border-radius: var(--radius-1);
}

.ipsMemberCard .ipsMemberCard_photo {
	margin-top: -28px;
}

.ipsMemberCard .ipsType_sectionHead {
	display: block;
	margin-top: 3px;
	font-size: {fontsize="large"};
}

.ipsMemberCard_controls.ipsButton {
	color: inherit;
	position: absolute;
	top: 5px;
	right: 5px;
	line-height: 22px;
}

.ipsMemberCard_buttons {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 8px;
}

	.ipsMemberCard_buttons > *{
		flex: 1 1 50%;
	}

	.ipsMemberCard_buttons .ipsButton_split{
		display: flex;
	}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="comments.css"><![CDATA[.ipsComment {
	position: relative;
	margin-bottom: var(--sp-5);
	padding: 0;
	background: rgb( var(--theme-area_background_reset) );
}	

	.ipsDataItem > .ipsComment {
		margin-bottom: 0;
	}
	
	.ipsComment.ipsComment_selected {
		box-shadow: 0px 0px 0px 1px rgb( var(--theme-selected_border) ), 0px 0px 0px 5px rgba( var(--theme-selected_border), 0.2 ) !important;
		background: rgb( var(--theme-selected) ) !important;
	}

		.ipsComment.ipsComment_selected .ipsComment_author {
			background: transparent;
		}

	/* Popular */
	.ipsComment.ipsComment_popular {
		box-shadow: 0px 0px 0px 1px rgba( var(--theme-featured), 0.8 ), 0px 0px 0px 5px rgba( var(--theme-featured), 0.2 );
	}

	/* Solved */
	.ipsComment.ipsComment_solved {
		box-shadow: 0px 0px 0px 1px rgba( var( --solved--borderColor ), 0.6 ), 0px 0px 0px 5px rgba( var( --solved--borderColor ), 0.25 );
	}

	html[dir="ltr"] .ipsComment > .ipsUserPhoto {
		float: left;
		margin-right: 7px;
	}
	html[dir="rtl"] .ipsComment > .ipsUserPhoto {
		float: right;
		margin-left: 7px;
	}

.ipsComment_header {
	padding: var(--sp-4) var(--sp-5) 0; /* No bottom padding because comment body has full padding */
	position: relative;
}
	
	.ipsComment_header .ipsUserPhoto {
		margin: 0;
	}

	.ipsComment_header .ipsComment_header_modcbox {
		margin-right: 25px;
	}
	
.ipsComment_author {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

	html[dir="ltr"] .ipsComment_author {
		margin: 0 60px 0 0;
	}
	html[dir="rtl"] .ipsComment_author {
		margin: 0 0 0 60px;
	}

	html[dir="ltr"] .ipsComment_author > *:not(:first-child) {
		margin-left: var(--sp-2);
		flex: 0 0 auto;
	}
	html[dir="rtl"] .ipsComment_author > *:not(:first-child) {
		margin-right: var(--sp-2);
		flex: 0 0 auto;
	}

.ipsComment_content {
	position: relative;
}

	.ipsComment.ipsComment_hasChildren {
		margin-bottom: 40px;
	}

	.ipsComment.ipsComment_hasChildren > .ipsComment_content {
		padding-bottom: 20px;
	}

.ipsComment .ipsType_richText {
	overflow-x: auto;
	overflow-y: hidden;
}

.ipsComment[data-role="replyComment"] {
	margin-left: -15px;
	margin-right: -15px;
}

	.ipsComment_parent.ipsComment > .ipsComment_content > .ipsComment_author {
		font-size: {fontsize="medium"};
		margin: 0;
	}

.ipsComment_meta {
	margin: 0;
	font-weight: 500;
}

.ipsComment_ellipsis {
	padding: 0 var(--sp-3);
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

	.ipsComment_ellipsis:hover {
		background: rgb( var(--theme-light_button) );
		color: rgb( var(--theme-light_button_font) );
	}

	.ipsComment_ellipsis > .fa {
		font-size: 20px;
		line-height: 24px;
	}

.ipsComment_toolWrap,
.ipsComment_tools {
	display: flex;
	align-items: center;
}
	.ipsApp .ipsComment_toolWrap{
		flex: 0 0 auto;
	}
	html[dir="ltr"] .ipsComment_tools {
		margin-left: var(--sp-4);
	}
	html[dir="rtl"] .ipsComment_tools {
		margin-right: var(--sp-4);
	}

html[dir="ltr"] .ipsComment_tools > li:not( :first-child ) {
	margin-left: var(--sp-2);
}
html[dir="rtl"] .ipsComment_tools > li:not( :first-child ) {
	margin-right: var(--sp-2);
}

.ipsComment_tools .ipsCustomInput{
	display: block;
}

.ipsComment_controls {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.ipsComment_controls > li {
		display: inline-block;
		vertical-align: middle;
	}
	html[dir="ltr"] .ipsComment_controls > li {
		margin-right: 15px;
	}
	html[dir="rtl"] .ipsComment_controls > li {
		margin-left: 15px;
	}

	.ipsComment_controls .ipsButton {
		line-height: 26px;
	}

	.ipsComment_controls .ipsButton[data-action="solveComment"]{
		background-color: var(--positive-light);
		color: var(--positive-dark);
		font-weight: 500;
		font-size: {fontsize="12"};
	}

[data-role="commentFeed"] > .ipsComment:first-child {
	margin-top: 0;
}

.ipsComment.ipsComment_ignored {
	border-width: 0;
	color: rgba( var(--theme-text_light), 0.6 );
	background: transparent;
}
.ipsComment.ipsComment_ignored:first-child {
	margin-top: 15px;
}
html[dir="ltr"] .ipsComment.ipsComment_ignored {
	padding-left: 75px;
}
html[dir="rtl"] .ipsComment.ipsComment_ignored {
	padding-right: 75px;
}

	.ipsComment.ipsComment_ignored + .ipsComment:not( .ipsComment_ignored ) {
		margin-top: 0;
	}

.ipsComment.ipsComment_popular .ipsComment_popularFlag {
	position: absolute;
	top: -3px;
	background: rgb( var(--theme-featured) );
	border-color: rgb( var(--theme-featured) );
	text-align: center;
	color: #fff;
	width: 34px;
	height: 40px;
	font-size: 26px;
	padding-top: 11px;
	z-index: 100;
	border-radius: 2px 2px 0 0;
}
	
html[dir="ltr"] .ipsComment.ipsComment_popular .ipsComment_popularFlag {
	right: 10px;
}

html[dir="rtl"] .ipsComment.ipsComment_popular .ipsComment_popularFlag {
	left: 10px;
}

	.ipsComment.ipsComment_popular .ipsComment_popularFlag:after {
		content: '';
		display: block;
		position: absolute;
	}
	
	.ipsComment.ipsComment_popular .ipsComment_popularFlag:after {
		border-width: 13px 17px 17px 17px;
		border-style: solid;
		border-color: transparent;
		border-top-color: inherit;
		top: 100%;
	}
	
	html[dir="ltr"] .ipsComment.ipsComment_popular .ipsComment_popularFlag:after {
		left: 0;
	}
	
	html[dir="rtl"] .ipsComment.ipsComment_popular .ipsComment_popularFlag:after {
		right: 0;
	}

.ipsCommentUnreadSeperator {
	margin: 15px 0;
	height: 0;
	padding: 0;
	border-width: 2px 0 0 0;
	border-style: solid;
	border-color: rgb( var(--theme-brand_primary) );
}

.ipsType_richText .ipsPagination:first-child {
	margin-bottom: 15px;
}

.ipsTooltip.ipsComment_inlineQuoteTooltip {
	pointer-events: auto;
	padding: 7px !important;
	border-radius: var(--radius-1);
}

/* Sub comments (e.g. status updates) */
.ipsComment_subComments {
	margin-top: 15px;
}
	
	html[dir="ltr"] .ipsComment_subComments {
		margin-left: 55px;
	}
	html[dir="rtl"] .ipsComment_subComments {
		margin-right: 55px;
	}

	.ipsComment_subComments .ipsComment {
		padding: 10px;
		margin-bottom: 3px;
	}

		.ipsComment_subComments .ipsComment [data-role="commentContent"] {
			margin-bottom: 0;
		}
		
		.ipsComment_subComments .ipsComment[data-role="replyComment"] {
			margin: 0;
		}

			.ipsComment_subComments .ipsComment[data-role="replyComment"] .ipsUserPhoto {
				width: 34px;
				height: 34px;
			}

			.ipsComment_subComments .ipsComment[data-role="replyComment"] .ipsComposeArea_editor {
				padding: 2px;
			}

			.ipsComment_subComments .ipsComment[data-role="replyComment"] .ipsComposeArea_dummy {
				padding: 7px;
				font-size: {fontsize="small"};
			}

	html[dir="ltr"] .ipsComment_subComments .ipsComment:not( [data-role="replyComment"] ) .ipsComment_content,
	html[dir="ltr"] .ipsComment_subComments .ipsComposeArea_withPhoto .ipsComposeArea_editor {
		margin-left: 45px;
	}
	
	html[dir="rtl"] .ipsComment_subComments .ipsComment:not( [data-role="replyComment"] ) .ipsComment_content,
	html[dir="rtl"] .ipsComment_subComments .ipsComposeArea_withPhoto .ipsComposeArea_editor {
		margin-right: 45px;
	}

	.ipsComment_subComments .ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
		display: none;
	}
	
/* ======================================================== */
/* HIGHLIGHTED REPLIES */
.ipsComment_highlighted{
	--ipsComment_highlighted--boxShadow: 0px 0px 0px 1px rgba( var(--theme-post_highlight_border), 0.6 ), 0px 0px 0px 5px rgba( var(--theme-post_highlight_border), 0.15 );
}
.ipsComment_highlighted:not(.ipsBox_transparent):not(.ipsModerated):not(.ipsComment_selected):not(.ipsComment_popular ) {
	box-shadow: var(--ipsComment_highlighted--boxShadow);
}

/* ======================================================== */
/* RECOMMENDED REPLIES */

.ipsRecommendedComments {
	margin-bottom: var(--sp-5);
}

/*.ipsTabs_panel .ipsRecommendedComments {
	margin: calc( var(--sp-5) * -1) calc( var(--sp-5) * -1) 15px calc( var(--sp-5) * -1);
}*/

.ipsRecommendedComments [data-commentID]:last-child {
	margin-bottom: 0;
}

.ipsRecommendedComments .ipsType_sectionHead {
	margin-top: -5px;
	margin-bottom: 10px;
}

.ipsApp .ipsComment_recommended {
	position: relative;
	box-shadow: 0px 0px 0px 1px rgba( var(--theme-featured), 0.8 ), 0px 0px 0px 5px rgba( var(--theme-featured), 0.2 );
}

	.ipsComment_recommended .ipsColumn_narrow {
		padding-top: 30px;
	}

.ipsComment_recommendedFlag {
	position: absolute;
	top: 10px;
	line-height: 2;
	padding: 0 16px 0 10px;
	font-size: 12px;
	font-weight: 500;
	background: rgba( var(--theme-featured), 0.15 );
	color: rgb( var(--theme-featured) );
}
	html[dir="ltr"] .ipsComment_recommendedFlag {
		left: 0;
		border-radius: 0 20px 20px 0;
	}
	html[dir="rtl"] .ipsComment_recommendedFlag {
		right: 0;
		border-radius: 20px 0 0 20px;
	}

.ipsComment_recommendedNote {
	margin-top: 10px;
	position: relative;
}
	html[dir="ltr"] .ipsComment_recommendedNote {
		margin-left: 15px;
		padding-left: 30px;
	}
	html[dir="rtl"] .ipsComment_recommendedNote {
		margin-right: 15px;
		padding-right: 30px;
	}

	.ipsComment_recommendedNote:before {
		content: '\f10d';
		font-family: 'FontAwesome';
		color: rgba( var(--theme-featured), 0.6 );
		font-size: 20px;
		font-style: normal;
		position: absolute;
		top: 0;
	}
		html[dir="ltr"] .ipsComment_recommendedNote:before {
			left: 0;
		}
		html[dir="rtl"] .ipsComment_recommendedNote:before {
			right: 0;
		}

	.ipsComment_recommendedNote .ipsType_richText {
		font-style: italic;
	}

.ipsComment_recommendedRep {
	font-size: 20px;
	color: rgb( var(--theme-text_color) );
	min-width: 200px;
}
	.ipsComment_recommendedRep a {
		color: inherit;
	}
	
	.ipsComment_recommendedRep span {
		display: block;
		margin-top: 5px;
		font-size: {fontsize="x_small"};
		text-transform: uppercase;
		opacity: 0.5;
	}
	
.ipsComment .ipsComment_authorBadge {
	--badge--color: rgb( var(--theme-mentions) );
}

/* PHONES */
@media screen and (max-width: 767px) {
	.ipsComment_badges {
		padding: var(--sp-4) var(--sp-4) 0;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="compose.css"><![CDATA[.ipsApp .cke {
	box-shadow: none;
}

	.ipsApp .cke_combo {
		height: 40px;
	}

	.ipsApp .cke_top {
		background-color: transparent;
	}

	.ipsApp .cke_button{
		border-radius: var(--radius-1);
	}

		.ipsApp a.cke_button_off:hover,
		.ipsApp a.cke_button_off:focus,
		.ipsApp a.cke_button_off:active,
		.ipsApp a.cke_button_disabled:hover,
		.ipsApp a.cke_button_disabled:focus,
		.ipsApp a.cke_button_disabled:active,
		.ipsApp .cke_combo_off a.cke_combo_button:hover,
		.ipsApp .cke_combo_off a.cke_combo_button:focus{
			background: rgba( var(--theme-text_light), 0.2 );
		}

		.ipsApp a.cke_button_on,
		.ipsApp .cke_combo_off a.cke_combo_button:active,
		.ipsApp .cke_combo_on a.cke_combo_button{
			background: rgba( var(--theme-text_light), 0.35 );
		}

	.ipsApp .cke_toolbar_separator{
		margin: 0 4px;
		background: rgba( var(--theme-text_light), 0.4 );
	}

[data-ipseditor]{
	border: 1px solid var(--form-field--borderColor);
	background: rgb( var(--theme-area_background_reset) );
	border-radius: var(--radius-1);	
	padding: 5px;
	background-clip: padding-box;
	position: relative;
}

	[data-ipseditor]:hover {
		border-color: var(--form-field--borderHoverColor);
	}

	[data-ipseditor]:focus-within{
		border-color: rgb( var(--theme-active_input_border) );
		box-shadow: var(--form-field--focusShadow);
	}

	@media (min-width: 768px){
		.ipsComposeArea_withPhoto [data-ipseditor]::before,
		.ipsComposeArea_withPhoto [data-ipseditor]::after{
			content: '';
			position: absolute;
			border: 7px solid transparent;
			top: 21px;
		}

		[dir='ltr'] .ipsComposeArea_withPhoto [data-ipseditor]::before,
		[dir='ltr'] .ipsComposeArea_withPhoto [data-ipseditor]::after{
			right: calc(100%);
			border-right-color: rgb( var(--theme-area_background_reset) );
		}

		[dir='rtl'] .ipsComposeArea_withPhoto [data-ipseditor]::before,
		[dir='rtl'] .ipsComposeArea_withPhoto [data-ipseditor]::after{
			left: calc(100%);
			border-left-color: rgb( var(--theme-area_background_reset) );
		}

		[dir='ltr'] .ipsComposeArea_withPhoto [data-ipseditor]::before{
			border-right-color: inherit;
			margin-right: 1px;
		}

		[dir='rtl'] .ipsComposeArea_withPhoto [data-ipseditor]::before{
			border-left-color: inherit;
			margin-left: 1px;
		}
	}

		[dir='ltr'] .ipsComposeArea_withPhoto [data-ipseditor]:focus-within::before{
			filter: drop-shadow(rgba( var(--theme-active_input_border), 0.3 ) -4px 0px 0px);
		}
		[dir='rtl'] .ipsComposeArea_withPhoto [data-ipseditor]:focus-within::before{
			filter: drop-shadow(rgba( var(--theme-active_input_border), 0.3 ) 4px 0px 0px);
		}

	.ipsComposeArea_editor [data-ipsEditor][data-loading] .cke {
		height: 1px !important;
		overflow: hidden !important;
	}

/* Editor combo buttons */
.ipsApp a.cke_combo_button {
	background: transparent;
	border-radius: var(--radius-1);
	box-shadow: none;
	display: flex;
	align-items: center;
	border-width: 0px !important;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0 5px;
}
	.ipsApp .cke_combo_text {
		line-height: 40px;
	}
	.ipsApp .cke_combo_open {
		height: auto;
		line-height: normal;
	}
	[dir='ltr'] .cke_combo_open{
		margin-left: 0;
	}
	[dir='rtl'] .cke_combo_open{
		margin-right: 0;
	}
	.ipsApp .cke_combo_arrow {
		margin: 0;
	}

.ipsApp .cke_combo_off a.cke_combo_button:active,
.ipsApp .cke_combo_on a.cke_combo_button {
	box-shadow: none;
}

.ipsApp .cke_combo_on a.cke_combo_button:hover,
.ipsApp .cke_combo_on a.cke_combo_button:focus,
.ipsApp .cke_combo_on a.cke_combo_button:active {
	box-shadow: none;
}

.ipsApp .ipsComposeArea_editor .ipsNotificationCount {
	top: 0px;
}

html[dir="ltr"] .ipsComposeArea_withPhoto .ipsComposeArea_editor,
html[dir="ltr"] .ipsComposeArea_withPhoto .ipsLiveActivity {
	margin-left: 75px;
}
html[dir="rtl"] .ipsComposeArea_withPhoto .ipsComposeArea_editor,
html[dir="rtl"] .ipsComposeArea_withPhoto .ipsLiveActivity {
	margin-right: 75px;
}

.ipsComposeArea_dummy {
	padding: 12px;
	background: rgb( var(--theme-area_background_reset) );
	color: rgb( var(--theme-text_light) );
	font-size: {fontsize="medium"};
	cursor: pointer;
}

.ipsComposeArea_dummy .ipsType_warning{
	display: block;
	line-height: 34px;
}

.ipsComposeArea_dummy i.ipsFlag {
	opacity: 0.5;
}

.ipsComposeArea .ipsToolList.ipsPad_half {
	padding-top: 12px;
}

.ipsApp .ipsComposeArea .ipsToolList .ipsComposeArea_formControl {
	margin-top: 11px;
}

.ipsComposeArea [data-ipsEditor] + [data-ipsEditor-toolList] {
	margin-top: 20px;
	margin-bottom: 0;
}

/* PREVIEW */
.ipsComposeArea_editor [data-role="previewToolbar"] {
	line-height: 1;
}

.ipsComposeArea_smallPreview {
	box-shadow: 0px 0px 7px rgba( var(--theme-text_dark), 0.12 );
}

.ipsComposeArea_editor [data-role="previewContainer"] {
	line-height: 1;
}

.ipsComposeArea_editor [data-action='closePreview'] {
	font-family: arial, sans-serif;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	line-height: 30px !important;
	font-size: 20px;
	background: #000;
	border: 0;
	color: #fff;
	display: block;
	text-align: center;
	margin-top: -12px;
	text-decoration: none;
}

/* PASTE BAR */
.ipsComposeArea_editorPaste {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	font-size: {fontsize="x_small"};
}

	.ipsComposeArea_editorPaste .ipsComposeArea_editorPasteSwitch {
		font-family: arial, sans-serif;
		width: 30px;
		height: 30px;
		border-radius: 30px;
		line-height: 30px !important;
		font-size: 20px;
		background: #000;
		border: 0;
		color: #fff;
		display: block;
		text-align: center;
		margin-top: -6px;
		text-decoration: none;
	}

.ipsComposeArea_editorPaste a,
.ipsComposeArea_editorPaste a:hover {
	color: inherit;
}

/* Ensure notice bars are hidden whenever editor is minimized */
.ipsComposeArea_minimized .ipsComposeArea_editorPaste {
	display: none !important;
}

/* IMAGE DIALOG */
.ipsApp .ipsComposeArea_imageAlign .ipsButton{
	line-height: 2.5;
}

	.ipsComposeArea_imageAlign.ipsButton_split > li input[type="radio"] {
		position: absolute;
		opacity: 0.0001;
	}

.ipsComposeArea_imageDims {
	display: inline-block;
	position: relative;
}
	
	html[dir="ltr"] .ipsComposeArea_imageDims > input[type="number"] {
		padding-right: 80px;
	}
	html[dir="rtl"] .ipsComposeArea_imageDims > input[type="number"] {
		padding-left: 80px;
	}

	.ipsComposeArea_imageDims > span {
		position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	}

	html[dir="ltr"] .ipsComposeArea_imageDims > span {
		right: 8px;
	}
	html[dir="rtl"] .ipsComposeArea_imageDims > span {
		left: 8px;
	}

@media screen and (max-width: 767px) {
	.ipsApp .ipsComposeArea_imageDims > input[type="number"].ipsField_short {
		max-width: 160px;
	}
}

/* SIDEBAR */
.ipsComposeArea_sidebar [data-role="tagsList"] {
	padding: 5px;
	max-height: 300px;
	overflow: auto;
}

	.ipsComposeArea_sidebar [data-role="tagsList"] [data-tagKey] {
		cursor: pointer;
	}

.ipsComposeArea_sidebar [data-action='tagsToggle'] {
	display: inline-block;
	position: absolute;
	top: 6px;
	text-indent: 100%;
	overflow: hidden;
	white-space: nowrap;
	width: 20px;
	color: inherit;
	opacity: 0.4;
	transition: all 0.2s linear;
}
html[dir="ltr"] .ipsComposeArea_sidebar [data-action='tagsToggle'] {
	right: 6px;
}
html[dir="rtl"] .ipsComposeArea_sidebar [data-action='tagsToggle'] {
	left: 6px;
}

	.ipsComposeArea_sidebar [data-action='tagsToggle']:hover {
		opacity: 1;
	}

	.ipsComposeArea_sidebar [data-action='tagsToggle']:after {
		display: block;
		font-family: 'FontAwesome';
		position: absolute;
		top: 0;
		font-size: 16px;
	}
	html[dir="ltr"] .ipsComposeArea_sidebar [data-action='tagsToggle']:after {
		right: 0;
	}
	html[dir="rtl"] .ipsComposeArea_sidebar [data-action='tagsToggle']:after {
		left: 0;
	}

	.ipsComposeArea_sidebarOpen [data-action='tagsToggle']:after {
		content: '\f138';
	}
	html[dir="rtl"] .ipsComposeArea_sidebarOpen [data-action='tagsToggle']:after {
		content: '\f137';
	}
	.ipsComposeArea_sidebarClosed [data-action='tagsToggle']:after {
		content: '\f137';
	}
	html[dir="rtl"] .ipsComposeArea_sidebarClosed [data-action='tagsToggle']:after {
		content: '\f138';
	}

	.ipsComposeArea_sidebarClosed {
		width: 22px !important;
		background: rgb( var(--theme-area_background) ) !important;
	}

		.ipsComposeArea_sidebarClosed [data-role="tagsHeader"],
		.ipsComposeArea_sidebarClosed [data-role="tagsList"] {
			display: none;	
		}

.ipsComposeArea_attachments {
	background: rgb( var(--theme-area_background_reset) );
	border-radius: var(--radius-1);
}
	
	.ipsComposeArea_dropZone {
		padding: 12px;
		border: 2px dashed transparent;
		border-radius: var(--radius-1);
	}

	.ipsComposeArea_dropZone .fa-paperclip {
		font-size: 30px;
		float: left;
	}
	html[dir="rtl"] .ipsComposeArea_dropZone .fa-paperclip {
		float: right;
	}
	.ipsComposeArea_dropZone .fa-clipboard {
		font-size: 24px;
		float: left;
	}
	html[dir="rtl"] .ipsComposeArea_dropZone .fa-clipboard {
		float: right;
	}

	html[dir="ltr"] .ipsComposeArea_dropZone > div {
		margin-left: 40px;
	}
	html[dir="rtl"] .ipsComposeArea_dropZone > div {
		margin-right: 40px;
	}

	.ipsComposeArea_attachmentsInner {
		margin-top: 15px;
	}

	html[dir="ltr"] .ipsComposeArea_attachmentsInner > p {
		padding-left: 15px;
		padding-bottom: 0;
	}
	html[dir="rtl"] .ipsComposeArea_attachmentsInner > p {
		padding-right: 15px;
		padding-bottom: 0;
	}

.ipsComposeArea_attachmentsContainer {
	margin-bottom: var(--sp-6);
}



/* Compose warnings */
.ipsComposeArea_warning {
	margin-bottom: 5px;
}

html[dir="ltr"] .ipsComposeArea_warning {
	margin-left: 75px;
}
html[dir="rtl"] .ipsComposeArea_warning {
	margin-right: 75px;
}

.ipsComposeArea_unavailable .ipsComposeArea_editor {
	/*background: rgba( var(--theme-area_background_light), 0.5 );
	border-color: rgba( var(--theme-area_background_light), 0.5 );*/
}
	
	.ipsComposeArea_unavailable .ipsComposeArea_dummy {
		font-weight: bold;
		font-size: {fontsize="small"};
		cursor: default;
	}

	.ipsComposeArea_unavailable .ipsUserPhoto {
		opacity: 0.5;
	}

/* ATTACHMENTS */
[data-ipsUploader] {
	display: none; /* Hides when JS is disabled. JS will show it again */
}

.ipsUploader {
	background: rgb(var(--theme-area_background));
	border-radius: var(--radius-2);
	}
	.ipsDarkMode .ipsUploader {
		background: var(--c1);
	}

	.ipsUploader .ipsAttachment_fileList {
		margin-top: 0;
	}

	.ipsUploader .ipsUploader__container {
		margin-top: var(--sp-3);
		display: grid;
		grid-gap: var(--sp-3);
		gap: var(--sp-3);
	}
	
	.ipsUploader .ipsUploader__container--files {
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	}
	@supports (width: calc(min(1%, 10%))) {
		.ipsUploader .ipsUploader__container--files{
			grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
		}
	}
	.ipsUploader .ipsUploader__container--images {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}

	.ipsUploader .ipsUploader__row {
		background: rgb(var(--theme-area_background_reset));
		border-radius: var(--radius-1);
		border: 1px solid rgba(var(--theme-text_light), 0.2);
		padding: var(--sp-1);
		position: relative;
		display: flex;
	}

		.ipsUploader .ipsUploader__row.ipsAttach_error {
			border-color: var(--negative-dark) !important;
			background: var(--negative-light);
		}

			.ipsUploader .ipsUploader__row.ipsAttach_error .ipsUploader__rowPreview__generic {
				background: rgb(var(--theme-area_background_reset));
			}
			
			.ipsUploader .ipsUploader__row.ipsAttach_error .ipsUploader__rowPreview__generic .fa:before {
				content: '\f071';
			}

	.ipsUploader .ipsUploader__row > * {
		min-width: 0;
	}
	
		.ipsUploader--withBorder .ipsUploader__row,
		.ipsUploader__row--withBorder { /* Allow either the uploader or indivdual rows to specify border */
			border-color: rgba(var(--theme-text_light), 0.2);
		}

		.ipsUploader--insertable .ipsUploader__row {
			cursor: pointer;
		}
			.ipsUploader--insertable .ipsUploader__row:hover {
				border-color: var(--form-field--borderHoverColor);
			}
			.ipsUploader--insertable .ipsUploader__row:active {
				border-color: var(--form-field--borderHoverColor);
				box-shadow: var(--form-field--focusShadow);
			}
	
		.ipsUploader .ipsUploader__container--files .ipsUploader__row {
			height: 80px;			
		}

		.ipsUploader .ipsUploader__container--images .ipsUploader__row {
			flex-direction: column;
		} 

	.ipsUploader .ipsUploader__rowPreview {
		width: 100%;
		min-width: 100px;
		background-image: none !important; /* Uploader sets the background image, but in this scenario we don't want to use it */
	}

		.ipsUploader .ipsUploader__container--files .ipsUploader__rowPreview {
			width: 100px;
		}
		.ipsUploader .ipsUploader__container--images .ipsUploader__rowPreview {
			height: 140px;
		}

		.ipsUploader .ipsUploader__rowPreview img,
		.ipsUploader .ipsUploader__rowPreview video {
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: var(--radius-1);
			pointer-events: none;
		}
	
		.ipsUploader .ipsUploader__rowPreview__generic {
			background: rgb(var(--theme-area_background_light));
			height: 100%;
		}

		.ipsUploader .ipsUploader__rowPreview__generic .fa {
				font-size: 22px;
				color: rgb(var(--theme-area_background_dark));
				opacity: 0.7;
			}

	.ipsUploader_rowMeta {
		position: relative;
		max-width: 100%;
		text-overflow: ellipsis;
	}

	html[dir="ltr"] .ipsUploader .ipsUploader__container--files .ipsUploader_rowMeta {
		margin-left: var(--sp-4);
	}
	html[dir="rtl"] .ipsUploader .ipsUploader__container--files .ipsUploader_rowMeta {
		margin-right: var(--sp-4);
	}

	.ipsUploader .ipsUploader__container--images .ipsUploader_rowMeta {
		padding: var(--sp-2) var(--sp-1) var(--sp-1);
	}

	.ipsUploader .ipsUploader_rowTitle {
		font-size: {fontsize="medium"};
		font-weight: 400;
		color: rgb(var(--theme-text_dark));
		text-align: left;
		line-height: 1.4;
	}

	.ipsUploader .ipsUploader__rowDelete {
		width: 20px;
		height: 20px;
		background: #000;
		color: #fff;
		text-align: center;
		border-radius: 20px;
		position: absolute;
		top: -4px;
		font-size: 16px;
		line-height: 18px;
		text-decoration: none;
	}

		html[dir="ltr"] .ipsUploader .ipsUploader__rowDelete {
			right: -4px;
		}
		html[dir="rtl"] .ipsUploader .ipsUploader__rowDelete {
			left: -4px;
		}

		.ipsUploader .ipsUploader__rowDelete:hover {
			color: #fff;
		}
	
	.ipsUploader .ipsAttachment_progress {
		width: 80%;
		margin-top: var(--sp-1);
	}

	.ipsUploader__rowInsert {
		position: absolute;
		top: 0;
		bottom: 0;
		background: linear-gradient(to right, rgba(var(--theme-area_background_reset),0) 0%,rgba(var(--theme-area_background_reset),1) 25%);
		display: flex;
		align-items: center;
		padding: 0 var(--sp-2) 0 var(--sp-7);
		opacity: 0;
	}

		html[dir="ltr"] .ipsUploader__rowInsert {
			right: 0;
		}
		html[dir="rtl"] .ipsUploader__rowInsert {
			left: 0;
		}

		.ipsUploader__rowInsert a {
			font-size: {fontsize="small"};
			color: rgb(var(--theme-brand_primary));
			text-decoration: none !important;
		}

		.ipsUploader--insertable .ipsUploader__row:hover .ipsUploader__rowInsert {
			opacity: 1;
		}


@media screen and (max-width: 979px) {
	.ipsUploader .ipsUploader__container--files .ipsUploader__row {
		height: auto;
		padding: var(--sp-2);
	}
		/* Remove generic thumbnail on mobiles */
		.ipsUploader .ipsUploader__container--files .ipsUploader__rowPreview {
			display: none;
		}
	.ipsUploader .ipsUploader__container--images .ipsUploader__rowPreview{
		max-height: 100px;
	}
	html[dir] .ipsUploader .ipsUploader__container--files .ipsUploader_rowMeta {
		margin: 0;
	}

	.ipsUploader__rowInsert {
		opacity: 1;
	}
}

.ipsAttachment_dropZone {
	min-height: 200px;
	background: rgb( var(--theme-area_background_light) );
	border-radius: var(--radius-1);
	text-align: center;
	margin: 0 auto;
	padding: var(--sp-6) var(--sp-4) var(--sp-4) var(--sp-4);
	font-size: {fontsize="base"};
	line-height: 2;
	border: 2px dashed transparent;
	transition: all 0.2s linear;
}

.ipsAttachment_dropZone * {
	/*pointer-events: none;  This prevents dragleave from firing when dragging over elements in the drop zone */
}

	.ipsAttachment_dropZone a,
	.ipsAttachment_dropZone .moxie-shim,
	.ipsAttachment_dropZone .moxie-shim * {
		pointer-events: auto; /* Reinstate default events for button */
	}

	.ipsAttachment_dropZone:not( .ipsAttachment_dropZoneSmall ) > i:first-child {
		font-size: 60px;
		display: block;
	}

	.ipsAttachment_dropZone.ipsAttachment_dropZoneSmall {
		height: auto;
		min-height: 0;
		padding: var(--sp-4);
		text-align: left;
		line-height: 1;
	}
	html[dir="rtl"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall {
		text-align: right;
	}

	html[dir="ltr"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall > .ipsAttachment_dropZoneSmall_info {
		margin-left: 130px;
	}
	html[dir="rtl"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall > .ipsAttachment_dropZoneSmall_info {
		margin-right: 130px;
	}

	html[dir="ltr"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall [data-action='uploadFile'],
	html[dir="ltr"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall [data-action='stockPhoto']{
		margin-right: var(--sp-2);
	}
	html[dir="rtl"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall [data-action='uploadFile'],
	html[dir="rtl"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall [data-action='stockPhoto']{
		margin-left: var(--sp-2);
	}

	.ipsAttachment_dropZoneSmall .ipsAttachment_supportDrag {
		font-size: {fontsize="medium"};
	}

.ipsAttachment_dropZone.ipsDragging, .ipsComposeArea_dropZone.ipsDragging {
	background: transparent;
	border-color: rgb( var(--theme-active_input_border) );
	box-shadow: 0px 0px 0px 4px rgba( var(--theme-active_input_border), 0.3 );
}

.ipsAttachment_fileList {
	margin-top: 10px;
}

.ipsAttachment_summary {
	margin-top: 15px;
	height: 44px;
}

	.ipsAttachment_summary strong {
		display: inline-block;
		margin: 4px 0 0 7px;
		font-weight: normal;
	}
	html[dir="rtl"] .ipsAttachment_summary strong {
		margin: 4px 7px 0 0;
	}

.ipsAttach {
	position: relative;
}

.ipsAttach.ipsAttach_selected {
	background-color: rgb( var(--theme-selected) );
}

.ipsAttach_selection {
	width: 24px;
	height: 24px; 
	border-radius: 12px;
	display: inline-block;
	text-align: center;
	line-height: 24px;
	color: #fff !important;
	background: #000;
	opacity: 0.6;
}
	
	.ipsAttach_selection.ipsAttach_selectionOn {
		background: #2a94de;
		opacity: 1;
	}

/* IMAGE ATTACHMENTS */
.ipsImageAttach {
	display: inline-block;
	margin: 0 0 10px 0;
	text-align: left;
	position: relative;
}
html[dir="rtl"] .ipsImageAttach {
	text-align: right;
}

.ipsImageAttach_thumb {
	max-width: 100%;
	height: 150px;
	border: 1px solid rgba( var(--theme-text_color), 0.2 );
	background-color: rgb( var(--theme-area_background_reset) );
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

	.ipsImageAttach_thumb img {
		max-width: 100%;
		max-height: 100%;
		border: 0;
		position: relative;
		display: none;
	}
	
	.ipsImageAttach_thumb video {
		width: 100%;
		height: 100%;
		background: #000;
	}

.ipsImageAttach_status {
	display: block;
	line-height: 125px;
	opacity: 0.5;
}

.ipsApp .ipsImageAttach_controls {
	position: absolute;
	bottom: 55px;
	left: 10px;
	right: 10px;
	padding: 5px;
	z-index: 100;
	opacity: 1;
	transition: 0.2s all linear;
}

	.ipsApp .ipsImageAttach_controls .ipsButton {
		line-height: 22px;
		padding: 0 10px;
	}

.ipsAttach .ipsAttach_title {
	max-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	margin-top: 5px;
}

	.ipsAttach .ipsAttach_title + p {
		margin: 0;
	}

.ipsAttach.ipsDataItem .ipsDataItem_main,
.ipsAttach.ipsDataItem [data-role='preview'] {
	opacity: 0.5;
}

	.ipsAttach.ipsAttach_done.ipsDataItem .ipsDataItem_main,
	.ipsAttach.ipsAttach_done.ipsDataItem [data-role='preview'] {
		opacity: 1;
	}

	.ipsAttach.ipsDataItem .ipsDataItem_main{
		vertical-align: middle;
	}

.ipsAttach.ipsDataItem [data-role='preview'] {
	background-size: contain;
	background-position: top center;
	background-repeat: no-repeat;
}

	.ipsAttach.ipsDataItem [data-role='preview'] .ipsImage {
		display: none;
	}

.ipsAttachment_fileList .ipsImageAttach_thumb {
	vertical-align: middle;
	line-height: 200px;
}

.ipsAttachment_fileList .ipsDataList .ipsImage {
	max-width: 50px;
}

/* EMOTICONS */
.ipsEmoticons_content {
	height: 350px;
	padding: 5px;
}

	.ipsEmoticons_contentLoading {
		margin-top: 100px;
	}

.ipsEmoticons_category {
	display: table;
	width: 100%;
	margin-top: 5px;
	margin-bottom: 10px;
}

.ipsEmoticons_row {
	display: table-row;
}

.ipsEmoticons_item {
	display: table-cell;
	padding: 5px;
	width: 12.5%;
	text-align: center;
	font-size: 1.5em;
}

.ipsEmoticons_item img {
	max-width: 100%;
}
	
	.ipsEmoticons_item:hover {
		cursor: pointer;
		background: rgb( var(--theme-area_background_light) );
	}
	
.ipsMenu_item .ipsEmoji_result {
	display: inline-block;
	padding-right: 10px;
	text-align: center;
}

/* Giphy */

.ipsGiphyImage{
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.ipsGiphy_content {
	max-width: 100%;
	height: 400px;
}

.ipsGiphy_content .ipsLoading
{
	margin-top: 150px;
}

.ipsGiphy_row {
	text-align: center;
}

.ipsGiphy_thumb {
	width: 30%;
	display: inline-block;
	height: 100px;
	overflow: hidden;
	background: rgb( var(--theme-area_background_light) );
	padding: 6px;
	margin: 4px;
}

.ipsGiphy_attribution {
	float: right;
}
	.ipsGiphy_attribution img {
		max-width: 100px;
	}
	
.ipsGiphy_moar {
	margin: 10px auto 6px auto;
	text-align: center;
}

/* Stock replies */
.ipsStockReplies_menu {
	border-radius: 0px;
	height: 250px;
	overflow-y: auto;
}

.ipsStockReplies_row.ipsPad_half {
	padding-left: var(--sp-5);
}
	.ipsStockReplies_row:hover {
		cursor: pointer;
		background: rgb( var(--theme-area_background_light) );
	}

.ipsStockReplies_content .ipsLoading {
	height: 250px;
}

/* OTHER */

.cEditorURL {
	margin-bottom: 10px;
}

.cEditorURL + .ipsPos_right {
	margin-top: 5px;
}

.cImageURLPreview {
	height: 300px;
	text-align: center;
}

.cImageURLPreview img {
	max-width: 100%;
	max-height: 100%;
}

/* My Media */
.cMyMedia [data-role='status'] {
	/*display: none;*/
}

.cMyMedia [data-role="myMediaContent"] {
	overflow-y: auto;
	overflow-x: hidden;
}
html[dir="ltr"] .cMyMedia .ipsColumn [data-role="myMediaContent"] {
	padding-left: 0;
}
html[dir="rtl"] .cMyMedia .ipsColumn [data-role="myMediaContent"] {
	padding-right: 0;
}

html[dir="ltr"] .cMyMedia .ipsSideMenu {
	padding-right: 0;
}
html[dir="rtl"] .cMyMedia .ipsSideMenu {
	padding-left: 0;
}

.cMyMedia_controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="data-lists.css"><![CDATA[/* Data lists: our bread and butter. Shows lists of items with associated information */
/* ======================================================== */
/* COLORS */
.ipsApp .ipsDataItem_new, .ipsApp .ipsDataItem_success {
	background-color: var(--positive-light);
}

.ipsApp .ipsDataItem_warning {
	background-color: var(--intermediate-light);
}

.ipsApp .ipsDataItem_error {
	background-color: var(--negative-light);
}

.ipsApp .ipsDataItem_info {
	background-color: var(--informational-light);
}

.ipsApp .ipsDataItem_selected {
	background-color: rgb( var(--theme-selected) );
}

.ipsApp .ipsDataItem_status {
	background-color: rgb( var(--theme-area_background_light) );
}

/* Unread status */
.ipsDataList_readStatus .ipsDataItem:not( .ipsDataItem_unread ):not( .ipsDataItem_selected ):not( .ipsModerated ) {
	background: rgb( var(--theme-area_background_light) );
}

/* Zebra striping */
/* .ipsDataList_zebra > :nth-child(2n){
	background: rgb( var(--theme-area_background_light) );
} */

/* Make the whole row clickable */
.ipsDataList.ipsDataList_clickableRows .ipsDataItem > a {
	display: block;
}
.ipsDataList.ipsDataList_clickableRows .ipsDataItem > a:hover {
	background-color: rgb( var(--theme-area_background_light) ) !important;
}

/* ======================================================== */
/* LISTS & ITEMS */
.ipsDataList {
	position: relative;
	list-style: none;
	padding: 0;
	margin: 0;
}

	.ipsBox > form{
		border-radius: inherit;
	}
	.ipsDataList,
	.ipsDataList > *:last-child{
		border-bottom-left-radius: inherit;
		border-bottom-right-radius: inherit;
	}

.ipsDataItem_fullWidth {
	width: 100%;
}

.ipsDataItem_title {
	font-size: {fontsize="base"};
	margin: 0 0 var(--sp-1) 0;
	font-weight: 500;
	display: inline;
	line-height: 20px;
}

	.ipsDataItem_unread .ipsDataItem_title {
		font-weight: bold;
	}

	.ipsMenu .ipsDataItem_title {
		font-size: {fontsize="medium"};
	}

/* Basic cell styles */
.ipsDataItem_main, .ipsDataItem_stats, .ipsDataItem_lastPoster, .ipsDataItem_generic,
.ipsDataItem_modCheck, .ipsDataItem_icon {
	display: table-cell;
	padding: 18px var(--sp-3); /* Leaving this at 18px right now - not on the scale, but 20px is just a bit too spaced out here */
	vertical-align: middle;
}

.ipsDataItem_modCheck {
	/* Required to make custom checkboxes work in chrome */
	position: relative;
}

/* Reduced spacing cells */
.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon,
.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_main, 
.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_stats,
.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_lastPoster,
.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_generic {
	display: table-cell;
	padding: var(--sp-3) 0;
	vertical-align: top;
}
	
	html[dir="ltr"] .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon + .ipsDataItem_main {
		padding-left: var(--sp-2);
	}
	html[dir="rtl"] .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon + .ipsDataItem_main {
		padding-right: var(--sp-2);
	}
	
	html[dir="ltr"] .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon {
		padding-left: var(--sp-1);
	}
	html[dir="rtl"] .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon {
		padding-right: var(--sp-1);
	}

.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_title {
	margin: 0;
	display: inline;
}

/* Large lists */
.ipsDataList_large .ipsDataItem_main, 
.ipsDataList_large .ipsDataItem_stats,
.ipsDataList_large .ipsDataItem_lastPoster,
.ipsDataList_large .ipsDataItem_generic {
	padding: var(--sp-6) var(--sp-3);
}

	.ipsDataList_large .ipsDataItem_icon {
		padding: var(--sp-4) var(--sp-2) var(--sp-4) var(--sp-4);
		min-width: 55px;
		vertical-align: middle;
	}
	html[dir="rtl"] .ipsDataList_large .ipsDataItem_icon {
		padding: var(--sp-6) var(--sp-4) var(--sp-4) var(--sp-8);
	}

/* Reassert some positioning styles */
.ipsDataItem > .ipsPos_middle {
	vertical-align: middle !important;
}

.ipsDataItem > .ipsPos_top {
	vertical-align: top !important;
}

/* ======================================================== */
/* LOADING STYLE */
/* ======================================================== */
.ipsDataItem_loading > div {
	min-height: 65px;
	width: 100%;
	position: relative;
}

	.ipsDataItem_loading > div > span,
	.ipsDataItem_loading > div > span:before,
	.ipsDataItem_loading > div > span:after {
		display: block;
		position: absolute;
		animation: dummy_anim 1s infinite;
	}

	.ipsDataItem_loading > div > span:before,
	.ipsDataItem_loading > div > span:after {
		content: '';
	}

	/* Topic info dummy */
	.ipsDataItem_loading > div > span:last-child {
		height: 18px;
		top: 15px;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:last-child {
		left: 36px;
		right: 610px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:last-child {
		right: 36px;
		left: 610px;
	}
	.ipsDataItem_loading > div > span:last-child:before {
		width: 270px;
		top: 25px;
		height: 12px;
		opacity: 0.7;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:last-child:before {
		left: 0;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:last-child:before {
		right: 0;
	}
	
	.ipsDataItem_loading > div > span:last-child:after {
		width: 16px;
		height: 16px;
		border-radius: 16px;
		top: 0;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:last-child:after {
		left: -26px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:last-child:after {
		right: -26px;
	}

	/* Last poster dummy */
	.ipsDataItem_loading > div > span:first-child {
		width: 38px;
		height: 38px;
		top: 12px;
		border-radius: 38px;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:first-child {
		right: 300px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:first-child {
		left: 300px;
	}

	.ipsDataItem_loading > div > span:first-child:after {
		width: 200px;
		top: 3px;
		height: 15px;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:first-child:after {
		left: 50px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:first-child:after {
		right: 50px;
	}

	.ipsDataItem_loading > div > span:first-child:before {
		width: 150px;
		top: 22px;
		height: 12px;
		opacity: 0.7;
	}
	html[dir="ltr"] .ipsDataItem_loading > div > span:first-child:before {
		left: 50px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:first-child:before {
		right: 50px;
	}

/* ======================================================== */
/* ITEMS */
.ipsDataItem { 
	width: 100%;
	position: relative;
	border: 1px solid rgba( var(--theme-text_light), 0.1 );
	border-width: 0 0 1px 0;
}

	.ipsDataItem_autoWidth {
		width: auto;
	}

	/* .ipsDataList.ipsDataList_zebra > .ipsDataItem, */
	.ipsDataList:not( .ipsGrid ) .ipsDataItem:last-child{
		border-bottom-width: 0;
	}

/* ======================================================== */
/* MAIN COLUMN - fluid */
.ipsDataItem_main {
	width: 100%;
	margin: 0;
	vertical-align: top;
}
	
	.ipsDataItem .ipsDataItem_main:only-child {
		display: block !important;
	}

	.ipsDataItem .ipsDataItem_main .ipsTags {
		position: relative;
		top: -2px;
	}

		@media screen and (max-width: 767px) {
			.ipsDataItem .ipsDataItem_main .ipsTags {
				top: 0;
				margin: 4px 0;
			}
		}

	.ipsDataItem .ipsDataItem_main .ipsContained > span:not(.ipsBadge) {
		padding-right: 3px;
	}

/* ======================================================== */
/* STATS COLUMN */
.ipsDataItem_stats {
	width: 15%;
	min-width: 110px;
	text-align: right;
	list-style: none;
	white-space: nowrap;
	position: relative;
}
html[dir="rtl"] .ipsDataItem_stats {
	text-align: left;
}

	.ipsDataItem_stats > li {
		min-height: 1.5em;
	}

	.ipsDataItem_stats dl {
		margin: 0 0 5px 0;
	}
	
	.ipsDataItem_statsLarge {
		text-align: right;
	}
	
		.ipsDataItem_statsLarge .ipsDataItem_stats_number {
			font-size: {fontsize="large"};
			line-height: 1.3;
		}

	.ipsDataItem_stats_hot {
		background: #da621a;
		color: #fff;
		font-size: {fontsize="x_small"};
		font-weight: bold;
		display: inline-block;
		padding: 0 5px 0 5px;
		position: relative;
		vertical-align: middle;
		border-radius: calc( var(--radius-1) / 2 );
		white-space: nowrap;
	}

		.ipsDataItem_stats_hot:before {
			content: attr(data-text);
			text-transform: uppercase;
			font-size: {fontsize="9"};
			opacity: 0.6;
		}
		html[dir="ltr"] .ipsDataItem_stats_hot:before {
			margin-right: 5px;
		}
		html[dir="rtl"] .ipsDataItem_stats_hot:before {
			margin-left: 5px;
		}

	html[dir="ltr"] .ipsDataItem_stats dt, html[dir="ltr"] .ipsDataItem_stats dd {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsDataItem_stats dt, html[dir="rtl"] .ipsDataItem_stats dd {
		margin-right: 0;
	}

/* ======================================================== */
/* OTHER */
.ipsDataItem_icon {
	width: 25px;
	min-width: 25px;
	padding-top: 18px;
}
html[dir="ltr"] .ipsDataItem_icon {
	padding-right: 0;
}
	html[dir="ltr"] .ipsDataList_large .ipsDataItem_icon {
		padding-right: 10px;
	}

html[dir="rtl"] .ipsDataItem_icon {
	padding-left: 0;
}
	html[dir="rtl"] .ipsDataList_large .ipsDataItem_icon {
		padding-left: 10px;
	}

.ipsDataItem_icon_noPad {
	padding: 0;
}

.ipsDataItem_category {
	font-size: {fontsize="x_large"};
}

.ipsDataItem_meta {
	margin: 0;
	color: rgb( var(--theme-text_light) );
}

/* ======================================================== */
/* LAST POSTER */
.ipsDataItem_lastPoster {
	width: 24%;
	max-width: 24%;
	min-width: 270px;
	list-style: none;
	margin: 0;
	line-height: 1.4;
}

	.ipsDataItem_lastPoster.ipsDataItem_noPhoto {
		width: 20%;
		min-width:200px
	}
	
	html[dir="ltr"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto li {
		margin-left: 50px;
	}
	html[dir="rtl"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto li {
		margin-right: 50px;
	}

	.ipsDataItem_lastPoster .ipsUserPhoto {
		display: block;
		float: left;
		margin: 0 10px 0 -50px;
		width: 40px;
		height: 40px;
	}
	html[dir="rtl"] .ipsDataItem_lastPoster .ipsUserPhoto {
		float: right;
		margin: 0 -50px 0 10px;
	}

	.ipsDataItem_lastPoster .ipsTruncate_line,
	.ipsDataItem_lastPoster__title{
		font-size: {fontsize="medium"};
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 196px;
		white-space: nowrap;
	}

		@media (max-width: 1200px){
			.ipsDataItem_lastPoster .ipsTruncate_line,
			.ipsDataItem_lastPoster__title{
				max-width: 136px;
			}
		}

	.cForumGrid .ipsDataItem_lastPoster__title{
		max-width: none;
		white-space: normal;
	}

/* ======================================================== */
/* GENERIC SIZING */
.ipsDataItem_size1 { width: 50px; min-width: 50px; }
.ipsDataItem_size2 { width: 75px; min-width: 75px; }
.ipsDataItem_size3 { width: 100px; min-width: 100px; }
.ipsDataItem_size4 { width: 125px; min-width: 125px; }
.ipsDataItem_size5 { width: 150px; min-width: 150px; }
.ipsDataItem_size6 { width: 175px; min-width: 175px; }
.ipsDataItem_size7 { width: 200px; min-width: 200px; }
.ipsDataItem_size8 { width: 225px; min-width: 225px; }
.ipsDataItem_size9 { width: 250px; min-width: 250px; }
.ipsDataItem_size10 { width: 300px; min-width: 300px; }

/* ======================================================== */
/* SUB LISTS */
.ipsDataItem_subList {
	margin: 5px 0 0;
	background-repeat: no-repeat;
	background-size: 13px 8px;
	list-style: none;
}
html[dir="ltr"] .ipsDataItem_subList {
	padding-left: 20px !important;
	background-image: url( "{resource="subitem_stem.png" app="core" location="front"}" );
	background-position: 3px 5px;
}
html[dir="rtl"] .ipsDataItem_subList {
	padding-right: 20px !important;
	background-image: url( "{resource="subitem_stem_rtl.png" app="core" location="front"}" );
	background-position: right 3px top 5px;
}
	
	.ipsDataItem_subList li {
		margin-right: 5px !important;
	}

		.ipsDataItem_subList li.ipsDataItem_unread {
			font-weight: bold;
		}

		.ipsDataItem_subList li a:after {
			content: ',';
		}

		.ipsDataItem_subList li:last-child a:after {
			content: '';
		}

	/* Sub results */
	.ipsDataItem_subItem {
		padding-bottom: 10px;
	}
	html[dir="ltr"] .ipsDataItem_subItem {
		padding-left: 5%;
	}
	html[dir="rtl"] .ipsDataItem_subItem {
		padding-right: 5%;
	}

		.ipsDataItem_subItem .ipsDataItem_icon {
			font-size: {fontsize="x_large"};
		}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="engagement.css"><![CDATA[/* Engagement: styles for various features that generall fall under user engagement */
/* ======================================================== */
/* LIKE & REP BUTTONS */

.ipsReact {
	position: relative;
	display: flex;
	align-items: center;
	font-size: {fontsize="x_small"};
	z-index: 1900;
}

	body.ipsApp_noTouch .ipsReact_types:hover .ipsReact_button,
	body:not( .ipsApp_noTouch ) .ipsReact_types.ipsReact_types_active .ipsReact_button {
		border: 1px solid rgba( var(--theme-text_color), 0.2 );
		background: rgb( var(--theme-area_background_light) );
		box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
		transform: scale(1.2);
		transition-delay: 0s;
	}

		body.ipsApp_noTouch .ipsReact_types:hover .ipsReact_button,
		body:not( .ipsApp_noTouch ) .ipsReact_types.ipsReact_types_active .ipsReact_button {
			filter: grayscale(0%) brightness(100%);
		}

	.ipsReact .ipsReact_types ul.ipsReact_hover {
		display: block;
		pointer-events: auto !important;
		animation: reaction-hover 0.3s ease-in-out forwards;
	}

	.ipsReact .ipsReact_types ul.ipsReact_hoverOut {
		display: block;
		animation: reaction-hover-out 0.2s ease-in-out 0.4s forwards;
	}

.ipsReact_button {
	width: 42px;
	height: 42px;
	border-radius: 42px;
	padding: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	position: relative;
	transition: 0.1s all ease-in-out;
	transition-delay: 0.4s;
	position: relative;
	filter: grayscale(100%) brightness(160%);
}
	
	.ipsReact_button a {
		display: block;
		line-height: 1;
	}

	.ipsReact_button img {
		max-width: 29px;
		max-height: 29px;
		vertical-align: top;
	}

	.ipsReact_button.ipsReact_reacted {
		filter: grayscale(0%) brightness(100%);
	}

.ipsReact_types ul {
	position: absolute;
	top: 2px;
	height: 38px;
	background: rgb( var(--theme-area_background_dark) );
	border: 1px solid rgba( var(--theme-text_color), 0.1 );
	white-space: nowrap;
	display: none;
	pointer-events: none;
	/* see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/104357/ and https://stackoverflow.com/questions/20356311/internet-explorer-11-ignores-list-stylenone-on-the-first-load */
	list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
	margin: 0;
}
	
	html[dir="ltr"] .ipsReact_types ul {
		transform-origin: right;
		right: 21px;
		padding: 5px 30px 5px 5px;
		border-radius: 38px 0 0 38px;
	}
	html[dir="rtl"] .ipsReact_types ul {
		transform-origin: left;
		left: 21px;
		padding: 5px 5px 5px 30px;
		border-radius: 0 38px 38px 0;
	}

	.ipsReact_types ul li {
		display: inline-block;
	}
		html[dir="ltr"] .ipsReact_types ul li {
			margin: 0 5px 0 0 !important;
		}
		html[dir="rtl"] .ipsReact_types ul li {
			margin: 0 0 0 5px !important;
		}

	.ipsReact_types ul img {
		max-width: 28px;
		max-height: 28px;
	}

	.ipsReact_types ul a {
		transition: 0.1s all ease-in-out;
		display: inline-block;
	}

		.ipsReact_types ul a:hover {
			transform: scale(1.25);
		}

.ipsReact_name {
	display: none;
}

a.ipsReact_reaction:after {
	position: absolute;
	top: 50%;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	content: '';
	display: block;
	opacity: 1;
	pointer-events: none;
	box-shadow: inset 0 0 0 35px rgba( var(--theme-text_color), 0 );
}
	
	html[dir="ltr"] a.ipsReact_reaction:after {
		left: 50%;
		margin: -35px 0 0 -35px;
	}
	html[dir="rtl"] a.ipsReact_reaction:after {
		right: 50%;
		margin: -35px -35px 0 0;
	}

	a.ipsReact_reaction.ipsReact_active:after {
		animation: reaction-click-ring 0.8s ease-out forwards;
	}

	a.ipsReact_reaction.ipsReact_active img {
		animation: reaction-click 0.6s ease-out forwards;
	}	


.ipsReact_unreact {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff !important;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	line-height: 20px;
	font-size: 14px;
	font-family: 'arial', sans-serif;
	text-align: center;
	display: block;
	position: absolute;
	top: 0px;
}
	html[dir="ltr"] .ipsReact_unreact {
		right: -6px;
	}
	html[dir="rtl"] .ipsReact_unreact {
		left: -6px;
	}

html[dir="ltr"] .ipsReact_blurb {
	text-align: right;
	margin-left: 15px;
}
html[dir="rtl"] .ipsReact_blurb {
	text-align: left;
	margin-right: 15px;
}

html[dir="ltr"] .ipsReact_blurb:not( .ipsHide ) + .ipsReact_types {
	border-left: 1px solid rgba( var(--theme-text_color), 0.1 );
	padding-left: 3px;
	margin-left: 10px;
}
html[dir="rtl"] .ipsReact_blurb:not( .ipsHide ) + .ipsReact_types {
	border-right: 1px solid rgba( var(--theme-text_color), 0.1 );
	padding-right: 3px;
	margin-right: 10px;
}

.ipsReact_reactions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
}

.ipsReact_reactCount {
	display: inline;
	margin: 1px 0;
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
}

	.ipsReact_reactCount > a,
	.ipsReact_reactCount > span {
		border: 1px solid var(--form-field--borderColor);
		border-radius: 50px;
		background: rgb( var(--theme-area_background_reset) );
		background-clip: padding-box;
		border-radius: 50px;
	}

	.ipsReact_reactCount > a {
		white-space: nowrap;
	}

		.ipsReact_reactCount > a:hover {
			border-color: var(--form-field--borderHoverColor);
			box-shadow: var(--form-field--focusShadow);
		}

	html[dir="ltr"] .ipsReact_reactCount {
		margin-left: 7px;
	}
	html[dir="rtl"] .ipsReact_reactCount {
		margin-right: 7px;
	}

	html[dir="ltr"] .ipsReact_reactCount:first-child {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsReact_reactCount:first-child {
		margin-right: 0;
	}

	.ipsReact_reactCount img {
		max-width: 20px;
		max-height: 20px;
	}

		.ipsReact_reactCount > span > span,
		.ipsReact_reactCount > a > span {
			display: inline-block;
			padding: 3px 0 3px 4px;
		}

		.ipsReact_reactCount > span > span:last-child,
		.ipsReact_reactCount > a > span:last-child {
			color: rgb( var(--theme-text_dark) );
			font-size: {fontsize="x_small"};
			font-weight: 500;
			padding: 0 12px 0 6px;
			line-height: 26px;
		}

		html[dir="ltr"] .ipsReact_reactCount > span > span:last-child,
		html[dir="ltr"] .ipsReact_reactCount > a > span:last-child {
			margin-left: -2px;
		}
		html[dir="rtl"] .ipsReact_reactCount > span > span:last-child,
		html[dir="rtl"] .ipsReact_reactCount > a > span:last-child {
			margin-right: -2px;
		}

.ipsReact_reactCountOnly {
	padding: 0 7px;
	font-weight: bold;
	line-height: 24px;
	border-radius: 2px;
	font-size: {fontsize="x_small"};
	display: inline-block;
}

/* MINI REACTIONS */
.ipsReact.ipsReact_mini {
	line-height: 1;
	flex-direction: row-reverse;
}

.ipsReact.ipsReact_mini .ipsReact_overview {
	display: none;
}

.ipsReact.ipsReact_mini .ipsReact_button {
	width: 26px;
	height: 26px;
	line-height: 26px;
	border-radius: 26px;
	padding: 2px;
	display: inline-block;
}

	.ipsReact.ipsReact_mini .ipsReact_button img {
		max-width: 20px;
		max-height: 20px;
	}

html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul {
	top: 0;
	height: 28px;
	border-radius: 27px;
}

	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_types ul {
		transform-origin: left;
		left: 0;
		right: auto;	
		padding: 2px 0 2px 38px;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_types ul {
		transform-origin: right;
		left: auto;
		right: 0;	
		padding: 2px 38px 2px 0;
	}

	.ipsReact.ipsReact_mini .ipsReact_types ul img {
		max-width: 22px;
		max-height: 22px;
	}

.ipsReact.ipsReact_mini .ipsReact_reactCount a img {
	max-width: 15px;
	max-height: 15px;
}

html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_blurb {
	margin-left: 0;
	border: 0;
	padding: 1px 0 0 7px;
	margin-left: 7px;
}
html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_blurb {
	margin-right: 0;
	border: 0;
	padding: 1px 7px 0 0;
	margin-right: 7px;
}

	html[dir] .ipsReact.ipsReact_miniNoInteraction .ipsReact_blurb {
		padding: 0;
		margin-left: 0;
		margin-right: 0;
	}

html[dir] .ipsReact.ipsReact_mini .ipsReact_unreact {
	display: inline-block;
	position: absolute;
	top: -8px;
}

	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_unreact {
		right: -8px;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_unreact {
		left: -8px;
	}

.ipsReact_reactCountOnly_mini {
	line-height: 18px;
	font-size: {fontsize="10"};
}

html[dir="ltr"] .ipsReact_count {
	margin-left: 5px;
}
html[dir="rtl"] .ipsReact_count {
	margin-right: 5px;
}

.ipsReactOverview {
	text-align: center;
}

.ipsReactOverview ul {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

	.ipsReactOverview ul + span.ipsType_medium {
		vertical-align: middle;
	}

	.ipsReactOverview ul img {
		max-width: 28px;
		max-height: 28px;
		border: 2px solid #fff;
		border-radius: 28px;
	}

		.ipsReactOverview_small ul img {
			max-width: 24px;
			max-height: 24px;
		}

	html[dir="ltr"] .ipsReactOverview ul li {
		margin-right: -10px !important;
		border-radius: 28px;
	}
		html[dir="ltr"] .ipsReactOverview ul li:first-child {
			margin-right: 0 !important;
		}
	
	html[dir="rtl"] .ipsReactOverview ul li {
		margin-left: -10px !important;
		border-radius: 28px;
	}
		html[dir="rtl"] .ipsReactOverview ul li:first-child {
			margin-left: 0 !important;
		}

.ipsReactOverview p {
	display: block;
    margin-top: 5px;
    font-size: {fontsize="x_small"};
    text-transform: uppercase;
    opacity: 0.5;
}

html[dir="ltr"] .ipsReactOverview_small li.ipsReactOverview_repCount {
	margin-left: 15px;
	line-height: 24px;
}
html[dir="rtl"] .ipsReactOverview_small li.ipsReactOverview_repCount {
	margin-right: 15px;
	line-height: 24px;
}
	
/* REACTION ANIMATION DEFINITIONS */
@keyframes reaction-click-ring {
	0% {
		opacity: 1;
		transform: scale3d(0.4, 0.4, 1);
	}
	40% {
		box-shadow: inset 0 0 0 2px rgba( var(--theme-text_color), 0.8 );
		transform: scale3d(1, 1, 1);
		opacity: 0.8;
	}
	100% {
		box-shadow: inset 0 0 0 2px rgba( var(--theme-text_color), 0.8 );
		opacity: 0;
		transform: scale3d(1.2, 1.2, 1);
	}
}

@keyframes reaction-click {
	0% {
		opacity: 0;
		transform: scale3d(0.1, 0.1, 1);
	}
	30% {
		transform: scale3d(1.3, 1.3, 1);
		opacity: 1;
	}
	100% {
		transform: scale3d(1, 1, 1);
	}
}

@keyframes reaction-hover {
	0% {
		opacity: 0;
		transform: scale3d(0, 1, 1);
	}
	50% {
		transform: scale3d(1.2, 1, 1);
		opacity: 1;
	}
	100% {
		transform: scale3d(1, 1, 1);
	}
}

@keyframes reaction-hover-mobile {
	0% {
		opacity: 0;
		transform: scale3d(1, 0, 1);
	}
	50% {
		transform: scale3d(1, 1.2, 1);
		opacity: 1;
	}
	100% {
		transform: scale3d(1, 1, 1);
	}
}

@keyframes reaction-hover-out {
	0% {
		opacity: 1;
		transform: scale3d(1, 1, 1);
	}
	60% {
		transform: scale3d(0, 0.5, 1);
	}
	100% {
		opacity: 0;
	}
}

.ipsReputation_count {
	background: #fff;
	display: inline-block;
	position: relative;
	font-size: {fontsize="small"};
	font-weight: bold;
	border-radius: var(--radius-1);
	border: 1px solid rgba(0,0,0,0.1);
}
		
	.ipsRep_mini .ipsReputation_count {
		font-weight: normal;
	}
	
	.ipsReputation_count.ipsType_positive {
		background: var(--positive-light);
	}

	.ipsReputation_count.ipsType_negative {
		background: var(--negative-light);
	}

.ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count {
	font-size: {fontsize="x_small"};
	line-height: 20px;
}
html[dir="ltr"] .ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count {
	margin-left: 10px;
}
html[dir="rtl"] .ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count {
	margin-right: 10px;
}

.ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count:before {
	content: '';
	display: block;
	width: 1px;
	height: 100%;
	position: absolute;
	background: rgba(0,0,0,0.1);
	top: 0;
}
html[dir="ltr"] .ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count:before {
	left: -8px;
}
html[dir="rtl"] .ipsLikeRep [data-action="giveReputation"] + .ipsReputation_count:before {
	right: -8px;
}

/* ======================================================== */
/* MINI LIKE/REP */
.ipsRep_mini .ipsLikeRep {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

	.ipsLikeRep:before {
		display: none;
	}

.ipsRep_mini .ipsReputation_count {
	background: transparent;
	border-radius: 0;
	border: 0;
	padding: 0;
}

.ipsRep_mini .ipsButton.ipsButton_rep, .ipsReputation_count {
	line-height: 18px;
}

/* ======================================================== */
/* FOLLOW/LIKE */
.ipsApp .ipsFollow {
	display: inline-flex;
	vertical-align: middle;
	white-space: nowrap;
	padding: 0;
}
	.ipsApp div[data-followapp] {
		display: inline-block;
	}

	.ipsApp .ipsButton_link.ipsFollow:hover {
		cursor: default;
	}

	.ipsFollow > :first-child{
		padding: 0 18px;
	}

	.ipsFollow .ipsCommentCount {
		margin: 0 4px !important;
		background: transparent;
		color: rgb( var(--theme-text_color) );
		text-shadow: none !important;
		line-height: 24px;
		padding: 0 8px;
		font-size: {fontsize="10"};
		align-self: center;
		border-radius: inherit;
		font-weight: bold;
		z-index: 1;
	}

		.ipsFollow .ipsCommentCount::before{
			content: '';
			position: absolute; top: 0; left: 0; right: 0; bottom: 0;
			border-radius: inherit;
			background: rgb( var(--theme-area_background_reset) );
			z-index: -1;
		}
		
.ipsFollowerList {
	max-height: 300px;
	overflow: auto;
}

/* ======================================================== */
/* RATINGS */
.ipsRating {
	font-size: 14px;
	line-height: 1;
	display: inline-block;
	cursor: default;
}
	
	.ipsRating > ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
	}

		.ipsRating > ul > li {
			display: inline-block;
		}

	html[dir="ltr"] .ipsRating > ul > li,
	html[dir="ltr"] .ipsList_inline.ipsRating > li {
		margin-right: -2px; /* Where a rating is using UL (as with reviews), reset margin */
	}
	html[dir="rtl"] .ipsRating > ul > li,
	html[dir="rtl"] .ipsList_inline.ipsRating > li {
		margin-left: -2px;
	}

	/* Sizes */
	.ipsRating.ipsRating_small {
		font-size: 11px;
	}

	.ipsRating.ipsRating_large {
		font-size: 16px;
	}

	.ipsRating.ipsRating_veryLarge {
		font-size: 20px;
	}

	.ipsRating + span {
		margin-left: 10px;
	}

	.ipsRating + span:empty {
		margin-left: 0;
	}

/* Hover stuff for own ratings */
.ipsRating.ipsRating_rated .ipsRating_collective,
.ipsRating.ipsRating_rated:hover .ipsRating_mine {
	display: none;
}

	.ipsRating.ipsRating_rated:hover .ipsRating_collective {
		display: inline-block;
	}

/* Specific to the widget version */
html[dir="ltr"] [data-ipsRating] > .ipsRating {
	float: left;
}
html[dir="rtl"] [data-ipsRating] > .ipsRating {
	float: right;
}

html[dir="ltr"] [data-ipsRating] > .ipsRating > ul > li {
	padding-right: 3px;
	float: left;
}
html[dir="rtl"] [data-ipsRating] > .ipsRating > ul > li {
	padding-left: 3px;
	float: right;
}
.ipsRating > ul > li > i.fa {
	width: auto !important;
}

.ipsRating.ipsRating_loading {
	opacity: 0.6;
}

/* COLORS */
.ipsRating .ipsRating_on .fa-star {
	color: rgb( var(--theme-rating_on) );
}

	.ipsRating .ipsRating_mine .ipsRating_on .fa-star {
		color: rgb( var(--theme-brand_primary) );
	}

.ipsRating .ipsRating_half .fa-star-half.fa-flip-horizontal {
	color: rgb( var(--theme-text_light) );
	opacity: 0.4;
	margin-left: -1px;
}
.ipsRating .ipsRating_half .fa-star-half:not(.fa-flip-horizontal) {
	color: rgb( var(--theme-rating_on) );
	margin-right: -1px;
}

.ipsRating .ipsRating_off .fa-star-o,
.ipsRating .ipsRating_off .fa-star {
	color: rgb( var(--theme-text_light) );
	opacity: 0.4;
}

.ipsRating .ipsRating_hover .fa-star {
	color: rgb( var(--theme-brand_primary) );
	transition: all 0.1s linear;
	transform: scale(1.2);
}

/* ======================================================== */
/* SHARE LINKS */
.ipsShare_facebook {
	border:none;
	overflow:hidden;
	height:20px;
	width: 48px;
}

.ipsShareLinks{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-2);
}

	.ipsShareLinks > *{
		flex: 1 1 auto;
	}

/* ======================================================== */
/* PIP PIP */
.ipsPip {
	font-size: 10px;
	color: rgb( var(--theme-text_color) );
	display: inline-block;
}
html[dir="ltr"] .ipsPip {
	margin-right: 2px;
}
html[dir="rtl"] .ipsPip {
	margin-left: 2px;
}

	.ipsPip:before {
		content: '\f111';
		font-family: 'FontAwesome';
	}

/* ====================================================== */
/* LEADERBOARD */
.ipsLeaderboard_trophy {
	color: #ffffff;
	font-size: {fontsize="2x_large"};
	padding-top: 7px;
	padding-left: 1px;
	width: 40px;
	height: 40px;
	border-radius: 38px;
	position: relative;
	display: inline-block;
	text-align: center;
}

	.ipsLeaderboard_trophy:before,
	.ipsLeaderboard_trophy:after {
		content: '';
		display: block;
		width: 12px;
		height: 30px;
		position: absolute;
		top: 24px;
	}

		.ipsLeaderboard_trophy:before {
			transform: rotate(50deg) skew(15deg);
			left: 9px;
		}
		.ipsLeaderboard_trophy:after {
			transform: rotate(-50deg) skew(-15deg);
			right: 9px;
		}

	.ipsLeaderboard_trophy .fa {
		position: relative;
		z-index: 100;
	}

.ipsLeaderboard_trophy_1,
.ipsLeaderboard_trophy_1.ipsLeaderboard_trophy:before,
.ipsLeaderboard_trophy_1.ipsLeaderboard_trophy:after {
	background-color: var(--trophy-first--background);
}

.ipsLeaderboard_trophy_2,
.ipsLeaderboard_trophy_2.ipsLeaderboard_trophy:before,
.ipsLeaderboard_trophy_2.ipsLeaderboard_trophy:after {
	background-color: var(--trophy-second--background);
}

.ipsLeaderboard_trophy_3,
.ipsLeaderboard_trophy_3.ipsLeaderboard_trophy:before,
.ipsLeaderboard_trophy_3.ipsLeaderboard_trophy:after {
	background-color: var(--trophy-third--background);
}

.ipsLeaderboard_trophy_4 {
	display: none;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="fonts.css"><![CDATA[/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('{url="applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" base="none" noprotocol="true"}') format('woff2'), url('{url="applications/core/interface/font/fontawesome-webfont.woff?v=4.7.0" base="none" noprotocol="true"}') format('woff'), url('{url="applications/core/interface/font/fontawesome-webfont.ttf?v=4.7.0" base="none" noprotocol="true"}') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* makes the font 33% larger relative to the icon container */
.fa-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}
.fa-2x {
  font-size: 2em;
}
.fa-3x {
  font-size: 3em;
}
.fa-4x {
  font-size: 4em;
}
.fa-5x {
  font-size: 5em;
}
.fa-fw {
  width: 1.28571429em;
  text-align: center;
}
.fa-ul {
  padding-left: 0;
  margin-left: 2.14285714em;
  list-style-type: none;
}
.fa-ul > li {
  position: relative;
}
.fa-li {
  position: absolute;
  left: -2.14285714em;
  width: 2.14285714em;
  top: 0.14285714em;
  text-align: center;
}
.fa-li.fa-lg {
  left: -1.85714286em;
}
.fa-border {
  padding: .2em .25em .15em;
  border: solid 0.08em #eeeeee;
  border-radius: .1em;
}
.fa-pull-left {
  float: left;
}
.fa-pull-right {
  float: right;
}
.fa.fa-pull-left {
  margin-right: .3em;
}
.fa.fa-pull-right {
  margin-left: .3em;
}
/* Deprecated as of 4.4.0 */
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.fa.pull-left {
  margin-right: .3em;
}
.fa.pull-right {
  margin-left: .3em;
}
.fa-spin {
  animation: fa-spin 2s infinite linear;
}
.fa-pulse {
  animation: fa-spin 1s infinite steps(8);
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.fa-rotate-90 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  transform: rotate(90deg);
}
.fa-rotate-180 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  transform: rotate(180deg);
}
.fa-rotate-270 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  transform: rotate(270deg);
}
.fa-flip-horizontal {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
  transform: scale(-1, 1);
}
.fa-flip-vertical {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
  transform: scale(1, -1);
}
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical {
  filter: none;
}
.fa-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}
.fa-stack-1x,
.fa-stack-2x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.fa-stack-1x {
  line-height: inherit;
}
.fa-stack-2x {
  font-size: 2em;
}
.fa-inverse {
  color: #ffffff;
}
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
   readers do not read off random characters that represent icons */
.fa-glass:before {
  content: "\f000";
}
.fa-music:before {
  content: "\f001";
}
.fa-search:before {
  content: "\f002";
}
.fa-envelope-o:before {
  content: "\f003";
}
.fa-heart:before {
  content: "\f004";
}
.fa-star:before {
  content: "\f005";
}
.fa-star-o:before {
  content: "\f006";
}
.fa-user:before {
  content: "\f007";
}
.fa-film:before {
  content: "\f008";
}
.fa-th-large:before {
  content: "\f009";
}
.fa-th:before {
  content: "\f00a";
}
.fa-th-list:before {
  content: "\f00b";
}
.fa-check:before {
  content: "\f00c";
}
.fa-remove:before,
.fa-close:before,
.fa-times:before {
  content: "\f00d";
}
.fa-search-plus:before {
  content: "\f00e";
}
.fa-search-minus:before {
  content: "\f010";
}
.fa-power-off:before {
  content: "\f011";
}
.fa-signal:before {
  content: "\f012";
}
.fa-gear:before,
.fa-cog:before {
  content: "\f013";
}
.fa-trash-o:before {
  content: "\f014";
}
.fa-home:before {
  content: "\f015";
}
.fa-file-o:before {
  content: "\f016";
}
.fa-clock-o:before {
  content: "\f017";
}
.fa-road:before {
  content: "\f018";
}
.fa-download:before {
  content: "\f019";
}
.fa-arrow-circle-o-down:before {
  content: "\f01a";
}
.fa-arrow-circle-o-up:before {
  content: "\f01b";
}
.fa-inbox:before {
  content: "\f01c";
}
.fa-play-circle-o:before {
  content: "\f01d";
}
.fa-rotate-right:before,
.fa-repeat:before {
  content: "\f01e";
}
.fa-refresh:before {
  content: "\f021";
}
.fa-list-alt:before {
  content: "\f022";
}
.fa-lock:before {
  content: "\f023";
}
.fa-flag:before {
  content: "\f024";
}
.fa-headphones:before {
  content: "\f025";
}
.fa-volume-off:before {
  content: "\f026";
}
.fa-volume-down:before {
  content: "\f027";
}
.fa-volume-up:before {
  content: "\f028";
}
.fa-qrcode:before {
  content: "\f029";
}
.fa-barcode:before {
  content: "\f02a";
}
.fa-tag:before {
  content: "\f02b";
}
.fa-tags:before {
  content: "\f02c";
}
.fa-book:before {
  content: "\f02d";
}
.fa-bookmark:before {
  content: "\f02e";
}
.fa-print:before {
  content: "\f02f";
}
.fa-camera:before {
  content: "\f030";
}
.fa-font:before {
  content: "\f031";
}
.fa-bold:before {
  content: "\f032";
}
.fa-italic:before {
  content: "\f033";
}
.fa-text-height:before {
  content: "\f034";
}
.fa-text-width:before {
  content: "\f035";
}
.fa-align-left:before {
  content: "\f036";
}
.fa-align-center:before {
  content: "\f037";
}
.fa-align-right:before {
  content: "\f038";
}
.fa-align-justify:before {
  content: "\f039";
}
.fa-list:before {
  content: "\f03a";
}
.fa-dedent:before,
.fa-outdent:before {
  content: "\f03b";
}
.fa-indent:before {
  content: "\f03c";
}
.fa-video-camera:before {
  content: "\f03d";
}
.fa-photo:before,
.fa-image:before,
.fa-picture-o:before {
  content: "\f03e";
}
.fa-pencil:before {
  content: "\f040";
}
.fa-map-marker:before {
  content: "\f041";
}
.fa-adjust:before {
  content: "\f042";
}
.fa-tint:before {
  content: "\f043";
}
.fa-edit:before,
.fa-pencil-square-o:before {
  content: "\f044";
}
.fa-share-square-o:before {
  content: "\f045";
}
.fa-check-square-o:before {
  content: "\f046";
}
.fa-arrows:before {
  content: "\f047";
}
.fa-step-backward:before {
  content: "\f048";
}
.fa-fast-backward:before {
  content: "\f049";
}
.fa-backward:before {
  content: "\f04a";
}
.fa-play:before {
  content: "\f04b";
}
.fa-pause:before {
  content: "\f04c";
}
.fa-stop:before {
  content: "\f04d";
}
.fa-forward:before {
  content: "\f04e";
}
.fa-fast-forward:before {
  content: "\f050";
}
.fa-step-forward:before {
  content: "\f051";
}
.fa-eject:before {
  content: "\f052";
}
.fa-chevron-left:before {
  content: "\f053";
}
.fa-chevron-right:before {
  content: "\f054";
}
.fa-plus-circle:before {
  content: "\f055";
}
.fa-minus-circle:before {
  content: "\f056";
}
.fa-times-circle:before {
  content: "\f057";
}
.fa-check-circle:before {
  content: "\f058";
}
.fa-question-circle:before {
  content: "\f059";
}
.fa-info-circle:before {
  content: "\f05a";
}
.fa-crosshairs:before {
  content: "\f05b";
}
.fa-times-circle-o:before {
  content: "\f05c";
}
.fa-check-circle-o:before {
  content: "\f05d";
}
.fa-ban:before {
  content: "\f05e";
}
.fa-arrow-left:before {
  content: "\f060";
}
.fa-arrow-right:before {
  content: "\f061";
}
.fa-arrow-up:before {
  content: "\f062";
}
.fa-arrow-down:before {
  content: "\f063";
}
.fa-mail-forward:before,
.fa-share:before {
  content: "\f064";
}
.fa-expand:before {
  content: "\f065";
}
.fa-compress:before {
  content: "\f066";
}
.fa-plus:before {
  content: "\f067";
}
.fa-minus:before {
  content: "\f068";
}
.fa-asterisk:before {
  content: "\f069";
}
.fa-exclamation-circle:before {
  content: "\f06a";
}
.fa-gift:before {
  content: "\f06b";
}
.fa-leaf:before {
  content: "\f06c";
}
.fa-fire:before {
  content: "\f06d";
}
.fa-eye:before {
  content: "\f06e";
}
.fa-eye-slash:before {
  content: "\f070";
}
.fa-warning:before,
.fa-exclamation-triangle:before {
  content: "\f071";
}
.fa-plane:before {
  content: "\f072";
}
.fa-calendar:before {
  content: "\f073";
}
.fa-random:before {
  content: "\f074";
}
.fa-comment:before {
  content: "\f075";
}
.fa-magnet:before {
  content: "\f076";
}
.fa-chevron-up:before {
  content: "\f077";
}
.fa-chevron-down:before {
  content: "\f078";
}
.fa-retweet:before {
  content: "\f079";
}
.fa-shopping-cart:before {
  content: "\f07a";
}
.fa-folder:before {
  content: "\f07b";
}
.fa-folder-open:before {
  content: "\f07c";
}
.fa-arrows-v:before {
  content: "\f07d";
}
.fa-arrows-h:before {
  content: "\f07e";
}
.fa-bar-chart-o:before,
.fa-bar-chart:before {
  content: "\f080";
}
.fa-twitter-square:before {
  content: "\f081";
}
.fa-facebook-square:before {
  content: "\f082";
}
.fa-camera-retro:before {
  content: "\f083";
}
.fa-key:before {
  content: "\f084";
}
.fa-gears:before,
.fa-cogs:before {
  content: "\f085";
}
.fa-comments:before {
  content: "\f086";
}
.fa-thumbs-o-up:before {
  content: "\f087";
}
.fa-thumbs-o-down:before {
  content: "\f088";
}
.fa-star-half:before {
  content: "\f089";
}
.fa-heart-o:before {
  content: "\f08a";
}
.fa-sign-out:before {
  content: "\f08b";
}
.fa-linkedin-square:before {
  content: "\f08c";
}
.fa-thumb-tack:before {
  content: "\f08d";
}
.fa-external-link:before {
  content: "\f08e";
}
.fa-sign-in:before {
  content: "\f090";
}
.fa-trophy:before {
  content: "\f091";
}
.fa-github-square:before {
  content: "\f092";
}
.fa-upload:before {
  content: "\f093";
}
.fa-lemon-o:before {
  content: "\f094";
}
.fa-phone:before {
  content: "\f095";
}
.fa-square-o:before {
  content: "\f096";
}
.fa-bookmark-o:before {
  content: "\f097";
}
.fa-phone-square:before {
  content: "\f098";
}
.fa-twitter:before {
  content: "\f099";
}
.fa-facebook-f:before,
.fa-facebook:before {
  content: "\f09a";
}
.fa-github:before {
  content: "\f09b";
}
.fa-unlock:before {
  content: "\f09c";
}
.fa-credit-card:before {
  content: "\f09d";
}
.fa-feed:before,
.fa-rss:before {
  content: "\f09e";
}
.fa-hdd-o:before {
  content: "\f0a0";
}
.fa-bullhorn:before {
  content: "\f0a1";
}
.fa-bell:before {
  content: "\f0f3";
}
.fa-certificate:before {
  content: "\f0a3";
}
.fa-hand-o-right:before {
  content: "\f0a4";
}
.fa-hand-o-left:before {
  content: "\f0a5";
}
.fa-hand-o-up:before {
  content: "\f0a6";
}
.fa-hand-o-down:before {
  content: "\f0a7";
}
.fa-arrow-circle-left:before {
  content: "\f0a8";
}
.fa-arrow-circle-right:before {
  content: "\f0a9";
}
.fa-arrow-circle-up:before {
  content: "\f0aa";
}
.fa-arrow-circle-down:before {
  content: "\f0ab";
}
.fa-globe:before {
  content: "\f0ac";
}
.fa-wrench:before {
  content: "\f0ad";
}
.fa-tasks:before {
  content: "\f0ae";
}
.fa-filter:before {
  content: "\f0b0";
}
.fa-briefcase:before {
  content: "\f0b1";
}
.fa-arrows-alt:before {
  content: "\f0b2";
}
.fa-group:before,
.fa-users:before {
  content: "\f0c0";
}
.fa-chain:before,
.fa-link:before {
  content: "\f0c1";
}
.fa-cloud:before {
  content: "\f0c2";
}
.fa-flask:before {
  content: "\f0c3";
}
.fa-cut:before,
.fa-scissors:before {
  content: "\f0c4";
}
.fa-copy:before,
.fa-files-o:before {
  content: "\f0c5";
}
.fa-paperclip:before {
  content: "\f0c6";
}
.fa-save:before,
.fa-floppy-o:before {
  content: "\f0c7";
}
.fa-square:before {
  content: "\f0c8";
}
.fa-navicon:before,
.fa-reorder:before,
.fa-bars:before {
  content: "\f0c9";
}
.fa-list-ul:before {
  content: "\f0ca";
}
.fa-list-ol:before {
  content: "\f0cb";
}
.fa-strikethrough:before {
  content: "\f0cc";
}
.fa-underline:before {
  content: "\f0cd";
}
.fa-table:before {
  content: "\f0ce";
}
.fa-magic:before {
  content: "\f0d0";
}
.fa-truck:before {
  content: "\f0d1";
}
.fa-pinterest:before {
  content: "\f0d2";
}
.fa-pinterest-square:before {
  content: "\f0d3";
}
.fa-google-plus-square:before {
  content: "\f0d4";
}
.fa-google-plus:before {
  content: "\f0d5";
}
.fa-money:before {
  content: "\f0d6";
}
.fa-caret-down:before {
  content: "\f0d7";
}
.fa-caret-up:before {
  content: "\f0d8";
}
.fa-caret-left:before {
  content: "\f0d9";
}
.fa-caret-right:before {
  content: "\f0da";
}
.fa-columns:before {
  content: "\f0db";
}
.fa-unsorted:before,
.fa-sort:before {
  content: "\f0dc";
}
.fa-sort-down:before,
.fa-sort-desc:before {
  content: "\f0dd";
}
.fa-sort-up:before,
.fa-sort-asc:before {
  content: "\f0de";
}
.fa-envelope:before {
  content: "\f0e0";
}
.fa-linkedin:before {
  content: "\f0e1";
}
.fa-rotate-left:before,
.fa-undo:before {
  content: "\f0e2";
}
.fa-legal:before,
.fa-gavel:before {
  content: "\f0e3";
}
.fa-dashboard:before,
.fa-tachometer:before {
  content: "\f0e4";
}
.fa-comment-o:before {
  content: "\f0e5";
}
.fa-comments-o:before {
  content: "\f0e6";
}
.fa-flash:before,
.fa-bolt:before {
  content: "\f0e7";
}
.fa-sitemap:before {
  content: "\f0e8";
}
.fa-umbrella:before {
  content: "\f0e9";
}
.fa-paste:before,
.fa-clipboard:before {
  content: "\f0ea";
}
.fa-lightbulb-o:before {
  content: "\f0eb";
}
.fa-exchange:before {
  content: "\f0ec";
}
.fa-cloud-download:before {
  content: "\f0ed";
}
.fa-cloud-upload:before {
  content: "\f0ee";
}
.fa-user-md:before {
  content: "\f0f0";
}
.fa-stethoscope:before {
  content: "\f0f1";
}
.fa-suitcase:before {
  content: "\f0f2";
}
.fa-bell-o:before {
  content: "\f0a2";
}
.fa-coffee:before {
  content: "\f0f4";
}
.fa-cutlery:before {
  content: "\f0f5";
}
.fa-file-text-o:before {
  content: "\f0f6";
}
.fa-building-o:before {
  content: "\f0f7";
}
.fa-hospital-o:before {
  content: "\f0f8";
}
.fa-ambulance:before {
  content: "\f0f9";
}
.fa-medkit:before {
  content: "\f0fa";
}
.fa-fighter-jet:before {
  content: "\f0fb";
}
.fa-beer:before {
  content: "\f0fc";
}
.fa-h-square:before {
  content: "\f0fd";
}
.fa-plus-square:before {
  content: "\f0fe";
}
.fa-angle-double-left:before {
  content: "\f100";
}
.fa-angle-double-right:before {
  content: "\f101";
}
.fa-angle-double-up:before {
  content: "\f102";
}
.fa-angle-double-down:before {
  content: "\f103";
}
.fa-angle-left:before {
  content: "\f104";
}
.fa-angle-right:before {
  content: "\f105";
}
.fa-angle-up:before {
  content: "\f106";
}
.fa-angle-down:before {
  content: "\f107";
}
.fa-desktop:before {
  content: "\f108";
}
.fa-laptop:before {
  content: "\f109";
}
.fa-tablet:before {
  content: "\f10a";
}
.fa-mobile-phone:before,
.fa-mobile:before {
  content: "\f10b";
}
.fa-circle-o:before {
  content: "\f10c";
}
.fa-quote-left:before {
  content: "\f10d";
}
.fa-quote-right:before {
  content: "\f10e";
}
.fa-spinner:before {
  content: "\f110";
}
.fa-circle:before {
  content: "\f111";
}
.fa-mail-reply:before,
.fa-reply:before {
  content: "\f112";
}
.fa-github-alt:before {
  content: "\f113";
}
.fa-folder-o:before {
  content: "\f114";
}
.fa-folder-open-o:before {
  content: "\f115";
}
.fa-smile-o:before {
  content: "\f118";
}
.fa-frown-o:before {
  content: "\f119";
}
.fa-meh-o:before {
  content: "\f11a";
}
.fa-gamepad:before {
  content: "\f11b";
}
.fa-keyboard-o:before {
  content: "\f11c";
}
.fa-flag-o:before {
  content: "\f11d";
}
.fa-flag-checkered:before {
  content: "\f11e";
}
.fa-terminal:before {
  content: "\f120";
}
.fa-code:before {
  content: "\f121";
}
.fa-mail-reply-all:before,
.fa-reply-all:before {
  content: "\f122";
}
.fa-star-half-empty:before,
.fa-star-half-full:before,
.fa-star-half-o:before {
  content: "\f123";
}
.fa-location-arrow:before {
  content: "\f124";
}
.fa-crop:before {
  content: "\f125";
}
.fa-code-fork:before {
  content: "\f126";
}
.fa-unlink:before,
.fa-chain-broken:before {
  content: "\f127";
}
.fa-question:before {
  content: "\f128";
}
.fa-info:before {
  content: "\f129";
}
.fa-exclamation:before {
  content: "\f12a";
}
.fa-superscript:before {
  content: "\f12b";
}
.fa-subscript:before {
  content: "\f12c";
}
.fa-eraser:before {
  content: "\f12d";
}
.fa-puzzle-piece:before {
  content: "\f12e";
}
.fa-microphone:before {
  content: "\f130";
}
.fa-microphone-slash:before {
  content: "\f131";
}
.fa-shield:before {
  content: "\f132";
}
.fa-calendar-o:before {
  content: "\f133";
}
.fa-fire-extinguisher:before {
  content: "\f134";
}
.fa-rocket:before {
  content: "\f135";
}
.fa-maxcdn:before {
  content: "\f136";
}
.fa-chevron-circle-left:before {
  content: "\f137";
}
.fa-chevron-circle-right:before {
  content: "\f138";
}
.fa-chevron-circle-up:before {
  content: "\f139";
}
.fa-chevron-circle-down:before {
  content: "\f13a";
}
.fa-html5:before {
  content: "\f13b";
}
.fa-css3:before {
  content: "\f13c";
}
.fa-anchor:before {
  content: "\f13d";
}
.fa-unlock-alt:before {
  content: "\f13e";
}
.fa-bullseye:before {
  content: "\f140";
}
.fa-ellipsis-h:before {
  content: "\f141";
}
.fa-ellipsis-v:before {
  content: "\f142";
}
.fa-rss-square:before {
  content: "\f143";
}
.fa-play-circle:before {
  content: "\f144";
}
.fa-ticket:before {
  content: "\f145";
}
.fa-minus-square:before {
  content: "\f146";
}
.fa-minus-square-o:before {
  content: "\f147";
}
.fa-level-up:before {
  content: "\f148";
}
.fa-level-down:before {
  content: "\f149";
}
.fa-check-square:before {
  content: "\f14a";
}
.fa-pencil-square:before {
  content: "\f14b";
}
.fa-external-link-square:before {
  content: "\f14c";
}
.fa-share-square:before {
  content: "\f14d";
}
.fa-compass:before {
  content: "\f14e";
}
.fa-toggle-down:before,
.fa-caret-square-o-down:before {
  content: "\f150";
}
.fa-toggle-up:before,
.fa-caret-square-o-up:before {
  content: "\f151";
}
.fa-toggle-right:before,
.fa-caret-square-o-right:before {
  content: "\f152";
}
.fa-euro:before,
.fa-eur:before {
  content: "\f153";
}
.fa-gbp:before {
  content: "\f154";
}
.fa-dollar:before,
.fa-usd:before {
  content: "\f155";
}
.fa-rupee:before,
.fa-inr:before {
  content: "\f156";
}
.fa-cny:before,
.fa-rmb:before,
.fa-yen:before,
.fa-jpy:before {
  content: "\f157";
}
.fa-ruble:before,
.fa-rouble:before,
.fa-rub:before {
  content: "\f158";
}
.fa-won:before,
.fa-krw:before {
  content: "\f159";
}
.fa-bitcoin:before,
.fa-btc:before {
  content: "\f15a";
}
.fa-file:before {
  content: "\f15b";
}
.fa-file-text:before {
  content: "\f15c";
}
.fa-sort-alpha-asc:before {
  content: "\f15d";
}
.fa-sort-alpha-desc:before {
  content: "\f15e";
}
.fa-sort-amount-asc:before {
  content: "\f160";
}
.fa-sort-amount-desc:before {
  content: "\f161";
}
.fa-sort-numeric-asc:before {
  content: "\f162";
}
.fa-sort-numeric-desc:before {
  content: "\f163";
}
.fa-thumbs-up:before {
  content: "\f164";
}
.fa-thumbs-down:before {
  content: "\f165";
}
.fa-youtube-square:before {
  content: "\f166";
}
.fa-youtube:before {
  content: "\f167";
}
.fa-xing:before {
  content: "\f168";
}
.fa-xing-square:before {
  content: "\f169";
}
.fa-youtube-play:before {
  content: "\f16a";
}
.fa-dropbox:before {
  content: "\f16b";
}
.fa-stack-overflow:before {
  content: "\f16c";
}
.fa-instagram:before {
  content: "\f16d";
}
.fa-flickr:before {
  content: "\f16e";
}
.fa-adn:before {
  content: "\f170";
}
.fa-bitbucket:before {
  content: "\f171";
}
.fa-bitbucket-square:before {
  content: "\f172";
}
.fa-tumblr:before {
  content: "\f173";
}
.fa-tumblr-square:before {
  content: "\f174";
}
.fa-long-arrow-down:before {
  content: "\f175";
}
.fa-long-arrow-up:before {
  content: "\f176";
}
.fa-long-arrow-left:before {
  content: "\f177";
}
.fa-long-arrow-right:before {
  content: "\f178";
}
.fa-apple:before {
  content: "\f179";
}
.fa-windows:before {
  content: "\f17a";
}
.fa-android:before {
  content: "\f17b";
}
.fa-linux:before {
  content: "\f17c";
}
.fa-dribbble:before {
  content: "\f17d";
}
.fa-skype:before {
  content: "\f17e";
}
.fa-foursquare:before {
  content: "\f180";
}
.fa-trello:before {
  content: "\f181";
}
.fa-female:before {
  content: "\f182";
}
.fa-male:before {
  content: "\f183";
}
.fa-gittip:before,
.fa-gratipay:before {
  content: "\f184";
}
.fa-sun-o:before {
  content: "\f185";
}
.fa-moon-o:before {
  content: "\f186";
}
.fa-archive:before {
  content: "\f187";
}
.fa-bug:before {
  content: "\f188";
}
.fa-vk:before {
  content: "\f189";
}
.fa-weibo:before {
  content: "\f18a";
}
.fa-renren:before {
  content: "\f18b";
}
.fa-pagelines:before {
  content: "\f18c";
}
.fa-stack-exchange:before {
  content: "\f18d";
}
.fa-arrow-circle-o-right:before {
  content: "\f18e";
}
.fa-arrow-circle-o-left:before {
  content: "\f190";
}
.fa-toggle-left:before,
.fa-caret-square-o-left:before {
  content: "\f191";
}
.fa-dot-circle-o:before {
  content: "\f192";
}
.fa-wheelchair:before {
  content: "\f193";
}
.fa-vimeo-square:before {
  content: "\f194";
}
.fa-turkish-lira:before,
.fa-try:before {
  content: "\f195";
}
.fa-plus-square-o:before {
  content: "\f196";
}
.fa-space-shuttle:before {
  content: "\f197";
}
.fa-slack:before {
  content: "\f198";
}
.fa-envelope-square:before {
  content: "\f199";
}
.fa-wordpress:before {
  content: "\f19a";
}
.fa-openid:before {
  content: "\f19b";
}
.fa-institution:before,
.fa-bank:before,
.fa-university:before {
  content: "\f19c";
}
.fa-mortar-board:before,
.fa-graduation-cap:before {
  content: "\f19d";
}
.fa-yahoo:before {
  content: "\f19e";
}
.fa-google:before {
  content: "\f1a0";
}
.fa-reddit:before {
  content: "\f1a1";
}
.fa-reddit-square:before {
  content: "\f1a2";
}
.fa-stumbleupon-circle:before {
  content: "\f1a3";
}
.fa-stumbleupon:before {
  content: "\f1a4";
}
.fa-delicious:before {
  content: "\f1a5";
}
.fa-digg:before {
  content: "\f1a6";
}
.fa-pied-piper-pp:before {
  content: "\f1a7";
}
.fa-pied-piper-alt:before {
  content: "\f1a8";
}
.fa-drupal:before {
  content: "\f1a9";
}
.fa-joomla:before {
  content: "\f1aa";
}
.fa-language:before {
  content: "\f1ab";
}
.fa-fax:before {
  content: "\f1ac";
}
.fa-building:before {
  content: "\f1ad";
}
.fa-child:before {
  content: "\f1ae";
}
.fa-paw:before {
  content: "\f1b0";
}
.fa-spoon:before {
  content: "\f1b1";
}
.fa-cube:before {
  content: "\f1b2";
}
.fa-cubes:before {
  content: "\f1b3";
}
.fa-behance:before {
  content: "\f1b4";
}
.fa-behance-square:before {
  content: "\f1b5";
}
.fa-steam:before {
  content: "\f1b6";
}
.fa-steam-square:before {
  content: "\f1b7";
}
.fa-recycle:before {
  content: "\f1b8";
}
.fa-automobile:before,
.fa-car:before {
  content: "\f1b9";
}
.fa-cab:before,
.fa-taxi:before {
  content: "\f1ba";
}
.fa-tree:before {
  content: "\f1bb";
}
.fa-spotify:before {
  content: "\f1bc";
}
.fa-deviantart:before {
  content: "\f1bd";
}
.fa-soundcloud:before {
  content: "\f1be";
}
.fa-database:before {
  content: "\f1c0";
}
.fa-file-pdf-o:before {
  content: "\f1c1";
}
.fa-file-word-o:before {
  content: "\f1c2";
}
.fa-file-excel-o:before {
  content: "\f1c3";
}
.fa-file-powerpoint-o:before {
  content: "\f1c4";
}
.fa-file-photo-o:before,
.fa-file-picture-o:before,
.fa-file-image-o:before {
  content: "\f1c5";
}
.fa-file-zip-o:before,
.fa-file-archive-o:before {
  content: "\f1c6";
}
.fa-file-sound-o:before,
.fa-file-audio-o:before {
  content: "\f1c7";
}
.fa-file-movie-o:before,
.fa-file-video-o:before {
  content: "\f1c8";
}
.fa-file-code-o:before {
  content: "\f1c9";
}
.fa-vine:before {
  content: "\f1ca";
}
.fa-codepen:before {
  content: "\f1cb";
}
.fa-jsfiddle:before {
  content: "\f1cc";
}
.fa-life-bouy:before,
.fa-life-buoy:before,
.fa-life-saver:before,
.fa-support:before,
.fa-life-ring:before {
  content: "\f1cd";
}
.fa-circle-o-notch:before {
  content: "\f1ce";
}
.fa-ra:before,
.fa-resistance:before,
.fa-rebel:before {
  content: "\f1d0";
}
.fa-ge:before,
.fa-empire:before {
  content: "\f1d1";
}
.fa-git-square:before {
  content: "\f1d2";
}
.fa-git:before {
  content: "\f1d3";
}
.fa-y-combinator-square:before,
.fa-yc-square:before,
.fa-hacker-news:before {
  content: "\f1d4";
}
.fa-tencent-weibo:before {
  content: "\f1d5";
}
.fa-qq:before {
  content: "\f1d6";
}
.fa-wechat:before,
.fa-weixin:before {
  content: "\f1d7";
}
.fa-send:before,
.fa-paper-plane:before {
  content: "\f1d8";
}
.fa-send-o:before,
.fa-paper-plane-o:before {
  content: "\f1d9";
}
.fa-history:before {
  content: "\f1da";
}
.fa-circle-thin:before {
  content: "\f1db";
}
.fa-header:before {
  content: "\f1dc";
}
.fa-paragraph:before {
  content: "\f1dd";
}
.fa-sliders:before {
  content: "\f1de";
}
.fa-share-alt:before {
  content: "\f1e0";
}
.fa-share-alt-square:before {
  content: "\f1e1";
}
.fa-bomb:before {
  content: "\f1e2";
}
.fa-soccer-ball-o:before,
.fa-futbol-o:before {
  content: "\f1e3";
}
.fa-tty:before {
  content: "\f1e4";
}
.fa-binoculars:before {
  content: "\f1e5";
}
.fa-plug:before {
  content: "\f1e6";
}
.fa-slideshare:before {
  content: "\f1e7";
}
.fa-twitch:before {
  content: "\f1e8";
}
.fa-yelp:before {
  content: "\f1e9";
}
.fa-newspaper-o:before {
  content: "\f1ea";
}
.fa-wifi:before {
  content: "\f1eb";
}
.fa-calculator:before {
  content: "\f1ec";
}
.fa-paypal:before {
  content: "\f1ed";
}
.fa-google-wallet:before {
  content: "\f1ee";
}
.fa-cc-visa:before {
  content: "\f1f0";
}
.fa-cc-mastercard:before {
  content: "\f1f1";
}
.fa-cc-discover:before {
  content: "\f1f2";
}
.fa-cc-amex:before {
  content: "\f1f3";
}
.fa-cc-paypal:before {
  content: "\f1f4";
}
.fa-cc-stripe:before {
  content: "\f1f5";
}
.fa-bell-slash:before {
  content: "\f1f6";
}
.fa-bell-slash-o:before {
  content: "\f1f7";
}
.fa-trash:before {
  content: "\f1f8";
}
.fa-copyright:before {
  content: "\f1f9";
}
.fa-at:before {
  content: "\f1fa";
}
.fa-eyedropper:before {
  content: "\f1fb";
}
.fa-paint-brush:before {
  content: "\f1fc";
}
.fa-birthday-cake:before {
  content: "\f1fd";
}
.fa-area-chart:before {
  content: "\f1fe";
}
.fa-pie-chart:before {
  content: "\f200";
}
.fa-line-chart:before {
  content: "\f201";
}
.fa-lastfm:before {
  content: "\f202";
}
.fa-lastfm-square:before {
  content: "\f203";
}
.fa-toggle-off:before {
  content: "\f204";
}
.fa-toggle-on:before {
  content: "\f205";
}
.fa-bicycle:before {
  content: "\f206";
}
.fa-bus:before {
  content: "\f207";
}
.fa-ioxhost:before {
  content: "\f208";
}
.fa-angellist:before {
  content: "\f209";
}
.fa-cc:before {
  content: "\f20a";
}
.fa-shekel:before,
.fa-sheqel:before,
.fa-ils:before {
  content: "\f20b";
}
.fa-meanpath:before {
  content: "\f20c";
}
.fa-buysellads:before {
  content: "\f20d";
}
.fa-connectdevelop:before {
  content: "\f20e";
}
.fa-dashcube:before {
  content: "\f210";
}
.fa-forumbee:before {
  content: "\f211";
}
.fa-leanpub:before {
  content: "\f212";
}
.fa-sellsy:before {
  content: "\f213";
}
.fa-shirtsinbulk:before {
  content: "\f214";
}
.fa-simplybuilt:before {
  content: "\f215";
}
.fa-skyatlas:before {
  content: "\f216";
}
.fa-cart-plus:before {
  content: "\f217";
}
.fa-cart-arrow-down:before {
  content: "\f218";
}
.fa-diamond:before {
  content: "\f219";
}
.fa-ship:before {
  content: "\f21a";
}
.fa-user-secret:before {
  content: "\f21b";
}
.fa-motorcycle:before {
  content: "\f21c";
}
.fa-street-view:before {
  content: "\f21d";
}
.fa-heartbeat:before {
  content: "\f21e";
}
.fa-venus:before {
  content: "\f221";
}
.fa-mars:before {
  content: "\f222";
}
.fa-mercury:before {
  content: "\f223";
}
.fa-intersex:before,
.fa-transgender:before {
  content: "\f224";
}
.fa-transgender-alt:before {
  content: "\f225";
}
.fa-venus-double:before {
  content: "\f226";
}
.fa-mars-double:before {
  content: "\f227";
}
.fa-venus-mars:before {
  content: "\f228";
}
.fa-mars-stroke:before {
  content: "\f229";
}
.fa-mars-stroke-v:before {
  content: "\f22a";
}
.fa-mars-stroke-h:before {
  content: "\f22b";
}
.fa-neuter:before {
  content: "\f22c";
}
.fa-genderless:before {
  content: "\f22d";
}
.fa-facebook-official:before {
  content: "\f230";
}
.fa-pinterest-p:before {
  content: "\f231";
}
.fa-whatsapp:before {
  content: "\f232";
}
.fa-server:before {
  content: "\f233";
}
.fa-user-plus:before {
  content: "\f234";
}
.fa-user-times:before {
  content: "\f235";
}
.fa-hotel:before,
.fa-bed:before {
  content: "\f236";
}
.fa-viacoin:before {
  content: "\f237";
}
.fa-train:before {
  content: "\f238";
}
.fa-subway:before {
  content: "\f239";
}
.fa-medium:before {
  content: "\f23a";
}
.fa-yc:before,
.fa-y-combinator:before {
  content: "\f23b";
}
.fa-optin-monster:before {
  content: "\f23c";
}
.fa-opencart:before {
  content: "\f23d";
}
.fa-expeditedssl:before {
  content: "\f23e";
}
.fa-battery-4:before,
.fa-battery:before,
.fa-battery-full:before {
  content: "\f240";
}
.fa-battery-3:before,
.fa-battery-three-quarters:before {
  content: "\f241";
}
.fa-battery-2:before,
.fa-battery-half:before {
  content: "\f242";
}
.fa-battery-1:before,
.fa-battery-quarter:before {
  content: "\f243";
}
.fa-battery-0:before,
.fa-battery-empty:before {
  content: "\f244";
}
.fa-mouse-pointer:before {
  content: "\f245";
}
.fa-i-cursor:before {
  content: "\f246";
}
.fa-object-group:before {
  content: "\f247";
}
.fa-object-ungroup:before {
  content: "\f248";
}
.fa-sticky-note:before {
  content: "\f249";
}
.fa-sticky-note-o:before {
  content: "\f24a";
}
.fa-cc-jcb:before {
  content: "\f24b";
}
.fa-cc-diners-club:before {
  content: "\f24c";
}
.fa-clone:before {
  content: "\f24d";
}
.fa-balance-scale:before {
  content: "\f24e";
}
.fa-hourglass-o:before {
  content: "\f250";
}
.fa-hourglass-1:before,
.fa-hourglass-start:before {
  content: "\f251";
}
.fa-hourglass-2:before,
.fa-hourglass-half:before {
  content: "\f252";
}
.fa-hourglass-3:before,
.fa-hourglass-end:before {
  content: "\f253";
}
.fa-hourglass:before {
  content: "\f254";
}
.fa-hand-grab-o:before,
.fa-hand-rock-o:before {
  content: "\f255";
}
.fa-hand-stop-o:before,
.fa-hand-paper-o:before {
  content: "\f256";
}
.fa-hand-scissors-o:before {
  content: "\f257";
}
.fa-hand-lizard-o:before {
  content: "\f258";
}
.fa-hand-spock-o:before {
  content: "\f259";
}
.fa-hand-pointer-o:before {
  content: "\f25a";
}
.fa-hand-peace-o:before {
  content: "\f25b";
}
.fa-trademark:before {
  content: "\f25c";
}
.fa-registered:before {
  content: "\f25d";
}
.fa-creative-commons:before {
  content: "\f25e";
}
.fa-gg:before {
  content: "\f260";
}
.fa-gg-circle:before {
  content: "\f261";
}
.fa-tripadvisor:before {
  content: "\f262";
}
.fa-odnoklassniki:before {
  content: "\f263";
}
.fa-odnoklassniki-square:before {
  content: "\f264";
}
.fa-get-pocket:before {
  content: "\f265";
}
.fa-wikipedia-w:before {
  content: "\f266";
}
.fa-safari:before {
  content: "\f267";
}
.fa-chrome:before {
  content: "\f268";
}
.fa-firefox:before {
  content: "\f269";
}
.fa-opera:before {
  content: "\f26a";
}
.fa-internet-explorer:before {
  content: "\f26b";
}
.fa-tv:before,
.fa-television:before {
  content: "\f26c";
}
.fa-contao:before {
  content: "\f26d";
}
.fa-500px:before {
  content: "\f26e";
}
.fa-amazon:before {
  content: "\f270";
}
.fa-calendar-plus-o:before {
  content: "\f271";
}
.fa-calendar-minus-o:before {
  content: "\f272";
}
.fa-calendar-times-o:before {
  content: "\f273";
}
.fa-calendar-check-o:before {
  content: "\f274";
}
.fa-industry:before {
  content: "\f275";
}
.fa-map-pin:before {
  content: "\f276";
}
.fa-map-signs:before {
  content: "\f277";
}
.fa-map-o:before {
  content: "\f278";
}
.fa-map:before {
  content: "\f279";
}
.fa-commenting:before {
  content: "\f27a";
}
.fa-commenting-o:before {
  content: "\f27b";
}
.fa-houzz:before {
  content: "\f27c";
}
.fa-vimeo:before {
  content: "\f27d";
}
.fa-black-tie:before {
  content: "\f27e";
}
.fa-fonticons:before {
  content: "\f280";
}
.fa-reddit-alien:before {
  content: "\f281";
}
.fa-edge:before {
  content: "\f282";
}
.fa-credit-card-alt:before {
  content: "\f283";
}
.fa-codiepie:before {
  content: "\f284";
}
.fa-modx:before {
  content: "\f285";
}
.fa-fort-awesome:before {
  content: "\f286";
}
.fa-usb:before {
  content: "\f287";
}
.fa-product-hunt:before {
  content: "\f288";
}
.fa-mixcloud:before {
  content: "\f289";
}
.fa-scribd:before {
  content: "\f28a";
}
.fa-pause-circle:before {
  content: "\f28b";
}
.fa-pause-circle-o:before {
  content: "\f28c";
}
.fa-stop-circle:before {
  content: "\f28d";
}
.fa-stop-circle-o:before {
  content: "\f28e";
}
.fa-shopping-bag:before {
  content: "\f290";
}
.fa-shopping-basket:before {
  content: "\f291";
}
.fa-hashtag:before {
  content: "\f292";
}
.fa-bluetooth:before {
  content: "\f293";
}
.fa-bluetooth-b:before {
  content: "\f294";
}
.fa-percent:before {
  content: "\f295";
}
.fa-gitlab:before {
  content: "\f296";
}
.fa-wpbeginner:before {
  content: "\f297";
}
.fa-wpforms:before {
  content: "\f298";
}
.fa-envira:before {
  content: "\f299";
}
.fa-universal-access:before {
  content: "\f29a";
}
.fa-wheelchair-alt:before {
  content: "\f29b";
}
.fa-question-circle-o:before {
  content: "\f29c";
}
.fa-blind:before {
  content: "\f29d";
}
.fa-audio-description:before {
  content: "\f29e";
}
.fa-volume-control-phone:before {
  content: "\f2a0";
}
.fa-braille:before {
  content: "\f2a1";
}
.fa-assistive-listening-systems:before {
  content: "\f2a2";
}
.fa-asl-interpreting:before,
.fa-american-sign-language-interpreting:before {
  content: "\f2a3";
}
.fa-deafness:before,
.fa-hard-of-hearing:before,
.fa-deaf:before {
  content: "\f2a4";
}
.fa-glide:before {
  content: "\f2a5";
}
.fa-glide-g:before {
  content: "\f2a6";
}
.fa-signing:before,
.fa-sign-language:before {
  content: "\f2a7";
}
.fa-low-vision:before {
  content: "\f2a8";
}
.fa-viadeo:before {
  content: "\f2a9";
}
.fa-viadeo-square:before {
  content: "\f2aa";
}
.fa-snapchat:before {
  content: "\f2ab";
}
.fa-snapchat-ghost:before {
  content: "\f2ac";
}
.fa-snapchat-square:before {
  content: "\f2ad";
}
.fa-pied-piper:before {
  content: "\f2ae";
}
.fa-first-order:before {
  content: "\f2b0";
}
.fa-yoast:before {
  content: "\f2b1";
}
.fa-themeisle:before {
  content: "\f2b2";
}
.fa-google-plus-circle:before,
.fa-google-plus-official:before {
  content: "\f2b3";
}
.fa-fa:before,
.fa-font-awesome:before {
  content: "\f2b4";
}
.fa-handshake-o:before {
  content: "\f2b5";
}
.fa-envelope-open:before {
  content: "\f2b6";
}
.fa-envelope-open-o:before {
  content: "\f2b7";
}
.fa-linode:before {
  content: "\f2b8";
}
.fa-address-book:before {
  content: "\f2b9";
}
.fa-address-book-o:before {
  content: "\f2ba";
}
.fa-vcard:before,
.fa-address-card:before {
  content: "\f2bb";
}
.fa-vcard-o:before,
.fa-address-card-o:before {
  content: "\f2bc";
}
.fa-user-circle:before {
  content: "\f2bd";
}
.fa-user-circle-o:before {
  content: "\f2be";
}
.fa-user-o:before {
  content: "\f2c0";
}
.fa-id-badge:before {
  content: "\f2c1";
}
.fa-drivers-license:before,
.fa-id-card:before {
  content: "\f2c2";
}
.fa-drivers-license-o:before,
.fa-id-card-o:before {
  content: "\f2c3";
}
.fa-quora:before {
  content: "\f2c4";
}
.fa-free-code-camp:before {
  content: "\f2c5";
}
.fa-telegram:before {
  content: "\f2c6";
}
.fa-thermometer-4:before,
.fa-thermometer:before,
.fa-thermometer-full:before {
  content: "\f2c7";
}
.fa-thermometer-3:before,
.fa-thermometer-three-quarters:before {
  content: "\f2c8";
}
.fa-thermometer-2:before,
.fa-thermometer-half:before {
  content: "\f2c9";
}
.fa-thermometer-1:before,
.fa-thermometer-quarter:before {
  content: "\f2ca";
}
.fa-thermometer-0:before,
.fa-thermometer-empty:before {
  content: "\f2cb";
}
.fa-shower:before {
  content: "\f2cc";
}
.fa-bathtub:before,
.fa-s15:before,
.fa-bath:before {
  content: "\f2cd";
}
.fa-podcast:before {
  content: "\f2ce";
}
.fa-window-maximize:before {
  content: "\f2d0";
}
.fa-window-minimize:before {
  content: "\f2d1";
}
.fa-window-restore:before {
  content: "\f2d2";
}
.fa-times-rectangle:before,
.fa-window-close:before {
  content: "\f2d3";
}
.fa-times-rectangle-o:before,
.fa-window-close-o:before {
  content: "\f2d4";
}
.fa-bandcamp:before {
  content: "\f2d5";
}
.fa-grav:before {
  content: "\f2d6";
}
.fa-etsy:before {
  content: "\f2d7";
}
.fa-imdb:before {
  content: "\f2d8";
}
.fa-ravelry:before {
  content: "\f2d9";
}
.fa-eercast:before {
  content: "\f2da";
}
.fa-microchip:before {
  content: "\f2db";
}
.fa-snowflake-o:before {
  content: "\f2dc";
}
.fa-superpowers:before {
  content: "\f2dd";
}
.fa-wpexplorer:before {
  content: "\f2de";
}
.fa-meetup:before {
  content: "\f2e0";
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="forms.css"><![CDATA[.ipsApp select {
	border: 1px solid var(--form-field--borderColor);
	border-radius: var(--form-field--radius);
	color: inherit;
	padding: 5px;
	background: rgb( var(--theme-area_background_reset) );
}
	
	.ipsApp select::-ms-expand {
		display: none;
	}

	.ipsApp select:not( [multiple] ) {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-image: url( "{resource="select_dropdown.png" app="core" location="global"}" );
		background-position: right center;
		background-size: 18px 9px;
		background-repeat: no-repeat;
		cursor: pointer;
		padding: 9px;
		/* Workaround for firefox */
		text-indent: 0.01px;
	}

		/* Remove the default outline style as it's created using a box-shadow */
		.ipsApp select:focus{
			outline: none;
		}

		.ipsApp select:not( [multiple] ):focus {
			box-shadow: var(--form-field--focusShadow);
			border-color: var(--form-field--focusBorder, rgb( var(--theme-active_input_border) ));
		}

	html[dir="ltr"] .ipsApp select:not( [multiple] ) {
		padding-right: 30px;
	}

	html[dir="rtl"] .ipsApp select:not( [multiple] ) {
		background-position: left 10px center;
		padding-left: 30px;
	}

	.ipsApp select[disabled] {
		opacity: 0.6;
		pointer-events: none;
	}

ul.ipsForm, ol.ipsForm {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ipsForm[data-role="advancedSearch"] {
	margin-top: 15px;
	padding-bottom: 15px;
}

.ipsFieldRow:not( :last-child ) {
	margin-bottom: 15px;
}

	.ipsFieldRow_noLabel > label,
	.ipsFieldRow_noLabel > .ipsFieldRow_content > label {
		display: none;
	}

.ipsFieldRow_searchResult {
	background-color: #f2e6d4;
	border: 1px solid #d1aa6e;
}

	.ipsFieldRow.ipsFieldRow_searchResult .ipsFieldRow_desc {
		color: #ad884e;
	}

/* CHECKBOX FIELDS */
/* For single checkboxes, and inline checkboxes */
.ipsFieldRow_checkbox {
	margin-bottom: 5px;
}
	
	.ipsFieldRow_checkbox + .ipsFieldRow:not( .ipsFieldRow_checkbox ) {
		margin-top: 15px;
	}

	.ipsFieldRow_checkbox input[type="checkbox"],
	.ipsFieldRow_checkbox input[type="radio"],
	.ipsFieldRow_checkbox .ipsCustomInput {
		float: left;
		margin-top: 3px;
	}
	html[dir="rtl"] .ipsFieldRow_checkbox input[type="checkbox"],
	html[dir="rtl"] .ipsFieldRow_checkbox input[type="radio"],
	html[dir="rtl"] .ipsFieldRow_checkbox .ipsCustomInput {
		float: right;
	}

	html[dir="ltr"] .ipsFieldRow_checkbox .ipsFieldRow_content {
		margin-left: 24px;
	}
	html[dir="rtl"] .ipsFieldRow_checkbox .ipsFieldRow_content {
		margin-right: 24px;
	}

	.ipsFieldRow_checkbox label {
		display: block;
	}

	.ipsFieldRow_inlineCheckbox {
		margin-top: 6px;
		display: inline-block;
		position: relative;
	}
	.ipsFieldRow_inlineCheckbox_reducedMargins {
		margin-top: 0px;
		margin-bottom: 2px !important;
	}
	html[dir="ltr"] .ipsFieldRow_inlineCheckbox {
		margin-right: 15px;
	}
	html[dir="rtl"] .ipsFieldRow_inlineCheckbox {
		margin-left: 15px;
	}

		html[dir="ltr"] .ipsFieldRow_inlineCheckbox .ipsCustomInput,
		html[dir="ltr"] .ipsToggle {
			margin-right: 3px;
		}
		html[dir="rtl"] .ipsFieldRow_inlineCheckbox .ipsCustomInput,
		html[dir="rtl"] .ipsToggle {
			margin-left: 3px;
		}

/* FIELD LISTS (for stacks of radios/checkboxes) */
.ipsField_fieldList {
	list-style: none;
	margin: 0;
	padding: 7px 0 0 0;
}

.ipsField_fieldList > li {
	margin-bottom: 10px;
}

	.ipsField_fieldList > li:last-child {
		margin-bottom: 0px;
	}

.ipsField_fieldList input[type="radio"], .ipsField_fieldList input[type="checkbox"],
.ipsField_fieldList .ipsCustomInput {
	float: left;
	margin-top: 2px;
}
html[dir="rtl"] .ipsField_fieldList input[type="radio"],
html[dir="rtl"] .ipsField_fieldList input[type="checkbox"],
html[dir="rtl"] .ipsField_fieldList .ipsCustomInput {
	float: right;
}

html[dir="ltr"] .ipsField_fieldList_content {
	margin-left: 24px;
}
html[dir="rtl"] .ipsField_fieldList_content {
	margin-right: 24px;
}

.ipsField__checkboxOverflow--active {
	padding: 0 !important;
}

	.ipsField__checkboxOverflow--active .ipsField_fieldList {
		padding: var(--sp-3);
		border-radius: var(--radius-1);
		border: 1px solid var(--form-field--borderColor);
		border-color: var(--input--border);
		box-shadow: var(--input--shadow) 0px 3px 4px -1px;
		max-height: 200px;
		overflow-y: scroll;
		max-width: 350px;
	}

		.ipsField__checkboxOverflow--active .ipsField_fieldList label {
			display: block;
		}

	/* Reset existing form styles */
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search,
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search:hover,
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search:focus,
	.ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search + .ipsField_fieldList {
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
	}

	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search,
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search:hover,
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__search:focus {
		border-bottom: 1px solid rgba( var(--theme-text_light), 0.2 ) !important;
	}
	
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__focused {
		position: relative;
		z-index: 2;
	}

		.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__focused:before {
			content: '';
			position: absolute;
			left: calc( var(--sp-3) * -1 );
			right: calc( var(--sp-3) * -1 );
			top: calc( var(--sp-2) * -1 );
			bottom: calc( var(--sp-2) * -1 );
			background: rgba(var(--theme-area_background_light ), 0.7);

			z-index: -1;
		}
	
	.ipsApp .ipsField__checkboxOverflow--active .ipsField__checkboxOverflow__toggles {
		padding: var(--sp-2);
		border-top: 1px solid rgba( var(--theme-text_light), 0.2 );
		margin-top: 0 !important;
	}

/* FULL WIDTH FIELDS */
.ipsApp .ipsFieldRow_fullWidth input[type="text"],
.ipsApp .ipsForm_fullWidth .ipsFieldRow input[type="text"],
.ipsApp .ipsFieldRow_fullWidth input[type="email"],
.ipsApp .ipsForm_fullWidth .ipsFieldRow input[type="email"],
.ipsApp .ipsFieldRow_fullWidth input[type="password"], 
.ipsApp .ipsForm_fullWidth .ipsFieldRow input[type="password"], 
.ipsApp .ipsFieldRow_fullWidth input[type="submit"], 
.ipsApp .ipsForm_fullWidth .ipsFieldRow input[type="submit"], 
.ipsApp .ipsFieldRow_fullWidth select, 
.ipsApp .ipsForm_fullWidth .ipsFieldRow select, 
.ipsApp .ipsFieldRow_fullWidth button,
.ipsApp .ipsForm_fullWidth .ipsFieldRow button, 
.ipsApp .ipsFieldRow_fullWidth textarea,
.ipsApp .ipsForm_fullWidth .ipsFieldRow textarea,
.ipsApp .ipsFieldRow_fullWidth .ipsField_autocomplete,
.ipsApp .ipsForm_fullWidth .ipsFieldRow .ipsField_autocomplete,
.ipsApp .ipsFieldRow_fullWidth .ipsSelectTree,
.ipsApp .ipsForm_fullWidth .ipsFieldRow .ipsSelectTree,
.ipsApp input.ipsField_fullWidth, .ipsApp textarea.ipsField_fullWidth,
.ipsApp .ipsField_autocomplete.ipsField_fullWidth, .ipsApp select.ipsField_fullWidth,
.ipsApp .ipsSelectTree.ipsField_fullWidth,
.ipsApp .ipsField_dummy.ipsField_fullWidth {
	width: 100%;
	max-width: 100% !important;
}

/* FORM TYPOGRAPHY */
.ipsFieldRow_desc {
	font-size: {fontsize="x_small"};
	color: rgb( var(--theme-text_light) );
	margin-top: 3px;
	display: block;
}

.ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_label,
.ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_title {
	font-size: {fontsize="medium"};
	font-weight: 600;
	margin-bottom: 5px;
	display: inline-block;
	padding-top: 5px;
}

.ipsFieldRow.ipsFieldRow_yesNo .ipsFieldRow_label,
.ipsFieldRow.ipsFieldRow_yesNo .ipsFieldRow_title {
	padding-top: 0;
}

.ipsApp .ipsField_primary,
.ipsApp .ipsField_primary.ipsField_autocomplete input,
.ipsApp .ipsFieldRow_primary input {
	font-size: {fontsize="large"};
}

.ipsApp .ipsFieldRow_primary .ipsField_autocomplete,
.ipsApp .ipsFieldRow_primary textarea,
.ipsApp .ipsFieldRow_primary input[type="text"],
.ipsApp .ipsFieldRow_primary input[type="password"],
.ipsApp .ipsFieldRow_primary input[type="datetime"],
.ipsApp .ipsFieldRow_primary input[type="datetime-local"],
.ipsApp .ipsFieldRow_primary input[type="date"],
.ipsApp .ipsFieldRow_primary input[type="month"],
.ipsApp .ipsFieldRow_primary input[type="time"],
.ipsApp .ipsFieldRow_primary input[type="week"],
.ipsApp .ipsFieldRow_primary input[type="number"],
.ipsApp .ipsFieldRow_primary input[type="email"],
.ipsApp .ipsFieldRow_primary input[type="url"],
.ipsApp .ipsFieldRow_primary input[type="search"],
.ipsApp .ipsFieldRow_primary input[type="tel"],
.ipsApp .ipsFieldRow_primary .ipsField_dummy {
	padding: 12px;
}

.ipsFieldRow_required {
	font-size: {fontsize="10"};
	text-transform: uppercase;
	color: #AA1414;
	font-weight: 500;
}
html[dir="ltr"] .ipsFieldRow_label span:first-child:not( :empty ) + .ipsFieldRow_required {
	margin-left: 10px;
}
html[dir="rtl"] .ipsFieldRow_label span:first-child:not( :empty ) + .ipsFieldRow_required {
	margin-right: 10px;
}

/* HORIZONTAL FORMS */
/* i.e. titles beside fields */

.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label,
.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	width: 185px;
	line-height: 1.3;
	font-size: {fontsize="medium"};
	font-weight: 600;
}
html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label,
html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	float: left;
	padding-right: 15px;
	text-align: right;
}
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label,
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	float: right;
	padding-left: 15px;
	text-align: left;
}

.ipsForm.ipsForm_horizontal .ipsFieldRow.ipsFieldRow_shortTitle > .ipsFieldRow_title {
	width: 85px;
}

html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-left: 185px;
}
html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow.ipsFieldRow_shortTitle:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-left: 95px;
}
html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow_checkbox {
	margin-left: 185px;
}
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-right: 185px;
}
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow.ipsFieldRow_shortTitle:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
	margin-right: 95px;
}
html[dir="rtl"] .ipsForm_horizontal .ipsFieldRow_checkbox {
	margin-right: 185px;
}

.ipsForm_horizontal .ipsFieldRow_required {
	font-size: 0;
	margin: 0;
}

	.ipsForm_horizontal .ipsFieldRow_required:before {
		content: '*';
		display: inline;
		color: #c02222;
		font-size: 16px;
	}

.ipsForm_horizontal .ipsFieldRow_textValue .ipsFieldRow_content {
	padding-top: 7px;
}

.ipsForm_horizontal .ipsFieldRow_content .ipsRating {
	margin-top: 3px;
}

/* VERTICAL FORMS */
/* i.e. titles above fields; overwrites horizontal rules */
.ipsForm_vertical .ipsFieldRow > .ipsFieldRow_label,
.ipsForm_vertical .ipsFieldRow > .ipsFieldRow_title {
	float: none !important;
	width: 100%;
	text-align: left;
}
html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_label,
html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_title {
	text-align: right;
}

html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ),
html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_label,
html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_content,
html[dir="rtl"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_title {
	margin-right: 0px;
}

html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ),
html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_label,
html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_content,
html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_title {
	margin-left: 0px !important;
}

html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_label,
html[dir="ltr"] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_title {
	text-align: left;
}	


/* FIELD GROUPS */
.ipsForm_group {
	margin-bottom: 15px;
	padding-top: 15px;
	border: 0;
	border-bottom: 1px solid rgba( var(--theme-text_color), 0.2 );
}
	
	.ipsForm_group > .ipsForm_groupTitle {
		float: left;
		font-size: {fontsize="base"};
		font-weight: 500;
		margin: 0;
	}
	html[dir="rtl"] .ipsForm_group > .ipsForm_groupTitle {
		float: right;
	}

	.ipsForm_group > .ipsForm_groupContent {
		list-style: none;
	}
	html[dir="ltr"] .ipsForm_group > .ipsForm_groupContent {
		margin: 0 0 0 175px;
		padding: 0 0 0 15px;
		border-left: 1px solid rgba( var(--theme-text_color), 0.2 );
	}
	html[dir="rtl"] .ipsForm_group > .ipsForm_groupContent {
		margin: 0 175px 0 0;
		padding: 0 15px 0 0 ;
		border-right: 1px solid rgba( var(--theme-text_color), 0.2 );
	}

.ipsForm .ipsForm_group:last-child {
	border-bottom: 0;
}

/* ELEMENT STYLES */
.ipsApp label:not( .ipsField_unlimited ), .ipsApp input, .ipsApp button, .ipsApp select, .ipsApp textarea {
	font-size: inherit;
	font-family: inherit;
	vertical-align: middle;
	line-height: inherit;
}

.ipsApp .ipsField_dummy {
	height: 32px;
}

.ipsApp .ipsField_autocomplete {
	position: relative;
	outline: 0;
	display: inline-block;
}
html[dir="ltr"] .ipsApp .ipsField_autocomplete {
	padding-right: 35px;
}
html[dir="rtl"] .ipsApp .ipsField_autocomplete {
	padding-left: 35px;
}
	.ipsApp .ipsField_autocomplete input[type="text"] {
		border: 0;
		border-radius: 0px;
		padding: 0;
		background: transparent;
		width: 20px;
		max-width: 100%;
		box-shadow: none;
	}

		.ipsApp .ipsField_autocomplete input[type="text"]:focus {
			outline: 0;
			box-shadow: none;
		}

	.ipsApp .ipsField_autocomplete.ipsField_autocompleteDisabled {
		pointer-events: none;
	}
		
		.ipsApp .ipsField_autocomplete.ipsField_autocompleteDisabled .cToken {
			opacity: 0.6;
		}

	html[dir="ltr"] .ipsApp .ipsField_autocomplete_loading {
		position: absolute;
		right: 10px;
	}
	html[dir="rtl"] .ipsApp .ipsField_autocomplete_loading {
		position: absolute;
		left: 10px;
	}

	.ipsApp .ipsField_autocomplete [data-action='addToken'] {
		font-size: {fontsize="small"};
		color: rgb( var(--theme-brand_primary) )
	}

.ipsApp input[type="color"] {
	min-width: 50px;
}

.ipsApp .ipsField_autocomplete, .ipsApp textarea, .ipsApp input[type="text"], .ipsApp input[type="password"],
.ipsApp input[type="datetime"], .ipsApp input[type="datetime-local"], .ipsApp input[type="date"],
.ipsApp input[type="month"], .ipsApp input[type="time"], .ipsApp input[type="week"], 
.ipsApp input[type="number"], .ipsApp input[type="email"], .ipsApp input[type="url"],
.ipsApp input[type="search"], .ipsApp input[type="tel"], .ipsApp .ipsField_dummy,
.ipsField__checkboxOverflow--active {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
 	background-color: rgb( var(--theme-area_background_reset) );
 	border: 1px solid var(--form-field--borderColor);
	border-radius: var(--form-field--radius);
	width: 100%;
	max-width: 350px;
	padding: var(--sp-2);
	color: inherit;
}

/* Fix iOS issue with collapsing fields */
.ipsApp input[type="datetime"], .ipsApp input[type="datetime-local"], .ipsApp input[type="date"],
.ipsApp input[type="month"], .ipsApp input[type="time"], .ipsApp input[type="week"] {
	min-height: 44px;
}

.CodeMirror {
	border: 1px solid var(--form-field--borderColor);
	border-radius: var(--form-field--radius);
	cursor: text;
}

html[dir="rtl"] .CodeMirror {
	direction: ltr;
}

.ipsApp textarea.ipsField_short, .ipsApp input[type="text"].ipsField_short, .ipsApp input[type="password"].ipsField_short,
.ipsApp input[type="datetime"].ipsField_short, .ipsApp input[type="datetime-local"].ipsField_short, .ipsApp input[type="date"].ipsField_short,
.ipsApp input[type="month"].ipsField_short, .ipsApp input[type="time"].ipsField_short, .ipsApp input[type="week"].ipsField_short, 
.ipsApp input[type="number"].ipsField_short, .ipsApp input[type="email"].ipsField_short, .ipsApp input[type="url"].ipsField_short,
.ipsApp input[type="search"].ipsField_short, .ipsApp input[type="tel"].ipsField_short, .ipsApp input[type="color"].ipsField_short, .ipsApp select.ipsField_short {
	width: 200px;
	max-width: 200px;
}

.ipsApp textarea.ipsField_medium, .ipsApp input[type="text"].ipsField_medium, .ipsApp input[type="password"].ipsField_medium,
.ipsApp input[type="datetime"].ipsField_medium, .ipsApp input[type="datetime-local"].ipsField_medium, .ipsApp input[type="date"].ipsField_medium,
.ipsApp input[type="month"].ipsField_medium, .ipsApp input[type="time"].ipsField_medium, .ipsApp input[type="week"].ipsField_medium, 
.ipsApp input[type="number"].ipsField_medium, .ipsApp input[type="email"].ipsField_medium, .ipsApp input[type="url"].ipsField_medium,
.ipsApp input[type="search"].ipsField_medium, .ipsApp input[type="tel"].ipsField_medium, .ipsApp input[type="color"].ipsField_medium, .ipsApp select.ipsField_medium {
	width: 270px;
	max-width: 270px;
}

.ipsApp textarea.ipsField_tiny, .ipsApp input[type="text"].ipsField_tiny, .ipsApp input[type="password"].ipsField_tiny,
.ipsApp input[type="datetime"].ipsField_tiny, .ipsApp input[type="datetime-local"].ipsField_tiny, .ipsApp input[type="date"].ipsField_tiny,
.ipsApp input[type="month"].ipsField_tiny, .ipsApp input[type="time"].ipsField_tiny, .ipsApp input[type="week"].ipsField_tiny, 
.ipsApp input[type="number"].ipsField_tiny, .ipsApp input[type="email"].ipsField_tiny, .ipsApp input[type="url"].ipsField_tiny,
.ipsApp input[type="search"].ipsField_tiny, .ipsApp input[type="tel"].ipsField_tiny, .ipsApp input[type="color"].ipsField_tiny, .ipsApp select.ipsField_tiny {
	width: 60px;
	max-width: 60px;
}

	.ipsApp select.ipsField_short, .ipsApp select.ipsField_medium, .ipsApp select.ipsField_tiny {
		text-overflow: ellipsis;
	}

.ipsApp textarea:hover, .ipsApp input[type="text"]:hover, .ipsApp input[type="password"]:hover,
.ipsApp input[type="datetime"]:hover, .ipsApp input[type="datetime-local"]:hover,
.ipsApp input[type="date"]:hover, .ipsApp input[type="month"]:hover, .ipsApp input[type="time"]:hover,
.ipsApp input[type="week"]:hover, .ipsApp input[type="number"]:hover, .ipsApp input[type="email"]:hover,
.ipsApp input[type="url"]:hover, .ipsApp input[type="search"]:hover, .ipsApp input[type="tel"]:hover,
.ipsApp input[type="color"]:hover,
.ipsField__checkboxOverflow--active:hover {
	border-color: var(--form-field--borderHoverColor);
}

.ipsApp textarea:focus, .ipsApp input[type="text"]:focus, .ipsApp input[type="password"]:focus,
.ipsApp input[type="datetime"]:focus, .ipsApp input[type="datetime-local"]:focus,
.ipsApp input[type="date"]:focus, .ipsApp input[type="month"]:focus, .ipsApp input[type="time"]:focus,
.ipsApp input[type="week"]:focus, .ipsApp input[type="number"]:focus, .ipsApp input[type="email"]:focus,
.ipsApp input[type="url"]:focus, .ipsApp input[type="search"]:focus, .ipsApp input[type="tel"]:focus,
.ipsApp input[type="color"]:focus, .ipsField_focus,
.ipsField__checkboxOverflow--active:focus-within {
	box-shadow: var(--form-field--focusShadow);
	border-color: var(--form-field--focusBorder, rgb( var(--theme-active_input_border) ));
	outline: 0;
}

.ipsApp textarea[disabled], .ipsApp input[type="text"][disabled], .ipsApp input[type="password"][disabled],
.ipsApp input[type="datetime"][disabled], .ipsApp input[type="datetime-local"][disabled],
.ipsApp input[type="date"][disabled], .ipsApp input[type="month"][disabled], .ipsApp input[type="time"][disabled],
.ipsApp input[type="week"][disabled], .ipsApp input[type="number"][disabled], .ipsApp input[type="email"][disabled],
.ipsApp input[type="url"][disabled], .ipsApp input[type="search"][disabled], .ipsApp input[type="tel"][disabled],
.ipsApp input[type="color"][disabled] {
	background: rgb( var(--theme-area_background_light) );
	opacity: 0.7;
}

/* Fix for textarea word wrap in Edge */
.ipsApp textarea {
	white-space: pre-wrap;
}

.ipsApp .ipsToggle:focus,
.ipsApp .ipsCustomInput input:focus + span {
	border-color: var(--form-field--focusBorder, rgb( var(--theme-active_input_border) ));
	outline: 0;
	box-shadow: var(--form-field--focusShadow);
}

.ipsFieldRow_content [data-role="prefixRow"] {
	margin-top: 5px;
}

.ipsApp textarea:not([data-ipsAutocomplete]) {
	height: auto;
	max-width: 100%;
}

.ipsFieldRow .ipsFieldRow_icon {
	position: relative;
}

	html[dir="ltr"] .ipsFieldRow .ipsFieldRow_icon input[type="text"] {
		padding-left: 35px;
	}
	html[dir="rtl"] .ipsFieldRow .ipsFieldRow_icon input[type="text"] {
		padding-right: 35px;
	}

	.ipsFieldRow .ipsFieldRow_icon:after {
		font-family: 'FontAwesome';
		font-size: 16px;
		position: absolute;
		top: 3px;
		color: rgb( var(--theme-text_light) );
		display: inline-block;
		width: 30px;
		height: 30px;
	}
	html[dir="ltr"] .ipsFieldRow .ipsFieldRow_icon:after {
		left: 3px;
	}
	html[dir="rtl"] .ipsFieldRow .ipsFieldRow_icon:after {
		right: 3px;
	}

		.ipsFieldRow .ipsFieldRow_icon[data-icon="search"] {
			content: "\f002";
		}

	.ipsFieldRow.ipsFieldRow_primary .ipsFieldRow_icon:after {
		font-size: 18px;
		top: 0;
	}
	html[dir="ltr"] .ipsFieldRow.ipsFieldRow_primary .ipsFieldRow_icon:after {
		left: 10px;
	}
	html[dir="rtl"] .ipsFieldRow.ipsFieldRow_primary .ipsFieldRow_icon:after {
		right: 10px;
	}

.ipsApp .ipsField_loading {
	background-image: url( "{resource="loaders/tiny_loading@2x.gif" app="core" location="front"}" );
	background-size: 14px 14px;
	background-repeat: no-repeat;
	background-position: right 5px center;
}

html[dir="rtl"] .ipsApp .ipsField_loading {
	background-position: left 5px center;
}

.ipsFieldRow_section {
	background: rgb( var(--theme-area_background_light) );
	color: rgb( var(--theme-text_color) );
	padding: 15px;
	font-size: {fontsize="base"};
}

/* VALIDATION */
/* css variables are used in supported browsers for easier customization */
.ipsApp input.ipsField_error, .ipsFieldRow_error textarea:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="text"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="password"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="datetime"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="datetime-local"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="date"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="month"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="time"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="week"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="number"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="email"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="url"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="search"]:not( .ipsFieldRow_errorExclude ), .ipsFieldRow_error input[type="tel"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error input[type="color"]:not( .ipsFieldRow_errorExclude ),
.ipsFieldRow_error .ipsField_dummy, .ipsFieldRow_error.ipsField_dummy {
	background-color: #f8e6e9;
	background-color: var(--input-error__background-color, #f8e6e9);
	border-color: #ba7b84;
	border-color: var(--input-error__border-color, #ba7b84);
}

.ipsApp input.ipsField_success, .ipsApp textarea.ipsField_success, .ipsFieldRow_success textarea, .ipsFieldRow_success input[type="text"], .ipsFieldRow_success input[type="password"],
.ipsFieldRow_success input[type="datetime"], .ipsFieldRow_success input[type="datetime-local"],
.ipsFieldRow_success input[type="date"], .ipsFieldRow_success input[type="month"], .ipsFieldRow_success input[type="time"],
.ipsFieldRow_success input[type="week"], .ipsFieldRow_success input[type="number"], .ipsFieldRow_success input[type="email"],
.ipsFieldRow_success input[type="url"], .ipsFieldRow_success input[type="search"], .ipsFieldRow_success input[type="tel"],
.ipsFieldRow_success input[type="color"] {
	background-color: #ebf2e5;
	background-color: var(--input-success__background-color, #ebf2e5);
	border-color: #4a7c20;
	border-color: var(--input-success__border-color, #4a7c20);
}

/* Monospace textarea */
textarea.ipsField_codeInput {
	font-family: "Courier New", Courier, monospace;
}

input[type="text"].ipsField_tinyText {
	font-size: {fontsize="x_small"};
	padding: 4px;
}

/* TOGGLES */
input[type="checkbox"]:disabled + .ipsToggle {
	opacity: 0.4;
	cursor: default !important;
}

	input[type="checkbox"]:disabled + .ipsToggle:not( [data-ipsTooltip] ) {
		pointer-events: none;
	}

.ipsToggle {
	width: 42px;
	background: rgb( var(--theme-area_background_light) );
	display: inline-block;
	height: 22px;
	line-height: 22px;
	border-radius: 11px;
	position: relative;
	border: 1px solid rgba(0,0,0,0.1);
	overflow: hidden;
	vertical-align: middle;
	cursor: pointer;
	transition: all 0.3s linear;
}
	
	.ipsToggle.ipsToggle_off {
		background: rgba( var(--theme-active_input_border), 0.3 );
		filter: grayscale(100%);
	}

	.ipsToggle.ipsToggle_on {
		background: rgb( var(--theme-active_input_border) );
	}

	.ipsToggle input {
		opacity: 0.001;
	}

	.ipsToggle span {
		background: #fff;
		border-radius: 9px;
		height: 16px;
		width: 16px;
		top: 2px;
		text-indent: 100%;
		white-space: nowrap;
		display: block;
		position: absolute;
		pointer-events: none;
		transition: all 0.2s linear;
	}	

		html[dir="ltr"] .ipsToggle.ipsToggle_on span {
			right: 1px;
		}
		html[dir="rtl"] .ipsToggle.ipsToggle_on span {
			left: 1px;
		}

		html[dir="ltr"] .ipsToggle.ipsToggle_off span {
			right: 22px;
		}
		html[dir="rtl"] .ipsToggle.ipsToggle_off span {
			left: 22px;
		}
		
/* No, no, no, no, yes */
.ipsField_yesNo {
	display: inline-block;
	margin: 0;
	padding: 0;
}

html[dir="ltr"] .ipsField_yesNo li {
	float: left;
}
html[dir="rtl"] .ipsField_yesNo li {
	float: right;
}

.ipsField_yesNo input[type="radio"] {
	display: none;
}

.ipsField_yesNo label {
	display: block;
	height: 32px;
	line-height: 32px;
	text-align: center;
	width: 40px;
	background: #f2f2f2;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
	transition: 0.2s all linear;
}

	.ipsField_yesNo label:after {
		color: #d5d5d5;		
		font-family: "FontAwesome";
		position: absolute;
		top: 0;
		text-indent: 0;
		font-size: 18px;
	}
	html[dir="ltr"] .ipsField_yesNo label:after {
		left: 50%;
	}
	html[dir="rtl"] .ipsField_yesNo label:after {
		right: 50%;
	}

		.ipsField_yesNo .ipsField_yesNo_yes label:after {
			content: "\f00c";
		}
		html[dir="ltr"] .ipsField_yesNo .ipsField_yesNo_yes label:after {
			margin-left: -9px;
		}
		html[dir="rtl"] .ipsField_yesNo .ipsField_yesNo_yes label:after {
			margin-right: -9px;
		}

			.ipsField_yesNo .ipsField_yesNo_yes input[type="radio"]:checked + label {
				background: #68a72f;
			}

		.ipsField_yesNo .ipsField_yesNo_no label:after {
			content: "\f00d";
		}
		html[dir="ltr"] .ipsField_yesNo .ipsField_yesNo_no label:after {
			margin-left: -7px;
		}
		html[dir="rtl"] .ipsField_yesNo .ipsField_yesNo_no label:after {
			margin-right: -7px;
		}

			.ipsField_yesNo .ipsField_yesNo_no input[type="radio"]:checked + label {
				background: #a72f35;
			}

.ipsField_yesNo li:first-child label {
	border-radius: 3px 0 0 3px;
}
html[dir="rtl"] .ipsField_yesNo li:first-child label {
	border-radius: 0 3px 3px 0;
}

.ipsField_yesNo li:last-child label {
	border-radius: 0 3px 3px 0;
}
html[dir="rtl"] .ipsField_yesNo li:last-child label {
	border-radius: 3px 0 0 3px;
}

.ipsField_yesNo input[type="radio"]:checked + label:after {
	color: #fff;
}

.ipsField_yesNo.ipsField_yesNo_disabled {
	opacity: 0.5;
}

/* CUSTOM CHECKBOX/RADIO STYLES */
.ipsCustomInput {
	position: relative;
	width: 16px;
	height: 16px;
	display: inline-block;
	font-size: 0;
	vertical-align: middle;
}

	.ipsCustomInput > span {
		border: 1px solid var(--form-field--borderColor);
		background: rgb( var(--theme-area_background_reset) );
		background-clip: padding-box;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		pointer-events: none;
	}

		.ipsCustomInput input[type="checkbox"] + span {
			border-radius: var(--form-field--radius);
		}
		.ipsCustomInput input[type="radio"] + span {
			border-radius: 8px;
		}

	/* Hover */
	.ipsCustomInput input:hover:not( :disabled ):not(:checked) + span {
		border-color: var(--form-field--borderHoverColor);
	}

	/* Disabled styles */
	.ipsCustomInput input:disabled{
		cursor: auto;
	}
	.ipsCustomInput input:disabled + span {
		opacity: 0.5;
		filter: grayscale(0.6);
	}

		.ipsCustomInput input:not( :checked ):disabled + span {
			background: rgb( var(--theme-area_background) );
		}

	/* Active styles */
	.ipsCustomInput input:active:not( :checked ):not( :disabled ) + span,
	.ipsCustomInput input:active:checked:not( :disabled ) + span {
		background: rgb( var(--theme-brand_primary) );
	}

	/* Checked styles */
	.ipsCustomInput input:checked + span {
		border-color: rgb( var(--theme-brand_primary) );
		background-color: rgb( var(--theme-brand_primary) );
		color: #fff;
	}

	.ipsCustomInput input[type="checkbox"]:checked + span:after {
		content: '\f00c';
		font-family: "FontAwesome";
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 9px;
	}

	.ipsCustomInput input[type="radio"]:checked + span:after {
		width: 6px;
		height: 6px;
		display: block;
		content: '';
		position: absolute;
		top: 4px;
		left: 4px;
		border-radius: 8px;
		background: currentColor;
	}

	.ipsCustomInput input {
		opacity: 0.000001;
		position: absolute;
		z-index: 1;
		width: 100%;
		height: 100%;
		cursor: pointer;
		top: 0;
		left: 0;
	}

	html[dir="ltr"] .ipsCustomInput + label {
		margin-left: 3px;
	}
	html[dir="rtl"] .ipsCustomInput + label {
		margin-right: 3px;
	}

/* TRANSLATABLE */
.ipsField_translatable li {
	margin-bottom: 5px;
	position: relative;
}

.ipsField_translatable li span.ipsFlag {
	display: inline-block;
	position: absolute;
	top: 15px;
}
html[dir="ltr"] .ipsField_translatable li span.ipsFlag {
	left: 8px;
}
html[dir="rtl"] .ipsField_translatable li span.ipsFlag {
	right: 8px;
}

	.ipsField_translatable li p.ipsFlagEditor span.ipsFlag{
		top: 4px;
	}

html[dir="ltr"] .ipsField_translatable li .ipsFlag + input[type="text"],
html[dir="ltr"] .ipsField_translatable li .ipsFlag + input[type="password"] {
	padding-left: 30px;
}
html[dir="rtl"] .ipsField_translatable li .ipsFlag + input[type="text"],
html[dir="rtl"] .ipsField_translatable li .ipsFlag + input[type="password"] {
	padding-right: 30px;
}

.ipsField_translatable li .ipsFlag + span.ipsFlagLabel {
	font-weight: bold;
}
html[dir="ltr"] .ipsField_translatable li .ipsFlag + span.ipsFlagLabel {
	margin-left: 30px;
}
html[dir="rtl"] .ipsField_translatable li .ipsFlag + span.ipsFlagLabel {
	margin-right: 30px;
}

/* STACK */
.ipsFieldRow:not( .ipsFieldRow_fullWidth ) .ipsField_stack { 
	max-width: 350px;
}

.ipsField_stackItem {
	margin-bottom: 5px;
	position: relative;
	padding-left: 32px;
}

.ipsField_stackItem .ipsField_stackDrag,
.ipsField_stackItem .ipsField_stackDelete {
	position: absolute;
	width: 32px;
	height: 32px;
	line-height: 34px;
	top: 0;
	text-align: center;
}

html[dir="ltr"] .ipsField_stackItem .ipsField_stackDrag {
	left: 0;
}
html[dir="rtl"] .ipsField_stackItem .ipsField_stackDrag {
	right: 0;
}

	.ipsField_stackItem .ipsDrag_dragHandle {
		opacity: 0.2;
	}

.ipsField_stackItem .ipsField_stackDelete {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	width: 19px;
	height: 19px;
	border-radius: 19px;
	line-height: 17px;
	top: 5px;
}

html[dir="ltr"] .ipsField_stackDelete {
	right: 0;
}
html[dir="rtl"] .ipsField_stackDelete {
	left: 0;
}

.ipsField_stackItem input[type="text"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="url"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="tel"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="email"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="number"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="search"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="password"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="datetime"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="datetime-local"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="date"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="week"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="month"]:not(.ipsField_stackItemNoMargin),
.ipsField_stackItem input[type="time"]:not(.ipsField_stackItemNoMargin) {
	margin-left: -32px;
	padding-left: 32px;
}
	
	html[dir="ltr"] .ipsField_stackItem input[type="button"],
	html[dir="ltr"] .ipsField_stackItem input[type="checkbox"],
	html[dir="ltr"] .ipsField_stackItem input[type="color"],
	html[dir="ltr"] .ipsField_stackItem input[type="file"],
	html[dir="ltr"] .ipsField_stackItem input[type="radio"],
	html[dir="ltr"] .ipsField_stackItem input[type="range"],
	html[dir="ltr"] .ipsField_stackItem input[type="submit"],
	html[dir="ltr"] .ipsField_stackItem select,
	html[dir="ltr"] .ipsField_stackItem textarea {
		margin-left: 36px;
	}
	html[dir="rtl"] .ipsField_stackItem input[type="button"],
	html[dir="rtl"] .ipsField_stackItem input[type="checkbox"],
	html[dir="rtl"] .ipsField_stackItem input[type="color"],
	html[dir="rtl"] .ipsField_stackItem input[type="file"],
	html[dir="rtl"] .ipsField_stackItem input[type="radio"],
	html[dir="rtl"] .ipsField_stackItem input[type="range"],
	html[dir="rtl"] .ipsField_stackItem input[type="submit"],
	html[dir="rtl"] .ipsField_stackItem select,
	html[dir="rtl"] .ipsField_stackItem textarea {
		margin-right: 36px;
	}

	/* Key value pairs */
	html[dir="ltr"] .ipsField_stackItem_keyValue span input[type="text"] {
		margin-left: 0px;
		padding-left: 6px;
	}
	html[dir="rtl"] .ipsField_stackItem_keyValue span input[type="text"] {
		margin-right: 0px;
		padding-right: 6px;
	}
	
	.ipsField_stackItem_keyValue
	{
		padding-top: 8px;
	}
	html[dir="ltr"] .ipsField_stackItem_keyValue
	{
		margin-left: 36px;
	}
	html[dir="rtl"] .ipsField_stackItem_keyValue
	{
		margin-right: 36px;
	}
	
/* ATTACHMENTS */
.ipsField_uploader {
	border: 1px solid #efefef;
	border-bottom: 1px solid #dedede;
	box-shadow: 0px 1px 0px rgba(255,255,255,1) inset;
	background: #f6f6f6;
	padding: 15px;
	text-shadow: 0px 1px 0px #fff;
	position: relative;
}

	.ipsField_uploader .ipsField_uploader_icon {
		font-size: 36px;
		vertical-align: middle;
		transition: all 0.2s linear;
	}
	html[dir="ltr"] .ipsField_uploader .ipsField_uploader_icon {
		margin-right: 10px;
		float: left;
	}
	html[dir="rtl"] .ipsField_uploader .ipsField_uploader_icon {
		margin-left: 10px;
		float: right;
	}

		.ipsField_uploader:hover .ipsField_uploader_icon {
			transform: scale(1.3);
		}

	.ipsField_uploader .ipsField_uploader_msg span {
		font-size: {fontsize="medium"};
		font-weight: bold;
		display: block;
	}

		.ipsField_uploader .ipsField_uploader_msg span + span {
			opacity: 0.7;
			font-weight: normal;
			font-size: {fontsize="x_small"};
		}

.ipsAttachments_list {
	border: 1px solid #efefef;
}

	.ipsAttachments_list > li {
		padding: 15px;
		background: #fcfcfc;
		border-bottom: 1px solid #efefef;
	}

		.ipsAttachments_list > li:last-child {
			border-bottom: 0;
		}

.ipsAttachment_name {
	font-weight: bold;
}

.ipsAttachment_size {
	opacity: 0.7;
	font-size: {fontsize="x_small"};
}

.ipsAttachments_tools {
	opacity: 0;
	transition: 0.5s all linear;
}

	.ipsAttachments_list > li:hover .ipsAttachments_tools {
		opacity: 0.4;
	}

	.ipsAttachments_list > li .ipsAttachments_tools:hover {
		opacity: 1;
	}

.ipsAttachment_progress {
	border: 1px solid rgb( var(--theme-area_background) );
	height: 12px;
	border-radius: 10px;
	width: 150px;
	display: inline-block;
	background: rgb( var(--theme-area_background_reset) );
}

	.ipsAttachment_progress > span {
		background: rgb( var(--theme-area_background_dark) );
		width: 0%;
		display: block;
		height: 10px;
		border-radius: 10px;
	}

	.ipsImageAttach .ipsAttachment_progress {
		width: 70%;
		position: absolute;
		top: 45%;
	}
	html[dir="ltr"] .ipsImageAttach .ipsAttachment_progress {
		margin-left: -35%;
		left: 50%;
	}
	html[dir="rtl"] .ipsImageAttach .ipsAttachment_progress {
		margin-right: -35%;
		right: 50%;
	}

.ipsField_uploader + .ipsAttachments_list {
	border-top: 0;
}
html[dir="ltr"] .ipsField_uploader + .ipsAttachments_list {
	margin-left: 10px;
}
html[dir="rtl"] .ipsField_uploader + .ipsAttachments_list {
	margin-right: 10px;
}

.ipsAttachment_supportDrag {
	display: none;
}

.ipsAttachment_loading.ipsLoading_small {
	font-size: 30px;
	margin-top: 2px;
	margin-right: 6px;
}
	.ipsAttachment_loading.ipsAttachment_loading_editor {
		margin-top: -2px;
	}
	
/* AUTOCOMPLETE TOKENS */
.cToken {
	height: 22px;
	line-height: 22px;
	background: rgb( var(--theme-area_background_reset) );
	background-image: linear-gradient(to bottom, rgba( var(--theme-brand_primary), 0.15 ), rgba( var(--theme-brand_primary), 0.15 ));
	color: rgb( var(--theme-brand_primary) );
	display: inline-block;
	font-size: {fontsize="small"};
	border-radius: 12px;
	padding: 0 10px;
	cursor: pointer;
	margin: 1px 5px 1px 0 !important;
	max-width: 100%;
	overflow: hidden;
}
html[dir="rtl"] .cToken {
	margin: 1px 0 1px 5px !important;
}

.cToken.cToken_selected {
	opacity: 0.7;
}

/* CONTENTITEM */
ul.ipsContentItemSelector li {
	margin-top: 10px;
}

ul.ipsContentItemSelector li:first-child {
	margin-top: 5px;
}

ul.ipsContentItemSelector li div[data-role="contentItemRow"]
{
	padding-left: 5px;
}

.cContentItem_delete {
	height: 18px;
	line-height: 18px;
	background: rgb( var(--theme-brand_primary) );
	color: #fff;
	display: inline-block;
	font-size: 13px;
	border-radius: 12px;
	padding: 0 10px;
	cursor: pointer;
	margin: 1px 5px 1px 0 !important;
	float: left;
}

/* SELECT TREE */
.ipsSelectTree {
	min-height: 38px;
	border: 1px solid var(--form-field--borderColor);
	width: 100%;
	max-width: 350px;
	border-radius: var(--form-field--radius);
	padding: 9px;
	position: relative;
	background: rgb( var(--theme-area_background_reset) );
	cursor: pointer;
	margin-bottom: 5px;
}
html[dir="ltr"] .ipsSelectTree {
	padding-right: 25px;
}
html[dir="rtl"] .ipsSelectTree {
	padding-left: 25px;
}
	
	.ipsSelectTree.ipsSelectTree_disabled, .ipsSelectTree.ipsSelectTree_disabled .ipsSelectTree_expand {
		opacity: 0.6;
		pointer-events: none;
	}

	.ipsSelectTree_active.ipsSelectTree_bottom {
		border-bottom-color: transparent;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		border-color: rgb( var(--theme-active_input_border) );
	}
	.ipsSelectTree_active.ipsSelectTree_top {
		border-top-color: transparent;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		border-color: rgb( var(--theme-active_input_border) );
	}

		.ipsSelectTree_active .ipsSelectTree_nodes::before{
			content: '';
			position: absolute;
			top: -1px; left: -1px; right: -1px; bottom: -1px;
			z-index: -1;
			border-radius: 3px;
			box-shadow: var(--form-field--focusShadow);
			pointer-events: none;
			display: none;
		}

			@supports (--css: 10px){
				.ipsSelectTree_active .ipsSelectTree_nodes::before{
					display: block;
				}
			}

			.ipsSelectTree_nodes.ipsSelectTree_bottom::before{
				top: calc((var(--ipsSelectTree-offset) + 20px) * -1);
			}
			.ipsSelectTree_nodes.ipsSelectTree_top::before{
				bottom: calc((var(--ipsSelectTree-offset) + 20px) * -1);
			}

	.ipsSelectTree_expand {
		position: absolute;
		top: -1px;
		bottom: -1px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 0 3px 3px 0;
		width: 26px;
		text-align: center;
		opacity: 0.3;
	}
	html[dir="ltr"] .ipsSelectTree_expand {
		right: -1px;
	}
	html[dir="rtl"] .ipsSelectTree_expand {
		left: -1px;
	}
		
	.ipsSelectTree [data-role="tokenList"] li {
		line-height: 1;
	}
	html[dir="ltr"] .ipsSelectTree [data-role="tokenList"] li {
		margin-right: 5px;
	}
	html[dir="rtl"] .ipsSelectTree [data-role="tokenList"] li {
		margin-left: 5px;
	}

		.ipsSelectTree [data-role="tokenList"] .cToken {
			background: rgb( var(--theme-brand_primary) );
			color: #fff;
			margin-bottom: 4px;
		}

.ipsSelectTree_nodes {
	position: absolute;
	top: 100%;
	left: -1px;
	max-width: 500px;
	border: 1px solid rgb( var(--theme-active_input_border) );
	padding: 7px;
	background: rgb( var(--theme-area_background_reset) );
}

	.ipsSelectTree_nodes.ipsSelectTree_bottom {
		top: 100% !important;
		border-top: 1px dashed rgba( var(--theme-text_color), 0.2 );
		border-bottom-right-radius: 3px;
		border-bottom-left-radius: 3px;
	}
	.ipsSelectTree_nodes.ipsSelectTree_top {
		bottom: 100% !important;
		border-bottom: 1px dashed rgba( var(--theme-text_color), 0.2 );
		border-top-right-radius: 3px;
		border-top-left-radius: 3px;
	}
	
	.ipsSelectTree_nodes [data-role="nodeList"] {
		max-height: 300px;
		overflow: auto;
	}
	
	.ipsSelectTree_nodes [data-role="nodeList"] .ipsTabs_panel {
		min-height: 264px;
	}

		.ipsSelectTree_nodes [data-role="nodeList"] li {
			position: relative;
		}

			.ipsSelectTree_item{
				border-radius: 3px;
			}

			.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item {
				padding: 7px 25px 7px 22px;
			}
			html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item {
				padding: 7px 22px 7px 25px;
			}

				.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item.ipsSelectTree_withChildren {
					padding: 7px 4px;
				}

				.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item:not( .ipsSelectTree_itemDisabled ):hover {
					background: rgba( var(--theme-text_color), 0.08 );
				}

					.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item:not( .ipsSelectTree_itemDisabled ).ipsSelectTree_selected:hover {
						background: rgba( var(--theme-area_background_dark), 0.9 );
					}

			html[dir="ltr"] .ipsSelectTree_nodes [data-role="nodeList"] li [data-role="childWrapper"] {
				margin-left: 12px;
				padding-left: 4px;
				border-left: 1px dashed rgba( var(--theme-text_color), 0.2 );
			}
			html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li [data-role="childWrapper"] {
				margin-right: 12px;
				padding-right: 4px;
				border-right: 1px dotted rgba( var(--theme-text_color), 0.2 );
			}

			.ipsSelectTree_nodes [data-role="nodeList"] li:last-child {
				border: 0;
			}

			.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_toggle {
				width: 16px;
				height: 19px;
				display: inline-block;
				color: inherit;
				position: relative;
				vertical-align: middle;
				float: left;
			}
			html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_toggle {
				float: right;
			}

				.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_toggle + [data-role="nodeTitle"] {
					display: block;
				}
				html[dir="ltr"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_toggle + [data-role="nodeTitle"] {
					margin-left: 20px;
				}
				html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_toggle + [data-role="nodeTitle"] {
					margin-right: 20px;
				}

				.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item > .ipsSelectTree_toggle:before {
					text-align: center;
					font-size: 11px;
					display: block;
					width: 20px;
					height: 19px;
					position: absolute;
					top: 0;
					content: '\f054';
					font-family: 'FontAwesome';
				}
				html[dir="ltr"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item > .ipsSelectTree_toggle:before {
					left: 0;
				}
				html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item > .ipsSelectTree_toggle:before {
					right: 0;
				}

					.ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item.ipsSelectTree_itemOpen > .ipsSelectTree_toggle:before {
						transform: rotate(90deg);
					}
					html[dir="ltr"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item.ipsSelectTree_itemOpen > .ipsSelectTree_toggle:before {
						left: -2px;
					}
					html[dir="rtl"] .ipsSelectTree_nodes [data-role="nodeList"] li .ipsSelectTree_item.ipsSelectTree_itemOpen > .ipsSelectTree_toggle:before {
						right: -2px;
					}

		.ipsSelectTree_nodes [data-role="nodeList"] .ipsTabs li {
			border-bottom: 0;
		}

		.ipsSelectTree_nodes .ipsSelectTree_loadMore {
			text-align: center;
			padding: 7px 0px 0px;
		}

			.ipsSelectTree_nodes .ipsSelectTree_loadMore .ipsLoading {
				margin-right: 4px;
			}

.ipsSelectTree_selected {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
}
	
	.ipsSelectTree_selected:after {
		content: '\f00c';
		font-family: 'FontAwesome';
		position: absolute;
		top: 7px;
		color: inherit;
	}
	html[dir="ltr"] .ipsSelectTree_selected:after {
		right: 7px;
	}
	html[dir="rtl"] .ipsSelectTree_selected:after {
		left: 7px;
	}

.ipsSelectTree_itemDisabled > [data-role="nodeTitle"] {
	color: var(--form-field--borderHoverColor);
	cursor: default;
}

.ipsSelectTree_placeholder {
	opacity: 0.6;
}

.ipsSelectTree_search {
	margin-top: 7px;
	position: relative;
}

	.ipsApp .ipsSelectTree_search input {
		border: 1px solid rgba(0,0,0,0.3);
		font-size: {fontsize="x_small"};
	}
	html[dir="ltr"] .ipsApp .ipsSelectTree_search input {
		padding-left: 26px;
	}
	html[dir="rtl"] .ipsApp .ipsSelectTree_search input {
		padding-right: 26px;
	}

	.ipsSelectTree_search:after {
		content: '\f002';
		font-family: "FontAwesome";
		position: absolute;
		top: 7px;
	}
	html[dir="ltr"] .ipsSelectTree_search:after {
		left: 7px;
	}
	html[dir="rtl"] .ipsSelectTree_search:after {
		right: 7px;
	}

/* HIDDEN LABELS */
.ipsForm_noLabels .ipsFieldRow_label, .ipsForm_noLabels .ipsFieldRow_title,
.ipsForm_noLabels .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_label, .ipsForm_noLabels .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_title {
	display: none;
}

input.ipsField_vle {
	color: black !important;
	font-weight: normal;
}

/* RECAPTCHA RTL FIX */
/* Recaptcha appears to not support RTL properly, so we'll force it to LTR mode */
html[dir="rtl"] #recaptcha_table:not( .recaptcha_theme_clean ) {
	direction: ltr !important;
}

/* IE11 CKE Source fix */
_:-ms-input-placeholder, :root .cke_source {
	min-width: 100% !important;
}

.ipsForm_meter {
	max-width: 350px;
	width: 100%;
	height: 7px;
	display: block;
	margin-top: 7px;
	border-radius: 2px;
}

.ipsForm_meterAdvice {
	font-size: {fontsize="10"};
	font-weight: bold;
	display: block;
}

	.ipsForm_meter[data-adviceValue="1"] + .ipsForm_meterAdvice { color: #C62828;}
	.ipsForm_meter[data-adviceValue="2"] + .ipsForm_meterAdvice { color: #D84315;}
	.ipsForm_meter[data-adviceValue="3"] + .ipsForm_meterAdvice { color: #FF8F00;}
	.ipsForm_meter[data-adviceValue="4"] + .ipsForm_meterAdvice { color: #9E9D24;}
	.ipsForm_meter[data-adviceValue="5"] + .ipsForm_meterAdvice { color: #2E7D32;}

.ipsForm_meter::-webkit-meter-bar {
	background: none;
	border-radius: 2px;
	background-color: #f0f0f0;
}

/* Webkit based browsers */
.ipsForm_meter[data-adviceValue="1"]::-webkit-meter-optimum-value { background: #C62828; }
.ipsForm_meter[data-adviceValue="2"]::-webkit-meter-optimum-value { background: #D84315; }
.ipsForm_meter[data-adviceValue="3"]::-webkit-meter-optimum-value { background: #FF8F00; }
.ipsForm_meter[data-adviceValue="4"]::-webkit-meter-optimum-value { background: #9E9D24; }
.ipsForm_meter[data-adviceValue="5"]::-webkit-meter-optimum-value { background: #2E7D32; }

/* Gecko based browsers */
.ipsForm_meter[data-adviceValue="1"]::-moz-meter-bar { background: #C62828; }
.ipsForm_meter[data-adviceValue="2"]::-moz-meter-bar { background: #D84315; }
.ipsForm_meter[data-adviceValue="3"]::-moz-meter-bar { background: #FF8F00; }
.ipsForm_meter[data-adviceValue="4"]::-moz-meter-bar { background: #9E9D24; }
.ipsForm_meter[data-adviceValue="5"]::-moz-meter-bar { background: #2E7D32; }


/* Cropper tool */
[data-role="cropper"] {
	margin: 0 auto;
	max-width: 100%;
}

.ipsForm_cropper {
	max-width: 100%;
}

.ipsForm_cropper > img {
	max-width: 100%;
}

.ipsForm_colorSwatch {
	width: 30px;
	height: 30px;
	display: inline-block;
	cursor: pointer;
	border-radius: 50%;
	border: 1px solid rgb( var(--theme-area_background) );
}

.ipsForm_colorSwatchWrapper {
	padding: 6px 0px;
}

/* Just a little thing to make the Google address field autocomplete have
	a higher z-index because otherwise it's hidden behind modals */
.pac-container {
	z-index: 100000;
}

/*!
 * Cropper.js v1.5.9
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2020-09-10T13:16:21.689Z
 */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}

 /* This correctly centers the photo cropper: fixes #2372 */
[data-role="cropper"]{
	position: relative;
}
	.cropper-container{
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="global.css"><![CDATA[@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	min-height: 100%;
	position: relative;
}

body {
	font-family: {{if theme.body_font != 'default'}}"{theme="body_font"}",{{endif}} -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: {fontsize="small"};
	line-height: 1.5;
	color: rgb( var(--theme-text_color) );
	height: 100%;
	background-color: rgb( var(--theme-page_background) );
	margin: 0;
}

span.ipsEmoji, div.ipsEmoji {
	font-weight: normal;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}
img.ipsEmoji {
	height: 1.25em;
	width: 1.25em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.1em;
}

main {
	display: block;
}

.ipsLayout_noBackground {
	background: none;
}

	body.ipsNoScroll {
		overflow: hidden;
	}

a {
	color: rgb( var(--theme-link) );
	text-decoration: none;
}

	a:hover {
		color: rgb( var(--theme-link_hover) );
	}

	a:active, a:focus, a:hover {
		outline: 0 !important;
	}

img {
	vertical-align: middle;
}


/* Flexbox utilities */
.ipsFlex { display: flex; }
.ipsFlex-inline { display: inline-flex; }

.ipsFlex > *,
.ipsFlex-inline > * {
	flex: 0 1 auto;
	min-width: 0;
}

.ipsFlex-ai\:start { align-items: flex-start; }
.ipsFlex-ai\:center{ align-items: center; }
.ipsFlex-ai\:end{ align-items: flex-end; }
.ipsFlex-ai\:stretch{ align-items: stretch; }
.ipsFlex-as\:start{ align-self: flex-start; }
.ipsFlex-as\:center{ align-self: center; }
.ipsFlex-as\:end{ align-self: flex-end; }
.ipsFlex-as\:stretch{ align-self: stretch; }
.ipsFlex-jc\:start{ justify-content: flex-start; }
.ipsFlex-jc\:center{ justify-content: center; }
.ipsFlex-jc\:end{ justify-content: flex-end; }
.ipsFlex-jc\:around{ justify-content: space-around; }
.ipsFlex-jc\:between{ justify-content: space-between; }
.ipsFlex-fd\:column{ flex-direction: column; }
.ipsFlex-fd\:row{ flex-direction: row; }
.ipsFlex-fd\:column-reverse{ flex-direction: column-reverse; }
.ipsFlex-fd\:row-reverse{ flex-direction: row-reverse; }
.ipsFlex-fw\:wrap{ flex-wrap: wrap; }
.ipsFlex-fw\:nowrap{ flex-wrap: nowrap; }
.ipsFlex-fw\:wrap-reverse{ flex-wrap: wrap-reverse; }
.ipsFlex-flex\:00{ flex-grow: 0; flex-shrink: 0; }
.ipsFlex-flex\:10{ flex-grow: 1; flex-shrink: 0; }
.ipsFlex-flex\:11{ flex-grow: 1; flex-shrink: 1; }
.ipsFlex-flex\:01{ flex-grow: 0; flex-shrink: 1; }

{{if theme.responsive }}
@media (max-width: 979px){
	.md\:ipsFlex { display: flex; }
	.md\:ipsFlex > * { flex: 0 1 auto; min-width: 0; }
	.md\:ipsFlex-ai\:start { align-items: flex-start; }
	.md\:ipsFlex-ai\:center{ align-items: center; }
	.md\:ipsFlex-ai\:end{ align-items: flex-end; }
	.md\:ipsFlex-ai\:stretch{ align-items: stretch; }
	.md\:ipsFlex-as\:start{ align-self: flex-start; }
	.md\:ipsFlex-as\:center{ align-self: center; }
	.md\:ipsFlex-as\:end{ align-self: flex-end; }
	.md\:ipsFlex-as\:stretch{ align-self: stretch; }
	.md\:ipsFlex-jc\:start{ justify-content: flex-start; }
	.md\:ipsFlex-jc\:center{ justify-content: center; }
	.md\:ipsFlex-jc\:end{ justify-content: flex-end; }
	.md\:ipsFlex-jc\:around{ justify-content: space-around; }
	.md\:ipsFlex-jc\:between{ justify-content: space-between; }
	.md\:ipsFlex-fd\:column{ flex-direction: column; }
	.md\:ipsFlex-fd\:row{ flex-direction: row; }
	.md\:ipsFlex-fd\:column-reverse{ flex-direction: column-reverse; }
	.md\:ipsFlex-fd\:row-reverse{ flex-direction: row-reverse; }
	.md\:ipsFlex-fw\:wrap{ flex-wrap: wrap; }
	.ms\:ipsFlex-fw\:nowrap{ flex-wrap: nowrap; }
	.md\:ipsFlex-flex\:00{ flex-grow: 0; flex-shrink: 0; }
	.md\:ipsFlex-flex\:10{ flex-grow: 1; flex-shrink: 0; }
	.md\:ipsFlex-flex\:11{ flex-grow: 1; flex-shrink: 1; }
	.md\:ipsFlex-flex\:01{ flex-grow: 0; flex-shrink: 1; }
}

@media (max-width: 767px){
	.sm\:ipsFlex { display: flex; }
	.sm\:ipsFlex > * { flex: 0 1 auto; min-width: 0; }
	.sm\:ipsFlex-ai\:start { align-items: flex-start; }
	.sm\:ipsFlex-ai\:center{ align-items: center; }
	.sm\:ipsFlex-ai\:end{ align-items: flex-end; }
	.sm\:ipsFlex-ai\:stretch{ align-items: stretch; }
	.sm\:ipsFlex-as\:start{ align-self: flex-start; }
	.sm\:ipsFlex-as\:center{ align-self: center; }
	.sm\:ipsFlex-as\:end{ align-self: flex-end; }
	.sm\:ipsFlex-as\:stretch{ align-self: stretch; }
	.sm\:ipsFlex-jc\:start{ justify-content: flex-start; }
	.sm\:ipsFlex-jc\:center{ justify-content: center; }
	.sm\:ipsFlex-jc\:end{ justify-content: flex-end; }
	.sm\:ipsFlex-jc\:around{ justify-content: space-around; }
	.sm\:ipsFlex-jc\:between{ justify-content: space-between; }
	.sm\:ipsFlex-fd\:column{ flex-direction: column; }
	.sm\:ipsFlex-fd\:row{ flex-direction: row; }
	.sm\:ipsFlex-fd\:column-reverse{ flex-direction: column-reverse; }
	.sm\:ipsFlex-fd\:row-reverse{ flex-direction: row-reverse; }
	.sm\:ipsFlex-fw\:wrap{ flex-wrap: wrap; }
	.sm\:ipsFlex-fw\:nowrap{ flex-wrap: nowrap; }
	.sm\:ipsFlex-flex\:00{ flex-grow: 0; flex-shrink: 0; }
	.sm\:ipsFlex-flex\:10{ flex-grow: 1; flex-shrink: 0; }
	.sm\:ipsFlex-flex\:11{ flex-grow: 1; flex-shrink: 1; }
	.sm\:ipsFlex-flex\:01{ flex-grow: 0; flex-shrink: 1; }
}
{{endif}}

.ipsApp [class*="ipsGap"] {
	list-style: none;
	padding: .1px 0; /* This prevents the negative margins from collapsing into other elements */
	margin: calc(var(--ipsGap_row, var(--ipsGap)) * -1) 0 0 calc(var(--ipsGap, 0px) * -1);
}

	.ipsApp [class*="ipsGap"] > *{
		margin: var(--ipsGap_row, var(--ipsGap)) 0 0 var(--ipsGap, 0px);
	}

[class*="ipsGap"]{
	--ipsGap: var(--sp-4);
	--ipsGap_row: var(--ipsGap);	
}

{{$gaps = range(0, 8);}}
{{$breakpoints = array('' => '', '979px' => 'md\:', '767px' => 'sm\:' );}}

{{foreach $breakpoints as $mq => $prefix}}
{{if !empty($mq)}}
@media (max-width: {$mq}) {
{{endif}}
{{foreach $gaps as $gap}}
.{$prefix}ipsGap\:{$gap} { --ipsGap: var(--sp-{$gap}); }
.{$prefix}ipsGap_row\:{$gap} { --ipsGap_row: var(--sp-{$gap}); }
{{endforeach}}
{{if !empty($mq)}}
}
{{endif}}
{{endforeach}}

.ipsApp fieldset {
	border: 0;
}

/* RTL flip FontAwesome arrows */
html[dir="rtl"] i.fa[class$="-right"],
html[dir="rtl"] i.fa[class$="-left"],
html[dir="rtl"] i.fa[class$="-reply"],
html[dir="rtl"] i.fa[class$="-forward"],
html[dir="rtl"] i.fa[class$="-backward"] {
	transform: scaleX(-1);
	filter: FlipH;
}

/* HEADER & MAIN NAV */
#elSiteTitle,
#elLogo{
	flex: 0 1 auto;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	height: var(--header--height);
}

#elSiteTitle {
	color: inherit;
	font-size: 22px;
	text-decoration: none;
	font-weight: 500;
	letter-spacing: -0.5px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

	#elLogo img {
		max-width: 100%;
		max-height: var(--logo--height);
	}

		#ipsLayout_header nav ul li.ipsHide,
		#ipsLayout_header #elMobileNav li.ipsHide {
			display: none;
		}

#ipsLayout_header header {
	background-color: rgb( var(--theme-header) );
	color: rgb( var(--theme-header_text) );
}

	#ipsLayout_header header > .ipsLayout_container {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	/* Minimal page layout, i.e. no nav or home link */
	body.ipsLayout_minimal.ipsLayout_minimalNoHome #ipsLayout_header nav {
		display: none;
	}

#elAjaxLoading {
	background: #323232;
	width: 150px;
	padding: 15px;
	color: #fff;
	position: fixed;
	bottom: 15px;
	border-radius: var(--radius-1);
	font-size: 16px;
	text-align: center;
	z-index: 15000;
}
html[dir="ltr"] #elAjaxLoading {
	left: 50%;
	margin-left: -75px;
}
html[dir="rtl"] #elAjaxLoading {
	right: 50%;
	margin-right: -75px;
}

	html[dir="ltr"] #elAjaxLoading img {
		margin-right: 20px;
	}
	html[dir="rtl"] #elAjaxLoading img {
		margin-left: 20px;
	}

/* SEARCH */
#elSearchWrapper{
	position: relative;
}

#elSearch {
	background: #fff;
	color: #222;
	height: 32px;
	width: 350px;
	border-radius: 50px;
	position: relative;
}

	#elSearch form{
		display: flex;
		height: 100%;
		border-radius: inherit;
	}

#elSearch input[type="search"] {
	flex: 1 1 100%;
	min-width: 0;
	background: transparent;
	box-shadow: none;
	font-size: inherit;
	border: 0;
	padding: 0px 16px;
	color: inherit;
	max-width: none;
}

.cSearchFilter{
	flex: 0 0 auto;
	color: rgb(var(--theme-text_light));
	font-size: {fontsize="12"};
	position: relative;
	opacity: 0;
	transition: opacity 0.2s linear 2s;
}

	.cSearchFilter[open]{
		z-index: 2000;
	}

	#elSearchField:not(:placeholder-shown) + .cSearchFilter,
	#elSearch:focus-within .cSearchFilter,
	#elSearch:hover .cSearchFilter{
		opacity: 1;
		transition-delay: 0s;
	}

	.cSearchFilter__text{
		display: flex;
		align-items: center;
		padding: 0 1em;
		height: 100%;
		cursor: pointer;
		position: relative;
	}

	.cSearchFilter__text::marker,
	.cSearchFilter__text::-webkit-details-marker {
	  display: none;
	}

		.cSearchFilter[open] .cSearchFilter__text::before{
			content: '';
			position: fixed;
			inset: 0;
			cursor: default;
		}

		.cSearchFilter__text::after{
			border: 4px solid transparent;
			border-top-color: currentColor;
			border-bottom-width: 0;
			content: "";
			width: 0;
			height: 0;
			pointer-events: none;
			margin-left: .6em;
		}

			[dir="rtl"] .cSearchFilter__text::after{
				margin: 0 .6em 0 0;
			}

	.cSearchFilter__menu{
		list-style: none;
		margin: 0;
		padding: 5px;
		position: absolute;
		top: calc(100% + 7px);
		right: 0;
		min-width: 180px;
		background: rgb(var(--theme-area_background_reset));
		border-color: rgb(var(--theme-area_background_reset));
		color: rgb(var(--theme-text_light));
		border-radius: var(--box--radius);
		box-shadow: rgba(0,0,0,.15) 0px 10px 25px, rgba(0,0,0,.1) 0px 1px 2px;
		white-space: nowrap;
	}

	[dir="rtl"] .cSearchFilter__menu{
		right: auto;
		left: 0;
	}

		.cSearchFilter__menu::before{
			border: 4px solid transparent;
			border-bottom-color: inherit;
			border-top-width: 0;
			content: "";
			width: 0;
			height: 0;
			pointer-events: none;
			position: absolute;
			right: 1em;
			bottom: 100%;
		}

		[dir="rtl"] .cSearchFilter__menu::before{
			right: 0;
			left: 1em;
		}

		.cSearchFilter__menu label{
			display: block;
			cursor: pointer;
			position: relative;
		}

			.cSearchFilter__menu input{
				position: absolute;
				opacity: 0;
			}

			.cSearchFilter__menuText{
				display: block;
				padding: .6em;
				border-radius: 4px;
			}

				.cSearchFilter__menuText::before{
					content: '';
					font: normal normal normal 14px/1 FontAwesome;
					font-size: inherit;
					text-rendering: auto;
					-webkit-font-smoothing: antialiased;
					-moz-osx-font-smoothing: grayscale;
					width: 1.5em;
					display: inline-block;
				}

					.cSearchFilter__menuText:hover{
						background-color: rgb(var(--theme-area_background));
					}

					.cSearchFilter__menu input:focus-visible + .cSearchFilter__menuText{
						outline: 2px solid rgb(var(--theme-brand_primary));
						outline-offset: 2px;
					}

					.cSearchFilter__menu input:checked + .cSearchFilter__menuText{
						background-color: rgb(var(--theme-area_background_dark));
						color: #fff;
					}

						.cSearchFilter__menu input:checked + .cSearchFilter__menuText::before{
							content: "\f00c";
						}

.cSearchSubmit {
	border: 0px;
	background: transparent;
	cursor: pointer;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	color: inherit;
}

	[dir="ltr"] .cSearchSubmit{
		border-top-right-radius: inherit;
		border-bottom-right-radius: inherit;
	}
	[dir="rtl"] .cSearchSubmit{
		border-top-left-radius: inherit;
		border-bottom-left-radius: inherit;
	}

.cSearchSubmit:hover,
.cSearchSubmit:focus,
.cSearchFilter:focus-within .cSearchFilter__text,
.cSearchFilter:hover .cSearchFilter__text{
	background-color: rgb(var(--theme-area_background));
	outline: none !important;
}

/* USER NAVIGATION */
#elUserLink_menu {
	width: 340px;
}

#elUserNav {
	color: inherit;
	line-height: 36px;
	text-decoration: none;
	white-space: nowrap;
	font-weight: bold;
}

#elFooterSocialLinks {
	color: #fff;
	line-height: 36px;
	text-decoration: none;
}
	
	#elUserNav .ipsType_medium {
		line-height: inherit;
	}

	#elUserNav.cSignedOut {
		line-height: 15px;
	}
	
	#elUserNav > li > a, #elFooterSocialLinks > li > a {
		color: inherit;
		font-size: {fontsize="small"};
		vertical-align: middle;
		line-height: 1;
	}

		#elUserNav > li > a .fa,
		#elUserNav_mobile > li > a .fa {
			font-size: 20px;
		}

		#elFooterSocialLinks > li > a .fa {
			font-size: 16px;
		}

		#elUserNav > li > a .fa-caret-down,
		#elUserNav > li > a .fa-plus {
			font-size: 14px;
		}

	.cUserNav_icon a {
		display: block;
		position: relative; /* Needed for notification bubbles */
		color: inherit;
	}

	#elUserNav > li > .ipsButton_primary {
		color: rgb( var(--theme-primary_button_font) );
	}

	.elUserNav_sep {
		border-right: 2px solid currentColor;
		opacity: .2;
		height: 36px;
		width: 0;
		display: block;
	}

#cUserLink .ipsUserPhoto {
	padding: 0;
}
html[dir="ltr"] #cUserLink .ipsUserPhoto {
	margin-right: 5px;
}
html[dir="rtl"] #cUserLink .ipsUserPhoto {
	margin-left: 5px;
}

	#cUserLink .ipsUserPhoto {
		width: 26px;
		height: 26px;
	}

#elUserNav_mobile {
	padding: 15px 0;
}

html[dir="ltr"] #cRegisterButton {
	margin-left: 20px;
}
html[dir="rtl"] #cRegisterButton {
	margin-right: 20px;
}

#elCart .ipsNotificationCount {
	left: 10px;
	right: auto;
}

/* Achievements */
.ipsAchievementsProgress,
.ipsAchievementsProgress > *{
	height: 8px;
	border-radius: 10px;
	background: rgba(var(--theme-text_light),.2);
}

	#elUserLink_menu .ipsAchievementsProgress{
		margin-bottom: var(--sp-1);
	}

	.ipsAchievementsProgress > *{
		background: var(--positive-dark);
	}

/* FLASH MESSAGE */
#elFlashMessage {
	background: rgba(0,0,0,0.9);
	color: #fff;
	position: fixed;
	width: 600px;
	font-size: 15px;
	border-radius: 100px;
	box-shadow: var(--dialog--boxShadow);
	text-align: center;
	z-index: 50000; /* This should appear above everything else */
}
	#elFlashMessage:not( .ipsPad_half ) {
		padding: 15px 20px;
	}
	
html[dir="ltr"] #elFlashMessage {
	left: 50%;
	margin-left: -300px;
}
html[dir="rtl"] #elFlashMessage {
	right: 50%;
	margin-right: -300px;
}
	
	#elFlashMessage.ipsFlashMsg_top {
		top: 20px;
	}

	#elFlashMessage.ipsFlashMsg_bottom {
		bottom: 20px;
	}

#elFlashMessage [data-action='dismissFlashMessage'] {
	display: none;
}

	#elFlashMessage.ipsFlashMsg_dismissable [data-action='dismissFlashMessage'] {
		display: block;
		border-radius: 30px;
		width: 30px;
		height: 30px;
		line-height: 30px;
		color: #000;
		background: #fff;
		font-family: arial, sans-serif;
		text-align: center;
		font-size: 20px;
		border: 0;
	}

#elFlashMessage a,
#elFlashMessage a:hover {
	color: inherit;
	border-bottom: 1px solid currentColor;
}

/* DRAWERS */
.ipsModal.ipsDrawer_modal {
	background: rgba( var(--theme-text_color), 0.3 );
	overflow: hidden !important;
}

/*.ipsDrawer, .ipsDrawer_menu, .ipsDrawer_content {
	overflow: auto;
}*/

.ipsDrawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.ipsDrawer_menu {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 340px;
	max-width: calc(100% - 50px);
	background: rgb( var(--theme-area_background_reset) );
	color: rgb( var(--theme-text_color) );
	box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
}
html[dir="ltr"] .ipsDrawer_menu {
	right: 0;
}
html[dir="rtl"] .ipsDrawer_menu {
	left: 0;
}

	.ipsDrawer_content {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		overflow: auto;
	}

.ipsDrawer_close {
	background: rgb( var(--theme-area_background_reset) );
	width: 40px;
	height: 40px;
	border-radius: 40px;
	color: rgb( var(--theme-text_dark) ) !important;
	text-align: center;
	font-size: 24px;
	display: block;
	position: absolute;
	top: 5px;
	z-index: 2000;
}
	
	html[dir="ltr"] .ipsDrawer_close {
		right: 315px;
	}
	html[dir="rtl"] .ipsDrawer_close {
		left: 315px;
	}

		html[dir="ltr"] .ipsDrawer_menu .ipsDrawer_close {
			right: calc(100% + 5px);
		}
		html[dir="rtl"] .ipsDrawer_menu .ipsDrawer_close {
			left: calc(100% + 5px);
		}

	.ipsDrawer_close > span {
		font-family: arial, sans-serif;
		line-height: 40px;
	}

.ipsDrawer_list {
	width: 100%;
	position: relative;
	list-style: none;
	padding: 0 0 102px 0; /* Add extra padding at bottom to account for iOS issue and rank progress */
	margin: 0;
}

.ipsDrawer_list > li > a:not( .ipsButton ),
.ipsDrawer_list > li:not( .ipsDrawer_itemParent ) > a:not( .ipsButton ) {
	color: inherit;
	display: block;
	padding: var(--sp-3) var(--sp-5);
}

	.ipsDrawer_list > li > a:active {
		background: rgb( var(--theme-area_background) );
	}

	.ipsDrawer_itemParent > .ipsDrawer_list > li > a:not( .ipsButton ) {
		padding: var(--sp-3) var(--sp-5);
	}
	
.ipsDrawer_section {
	color: rgb( var(--theme-text_color) );
	font-size: {fontsize="x_small"};
	font-weight: bold;
	padding: var(--sp-4) var(--sp-5) var(--sp-1);
	text-transform: uppercase;
}

.ipsDrawer_itemParent > h4 {
	font-weight: normal;
	color: rgb( var(--theme-text_dark) );
	padding: var(--sp-3) var(--sp-5);
	position: relative;
	cursor: pointer;
	margin: 0;
}
.ipsDrawer_itemParent > .ipsDrawer_list > .ipsDrawer_itemParent > h4 {
	padding: var(--sp-3) var(--sp-5);
}
	html[dir="ltr"] .ipsDrawer_itemParent > h4:after {
		content: "\f105";
		right: var(--sp-5);
	}
	html[dir="rtl"] .ipsDrawer_itemParent > h4:after {
		content: "\f104";
		left: var(--sp-5);
	}

	.ipsDrawer_itemParent > h4 > a {
		color: inherit;
		display: block;
	}

.ipsDrawer_list .ipsDrawer_list {
	position: absolute;
	top: 0;
}
html[dir="ltr"] .ipsDrawer_list .ipsDrawer_list {
	left: 100%;
}
html[dir="rtl"] .ipsDrawer_list .ipsDrawer_list {
	right: 100%;
}

.ipsDrawer_list [data-action="back"] a {
	position: relative;
	background: rgb( var(--theme-area_background_light) );
	color: rgb( var(--theme-text_light) ) !important;
}
html[dir="ltr"] .ipsDrawer_list [data-action="back"] a {
	padding-left: var(--sp-5);
}
html[dir="rtl"] .ipsDrawer_list [data-action="back"] a {
	padding-right: var(--sp-5);
}

	html[dir="ltr"] .ipsDrawer_list [data-action="back"] a:before {
		content: "\f104";
		left: var(--sp-5);
	}
	html[dir="rtl"] .ipsDrawer_list [data-action="back"] a:before {
		content: "\f105";
		right: var(--sp-5);
	}

.ipsDrawer_itemParent > h4:after {
	font-family: "FontAwesome";
	font-size: 20px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.ipsDrawer_list [data-action="back"] a:before {
	font-family: "FontAwesome";
}
	html[dir="ltr"] .ipsDrawer_list [data-action="back"] a:before {
		margin-right: var(--sp-2);
	}
	html[dir="rtl"] .ipsDrawer_list [data-action="back"] a:before {
		margin-left: var(--sp-2);
	}

.ipsDrawer_listTitle {
	font-size: {fontsize="medium"};
	background: rgba( var(--theme-text_light), 0.1 );
	padding: 10px;
	color: rgb( var(--theme-text_dark) );
	margin-top: 10px;
	font-weight: bold;
	border-radius: 4px;
}

/* Remove borders from buttons for cleaner appearance */
.ipsDrawer_menu .ipsButton{
	border-color: transparent;
}



/* HIGH RES IMAGES */
@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 

	html[dir="ltr"] .ipsApp .ipsDataItem_subList {
		background-image: url( "{resource="subitem_stem@2x.png" app="core" location="front"}" );
	}
	html[dir="rtl"] .ipsApp .ipsDataItem_subList {
		background-image: url( "{resource="subitem_stem_rtl@2x.png" app="core" location="front"}" );
	}
}

/* Redirector */
.ipsRedirect {
	text-align: center;
}
	.ipsRedirect_loading {
		min-height: 100px;
	}
	.ipsRedirect_progress {
		
	}

	.ipsRedirect_progress[data-loading-text]::after{
		content: attr(data-loading-text);
		display: block;
		margin-top: 15px;
	}

		/* Hide the message if it's empty */
		.ipsRedirect_progress[data-loading-text=""]::after{
			display: none;
		}

.ipsRedirectMessage {
	margin: 50px;
}

.ipsRedirect_manualButton {
	margin-top: 20px;
}

/* Default responsive styles */
/* DESKTOP/DEFAULT */
.ipsResponsive_block{
	display: block !important;
}

.ipsResponsive_inline{
	display: inline !important;
}

.ipsResponsive_inlineBlock{
	display: inline-block !important;
}

	/* But don't override ipsHide which is used to intentionally hide things */
	.ipsResponsive_block.ipsHide,
	.ipsResponsive_inline.ipsHide,
	.ipsResponsive_inlineBlock.ipsHide {
		display: none !important;
	}

{{if !theme.responsive }}
	/* Hide responsive elements if responsive setting is disabled */
	.ipsApp .ipsResponsive_showPhone,
	.ipsApp .ipsResponsive_showTablet,
	.ipsApp .ipsResponsive_hideDesktop{
		display: none !important;
	}
{{endif}}

#elNavLang_menu li button,
#elNavTheme_menu li button {
	text-align: left;
	white-space: normal;
}

#elLicenseKey {
	margin: 0;
	border-radius: 0;
	font-size: {fontsize="medium"};
	padding-right: 40px;
}
	
	#elLicenseKey .ipsList_inline {
		margin-top: 15px;
	}
	
	#elLicenseKey [data-role="closeMessage"] {
		display: inline-block;
		background: rgba(0,0,0,0.6);
		width: 30px;
		height: 30px;
		border-radius: 30px;
		line-height: 28px;
		text-align: center;
		color: #fff;
		border-bottom: 0;
		font-size: 18px;
		position: absolute;
		right: 15px;
		top: 15px;
	}

/* ACP Notification Banners */

.cAcpNotificationBanner {
	color: rgba(255,255,255,0.7);
	min-height: 90px;
	padding: var(--sp-4) var(--sp-5);
}

	/* This ensures colored text in changelogs still appears white in ACP notifications, preventing poor contrast */
	.cAcpNotificationBanner .ipsType_richText [style*='color']{
		color: inherit !important;
	}

	.cAcpNotificationBanner:not( :first-child ) {
		border-top: 1px solid rgba(0,0,0,0.1);
	}
	
	.cAcpNotificationBanner_error {
		background: var(--negative-dark) !important;
	}
	.cAcpNotificationBanner_warning {
		background: var(--intermediate-dark) !important;
	}
	.cAcpNotificationBanner_information {
		background: var(--informational-dark) !important;
	}
	.cAcpNotificationBanner_expire {
		background: var(--general-dark) !important;
	}

	.cAcpNotificationBanner i.cAcpNotificationBanner_mainIcon {
		font-size: 34px;
		line-height: 1;
		color: #fff;
		text-shadow: none;
		position: relative;
		top: 10px;
	}
	
	.cAcpNotificationBanner h2 {
		font-size: {fontsize="large"};
		font-weight: bold;
		color: #fff;
		letter-spacing: 0.3px;
	}
	
	.cAcpNotificationBanner .ipsType_richText {
		color: rgba(255,255,255,0.9);
	}
		
	.cAcpNotificationBanner hr.ipsHr {
		border-color: rgba(255,255,255,0.1);
	}
	
	.cAcpNotificationBanner a:not( .ipsButton ):not( .cAcpNotificationBanner_close ) {
		border-bottom: 1px solid {hextorgb="#fff" opacity="0.6"};
		text-decoration: none;
		opacity: 1;
		color: #fff;
		text-align: left;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: var(--sp-3);
	}
	
	.cAcpNotificationBanner_close {
		color: #fff;
		opacity: 0.8;
	}
	.cAcpNotificationBanner_close:hover {
		color: #fff;
	}

	html[dir="ltr"] .cAcpNotificationBanner.ipsPhotoPanel.ipsPhotoPanel_small > div {
		margin-left: 50px;
	}
	html[dir="rtl"] .cAcpNotificationBanner.ipsPhotoPanel.ipsPhotoPanel_small > div {
		margin-right: 50px;
	}

	@media screen and (max-width: 767px) {
		html[dir="ltr"] .cAcpNotificationBanner.ipsPhotoPanel.ipsPhotoPanel_small > div {
			margin-left: 0;
		}
		html[dir="rtl"] .cAcpNotificationBanner.ipsPhotoPanel.ipsPhotoPanel_small > div {
			margin-right: 0;
		}
	}

	.cAcpNotificationBanner .ipsButton_overlaid {
		background-color: rgba(0,0,0,0.1);
		opacity: 1;
	}

/* LICENSE RENEWAL MODAL */

.acpLicenseRenewal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.acpLicenseRenewal_wrap {
	width: 500px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0px 5px 35px rgba(69,88,107,0.4);
	position: relative;
	pointer-events: auto;
}

	.acpLicenseRenewal_inner {
		text-align: center;
	}

	.acpLicenseRenewal_wrap .ipsToolList {
		margin-bottom: 0;
	}

.acpLicenseRenewal_content {
	padding: 30px;
}

.acpLicenseRenewal_mainTitle {
	font-size: {fontsize="2x_large"};
	font-weight: 400;
	text-align: center;
	margin: 0;
}

.acpLicenseRenewal_desc {
	text-align: center;
	font-size: {fontsize="large"};
	margin-top: 20px;
	opacity: 0.8;
	line-height: 1.5em;
}

#elLicenseRenewal .ipsList_inline {
	margin-top: 15px;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="layout.css"><![CDATA[#ipsLayout_body {
	margin: 0 auto;
}

#ipsLayout_header {
	position: relative;
}

#ipsLayout_mainArea, #ipsLayout_sidebar {
	display: table-cell;
	height: 100%;
	vertical-align: top;
	box-sizing: border-box;
}

	#ipsLayout_mainArea:only-of-type {
		display: block;
	}

#ipsLayout_mainArea {
	width: 100%;
	min-height: 350px;
	padding: 0px;
}

	.ipsLayout_minimal #ipsLayout_mainArea {
		padding-top: 15px;
		padding-bottom: 15px;
	}

#ipsLayout_sidebar {
	min-width: 340px;
	max-width: 340px;
	padding-bottom: 15px;
	overflow: hidden;
	border-radius: 0;
}

	html[dir="ltr"] #ipsLayout_sidebar.ipsLayout_sidebarleft,
	html[dir="rtl"] #ipsLayout_sidebar.ipsLayout_sidebarright {
		padding-right: 20px;
	}
	html[dir="ltr"] #ipsLayout_sidebar.ipsLayout_sidebarright,
	html[dir="rtl"] #ipsLayout_sidebar.ipsLayout_sidebarleft {
		padding-left: 20px;
	}
	
	body:not( .cWidgetsManaging ) #ipsLayout_sidebar.ipsLayout_sidebarUnused,
	body.ipsLayout_sidebarUnused:not( .cWidgetsManaging ) #ipsLayout_sidebar {
		min-width: 1px;
		width: 0;
		padding: 0 !important;
	}

	#ipsLayout_contentWrapper #ipsLayout_sidebar:first-child {
		padding: 15px 15px 15px 15px;
	}

@media (max-width: 979px){
	#ipsLayout_sidebar > .cWidgetContainer > .ipsList_reset{
		display: flex;
		flex-wrap: wrap;
		margin: 0 0 -15px -15px;
	}

		#ipsLayout_sidebar .ipsWidget_vertical{
			flex: 1 1 250px;
			margin: 0 0 20px 15px;
			max-width: calc(100% - 15px);
		}
}

#elContextualTools {
	padding: 0px 15px 0px 15px;
	margin: 0px -15px 0px -15px;
	transition: box-shadow 0.3s linear;
}

	#elContextualTools.ipsSticky {
		margin-top: 0;
		padding: 15px;
	}

#ipsLayout_footer {
	margin: 20px 0;
}

	#ipsLayout_footer p {
		margin: 0;
	}

		#ipsLayout_footer a, #ipsLayout_footer p {
			font-size: {fontsize="medium"};
			text-decoration: none;
			color: rgb( var(--theme-footer_text) );
		}

		#ipsLayout_footer #elCopyright {
			opacity: 0.6;
			font-size: {fontsize="x_small"};
			margin-top: 5px;
			text-align: center; 
		}
		#elCopyright_userLine {
			display: block;
		}

.ipsLayout_container {
	{{if theme.enable_fluid_width}}
		{{if theme.fluid_width_size}}
			max-width: {theme="fluid_width_size"}%;
		{{else}}
			max-width: 100%;
		{{endif}}
	{{else}}
		max-width: var(--container--width);
	{{endif}}
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
}

/* SIMPLIFIED WRAPPER */
.ipsLayout_minimal #ipsLayout_header #elUserNav,
.ipsLayout_minimal #elSearch,
.ipsLayout_minimal #elMobileNav,
.ipsLayout_minimal .ipsBreadcrumb {
	display: none !important;
}

.ipsLayout_minimal .ipsLayout_container:not( .cGuestTerms ) {
	max-width: var(--minimal_container--width);
}

/* SPACER STYLES */
/* ipsSpacer classes are deprecated - use ipsMargin classes below in future work */
.ipsApp .ipsSpacer_top, .ipsApp .ipsSpacer_both { margin-top: var(--sp-5); }
	.ipsApp .ipsSpacer_top.ipsSpacer_double, .ipsApp .ipsSpacer_both.ipsSpacer_double { margin-top: var(--sp-8); }
	.ipsApp .ipsSpacer_top.ipsSpacer_half, .ipsApp .ipsSpacer_both.ipsSpacer_half { margin-top: var(--sp-3); }

.ipsApp .ipsSpacer_bottom, .ipsApp .ipsSpacer_both { margin-bottom: var(--sp-5); }
	.ipsApp .ipsSpacer_bottom.ipsSpacer_double, .ipsApp .ipsSpacer_both.ipsSpacer_double { margin-bottom: var(--sp-8);	}
	.ipsApp .ipsSpacer_bottom.ipsSpacer_half, .ipsApp .ipsSpacer_both.ipsSpacer_half { margin-bottom: var(--sp-3); }

/* Generate normal/double/half margin for each side */
/* !important is used on these styles since they are constants and should never be overridden with specificity */
{{$marginSizes = array('\:none' => '0', '' => 'var(--sp-5)', '\:half' => 'var(--sp-3)', '\:double' => 'var(--sp-8)' );}}
{{$breakpoints = array('' => '', '979px' => 'md\:', '767px' => 'sm\:' );}}

{{foreach $breakpoints as $mq => $prefix}}
{{if !empty($mq)}}
@media (max-width: {$mq}) {
{{endif}}
{{foreach $marginSizes as $modifier => $size}}
	.{$prefix}ipsMargin{$modifier} { margin: {$size} !important; }
	.{$prefix}ipsMargin_vertical{$modifier}, .{$prefix}ipsMargin_top{$modifier} { margin-top: {$size} !important; }
	.{$prefix}ipsMargin_vertical{$modifier}, .{$prefix}ipsMargin_bottom{$modifier} { margin-bottom: {$size} !important; }
	.{$prefix}ipsMargin_horizontal{$modifier}, html[dir="ltr"] .{$prefix}ipsMargin_left{$modifier}, html[dir="rtl"] .{$prefix}ipsMargin_right{$modifier} { margin-left: {$size} !important; }
	.{$prefix}ipsMargin_horizontal{$modifier}, html[dir="ltr"] .{$prefix}ipsMargin_right{$modifier}, html[dir="rtl"] .{$prefix}ipsMargin_left{$modifier} { margin-right: {$size} !important; }
{{endforeach}}
{{if !empty($mq)}}
}
{{endif}}
{{endforeach}}

/* Fixed column sizing */
.ipsColumns {
	width: 100%;
	display: table;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
}

	.ipsColumns.ipsColumns_horizontalSpacing, 
	.ipsColumns.ipsColumns_verticalSpacing,
	.ipsColumns.ipsColumns_bothSpacing,
	.ipsColumns.ipsColumns_noSpacing {
		border-collapse: separate;
	}

	.ipsColumns.ipsColumns_horizontalSpacing {
		border-spacing: var(--sp-5) 0;
	}

		.ipsColumns.ipsColumns_horizontalSpacing.ipsColumns_halfSpacing {
			border-spacing: var(--sp-3) 0;
		}

	.ipsColumns.ipsColumns_verticalSpacing {
		border-spacing: 0 var(--sp-5);
	}

		.ipsColumns.ipsColumns_verticalSpacing.ipsColumns_halfSpacing {
			border-spacing: 0 var(--sp-3);
		}

	.ipsColumns.ipsColumns_bothSpacing {
		border-spacing: var(--sp-5);
	}	

		.ipsColumns.ipsColumns_bothSpacing.ipsColumns_halfSpacing {
			border-spacing: var(--sp-3);
		}	

html[dir="ltr"] .ipsColumns > .ipsColumn:first-child:not( .ipsPad ),
html[dir="ltr"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-left: 0;
}

html[dir="ltr"] .ipsColumns > .ipsColumn:last-child:not( .ipsPad ),
html[dir="ltr"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-right: 0;
}

html[dir="rtl"] .ipsColumns > .ipsColumn:first-child:not( .ipsPad ),
html[dir="rtl"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-right: 0;
}

html[dir="rtl"] .ipsColumns > .ipsColumn:last-child:not( .ipsPad ),
html[dir="rtl"] .ipsColumns.ipsColumns_noSpacing > .ipsColumn:not( .ipsPad ) {
	padding-left: 0;
}

.ipsColumn {
	display: table-cell;
	position: relative;
	vertical-align: top;
	padding: 0 var(--sp-3);
}

.ipsColumn_veryNarrow {
	width: 50px;
}

.ipsColumn_narrow {
	width: 120px;
}

.ipsColumn_medium {
	width: 200px;
}

.ipsColumn_wide {
	width: 280px;
}

.ipsColumn_veryWide {
	width: 360px;
}

.ipsColumn_fluid {
	width: 100%;
}

	.ipsCoverPhoto .ipsColumns,
	.ipsCoverPhoto .ipsColumn_fluid {
		width: auto;
		vertical-align: bottom;
	}

/*.ipsColumn_filterBar {
	position: absolute;
	left: 0;
	width: 350px;
	height: 100%;
	z-index: 5000;
}*/

.ipsFilter_layout {
	position: absolute !important;
	max-width: 100%;
}

/* The following grid styles renamed from Bootstrap */
/**
 * Bootstrap v2.2.2
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
ul.ipsGrid, ol.ipsGrid {
	padding: 0;
	margin: 0;
}

.ipsGrid:before,
.ipsGrid:after {
	display: table;
	content: "";
	line-height: 0;
}

.ipsGrid:after {
	clear: both;
}

.ipsGrid > [class*="ipsGrid_span"] {
	display: block;
	width: 100%;
	min-height: 30px;
	box-sizing: border-box;
}
html[dir="ltr"] .ipsGrid > [class*="ipsGrid_span"] {
	float: left;
	margin-left: 2.127659574468085%;
}
html[dir="rtl"] .ipsGrid > [class*="ipsGrid_span"] {
	float: right;
	margin-right: 2.127659574468085%;
}

html[dir="ltr"] .ipsGrid > [class*="ipsGrid_span"]:first-child {
	margin-left: 0;
}
html[dir="rtl"] .ipsGrid > [class*="ipsGrid_span"]:first-child {
	margin-right: 0;
}

html[dir="ltr"] .ipsGrid .controls-row [class*="ipsGrid_span"] + [class*="ipsGrid_span"] {
	margin-left: 2.127659574468085%;
}
html[dir="rtl"] .ipsGrid .controls-row [class*="ipsGrid_span"] + [class*="ipsGrid_span"] {
	margin-right: 2.127659574468085%;
}

.ipsApp .ipsGrid > .ipsGrid_span12 { width: 100%; }
.ipsApp .ipsGrid > .ipsGrid_span11 { width: 91.48936170212765%; }
.ipsApp .ipsGrid > .ipsGrid_span10 { width: 82.97872340425532%; }
.ipsApp .ipsGrid > .ipsGrid_span9 { width: 74.46808510638297%; }
.ipsApp .ipsGrid > .ipsGrid_span8 { width: 65.95744680851064%; }
.ipsApp .ipsGrid > .ipsGrid_span7 { width: 57.44680851063829%; }
.ipsApp .ipsGrid > .ipsGrid_span6 { width: 48.93617021276595%; }
.ipsApp .ipsGrid > .ipsGrid_span5 { width: 40.42553191489362%; }
.ipsApp .ipsGrid > .ipsGrid_span4 { width: 31.914893617021278%; }
.ipsApp .ipsGrid > .ipsGrid_span3 { width: 23.404255319148934%; }
.ipsApp .ipsGrid > .ipsGrid_span2 { width: 14.893617021276595%; }
.ipsApp .ipsGrid > .ipsGrid_span1 { width: 6.382978723404255%; }

/* End Bootstrap */

/* Additional styles that save us from having to open a new 'row' (only for spans that 12 is divisible by)
   Instead, we can just build a long list of items with grid classes, and the margin will work properly */

ol.ipsGrid > li, ul.ipsGrid > li {
	margin-bottom: 15px;
}

html[dir="ltr"] .ipsGrid_span12:nth-child( 1n ),
html[dir="ltr"] .ipsGrid_span12 + [class*="ipsGrid_span"],
html[dir="ltr"] .ipsGrid_span6:nth-child( odd ), 
html[dir="ltr"] .ipsGrid_span4:nth-child( 3n+1 ),
html[dir="ltr"] .ipsGrid_span3:nth-child( 4n+1 ),
html[dir="ltr"] .ipsGrid_span2:nth-child( 6n+1 ),
html[dir="ltr"] .ipsGrid_span1:nth-child( 12n+1 ) {
	margin-left: 0;
}
html[dir="rtl"] .ipsGrid_span12:nth-child( 1n ),
html[dir="rtl"] .ipsGrid_span12 + [class*="ipsGrid_span"],
html[dir="rtl"] .ipsGrid_span6:nth-child( odd ), 
html[dir="rtl"] .ipsGrid_span4:nth-child( 3n+1 ),
html[dir="rtl"] .ipsGrid_span3:nth-child( 4n+1 ),
html[dir="rtl"] .ipsGrid_span2:nth-child( 6n+1 ),
html[dir="rtl"] .ipsGrid_span1:nth-child( 12n+1 ) {
	margin-right: 0;
}

/* Patchwork styles */
.ipsPatchwork > li {
	margin-bottom: 0 !important;
}

.ipsJS_has [data-ipsPatchwork] [data-role="patchworkItem"] {
	opacity: 0.01;
}

.ipsGrid > li [data-role="patchworkItem"] + [data-role="patchworkItem"] {
	margin-top: 15px;
}

/* A modern grid solution */
.ipsFluidGrid {
	--FluidGrid--width: 300px;
	--FluidGrid--gap: var(--sp-4);
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--FluidGrid--width), 1fr));
	gap: var(--FluidGrid--gap);
}

/* A simple image grid */
.ipsImageGrid{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

	.ipsImageGrid img{
		max-width: 100%;
		max-height: 80px;
	}

/* Item control styles */
.ipsItemControls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: var(--sp-2) var(--sp-5);
	border-top: 1px solid rgba( var(--theme-text_color), 0.1 );
	color: rgb( var(--theme-text_light) );
	width: 100%;
	min-height: calc( 42px + ( var(--sp-2) * 2 ) );
}

	.cPost .ipsItemControls{
		margin-top: auto;
		padding-left: 0;
		padding-right: 0;
	}

	.ipsItemControls_left {
		order: 1;
		flex-grow: 1;
	}
	.ipsItemControls_right {
		order: 2;
		flex-grow: 1;
	}

	.ipsItemControls a{
		color: inherit;
	}

	.ipsItemControls .fa-ellipsis-h {
		font-size: {fontsize="x_large"};
	}

		.ipsItemControls .ipsButton .fa-ellipsis-h {
			position: relative;
			top: 3px;
		}
		
		html[dir="ltr"] .ipsItemControls .ipsButton .fa-ellipsis-h {
			margin-right: 4px;
		}
		html[dir="rtl"] .ipsItemControls .ipsButton .fa-ellipsis-h {
			margin-left: 4px;
		}

@media (max-width: 767px){
	/* This prevents the reactions from creating a horizontal scrollbar on mobiles */
	.ipsItemControls_right{
		padding: 0 5px;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="lightbox.css">/* Lightbox: the image viewer used throughout the front-end */
.ipsLightbox {
	background: rgba(20,20,20,0.95);
	position: fixed;
	top: 40px;
	bottom: 40px;
	left: 40px;
	right: 40px;
	box-shadow: var(--dialog--boxShadow);
	border-radius: var(--radius-2);
}

.ipsLightbox_imagePanel {
	position: absolute !important; /* required to stop conflicts with ipsLoading */
	top: 0px;
	bottom: 0px;
	overflow: hidden;
}

.ipsLightbox .ipsLightbox_toolsPanel {
	bottom: 0;
	align-items: flex-end;
	padding: 20px;
	position: absolute;
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	z-index: 9999;
}

.ipsLightbox .ipsLightbox_toolsPanel a.ipsButton.ipsButton_link {
	background: rgba(0,0,0,0.1) !important;
	color: #d0d0d0;
	border: 1px solid #d0d0d0 !important;
	margin: 0 5px;
}

html[dir=&quot;ltr&quot;] .ipsLightbox_imagePanel {
	left: 0px;
	right: 0;
	margin-left: 35px;
	margin-right: 25px;
}
html[dir=&quot;rtl&quot;] .ipsLightbox_imagePanel {
	right: 0px;
	left: 0;
	margin-left: 25px;
	margin-right: 35px;
}
	
	html[dir=&quot;ltr&quot;] .ipsLightbox_imagePanel.ipsLightbox_withComments {
		right: 350px;
	}
	html[dir=&quot;rtl&quot;] .ipsLightbox_imagePanel.ipsLightbox_withComments {
		left: 350px;
	}

	.ipsLightbox_imagePanel .ipsLightbox_image {
		max-width: 100%;
		max-height: 100%;
		position: absolute;
		z-index: 1000;
	}

.ipsLightbox_commentsPanel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 350px;
	background-color: #fff;
	overflow-y: auto;
}

	/* .ipsLoading adds position: relative; to the element which makes it float to the left behind the lightbox image, 
		so we need to override that here even though we've already defined position: absolute; on ipsLightbox_commentsPanel above */
	.ipsLightbox_commentsPanel.ipsLoading {
		position: absolute;
	}

html[dir=&quot;ltr&quot;] .ipsLightbox_commentsPanel {
	right: 0;
}
html[dir=&quot;rtl&quot;] .ipsLightbox_commentsPanel {
	left: 0;
}	

	.ipsLightbox_commentsPanel.ipsLoading {
		min-height: 100px;
	}

.ipsLightbox_next, .ipsLightbox_prev {
	font-size: 65px;
	line-height: 65px;
	color: #fff;
	position: absolute;
	top: 50%;
	margin-top: -32px;
	opacity: 0;
	cursor: pointer;
	z-index: 5000;
	transition: opacity 0.3s linear;
	text-shadow: 0px 0px 3px #000;
}

.ipsLightbox_fullSize {
	position: absolute;
	z-index: 4999;
	color: #fff;
	opacity: 0.4;
	text-align: center;
	display: none;
	font-size: 20px;
	cursor: zoom-in;
}
	.ipsLightbox_fullSize i.fa {
		font-size: 80px;
	}

	.ipsLightbox_fullSize:hover {
		color: #fff;
	}

	.ipsLightbox:hover .ipsLightbox_fullSize {
		/*display: block;*/
	}

html[dir=&quot;ltr&quot;] .ipsLightbox_next {
	right: 20px;
}
html[dir=&quot;ltr&quot;] .ipsLightbox_prev {
	left: 20px;
}
html[dir=&quot;rtl&quot;] .ipsLightbox_next {
	left: 20px;
}
html[dir=&quot;rtl&quot;] .ipsLightbox_prev {
	right: 20px;
}

.ipsLightbox_imagePanel:hover .ipsLightbox_next,
.ipsLightbox_imagePanel:hover .ipsLightbox_prev {
	opacity: 0.5;
}

.ipsLightbox_imagePanel .ipsLightbox_next:hover, .ipsLightbox_imagePanel .ipsLightbox_prev:hover {
	opacity: 1;
	color: #fff;
}

.ipsLightbox_meta {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #000;
	min-height: 50px;
	z-index: 10000;
	opacity: 0;
	padding: 15px;
	color: #fff;
	transition: all 0.2s linear;
}

	html[dir=&quot;ltr&quot;] .ipsLightbox_imagePanel.ipsLightbox_withComments + .ipsLightbox_meta {
		right: 350px;
	}
	html[dir=&quot;rtl&quot;] .ipsLightbox_imagePanel.ipsLightbox_withComments + .ipsLightbox_meta {
		left: 350px;
	}

	.ipsLightbox_imagePanel:hover + .ipsLightbox_meta {
		opacity: 1;
	}

.ipsLightbox_close {
	font-size: 38px;
	color: #fff;
	position: absolute;
	top: 10px;
	cursor: pointer;
	z-index: 5000;
}
html[dir=&quot;ltr&quot;] .ipsLightbox_close {
	right: 10px;
}
html[dir=&quot;rtl&quot;] .ipsLightbox_close {
	left: 10px;
}

	.ipsLightbox_close:hover {
		color: #fff;
	}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="menus.css"><![CDATA[/* Menus: various kinds of menu used in the interface */
/* ======================================================== */
/* BASIC MENU */
.ipsMenu {
	background: rgb( var(--theme-area_background_reset) );
	box-shadow: var(--popup--boxShadow);
	border: var(--popup--border);
	background-clip: padding-box;
	border-radius: var(--popup--radius);
	z-index: 10000;
	position: absolute;
	max-width: 100vw;
}	
	
	.ipsMenu .ipsMenu_item:first-child a,
	.ipsMenu .ipsMenu_item:first-child > span {
		border-top-left-radius: var(--popup--radius);
		border-top-right-radius: var(--popup--radius);	
	}

	.ipsMenu .ipsMenu_item:last-child a,
	.ipsMenu .ipsMenu_item:last-child > span {
		border-bottom-left-radius: var(--popup--radius);
		border-bottom-right-radius: var(--popup--radius);
	}

	ul.ipsMenu, .ipsMenu > ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	.ipsJS_none .ipsMenu:target {
		display: block !important; /* Allows menus to work with JS disabled, by showing them when the anchor is visited */
	}

	.ipsMenu_innerContent {
		max-height: 350px;
		overflow: auto;
	}

		.ipsMenu_innerContent .ipsDataList {
			position: static;
		}
		
	.ipsMenu.ipsLoading {
		min-height: 100px;
	}

/* ======================================================== */
/* WIDTHS */
.ipsMenu_auto {
	min-width: 200px;
	max-width: 500px;
}

.ipsMenu_veryNarrow {
	width: 140px;
}

.ipsMenu_narrow {
	width: 200px;
}

.ipsMenu_normal {
	width: 300px;
}

.ipsMenu_wide {
	width: 450px;
}

/* ======================================================== */
/* MENU ITEMS */
.ipsMenu_item {
	text-align: left;
	line-height: 1.4;
}
html[dir="rtl"] .ipsMenu_item {
	text-align: right;
}

	.ipsMenu_item > a:not( .ipsMenu_itemInline ),
	.ipsMenu_item > span:not( .ipsMenu_itemInline ),
	.ipsMenu_item > button:not( .ipsMenu_itemInline ) {
		position: relative;
		display: block;
		padding: 11px 20px;
		color: rgb( var(--theme-text_color) );
		white-space: nowrap;
		overflow: hidden;
    	text-overflow: ellipsis;
	}

	.ipsMenu button{
		width: 100%;
		text-align: inherit;
		-webkit-appearance: none;
		appearance: none;
		border-width: 0;
		background: none;
		cursor: pointer;
	}

ul:not( .ipsMenu_keyNav ) .ipsMenu_item:not( .ipsMenu_itemClicked ):not( .ipsMenu_itemDisabled ) a:not( .ipsMenu_itemInline ):hover, .ipsMenu_item[data-selected] a, .ipsMenu_item[data-selected] span, .ipsMenu_item.ipsMenu_hover, .ipsMenu_item > button:not( .ipsMenu_itemInline ):hover {
	background-color: rgba( var(--theme-text_color), 0.05 );
}

.ipsMenu_item.ipsType_negative a {
	color: var(--negative-dark);
}

.ipsMenu_itemDisabled > a,
.ipsMenu_itemDisabled > span {
	color: rgba( var(--theme-text_color), 0.6 );
	font-style: italic;
	cursor: default;
	pointer-events: none;
}

.ipsMenu_sep {
	border-top: 1px solid rgba( var(--theme-text_color), 0.1 );
	margin: 4px;
}

	.ipsMenu_sep hr { 
		display: none; 
	}

.ipsMenu_subItems > a,
.ipsMenu_subItems > span {
	position: relative;
}
html[dir="ltr"] .ipsMenu_subItems > a,
html[dir="ltr"] .ipsMenu_subItems > span {
	padding-right: 25px;
}
html[dir="rtl"] .ipsMenu_subItems > a,
html[dir="rtl"] .ipsMenu_subItems > span {
	padding-left: 25px;
}

	.ipsMenu_subItems > a:after {
		font-family: "FontAwesome";
		position: absolute;
		top: 9px;
	}
	html[dir="ltr"] .ipsMenu_subItems > a:after,
	html[dir="ltr"] .ipsMenu_subItems > span:after {
		content: '\f0da';
		right: 9px;
	}
	html[dir="rtl"] .ipsMenu_subItems > a:after,
	html[dir="rtl"] .ipsMenu_subItems > span:after {
		content: '\f0d9';
		left: 9px;
	}

	.ipsMenu_subItems .ipsMenu {
		position: absolute;
	}
	
/* ======================================================== */
/* MENU STEMS (the arrow that points to the target */
.ipsMenu:not( .ipsMenu_noStem ):after,
.ipsMenu:not( .ipsMenu_noStem ):before {
	content: '';
	display: none;
	position: absolute;
	width: 0;
	height: 0;
	border: 1em solid transparent;
	font-size: 8px;
}

.ipsMenu:not( .ipsMenu_noStem ):after {
	z-index: 200;
}

.ipsMenu:not( .ipsMenu_noStem ):before {
	z-index: 100;
}

.ipsMenu_topLeft:after, .ipsMenu_topRight:after, .ipsMenu_topCenter:after,
.ipsMenu_bottomLeft:after, .ipsMenu_bottomRight:after, .ipsMenu_bottomCenter:after,
.ipsMenu_topLeft:before, .ipsMenu_topRight:before, .ipsMenu_topCenter:before,
.ipsMenu_bottomLeft:before, .ipsMenu_bottomRight:before, .ipsMenu_bottomCenter:before {
	/* try and make sure the stem doesn't receive any focus */
	pointer-events: none;
	display: block !important;
}

.ipsMenu.ipsMenu_topLeft, .ipsMenu.ipsMenu_topRight, .ipsMenu.ipsMenu_topCenter {
	margin-top: -10px;
}
.ipsMenu.ipsMenu_bottomLeft, .ipsMenu.ipsMenu_bottomRight, .ipsMenu.ipsMenu_bottomCenter {
	margin-top: 10px;
}

.ipsMenu.ipsMenu_topLeft:before,
.ipsMenu.ipsMenu_topLeft:after {
	border-top-color: rgb( var(--theme-area_background_reset) );
	left: 10px;
	top: 100%;
}

.ipsMenu.ipsMenu_topRight:before,
.ipsMenu.ipsMenu_topRight:after {
	border-top-color: rgb( var(--theme-area_background_reset) );
	right: 10px;
	top: 100%;
}

.ipsMenu.ipsMenu_topCenter:before,
.ipsMenu.ipsMenu_topCenter:after {
	border-top-color: rgb( var(--theme-area_background_reset) );
	left: 50%;
	margin-left: -1em;
	top: 100%;
}

	.ipsMenu.ipsMenu_topLeft:before,
	.ipsMenu.ipsMenu_topCenter:before,
	.ipsMenu.ipsMenu_topRight:before {
		border-top-color: inherit;
		margin-top: 1px;
	}

.ipsMenu.ipsMenu_bottomRight:before,
.ipsMenu.ipsMenu_bottomRight:after {
	border-bottom-color: rgb( var(--theme-area_background_reset) );
	right: 10px;
	bottom: 100%;
}

.ipsMenu.ipsMenu_bottomLeft:before,
.ipsMenu.ipsMenu_bottomLeft:after {
	border-bottom-color: rgb( var(--theme-area_background_reset) );
	left: 10px;
	bottom: 100%;
}

.ipsMenu.ipsMenu_bottomCenter:before,
.ipsMenu.ipsMenu_bottomCenter:after {
	border-bottom-color: rgb( var(--theme-area_background_reset) );
	left: 50%;
	margin-left: -1em;
	bottom: 100%;
}

	.ipsMenu.ipsMenu_bottomLeft:before,
	.ipsMenu.ipsMenu_bottomCenter:before,
	.ipsMenu.ipsMenu_bottomRight:before {
		border-bottom-color: inherit;
		margin-bottom: 1px;
	}

/* ======================================================== */
/* OTHER MENU */
.ipsMenu_title {
	background: rgba( var(--theme-text_color), 0.04 );
	padding: 11px 20px;
	font-size: {fontsize="x_small"};
	font-weight: bold;
	text-transform: uppercase;
	color: rgb( var(--theme-text_dark) );
}

.ipsMenu_headerBar, .ipsMenu_footerBar {
	padding: var(--sp-4) var(--sp-5);
	line-height: 24px;
}

	.ipsMenu_headerBar {
		border-bottom: 1px solid rgba( var(--theme-text_color), 0.15 );
		border-radius: var(--popup--radius) var(--popup--radius) 0px 0px;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

		.ipsMenu_headerBar .ipsType_sectionHead {
			/* flip the order of the title in headerbar to avoid template update */
			order: -1;
		}

	.ipsMenu_footerBar {
		border-top: 1px solid rgba( var(--theme-text_color), 0.15 );
		border-radius: 0px 0px var(--popup--radius) var(--popup--radius);
	}

/* Counts for menu items */
.ipsMenu_itemCount, .ipsSideMenu_itemCount {
	line-height: 18px;
	padding: 0 5px;
	background: rgb( var(--theme-area_background_light) );
	color: rgb( var(--theme-text_color) );
	font-size: {fontsize="10"};
	font-weight: bold;
	border-radius: 2px;
}
html[dir="ltr"] .ipsMenu_itemCount, html[dir="ltr"] .ipsSideMenu_itemCount {
	float: right;
	margin-right: -5px;
	margin-left: 5px;
}
html[dir="rtl"] .ipsMenu_itemCount, html[dir="rtl"] .ipsSideMenu_itemCount {
	float: left;
	margin-left: -5px;
	margin-right: 5px;
}
	
	.ipsMenu_item:not( .ipsMenu_itemClicked ) a:hover .ipsMenu_itemCount,
	.ipsMenu_item:not( .ipsMenu_itemClicked ) button:hover .ipsMenu_itemCount {
		background: rgb( var(--theme-area_background_light) );
	}

	.ipsSideMenu_itemActive .ipsSideMenu_itemCount {
		background: rgba( var(--theme-text_color), 0.2 );
		color: rgb( var(--theme-text_color) );
	}

		.ipsSideMenu_itemActive .ipsSideMenu_itemCount.ipsSideMenu_clearCount {
			background: transparent;
		}

/* Selectable items for menus */
html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a,
html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span,
html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button {
	padding-left: 30px;
}
html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a,
html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span,
html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button {
	padding-right: 30px;
}

	.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a:before,
	.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span:before,
	.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button:before {
		content: '\f10c';
		font-size: 14px;
		position: absolute;
		font-family: 'FontAwesome';
		padding-left: 10px;
		color: rgba( var(--theme-text_color), 0.1 );
	}
	
	html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a:before,
	html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span:before,
	html[dir="ltr"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button:before {
		left: 0;
		padding-left: 10px;
	}

	html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) a:before,
	html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) > span:before,
	html[dir="rtl"] .ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ) button:before {
		right: 0;
		padding-right: 10px;
	}

	.ipsMenu_selectable .ipsMenu_item.ipsMenu_itemChecked a,
	.ipsMenu_selectable .ipsMenu_item.ipsMenu_itemChecked > span,
	.ipsMenu_selectable .ipsMenu_item.ipsMenu_itemChecked button {
		font-weight: bold;
	}

		.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ).ipsMenu_itemChecked a:before,
		.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ).ipsMenu_itemChecked > span:before,
		.ipsMenu_selectable .ipsMenu_item:not( .ipsMenu_itemNonSelect ).ipsMenu_itemChecked button:before {
			content: '\f00c';
			color: inherit;
		}

	.ipsMenu_selectable button {
		width: 100%;
	}

	html[dir="ltr"] .ipsMenu_selectable button:not( .ipsButton_fullWidth ) {
		text-align: left;
	}
	html[dir="rtl"] .ipsMenu_selectable button:not( .ipsButton_fullWidth ) {
		text-align: right;
	}

	.ipsMenu_selectable .ipsMenu_item:not( [data-noselect] ) input[type="radio"],
	.ipsMenu_selectable .ipsMenu_item:not( [data-noselect] ) input[type="checkbox"] {
		display: none;
	}

/* Selectable check all/check none */
.ipsMenu_selectable .ipsMenu_item a[data-role="selectAll"] {
	margin-right: 15px;
}

/* ======================================================== */
/* AUTOCOMPLETE MENUS */
.ipsAutocompleteMenu {
	background: rgb( var(--theme-area_background_reset) );
	box-shadow: var(--popup--boxShadow);
	border-radius: 3px;
	/*width: 300px;*/
	z-index: 10000;
	position: absolute;
}

	.ipsAutocompleteMenu_itemWrapper {
		max-height: 200px;
		overflow: auto;
	}

	.ipsAutocompleteMenu_item {
		padding: 8px;
	}

		.ipsAutocompleteMenu_item[data-selected] {
			background: rgb( var(--theme-selected) );
			cursor: pointer;
		}

/* ======================================================== */
/* SIDE MENUS */
.ipsSideMenu_mainTitle {
	display: none;
	margin: 0;
}

.ipsSideMenu_title,
.ipsSideMenu_subTitle {
	text-transform: uppercase;
	font-weight: bold;
	margin: 0;
	padding: 8px 10px 4px;
	color: rgb( var(--theme-text_dark) );
	font-size: inherit;
}

	.ipsSideMenu_titleExtra {
		text-transform: none;
		font-weight: normal;
		font-size: {fontsize="x_small"};
	}

.ipsSideMenu_subTitle {
	margin: 5px 0 0;
	padding: 8px 10px;
	font-size: {fontsize="small"};
}
	.ipsSideMenu_subTitle:not(:first-child) {
		margin: 25px 0 0;
	}

.ipsSideMenu_item {}

	.ipsSideMenu_item a, 
	a.ipsSideMenu_item,
	span.ipsSideMenu_item {
		display: block;
		padding: 8px 10px;
		position: relative;
		margin-bottom: 2px;
		color: inherit;
		cursor: pointer;
		border-radius: 5px;
	}
	
		.ipsSideMenu_item .fa:first-child {
			width: 30px;
			text-align: center;
			font-size: 16px;
			vertical-align: middle;
		}

		.ipsSideMenu_small .ipsSideMenu_item {
			padding: 5px 10px;
		}

		.ipsSideMenu_item:not( .ipsSideMenu_itemActive ) a:hover, 
		a.ipsSideMenu_item:not( .ipsSideMenu_itemActive ):hover,
		span.ipsSideMenu_item:not( .ipsSideMenu_itemActive ):hover {
			background: rgba( var(--theme-area_background), 0.5 );
		}

		.ipsSideMenu_item .ipsBadge {
			position: relative;
		}

		html[dir="ltr"] .ipsSideMenu_withChecks .ipsSideMenu_item a,
		html[dir="ltr"] .ipsSideMenu_withChecks a.ipsSideMenu_item,
		html[dir="ltr"] .ipsSideMenu_withChecks span.ipsSideMenu_item,
		html[dir="ltr"] .ipsSideMenu_withRadios .ipsSideMenu_item a,
		html[dir="ltr"] .ipsSideMenu_withRadios a.ipsSideMenu_item,
		html[dir="ltr"] .ipsSideMenu_withRadios span.ipsSideMenu_item {
			padding-left: 28px;
		}

		html[dir="rtl"] .ipsSideMenu_withChecks .ipsSideMenu_item a,
		html[dir="rtl"] .ipsSideMenu_withChecks a.ipsSideMenu_item,
		html[dir="rtl"] .ipsSideMenu_withChecks span.ipsSideMenu_item,
		html[dir="rtl"] .ipsSideMenu_withRadios .ipsSideMenu_item a,
		html[dir="rtl"] .ipsSideMenu_withRadios a.ipsSideMenu_item,
		html[dir="rtl"] .ipsSideMenu_withRadios span.ipsSideMenu_item {
			padding-right: 28px;
		}

		.ipsJS_has .ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"],
		.ipsJS_has .ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"] {
			display: none;
		}

		.ipsSideMenu_withChecks .ipsSideMenu_item a:after, 
		.ipsSideMenu_withChecks a.ipsSideMenu_item:after,
		.ipsSideMenu_withChecks span.ipsSideMenu_item:after,
		.ipsSideMenu_withRadios .ipsSideMenu_item a:after, 
		.ipsSideMenu_withRadios a.ipsSideMenu_item:after,
		.ipsSideMenu_withRadios span.ipsSideMenu_item:after {
			content: '\f10c';
			font-family: 'FontAwesome';
			width: 20px;
			height: 20px;
			position: absolute;
			top: 50%;
			margin-top: -10px;
			color: rgba( var(--theme-text_color), 0.2 );
		}
		html[dir="ltr"] .ipsSideMenu_withChecks .ipsSideMenu_item a:after,
		html[dir="ltr"] .ipsSideMenu_withChecks a.ipsSideMenu_item:after,
		html[dir="ltr"] .ipsSideMenu_withChecks span.ipsSideMenu_item:after,
		html[dir="ltr"] .ipsSideMenu_withRadios .ipsSideMenu_item a:after,
		html[dir="ltr"] .ipsSideMenu_withRadios a.ipsSideMenu_item:after,
		html[dir="ltr"] .ipsSideMenu_withRadios span.ipsSideMenu_item:after {
			left: 8px;
		}
		html[dir="rtl"] .ipsSideMenu_withChecks .ipsSideMenu_item a:after,
		html[dir="rtl"] .ipsSideMenu_withChecks a.ipsSideMenu_item:after,
		html[dir="rtl"] .ipsSideMenu_withChecks span.ipsSideMenu_item:after,
		html[dir="rtl"] .ipsSideMenu_withRadios .ipsSideMenu_item a:after,
		html[dir="rtl"] .ipsSideMenu_withRadios a.ipsSideMenu_item:after,
		html[dir="rtl"] .ipsSideMenu_withRadios span.ipsSideMenu_item:after {
			right: 8px;
		}

			.ipsSideMenu_withChecks .ipsSideMenu_item a:after, 
			.ipsSideMenu_withChecks a.ipsSideMenu_item:after,
			.ipsSideMenu_withChecks span.ipsSideMenu_item:after {
				content: '\f096';
				font-family: 'FontAwesome';
			}

.ipsSideMenu_list {
	margin: 0 0 5px 0;
	padding: 0;
	list-style: none;
}

.ipsSideMenu_list + .ipsSideMenu_title {
	margin-top: 20px;
	padding-top: 25px;
	border-top: 1px solid rgba( var(--theme-text_color), 0.2 );
}

.ipsSideMenu_itemActive a, 
a.ipsSideMenu_itemActive,
span.ipsSideMenu_itemActive,
.ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"]:checked ~ a,
.ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"]:checked ~ span,
.ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"]:checked ~ a,
.ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"]:checked ~ span {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
}

	.ipsSideMenu_withChecks .ipsSideMenu_itemActive a:after, 
	.ipsSideMenu_withChecks a.ipsSideMenu_itemActive:after,
	.ipsSideMenu_withChecks span.ipsSideMenu_itemActive:after,
	.ipsSideMenu_withRadios .ipsSideMenu_itemActive a:after, 
	.ipsSideMenu_withRadios a.ipsSideMenu_itemActive:after,
	.ipsSideMenu_withRadios span.ipsSideMenu_itemActive:after,
	.ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"]:checked ~ a:after,
	.ipsSideMenu_withChecks .ipsSideMenu_item > input[type="checkbox"]:checked ~ span:not(.ipsSideMenu_noCheck):after,
	.ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"]:checked ~ a:after,
	.ipsSideMenu_withRadios .ipsSideMenu_item > input[type="radio"]:checked ~ span:not(.ipsSideMenu_noCheck):after {
		content: '\f00c';
		font-family: 'FontAwesome';
		color: inherit;
	}

.ipsSideMenu_itemDisabled a, 
a.ipsSideMenu_itemDisabled,
span.ipsSideMenu_itemDisabled {
	opacity: 0.45;
	color: rgba( var(--theme-text_color), 0.6 );
	cursor: default;
}

/* Sub lists */
html[dir="ltr"] .ipsSideMenu_item + .ipsSideMenu_list {
	margin: 0 0 10px 15px;
	border-left: 1px solid rgba( var(--theme-text_color), 0.3 );
}
html[dir="rtl"] .ipsSideMenu_item + .ipsSideMenu_list {
	margin: 0 15px 10px 0;
	border-right: 1px solid rgba( var(--theme-text_color), 0.3 );
}

	.ipsSideMenu_item + .ipsSideMenu_list .ipsSideMenu_item {
		padding: 1px 10px;
		margin: 0;
		font-size: {fontsize="x_small"};

	}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="messages.css">/* Messages: to give the user information, warnings etc. */
/* ======================================================== */
/* BASE */
.ipsMessage,
.ipsAnnouncement {
	border-radius: var(--radius-1);
	position: relative;
	margin-bottom: var(--sp-3);
	color: #fff;
	border: 1px solid rgba(0,0,0,0.1);
	box-shadow: inset rgba(255,255,255,0.1) 0px 1px 0px;
}
html[dir=&quot;ltr&quot;] .ipsMessage {
	padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-9);
}
html[dir=&quot;rtl&quot;] .ipsMessage {
	padding: var(--sp-4) var(--sp-9) var(--sp-4) var(--sp-4);
}

	.ipsMessage:before {
		font-family: 'FontAwesome';
		position: absolute;
		top: var(--sp-4);
		font-size: 20px;
		line-height: 1;
	}
	html[dir=&quot;ltr&quot;] .ipsMessage:before {
		left: var(--sp-4);
	}
	html[dir=&quot;rtl&quot;] .ipsMessage:before {
		right: var(--sp-4);
	}

	.ipsMessage:not(.cAnnouncementPageTop):not(.cAnnouncementSidebar):not(.cAnnouncementContentTop) a:not(.ipsUserPhoto):not(.ipsButton) {
		border-bottom: 1px solid {hextorgb=&quot;#fff&quot; opacity=&quot;0.6&quot;};
	}

		.ipsMessage a:not(.ipsUserPhoto):not(.ipsButton){
			color: inherit;
		}

	.ipsMessage_title {
		margin: 0;
		padding: 0;
		font-size: {fontsize=&quot;base&quot;};
		line-height: 1;
		margin-bottom: var(--sp-1);
	}
	
	.ipsMessage a.ipsButton {
		margin-top: -5px;
	}

html[dir] .ipsMessage .ipsButton_link {
	border-color: currentColor;
	color: #fff;
	opacity: 0.7;
}
	
/* Styles a code displayed in some messages */
.ipsMessage_code {
	padding: 7px;
	display: inline-block;
	background: rgba(0,0,0,0.2);
	border-radius: 3px;
	margin-top: -7px;
	color: rgba(255,255,255,0.8);
}
html[dir=&quot;rtl&quot;] .ipsMessage_code {
	float: left;
	margin-right: -7px;
}
html[dir=&quot;rtl&quot;] .ipsMessage_code {
	float: left;
	margin-left: -7px;
}

/* ======================================================== */
/* ERROR */
.ipsMessage_error {
	background: var(--negative-dark);
}

	.ipsMessage_error:before {
		content: '\f06a';
	}

/* ======================================================== */
/* SUCCESS */
.ipsMessage_success {
	background: var(--positive-dark);
}

	.ipsMessage_success:before {
		content: '\f00c';
	}

/* ======================================================== */
/* WARNING */
.ipsMessage_warning {
	background: var(--intermediate-dark);
}

	.ipsMessage_warning:before {
		content: '\f071';
	}
	
	.ipsMessage a.ipsMessage_close {
		border-bottom: none;
	}

/* ======================================================== */
/* INFO */
.ipsMessage_info, .ipsMessage_information {
	background: var(--informational-dark);
}

	.ipsMessage_info:before, .ipsMessage_information:before {
		content: '\f05a';
	}

/* ======================================================== */
/* OTHER */
.ipsMessage_general {
	background: var(--general-dark);
}

	.ipsMessage_general:before {
		content: '\f05a';
	}

.ipsMessage_none {
	background: rgb( var(--theme-area_background_dark) );
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="misc.css"><![CDATA[/* Miscellanious styles */
{{$breakpoints = array('' => '', '979px' => 'md\:', '767px' => 'sm\:' );}}

/* ======================================================== */
/* BOX STYLES */
.ipsBox,
#ipsLayout_mainArea > .ipsForm[action$='do=edit'] > .ipsForm {
	box-shadow: var(--box--boxShadow);
	border-radius: var(--box--radius);
	background-color: var(--box--backgroundColor);
}

.ipsBox_alt {
	/* Not used on the default theme, but available for themers to emulate ipsBox all over the place */
}

.ipsBox--child{
	box-shadow: 0px 0px 0px 1px rgba( var(--theme-text_light), 0.2 ), var(--box--boxShadow);
}

.ipsRadius{ border-radius: var(--box--radius); }
.ipsRadius\:tl{	border-top-left-radius: var(--box--radius); }
.ipsRadius\:tr{ border-top-right-radius: var(--box--radius); }
.ipsRadius\:br{ border-bottom-right-radius: var(--box--radius); }
.ipsRadius\:bl{ border-bottom-left-radius: var(--box--radius); }
.ipsRadius\:full { border-radius: 9000px; }

/* ======================================================== */
/* DIMENSIONS */
{{foreach $breakpoints as $mq => $prefix}}
	{{if !empty($mq)}}
	@media (max-width: {$mq}) {
	{{endif}}
	{{foreach range(1, 8) as $size}}
		.{$prefix}ipsDimension\:{$size} { width: var(--size-{$size}); height: var(--size-{$size}); }
		.{$prefix}ipsDimension_width\:{$size} { width: var(--size-{$size}); }
		.{$prefix}ipsDimension_height\:{$size} { height: var(--size-{$size}); }
		.{$prefix}ipsDimension_minWidth\:{$size} { min-width: var(--size-{$size}); }
		.{$prefix}ipsDimension_minHeight\:{$size} { min-height: var(--size-{$size}); }
	{{endforeach}}
	{{if !empty($mq)}}
	}
	{{endif}}
{{endforeach}}

/* ======================================================== */
/* PAGE HEADER AREA*/
.ipsPageHeader {
	position: relative;
	margin-bottom: 10px;
}
	
	.ipsPageHeader h1 {
		display: inline-block;
	}

		.ipsType_pageTitle + .ipsType_richText{
			margin-top: .5em;
		}

	.ipsPageHeader .ipsPageHeader_info, .ipsPageHeader_info p:first-child {
		margin: 5px 0;
	}

	.ipsPageHeader .ipsFollow {
		margin-top: 0;
	}

	html[dir="ltr"] .ipsPageHeader--hasFeatureColor {
		border-width: 0;
		border-left-style: solid;
		border-left-width: 6px;
	}
	html[dir="rtl"] .ipsPageHeader--hasFeatureColor {
		border-width: 0;
		border-right-style: solid;
		border-right-width: 6px;
	}

/* ======================================================== */
/* JS STUFF */
/* Used when JS is disabled and element set to show when JS enabled */
.ipsJS_none .ipsJS_show {
	display: none;
}

.ipsJS_has .ipsJS_hide {
	display: none;
}

/* ======================================================== */
/* MISC COLORS */
.ipsAreaBackground {
	background: rgb( var(--theme-area_background) );
}

.ipsAreaBackground_light {
	background: rgb( var(--theme-area_background_light) );
}

.ipsAreaBackground_reset {
	background: rgb( var(--theme-area_background_reset) );
}

.ipsAreaBackground_dark {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
}

	.ipsAreaBackground_dark a {
		color: inherit;
	}

.ipsAreaBackground_positive {
	background: var(--positive-dark);
	color: var(--positive-light);
}

.ipsAreaBackground_negative {
	background: var(--negative-dark);
	color: var(--negative-light);
}
	
	.ipsAreaBackground_positive .ipsType_sectionHead,
	.ipsAreaBackground_positive .ipsType_sectionTitle,
	.ipsAreaBackground_negative .ipsType_sectionHead,
	.ipsAreaBackground_negative .ipsType_sectionTitle {
		color: inherit;
	}

/* ======================================================== */
/* USER PHOTOS */
.ipsUserPhoto {
	background: rgb( var(--theme-area_background_reset) );
	vertical-align: middle;
	display: inline-block;
	line-height: 1px;
	position: relative;
	margin: 2px;
	{{if theme.rounded_photos}}
		border-radius: 500px;
	{{else}}
		border-radius: 2px;
	{{endif}}
}

	.ipsUserPhoto img{
		border-radius: inherit;
		width: 100%;
		height: 100%;
		vertical-align: top;
		object-fit: cover;
	}

	.ipsUserPhoto::after {
		content: '';
		display: none;
		position: absolute;
	}

	.ipsUserPhoto_tinier {
		width: 24px;
		height: 24px;
	}

	.ipsUserPhoto_tiny {
		width: 34px;
		height: 34px;
	}

	.ipsUserPhoto_mini {
		width: 44px;
		height: 44px;
	}

	.ipsUserPhoto_small {
		width: 54px;
		height: 54px;
	}

	.ipsUserPhoto_medium {
		width: 75px;
		height: 75px;
	}

	.ipsUserPhoto_large {
		width: 90px;
		height: 90px;
	}
	
	.ipsUserPhoto_xlarge {
		width: 120px;
		height: 120px;
	}

	.ipsUserPhoto_outlined {
		border: var(--photo-outline-width) solid rgb(var(--theme-area_background_reset));
	}

		.ipsUserPhoto_outlined\:thin { --photo-outline-width: 1px; }
		.ipsUserPhoto_outlined\:medium { --photo-outline-width: 3px; }
		.ipsUserPhoto_outlined\:thick { --photo-outline-width: 5px; }

/* ======================================================== */
/* PHOTO PANELS */
/* Photo panels are used to show a user photo on the left, with content aligned next to it */
.ipsPhotoPanel > .ipsUserPhoto {
	float: left;
	margin: 0;
	line-height: 0;
}
html[dir="rtl"] .ipsPhotoPanel > .ipsUserPhoto {
	float: right;
}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_tiny > div {
		margin-left: 45px;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_tiny > div {
		margin-right: 45px;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_mini > div {
		margin-left: 55px;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_mini > div {
		margin-right: 55px;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_small > div {
		margin-left: 70px;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_small > div {
		margin-right: 70px;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_medium > div {
		margin-left: 90px;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_medium > div {
		margin-right: 90px;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_large > div {
		margin-left: 105px;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_large > div {
		margin-right: 105px;
	}

	.ipsPhotoPanel .ipsType_sectionHead {
		line-height: 1.3;
	}

/* ======================================================== */
/* IMAGES & THUMBNAILS */
.ipsImage {
	max-width: 100%; /* makes them responsive */
	height: auto;
}

.ipsImage[data-src]:not([data-loaded]) {
	background: rgb( var(--theme-area_background_light) );
	min-width: 50px; /* requires a minimum size for intersectionobserver to see it */
	height: 1px;
}

.ipsImage[data-src][data-loading] {
	animation: dummy_anim 1s infinite;
}

.ipsEmoji[data-src][data-loading] {
	animation: dummy_anim 1s infinite;
	border-radius: 4px;
}

/* A resized image */
.ipsThumb {
	border: 1px solid rgb( var(--theme-area_background) );
}

.ipsThumb_embed {
	margin: 5px auto;
}
	
	span.ipsThumb, a.ipsThumb {
		display: block;
	}

	.ipsThumb_bg {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-color: rgb( var(--theme-area_background) );
	}

		.ipsThumb_bg img {
			display: none;
		}

			/* Awkward solution, but this allows lazy loading to work with ipsThumb_bg sized elements (.ipsThumb_bg.ipsThumb_large, etc) if no background-image is assigned */
			.ipsThumb_bg:not([style*='background']) img{
				display: block;
				width: 100%;
				height: 100%;
				object-fit: cover;
			}

		.ipsThumb_bg.ipsThumb_embed {
			width: 400px;
			height: 400px;
		}
		
			.ipsThumb_bg.ipsThumb_embed.ipsThumb_embed_fullWidth {
				width: 98%;
				height: 400px;
			}

	.ipsThumb_large {
		max-width: 175px;
		max-height: 175px;
	}

		.ipsThumb_bg.ipsThumb_large {
			width: 175px;
			height: 175px;
		}

	.ipsThumb_medium {
		max-width: 125px;
		max-height: 125px;
	}

		.ipsThumb_bg.ipsThumb_medium {
			width: 125px;
			height: 125px;
		}

	.ipsThumb_small {
		max-width: 75px;
		max-height: 75px;
	}

		.ipsThumb_bg.ipsThumb_small {
			width: 75px;
			height: 75px;
		}

	.ipsThumb_tiny {
		max-width: 40px;
		max-height: 40px;
	}

		.ipsThumb_bg.ipsThumb_tiny {
			width: 40px;
			height: 40px;
		}

/* A 'missing thumb' element, used where a preview isn't available */
.ipsNoThumb {
	background: rgb( var(--theme-area_background) );
	color: rgb( var(--theme-text_color) );
	text-align: center;
	position: relative;
	width: 200px;
	height: 200px;
}
	.ipsNoThumb.ipsThumb_embed {
		width: 400px;
		height: 400px;
	}

	.ipsNoThumb:after {
		content: '\f030';
		font-family: 'FontAwesome';
		font-size: 30px;
		opacity: .1;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
		right: 0;
		text-align: center;
	}

	.ipsNoThumb_video:after {
		content: '\f008';
	}

	.ipsNoThumb_product:after {
		content: '\f1b2';
	}

	.ipsNoThumb_gift:after {
		content: '\f06b';
	}


/*
	----------------
	- Image Block
	----------------
*/
.ipsImageBlock{
	color: #fff;
	display: grid;
	border-radius: var(--box--radius);
	background: hsl(0,0%,8%) linear-gradient(rgb(var(--theme-area_background_dark), .3) 0% 100%);
}

	.ipsImageBlock a{
		color: inherit;
	}

	.ipsImageBlock:has(:focus-visible){
		outline: 2px solid rgb(var(--theme-text_color));
		outline-offset: 2px;
	}

	.ipsImageBlock > *{
		grid-area: 1/-1;
		border-radius: inherit;
		position: relative;
	}

	.ipsImageBlock a,
	.ipsImageBlock button,
	.ipsImageBlock input,
	.ipsImageBlock img,
	.ipsImageBlock video{
		pointer-events: auto;
	}

	.ipsImageBlock__main{
		display: grid;
		overflow: hidden;
		isolation: isolate; /* Safari video border-radius bug */
	}

		.ipsImageBlock__main:not(:has(*))::before{
			content: '';
			grid-area: 1/-1;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 512 512'%3E%3Cpath d='M152 120c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.5-48-48-48zm295.1-88h-384C28.65 32-.01 60.65-.01 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96c.01-35.35-27.79-64-63.99-64zm16 377.3L326.3 223.4c-2.5-4.6-8.2-7.4-14.3-7.4-6.113 0-11.82 2.768-15.21 7.379l-106.6 144.1-37.09-46.1c-3.441-4.279-8.934-6.809-14.77-6.809-5.842 0-11.33 2.529-14.78 6.809l-75.52 93.81c0-.03 0 .03 0 0L47.99 96c0-8.822 7.178-16 16-16h384c8.822 0 16 7.178 16 16v313.3z'/%3E%3C/svg%3E");
			background-size: 20% auto;
			background-repeat: no-repeat;
			background-position: 50%;
			opacity: .3;
			place-self: stretch;
		}

		.ipsImageBlock__main > *{
			grid-area: 1/-1;
			max-width: 100%;
			max-height: 100%;
			min-height: 0;
			min-width: 0;
			position: relative;
			object-fit: cover;
			place-self: stretch;
		}

		.ipsImageBlock__main > span{
			display: grid;
			place-items: center;
		}

	.ipsImageBlock__header{
		align-self: start;
		pointer-events: none;
		padding: 1em;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: .3em 1em;
	}

	.ipsImageBlock__footer{
		position: relative;
		text-shadow: hsl(0,0%,0%,.1) 1px 1px 2px;
		align-self: end;
		pointer-events: none;
		padding: 1em;
		z-index: 0;
	}

		.ipsImageBlock__footer a{
			color: inherit;
		}

		.ipsImageBlock__footer a:hover{
			text-decoration: underline;
		}

		.ipsImageBlock__footer .ipsItemStatus:not( .ipsItemStatus_large ){
			color: inherit;
			margin-inline-end: .4em;
		}

		:where(.ipsImageBlock__footer > :first-child:not(:only-child)){
			font-weight: 600;
		}

		:where(.ipsImageBlock__footer > :last-child:not(:only-child)){
			opacity: .8;
			margin-top: .3em;
		}

		.ipsImageBlock__footer::before{
			content: '';
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			top: -60px;
			z-index: -1;
			border-bottom-left-radius: inherit;
			border-bottom-right-radius: inherit;
			background-image: linear-gradient(to bottom, hsl(0,0%,0%,0) 0%, hsl(0,0%,0%,0.01) 8%, hsl(0,0%,0%,0.04) 15%, hsl(0,0%,0%,0.1) 22%, hsl(0,0%,0%,0.17) 29%, hsl(0,0%,0%,0.26) 35%, hsl(0,0%,0%,0.35) 41%, hsl(0,0%,0%,0.45) 47%, hsl(0,0%,0%,0.55) 53%, hsl(0,0%,0%,0.65) 59%, hsl(0,0%,0%,0.74) 65%, hsl(0,0%,0%,0.82) 71%, hsl(0,0%,0%,0.9) 77%, hsl(0,0%,0%,0.95) 84%, hsl(0,0%,0%,0.98) 92%, hsl(0,0%,0%,1) 100%);
			opacity: .6;
		}

.ipsImageBlock__title{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Ratio */
.ipsImageBlock--ratio{
	--_ratio: 1;
}

	.ipsImageBlock--ratio .ipsImageBlock__main{
		aspect-ratio: var(--_ratio);
	}


/* Contain */
.ipsImageBlock--contain .ipsImageBlock__main > *{
	object-fit: scale-down;
}

/* Hover effect */
@media (hover: hover){
	.ipsImageBlock--hover .ipsImageBlock__footer{
		transition: opacity .15s linear;
		opacity: 0;
	}
		.ipsImageBlock--hover:hover .ipsImageBlock__footer,
		.ipsImageBlock--hover .ipsImageBlock__footer:focus-within{
			opacity: 1;
		}
}

.ipsImageBlock__nsfw{
	background-color: rgb(var(--theme-area_background_dark));
	display: grid;
	place-content: center;
	font-weight: 600;
	padding: .5em;
	text-align: center;
}

	/* Prevent right click > view image on NSFW thumbnails */
	.ipsImageBlock:has(.ipsImageBlock__nsfw) .ipsImageBlock__main{
		pointer-events: none;
	}

	.ipsImageBlock__nsfw--no-content{
		pointer-events: none;
		place-content: normal;
	}

		.ipsImageBlock__nsfw--no-content::before{
			content: '';
			grid-area: 1/-1;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23fff' d='M150.7 92.77C195 58.27 251.8 32 320 32c80.8 0 145.5 36.84 192.6 80.6 46.8 43.4 78.1 94.5 92.9 131.1 3.3 7.9 3.3 16.7 0 24.6-13.4 32.3-40.3 77.8-79.9 118.4l105.2 82.4c10.4 8.2 12.3 23.3 4.1 33.7-8.2 10.4-23.3 12.3-33.7 4.1L9.196 42.89C-1.236 34.71-3.065 19.63 5.112 9.196 13.29-1.236 28.37-3.065 38.81 5.112L150.7 92.77zm39.1 30.73 46 36c22.5-19.6 52-31.5 84.2-31.5 70.7 0 128 57.3 128 128 0 21.2-5.1 41.1-14.2 58.7l53.8 42.2c33.5-34.1 58.3-73.8 71-100.9-14.5-30.9-40.2-72.5-78.7-108.3-41.1-38.1-94.7-68.6-159.9-68.6-50.5 0-94.9 18.63-130.2 44.4zm205.1 160.7c3.3-8.8 5.1-18.3 5.1-29.1 0-43.3-35.8-80-80-80-.7 0-1.3.9-2.9.9 2.2 5.1 2.9 10.5 2.9 15.1 0 11.1-2.4 20.7-6.6 29.2l81.5 63.9zm9.4 130.3 41.9 33C409.9 467.1 367.8 480 320 480c-80.8 0-145.5-36.8-192.6-80.6-46.78-44.3-78.06-95.4-92.94-131.1a31.98 31.98 0 0 1 0-24.6c9.54-22.9 25.83-52.5 48.63-82.2l37.71 29.7c-18.7 23.3-31.04 46.4-39.35 63.9 13.57 30.9 40.15 73.4 78.65 109.2C201.2 402.4 254.8 432 320 432c30.7 0 58.8-6.6 84.3-17.5zM192 255.1c0-2 .1-4.8.3-7.6l56.1 44.2c10.5 21.1 30.1 36.9 53.6 41.4l56.2 45.1c-12.1 2.9-24.9 5.8-39.1 5.8-69.8 0-128-57.3-128-128.9h.9z'/%3E%3C/svg%3E");
			background-size: 40% auto;
			background-repeat: no-repeat;
			background-position: 50%;
			opacity: .6;
		}

	@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
		.ipsImageBlock__nsfw{
			background-color: rgba(var(--theme-area_background_dark), .85);
			-webkit-backdrop-filter: blur(20px);
			backdrop-filter: blur(20px);
		}
	}

	.ipsImageBlock__nsfw button{
		-webkit-appearance: none;
		appearance: none;
		border-width: 0;
		background: rgb(255,255,255,.1);
		color: inherit;
		font: inherit;
		cursor: pointer;
		border-radius: 5px;
		padding: .5em 1.2em;
		margin-top: 1em;
	}

		.ipsImageBlock__nsfw button:hover{
			background: rgb(255,255,255,.15);
		}

.ipsImageBlock:has(.ipsImageBlock__nsfw) .ipsImageBlock__header,
.ipsImageBlock:has(.ipsImageBlock__nsfw) .ipsImageBlock__footer{
	display: none;
}

/* Simplify the NSFW overlay on small screens when used in the masonry layout */
@media (max-width: 767px){
	.iGalleryMasonry .ipsImageBlock__nsfw{
		pointer-events: none;
		align-content: normal;
		justify-content: normal;
	}
	.iGalleryMasonry .ipsImageBlock__nsfw *{
		display: none;
	}
	.iGalleryMasonry .ipsImageBlock__nsfw::before{
		content: '';
		grid-area: 1/-1;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23fff' d='M150.7 92.77C195 58.27 251.8 32 320 32c80.8 0 145.5 36.84 192.6 80.6 46.8 43.4 78.1 94.5 92.9 131.1 3.3 7.9 3.3 16.7 0 24.6-13.4 32.3-40.3 77.8-79.9 118.4l105.2 82.4c10.4 8.2 12.3 23.3 4.1 33.7-8.2 10.4-23.3 12.3-33.7 4.1L9.196 42.89C-1.236 34.71-3.065 19.63 5.112 9.196 13.29-1.236 28.37-3.065 38.81 5.112L150.7 92.77zm39.1 30.73 46 36c22.5-19.6 52-31.5 84.2-31.5 70.7 0 128 57.3 128 128 0 21.2-5.1 41.1-14.2 58.7l53.8 42.2c33.5-34.1 58.3-73.8 71-100.9-14.5-30.9-40.2-72.5-78.7-108.3-41.1-38.1-94.7-68.6-159.9-68.6-50.5 0-94.9 18.63-130.2 44.4zm205.1 160.7c3.3-8.8 5.1-18.3 5.1-29.1 0-43.3-35.8-80-80-80-.7 0-1.3.9-2.9.9 2.2 5.1 2.9 10.5 2.9 15.1 0 11.1-2.4 20.7-6.6 29.2l81.5 63.9zm9.4 130.3 41.9 33C409.9 467.1 367.8 480 320 480c-80.8 0-145.5-36.8-192.6-80.6-46.78-44.3-78.06-95.4-92.94-131.1a31.98 31.98 0 0 1 0-24.6c9.54-22.9 25.83-52.5 48.63-82.2l37.71 29.7c-18.7 23.3-31.04 46.4-39.35 63.9 13.57 30.9 40.15 73.4 78.65 109.2C201.2 402.4 254.8 432 320 432c30.7 0 58.8-6.6 84.3-17.5zM192 255.1c0-2 .1-4.8.3-7.6l56.1 44.2c10.5 21.1 30.1 36.9 53.6 41.4l56.2 45.1c-12.1 2.9-24.9 5.8-39.1 5.8-69.8 0-128-57.3-128-128.9h.9z'/%3E%3C/svg%3E");
		background-size: 40% auto;
		background-repeat: no-repeat;
		background-position: 50%;
		opacity: .6;
	}
}

.ipsImageBlock__video-icon{
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	filter: drop-shadow(rgba(0,0,0,.2) 0px 1px 2px);
	opacity: .8;
}

	.ipsImageBlock__video-icon::before{
		content: '';
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M188.3 147.1c7.5-4.3 16.8-5 24.2.4l144 88c7.1 4.4 11.5 12.1 11.5 20.5s-4.4 16.1-11.5 20.5l-144 88c-7.4 4.5-16.7 4.7-24.2.4-7.6-4.2-12.3-12.2-12.3-20.9V167.1c0-7.8 4.7-15.8 12.3-20zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256 114.6 0 256 0s256 114.6 256 256zM256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z' fill='%23fff'/%3E%3C/svg%3E");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: 50%;
		width: clamp(20px, 40%, 50px);
		height: 100%;
	}


/* ======================================================== */
/* HORIZONTAL RULE */
hr.ipsHr {
	margin: 15px 0;
	height: 0;
	padding: 0;
	border: 1px solid rgba( var(--theme-text_color), 0.08 );
	border-width: 1px 0 0 0;
}
	
	.ipsAreaBackground_dark hr.ipsHr {
		border-color: rgba(255,255,255,0.1);
	}

	hr.ipsHr.ipsHr_thick {
		border-width: 10px 0 0 0;
		border-color: rgb( var(--theme-area_background_dark) );
	}

	hr.ipsHr.ipsHr_small {
		margin: 7px 0;
	}

/* ====================================================================== */
/* BORDERS - with !important since these should be treated as 'constants' */
.ipsBorder\:none { border: 0 !important; }
.ipsBorder { border: var(--border-1px) !important; }
.ipsBorder_top, .ipsBorder_vertical { border-top: var(--border-1px) !important; }
.ipsBorder_bottom, .ipsBorder_vertical { border-bottom: var(--border-1px) !important; }
.ipsBorder_left, .ipsBorder_horizontal { border-left: var(--border-1px) !important; }
.ipsBorder_right, .ipsBorder_horizontal { border-right: var(--border-1px) !important; }


{{if theme.responsive}}
@media (max-width: 979px){
	.md\:ipsBorder\:none { border: 0 !important; }
	.md\:ipsBorder { border: var(--border-1px) !important; }
	.md\:ipsBorder_top, .md\:ipsBorder_vertical { border-top: var(--border-1px) !important; }
	.md\:ipsBorder_bottom, .md\:ipsBorder_vertical { border-bottom: var(--border-1px) !important; }
	.md\:ipsBorder_left, .md\:ipsBorder_horizontal { border-left: var(--border-1px) !important; }
	.md\:ipsBorder_right, .md\:ipsBorder_horizontal { border-right: var(--border-1px) !important; }
}
@media (max-width: 767px){
	.sm\:ipsBorder\:none { border: 0 !important; }
	.sm\:ipsBorder { border: var(--border-1px) !important; }
	.sm\:ipsBorder_top, .sm\:ipsBorder_vertical { border-top: var(--border-1px) !important; }
	.sm\:ipsBorder_bottom, .sm\:ipsBorder_vertical { border-bottom: var(--border-1px) !important; }
	.sm\:ipsBorder_left, .sm\:ipsBorder_horizontal { border-left: var(--border-1px) !important; }
	.sm\:ipsBorder_right, .sm\:ipsBorder_horizontal { border-right: var(--border-1px) !important; }
}
{{endif}}

/* ======================================================== */
/* OUTLINES */
/* Outline applies what looks like a border but is actually a dropshadow, and importantly - honors image transparency */
.ipsOutline {
	--outline-border-width: 1px;
	--outline-border-color: rgb( var(--theme-area_background_reset ) );
}

.ipsOutline\:1px { --outline-border-width: 1px; }
.ipsOutline\:2px { --outline-border-width: 2px; }

.ipsOutline {
	filter:	drop-shadow( var(--outline-border-width) 0 0 var(--outline-border-color ) )
			drop-shadow( 0 var(--outline-border-width) 0 var(--outline-border-color ) )
			drop-shadow( calc( var(--outline-border-width) * -1 ) 0 0 var(--outline-border-color ) )
			drop-shadow( 0 calc( var(--outline-border-width) * -1 ) 0 var(--outline-border-color ) );
}

/* ======================================================== */
/* LOADING THROBBERS */
@keyframes spinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(359deg); }
}

.ipsLoading {
	position: relative;
}

.icon-spinner2:before,
.ipsLoading:before {
	content: '';
	border-radius: 50%;
	width: 1em;
	height: 1em;
	border: calc(2px + .03em) solid rgba( var(--theme-text_color), 0.1 );
	border-top-color: rgb( var(--theme-text_color) );
	box-sizing: border-box;
}

.icon-spinner2:before {
	display: inline-block;
}

.ipsLoading:before {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -.5em;
	margin-left: -.5em;
	font-size: 50px;
}

.ipsLoading_iconMessage {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	margin-top: 35px;
}

/* If the progress spinner has a message, reposition the loading icon to allow space for the message */
.ipsLoading[data-loading-text]::before{
	top: calc(50% - 14px);
	transition: all 0.3s ease-in-out;
}

	/* Otherwise reset it to it's centered position */
	.ipsLoading[data-loading-text=""]::before{
		top: 50%;
	}

	/* Display the spinner loading text as a pseudo element */
	.ipsLoading[data-loading-text]::after{
		content: attr(data-loading-text);
		position: absolute;
		top: calc(50% + 23px);
		left: 0; width: 100%;
		opacity: 1;
		transform: translateY(0);
		transition: all 0.3s ease-in-out;
	}

		/* Hide the text if no message is needed */
		.ipsLoading[data-loading-text=""]::after{
			opacity: 0;
			transform: translateY(9px);
		}

.ipsLoading:not( .ipsLoading_noAnim ):before,
.icon-spinner2:before {
	animation: spinner 0.65s infinite linear;
}

.ipsLoading.ipsLoading_small:before {
	font-size: 24px;
}

.ipsLoading.ipsLoading_tiny:before {
	font-size: 16px;
}

.ipsLoading.ipsLoading_dark:before {
	border-color: rgba(255,255,255,0.1);
	border-top-color: #fff;
}

/* Tiny spinner used in an <i> tag */
.ipsLoading_tinyIcon {
	width: 1em;
	height: 1em;
	font-size: 16px;
	display: inline-block;
}

/* ======================================================== */
/* POSITIONING, CLEARING, HIDING */
.ipsPad, .ipsApp ul.ipsPad, .ipsApp ol.ipsPad { padding: var(--sp-5); }
.ipsPad_double, .ipsApp ul.ipsPad_double, .ipsApp ol.ipsPad_double { padding: var(--sp-8); }
.ipsPad_half, .ipsApp ul.ipsPad_half, .ipsApp ol.ipsPad_half { padding: var(--sp-3); }

/* Generate normal/double/half padding for each side */
/* !important is used on these styles since they are constants and should never be overridden with specificity */
{{$paddingSizes = array('\:none' => '0', '' => 'var(--sp-5)', '\:half' => 'var(--sp-3)', '\:double' => 'var(--sp-8)' );}}

{{foreach $breakpoints as $mq => $prefix}}
{{if !empty($mq)}}
@media (max-width: {$mq}) {
{{endif}}
{{foreach $paddingSizes as $modifier => $size}}
	.{$prefix}ipsPadding{$modifier} { padding: {$size} !important; }
	.{$prefix}ipsPadding_vertical{$modifier}, .{$prefix}ipsPadding_top{$modifier} { padding-top: {$size} !important; }
	.{$prefix}ipsPadding_vertical{$modifier}, .{$prefix}ipsPadding_bottom{$modifier} { padding-bottom: {$size} !important; }
	.{$prefix}ipsPadding_horizontal{$modifier}, html[dir="ltr"] .{$prefix}ipsPadding_left{$modifier}, html[dir="rtl"] .{$prefix}ipsPadding_right{$modifier} { padding-left: {$size} !important; }
	.{$prefix}ipsPadding_horizontal{$modifier}, html[dir="ltr"] .{$prefix}ipsPadding_right{$modifier}, html[dir="rtl"] .{$prefix}ipsPadding_left{$modifier} { padding-right: {$size} !important; }
{{endforeach}}
{{if !empty($mq)}}
}
{{endif}}
{{endforeach}}

.ipsPos_left, html[dir="rtl"] .ipsPos_right { float: left; }
.ipsPos_right, html[dir="rtl"] .ipsPos_left { float: right; }
.ipsPos_none { float: none; }
.ipsPos_center { margin: 0 auto; }
.ipsPos_middle { vertical-align: middle; }
.ipsPos_top { vertical-align: top; }
.ipsPos_sticky, .lg\:ipsPos_sticky { position: sticky !important; top: 0; z-index: 1; }
.ipsPos_relative { position: relative; }

{{if theme.responsive}}
	@media (max-width: 979px){
		.md\:ipsPos_left, html[dir="rtl"] .md\:ipsPos_right { float: left; }
		.md\:ipsPos_right, html[dir="rtl"] .md\:ipsPos_left { float: right; }
		html[dir] .md\:ipsPos_none { float: none; }
		.md\:ipsPos_center { margin: 0 auto; }
		.md\:ipsPos_middle { vertical-align: middle; }
		.md\:ipsPos_top { vertical-align: top; }
		.md\:ipsPos_sticky { position: sticky !important; top: 0; z-index: 1; }
		.md\:ipsPos_relative { position: relative; }
	}

	@media (max-width: 767px){
		.sm\:ipsPos_left, html[dir="rtl"] .sm\:ipsPos_right { float: left; }
		.sm\:ipsPos_right, html[dir="rtl"] .sm\:ipsPos_left { float: right; }
		html[dir] .sm\:ipsPos_none { float: none; }
		.sm\:ipsPos_center { margin: 0 auto; }
		.sm\:ipsPos_middle { vertical-align: middle; }
		.sm\:ipsPos_top { vertical-align: top; }
		.sm\:ipsPos_sticky { position: sticky !important; top: 0; z-index: 1; }
		.sm\:ipsPos_relative { position: relative; }
	}
{{endif}}

/* Add padding to edit forms */
#ipsLayout_mainArea > .ipsForm[action$='do=edit'] > .ipsForm{
	padding: var(--sp-6);
}

.ipsClear {	clear: both; }

{{if theme.responsive}}
	@media (max-width: 979px){
		.md\:ipsClear {
			clear: both;
		}
	}
	@media (max-width: 767px){
		.sm\:ipsClear {
			clear: both;
		}
	}
{{endif}}

.ipsClearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.ipsOverflow {
	width: 100%;
	overflow: auto;
}

.ipsApp .ipsHide { 
	display: none;
}

.ipsApp .ipsBlock {
	display: block;
}

.ipsFaded {
	opacity: 0.4;
}
	
	.ipsFaded_unavailable {
		pointer-events: none;
	}
	
	.ipsFaded.ipsFaded_more {
		opacity: 0.25;
	}

	.ipsFaded_withHover {
		transition: 0.2s all linear;
	}

	.ipsFaded_withHover:hover, .ipsFaded_withHover:hover .ipsFaded, .ipsFaded.ipsFaded_cancel {
		opacity: 1;
	}

/* ======================================================== */
/* LISTS */
.ipsList_inline,
.ipsList_reset,
.ipsList_icons {
	margin: 0;
	padding: 0;
	list-style: none;
}

html[dir="ltr"] .ipsList_leftAlign {
	padding-left: 20px;
}
html[dir="rtl"] .ipsList_leftAlign {
	padding-right: 20px;
}

.ipsList_inline > li {
	display: inline-block;
	vertical-align: middle;
}
html[dir="ltr"] .ipsList_inline > li {
	margin-right: 15px;
}
html[dir="rtl"] .ipsList_inline > li {
	margin-left: 15px;
}

	html[dir="ltr"] .ipsList_inline > li:last-child,
	html[dir="ltr"] .ipsList_inline.ipsList_noSpacing > li {
		margin-right: 0;
	}
	html[dir="rtl"] .ipsList_inline > li:last-child,
	html[dir="rtl"] .ipsList_inline.ipsList_noSpacing > li {
		margin-left: 0;
	}

	html[dir="ltr"] .ipsList_inline.ipsList_noSpacing_left > li {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsList_inline.ipsList_noSpacing_left > li {
		margin-right: 0;
	}
	
	html[dir="ltr"] .ipsList_inline > li.ipsPos_right:not( .ipsResponsive_noFloat ) {
		margin-right: 0;
		margin-left: 15px;
	}
	html[dir="rtl"] .ipsList_inline > li.ipsPos_right:not( .ipsResponsive_noFloat ) {
		margin-left: 0;
		margin-right: 15px;
	}

.ipsList_inline.ipsList_csv li:after {
	content: ',';
}

.ipsList_inline.ipsList_csv li:last-child:after {
	content: '';
}

.ipsList_bullets {
	list-style-type: disc;
	margin: 0 0 0 26px;
	padding: 0;
}
html[dir="rtl"] .ipsList_bullets {
	margin: 0 26px 0 0;
}
.ipsList_bullets.ipsList_numbers {
	list-style-type: decimal;
}

.ipsList_icons li{
	margin-bottom: .3em;
}

.ipsList_icons .fa{
	color: rgb(var(--theme-text_light));
	min-width: 1.4em;
}

/* ======================================================== */
/* ONLINE/OFFLINE */
.ipsOnlineStatus, .ipsOnlineStatus_online {
	color: #249168;
}

.ipsOnlineStatus_anonymous {
	color: #616161;
}

.ipsOnlineStatus_offline {
	color: #c7c7c7;
}

.ipsOnlineStatus_away {
	color: #bd9e22;
}

.ipsOnlineStatus_busy {
	color: #a03223;
}

/* ======================================================== */
/* CURSORS */
.ipsCursor_locked {
	cursor: not-allowed !important;
}

.ipsCursor_drag {
	cursor: move !important;
}

.ipsCursor_default {
	cursor: default;
}

.ipsCursor_pointer {
	cursor: pointer !important;
}

.ipsCursor_help {
	cursor: help !important;
}

/* ======================================================== */
/* CONTEXTUAL TOOLS */
.ipsToolList {
	padding: 0;
	list-style: none;
	margin: 0;
}

.ipsToolList_horizontal > *{
	max-width: 100%;
}

	@media (min-width: 768px){
		[dir='ltr'] .ipsToolList_horizontal > *,
		[dir='rtl'] .ipsToolList_horizontal > .ipsPos_left{
			float: right !important;
			margin-left: var(--sp-3);
			margin-right: 0;
		}
		[dir='rtl'] .ipsToolList_horizontal > *,
		[dir='ltr'] .ipsToolList_horizontal > *.ipsPos_left{
			float: left !important;
			margin-right: var(--sp-3);
			margin-left: 0;
		}
		.ipsToolList_horizontal::after{
			content: '';
			display: block;
			clear: both;
		}
	}

	.ipsToolList_horizontal > .ipsToolList_primaryAction .ipsButton:not( .ipsButton_link ) {
		padding: 0 40px;
	}

	.ipsToolList.ipsToolList_horizontal > li.ipsPos_right {
		min-width: 150px;
	}

	.ipsToolList.ipsToolList_vertical > li:not(:last-child) {
		margin-bottom: 15px;
	}

	.ipsToolList.ipsToolList_horizontal.ipsPos_center > li {
		float: none !important;
		display: inline-block;
	}

/* ======================================================== */
/* MODERATION STYLES */
.ipsApp .ipsModerated:not(.ipsComment_selected):not(.ipsDataItem_selected) {
	background: rgb( var(--theme-moderated_light) );
	color: rgb( var(--theme-moderated_text) );
}

	.ipsApp .ipsModerated:not(.ipsComment_selected):not(.ipsDataItem_selected).ipsModerated_alternate {
		background: rgb( var(--theme-post_highlight) );
	}

	.ipsApp .ipsBox.ipsModerated {
		box-shadow: 0px 0px 0px 1px rgba( var(--theme-moderated_text), 0.8 ), 0px 0px 0px 5px rgba( var(--theme-moderated_text), 0.2 );
	}

	.ipsApp .ipsModerated:not(.ipsComment_selected):not(.ipsDataItem_selected) a:not(.ipsButton) {
		color: inherit;
	}

	.ipsApp .ipsModerated:not(.ipsComment_selected):not(.ipsDataItem_selected) .ipsType_light {
		color: rgb( var(--theme-moderated_text_light) );
	}

	/* In some situations the moderation bg is applied to a child of the box, so make sure that inherit the box radius */
	.ipsBox > .ipsModerated {
		border-radius: inherit;
	}

/* ======================================================== */
/* STEP BAR */
.ipsStepBar {
	background: rgb( var(--theme-area_background_light) );
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}

	.ipsStepBar:first-child{
		border-top-left-radius: inherit;
		border-top-right-radius: inherit;
	}

	.ipsStepBar > li {
		flex: 0 0 auto;
		position: relative;
		line-height: 1.3;
	}

		html[dir='ltr'] .ipsStepBar > li{
			margin-right: -1px;
		}

		html[dir='rtl'] .ipsStepBar > li{
			margin-left: -1px;
		}

	.ipsStepBar > .ipsStep > a,
	.ipsStepBar > .ipsStep > span {
		padding: 0 1.8em;
		height: 56px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		position: relative;
		color: rgb( var(--theme-text_color) );
		z-index: 1;
	}

	/* css Steps */
	.ipsStepBar > .ipsStep:before,
	.ipsStepBar > .ipsStep:after,
	.ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after{
		content: '';
		display: block;
		height: 50%;
		width: auto;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		border: 1px solid rgba( var(--theme-text_color), 0.1 );
		border-width: 0 1px 0 1px;
		transform-origin: 0% 50%;
		transform: skewX(30deg);
		pointer-events: none;
	}
		
		/* Bottom half */
		.ipsStepBar > .ipsStep:after,
		.ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after{
			transform: skewX(-30deg);
			top: auto;
			bottom: 0;
		}
		
		/* If first item is active, extend its width */
		.ipsStepBar > .ipsStep:first-child:before,
		.ipsStepBar > .ipsStep:first-child:after{
			width: calc(100% + 40px);
		}
		
			html[dir='ltr'] .ipsStepBar > .ipsStep:first-child:before,
			html[dir='ltr'] .ipsStepBar > .ipsStep:first-child:after{
				left: auto;
			}
			
			html[dir='rtl'] .ipsStepBar > .ipsStep:first-child:before,
			html[dir='rtl'] .ipsStepBar > .ipsStep:first-child:after{
				right: auto;
			}

		/* RTL */
		html[dir='rtl'] .ipsStepBar > .ipsStep:before,
		html[dir='rtl'] .ipsStepBar > .ipsStep:after,
		html[dir='rtl'] .ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after{
			transform: skewX(-30deg);
		}
		
			html[dir='rtl'] .ipsStepBar > .ipsStep:after,
			html[dir='rtl'] .ipsStepBar > .ipsStep + .ipsStep.ipsStep_active::after{
				transform: skewX(30deg);
			}

			/* Active step */
			.ipsStepBar > .ipsStep.ipsStep_active::before,
			.ipsStepBar > .ipsStep.ipsStep_active::after{
				background: rgb( var(--theme-area_background_dark) );
			}

			/* Active */
			.ipsStepBar > .ipsStep.ipsStep_active > a,
			.ipsStepBar > .ipsStep.ipsStep_active > span {
				color: #fff;
			}

.ipsStep_desc {
	font-size: {fontsize="x_small"};
	margin-top: .2em;
	opacity: .7;
}

.ipsPageHead_special {
	border-radius: var(--radius-1) var(--radius-1) 0px 0px;
	padding: 15px;
	color: #fff;
	position: relative;
	background-color: rgb( var(--theme-profile_header) );
}

	
	.ipsPageHead_barText,
	.ipsPageHead_barText_small {
		display: inline-block;
		background: rgba(0,0,0,0.6);
		line-height: 1;
		padding: 7px 10px;
		font-weight: 300;
	}
		.ipsPageHead_barText_small a{
			color: #fff !important;
		}

		.ipsPageHead_barText_small {
			padding: 3px 10px;
		}

	.ipsPageHead_special .ipsType_pageTitle {
		color: inherit;
	}

		.ipsPageHead_special .ipsType_pageTitle a{
			color: inherit !important;
		}

	.ipsPageHead_special .ipsType_pageTitle input {
		color: #000;
	}
	
/* ======================================================== */
/* COMMENT & NOTIFICATION INDICATORS */
.ipsCommentCount {
	padding: 0 var(--sp-2);
	border-radius: 50px;
	min-width: var(--sp-7);
	line-height: var(--sp-7);
	display: inline-block;
	background: rgb( var(--theme-comment_count) );
	border-color: rgb( var(--theme-comment_count) );
	display: inline-block;
	font-size: {fontsize="x_small"};
	text-transform: uppercase;
	position: relative;
	text-align: center;
	color: rgb( var(--theme-comment_count_font) );
	margin-bottom: 3px;
}
html[dir="ltr"] .ipsCommentCount {
	margin-left: 10px;
}
html[dir="rtl"] .ipsCommentCount {
	margin-right: 10px;
}

	.ipsCommentCount strong {
		font-size: {fontsize="medium"};
		display: block;
		font-weight: normal;
	}

	.ipsCommentCount_hot {
		background: rgb( var(--theme-featured) );
		border-color: rgb( var(--theme-featured) );
		color: #fff;
	}

	.ipsSideMenu_item a .ipsCommentCount {
		margin-top: -4px;
	}

	.ipsDataItem_selected .ipsCommentCount {
		background: rgb( var(--theme-area_background_reset) );
	}

.ipsApp .ipsNotificationCount {
	position: absolute;
	top: -10px;
	font-size: 11px;
	color: #fff;
	display: inline-block;
	text-indent: 0%;
	line-height: 18px;
	padding: 0 6px;
	border-radius: 8px;
	z-index: 2;
	background: rgb( var(--theme-notification_bubble) );
}
html[dir="ltr"] .ipsApp .ipsNotificationCount {
	right: -10px;
}
html[dir="rtl"] .ipsApp .ipsNotificationCount {
	left: -10px;
}

	.ipsJS_has .ipsNotificationCount[data-role="autoCheckCount"] {
		display: none;
	}
	
	.ipsApp .ipsNotificationCount.ipsHide {
		display: none;
	}

/* ======================================================== */
/* CHARTS */
.ipsChart {
	border-width: 0 4px 4px 4px;
	border-style: solid;
	border-color: #ebebeb;
}

	.ipsChart .ipsChart_chart {
		overflow: hidden;
	}

	.ipsChart .ipsButtonRow li > a:not( .ipsButtonRow_active ) {
		background: #fff;
		color: #6f6f6f;
	}

	.ipsChart .ipsType_sectionHead:not( .ipsChart_withDescription ) {
		margin-bottom: 15px;
	}

/* ======================================================== */
/* ACCESSIBILITY STUFF */
#ipsAccessibility_border {
	width: 0;
	height: 300px;
}
html[dir="ltr"] #ipsAccessibility_border {
	border-left: 3px solid #d91f4b;
}
html[dir="rtl"] #ipsAccessibility_border {
	border-right: 3px solid #d91f4b;
}

#ipsAccessibility_arrow {
	width: 0;
	height: 0;
	border-width: 10px;
	border-style: solid;
	border-color: transparent transparent transparent red;
}

/* ======================================================== */
/* STICKY ELEMENTS */
/* Used in conjunction with the sticky widget to make elements stay on screen */
.ipsSticky {
	background: rgb( var(--theme-area_background_light) );
}

	.ipsSticky.ipsSticky_bottom:before,
	.ipsSticky.ipsSticky_top:before {
		content: '';
		display: block;
		position: absolute;
		height: 6px;
		left: 0;
		right: 0;
		pointer-events: none;
	}

	.ipsSticky.ipsSticky_top {
		border-bottom: 1px solid rgba( var(--theme-text_color), 0.1 );
	}
	.ipsSticky.ipsSticky_top:before {
		top: 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0.075) 0%,rgba(0,0,0,0) 100%);
	}

	.ipsSticky.ipsSticky_bottom:before {
		bottom: 100%;
	}

	.ipsSticky.ipsSticky_noFade:before {
		display: none;
	}

/* ======================================================== */
/* CUSTOM SCROLLBARS (webkit only for now) */
.ipsScrollbar::-webkit-scrollbar { 
	width: 8px;
	height: 8px;
}

.ipsScrollbar::-webkit-scrollbar-thumb { 
	background-color: rgba(0,0,0,0.4);
	border-radius: 3px;
}
	.ipsScrollbar.ipsScrollbar_light::-webkit-scrollbar-thumb { 
		background-color: rgba(255,255,255,0.4);
		border-radius: 3px;
	}

.ipsScrollbar::-webkit-scrollbar-track-piece { 
	background-color: rgba(0,0,0,0.05);
}

	.ipsScrollbar.ipsScrollbar_light::-webkit-scrollbar-track-piece { 
		background-color: rgba(255,255,255,0.05);
	}

/* ======================================================== */
/* MULTIQUOTE ELEMENT */
#ipsMultiQuoter {
	position: fixed;
	bottom: 20px;
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	padding: 15px;
	border-radius: var(--radius-2);
	z-index: 6000;
	box-shadow: var(--dialog--boxShadow);
}
html[dir="ltr"] #ipsMultiQuoter {
	right: 20px;
}
html[dir="rtl"] #ipsMultiQuoter {
	left: 20px;
}

	#ipsMultiQuoter a {
		color: inherit;
	}

/* ======================================================== */
/* EMPTINESS */
.ipsEmpty {
	padding: 30px 0 0;
	font-size: {fontsize="x_large"};
	color: rgb( var(--theme-text_light) );
}

.ipsEmpty i {
	font-size: 120px;
	margin-bottom: 15px;
}

/* ======================================================== */
/* CALENDAR DATES */
.ipsCalendarDate {
	width: 40px;
	display: block;
	border: 1px solid rgba( var(--theme-text_color), 0.2 );
	background: rgb( var(--theme-area_background_light) );
	padding: 4px 0;
	border-radius: 3px;
	overflow: hidden;
}
	
	.ipsWidget .ipsCalendarDate {
		background: rgb( var(--theme-area_background_reset) );
	}
	
	.ipsCalendarDate > span {
		display: block;
		text-align: center;
	}

	.ipsCalendarDate_month {
		color: #a93848;
		text-transform: uppercase;
		font-size: {fontsize="10"};
		line-height: 1;
		font-weight: bold;
	}

	.ipsCalendarDate_date {
		font-size: {fontsize="x_large"};
		line-height: 1;
	}

	.ipsCalendarDate.ipsCalendarDate_large {
		width: 80px;
	}

	.ipsCalendarDate.ipsCalendarDate_large .ipsCalendarDate_month {
		font-size: {fontsize="x_large"};
		font-weight: 500;
	}

	.ipsCalendarDate.ipsCalendarDate_large .ipsCalendarDate_date {
		font-size: {fontsize="40"};
		line-height: 1.05;
		font-weight: 300;
	}

	.ipsWidget_vertical .ipsColumn--ipsCalendarDate{
		width: 70px;
	}

		.ipsWidget_vertical .ipsColumn--ipsCalendarDate .ipsCalendarDate{
			width: 50px;
		}

		.ipsWidget_vertical .ipsColumn--ipsCalendarDate .ipsCalendarDate_month{
			font-size: 13px;
		}

		.ipsWidget_vertical .ipsColumn--ipsCalendarDate .ipsCalendarDate_date{
			font-size: 20px;
		}

/* ======================================================== */
/* CAROUSELS */
.ipsCarousel {
	position: relative;
}
	.ipsCarousel .ipsCarousel_inner {
		overflow: hidden;
		position: relative;
	}
		.ipsCarousel .ipsCarousel_inner::-webkit-scrollbar {
			display: none;
		}

	html[dir="ltr"] .ipsCarousel:not( [data-ipsCarousel-fullSizeItems] ) .ipsCarousel_item {
		margin-right: 15px;
	}
	html[dir="rtl"] .ipsCarousel:not( [data-ipsCarousel-fullSizeItems] ) .ipsCarousel_item {
		margin-left: 15px;
	}

		html[dir="ltr"] .ipsCarousel .ipsCarousel_item:last-child {
			margin-right: 0;
		}
		html[dir="rtl"] .ipsCarousel .ipsCarousel_item:last-child {
			margin-left: 0;
		}

	.ipsCarousel .ipsCarousel_nav {
		position: absolute;
		top: 50%;
		margin-top: -20px;
		background: rgb( var(--theme-area_background_reset) );
		color: rgb( var(--theme-text_dark) );
		width: 30px;
		height: 50px;
		text-align: center;
		line-height: 50px;
		font-size: 18px;
		box-shadow: 0px 2px 1px rgba(0,0,0,0.1);
		opacity: 0.4;
		z-index: 10;
	}

		html[dir="ltr"] .ipsCarousel .ipsCarousel_nav[data-action='prev'] {
			left: 0;
		}
		html[dir="ltr"] .ipsCarousel .ipsCarousel_nav[data-action='next'] {
			right: 0;
		}
		html[dir="rtl"] .ipsCarousel .ipsCarousel_nav[data-action='prev'] {
			right: 0;
		}
		html[dir="rtl"] .ipsCarousel .ipsCarousel_nav[data-action='next'] {
			left: 0;
		}

		.ipsCarousel:hover .ipsCarousel_nav {
			opacity: 1;
		}

	.ipsCarousel .ipsCarousel_inner > [data-role="carouselItems"] {
		padding: 0;
		margin: 0;
		list-style: none;
		white-space: nowrap;
		position: absolute;
		transition: transform .2s ease-in-out;
		display: flex;
	}

	.ipsCarousel_item {
		flex-shrink: 0;
		max-width: var(--carousel-maxWidth, 100%);
	}

		.ipsCarousel_item img {
			max-width: 100%;
		}

	.ipsCarousel_shadow {
		position: absolute;
		top: 0;
		bottom: 0;
		width: 20px;
		display: block;
		pointer-events: none;
	}

		html[dir="ltr"] .ipsCarousel_shadowLeft,
		html[dir="rtl"] .ipsCarousel_shadowRight {
			left: 0;
			background: linear-gradient(to right, rgba(0,0,0,0.25) 0%,rgba(0,0,0,0.04) 76%,rgba(0,0,0,0) 100%);
		}
		html[dir="ltr"] .ipsCarousel_shadowRight,
		html[dir="rtl"] .ipsCarousel_shadowLeft {
			right: 0;
			background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.04) 24%,rgba(0,0,0,0.25) 100%);
		}

	.ipsJS_none .ipsCarousel {
		min-height: 200px;
	}

	.ipsJS_none .ipsCarousel .ipsCarousel_nav,
	.ipsJS_none .ipsCarousel_shadow {
		display: none;
	}

/* ======================================================== */
/* PROGRESS BAR */
@keyframes progress-bar-stripes {
	from { background-position: 40px 0; }
	to { background-position: 0 0; }
}

.ipsProgressBar {
	width: 50%;
	margin: auto;
	height: 26px;
	overflow: hidden;
	background: rgb( var(--theme-area_background) );
	background-image: linear-gradient(to bottom, rgba( var(--theme-brand_primary), 0.1 ), rgba( var(--theme-brand_primary), 0.1 ));
	border-radius: 4px;
}
	
	.ipsProgressBar.ipsProgressBar_small {
		height: 18px;
	}

		.ipsProgressBar.ipsProgressBar_small .ipsProgressBar_progress {
			line-height: 18px;
			font-size: 10px;
		}

	.ipsProgressBar.ipsProgressBar_fullWidth {
		width: 100%;
	}

	.ipsProgressBar.ipsProgressBar_animated .ipsProgressBar_progress {
		background-color: rgb( var(--theme-brand_primary) );
		background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
		background-size: 40px 40px;
		animation: progress-bar-stripes 2s linear infinite;
	}

.ipsProgressBar_progress {
	display: flex;
	align-items: center;
	width: 0;
	height: 100%;
	font-size: 12px;
	color: #ffffff;
	text-align: right;
	background: rgb( var(--theme-brand_primary) );
	position: relative;
	white-space: nowrap;
	line-height: 26px;
	text-indent: 6px;
    padding-right: 2px;
}

html[dir="rtl"] .ipsProgressBar_progress {
	float: right;
}
	
	.ipsProgressBar_warning .ipsProgressBar_progress {
		background: #c05454;
	}

	html[dir="ltr"] .ipsProgressBar > span:first-child {
		padding-left: 7px;
	}
	html[dir="rtl"] .ipsProgressBar > span:first-child {
		padding-right: 7px;
	}

	.ipsProgressBar_progress[data-progress]:after {
		top: 0;
		color: #fff;
		content: attr(data-progress);
		display: block;
	}
	html[dir="ltr"] .ipsProgressBar_progress[data-progress]:after {
		right: 5px;
	}
	html[dir="rtl"] .ipsProgressBar_progress[data-progress]:after {
		left: 5px;
	}

	.ipsProgressBar_progress.ipsProgressBar_indeterminate {
		width: 100%;
		text-align: center;
	}
/* ======================================================== */
/* COVER PHOTOS */
.ipsCoverPhoto,
.ipsCoverPhoto .ipsFlex {
	position: relative;
}
	
	.ipsCoverPhoto .ipsType_pageTitle {
		font-weight: 300;
	}

	.ipsCoverPhoto_container {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		overflow: hidden;
		text-align: left;
		border-radius: inherit;
	}

		.ipsCoverPhoto_container:after {
			position: absolute;
			height: 50%;
			left: 0;
			bottom: 0;
			right: 0;
			display: block;
			content: '';
			pointer-events: none;
		}

	.ipsCoverPhoto_photo {
		width: 100%;
		opacity: 0.0001;
	}

	.ipsCoverPhoto_container [data-role="coverPhotoControls"] {
		position: absolute;
		top: 10px;
	}
	html[dir="ltr"] .ipsCoverPhoto_container [data-role="coverPhotoControls"] {
		right: 10px;
	}
	html[dir="rtl"] .ipsCoverPhoto_container [data-role="coverPhotoControls"] {
		left: 10px;
	}

	.ipsCoverPhoto_button {
		position: absolute;
		top: 10px;
	}
	html[dir="ltr"] .ipsCoverPhoto_button {
		right: 10px;
	}
	html[dir="rtl"] .ipsCoverPhoto_button {
		left: 10px;
	}
	
/* ======================================================== */
/* PRINTING */

.ipsPrint {
	margin-left: 50px;
	margin-right: 50px;
	-webkit-print-color-adjust: exact;
}

.ipsPrint table {
	width: 100%;
	padding: 5px;
}

.ipsPrint th {
	background: #000;
	color: #FFF;
	padding: 5px;
	text-align: left;
	border: 2px solid #000;
}

.ipsPrint tbody td {
	padding: 5px;
	border: 2px solid #000;
}

.ipsPrint tfoot td {
	padding: 5px;
	text-align: right;
}

.ipsPrint tfoot td:last-child {
	padding: 5px;
	text-align: left;
}

.ipsPrint_doubleHeight {
	height: 50px;
}

.ipsPrint_tripleHeight {
	height: 75px;
}

/* ======================================================== */
/* MAPS */

.ipsMap {
	width: 100%;
	height: 500px;
	background: rgb( var(--theme-area_background_light) );
}

.ipsMap_small {
	height: 200px;
}

/* ======================================================== */
/* Profile Progress bar */

.ipsProgressBar_close {
	position: absolute;
	top: 0;
	display: block;
	color: #000;
	width: 44px;
	height: 44px;
	line-height: 48px;
	font-size: 34px;
	font-weight: 300;
	text-align: center;
	z-index: 1000;
	transition: 0.2s all linear;
}
	html[dir="ltr"] .ipsProgressBar_close {
		right: 0;
	}
	html[dir="rtl"] .ipsProgressBar_close {
		left: 0;
	}
	
/* ======================================================== */
/* Widgets */

.cActiveUserEditor {
	font-style: italic;
}

.cInviteButton {
	padding-left: 6px !important;
	padding-right: 6px !important;
}


/* ======================================================== */
/* Pixabay */

.ipsPixabayImage{
	width: 100%;
	height: auto;
	cursor: pointer;
}

.ipsPixabay_content {
	max-width: 100%;
	height: 600px;
	max-height: calc(100vh - 260px);
	overflow: auto;
	padding: 10px;
}

.ipsPixabay_content .ipsLoading{
	margin-top: 150px;
}

.ipsPixabay_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ipsPixabay_thumb {
	min-width: 0;
	flex: 1 1 26%;
	background: rgb( var(--theme-area_background) );
	margin: 4px;
	position: relative;
}

	.ipsPixabay_thumb:hover img{
		opacity: .9;
	}

/* Establish ratio */
@supports (object-fit: contain){
	.ipsPixabay_thumb::before{
		content: '';
		display: block;
		padding-bottom: 66.66%;
	}

	.ipsPixabayImage{
		position: absolute;
		top: 0; left: 0;
		height: 100%;
		object-fit: contain;
		object-position: 50% 50%;
	}
}

a.ipsPixabay_attribution {
	color: rgba(255,255,255,0.8);
	position: absolute;
	left: 50%;
	bottom: -50px;
	transform: translateX(-50%);
}
	.ipsPixabay_attribution svg{
		width: 110px;
		height: 30px;
		fill: currentColor;
		display: block;
	}
	
.ipsPixabay_moar {
	margin: 10px auto 6px auto;
	text-align: center;
}


/* ======================================================== */
/* Caterpillar lists */

.ipsCaterpillar{
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
}

	.ipsCaterpillar__item {
		flex: 0 0 auto;
		display: flex;
	}

		.ipsCaterpillar__item > *{
			flex: 0 0 auto;
		}

	[dir="ltr"] .ipsCaterpillar > .ipsCaterpillar__item + .ipsCaterpillar__item {
		margin-left: -6px;
	}
	[dir="rtl"] .ipsCaterpillar > .ipsCaterpillar__item + .ipsCaterpillar__item {
		margin-right: -6px;
	}
	
.ipsCaterpillar--photos .ipsUserPhoto{
	border: 2px solid rgb(var(--theme-area_background_reset));
}

	[dir="ltr"] .ipsCaterpillar--photos > .ipsCaterpillar__item + .ipsCaterpillar__item {
		margin-left: -12px;
	}
	[dir="rtl"] .ipsCaterpillar--photos > .ipsCaterpillar__item + .ipsCaterpillar__item {
		margin-right: -12px;
	}

/* ======================================================== */
/* Censor Block */

div[data-role="editorCensorBlockMessage"] {
	max-height: 300px;
	overflow-y: auto;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="navigation.css"><![CDATA[/* MAIN NAVIGATION - Primary and secondary nav bars */

#ipsLayout_header nav {
	background: rgb( var(--theme-main_nav) );
	position: relative;
}

.ipsNavBar_primary > ul,
.ipsNavBar_secondary {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.ipsNavBar_primary > ul{
		min-width: 0;
		flex: 1 1 auto;
	}

	.ipsNavBar_primary > ul > li,
	.ipsNavBar_secondary > li {
		display: inline-block;
	}

		html[dir="ltr"] .ipsNavBar_primary > ul > li,
		html[dir="ltr"] .ipsNavBar_secondary > li {
			float: left;
		}

		html[dir="rtl"] .ipsNavBar_primary > ul > li,
		html[dir="rtl"] .ipsNavBar_secondary > li {
			float: right;
		}

	.ipsNavBar_secondary > li {
		position: relative;
	}

		.ipsNavBar_secondary > li .ipsNotificationCount {
			top: 3px;
		}

.ipsNavBar_primary > ul > li > a,
.ipsNavBar_secondary > li > a {
	display: block;
	position: relative;
	text-align: center;
	text-decoration: none;
}

/* Primary Navigation level */
.ipsNavBar_primary {
	position: relative;
	margin-bottom: var(--secondary-navigation--height);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
	.ipsLayout_minimalNoHome .ipsNavBar_primary {
		display: none;
	}
	
	.ipsNavBar_primary.ipsNavBar_noSubBars {
		margin-bottom: 0;
	}

	.ipsNavBar_primary > ul > li > a {
		font-size: {fontsize="small"};
		color: rgba( var(--theme-main_nav_font), 0.7 );
		padding: 0px 18px;
		line-height: var(--primary-navigation--height);
	}

		html[dir="ltr"] .ipsNavBar_primary > ul > li > a .ipsNotificationCount {
			top: -2px;
			right: 2px;
		}
		html[dir="rtl"] .ipsNavBar_primary > ul > li > a .ipsNotificationCount {
			top: -2px;
			left: 2px;
		}

	.ipsNavBar_primary > ul > li > a:hover,
	.ipsNavBar_primary > ul > li.ipsNavBar_active > a {
		color: rgb( var(--theme-main_nav_font) );
	}

		/* Active identifier */
		.ipsNavBar_active__identifier{
			display: none;
			position: absolute;
			pointer-events: none;
			border: 6px solid transparent;
			border-bottom-color: rgb( var(--theme-main_nav_tab) );
			bottom: 0;
			left: 50%;
			transform: translateX(-50%);
		}

			.ipsNavBar_noSubBars .ipsNavBar_active__identifier{
				border-bottom-color: rgb( var(--theme-page_background) );
			}

			.ipsNavBar_active .ipsNavBar_active__identifier{
				display: block;
			}

			.ipsNavBar_secondary .ipsNavBar_active__identifier{
				display: none !important;
			}

	.ipsNavBar_primary > ul > li > a[data-navdefault] {
		font-weight: 600;
	}

	.ipsNavBar_primary > ul > li.ipsNavBar_active > .ipsNavBar_secondary,
	.ipsJS_none .ipsNavBar_primary > ul > li > a:hover + .ipsNavBar_secondary {
		display: block;
	}

/* Secondary navigation level */
#ipsLayout_header nav::after{
	height: var(--secondary-navigation--height);
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgb( var(--theme-main_nav_tab) );
	box-shadow: rgba(0,0,0,0.1) 0px 1px 2px;
}

	/* Reduce the secondary nav height when there are no sublinks */
	#ipsLayout_header nav.ipsNavBar_noSubBars::after,
	.ipsLayout_minimal #ipsLayout_header nav::after{
		display: none;
	}

.ipsNavBar_secondary {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	display: none;
}

	.ipsNavBar_secondary > li > a {
		color: rgba( var(--theme-main_nav_tab_font), 0.6 );
		font-size: {fontsize="small"};
		padding: 0px 18px;
		line-height: var(--secondary-navigation--height);
		float: left;
	}

		.ipsNavBar_secondary > li > a:hover {
			color: rgb( var(--theme-main_nav_tab_font) );
		}

		.ipsNavBar_secondary > li.ipsNavBar_active a {
			font-weight: bold;
			color: rgb( var(--theme-main_nav_tab_font) );
		}

.ipsNavBar_primary .ipsMenu:not( #elSearchFilter_menu ),
.ipsNavBar_secondary .ipsMenu {
	margin-top: -3px;
}

/* HAMBURGER ICON */
.ipsMobileHamburger{
	font-size: 24px;
}

	.ipsMobileHamburger > li{
		position: relative;
	}

	.ipsApp .ipsMobileHamburger .ipsNotificationCount{
		top: -3px;
	}

	.ipsMobileHamburger a{
		color: inherit;
	}

/* BREADCRUMBS */
.ipsBreadcrumb{
	font-size: {fontsize="small"};
	font-weight: 500;
	padding: 1.3em 0;
	color: rgb( var(--theme-text_light));
	display: flex;
	align-items: center;
}
.ipsBreadcrumb_top{
	margin-bottom: 1em;
}
.ipsBreadcrumb_bottom {
	margin-top: 1em;
}

	.ipsBreadcrumb > ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
		align-items: center;
		flex: 0 0 auto;
	}

		.ipsBreadcrumb .fa:not( .fa-home ) {
			margin: 0 .5em;
			opacity: .6;
		}

		.ipsBreadcrumb a {
			color: inherit;
			text-decoration: none;
		}

			.ipsBreadcrumb a:hover{
				color: rgb(var(--theme-text_color));
			}

		.ipsBreadcrumb [data-role="breadcrumbList"]{
			flex: 1 1 100%;
			order: -1;
			white-space: nowrap;
			overflow: hidden;
			margin-inline-end: 2em;
			flex-wrap: wrap;
		}

		.ipsBreadcrumb [data-role="breadcrumbList"] li:not(:last-child) a{
			display: block;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.ipsBreadcrumb [data-role="breadcrumbList"] > li:not(:first-child):last-child {
			opacity: 0.7;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.ipsBreadcrumb #elRSS{
			order: 1;
		}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="normalize.css">/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type=&quot;button&quot;], /* 1 */
[type=&quot;reset&quot;],
[type=&quot;submit&quot;] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=&quot;button&quot;]::-moz-focus-inner,
[type=&quot;reset&quot;]::-moz-focus-inner,
[type=&quot;submit&quot;]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=&quot;button&quot;]:-moz-focusring,
[type=&quot;reset&quot;]:-moz-focusring,
[type=&quot;submit&quot;]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type=&quot;checkbox&quot;],
[type=&quot;radio&quot;] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type=&quot;number&quot;]::-webkit-inner-spin-button,
[type=&quot;number&quot;]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type=&quot;search&quot;] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type=&quot;search&quot;]::-webkit-search-cancel-button,
[type=&quot;search&quot;]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="pagination.css"><![CDATA[/* Pagination control */
/* ======================================================== */
.ipsPagination {
	padding: 0;
	margin: 0;
	display: inline-flex;
	line-height: 26px;
	font-weight: 600;
	font-size: {fontsize="x_small"};
	-webkit-font-smoothing: antialiased;
	color: rgb( var(--theme-text_dark) );
}

	[dir="ltr"] .ipsPagination:not(.ipsPagination_mini) > li{
		margin-right: 2px;
	}

	[dir="rtl"] .ipsPagination:not(.ipsPagination_mini) > li{
		margin-left: 2px;
	}

	.ipsPagination > li, .ipsPagination a {
		display: block;
		text-decoration: none;
	}

	.ipsPagination:not( .ipsPagination_mini ) a{
		color: inherit;
		position: relative;
	}

		.ipsPagination a::before{
			content: '';
			position: absolute; top: 0; left: 0; right: 0; bottom: 0;
			border-radius: inherit;
			opacity: 0;
			background: currentColor;
		}

			.ipsPagination a:hover::before{
				opacity: .06;
			}

	.ipsPagination:not( .ipsPagination_mini ) a {
		padding: 0 10px;
		border-radius: var(--radius-1);
		text-align: center;
	}

	.ipsPagination_prev,
	.ipsPagination_next{
		text-transform: uppercase;
	}

		.ipsPagination .ipsPagination_page.ipsPagination_active a {
			background: rgb( var(--theme-pagination_active) );
			color: #fff;
		}

	.ipsPagination:hover a {
		opacity: 1;
	}

	.ipsPagination .ipsPagination_pageJump {
		color: rgb( var(--theme-text_light) );
		font-weight: normal;
		margin: 0 15px;
	}

		.ipsPagination .ipsPagination_pageJump a{
			display: inline-block;
			vertical-align: top;
		}

	.ipsPagination li:not( .ipsPagination_pageJump ):not( .ipsPagination_mini ) .fa {
		font-size: 14px;
		position: relative;
		top: 1px;
	}

	.ipsPagination > li.ipsPagination_inactive {
		display: none;
	}

/* ======================================================== */
/* Mini pagination control, used inline in tables */
.ipsPagination.ipsPagination_mini {
	line-height: 20px;
	opacity: 0.2;
	transition: all 0.3s linear;
}
html[dir="ltr"] .ipsPagination.ipsPagination_mini,
html[dir="ltr"] .ipsPagination.ipsPagination_mini > * {
	margin: 0 0 0 5px;
}
html[dir="rtl"] .ipsPagination.ipsPagination_mini,
html[dir="rtl"] .ipsPagination.ipsPagination_mini > * {
	margin: 0 5px 0 0;
}
	
	.ipsPagination.ipsPagination_mini:hover,
	.ipsDataItem:hover .ipsPagination_mini {
		opacity: 1;
	}

	.ipsPagination.ipsPagination_mini a {
		padding: 0 8px;
		border-radius: var(--radius-1);
		position: relative;
	}

		.ipsPagination.ipsPagination_mini a::before{
			opacity: .15;
		}

/* ======================================================== */
/* PAGER CONTROL */
/* Used to indicate the user can go backwards or forwards to other pages */
.ipsPager{
	display: flex;
	align-items: center;
	color: rgb( var(--theme-text_color) );
}

	.ipsPager_prev,
	.ipsPager_next{
		flex: 1 1 25%;
	}

	.ipsPager_center{
		flex: 1 1 50%;
		text-align: center;
	}

	.ipsPager_next a,
	.ipsPager_prev a{
		color: inherit;
	}

		.ipsPager_next a:hover,
		.ipsPager_prev a:hover{
			color: rgb( var(--theme-text_dark) );
		}

	[dir='ltr'] .ipsPager_next{
		text-align: right;
	}

	[dir='rtl'] .ipsPager_next {
		text-align: left;
	}

.ipsPager_next a,
.ipsPager_prev a {
	display: inline-block;
	position: relative;
	padding: 15px 1.8em;
	width: 100%;
	max-width: 350px;
}

	.ipsPager_next a:after,
	.ipsPager_prev a:after {
		content: '\f105';
		font-family: 'FontAwesome';
		font-size: 2em;
		position: absolute;
		line-height: 1;
		top: 50%;
		transform: translateY(-50%);
		transition: all 0.2s linear;
	}

	html[dir="ltr"] .ipsPager_next a:after,
	html[dir="rtl"] .ipsPager_prev a:after {
		right: 0;
	}

	html[dir="ltr"] .ipsPager_prev a:after,
	html[dir="rtl"] .ipsPager_next a:after {
		content: '\f104';
		left: 0;
	}

.ipsPager_type {
	font-size: {fontsize="small"};
}

.ipsPager_title,
.ipsPager_type {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	white-space: nowrap;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="popup.css"><![CDATA[/* Popups: various widgets that have popup windows. Dialogs, tooltips, hovercards, etc. */

/* ======================================================== */
/* Modal element - used to block out the screen under popup controls */
.ipsModal {
	background: rgba( var(--theme-area_background_dark), 0.7 );
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 15000;
}

/* ======================================================== */
/* DIALOG WINDOWS */
.ipsDialog {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 20000;
	padding-bottom: 15px;
}

	.ipsDialog.ipsDialog_fixed {
		position: fixed;
	}

	.ipsDialog > div {
		display: block;
		width: 90%;
		max-width: 1200px;
		background: rgb( var(--theme-area_background_reset) );
		margin: 3% auto 0 auto;
		box-shadow: var(--dialog--boxShadow);
		position: relative;
		border-radius: var(--radius-2);
	}

		.ipsDialog.ipsDialog_fixed > div {
			height: 90%;
			max-height: 90%;	
		}

	.ipsDialog .ipsDialog_loading {
		background-color: rgb( var(--theme-area_background_reset) );
		height: 200px;
	}

	/* Sizes */
	.ipsDialog.ipsDialog_narrow > div {
		max-width: 500px;
	}

	.ipsDialog.ipsDialog_medium > div {
		max-width: 850px;
	}

	.ipsDialog.ipsDialog_wide > div {
		max-width: 1000px;
	}

	.ipsDialog.ipsDialog_fullscreen > div {
		position: absolute;
		top: 10px;
		right: 10px;
		bottom: 10px;
		left: 10px;
		max-width: 100%;
		max-height: 100%;
		width: auto;
		height: auto;
		margin: 0;
	}

	/* Dialog elements */
	.ipsDialog_close {
		position: absolute;
		top: 3px;
		display: block;
		color: rgb( var(--theme-text_dark) ) !important;
		width: 44px;
		height: 44px;
		line-height: 48px;
		font-size: 34px;
		font-weight: 300;
		text-align: center;
		z-index: 1000;
		transition: 0.2s all linear;
	}
	html[dir="ltr"] .ipsDialog_close {
		right: 4px;
	}
	html[dir="rtl"] .ipsDialog_close {
		left: 4px;
	}

	.ipsDialog_title {
		color: rgb( var(--theme-text_dark) );
		font-size: {fontsize="x_large"};
		font-weight: bold;
		text-align: left;
		line-height: 1.3;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		margin: 0;
		padding: var(--sp-4) var(--sp-4) 0 var(--sp-4);
	}
	html[dir="rtl"] .ipsDialog_title {
		text-align: right;
	}
		
		.ipsDialog_title ~ .ipsHr {
			margin: 12px 15px 0 15px;
		}

	.ipsDialog_fixed .ipsDialog_content {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		position: absolute;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-box-align: stretch;
		-webkit-box-flex: 1;
		-webkit-overflow-scrolling: touch;
		overflow: auto;
	}

		.ipsDialog_fixed .ipsDialog_title ~ .ipsDialog_content {
			top: 56px;
		}

	.ipsDialog_footer {
		position: fixed;
		bottom: 60px;
		left: 0;
		right: 0;
	}

/* ======================================================== */
/* HOVERCARD */
.ipsHovercard {
	background: rgb( var(--theme-area_background_reset) );
	box-shadow: var(--popup--boxShadow);
	border: var(--popup--border);
	background-clip: padding-box;
	border-radius: var(--popup--radius);
	position: relative;
}
	
	.ipsHovercard > div {
		width: 100%;
		height: 100%;
	}

	/* Hovercard stem */
	.ipsHovercard:not( .ipsHovercard_noStem ) .ipsHovercard_stem {
		color: rgb( var(--theme-area_background_reset) );
		border-color: inherit;
		display: block;
		position: absolute;
		width: 2em;
		height: 2em;
		font-size: 10px;
		pointer-events: none !important;
	}

		.ipsHovercard_stem::before,
		.ipsHovercard_stem::after {
			content: '';
			display: block;
			position: absolute;
			width: 0;
			height: 0;
			border: 1em solid transparent;
		}

	.ipsHovercard.ipsHovercard_stemTop { margin-top: -10px; }
	.ipsHovercard.ipsHovercard_stemBottom {	margin-top: 10px; }
	.ipsHovercard.ipsHovercard_stemLeft { margin-left: -20px; }
	.ipsHovercard.ipsHovercard_stemRight { margin-left: 20px; }

	.ipsHovercard_stemLeft .ipsHovercard_stem { left: 3em; }
	.ipsHovercard_stemRight .ipsHovercard_stem { right: 3em; }

	.ipsHovercard_stemTop .ipsHovercard_stem {
		top: 100%;
	}
		.ipsHovercard_stemTop .ipsHovercard_stem::before {
			top: 1px;
			border-top-color: inherit;
		}
		.ipsHovercard_stemTop .ipsHovercard_stem::after{
			border-top-color: currentColor;
		}

	.ipsHovercard_stemBottom .ipsHovercard_stem {
		bottom: 100%;
	}
		.ipsHovercard_stemBottom .ipsHovercard_stem::before {
			bottom: 1px;
			border-bottom-color: inherit;
		}
		.ipsHovercard_stemBottom .ipsHovercard_stem::after{
			border-bottom-color: currentColor;
		}

	/* Hovercard elements */
	.ipsHovercard_loading {
		width: 30px;
		height: 30px;
		border-radius: var(--popup--radius);
		padding: 5px;
		box-shadow: 0px 5px 40px rgba(0,0,0,0.4);
		background-color: rgb( var(--theme-area_background_reset) );
		pointer-events: none;
	}

		.ipsHovercard_loading .ipsLoading_tinyIcon {
			width: 20px;
			height: 20px;
			font-size: 20px;
		}
		
		.ipsHovercard_loading:after {
			content: '';
			display: block;
			position: absolute;
			width: 0;
			height: 0;
			border-width: 5px;
			border-style: solid;
			border-color: rgb( var(--theme-area_background_reset) ) transparent transparent transparent;
			left: 50%;
			top: 100%;
		}
		html[dir="ltr"] .ipsHovercard_loading:after {
			margin-left: -5px;
		}
		html[dir="rtl"] .ipsHovercard_loading:after {
			margin-right: -5px;
		}

/* ======================================================== */
/* TOOLTIPS */
/* This is an ID because we always reuse the same element */
.ipsTooltip {
	background: #2a2a2a;
	border-color: #2a2a2a;
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	font-size: {fontsize="x_small"};
	color: #fff;
	position: absolute;
	max-width: min(500px, 90vh);
	padding: 0 8px;
	pointer-events: none;
	border-radius: var(--popup--radius);
	{prefix="user-select" value="none"}
}

	body[data-dragging] .ipsTooltip {
		display: none !important;
	}

	.ipsTooltip.ipsTooltip_top {
		margin-top: -2px;
	}

	.ipsTooltip.ipsTooltip_bottom {
		margin-top: 2px;
	}

	.ipsTooltip:after {
		content: '';
		display: block;
		position: absolute;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		left: 50%;
		margin-left: -5px;
	}

		.ipsTooltip.ipsTooltip_right:after {
			left: auto;
			right: 4px;
			margin-left: 0;
		}

		.ipsTooltip.ipsTooltip_left:after {
			left: 4px;
			margin-left: 0;
		}

	.ipsTooltip.ipsTooltip_top:after {
		border-top-color: inherit;
		bottom: -10px;
	}

	.ipsTooltip.ipsTooltip_bottom:after {
		border-bottom-color: inherit;
		top: -10px;
	}

	.ipsTooltip a {
		color: currentColor;
		border-bottom: 1px dotted currentColor;
	}
/* ======================================================== */
/* PAGE ACTIONS */
/* Page actions are used primarily for moderation, presenting a floating toolbar of actions for selected items */
.ipsPageAction {
	background: rgb(32,32,32);
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: var(--dialog--boxShadow);
	position: fixed;
	left: 50%;
	bottom: 10px;
	border-radius: 40px;
	padding: 0 var(--sp-4);
	z-index: 2000;
	color: #cdcdcd;
}

	.ipsPageAction > ul[data-role='actionItems'] > li {
		padding: 8px 12px;
		margin: 0;
		float: left;
		border-right: 1px solid rgba(0,0,0,0.3);
		min-width: 58px;
		line-height: var(--sp-7);
		text-align: center;
	}
	html[dir="rtl"] .ipsPageAction > ul[data-role='actionItems'] > li {
		float: right;
	}

	.ipsPageAction > ul > li.ipsPageAction_active {
		background: #000;
	}

		.ipsPageAction > ul > li.ipsPageAction_active .ipsPageAction_icon {
			color: #fff;
		}

	.ipsPageAction .ipsPageAction_icon {
		display: inline-block;
		min-width: 26px;
		line-height: 32px;
		color: #d9d9d9;
		font-size: 26px;
		text-shadow: 0px 1px 2px #000;
		border-radius: 2px;
		vertical-align: middle;
		text-align: center;
	}

	.ipsPageAction [data-role="actionMenu"]:hover, .ipsPageAction [data-role="actionButton"]:hover {
		cursor: pointer;
	}

	.ipsPageAction [data-role="actionMenu"]:hover .ipsPageAction_icon, .ipsPageAction [data-role="actionButton"]:hover .ipsPageAction_icon {
		color: #fff;
	}

	.ipsPageAction select {
		padding: 5px 10px;
	}

/* ======================================================== */
/* ALERT BOXES */
/* Gives the user choices, like OK, Cancel etc. Replaces the ugly javascript alert() */
.ipsAlert {
	background: rgb( var(--theme-area_background_reset) );
	padding: var(--sp-5);
	width: 480px;
	position: fixed;
	top: 100px;
	border-radius: var(--popup--radius);
	box-shadow: var(--dialog--boxShadow);
	left: 50%;
	margin-left: -240px;
	text-align: center;
}

.ipsAlert_icon {
	font-size: 36px;
	display: block;
	margin-bottom: var(--sp-5);
	color: rgb( var(--theme-text_light) );
}

.ipsAlert_msg {
	font-size: 16px;
	line-height: 1.25;
}

	.ipsAlert_msg > .ipsType_normal {
		margin-top: var(--sp-2);
	}

.ipsApp .ipsToolList.ipsAlert_buttonRow {
	margin-top: var(--sp-5);
	margin-bottom: 0;
}

/* ======================================================== */
/* jQuery UI Date Picker */
/* Not strictly part of our framework, but used globally */

.ui-datepicker {
	background: rgb( var(--theme-area_background_reset) );
	box-shadow: var(--popup--boxShadow);
	width: 375px;
	border-radius: var(--popup--radius);
	z-index: 10051 !important; /* override the z-index: 1 that the datepicker itself assigns */
}

.ui-datepicker-header {
	line-height: 36px;
	font-size: 14px;
	text-align: center;
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	border-bottom: 1px solid rgb( var(--theme-area_background_dark) );
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.ui-datepicker-prev, .ui-datepicker-next {
	position:absolute;
	top: 10px;
	cursor: pointer;
}

.ui-datepicker-prev:after, .ui-datepicker-next:after {
	font-family: 'FontAwesome';
	color: #fff;
	display: block;
	position: absolute;
	top: -9px;
	width: 20px;
	height: 20px;
}
html[dir="ltr"] .ui-datepicker-prev:after, .ui-datepicker-next:after {
	right: 9px;
}
html[dir="rtl"] .ui-datepicker-prev:after, .ui-datepicker-next:after {
	left: 9px;
}

html[dir="ltr"] .ui-datepicker-next {
	right: 9px;
}
html[dir="rtl"] .ui-datepicker-next {
	left: 9px;
}

	html[dir="ltr"] .ui-datepicker-next:after {
		content: '\f054';	
	}
	html[dir="rtl"] .ui-datepicker-next:after {
		content: '\f053';	
	}

html[dir="ltr"] .ui-datepicker-prev {
	left: 0px;
}
html[dir="rtl"] .ui-datepicker-prev {
	right: 0px;
}

	html[dir="ltr"] .ui-datepicker-prev:after {
		content: '\f053';
	}
	html[dir="rtl"] .ui-datepicker-prev:after {
		content: '\f054';
	}

.ui-datepicker-next span, .ui-datepicker-prev span {
	visibility: hidden;
}

.ui-datepicker table {
	width: 100%;
	margin-bottom: 5px;
}

.ui-datepicker th {
	padding: 4px 0;
	background: rgba( var(--theme-text_color), 0.15 );
}
.ui-datepicker td, .ui-datepicker th {
	text-align: center;
}

.ui-datepicker td a {
	display: block;
	width: 50px;
	height: 100%;
	padding: 5px 0px;
}

.ui-datepicker td a:hover, .ui-datepicker-current-day {
	background-color: rgba( var(--theme-text_color), 0.1 );
}

.ui-datepicker-today {
	background-color: rgba( var(--theme-text_color), 0.15 );
}

	.ui-datepicker-title select, .ui-datepicker-title option {
		color: rgb( var(--theme-text_color) );
	}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="post-content.css"><![CDATA[/* Post content styles: quotes, spoilers, other formatting */
/* We recommend you don't change these too much; users expect certain styles to look a certain way */

/* ======================================================== */
/* Fix some CKEditor styles									*/
/* ======================================================== */
.cke_source {
	/* IE collapses the source textarea; if we force a minimum here, it will be able to calculate the correct size */
	min-height: 300px !important;
	min-width: 300px !important;
}

.ipsApp .cke_inner{
	background-color: rgb( var(--theme-area_background_reset) );
}

.ipsApp .cke_wysiwyg_frame,
.ipsApp .cke_wysiwyg_div{
	background-color: rgb( var(--theme-area_background_reset) );
	color: rgb( var(--theme-text_color) );
}

.cke_wysiwyg_div {
	padding: 15px !important;
	min-height: 200px;
}

	.cke_wysiwyg_div > p:first-child {
		margin-top: 0 !important;
	}

.ipsApp .cke_widget_wrapper:hover > .cke_widget_element,
.ipsApp .cke_widget_wrapper:hover .cke_widget_editable {
	outline-width: 1px;
	outline-style: solid;
	outline-color: #8ec2ed;
}
	
	.ipsApp .cke_widget_wrapper:hover .cke_widget_editable.cke_widget_editable_focused {
		box-shadow: 0 1px 1px rgba(0,0,0,0.075), 0px 1px 9px rgba(82,168,236,0.7);
	}

.ipsMenu_item[data-mentionid] > a {
	padding: 3px 15px;
}

.cke_wysiwyg_div ul {
	list-style-type: disc;
}

	.cke_wysiwyg_div ul ul,
	.cke_wysiwyg_div ol ul {
		list-style-type: circle;
	}

		.cke_wysiwyg_div ul ul ul,
		.cke_wysiwyg_div ol ol ul,
		.cke_wysiwyg_div ol ul ul,
		.cke_wysiwyg_div ul ol ul {
			list-style-type: square;
		}

/* ======================================================== */
/* QUOTES AND SPOILERS										*/
/* ======================================================== */

pre {
	overflow: auto;
}

/* Basic box style */
.ipsQuote,
.ipsSpoiler, .ipsStyle_spoiler {
	margin: 0;
	padding: var(--sp-4);
	position: relative;
	background: rgb( var(--theme-area_background_light) );
	border-radius: var(--radius-1);
	clear: both;
	border: 4px solid rgba( var(--theme-area_background_dark),.15);
}

	[dir='ltr'] .ipsQuote,
	[dir='ltr'] .ipsSpoiler,
	[dir='ltr'] .ipsStyle_spoiler{
		border-width: 0 0 0 4px;
	}
	[dir='rtl'] .ipsQuote,
	[dir='rtl'] .ipsSpoiler,
	[dir='rtl'] .ipsStyle_spoiler{
		border-width: 0 4px 0 0;
	}

	.ipsQuote + .ipsQuote,
	.ipsSpoiler + .ipsSpoiler {
		margin-top: var(--sp-4);
	}
	
	/* Box header */
	.ipsQuote_citation,
	.ipsSpoiler_header {
		background: rgb( var(--theme-area_background) );
		margin: calc(var(--sp-4) * -1);
		margin-bottom: var(--sp-3);
		padding: var(--sp-3) var(--sp-4);
		border-top-right-radius: inherit;
		color: rgb( var(--theme-text_color) );
		font-weight: bold;
		font-size: {fontsize="small"};
		display: block;
		cursor: pointer;
	}
		[dir='rtl'] .ipsQuote_citation,
		[dir='rtl'] .ipsSpoiler_header{
			border-top-right-radius: 0;
			border-top-left-radius: inherit;
		}

	.ipsQuote .ipsQuote_citation a,
	.ipsSpoiler .ipsSpoiler_header a, .ipsStyle_spoiler .ipsSpoiler_header a {
		color: inherit;
		text-decoration: none;
	}

		.ipsQuote_citation.ipsQuote_closed,
		.ipsSpoiler_header.ipsSpoiler_closed{
			margin-bottom: calc(var(--sp-4) * -1);
		}
			[dir='ltr'] .ipsQuote_citation.ipsQuote_closed,
			[dir='ltr'] .ipsSpoiler_header.ipsSpoiler_closed{
				border-bottom-right-radius: inherit;
			}
			[dir='rtl'] .ipsQuote_citation.ipsQuote_closed,
			[dir='rtl'] .ipsSpoiler_header.ipsSpoiler_closed{
				border-bottom-left-radius: inherit;
			}
	
	/* The open/close icon */
	.ipsQuote_citation [data-action='toggleQuote'],
	.ipsSpoiler_header [data-action='toggleSpoiler'] {
		vertical-align: middle;
		font-family: 'FontAwesome';
		font-size: 16px;
		margin-top: -3px;
		transition: opacity 0.2s ease-in-out;
		display: inline-block;
		line-height: 1;
	}
		.ipsQuote_citation:not(:hover) [data-action='toggleQuote'],
		.ipsSpoiler_header:not(:hover) [data-action='toggleSpoiler'] {
			opacity: .3;
		}
	.ipsQuote_citation.ipsQuote_closed [data-action='toggleQuote']:before {
		content: "\f138";
	}
	html[dir="rtl"] .ipsQuote_citation.ipsQuote_closed [data-action='toggleQuote']:before {
		content: "\f137";
	}
	.ipsQuote_citation.ipsQuote_open [data-action='toggleQuote']:before {
		content: "\f13a";
	}
	
	/* The snapback icon */
	.ipsQuote_citation .fa {
		line-height: 23px;
		opacity: 0.1;
		transition: all 0.3s linear;
	}
		.ipsQuote_citation:hover .fa {
			opacity: 1;
		}

	.ipsQuote p:first-child{
		margin-top: 0;
	}
	.ipsQuote p:last-child,
	.ipsSpoiler p:last-child{
		margin-bottom: 0;
	}

	/* Tweak the truncate styling for quotes */
	.ipsQuote_contents.ipsTruncate:after {
		content: "";
		bottom: 0;
		position: absolute;
		left: 0; right: 0;
		height: 60px;
		background: linear-gradient( rgba( var(--theme-area_background_light), 0.01 ), rgba( var(--theme-area_background_light), .99 ) );
		visibility: visible;
		pointer-events: none;
	}

	.ipsQuote .ipsTruncate_more {
		color: rgb( var(--theme-text_color) );
	}

/* ======================================================== */
/* SPOILERS													*/
/* ======================================================== */
.ipsSpoiler_header.ipsSpoiler_closed [data-action='toggleSpoiler']:before {
	content: "\f06e";
}
.ipsSpoiler_header.ipsSpoiler_open [data-action='toggleSpoiler']:before {
	content: "\f070";
}

/* ======================================================== */
/* CODE														*/
/* ======================================================== */
.ipsCode {
	background: rgb( var(--theme-area_background_light) );
	padding: 15px !important;
	clear: both;
	direction: ltr;
	word-wrap: normal;
	border: 0px solid rgba( var(--theme-area_background_dark),.15) !important;
	margin: 0;
	border-radius: var(--radius-1);
}

	html[dir='ltr'] .ipsCode{
		border-left-width: 4px !important;
	}

	html[dir='rtl'] .ipsCode{
		border-right-width: 4px !important;
	}

	.ipsQuote .ipsCode{
		background: rgba(var(--theme-area_background_dark), .03);
	}

/* ======================================================== */
/* MENTIONS													*/
/* ======================================================== */

a[data-mentionid] {
	display: inline-block;
	border-radius: 20px;
	padding: .1em .8em;
	font-size: 90%;
	background: rgb( var(--theme-mentions) );
	color: #fff;
	text-decoration: none !important;
}

	a[data-mentionid]:hover{
		filter: brightness(1.2);
	}

/* ======================================================== */
/* IMAGES */
/* ======================================================== */
.ipsAttachLink_image,
.ipsAttachLink {
	margin-bottom: 15px;
}

/* Lazy load fallback for non-JSers */
body.ipsJS_none .ipsAttachLink_image:after {
	content: "IMG: " attr(href);
	background: rgb( var(--theme-area_background) );
	border: 1px solid rgba( var(--theme-text_color), 0.1 );
	padding: 5px;
	font-size: 12px;
	display: block;
	word-wrap: break-word;
}
body.ipsJS_none .ipsAttachLink_image .ipsImage[data-src] {
	display: none;
}

html[dir="ltr"] .ipsAttachLink_image.ipsAttachLink_right,
html[dir="ltr"] .ipsAttachLink.ipsAttachLink_right,
html[dir="rtl"] .ipsAttachLink_image.ipsAttachLink_left,
html[dir="rtl"] .ipsAttachLink.ipsAttachLink_left {
	margin-left: 30px;
}
html[dir="ltr"] .ipsAttachLink_image.ipsAttachLink_left,
html[dir="ltr"] .ipsAttachLink.ipsAttachLink_left,
html[dir="rtl"] .ipsAttachLink_image.ipsAttachLink_right,
html[dir="rtl"] .ipsAttachLink.ipsAttachLink_right {
	margin-right: 30px;
}

/* ======================================================== */
/* REGULAR ATTACHMENTS */
/* ======================================================== */
.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ) {
	background: rgb( var(--theme-area_background) );
	border: 1px solid rgb( var(--theme-area_background) );
	border-radius: var(--radius-1);
	text-decoration: none !important;
	color: rgb( var(--theme-text_light) );
	line-height: 1.69;
	padding: 0 7px;
	display: inline-block;
	max-width: 300px;
	margin-right: 2px;
	position: relative;
	cursor: pointer;
	transition: 0.1s all ease-in-out;
	margin-bottom: 0;
	font-size: {fontsize="small"};
	vertical-align: middle;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

	.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):hover {
		background: rgb( var(--theme-area_background_light) );
	}

		.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ) .ipsAttachLink_title {
			color: rgb( var(--theme-text_dark) );
		}

	.ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):before {
		font-family: 'FontAwesome';
		content: '\f0c6';
		color: rgb( var(--theme-text_light) );
	}
	html[dir="ltr"] .ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):before {
		margin-right: 7px;
	}
	html[dir="rtl"] .ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ):before {
		margin-left: 7px;
	}

	/* Inside ckeditor, remove the max-width */
	.cke .ipsAttachLink[data-fileid]:not( .ipsAttachLink_image ) {
		max-width: none;
	}

html[dir] .ipsAttachLink.ipsAttachLink_block {
	line-height: 1.3;
	font-size: {fontsize="medium"};
	margin-top: 15px;
	min-height: 50px;
	display: inline-block;
	text-align: center;
}
html[dir="ltr"] .ipsAttachLink.ipsAttachLink_block {
	padding: 10px 12px 10px 12px;
	margin-right: 10px;
}
html[dir="rtl"] .ipsAttachLink.ipsAttachLink_block {
	padding: 10px 12px 10px 12px;
	margin-left: 10px;
}

.ipsAttachLink.ipsAttachLink_inline {}

.ipsAttachLink.ipsAttachLink_block:before {
	font-family: 'FontAwesome';
	content: '\f016';
	font-size: 28px;
	color: rgb( var(--theme-text_dark) );
}
html[dir="ltr"] .ipsAttachLink.ipsAttachLink_block:before {
	left: 12px;
}
html[dir="rtl"] .ipsAttachLink.ipsAttachLink_block:before {
	right: 12px;
}

	.ipsAttachLink.ipsAttachLink_block[data-fileExt="zip"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="rar"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="7z"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="gz"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="tar"]:before {
		content: '\f1c6';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="pdf"]:before {
		content: '\f1c1';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="doc"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="docx"]:before {
		content: '\f1c2';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="txt"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="rtf"]:before {
		content: '\f0f6';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="xls"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="xlsx"]:before {
		content: '\f1c3';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="ppt"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="pptx"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="pps"]:before {
		content: '\f1c4';
	}
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="html"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="php"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="js"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="css"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="xml"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="csv"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="sql"]:before,
	.ipsAttachLink.ipsAttachLink_block[data-fileExt="py"]:before {
		content: '\f1c9';
	}

.ipsAttachLink_title {
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	overflow: hidden;
	transition: 0.1s all ease-in-out;
}

.ipsAttachLink_metaInfo {
	margin-top: 5px;
	font-size: {fontsize="x_small"};
	color: rgb( var(--theme-text_light) );
}


/* ======================================================== */
/* EMBEDDABLES - Internal Embeds							*/
/* These styles are used for the iframes when a user posts  */
/* a link to another piece of content on the suite (for		*/
/* example, a topic)										*/
/* ======================================================== */

iframe[data-embedContent] {
	width: 100%;
	min-height: 165px;
	{{if settings.max_internalembed_width}}
		max-width: {setting="max_internalembed_width"}px;
	{{else}}
		max-width: 100%;
	{{endif}}
	min-width: 250px;
	margin: 10px 0;
	border: 1px solid transparent;
	position: relative;
	background-size: 40px 40px;
	border-radius: var(--radius-1);
	display: block;
}
	
	iframe[data-embedContent].ipsEmbed_finishedLoading {
		background-color: rgb( var(--theme-page_background) );
		background-image: none;
		border: 1px solid rgba( var(--theme-text_dark), 0.1 );
	}

.ipsRichEmbed .ipsRichEmbed_masthead {
	background: rgb( var(--theme-area_background_dark) );
}

.ipsRichEmbed .ipsRichEmbed_mastheadBg > a,
.ipsRichEmbed .ipsRichEmbed_mastheadBg > span {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 180px;
	display: block;
}

	.ipsRichEmbed .ipsRichEmbed_mastheadBg.ipsRichEmbed_mastheadBg_small > a,
	.ipsRichEmbed .ipsRichEmbed_mastheadBg.ipsRichEmbed_mastheadBg_small > span {
		height: 80px;
	}

.ipsRichEmbed .ipsImage	{
	max-height: 350px;
}

.ipsRichEmbed_header {
	border-bottom: 1px solid rgba( var(--theme-text_dark), 0.05 );
	padding: var(--sp-3) 45px var(--sp-3) var(--sp-4);
}

	.ipsRichEmbed_header .ipsPhotoPanel .ipsUserPhoto {
		margin-top: 5px;
	}
	
.ipsRichEmbed_openItem {
	font-size: 26px;
	position: absolute;
	right: 15px;
	top: 15px;
	color: rgb( var(--theme-text_dark) );
	opacity: 0.1;
	transition: all 0.2s ease-in-out;
}

	.ipsRichEmbed_openItem:hover {
		color: inherit;
		opacity: 1;
	}

.ipsRichEmbed_title {
	font-size: {fontsize="medium"};
	font-weight: 600;
	padding-top: 2px;
}

.ipsRichEmbed_moreInfo {
	border-top: 1px solid rgba( var(--theme-text_dark), 0.05 );
}

.ipsRichEmbed_metaLine {
	
}

.ipsApp .ipsRichEmbed_stats.ipsSpacer_top {
	border-top: 1px solid rgba( var(--theme-text_dark), 0.1 );
	padding-top: 10px;
	margin-top: 10px;
}

.ipsRichEmbed_originalItem {
	border: 1px solid rgba( var(--theme-text_dark), 0.1 );
	box-shadow: 0px 0px 3px rgba(0,0,0,0.1);
}

	.ipsRichEmbed_originalItem.ipsPad,
	.ipsRichEmbed_originalItem .ipsPad {
		padding: 10px;
	}

.ipsRichEmbed_itemTitle {
	margin: 0;
	font-size: {fontsize="large"};
	color: rgb( var(--theme-text_dark) );
	font-weight: 400;
	line-height: 1.3;
}

.ipsRichEmbed_phone .ipsPhotoPanel > .ipsUserPhoto {
	display: none !important;
}

html[dir] .ipsRichEmbed_phone .ipsPhotoPanel > div {
	margin-left: 0;
	margin-right: 0;
}

html[dir="ltr"] .ipsList_inline .ipsRichEmbed_commentPhoto {
	margin-right: 2px;
}
html[dir="rtl"] .ipsList_inline .ipsRichEmbed_commentPhoto {
	margin-left: 2px;
}

.ipsRichEmbed hr.ipsHr {
	margin-top: 10px;
	margin-bottom: 10px;
}

	/* 	A nasty hack which forces iOS to honor max-widths on iframes. Without this, our iframe
		pushes the page width out because of the white-space:nowrap; on the embeddable titles.
		See: http://stackoverflow.com/a/23083463
	*/
	.ipsEmbedded {
		width: 1px;
        min-width: 100%;
	}
	
	.ipsEmbedded_image {
		background-color: rgb( var(--theme-area_background_dark) );
		background-size: cover;
		background-position: 50%;
		background-repeat: no-repeat;
		overflow: hidden;
	}

	.ipsEmbedded_image, .ipsEmbedded_image a  {
		width: 110px;
		height: 110px;
	}

	.ipsEmbedded_image a {
		display: block;
	}

	.ipsEmbedded_image img {
		display: none;
	}

		.ipsEmbedded_withImage .ipsEmbedded_image {
			position: absolute;
			top: 10px;
			border: 3px solid #fff;
		}
		html[dir="ltr"] .ipsEmbedded_withImage .ipsEmbedded_image {
			left: 10px;
		}
		html[dir="rtl"] .ipsEmbedded_withImage .ipsEmbedded_image {
			right: 10px;
		}

	.ipsEmbedded_headerArea {
		background: rgb( var(--theme-area_background) );
		border-bottom: 1px solid rgba( var(--theme-text_dark), 0.05 );
		padding: 10px;
		line-height: 1;
		font-size: {fontsize="base"};
	}

		.ipsEmbedded_headerArea .ipsEmbedded_type {
			font-size: {fontsize="x_small"};
		} 

	.ipsEmbedded .ipsType_medium, .ipsEmbedded .ipsType_small {
		line-height: 1.3;
	}

	.ipsEmbedded_content {
		padding: 9px 7px 7px;
		background-color: rgb( var(--theme-area_background_light) );
		min-height: 75px;
	}

	.ipsEmbedded_stats {
		margin-top: 9px;
		padding: 7px 0;
		border-top: 1px solid rgba( var(--theme-text_dark), 0.05 );
	}

	.ipsEmbedded .ipsUserPhoto_tiny {
		width: 30px;
		height: 30px;
	}

	html[dir="ltr"] .ipsEmbedded_withImage .ipsEmbedded_headerArea,
	html[dir="ltr"] .ipsEmbedded_withImage .ipsEmbedded_content {
		padding-left: 130px;
	}
	html[dir="rtl"] .ipsEmbedded_withImage .ipsEmbedded_headerArea,
	html[dir="rtl"] .ipsEmbedded_withImage .ipsEmbedded_content {
		padding-right: 130px;
	}

	.ipsEmbedded_error {
		text-align: center;
		padding-top: 50px;
		font-size: {fontsize="x_small"};
		color: rgba( var(--theme-text_dark), 0.35 );
	}

/* ======================================================== */
/* EMBEDDABLES - oEmbed Videos								*/
/* These styles are used for embedded links to oEmbed		*/
/* services that identify themselves as videos (for example	*/
/* YouTube, Vimeo and Hulu)									*/
/* ======================================================== */
video.ipsEmbeddedVideo {
	/* This is to ensure videos have a visible size to allow intersectionobserver to work */
	min-width: 1px;
	min-height: 1px;
}

.ipsEmbeddedVideo iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

{{if settings.max_video_width}}
	.ipsEmbeddedVideo {
		width: 100%;
		max-width: {setting="max_video_width"}px;
	}

	.ipsEmbeddedVideo > div {
		float: none;
		clear: both;
		width: 100%;
		overflow: auto;
		position: relative;
		/* This allows videos to resize responsively */
	    padding-bottom: 56.25%;
	    padding-top: 25px;
	}

	.ipsQuote .ipsEmbeddedVideo > div {
		width: 98%;
		margin-bottom: 15px;
	}
{{else}}	
	.ipsEmbeddedVideo {
		float: none;
	    clear: both;
		width: 100%;
		overflow: auto;
		position: relative;
	}	

		.ipsEmbeddedVideo:not( video ) {
			/* This allows videos to resize responsively */
		    padding-bottom: 56.25%;
		    padding-top: 25px;
		}

	.ipsQuote .ipsEmbeddedVideo {
		width: 98%;
		margin-bottom: 15px;
	}
{{endif}}

/* Add space between consecutive videos */
.ipsEmbeddedVideo + .ipsEmbeddedVideo{
	margin-top: var(--sp-4);
}

/* ======================================================== */
/* EMBEDDABLES - oEmbed Misc								*/
/* These styles are used for embedded links to oEmbed		*/
/* services that are not videos or photos (for example		*/
/* Twitter and Instagram)									*/
/* ======================================================== */

.ipsEmbeddedOther iframe {
	float: none;
	clear: both;
	width: 100%;
	position: relative;
	border: none;
}

{{if settings.max_video_width}}
	.ipsEmbeddedOther {
		max-width: {setting="max_video_width"}px;
	}
{{endif}}

.ipsEmbeddedBrightcove {
    position: relative;
    display: block;
    max-width: 640px;
}

.ipsEmbeddedBrightcove_inner {
    padding-top: 56.25%;
}

.ipsEmbeddedBrightcove_frame {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="posts.css"><![CDATA[/* Additional styles that apply to posts */
/* Author responses to reviews */
.ipsReviewResponse {
	margin-top: var(--sp-4);
	border-left: 2px solid rgb( var(--theme-area_background) );
}

html[dir="ltr"] .ipsReviewResponse {
	margin-left: var(--sp-4);
}
html[dir="rtl"] .ipsReviewResponse {
	margin-right: var(--sp-4);
}

.cMemberNewBadge .fa {
	color: gold;
}


.cAuthorPane {
	text-align: center;
	padding: var(--sp-5) !important;
}

	.cAuthorPane_photo {
		margin: var(--sp-3) 0 var(--sp-2) 0;
		display: flex;
		justify-content: center;
	}

		.cAuthorPane_photoWrap{
			position: relative;
			flex: 0 0 auto;
			min-width: 0;
		}

	.ipsApp .cAuthorPane_author {
		display: inline-block;
		font-size: {fontsize="large"};
		line-height: 1.2;
		word-wrap: initial;
		overflow: hidden;
		text-overflow: ellipsis;
		-moz-hyphens: initial;
		margin: 0 0 -5px 0;
	}
		
		.cAuthorPane_badge {
			position: absolute;
			top: 0;
			right: -4px;
			display: flex;
			justify-content: center;
			align-items: center;
			width: 1em; height: 1em;
			font-size: 26px;
			color: rgb( var(--theme-area_background_reset) );
		}
		
			.cAuthorPane_badge:not( .cAuthorPane_badge--rank ) {
				background: rgb( var(--theme-mentions) );
				border: 2px solid rgb( var(--theme-area_background_reset) );
				border-radius: 50%;
			}

			.cAuthorPane_badge::before {
				font-family: 'FontAwesome';
				font-size: .5em;
			}
			
			.cAuthorPane_badge--new::before {
				content: "\f256";
			}
			
			.cAuthorPane_badge--moderator::before {
				content: "\f132";
			}
			
			.cAuthorPane_badge--anon {
				position: relative;
				left: 0;
				bottom: 0;
				display: inline-block;
				line-height: calc(50%);
				font-weight: normal;
				text-align: center;
			}
			
			.cAuthorPane_badge_small {
				font-size: 20px;
				border-width: 1px;
			}

			.cAuthorPane_badge--anon::before {
				content: "\f06e";
			}
			
			.cAuthorPane_badge--rank {
				top: auto;
				bottom: 0;
				right: auto;
				left: -10px;
				width: 1.4em; height: 1.4em;
			}

	.cAuthorPane_info .ipsRepBadge {
		font-size: inherit;
	}

	.cAuthorPane .cAuthorGroupIcon {
		max-width: 100%;
		margin-top: var(--sp-2);
	}


	.cAuthorPane_stats--split {
		flex-wrap: wrap;
		padding: 0 var(--sp-3);
	}

		.cAuthorPane_stats--split > li {
			flex-basis: 50%;
		}
]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="prettify.css">.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="spectrum.css"><![CDATA[.sp-container{position:absolute;top:0;left:0;display:inline-block;z-index:9999994;overflow:hidden}.sp-original-input-container{position:relative;display:inline-flex}.sp-original-input-container input{margin:0!important}.sp-original-input-container .sp-add-on{width:40px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}input.spectrum.with-add-on{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.sp-original-input-container .sp-add-on .sp-colorize{height:100%;width:100%;border-radius:inherit}.sp-colorize-container{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E")}.sp-container.sp-flat{position:relative}.sp-container,.sp-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.sp-top{position:relative;width:100%;display:inline-block}.sp-top-inner{position:absolute;top:0;left:0;bottom:0;right:0}.sp-color{position:absolute;top:0;left:0;bottom:0;right:20px!important}.sp-hue{position:absolute;top:0;right:0;bottom:0;width:12px;height:100%;left:initial!important}.sp-clear-enabled .sp-hue{top:15%;height:85%}.sp-fill{padding-top:80%}.sp-sat,.sp-val{position:absolute;top:0;left:0;right:0;bottom:0}.sp-alpha-enabled .sp-top{margin-bottom:28px!important}.sp-alpha-enabled .sp-alpha{display:block}.sp-alpha-handle{position:absolute;top:-3px;cursor:pointer;height:16px;border-radius:50%;width:16px;margin-right:5px;left:-2px;right:0;background:#f9f9f9;box-shadow:0 0 2px 0 #3a3a3a}.sp-alpha{display:none;position:absolute;bottom:-18px;right:0;left:0;height:10px}.sp-alpha-inner{border-radius:4px}.sp-clear{display:none}.sp-clear.sp-clear-display{background-position:center}.sp-clear-enabled .sp-clear{display:block;position:absolute;top:3px;right:0;bottom:0;cursor:pointer;left:initial;height:14px;width:14px}.sp-alpha,.sp-alpha-handle,.sp-clear,.sp-container,.sp-container button,.sp-container.sp-dragging .sp-input,.sp-dragger,.sp-preview,.sp-replacer,.sp-slider{-webkit-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.sp-container.sp-input-disabled .sp-input-container{display:none}.sp-container.sp-buttons-disabled .sp-button-container{display:none}.sp-container.sp-palette-buttons-disabled .sp-palette-button-container{display:none}.sp-palette-only .sp-picker-container{display:none}.sp-palette-disabled .sp-palette-container{display:none}.sp-initial-disabled .sp-initial{display:none}.sp-sat{background-image:-webkit-gradient(linear,0 0,100% 0,from(#fff),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-moz-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-o-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:-ms-linear-gradient(left,#fff,rgba(204,154,129,0));background-image:linear-gradient(to right,#fff,rgba(204,154,129,0))}.sp-val{border-radius:4px;background-image:-webkit-gradient(linear,0 100%,0 0,from(#000),to(rgba(204,154,129,0)));background-image:-webkit-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-moz-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-o-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:-ms-linear-gradient(bottom,#000,rgba(204,154,129,0));background-image:linear-gradient(to top,#000,rgba(204,154,129,0))}.sp-hue{background:-moz-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-ms-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-o-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(.17,#ff0),color-stop(.33,#0f0),color-stop(.5,#0ff),color-stop(.67,#00f),color-stop(.83,#f0f),to(red));background:-webkit-linear-gradient(top,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);background:linear-gradient(to bottom,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}.sp-1{height:17%}.sp-2{height:16%}.sp-3{height:17%}.sp-4{height:17%}.sp-5{height:16%}.sp-6{height:17%}.sp-hidden{display:none!important}.sp-cf:after,.sp-cf:before{content:"";display:table}.sp-cf:after{clear:both}@media (max-device-width:480px){.sp-color{right:40%}.sp-hue{left:63%}.sp-fill{padding-top:60%}}.sp-dragger{border-radius:5px;height:10px;width:10px;border:1px solid #fff;cursor:pointer;position:absolute;top:0;left:0;margin-left:3px;margin-top:3px;box-shadow:0 0 2px 1px rgba(0,0,0,.2)}.sp-slider{position:absolute;top:0;cursor:pointer;height:16px;border-radius:50%;width:16px;left:-2px;background:#f9f9f9;box-shadow:0 0 2px 0 #3a3a3a;margin-top:8px}.sp-container{display:inline-flex;border-radius:0;background-color:#fff;padding:0;border-radius:4px;color:#000;box-shadow:0 0 0 1px rgba(99,114,130,.16),0 8px 16px rgba(27,39,51,.08)}.sp-clear,.sp-color,.sp-container,.sp-container button,.sp-container input,.sp-hue{font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.sp-top{margin-bottom:10px}.sp-clear,.sp-color,.sp-hue,.sp-sat,.sp-val{border-radius:3px}.sp-input-container{margin-top:-5px}.sp-button-container.sp-cf,.sp-initial.sp-thumb.sp-cf,.sp-input-container.sp-cf{height:25px}.sp-picker-container .sp-cf{margin-bottom:10px}.sp-palette-row-initial>span:first-child{cursor:pointer}.sp-initial-disabled .sp-input-container{width:100%}.sp-input{padding:0 5px!important;margin:0;width:100%;box-shadow:none!important;height:100%!important;background:0 0;color:#3a3a3a;border-radius:2px!important;border:1px solid #e0e0e0!important;text-align:center;font-family:monospace;font-size:inherit!important}.sp-input:focus{border:1px solid orange}.sp-input.sp-validation-error{border:1px solid red;background:#fdd}.sp-palette-container,.sp-picker-container{position:relative;padding:10px}.sp-picker-container{width:200px;padding-bottom:0}.sp-palette-container{border-right:solid 1px #ccc}.sp-palette-only .sp-palette-container{border:0}.sp-palette .sp-thumb-el{display:block;position:relative;float:left;width:24px;height:15px;margin:3px;cursor:pointer;border:solid 2px transparent}.sp-palette .sp-thumb-el.sp-thumb-active,.sp-palette .sp-thumb-el:hover{border-color:orange}.sp-thumb-el{position:relative}.sp-initial{float:left}.sp-initial span{width:30px;height:25px;border:none;display:block;float:left;margin:0}.sp-initial .spe-thumb-el.sp-thumb-active{border-radius:0 5px 5px 0}.sp-initial .spe-thumb-el{border-radius:5px 0 0 5px}.sp-initial .sp-clear-display{background-position:center}.sp-button-container{float:right}.sp-palette-button-container{margin-top:10px}.sp-replacer{position:relative;overflow:hidden;cursor:pointer;display:inline-block;border-radius:3px;border:1px solid #aaa;color:#666;transition:border-color .3s;vertical-align:middle;width:3rem;height:1.5rem}.sp-replacer.sp-active,.sp-replacer:hover{border:1px solid #666;color:#000}.sp-replacer.sp-disabled{cursor:default;border-color:silver;color:silver}.sp-dd{position:absolute;font-size:10px;right:0;top:0;bottom:0;padding:0 2px;line-height:1.6rem;background-color:#fff}.sp-preview{position:relative;width:100%;height:100%;float:left;z-index:0}.sp-preview-inner{transition:background-color .2s}.sp-preview-inner.sp-clear-display{display:none}.sp-palette .sp-thumb-el{width:16px;height:16px;margin:3px;border:none;border-radius:3px}.sp-container button{border-radius:3px;border:none;background:0 0;line-height:1;padding:0 8px;height:25px;text-transform:capitalize;text-align:center;vertical-align:middle;cursor:pointer;color:#606c72;font-weight:700}.sp-container button.sp-choose{background-color:#3cab3b;color:#fff;margin-left:5px}.sp-container button:hover{opacity:.8}.sp-container button.sp-palette-toggle{width:100%;background-color:#f3f3f3;margin:0}.sp-palette span.sp-thumb-active,.sp-palette span:hover{border-color:#000}.sp-alpha,.sp-preview,.sp-thumb-el{position:relative;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E")}.sp-alpha-inner,.sp-preview-inner,.sp-thumb-inner{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.sp-palette .sp-thumb-inner{border-radius:3px;background-position:50% 50%;background-repeat:no-repeat}.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M9 16.172l10.594-10.594 1.406 1.406-12 12-5.578-5.578 1.406-1.406z' fill='%23000'%3E%3C/path%3E%3C/svg%3E")}.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M9 16.172l10.594-10.594 1.406 1.406-12 12-5.578-5.578 1.406-1.406z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E")}.sp-clear-display{background-repeat:no-repeat;background-position:center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABe0lEQVQokYXSsUtcQRTF4d8Jj+VhHSxkEQuLsEUKK0nhTBFTmLSSUhBCMCAWsmgIwWrBLk0akfwLCaSQKBJmtrIIISwpRFKIhViETScphGMzysMtvOVwvpm5d0bGNCuGWAOPgYdl6S8wSDn9b+bUhDHEKWAdeAFMANg+l/TV9ofcz6cjMIbYBvaBMds7QCqZ58CmpBNgPuV0DvAAIMyFGugWtJr7eTv38xEwkPRPErY7QDeG2LqFkjrAgu0dSd/KDVqSNmxvAZ8lfbS9AHRuYemnLWkv5XRVBrQMbAI/gTXgEzAJtJuwBVS2L2OIle03QA/4Lmkl5XQBXEqqbFcAVYFDYChpFngiqWf7l6TXKaezMt2Zkhk24THwG+jZriX9AFZvUAyxLbRke2D75O5zPAO+ADXwEtizjaRHwDvbTyUtppwOmicCHAJvbXcl9YA1SQDjtseA97YPRz7ATcUQp2y/kjRdevsjaTfldNrMjcDGBjXA3T96L7yvrgFzP69+0Ao/HAAAAABJRU5ErkJggg==);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath d='M12 20.016q3.281 0 5.648-2.367t2.367-5.648q0-2.672-1.734-4.922l-11.203 11.203q2.25 1.734 4.922 1.734zM3.984 12q0 2.672 1.734 4.922l11.203-11.203q-2.25-1.734-4.922-1.734-3.281 0-5.648 2.367t-2.367 5.648zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055-7.055 2.93-7.055-2.93-2.93-7.055 2.93-7.055 7.055-2.93z' fill='%23000'%3E%3C/path%3E%3C/svg%3E")}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="streams.css"><![CDATA[:root {
	--item-timeline--boxShadow: 0 0 0 4px rgb( var(--theme-page_background) );
}


html[dir="ltr"] .ipsStream.ipsStream_withTimeline  {
	border-left: 5px solid rgba( var(--theme-timeline_color), 0.1 );
	margin-left: 20px;
}
html[dir="rtl"] .ipsStream.ipsStream_withTimeline  {
	border-right: 5px solid rgba( var(--theme-timeline_color), 0.1 );
	margin-right: 20px;
}

.ipsStreamItem {
	margin-top: 10px;
	margin-bottom: 10px;
	position: relative;
}

	.ipsStreamItem.ipsStreamItem_contentBlock {
		padding: var(--sp-5);
		border-radius: var(--radius-1);
	}

		.ipsStreamItem_contentBlock:not( .ipsBox ) {
			box-shadow: var(--box--boxShadow);
		}

		.ipsStreamItem.ipsStreamItem_contentBlock.ipsModerated{
			border-color: rgb( var(--theme-moderated_text_light) );
		}

	.ipsStreamItem.ipsStreamItem_actionBlock {
		padding-top: 4px;
		padding-bottom: 4px;
	}

		.ipsStreamItem.ipsStreamItem_actionBlock time {
			white-space: nowrap;
		}
		
	html[dir="ltr"] .ipsStreamItem.ipsStreamItem_contentBlock.ipsStreamItem_active {
		border-right: 2px solid rgb( var(--theme-text_color) );
	}
	html[dir="rtl"] .ipsStreamItem.ipsStreamItem_contentBlock.ipsStreamItem_active {
		border-left: 2px solid rgb( var(--theme-text_color) );
	}

.ipsStreamItem_snippet {
	margin-top: 15px;
	margin-bottom: 15px;
}

	.ipsStreamItem_snippet .ipsType_richText {
		color: rgb( var(--theme-text_color) );
	}

	.ipsStreamItem_snippet [data-searchable] {
		max-height: 3em;
		overflow: hidden;
	}

.ipsStream .ipsStreamItem:first-child {
	margin-top: 0;
}

html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem {
	margin-left: 28px;
}
html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem {
	margin-right: 28px;
}

.ipsStreamItem_title {
	color: rgb( var(--theme-text_dark) );
	font-size: {fontsize="x_large"};
	font-weight: 400;
	line-height: 1.2;
}

	.ipsStreamItem_titleSmall {
		font-weight: 400;
		font-size: {fontsize="base"};
	}

.ipsStreamItem_member .ipsStreamItem_title,
.ipsStreamItem_unread .ipsStreamItem_title,
.ipsStreamItem_unread .ipsStreamItem_titleSmall {
	font-weight: bold;
}

.ipsStreamItem_status {
	font-size: {fontsize="medium"};
}

html[dir="ltr"] .ipsStreamItem_snippet,
html[dir="ltr"] .ipsStreamItem_meta {
	margin-left: 55px;
}
html[dir="rtl"] .ipsStreamItem_snippet,
html[dir="rtl"] .ipsStreamItem_meta {
	margin-right: 55px;
}

html[dir="ltr"] .ipsStreamItem_loadMore {
	margin-left: 28px;
	margin-top: 15px;
}
html[dir="rtl"] .ipsStreamItem_loadMore {
	margin-right: 28px;
	margin-top: 15px;
}

.ipsStreamItem_bar hr.ipsHr {
	border-color: rgb( var(--theme-timeline_color) );
	border-top-width: 4px;
}

html[dir="ltr"] .ipsStreamItem_bar hr.ipsHr {
	margin-left: 28px;
}
html[dir="rtl"] .ipsStreamItem_bar hr.ipsHr {
	margin-right: 28px;
}

/* The little pointer on the box */
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before,
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	position: absolute;
	pointer-events: none;
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
	border-width: 9px;
	top: 11px;
	z-index: 100;
}
	
	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
		right: 100%;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_contentBlock:before {
		left: 100%;
	}

.ipsStream_withTimeline .ipsStreamItem_contentBlock:after {
	border-width: 8px;
	top: 12px;
	z-index: 200;
}
	
	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem_contentBlock:after {
		right: 100%;
		border-right-color: rgb( var(--theme-area_background_reset) );
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem_contentBlock:after {
		left: 100%;
		border-left-color: rgb( var(--theme-area_background_reset) );
	}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem_contentBlock.ipsModerated:after {
		border-right-color: rgb( var(--theme-moderated_light) );
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem_contentBlock.ipsModerated:after {
		border-left-color: rgb( var(--theme-moderated_light) );
	}

/* The circle on the timeline */
.ipsStream_withTimeline .ipsStreamItem_container:before {
	content: '';
	box-sizing: border-box;
	display: block;
	position: absolute;	
}

/* Comment items */
.ipsStream_comment {
	background: rgb( var(--theme-area_background_light) );
	border-color: rgb( var(--theme-area_background_light) );
	position: relative;
	border-radius: 3px;
}
	
	html[dir="ltr"] .ipsStream_comment {
		margin-left: 30px;
	}
	html[dir="rtl"] .ipsStream_comment {
		margin-right: 30px;
	}

	.ipsStream_comment:before {
		content: '';
		display: block;
		width: 0;
		height: 0;
		position: absolute;
		top: 15px;
		border: 10px solid transparent;
	}

		html[dir="ltr"] .ipsStream_comment:before {
			right: 100%;
			border-right-color: inherit;
		}
		html[dir="rtl"] .ipsStream_comment:before {
			left: 100%;
			border-left-color: inherit;
		}

/* ACTIONS */
/* e.g. follows, joins etc. */
.ipsStreamItem_actionBlock {
	font-size: {fontsize="small"};
}

html[dir] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_actionBlock:after {
	content: '';
	width: 11px;
	height: 11px;
	border-radius: 11px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgb( var(--theme-timeline_color) );
	box-shadow: var(--item-timeline--boxShadow);
}
html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_actionBlock:after {
	left: -36px;
}
html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_actionBlock:after {
	right: -36px;
}

/* TIMES */
.ipsStreamItem_time {
	display: inline-block;
	border-radius: 20px;
	background: rgb( var(--theme-timeline_color) );
	color: #fff;
	line-height: {fontsize="2x_large"};
	font-size: {fontsize="x_small"};
	padding: 0 20px;
	box-shadow: var(--item-timeline--boxShadow);
}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem_time {
		margin-left: -20px;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem_time {
		margin-right: -20px;
	}

	.ipsStreamItem.ipsStreamItem_condensed ~ .ipsStreamItem_time {
		margin-top: 7px;
		margin-bottom: 7px;
	}

	.ipsStream .ipsStreamItem_time:first-child {
		margin-bottom: 7px;
	}

/* TERMINATOR (will be right back) */
.ipsStreamItem_terminator {
	width: 13px;
	height: 13px;
	border-radius: 13px;
	background: rgb( var(--theme-timeline_color) );
}

	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem_terminator {
		margin-left: -8px;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem_terminator {
		margin-right: -8px;
	}

/* CONTENT TYPE */
.ipsStream .ipsStreamItem_contentType {
	position: absolute;
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 32px;
	line-height: 30px;
	font-size: 13px;
	text-align: center;
	background: rgb( var(--theme-timeline_color) );
	z-index: 500;
	box-shadow: var(--item-timeline--boxShadow);
	color: #fff;
}

	.ipsBox .ipsStream .ipsStreamItem_contentType{
		box-shadow: rgb( var(--theme-area_background_reset) ) 0px 0px 0px 2px;
	}

	.ipsStreamItem.ipsModerated .ipsStreamItem_contentType {
		background: rgb( var(--theme-moderated_text) );
	}

	html[dir="ltr"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
		left: -47px;
		top: 5px;
	}
	html[dir="ltr"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		right: var(--sp-4);
		top: var(--sp-4);
	}
	html[dir="rtl"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
		right: -47px;
		top: 5px;
	}
	html[dir="rtl"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		left: var(--sp-4);
		top: var(--sp-4);
	}

/* SNIPPET STYLES */
.ipsStream_snippetInfo {
	border-style: solid;
	border-color: rgba( var(--theme-text_dark), 0.1 );
	padding-left: 15px;
}

	html[dir="ltr"] .ipsStream_snippetInfo {
		border-width: 0 0 0 1px;
	}
	html[dir="rtl"] .ipsStream_snippetInfo {
		border-width: 0 1px 0 0;
	}

/* EXPANDED VIEW */
html[dir="ltr"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_expanded {
	margin-left: 28px;
}
html[dir="rtl"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_expanded {
	margin-right: 28px;
}

/* CONDENSED VIEW */
.ipsStreamItem_condensed .ipsStreamItem_titleSmall {
	font-size: {fontsize="medium"};
}

.ipsStreamItem_condensed.ipsStreamItem {
	margin-top: 5px;
	margin-bottom: 5px;
}

.ipsStreamItem_condensed.ipsStreamItem.ipsStreamItem_contentBlock {
	padding: var(--sp-4);
	line-height: 1.6;
}

html[dir="ltr"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_condensed {
	padding-left: 0;
}
html[dir="rtl"] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_condensed {
	padding-right: 0;
}

.ipsStreamItem_condensed .ipsUserPhoto_tiny {
	width: 34px;
	height: 34px;
}

html[dir="ltr"] .ipsStreamItem_condensed .ipsPhotoPanel_small > div {
	margin-left: 85px;
}
html[dir="rtl"] .ipsStreamItem_condensed .ipsPhotoPanel_small > div {
	margin-right: 85px;
}

html[dir="ltr"] .ipsStreamItem_condensed .ipsPhotoPanel_mini > div {
	margin-left: 45px;
	margin-right: 200px;
}
html[dir="rtl"] .ipsStreamItem_condensed .ipsPhotoPanel_mini > div {
	margin-right: 45px;
	margin-left: 200px;
}

.ipsStreamItem_condensed .ipsCalendarDate {
	width: 75px;
}

.ipsStreamItem_condensed .ipsStreamItem_status {
	font-size: {fontsize="small"};
}

.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:before,
.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_contentBlock:after,
html[dir] .ipsStream.ipsStream_withTimeline .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_contentType {
	top: 50%;
	transform: translateY(-50%);
}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
	width: 200px;	
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

	html[dir="ltr"] .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
		border-left: 1px solid rgba( var(--theme-text_light), 0.2 );
		padding-left: 15px;
		right: 0;
	}
	html[dir="rtl"] .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
		border-right: 1px solid rgba( var(--theme-text_light), 0.2 );
		padding-right: 15px;
		left: 0;
	}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats time,
.ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_actionBlock time {
	font-size: 0px;
	line-height: 1;
}

.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats time:after,
.ipsStreamItem.ipsStreamItem_condensed.ipsStreamItem_actionBlock time:after {
	content: attr(data-short);
	font-size: {fontsize="small"};
	line-height: inherit;
}


/* Stream Widget */
.cWidgetStream > *{
	padding: var(--sp-3) 0 var(--sp-5);
}

.cWidgetStream__icon{
	position: relative;
}

	.cWidgetStream__icon .ipsUserPhoto{
		border: 2px solid rgb( var(--theme-area_background_reset) );
	}

	.cWidgetStreamIcon {
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 12px;
		background: rgb( var(--theme-timeline_color) );
		color: #fff;
		border: 2px solid rgb( var(--theme-area_background_reset) );
		border-radius: 50%;
		width: 30px;
		height: 30px;
		position: relative;
	}

		.cWidgetStream[data-orientation="horizontal"] .cWidgetStreamIcon {
			position: absolute;
			top: 44px;
		}

			[dir='ltr'] .cWidgetStream[data-orientation="horizontal"] .cWidgetStreamIcon {
				right: -8px;
			}
			[dir='rtl'] .cWidgetStream[data-orientation="horizontal"] .cWidgetStreamIcon {
				left: -8px;
			}

	.cWidgetStream__icon::before{
		content: '';
		width: 4px;
		background: rgba( var(--theme-timeline_color), 0.1 );
		position: absolute;
		left: 50%;
		margin-left: -2px;
		top: 0;
		bottom: 0;
	}

		.cWidgetStream:first-child .cWidgetStream__icon::before{
			top: calc(var(--sp-3) + 5px);
		}

		.cWidgetStream:last-child .cWidgetStream__icon::before{
			border-radius: 0 0 4px 4px;
		}

	.cWidgetStreamTime{
		margin-top: var(--sp-1);
	}

	/* Small user photo */
	.cWidgetStreamTime .ipsUserPhoto{
		width: 1.4em;
		height: 1.4em;
	}

.cWidgetStreamReaction .ipsReactOverview {
	text-align: left;
}
	
.cWidgetStream[data-orientation="horizontal"] .ipsDataItem_title {
	font-size: {fontsize="large"};
}

.cWidgetStream[data-orientation="vertical"] .ipsDataItem_title {
	font-size: {fontsize="base"};
}


.ipsStreamItem_columns{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 var(--sp-2) calc(var(--sp-5) * -1);
	clear: both; /* Clear floated comments */
}

	.ipsStreamItem_columns > *{
		margin: var(--sp-2) 0 0 var(--sp-5);
		min-width: 0;
	}

	.ipsStreamItem_columns__thumb{
		flex: 0 1 180px;
	}
		.ipsStreamItem_columns__thumb .ipsThumb{
			width: auto;
			height: auto;
			max-width: none;
			max-height: none;
		}

			.ipsStreamItem_columns__thumb .ipsThumb::before{
				content: '';
				display: block;
				padding-top: 100%;
			}

	.ipsStreamItem_columns__content{
		flex: 9999 1 300px;
	}

		.ipsStreamItem_columns__content > *{
			margin-top: 0;
			margin-bottom: 0;
		}
			.ipsStreamItem_columns__content > :not(:last-child){
				margin-bottom: var(--sp-3);
			}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="tables.css">table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Tables; used primarily in AdminCP */
.ipsTable {
	width: 100%;
	border-collapse: collapse;
}

.ipsTable th {
	text-align: left;
	background: rgb( var(--theme-area_background) );
	padding: 15px 20px 15px 10px;
	font-size: {fontsize=&quot;small&quot;};
}
html[dir=&quot;rtl&quot;] .ipsTable th {
	text-align: right;
	padding: 15px 10px 15px 20px;
}
	
	.ipsTable th a {
		color: inherit;
	}
	
.ipsTable th:not( .ipsMatrixHeader ), .ipsTable td {
	vertical-align: middle;
	white-space: nowrap;
}

	.ipsTable td.ipsTable_wrap, .ipsTable td.ipsMatrix_rowTitle {
		white-space: normal;
		word-wrap: break-word;
		max-width: 500px;
	}

	.ipsTable th.ipsPos_top, .ipsTable td.ipsPos_top {
		vertical-align: top;
	}

.ipsTable td {
	padding: 7px;
	border-bottom: 1px solid rgba(0,0,0,0.01);
}

.ipsTable_zebra tbody tr:nth-child( even ):not(.ipsTable_highlight):not(.ipsModerated) {
	background: rgb( var(--theme-area_background_light) );
}

.ipsTable_zebra.ipsTable td {
	border-bottom: 0;
}
	
.ipsTable tr[data-tableClickTarget]:hover {
	background: rgb( var(--theme-area_background_light) ) !important;
	cursor: pointer;
}
.ipsTable code {
	cursor: text !important;
}
	
.ipsTable_highlight {
	background: rgb( var(--theme-selected) );
}

/* Column sizes */
.ipsTable td.ipsTable_icon {
	width: 65px;
	text-align: center;
}

.ipsTable td.ipsTable_controls {
	width: 120px;
}

/* Sortables */
.ipsTable_sortable {
	position: relative;
}

.ipsTable_sortable:hover {
	background: rgba( var(--theme-text_dark), 0.06 );
	cursor: pointer;
}

	.ipsTable_sortable:hover:after {
		opacity: 0.3;
	}

.ipsTable_sortable a {
	display: block;
	position: relative;
}

.ipsTable_sortIcon {
	display: block;
	position: absolute;
	top: 50%;
	margin-top: -8px;
}
html[dir=&quot;ltr&quot;] .ipsTable_sortIcon {
	right: -10px;
}
html[dir=&quot;rtl&quot;] .ipsTable_sortIcon {
	right: auto;
	left: -10px;
}

.ipsTable_sortable .ipsTable_sortIcon:after {
	font-family: 'FontAwesome';
	display: block;
	color: rgb( var(--theme-text_dark) );
	opacity: 0.15;
}

.ipsTable_sortable.ipsTable_sortableDesc .ipsTable_sortIcon:after {
	content: '\f0d7';
}

.ipsTable_sortable.ipsTable_sortableAsc .ipsTable_sortIcon:after {
	content: '\f0d8';
}

.ipsTable_sortable.ipsTable_sortableActive {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
}

	.ipsTable_sortable.ipsTable_sortableActive .ipsTable_sortIcon:after {
		color: inherit;
		opacity: 1;
	}

/* Matrices */
.ipsTable.ipsMatrix thead th {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	text-align: center;
}

.ipsTable.ipsMatrix .ipsMatrix_subHeader {
	background: rgb( var(--theme-area_background) );
	color: rgb( var(--theme-text_dark) );
	padding: 15px;
	font-size: {fontsize=&quot;base&quot;};
	font-weight: normal;
}

.ipsTable.ipsMatrix td {
	padding: 15px;
}

.ipsTable.ipsMatrix .ipsMatrix_error {
	background: rgb( var(--theme-moderated) );
}

.ipsTable.ipsMatrix .ipsButton[data-action] {
	line-height: 18px;
	padding: 0 5px;
	font-size: {fontsize=&quot;x_small&quot;};
}

.ipsTable.ipsMatrix .ipsMatrix_highlighted {
	background: rgb( var(--theme-selected) );
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="tabs.css"><![CDATA[/* Tab bars... bars of tabs, see? */
.ipsTabs {
	--ipsTabs--padding: 10px;
	--ipsTabs-responsive--height: 48px;
	background: rgb( var(--theme-tab_background) );
	color: #fff;
	padding: var(--ipsTabs--padding);
	padding-bottom: 0;
	margin: 0;
	list-style: none;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

	/* Remove radius on certain tabs */
	.ipsType_sectionTitle:not(.ipsHide) + .ipsTabs{
		border-radius: 0;
	}
	
	/* action='expandTabs' is used to open tab menus on responsive views. We hide by default */
	.ipsTabs [data-action='expandTabs'] {
		display: none !important;
	}

	ul.ipsTabs,
	.ipsTabs [role="tablist"] {
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
	}

	.ipsTabs > li,
	.ipsTabs [role="tablist"] > li{
		flex: 0 1 auto;
		min-width: 0;
	}

		/* Stretch tabs to evenly occupy the full space */
		.ipsTabs.ipsTabs_stretch [role="tablist"]{
			flex-wrap: nowrap;
		}
		.ipsTabs.ipsTabs_stretch [role="tablist"] > li {
			flex: 1 1 100%;
		}

	.ipsTabs_small {
		--ipsTabs--padding: 4px;
	}

.ipsTabs_item {
	display: block;
	white-space: nowrap;
	line-height: 3;
	font-size: {fontsize="medium"};
	padding: 0 var(--sp-5);
	text-overflow: ellipsis;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--radius-1) var(--radius-1) 0 0;
}

	.ipsTabs_item:not( .ipsHide ) {
		display: block !important;
	}

	.ipsTabs_item,
	a.ipsTabs_item{
		color: inherit;
	}

	.ipsTabs_item.ipsTabs_itemDisabled {
		opacity: 0.6;
		font-style: italic;
		pointer-events: none;
	}

		.ipsTabs.ipsTabs_stretch.ipsTabs_small .ipsTabs_item {
			padding: 0 10px;
			text-align: center;
		}

	.ipsTabs.ipsTabs_small .ipsTabs_item {
		font-size: {fontsize="x_small"};
		line-height: 2.83;
		margin: 0;
	}

	.ipsTabs_activeItem {
		background: rgb( var(--theme-area_background_reset) );
		color: rgb( var(--theme-text_dark) ) !important;
		font-weight: bold;
	}

	.ipsTabs_item:not( .ipsTabs_activeItem ):hover {
		background: rgba(255,255,255,0.05);
	}

	@media (min-width: 768px){
		.ipsTabs_withIcons .ipsTabs_item {
			line-height: 24px;
			padding: 8px 15px;
			min-width: 125px;
		}
	}

	.ipsTabs_withIcons .ipsTabs_item {
		text-align: center;
	}

		.ipsTabs_withIcons .ipsTabs_item i {
			font-size: 20px;
			display: block;
			margin: 0 auto;
			text-align: center;
		}

.ipsTabs_dummyItem {
	background: #4e5b62;
	color: #fff;
}

.ipsTabs_panel {
	height: 100%;
	background: rgb( var(--theme-area_background_reset) );
}

	/* Remove the background from .ipsTabs_panel in profiles and Q&A forums since a background is assigned by .ipsBox */
	#elUserContent .ipsTabs_panel,
	#elQuestionsTabsContent .ipsTabs_panel{
		background: none;
	}

/* 'Contained' tabs with a border */
.ipsTabs_panels.ipsTabs_contained {
	border: 1px solid rgb( var(--theme-area_background) );
	border-top-width: 0;
	/* Future-proof tabbed content from breaking on a dark background. Helps to fix #2639 */
	background-color: rgb( var(--theme-area_background_reset) );
}

	.ipsTabs_panels.ipsTabs_contained .ipsTabs_panel {
		padding: var(--sp-5);
	}

		.ipsTabs_panels.ipsTabs_contained .ipsTabs_panel .ipsTabs_pullOut {
			margin: calc( var(--sp-5) * -1 );
		}

/*.ipsTabs.ipsTabs_contained {
	padding: 0;
	border: 1px solid rgb( var(--theme-area_background) );
	border-bottom-width: 0px;
}*/

.ipsTabs_loadingContent {
	min-height: 150px;
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="tags.css"><![CDATA[/* Tag lists & prefixes */
.ipsType_pageTitle + .ipsTags{
	margin-top: 8px;
}

.ipsTags_inline {
	display: inline-block;
	vertical-align: middle;
}

	/* Show inline tags as a block all the time on mobile */
	@media screen and (max-width: 767px) {
		.ipsTags_inline {
			display: block;
		}
	}

html[dir="ltr"] .ipsTags > li {
	margin-right: 0;
}
html[dir="rtl"] .ipsTags > li {
	margin-left: 0;
}

.ipsTags li {
	position: relative;
	display: inline-block;
	vertical-align: top;
}

/*html[dir="ltr"] .ipsTags li:first-child .ipsTag {
	margin-left: 8px;
}
html[dir="rtl"] .ipsTags li:first-child .ipsTag {
	margin-right: 8px;
}*/

	html[dir="ltr"] .ipsTags li.ipsTags_edit:not( :only-child ) a {
		margin-left: 5px;
	}
	html[dir="rtl"] .ipsTags li.ipsTags_edit:not( :only-child ) a {
		margin-right: 5px;
	}

.ipsTags .ipsTag, .ipsTag_prefix {
	background: rgb( var(--theme-tag) );
	color: rgb( var(--theme-tag_font) ) !important; /* important required to override title coloring */
	font-size: 11px;
	vertical-align: middle;
	line-height: 20px;
	padding: 0 12px;
	margin: 0 2px 0 2px;
	display: inline-block;
	border-radius: 50px;
	letter-spacing: 0;
	font-weight: normal;
}

	.ipsTags .ipsTag{
		vertical-align: top;
	}

	.ipsTags .ipsTag > span, .ipsTag_prefix > span {
		display: block;
		max-width: 250px;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}
	
	.ipsTags .ipsTag:hover {
		opacity: .7;
	}

	/* If a gap is already specified, don't add more margin to each tag */
	.ipsApp .ipsTags[class*="ipsGap"] .ipsTag {
		margin: 0;
	}

	/* Search results */
	.ipsTags a mark, .ipsTag_prefix mark {
		background: #fff !important;
		border-bottom: none;
	}

html[dir="ltr"] .ipsTags > li:first-child .ipsTag {
	margin-left: 0;
}
html[dir="rtl"] .ipsTags > li:first-child .ipsTag {
	margin-right: 0;
}

/* Tag management stuff */
[dir='ltr'] .ipsTags_deletable .ipsTag {
	padding-right: 24px;
}
[dir='rtl'] .ipsTags_deletable .ipsTag {
	padding-left: 24px;
}

.ipsTag_remove {
	color: rgb( var(--theme-tag_font) ) !important;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	line-height: 14px;
	font-size: 13px;
	transition: 0.1s all linear;
	border-radius: 50px;
}

	.ipsTag_remove::before{
		content: '';
		position: absolute; top: 0; left: 0; right: 0; bottom: 0;
		border-radius: inherit;
		background-color: rgb( var(--theme-area_background_reset) );
		opacity: 1;
		z-index: -1;
	}

html[dir="ltr"] .ipsTag_remove {
	right: 4px;
}
html[dir="rtl"] .ipsTag_remove {
	left: 4px;
}

.ipsTag_remove:hover::before {
	opacity: .3
}

.ipsTags_edit .ipsButton_veryVerySmall {
	line-height: 15px;
    height: 18px;
    margin-top: -3px;
}

/* Prefix: shown before titles on content items */
.ipsTag_prefix {
	background: rgb( var(--theme-prefix) );
	color: #fff !important;
}
	/*.ipsContained_container .ipsTag_prefix {
		display: inline-block;
	}*/]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="toolbox.css">/* Toolboxes are side panels, used for things like sidebar manager and easy mode themes */
.ipsApp .ipsToolbox {
	background: #212223;
	color: #fff;

	--form-field--borderColor: rgba(255,255,255,0.05);
	--form-field--borderHoverColor: {hextorgb=&quot;#fff&quot; opacity=&quot;0.3&quot;};
	--form-field--focusShadow: {hextorgb=&quot;#fff&quot; opacity=&quot;0.25&quot;} 0px 0px 0px 3px;
	--form-field--focusBorder: {hextorgb=&quot;#fff&quot; opacity=&quot;0.5&quot;};
}

	.ipsToolbox .ipsType_light{
		color: inherit;
		opacity: .7;
	}
	
	.ipsApp .ipsToolbox a:not( .ipsButton ) {
		color: inherit;
		text-decoration: underline;
	}
	.ipsApp .ipsToolbox .ipsToolbox_title {
		margin-bottom: 15px;
	}

	.ipsApp .ipsToolbox .ipsToolbox_sectionTitle {
		background: #000;
		padding: 10px 15px;
		font-weight: normal;
		border-radius: 4px;
	}

	.ipsApp .ipsToolbox input, .ipsApp .ipsToolbox select,
	.ipsApp .ipsToolbox textarea {
		background-color: rgba(255,255,255,0.1);
		color: inherit;
	}

	.ipsApp .ipsToolbox select {
		background-image: url( &quot;{resource=&quot;select_dropdown.png&quot; app=&quot;core&quot; location=&quot;global&quot;}&quot; );
		width: 100%;
		max-width: 350px;
	}

		.ipsApp .ipsToolbox option {
			background-color: rgba(0,0,0,0.8);
		}

	.ipsApp .ipsToolbox input[type=number] {
		width: 100%;
		max-width: 350px;
	}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="framework" css_name="typography.css"><![CDATA[/* HEADINGS */

{{if theme.headline_font != 'default'}}
.ipsType_pageTitle,
.ipsType_sectionTitle,
.ipsType_secondaryTitle,
.ipsType_sectionHead,
.ipsType_minorHeading {
		font-family: "{theme="headline_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
{{endif}}

/* ======================================================== */
/* Page title: the large text shown at the top of pages */
.ipsType_pageTitle {
	font-size: {fontsize="2x_large"};
	font-weight: bold;
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 0;
	color: rgb( var(--theme-text_dark) );
}

	.ipsType_pageTitle .ipsButton{
		letter-spacing: 0px;
	}

	.ipsType_pageTitle > .fa {
		font-size: {fontsize="large"};
	}

	.ipsType_pageTitle a:not( .ipsBadge ):not( .ipsButton ):not( .ipsType_linkInherit ) {
		color: inherit;
	}

/* ======================================================== */
/* Section title: formerly known as main title, the bar separating sections */
.ipsType_sectionTitle {
	font-size: {fontsize="base"};
	line-height: 1;
	font-weight: bold;
	padding: var(--sp-4) var(--sp-5);
	margin: 0;
	background: rgb( var(--theme-section_title) );
	color: rgb( var(--theme-section_title_font) );
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
	border-bottom: 1px solid rgba( var(--theme-text_light), 0.15 );
}
	
	a.ipsType_sectionTitle, .ipsType_sectionTitle a {
		color: rgb( var(--theme-section_title_font) );
	}

	.ipsType_sectionTitle .ipsButton {
		position: relative;
		top: -5px;
	}

		.ipsType_sectionTitle .ipsButton.ipsButton_veryVerySmall {
			top: -2px;
		}

	.ipsType_sectionTitle > .ipsType_light {
		opacity: 0.6;
	}

/* ======================================================== */
/* Secondary title: a secondary version of above, for sub-sections */
.ipsType_secondaryTitle {
	font-size: {fontsize="small"};
	font-weight: 400;
	padding: 10px 15px 10px 15px;
	margin-top: 0;
	border-radius: var(--radius-1) var(--radius-1) 0 0;
	background: rgb( var(--theme-secondary_title) );
	color: rgb( var(--theme-secondary_title_font) );
}

	a.ipsType_secondaryTitle, .ipsType_secondaryTitle a {
		color: rgb( var(--theme-secondary_title_font) );
	}

/* ======================================================== */
/* Section heading: a text-based heading for smaller sections */
.ipsType_sectionHead {
	font-size: {fontsize="large"};
	color: rgb( var(--theme-text_dark) );
	line-height: {fontsize="2x_large"};
	font-weight: bold;
	display: inline-block;
	margin: 0;
}

/* ======================================================== */
/* Minor heading: used in miscellanious situations */
.ipsType_minorHeading {
	color: rgb( var(--theme-text_light) );
	text-transform: uppercase;
	font-size: {fontsize="x_small"};
	margin: 0;
}

/* ======================================================== */
/* ALIGNMENT */
.ipsType_center {
	text-align: center; 
}

.ipsType_left {
	text-align: left; 
}
html[dir="rtl"] .ipsType_left {
	text-align: right; 
}

.ipsType_right { 
	text-align: right; 
}
html[dir="rtl"] .ipsType_right {
	text-align: left; 
}
.ipsType_justify {
	text-align: justify;
}

/* ======================================================== */
/* MISC */
.ipsType_bold {
	font-weight: bold;
}

.ipsType_semiBold {
	font-weight: 500;
}

.ipsType_unbold {
	font-weight: normal;
}

.ipsType_monospace {
	font-family: monospace;
}

.ipsType_noBreak { 
	white-space: nowrap !important; 
}

.ipsType_noUnderline {
	text-decoration: none !important;
}

.ipsType_withHr {
	display: flex;
	align-items: center;
}

	.ipsType_withHr:after {
		content: '';
		border-top: 1px solid rgba( var(--theme-text_dark), 0.1 );
		height: 0;
		flex-grow: 1;
	}

	html[dir="ltr"] .ipsType_withHr:after {
		margin-left: 10px;
	}
	html[dir="rtl"] .ipsType_withHr:after {
		margin-right: 10px;
	}

.ipsType_resetLh {
	line-height: 1;
}

/* This class sometimes contains truncated text. A max-width is necessary for the text to truncate */
.ipsContained_container{
	max-width: 100%;
}

/* 09/20/16 - Chrome on Windows breaks non-english characters in a word. I traced it back
to the combination of word-break and word-wrap properties. After extensive testing, all modern
browsers appear to work with just word-wrap: break-word, so I have removed the word-break property.
See: r12524 & r12586 & r12382 */
.ipsType_break {
	word-wrap: break-word;
	word-break: break-word;
}

.ipsType_richText {
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.6;
}

/* Prevent long content such as code blocks from stretching the layout */
.ipsType_richText.ipsContained,
[data-role="editorComposer"]{
	display: table;
	table-layout: fixed;
	width: 100%;
}

/* 02/10/16 - Fixes an issue with Android 4, where links would not break. See r12945 */
@media screen and (max-width: 767px) {
	_:-webkit-full-screen, :root .ipsType_break { 
		word-break: break-word;
	}
	_:-webkit-full-screen, :root .ipsType_richText {
		word-break: break-word;
	}
}
	
	.ipsType_normal.ipsType_richText {
		line-height: 1.6;
	}

		{{if (int) settings.editor_paragraph_padding === 0}}
			.ipsType_richText p:not( [class] ) {
				margin-top: 0;
				margin-bottom: 0;
			}
		{{endif}}

	.ipsType_richText a,
	.ipsApp [data-ipsEditor] .cke_wysiwyg_div a {
		text-decoration: underline;
	}

		.ipsType_richText .ipsForm a {
			text-decoration: none;
		}
	
	/* In some places (like in Pages) we use <ul>s for structural things which aren't really lists, which
		causes the bullet points to be one level "deeper" than thewy really are. This fixes that */
	.ipsType_richText > ul:not([class]) { list-style-type: disc; }
	.ipsType_richText > ul:not([class]) ul { list-style-type: circle; }
	.ipsType_richText > ul:not([class]) ul ul { list-style-type: square; }

/* Makes links go the color of surrounding text */
a.ipsType_blendLinks, .ipsType_blendLinks a { 
	color: inherit; 
}

/* Add brand color to links */
.ipsType_brandedLinks a,
a.ipsType_brandedLink{
	color: rgb( var(--theme-brand_primary) );
}

.ipsType_reset {
	margin: 0;
}

/* I LIKE SHOUTING */
.ipsType_uppercase {
	text-transform: uppercase;
}

.ipsType_noLinkStyling, .ipsType_noLinkStyling:hover {
	text-decoration: none !important;
	color: rgb( var(--theme-text_color) );
}

/* Highlighted words (e.g. search results) */
mark {
    background: rgba( var(--theme-featured), 0.1 );
    padding: 0 5px;
    color: rgb( var(--theme-featured) ) !important;
    font-weight: inherit;
    display: inline-block;
    border-radius: var(--radius-1);
}

	mark.ipsMatchWarning {

		color: var(--intermediate-dark) !important;
	}

/* ======================================================== */
/* SIZING */
.ipsType_small {
	font-size: {fontsize="x_small"};
}

	.ipsType_small:not( .ipsType_richText ){
		line-height: 1.45;
	}

.ipsType_medium {
	font-size: {fontsize="small"};
}
	
	.ipsType_medium:not( .ipsType_richText ) {
		line-height: 1.53;
	}

.ipsType_normal {
	font-size: {fontsize="medium"};
}
	
	.ipsType_normal:not( .ipsType_richText ){
		line-height: 1.5;
	}

.ipsType_large {
	font-size: {fontsize="base"};
}

	.ipsType_large:not( .ipsType_richText ){
		line-height: 1.25;
	}

.ipsType_veryLarge {
	font-size: {fontsize="36"};
	line-height: 1.18;
	font-weight: bold;
	letter-spacing: -0.9px;
	color: rgb( var(--theme-text_dark) );
}

.ipsType_huge {
	font-size: {fontsize="64"};
	line-height: 1.11;
	font-weight: 300;
	color: rgb( var(--theme-text_dark) );
}

/* ======================================================== */
/* COLORS */
.ipsType_veryLight {
	color: rgb( var(--theme-text_very_light ) );
}

.ipsType_light {
	color: rgb( var(--theme-text_light) );
}

.ipsType_dark {
	color: rgb( var(--theme-text_dark) );
}

.ipsType_warning, .ipsType_negative {
	color: var(--negative-dark);
}

.ipsType_spammer {
	color: var(--negative-dark);
}

.ipsType_issue {
	color: #d69625;
}

.ipsType_success, .ipsType_positive {
	color: var(--positive-dark);
}

.ipsType_neutral {
	color: rgb( var(--theme-text_light) );
}

.ipsType_code {
	background: rgb( var(--theme-area_background_light) );
	padding: 5px;
	border: 1px solid rgb( var(--theme-area_background) );
	border-radius: var(--radius-1);
	color: #d72f42;
}

/* ======================================================== */
/* RICH TEXT */
.ipsType_richText > p:first-child {
	margin-top: 0;
}

.ipsType_richText > p:last-child {
	margin-bottom: 0;
}

.ipsType_richText img {
	max-width: 100%;
}

/* ======================================================== */
/* TRUNCATED TEXT */
.ipsTruncate {
	overflow: hidden;
}

	.ipsTruncate.ipsTruncate_line {
		white-space: nowrap;
		text-overflow: ellipsis;
		display: block;
		width: 100%;
	}

	a.ipsTruncate.ipsTruncate_line,
	span.ipsTruncate.ipsTruncate_line {
		display: inline-block;
		vertical-align: middle;
	}

	/* Use the clamp method for these situations since they're stretchy table-cells */
	.ipsWidget .ipsDataItem_main .ipsTruncate_line{
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
		white-space: normal;
	}

.ipsTruncate + .ipsTruncate_more {
	display: block;
	text-decoration: none !important;
	cursor: pointer;
	padding: 12px;
	text-align: center;
	margin-bottom: -15px;
	font-size: {fontsize="small"};
}

	.ipsTruncate > .ipsTruncate_more span {
		z-index: 40;
	}

.ipsType_pageTitle [data-role="editableTitle"]:hover,
.ipsType_pageTitle[data-role="editableTitle"]:hover,
.ipsType_editable:hover {
	background: rgb( var(--theme-selected) );
	color: rgb( var(--theme-text_dark) );
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="members" css_name="group.css"><![CDATA[.cGroupPermissions.ipsTable.ipsMatrix tr:not( .ipsMatrix_empty ) td {
	padding: 0;
}

	.cGroupPermissions.ipsTable.ipsMatrix tr:not( .ipsMatrix_empty ) td > div {
		padding: 10px;
		border-left: 1px solid rgba(0,0,0,0.1);
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="members" css_name="notifications.css">.ipsApp .cMemberNotifications .ipsMatrixHeader,
.ipsApp .cMemberNotifications td {
	text-align: left;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="members" css_name="restrictions.css"><![CDATA[#elRestrictions_content ul {
	list-style: none;
}
	
	#elRestrictions_content li {
		margin-bottom: 5px;
	}

	#elRestrictions_content .acpRestrictions_disabled {
		opacity: 0.5;
		pointer-events: none;
	}

#elRestrictions_root {
	margin: 0;
	padding: 0;
}
	
	/*#elRestrictions_root > li:nth-child( odd ) {
		background: #f9f9f9;
	}*/

	#elRestrictions_root > li {
		padding: 15px 15px 15px 30px;
		border-bottom: 1px solid #f0f0f0;
	}
	html[dir="rtl"] #elRestrictions_root > li {
		padding: 15px 30px 15px 15px;
	}

	#elRestrictions_root > li > ul > li {
		margin-bottom: 10px;
	}

		#elRestrictions_root > li > ul > li:last-child {
			margin-bottom: 0;
		}

[data-role='massToggle'], [data-role='toggle'] {
	opacity: 0;
	transition: all 0.2s linear;
}

.acpRestrictions_header h2,
.acpRestrictions_subHeader h3 {
	display: inline;
	margin: 0;
}

html[dir="ltr"] .acpRestrictions_header + ul {
	padding-left: 15px;
}
html[dir="rtl"] .acpRestrictions_header + ul {
	padding-right: 15px;
}

.acpRestrictions_header > label {
	font-size: 15px;
}

.acpRestrictions_subHeader {
	font-weight: bold;
	margin: 10px 0;
}
	
	.acpRestrictions_subHeader h3 {
		font-size: 14px;
		cursor: pointer;
	}

	.acpRestrictions_subHeader:hover [data-role='massToggle'],
	.acpRestrictions_header:hover [data-role='toggle'] {
		opacity: 1;
	}

.acpRestrictions_subHeader h3:before {
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 17px;
}
html[dir="ltr"] .acpRestrictions_subHeader h3:before {
	content: '\f0da';
	margin-right: 5px;
}
html[dir="rtl"] .acpRestrictions_subHeader h3:before {
	content: '\f0d9';
	margin-right: 5px;
}

html[dir="ltr"] .acpRestrictions_closed.acpRestrictions_subHeader h3:before {
	content: '\f0da';
}
html[dir="rtl"] .acpRestrictions_closed.acpRestrictions_subHeader h3:before {
	content: '\f0d9';
}

.acpRestrictions_open.acpRestrictions_subHeader h3:before {
	content: '\f0d7';
}

.acpRestrictions_closed.acpRestrictions_subHeader + ul {
	display: none;
}

/* Listing badges */
.ipsBadge.ipsBadge_label {
	min-width: 60px;
	text-align: center;
	margin-right: 8px;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="members" css_name="view.css"><![CDATA[/* TAB BAR */
.acpMemberView_tabBar {
	--ipsTabs--padding: 15px;
	background: var(--c3);
	color: var(--a--color);
	font-weight: bold;
	text-align: center;
}

	.acpMemberView_tabBar .ipsTabs_item {
		font-size: 15px;
		min-width: 200px;
		color: inherit;
		background-color: var(--background);
		background-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0));
	}

			.ipsDarkMode .acpMemberView_tabBar .ipsTabs_item{
				background-image: none;
			}

		.acpMemberView .ipsTabs_item:not(.ipsTabs_activeItem) {
			color: var(--c5) !important;
			background: transparent;
		}

.acpMemberView_tabBarPanel {
	background: transparent;
}

/* SMALL TABS */
.acpMemberView_layoutMain .ipsTabs.ipsTabs_small .ipsTabs_item {
	border-top: 0;
}

/* LAYOUT CLASSES */
.acpMemberView_layoutWrap {
	display: grid;
	grid-template-columns: [main] auto [history] 350px [end];
}

.acpMemberView_layoutMain {
	grid-column-start: main;
	grid-column-end: history;
}

.acpMemberView_layoutHistory {
	grid-column-start: history;
	grid-column-end: end;
}

/* LEFT COLUMN */
.acpMemberView_coverPhoto {
	position: relative;
	height: 90px;
}

	.acpMemberView_coverPhoto .acpMemberView_editButton {
		position: absolute;
		top: 10px;
		right: 10px;
	}

.acpMemberView_groups img {
	max-width: 100%;
}

.acpMemberView_photo {
	position: relative;
	text-align: center;
	margin-top: -45px;
}

	.acpMemberView_photo .acpMemberView_editButton {
		position: absolute;
		bottom: 0;
		left: 50%;
		margin-left: 20px;
	}

.acpMemberView_username {
	font-size: 30px;
}

.acpMemberView_username,
.acpMemberView_email {
	display: flex;
	align-items: stretch;
	flex-direction: row;
}

	.acpMemberView_username > span:last-child,
	.acpMemberView_email > span:last-child {
		margin-left: 5px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.acpMemberView_username > span:first-child,
	.acpMemberView_email > span:first-child {
		flex-grow: 1;
	}


.acpMemberView_map {
	background: #EEE5C9;
	opacity: 0.3;
	height: 100px;
}

.acpMemberView_integrations_text.ipsType_normal {
	line-height: 1.3;
}

.acpMemberView_integrations_icon {
	font-size: 28px;
	line-height: 34px;
}

/* MAIN COLUMN */
.acpMemberView_countStat {
	padding: 10px 45px 10px 10px;
	border-radius: 4px;
	display: block;
	position: relative;
	background: #d7dce4;
	background: var(--c4);
	color: #1e3343 !important;
	color: var(--c8) !important;
}

	.acpMemberView_countStat .ipsType_minorHeading {
		color: inherit;
		opacity: 0.8;
	}

	/* Only show dropdown if it's a link */
	a.acpMemberView_countStat:before {
		content: '';
		position: absolute;
		right: 40px;
		top: 10px;
		bottom: 10px;
		border-left: 1px solid currentColor;
		opacity: .2;
	}

	a.acpMemberView_countStat:after {
		content: '\f0d7';
		font-family: 'FontAwesome';
		position: absolute;
		right: 18px;
		top: 22px;
	}

.acpMemberView_progress {
	width: 100%;
	height: 14px;
}
	.acpMemberView_progress.ipsAttachment_progress > span {
		height: 12px;
	}

.acpMemberView_quotaNumber {
	font-size: 18px;
}

.acpMemberView_percentage {
	font-size: 22px;
	margin-top: 14px;
}

/* MISC */
.acpMemberView_editButton {
	background: #edf0f5;
	color: #1e3343 !important;
	border-radius: 3px;
	padding: 1px 5px 2px;
	font-size: 14px;
	height: 21px;
	line-height: 17px;
	text-align: center;
}

.acpMemberView_requestUnblockButton {
	background: var(--negative-light);
	color: var(--negative-dark) !important;
	height: 100%;
	display: inline-block;
}

		/* Active */
		.acpMemberView_editButton:active,
		.acpMemberView_editButton_active {
			background: #1e3343;
			color: #fff !important;
		}

	.acpMemberView_editButton .fa {
		font-size: 11px;
		margin-top: -1px;
		position: relative;
	}

	.acpMemberView_editButton .fa-caret-down {
		margin-left: 4px;
	}

/* WARNINGS */
.acpMemberView_message {
	border-radius: 5px;
}

.acpMemberView_message a.ipsButton {
	margin-top: 0;
}

html[dir="ltr"] .acpMemberView_message {
	padding: 20px 20px 20px 85px;
}
html[dir="rtl"] .acpMemberView_message {
	padding: 20px 85px 20px 20px;
}

.acpMemberView_message:before {
	font-size: 47px;
}

html[dir="ltr"] .acpMemberView_message:before {
	left: 25px;
}
	
/* HISTORY PANEL */
#elMemberHistory {
	height: 100%;
}

	#elMemberHistory .ipsType_normal {
		font-size: 13px;
		line-height: 18px;
	}

	#elMemberHistory .ipsType_sectionTitle {
		background: #8295a7;
		background: var(--c6);
		padding: 10px 15px;
		color: #fff;
		font-weight: 300;
		box-shadow: none;
		margin: 5px;
		border-radius: 5px;
	}

		#elMemberHistory .ipsType_sectionTitle a{
			color: inherit;
		}


html[dir="ltr"] .cMemberHistory {
	border-left: 3px solid #2E3D49;
	margin-left: 10px;
}
html[dir="rtl"] .cMemberHistory {
	border-right: 3px solid #2E3D49;
	margin-right: 10px;
}
	
	html[dir="ltr"] #elMemberHistory .cMemberHistory {
		border-left-color: #d7dce4;
		border-left-color: var(--c4);
	}
	html[dir="rtl"] #elMemberHistory .cMemberHistory {
		border-right-color: #d7dce4;
		border-right-color: var(--c4);
	}

html[dir="ltr"] .cMemberHistory li {
	margin: 0 0 20px -24px;
}
html[dir="rtl"] .cMemberHistory li {
	margin: 0 -24px 20px 0;
}

.cMemberHistory_date {
	background: #2E3D49;
	color: #fff;
	display: inline-block;
	font-size: inherit;
	width: 100%;
	font-weight: bold;
	margin-bottom: 10px !important;
}
html[dir="ltr"] .cMemberHistory_date {
	padding: 10px 15px 10px 7px;
	margin-left: 0px !important;
	border-radius: 0 20px 20px 0;
}
html[dir="rtl"] .cMemberHistory_date {
	padding: 10px 7px 10px 15px;
	margin-right: 0px !important;
	border-radius: 20px 0 0 20px;
}

	#elMemberHistory .cMemberHistory_date {
		background: #d7dce4;
		background: var(--c4);
		color: inherit;
	}
	html[dir="ltr"] #elMemberHistory .cMemberHistory_date {
		padding: 6px 15px 6px 7px;
	}
	html[dir="rtl"] #elMemberHistory .cMemberHistory_date {
		padding: 6px 7px 6px 15px;
	}

.cMemberHistory_info {
	position: relative;
	margin-left: 45px;
	padding-top: 3px;
}
html[dir="ltr"] .cMemberHistory_info {
	margin-left: 45px;
}
html[dir="rtl"] .cMemberHistory_info {
	margin-right: 45px;
}

	.cMemberHistory_info:before {
		width: 11px;
		height: 11px;
		border-radius: 15px;
		content: '';
		display: block;
		background: #2E3D49;
		position: absolute;
		top: 7px;
	}
	html[dir="ltr"] .cMemberHistory_info:before {
		left: -28px;
	}
	html[dir="rtl"] .cMemberHistory_info:before {
		right: -28px;
	}

		#elMemberHistory .cMemberHistory_info:before {
			background: #d7dce4;
			background: var(--c4);
		}

#memberHistoryFilters {
	display: block;
	height: 100%;
}

[data-role="historyDisplay"] {
	min-height: 400px;
}

/* Notifications table */
.ipsApp .cMemberNotifications .ipsDataItem_main{
	display: flex !important;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
}

/* WRAPPER */
@media screen and (min-width: 768px) {
	.acpMemberView_layoutMain .ipsColumn_veryWide > .ipsPad {
		padding-right: 0;
	}
	.acpMemberView_layoutMain .ipsColumn_fluid > .ipsPad {
		padding-left: 0;
	}
}

@media screen and (max-width: 1490px) {
	.acpMemberView_stats > .ipsGrid > .ipsGrid,
	.acpMemberView_quotas > .ipsGrid_span6 {
		display: block;
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 1550px) {
	.acpMemberView_stats > .ipsGrid > .ipsGrid_span6 {
		width: 100%;
		float: none;
	}

	html[dir="ltr"] .acpMemberView_stats > .ipsGrid > .ipsGrid_span3 {
		width: 48.93617021276595%;
		margin-left: 0;
	}

	html[dir="ltr"] .acpMemberView_stats > .ipsGrid > .ipsGrid_span3 + .ipsGrid_span3 {
		margin-left: 2.127659574468085%;
	}

	html[dir="rtl"] .acpMemberView_stats > .ipsGrid > .ipsGrid_span3 {
		width: 48.93617021276595%;
		margin-right: 0;
	}

	html[dir="rtl"] .acpMemberView_stats > .ipsGrid > .ipsGrid_span3 + .ipsGrid_span3 {
		margin-right: 2.127659574468085%;
	}

	.acpMemberView_layoutWrap {
		grid-template-columns: [main] auto [history] 300px [end];
	}

	.acpMemberView_layoutMain .ipsColumn_veryWide {
		width: 300px;
	}
}

@media screen and (max-width: 1250px) {
	.acpMemberView_layoutWrap {
		display: block;
	}

	.acpMemberView_layoutHistory {
		padding: 10px;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	.acpMemberView_layoutMain .ipsSpacer_bottom.ipsSpacer_double {
		margin-bottom: 15px;
	}

	.acpMemberView_tabBar ul[role="tablist"] > li {
		display: block;
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="promotion" css_name="advertisements.css">.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;} img {
	max-width: 300px;
	max-height: 100px;
}

.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;}Preview {
	border: 0px;
}
[data-pagecontroller=&quot;advertisements&quot;] [data-title=&quot;Preview&quot;] {
	white-space: normal;
}

.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;} .ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;}_large,
.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;} .ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;}_medium,
.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;} .ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;}_small {
	display: block !important;
	background: transparent !important;
	margin: 0 !important;
}

.ips{expression=&quot;mb_ucfirst(\IPS\SUITE_UNIQUE_KEY)&quot;}_tag {
	display: none !important;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="promotion" css_name="meta.css">#metatag_tags textarea {
	display: block;
}

	#metatag_tags td[data-col=&quot;content&quot;] {
		text-align: left;
	}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="badges.css">/* BOTH */
@media screen and (max-width: 979px) {
	/* Make the unread indicators larger on mobile */
	.ipsItemStatus:not( .ipsItemStatus_large ),
	.ipsItemStatus.ipsItemStatus_tiny,
	.ipsItemStatus.ipsItemStatus_small {
		vertical-align: initial;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	.ipsBadge.ipsBadge_icon {
		width: 19px;
		height: 19px;
		line-height: 19px;
		font-size: 11px;
	}

	.ipsBadge.ipsBadge_icon.ipsBadge_small {
		line-height: 18px;
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="blocks.css">/* PHONES */
@media screen and (max-width: 767px) {
	.ipsWidget .ipsTabs_small:target [role=&quot;tablist&quot;], 
	.ipsWidget .ipsTabs_small.ipsTabs_showMenu [role=&quot;tablist&quot;] {
		top: 0;
		left: 0;
		right: 0;
	}

	.ipsWidget .ipsTabs_small .ipsTabs_activeItem {
		border-bottom: 0;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="buttons.css">/* PHONES */
@media screen and (max-width: 767px) {
	html[dir=&quot;ltr&quot;] .ipsButtonBar.ipsPos_left .ipsButtonRow, 
	html[dir=&quot;ltr&quot;] .ipsButtonBar .ipsButtonRow:not( .ipsPos_right ) {
		margin: 4px;
	}

	.ipsButtonBar.ipsResponsive_hideDesktop {
		margin-top: 7px;
	}

	.ipsTabs_panel *:not( [data-controller=&quot;core.global.core.table&quot;] ) .ipsToolList {
		padding: 0;
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="buttons.css">/* PHONES */
@media screen and (max-width: 767px) {
	
	.ipsButtonBar [data-role='tablePagination'],
	.ipsButtonBar[data-role='tablePagination'] {
		clear: both;
	}
	
	.ipsButtonBar .ipsButtonRow + [data-role='tablePagination'] .ipsPagination {
		padding-top: var(--sp-2);
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="comments.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {

	html[dir="ltr"] .ipsComment_content,
	html[dir="ltr"] .ipsComment_subComments .ipsComment_content {
		margin-left: 0;
	}
	html[dir="ltr"] .ipsComment_content,
	html[dir="ltr"] .ipsComment_subComments .ipsComment_content {
		margin-right: 0;
	}

	html[dir="ltr"] .ipsComment_subComments {
		margin-left: 0;
		padding: 15px 0 0 0;
	}
	html[dir="rtl"] .ipsComment_subComments {
		margin-right: 0;
		padding: 15px 0 0 0;
	}

	.ipsComment_parent > .ipsComment > .ipsComment_content:before {
		display: none;
	}

	.ipsComment [data-role="commentContent"] {
		margin-bottom: 10px;
	}

	/* Recommended comments */
	.ipsRecommendedComments .ipsType_sectionHead {
		margin-top: 0;
	}

	.ipsComment_recommended .ipsColumn_narrow .ipsUserPhoto {
		float: left;
		margin-right: 7px;
	}

		.ipsComment_recommended .ipsColumn_narrow .ipsUserPhoto {
			width: 30px;
			height: 30px;
		}

	.ipsRecommendedComments .ipsColumn_medium,
	.ipsComment_recommended .ipsColumn_narrow {
		margin-bottom: 0 !important;
	}

	.ipsComment_recommended .ipsComment_meta {
		padding-top: 7px;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba( var(--theme-text_color), 0.1 );
	}

	.ipsComment_recommended .ipsType_richText {
		clear: both;
		margin-top: 15px;
	}

	html[dir="ltr"] .ipsComment_recommendedNote {
		margin-left: 5px;
	}
	html[dir="rtl"] .ipsComment_recommendedNote {
		margin-right: 5px;
	}

	.ipsTabs_panel .ipsRecommendedComments {
		/*margin: -7px -7px 7px -7px;*/
		margin: 0 0 7px 0;
	}

	.ipsComment_recommended hr.ipsHr {
		margin: 7px 0;
	}

	.ipsComment_recommendedFlag {
		transform: rotateY(180deg);
	}
	html[dir="ltr"] .ipsComment_recommendedFlag {
		right: -2px;
		left: auto;
	}
	html[dir="rtl"] .ipsComment_recommendedFlag {
		left: -2px;
		right: auto;
	}

	.ipsComment_toolWrap {
		position: absolute;	
	}
		html[dir="ltr"] .ipsComment_toolWrap {
			right: var(--sp-5);
		}
		html[dir="rtl"] .ipsComment_toolWrap {
			left: var(--sp-5);
		}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="compose.css"><![CDATA[/* BOTH */
@media screen and (max-width: 767px) {
	.ipsApp .ipsComposeArea .ipsToolList .ipsComposeArea_formControl {
		margin: var(--sp-3) !important;
		margin-top: 0 !important;
		display: inline-block;
		float: none !important;
		vertical-align: top;
	}

	/* Hide photo and arrow */
	.ipsComposeArea > .ipsUserPhoto,
	.ipsComposeArea_editor:before {
		display: none;
	}

	/* Make editor box take up whole width */
	html[dir="ltr"] .ipsComposeArea.ipsComposeArea_withPhoto .ipsComposeArea_editor,
	html[dir="ltr"] .ipsComposeArea.ipsComposeArea_withPhoto .ipsLiveActivity {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsComposeArea.ipsComposeArea_withPhoto .ipsComposeArea_editor,
	html[dir="rtl"] .ipsComposeArea.ipsComposeArea_withPhoto .ipsLiveActivity {
		margin-right: 0;
	}

		.ipsComposeArea.ipsComposeArea_withPhoto .ipsComposeArea_editor:before {
			display: none;
		}

	html[dir="ltr"] .ipsComposeArea_warning {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsComposeArea_warning {
		margin-right: 0;
	}

	.ipsComposeArea_dropZone .fa-paperclip {
		font-size: 24px;
		margin-top: var(--sp-1);
	}
	.ipsComposeArea_dropZone .fa-clipboard {
		font-size: 19px;
	}

	html[dir="ltr"] .ipsComposeArea_dropZone > div {
		margin-left: 30px;
	}
	html[dir="rtl"] .ipsComposeArea_dropZone > div {
		margin-right: 30px;
	}

	html[dir="ltr"] .ipsComposeArea_attachmentsInner {
		margin-left: -30px;
	}
	html[dir="rtl"] .ipsComposeArea_attachmentsInner {
		margin-right: -30px;
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="controlstrip.css">/* PHONES */
@media screen and (max-width: 767px) {

	.ipsControlStrip {
		float: none;
	}
	
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="data-lists.css"><![CDATA[/* DESKTOP */
@media screen and (max-width: 1200px) { 
	
	/* Hides the photo and makes the column narrower */
	.ipsDataItem_lastPoster {
		min-width: 160px;
	}

	.ipsDataItem_lastPoster li:first-child {
		display: none;
	}

		html[dir="ltr"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto li {
			margin: 0;
		}
		html[dir="rtl"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto li {
			margin: 0;
		}
}

/* BOTH */
@media screen and (max-width: 979px) {
	
	/* Reset data list styles */
	.ipsDataList.ipsDataList_reducedSpacing,
	.ipsDataList,
	.ipsDataList .ipsDataItem_icon,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon,
	.ipsDataList .ipsDataItem_main,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_main,
	.ipsDataList .ipsDataItem_stats,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_stats,
	.ipsDataList .ipsDataItem_lastPoster,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_lastPoster,
	.ipsDataList .ipsDataItem_generic,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_generic,
	.ipsDataList .ipsDataitem_modCheck,
	.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_modCheck {
		display: block;
		padding: 0;
		width: auto;
	}

	/* Main item */
	.ipsDataItem {
		padding: var(--sp-4) var(--sp-3);
	}

		.ipsDataList.ipsDataList_reducedSpacing .ipsDataItem {
			padding: var(--sp-3);
		}

	/* Icon */
	.ipsDataItem_icon {
		width: auto;
		padding-top: 0;
	}
	html[dir="ltr"] .ipsDataItem_icon {
		float: left;
		padding-left: 0;
	}
	html[dir="rtl"] .ipsDataItem_icon {
		float: right;
		padding-right: 0;
	}

		.ipsDataList_large .ipsDataItem_icon {
			min-width: 40px;
			padding-top: 0;
		}

			html[dir="ltr"] .ipsDataList_large .ipsDataItem_icon {
				padding-right: 0;
			}
			html[dir="rtl"] .ipsDataList_large .ipsDataItem_icon {
				padding-left: 0;
			}

		.ipsDataItem_icon br {
			display: none;
		}

		html[dir="ltr"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main,
		html[dir="ltr"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main + .ipsDataItem_stats {
			margin-left: var(--sp-8);
		}
		html[dir="ltr"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main + .ipsDataItem_stats {
			margin-right: 2.5em;
		}
		html[dir="rtl"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main,
		html[dir="rtl"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main + .ipsDataItem_stats {
			margin-right: var(--sp-8);
		}
		html[dir="rtl"] .ipsDataItem_icon:not( .ipsResponsive_hidePhone ):not( .ipsResponsive_hideTablet ) + .ipsDataItem_main + .ipsDataItem_stats {
			margin-left: 2.5em;
		}

		html[dir="ltr"] .ipsDataItem.ipsDataItem_responsivePhoto .ipsDataItem_main {
			margin-right: 50px;
		}
		html[dir="rtl"] .ipsDataItem.ipsDataItem_responsivePhoto .ipsDataItem_main {
			margin-left: 50px;
		}

		.ipsDataItem_icon .ipsItemStatus.ipsItemStatus_large {
			width: 30px;
			height: 30px;
			font-size: 13px;
		}

	/* Stats */
	.ipsDataItem_stats {
		display: block;
		min-width: 0;
		text-align: left;
		margin-top: 1px;
		color: rgb( var(--theme-text_light) );
		white-space: normal;
	}
	html[dir="rtl"] .ipsDataItem_stats {
		text-align: right;
	}

		.ipsDataItem_stats li, .ipsDataItem_stats dt, .ipsDataItem_stats dd {
			display: inline;
		}

		html[dir="ltr"] .ipsDataItem_stats li {
			margin-right: 10px;
		}
		html[dir="rtl"] .ipsDataItem_stats li {
			margin-left: 10px;
		}

		.ipsDataItem_statsLarge .ipsDataItem_stats_number {
			font-size: inherit;
		}

	html[dir="ltr"] .ipsDataItem_unread .ipsDataItem_main {
		border-left: 0;
	}
	html[dir="rtl"] .ipsDataItem_unread .ipsDataItem_main {
		border-right: 0;
	}

	/* Last poster */
	.ipsDataItem_lastPoster {
		display: none;
		min-width: 0;
		max-width: 100%;
	}

		.ipsDataItem_lastPoster.ipsDataItem_withPhoto {
			display: block !important;
			position: absolute;
			top: 18px !important;
		    padding: 0;
		}

		html[dir="ltr"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto {
			right: var(--sp-4) !important;
			text-align: right;
		}
		html[dir="rtl"] .ipsDataItem_lastPoster.ipsDataItem_withPhoto {
			left: var(--sp-4) !important;
			text-align: left;
		}

			html[dir] .ipsDataItem_lastPoster.ipsDataItem_withPhoto .ipsUserPhoto {
				margin: 0;
				width: 34px;
				height: 34px;
				float: none;
				display: block;
				margin: 0 auto;
			}

			.ipsDataItem_lastPoster.ipsDataItem_withPhoto li {
				display: none;
				margin: 0;
			}

			.ipsDataItem_lastPoster.ipsDataItem_withPhoto li:first-child,
			.ipsDataItem_lastPoster.ipsDataItem_withPhoto li:last-child {
				display: block;
			}

			.ipsDataItem_lastPoster.ipsDataItem_withPhoto li:last-child{
				font-size: 0;
			}

			.ipsDataItem_lastPoster.ipsDataItem_withPhoto li:last-child time:after {
				content: attr(data-short);
				font-size: {fontsize="11"};
				text-align: center;
				white-space: nowrap;
				display: block;
				padding-top: 4px;
			}

	/* Mod check */
	.ipsDataItem_modCheck {
		position: absolute;
		top: var(--sp-8);
		padding: 0;
	}
	html[dir="ltr"] .ipsDataItem_modCheck {
		left: 10px;
	}
	html[dir="rtl"] .ipsDataItem_modCheck {
		right: 10px;
	}

		/* Mod checkbox in Announcements */
		.cModCPAnnouncementRow .ipsDataItem_modCheck {
			position: static;
		}

	html[dir="ltr"] .ipsApp .ipsDataItem_icon + .ipsDataItem_main {
		padding-left: 0;
	}
	html[dir="rtl"] .ipsApp .ipsDataItem_icon + .ipsDataItem_main {
		padding-right: 0;
	}

	html[dir="ltr"] .ipsApp .ipsDataItem_withModCheck .ipsDataItem_main {
		padding-left: 25px;
	}
	html[dir="rtl"] .ipsApp .ipsDataItem_withModCheck .ipsDataItem_main {
		padding-right: 25px;
	}

	.ipsDataItem_modCheck .ipsCustomInput,
	.ipsDataItem:hover .ipsDataItem_modCheck .ipsCustomInput {
		opacity: 1;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {

	.ipsDataItem_subList li {
		width: 100%;
	}

	.ipsDataItem_subList li:after {
		content: '';
	}

	.ipsDataItem.ipsDataItem_loading {
		padding: 3px 15px;
	}

	html[dir="ltr"] .ipsDataItem_loading > div > span:first-child {
		right: 0;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:first-child {
		left: 0;
	}

	html[dir="ltr"] .ipsDataItem_loading > div > span:last-child {
		left: 25px;
		right: 60px;
	}
	html[dir="rtl"] .ipsDataItem_loading > div > span:last-child {
		right: 25px;
		left: 60px;
	}
	.ipsDataItem_loading > div > span:last-child:before {
		width: 180px;
	}

	html[dir] .ipsDataItem_loading > div > span:first-child:before,
	html[dir] .ipsDataItem_loading > div > span:first-child:after {
		display: none;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="engagement.css"><![CDATA[/* TABLETS */
@media screen and (max-width: 979px) {
	html[dir="ltr"] .ipsFollow,
	html[dir="ltr"] .ipsPromote {
		float: right;
	}
	html[dir="rtl"] .ipsFollow,
	html[dir="rtl"] .ipsPromote {
		float: left;
	}

	/* Buttons don't need to float when used inside .ipsGap */
	[class*='ipsGap'] .ipsFollow,
	[class*='ipsGap'] .ipsPromote{
		float: none !important;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	
	/* REACTIONS */
	.ipsReact_overview {
		display: none;
	}

	.ipsReact_reactCount span:last-child {
		padding: 0 4px;
	}

	.ipsReact_button {
		padding: 2px;
		width: 36px;
		height: 36px;
		line-height: 36px;
		border-radius: 36px;
	}

	.ipsReact .ipsReact_types ul.ipsReact_hover {
		animation: reaction-hover-mobile 0.3s ease-in-out forwards;
	}

	html[dir] .ipsReact_types ul,
	html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul {
		transform-origin: bottom;
		top: auto;
		bottom: 0px;
		border-radius: 38px;
		height: auto;
		padding: 5px 5px 50px 5px;
	}
		html[dir="ltr"] .ipsReact_types ul,
		html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_types ul {
			right: -1px;
		}
		html[dir="rtl"] .ipsReact_types ul,
		html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_types ul {
			left: -1px;
		}

		html[dir] .ipsReact_types ul li,
		html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul li {
			display: block;
			margin: 10px 0 !important;
			position: relative;
		}

			html[dir] .ipsReact_types ul li:first-child,
			html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul li:first-child {
				margin-top: 0 !important;
			}
			html[dir] .ipsReact_types ul li:last-child,
			html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul li:last-child {
				margin-bottom: 0 !important;
			}

	.ipsReact_unreact {
		top: -12px;
	}
	html[dir="ltr"] .ipsReact_unreact {
		right: -12px;
	}
	html[dir="rtl"] .ipsReact_unreact {
		left: -12px;
	}

	.ipsReact_name {
		position: absolute;
		background: #494949;
		color: #fff;
		font-size: 11px;
		padding: 0px 7px;
		line-height: 21px;
		border-radius: 20px;
		top: 50%;
		margin-top: -10px;
		display: none;
	}

		html[dir="ltr"] .ipsReact_name {
			right: 40px;
		}
		html[dir="rtl"] .ipsReact_name {
			left: 40px;
		}

	.ipsReact_types_active .ipsReact_name {
		display: block;
	}

	html[dir] .ipsReact_button .ipsReact_name {
		transform: scale(0.8);
	}
	html[dir="ltr"] .ipsReact_button .ipsReact_name {
		right: 35px;
	}
	html[dir="rtl"] .ipsReact_button .ipsReact_name {
		left: 35px;
	}

	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_types ul {
		left: -4px;
		right: auto;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_types ul {
		right: -4px;
		left: auto;
	}

	html[dir] .ipsReact.ipsReact_mini .ipsReact_types ul {
		padding: 5px 5px 30px 5px;
	}

	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_name {
		right: 32px;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_name {
		left: 32px;
	}
	
	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_button .ipsReact_name {
		right: 26px;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_button .ipsReact_name {
		left: 26px;
	}

	html[dir="ltr"] .ipsReact.ipsReact_mini .ipsReact_unreact {
		top: 40px;
		right: 2px;
	}
	html[dir="rtl"] .ipsReact.ipsReact_mini .ipsReact_unreact {
		top: 40px;
		left: 2px;
	}

	/* FOLLOWS */

	.ipsApp .ipsFollow,
	.ipsApp .ipsPromote,
	.ipsApp .ipsShareButton {
		display: flex;
		float: none !important;
	}

	.ipsApp .ipsPromote,
	.ipsApp .ipsShareButton {
		justify-content: center;
	}

	.ipsFollow > a:not( .ipsCommentCount ), .ipsFollow > span:not( .ipsCommentCount ), .ipsFollow > a > span:not( .ipsCommentCount ) {
		width: 100%;
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="forms.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {

	.ipsApp_admin .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
		display: block;
		background: #f5f5f5;
		background: var(--c2);
		padding: 10px;
		text-align: left;
		margin: -3px -3px 10px -3px;
		font-size: 15px;
	}
	html[dir="rtl"] .ipsApp_admin .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
		text-align: right;
	}

	.ipsFieldRow_section {
		background: #2E3D49;
		color: #fff;
		font-weight: normal;
		padding: 10px;
		margin-top: 5px;
		font-size: 16px;
	}

	.ipsApp_admin .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox ) .ipsFieldRow_content {
		padding: 7px;
	}

	.ipsForm .ipsFieldRow {
		margin-bottom: 0;
	}

	.ipsForm_horizontal .ipsFieldRow {
		display: block;
	}

	html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
	html[dir] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title, 
	html[dir] .ipsForm_vertical .ipsFieldRow > .ipsFieldRow_label, 
	html[dir] .ipsForm_vertical .ipsFieldRow > .ipsFieldRow_title {
		min-width: 0;
	}

	html[dir] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_yesNo ) > .ipsFieldRow_label,
	html[dir] .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_yesNo ) > .ipsFieldRow_title {
		padding-top: 10px;
	}

	.ipsTabs_panel > .ipsForm, .ipsTabs_panel div[data-controller="core.global.core.table"],
	.ipsTabs_panel .acpTrees_buttons + .acpBlock, 
	.ipsTabs_panel .ipsForm, .ipsTabs_panel .ipsChart {
		margin: 0;
	}

	.ipsAttachment_dropZone [data-action="uploadFile"] {
		width: 100%;
		float: none;
	}

	html[dir="ltr"] .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall > .ipsAttachment_dropZoneSmall_info {
		margin: 5px 0 0 0;
	}

	.ipsFieldRow .cCopyNode {
		margin-top: -40px;
		padding-left: 0;
		padding-right: 0;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="forms.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	.ipsApp .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title,
	.ipsApp .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label {
		float: none !important;
		width: auto;
		text-align: inherit !important;
	}

	html[dir="ltr"] .ipsApp .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox )  .ipsFieldRow_content,
	html[dir="ltr"] .ipsApp .ipsForm_horizontal .ipsFieldRow_checkbox {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsApp .ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox )  .ipsFieldRow_content,
	html[dir="rtl"] .ipsApp .ipsForm_horizontal .ipsFieldRow_checkbox {
		margin-right: 0;
	}

	.ipsApp .ipsFieldRow_content select {
		margin-top: 0;
		width: 100%;
	}

	.ipsApp textarea, .ipsApp input[type="text"], .ipsApp input[type="password"],
	.ipsApp input[type="datetime"], .ipsApp input[type="datetime-local"], .ipsApp input[type="date"],
	.ipsApp input[type="month"], .ipsApp input[type="time"], .ipsApp input[type="week"], 
	.ipsApp input[type="number"], .ipsApp input[type="email"], .ipsApp input[type="url"],
	.ipsApp input[type="search"], .ipsApp input[type="tel"], .ipsApp input[type="color"], .ipsApp select {
		font-size: 16px;
	}

	.sp-container {
		max-width: 215px;
	}

	.sp-button-container {
		margin-right: 20px;
	}
}

/* BOTH */
@media screen and (max-width: 979px) {
	.ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title,
	.ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label {
		float: none !important;
		width: auto;
		text-align: inherit !important;
	}

	html[dir="ltr"] .ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox )  .ipsFieldRow_content,
	html[dir="ltr"] .ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow_checkbox {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow:not( .ipsFieldRow_checkbox )  .ipsFieldRow_content,
	html[dir="rtl"] .ipsApp .ipsForm_collapseTablet.ipsForm_horizontal .ipsFieldRow_checkbox {
		margin-right: 0;
	}

	.ipsApp .ipsForm_collapseTablet .ipsFieldRow_content select {
		margin-top: 0;
		width: 100%;
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="global.css"><![CDATA[/* BOTH */
@media screen and (max-width: 979px) {

	#acpAppList > li.acpAppList_active > ul,
	#acpAppList #elHideMenu {
		display: none;
	}

	#acpAppList, #acpAppMenu  {
		width: 60px !important;
	}

	html[dir="ltr"] #ipsLayout_header {
		left: 60px;
	}

	#elAdminNav a {
		font-size: 20px;
	}

	#acpContent {
		padding: 15px;
	}

	.acpToolbar {
		float: none !important;
		margin-top: 7px;
	}

		.acpToolbar > ul > li {
			margin-bottom: 5px;
		}

		.acpToolbar > ul > li,
		.acpToolbar .ipsButton_verySmall {
			width: 100%;
		}

		.acpToolbar > ul > li:not( .acpToolbar_primary ):not( .acpToolbar_more ) {
			display: none;
		}

		.acpToolbar > ul > li.acpToolbar_more .ipsButton_verySmall {
			margin-bottom: -10px;
			padding: 0;
			background: #f5f5f5;
			background: var(--c2);
		}

	#acpPageHeader {
		padding: 15px;
	}
		
		#acpPageHeader .ipsType_pageTitle {
			font-size: 22px;
		}

	#acpPageHeader .acpPageHeader_flex,
	#acpPageHeader.acpPageHeader_flex {
		display: block;
	}

	html[dir] #ipsLayout_header {
		position: absolute;
	}

	html[dir] #acpLiveSearchResults {
		left: 15px;
		right: 15px;
		width: auto;
	}

	html[dir] #acpLiveSearchResults [data-role="searchMenu"] {
		border: 0;
	}

	#acpPageHeader .ipsSubNavigation {
		margin-top: 0;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	html[dir] #ipsLayout_header {
		position: absolute;
		left: 0;
		right: 0;
	}

	.cAdminDevModeWarning {
		display: none;
	}

	.cAdminDevModeBar {
		position: absolute;
		width: auto;
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		height: 7px;
	}

	body.cAdminDevModeOn {
		padding-top: 7px;
	}
	
	body.cAdminDevModeOn #ipsLayout_header {
		top: 7px;
	}
}

/* Super small screen Horizontal scroll fix */
@media screen and (max-width: 318px) {
	#acpSearchKeyword {
		max-width: 175px;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="global.css"><![CDATA[/* BOTH */
@media screen and (max-width: 979px) {

	#elSiteTitle, #elLogo{
		height: var(--responsive-header--height);
	}

		#elLogo img {
			max-height: var(--responsive-logo--height);
		}

	#elMobileNav{
		background: rgb( var(--theme-main_nav) );
		color: rgb( var(--theme-main_nav_font) );
		position: relative;
		display: flex;
		justify-content: flex-end;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
	}

		#elMobileBreadcrumb{
			position: relative;
			flex: 0 1 auto;
			line-height: 30px;
			font-size: 11px;
			font-weight: 700;
			min-width: 40px;
			border-radius: 5px;
			background-color: rgba(0,0,0,0.25);
			border-color: rgba(0,0,0,0.25);
			color: inherit;
		}

			html[dir='ltr'] #elMobileBreadcrumb{
				margin-left: 30px;
				margin-right: auto;
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
				padding-right: 10px;
				left: -10px;
			}

			html[dir='rtl'] #elMobileBreadcrumb{
				margin-right: 30px;
				margin-left: auto;
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
				padding-left: 10px;
				right: -10px;
			}

			#elMobileBreadcrumb a {
				max-width: none;
				display: block;
				position: relative;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
				word-break: normal;
				color: inherit;
			}

			#elMobileBreadcrumb::before {
				position: absolute;
				overflow: hidden;
				content: '';
				top: 50%;
				border: 14px solid transparent;
				border-left-color: inherit;
				border-bottom-color: inherit;
				border-radius: 12px;
				border-bottom-left-radius: 3px;
				z-index: 0;
			}
			html[dir="ltr"] #elMobileBreadcrumb:before {
				left: 0;
				transform: translate(-50%, -50%) scaleX(0.7) rotate(45deg);
			}
			html[dir="rtl"] #elMobileBreadcrumb::before {
				right: 0;
				transform: translate(50%, -50%) scaleX(0.7) rotate(-135deg);
			}

		#elMobileNav li:not( #elMobileBreadcrumb ) a {
			width: 44px;
			height: 50px;
			line-height: 50px;
			text-align: center;
			font-size: 22px;
			position: relative;
			display: block;
			color: inherit;
			opacity: .7;
		}

		#elMobileNav .ipsNotificationCount {
			top: 6px;
		}
		html[dir="ltr"] #elMobileNav .ipsNotificationCount {
			right: 6px;
		}
		html[dir="rtl"] #elMobileNav .ipsNotificationCount {
			left: 6px;
		}

	.elMobileDrawer__user{
		z-index: 100;
	}

	.elMobileDrawer__rank {
		bottom: 0;
		right: 0;
		z-index: 100;
		box-shadow: 0 -2px 45px rgba(0,0,0,0.05);
		position: fixed;
		width: 340px;
	}

		[dir='rtl'] .elMobileDrawer__rank {
			right: auto;
			left: 0;
		}

	/* Search */
	#elSearch {
		display: none; /* ...and hide search elem by default... */
		height: 40px;
	}

		body.cSearchOpen #ipsLayout_header > nav {
			display: block;
			height: 40px; /* ...but set to 40px height when search is showing, because that's in the header element */
		}

		body.cSearchOpen #ipsLayout_header > nav .ipsLayout_container {
			padding: 0;
		}

		body.cSearchOpen #ipsLayout_header .ipsNavBar_primary {
			margin-bottom: 0;
			top: 0;
		}

		body.cSearchOpen #elSearch {
			display: block;
			opacity: 1;
			width: 100%;
			margin: 0;
			transition: opacity 0.2s ease-out;
		}

			body.cSearchOpen #elSearch input[type="search"] {
				line-height: 40px;
				height: 40px;
			}

			body.cSearchOpen #elSearch button {
				font-size: 22px;
				line-height: 36px;
			}

		body.cSearchOpen #elSearch #elSearchFilter {
			display: block;
			line-height: 40px;
			border-radius: 0;
			font-size: 12px;
		}

		body.cSearchOpen #elSearchField {
			width: auto;
		}
		html[dir="ltr"] body.cSearchOpen #elSearchField {
			left: 115px;
		}
		html[dir="rtl"] body.cSearchOpen #elSearchField {
			right: 115px;
		}

	/* Code and pre need to wrap */
	code, pre {
		white-space: pre-wrap;
		word-break: break-word;
	}

	#elQueryLog, #elCachingLog {
		display: none !important;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	body {
		font-size: {fontsize="13"};
	}
	#elFlashMessage {
		width: 100%;
		padding: 7px;
	}
	html[dir="ltr"] #elFlashMessage {
		left: auto;
		margin-left: 0;
	}
	html[dir="rtl"] #elFlashMessage {
		right: auto;
		margin-right: 0;
	}
	
	.acpLicenseRenewal {
		padding: 20px;
	}
	
	.acpLicenseRenewal_content {
		padding: 20px;
	}
}

/* GOOGLE AD CODE FOR RESPONSIVE ADS */
#ipsLayout_mainArea .adsbygoogle { width: 320px; height: 100px; }
@media (min-width:500px) { #ipsLayout_mainArea .adsbygoogle { width: 468px; height: 60px; } }
@media (min-width:1050px) { #ipsLayout_mainArea .adsbygoogle { width: 728px; height: 90px; } }]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="layout.css"><![CDATA[/* TABLETS */
@media screen and (min-width: 768px) and (max-width: 979px) {

	/* Fixed column sizing */
	.ipsColumns.ipsColumns_collapseTablet {
		width: 100%;
		display: block;
	}
	html[dir="ltr"] .ipsColumns.ipsColumns_collapseTablet {
		padding-right: 0;
	}
	html[dir="rtl"] .ipsColumns.ipsColumns_collapseTablet {
		padding-left: 0;
	}

	.ipsColumns.ipsColumns_collapseTablet > .ipsColumn:not( .ipsHide ) {
		display: block;
		position: relative;
		margin: 15px 0;
		width: 100%;
		padding-right: 0px;
		padding-left: 0px;
	}

	.ipsLayout_contentSection {
		padding: 15px;
	}

	.ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"] {
		width: 100%;
	}
	html[dir="ltr"] .ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"] {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"] {
		margin-right: 0;
	}
}

/* BOTH */
@media screen and (max-width: 979px) {

	#ipsLayout_mainArea > .ipsPageHeader:first-child {
		padding: 7px 0;
		margin-top: -5px;
	}
	
	.ipsLayout_container {
		padding: 0 15px;
	}

	{{if !theme.sidebar_responsive}}
		#ipsLayout_sidebar {
			display: none;
		}
	{{else}}
		#ipsLayout_mainArea {
			margin-bottom: 0 !important;
		}

		#ipsLayout_sidebar {
			max-width: 100% !important;
			min-width: 0 !important;
			display: block;
			overflow: visible;
		}

		html[dir] #ipsLayout_sidebar.ipsLayout_sidebarleft,
		html[dir] #ipsLayout_sidebar.ipsLayout_sidebarright {
			padding: 15px;
			padding-top: 0;
		}
	{{endif}}

	#ipsLayout_body {
		padding: 0;
		max-width: 100%;
		margin: 0;
	}

	#ipsLayout_mainArea {
		border-radius: 0 !important;
		margin-bottom: 10px;
		padding: 15px;
	}

	#ipsLayout_mainArea {
		display: block;
	}

	#elContextualTools {
		display: flex;
		flex-wrap: wrap;
		margin: 0 0 0 -15px;
		padding: 0;
	}

		#elContextualTools > *{
			margin-left: 15px;
		}
}

/* PHONES */
@media screen and (max-width: 767px) {

	.ipsResponsive_pull{
		margin-left: -10px;
		margin-right: -10px;
	}

		/* Prevent 'double pull' from occurring */
		.ipsResponsive_pull .ipsResponsive_pull{
			margin-left: 0;
			margin-right: 0;
		}

		.ipsResponsive_pull,
		.ipsResponsive_pull .ipsBox:not( .ipsBox--child ),
		.ipsResponsive_pull .ipsStreamItem {
			border-radius: 0;
			border-left-width: 0;
			border-right-width: 0;
		}

	#ipsLayout_mainArea {
		padding: 10px;
	}

	html[dir] #ipsLayout_sidebar.ipsLayout_sidebarleft,
	html[dir] #ipsLayout_sidebar.ipsLayout_sidebarright {
		padding: 10px;
		padding-top: 0;
	}

	/* Fixed column sizing */
	.ipsColumns.ipsColumns_collapseTablet:not( .ipsHide ),
	.ipsColumns.ipsColumns_collapsePhone:not( .ipsHide ) {
		width: auto;
		display: block;
		padding-right: 0;
	}

	.ipsColumns.ipsColumns_collapseTablet > .ipsColumn:not( .ipsHide ),
	.ipsColumns.ipsColumns_collapsePhone > .ipsColumn:not( .ipsHide ) {
		display: block;
		position: relative;
		width: auto;
		margin: 0 0 15px 0;
		padding: 0;
	}

	.ipsLayout_contentSection {
		padding: 5px;
	}

	.ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"],
	.ipsGrid.ipsGrid_collapsePhone > [class*="ipsGrid_span"] {
		width: 100%;
	}
	html[dir="ltr"] .ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"],
	html[dir="ltr"] .ipsGrid.ipsGrid_collapsePhone > [class*="ipsGrid_span"] {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsGrid.ipsGrid_collapseTablet > [class*="ipsGrid_span"],
	html[dir="rtl"] .ipsGrid.ipsGrid_collapsePhone > [class*="ipsGrid_span"] {
		margin-right: 0;
	}

	#elContextualTools {
		padding: 0;
	}

	/* Page header styles */
	.ipsHeaderButtons .ipsToolList {
		float: right;
		width: auto;
		margin-bottom: 0;
	}

		.ipsHeaderButtons .ipsType_pageTitle {
			line-height: 1.5;
		}

		.ipsHeaderButtons .ipsToolList .ipsButton {
			line-height: 28px;
		}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="lightbox.css">/* BOTH */
@media screen and (max-width: 979px) {
	.ipsLightbox {
		bottom: 0px;
		right: 0px;
		top: 0px;
		left: 0px;
	}

	.ipsLightbox_imagePanel
	{
		margin-left: 10px;
		margin-right: 10px;
	}

	.ipsLightbox_next, .ipsLightbox_prev {
		opacity: 0.4;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="livesearch.css">/* PHONES */
@media screen and (max-width: 767px) {

	.cAcpSearch {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.cAcpSearch_areas,
	.cAcpSearch_results {
		position: static;
		flex-grow: 1;
	}

	#acpLiveSearchResults [data-resultsSection] {
		overflow: visible;
	}

	#acpLiveSearchResults [data-role=&quot;searchResults&quot;] {
		overflow: auto;
	}

	.cAcpSearch_areas {
		width: auto;
		overflow: visible;
	}
	.cAcpSearch_results {
		width: auto;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="login.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	#elLogin_box {
		width: 320px;
	}

	.ipsApp #elLogin_box > .ipsColumns {
		min-height: 240px;
	}

	.ipsApp#elLogin {
		padding-top: 10px;
	}

	.ipsApp #elLogin_box {
		width: auto;
		margin: 7px;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="menus.css">/* PHONES */
@media screen and (max-width: 767px) {

	.ipsSideMenu .ipsSideMenu_mainTitle a {
		color: rgb( var(--theme-text_light) );
		font-weight: normal;
	}

	/* Non-JS fallback */
	.ipsSideMenu:not(.ipsCategoriesMenu) .ipsSideMenu_title,
	.ipsSideMenu:not(.ipsCategoriesMenu) .ipsSideMenu_subTitle,
	.ipsSideMenu:not(.ipsCategoriesMenu) .ipsSideMenu_list {
		display: none;
	}

	.ipsSideMenu .ipsSideMenu_mainTitle,
	.ipsSideMenu .ipsSideMenu_mainTitle a,
	.ipsSideMenu:target .ipsSideMenu_title,
	.ipsSideMenu:target .ipsSideMenu_list,
	.ipsSideMenu.ipsSideMenu_open .ipsSideMenu_title,
	.ipsSideMenu.ipsSideMenu_open .ipsSideMenu_list,
	.ipsSideMenu.ipsSideMenu_open .ipsSideMenu_subTitle {
		display: block;
	}

	.ipsSideMenu.ipsSideMenu_open .ipsSideMenu_mainTitle a,
	.ipsSideMenu:target .ipsSideMenu_mainTitle a {
		background: rgb( var(--theme-area_background_dark) );
		color: #fff;
		display: block;
		border-radius: var(--radius-1);
	}

	/* Add a space to the bottom of the header so it doesn't collide with the first menu item */
	.ipsSideMenu_open .ipsSideMenu_mainTitle{
		margin-bottom: var(--sp-3);
	}

	.ipsSideMenu.ipsSideMenu_open,
	.ipsSideMenu:target {
		width: 100%;
		/* This was removed to improve the Content Type menu in profiles. It's assumed these dropdown menus are already contained by another element. Re-add if necessary */
		/* background: rgb( var(--theme-area_background_reset) ); */
		z-index: 4000;
	}

	.ipsSideMenu.ipsSideMenu_open .ipsSideMenu_list,
	.ipsSideMenu:target .ipsSideMenu_list {
		margin-bottom: 0;
	}
}

/* Landscape-specific phone styles for menus */
@media screen and (max-height: 450px) {
	.ipsMenu_innerContent {
		max-height: 210px;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="misc.css">/* BOTH (and Small Desktop/Laptop screens) */
@media screen and (max-width: 1250px) {
	.cWithInfoPanel {
		display: block;
	}

	.cWithInfoPanel_main {
		margin: 0;
	}

	.cWithInfoPanel_info {
		margin: 20px 0 0 0;
		min-width: 0;
		max-width: 100%;
	}
	
	.cWithInfoPanel .ipsType_sectionTitle {
	    margin: -7px -7px 7px -7px;
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="misc.css"><![CDATA[/* BOTH */
@media screen and (max-width: 979px) {

	/* PHOTO PANELS */
	.ipsPhotoPanel.ipsPhotoPanel_notTablet > .ipsUserPhoto {
		display: none;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_notTablet > div {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_notTablet > div {
		margin-right: 0;
	}
	
	/* TOOL LISTS */
	.ipsToolList.ipsToolList_horizontal {
		margin-bottom: 15px;
	}
		/* Page header styles */
		.ipsApp .ipsHeaderButtons .ipsToolList {
			margin-bottom: 0;
		}

	/* ACTIVE USERS */
	.ipsActiveUsers_title {
		display: block;
		margin: 0;
	}
	/* Report button */
	.ipsComment_meta .ipsFaded.ipsFaded_more {
		opacity: 1;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
		
	/* PHOTO PANELS */
	.ipsPhotoPanel.ipsPhotoPanel_notPhone > .ipsUserPhoto,
	.ipsPhotoPanel.ipsPhotoPanel_notTablet > .ipsUserPhoto {
		display: none;
	}

	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_notPhone > div,
	html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_notTablet > div {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_notPhone > div,
	html[dir="rtl"] .ipsPhotoPanel.ipsPhotoPanel_notTablet > div {
		margin-right: 0;
	}

	/* TOOLTIPS */
	.ipsToolList{
		display: flex;
		flex-wrap: wrap;
		gap: var(--sp-2);
		text-align: center;
		flex-wrap: wrap-reverse;
	}
		.ipsToolList > *{
			margin: 0 !important;
			flex-grow: 1;
		}
		.ipsToolList_primaryAction{
			flex-basis: 100%;
			order: 1;
		}
		.ipsToolList_primaryAction:has(+ li .ipsButton_split){
			flex: 999 1 60%;
		}
		.ipsToolList.ipsClearfix::after{
			content: none;
		}

	.ipsPad, .ipsApp ul.ipsPad, .ipsApp ol.ipsPad { padding: var(--sp-2); }
	.ipsPad_double { padding: var(--sp-4); }
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="navigation.css">/* BOTH */
@media screen and (max-width: 979px) {

	.ipsApp_front .ipsBreadcrumb {
		display: none;
	}

}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="pagination.css"><![CDATA[/* BOTH */
@media screen and (max-width: 979px) {
	.ipsPagination.ipsPagination_mini a {
		padding: 0 15px;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {

	/* Responsive pagination */

	/* Hide all the page numbers */
	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_page:not( .ipsPagination_active ) {
		display: none;
	}

	.ipsPagination:not( .ipsPagination_mini ) {
		display: flex;
		padding: 0;
		font-weight: bold;
		text-align: center;
		clear: both;
	}

		[dir] .ipsPagination:not(.ipsPagination_mini) > li{
			margin: 0;
		}

		.ipsPagination:not(.ipsPagination_mini) a{
			padding: 2px 10px;
		}

	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_active {
		display: none;
	}

	.ipsPagination .ipsPagination_prev a .fa,
	.ipsPagination .ipsPagination_next a .fa {
		opacity: 1;
	}

	/* Reorder buttons using flexbox */
	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_first,
	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_prev{
		order: 1;
	}

	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_next,
	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_last{
		order: 3;
	}

	.ipsPagination:not( .ipsPagination_mini ) .ipsPagination_pageJump{
		order: 2;
		flex: 1 1 auto;
		text-align: center;
		margin: 0 !important;
	}

	.ipsPagination .ipsPagination_pageJump .fa {
		display: none;
	}

	/* Show the 'inactive' buttons that we don't show on desktop */
	.ipsPagination > li.ipsPagination_inactive {
		display: block;
		opacity: 0.35;
		pointer-events: none;
	}

	/* Mini pagination */
	.ipsPagination.ipsPagination_mini {
		margin: 5px 0 !important;
		opacity: 1 !important;
	}

	/* Pager */
	.ipsPager{
		flex-wrap: wrap;
	}
	.ipsPager_center{
		order: -1;
		flex: 1 1 100%;
		margin-bottom: var(--sp-2);
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="popup.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {

	.ipsDialog > div {
		width: 100%;
		margin: 0 auto;
	}

	.ipsDialog.ipsDialog_fixed > div {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin-top: 0;
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
	}

	.ipsAlert {
		top: auto;
		bottom: 40px;
		left: 2%;
		right: 2%;
		margin: 0;
		width: auto;
	}

	.ipsHovercard.ipsHovercard_stemLeft { margin-left: 0; }
	.ipsHovercard.ipsHovercard_stemRight { margin-left: 0; }

	/* Moderation menu */
	.ipsPageAction {
		margin-left: 0px !important;
		left: 10px;
		right: 10px;
		text-align: center;
	}

		.ipsPageAction > ul[data-role='actionItems'] > li {
			min-width: 50px;
			padding: 5px 7px;
			float: none;
		}

			.ipsPageAction > ul[data-role='actionItems'] > li:not( .ipsHide ) {
				display: inline-block;
			}

			.ipsPageAction > ul[data-role='actionItems'] > li:first-child {
				display: block;
				width: 100%;
				font-size: 12px;
				line-height: 18px;
				padding: 5px 10px;
			}

			.ipsPageAction > ul[data-role='actionItems'] > li:last-child {
				border-right: 0;
			}

		.ipsPageAction .ipsPageAction_icon {
			font-size: 20px;
		}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="post-content.css">/* PHONES */
@media screen and (max-width: 767px) {
	iframe[data-embedContent] {
		max-width: 500px;
		min-height: 165px;
	}

	html[dir] .ipsEmbedded_withImage .ipsEmbedded_image {
		display: none;
	}

	.ipsEmbedded_image, .ipsEmbedded_image a {
		width: auto;
	}

	html[dir=&quot;ltr&quot;] .ipsEmbedded_withImage .ipsEmbedded_headerArea, 
	html[dir=&quot;ltr&quot;] .ipsEmbedded_withImage .ipsEmbedded_content {
		padding-left: 7px;
	}
	html[dir=&quot;rtl&quot;] .ipsEmbedded_withImage .ipsEmbedded_headerArea, 
	html[dir=&quot;rtl&quot;] .ipsEmbedded_withImage .ipsEmbedded_content {
		padding-right: 7px;
	}

	/* ======================================================== */
	/* IMAGES */
	/* ======================================================== */
	html[dir=&quot;ltr&quot;] .ipsAttachLink_image.ipsAttachLink_right,
	html[dir=&quot;ltr&quot;] .ipsAttachLink.ipsAttachLink_right,
	html[dir=&quot;rtl&quot;] .ipsAttachLink_image.ipsAttachLink_left,
	html[dir=&quot;rtl&quot;] .ipsAttachLink.ipsAttachLink_left {
		margin-left: 15px;
	}
	html[dir=&quot;ltr&quot;] .ipsAttachLink_image.ipsAttachLink_left,
	html[dir=&quot;ltr&quot;] .ipsAttachLink.ipsAttachLink_left,
	html[dir=&quot;rtl&quot;] .ipsAttachLink_image.ipsAttachLink_right,
	html[dir=&quot;rtl&quot;] .ipsAttachLink.ipsAttachLink_right {
		margin-right: 15px;
	}
}


/* BOTH */
@media screen and (max-width: 979px) {
	.cke_wysiwyg_div {
		font-size: 16px;
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="posts.css">/* PHONES */
@media screen and (max-width: 767px) {
	.ipsPost {
		font-size: 13px;
	}

	.cAuthorPane_badge {
		top: -6px;
		font-size: 18px;
		width: 1.2em;
		height: 1.2em;
	}
		html[dir=&quot;ltr&quot;] .cAuthorPane_badge {
			right: -8px;
			left: auto;
		}
		html[dir=&quot;rtl&quot;] .cAuthorPane_badge {
			left: -8px;
			right: auto;
		}


		.cAuthorPane_badge--rank {
			top: auto;
			bottom: 0;
			width: 1em; 
			height: 1em;
		}
			html[dir=&quot;ltr&quot;] .cAuthorPane_badge--rank {
				right: auto;
				left: -8px;
			}
			html[dir=&quot;rtl&quot;] .cAuthorPane_badge--rank {
				left: auto;
				right: -8px;
			}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="responsive.css"><![CDATA[/* Default responsive css is in framework css so that hidden items are hidden even when
	responsiveness is disabled */

/* Hide elements on desktop */
@media (min-width: 980px){
	.ipsApp .ipsResponsive_hideDesktop,
	.ipsApp .ipsResponsive_showTablet{
		display: none !important;
	}
}

/* Hide elements on tablet and below, OR only show elements on desktops */
@media (max-width: 979px){
	.ipsApp .ipsResponsive_showDesktop{
		display: none !important;
	}
}

/* Hide elements on tablet only */
@media (min-width: 768px) and (max-width: 979px){
	.ipsApp .ipsResponsive_hideTablet{
		display: none !important;
	}
}

/* Hide elements on tablet and above, OR only show elements on phones */
@media (min-width: 768px){
	.ipsApp .ipsResponsive_showPhone{
		display: none !important;
	}
}

/* Hide elements on phones */
@media (max-width: 767px){
	.ipsApp .ipsResponsive_hidePhone,
	.ipsApp .ipsResponsive_showTablet{
		display: none !important;
	}
}

@media screen and (max-width: 979px) {
	/* Prevent a floating element from floating on mobile devices */
	.ipsResponsive_noFloat {
		float: none !important;
	}

	#elSiteTitle {
		font-size: 24px;
	}

	#ipsLayout_footer ul {
		text-align: center;
		width: 100%;
	}

	#elCopyright {
		clear: both;
		float: none;
		text-align: center;
	}

	.ipsHeader_tabs {
		display: none;
	}

	/* Turns the last-but-one breadcrumb item in a 'Back' button, like <[ Home ] */
	.ipsApp_front .ipsSubNavigation .ipsBreadcrumb li, .ipsApp_front .ipsBreadcrumb li i {
		display: none;
	}

	.ipsBreadcrumb li {
		overflow: visible;
	}
}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="streams.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {

	.ipsStream {
		clear: both;
		margin-top: 12px;
	}

	.ipsStream .ipsStreamItem_time:first-child {
		margin-bottom: 15px;
	}

	.ipsStreamItem_terminator {
		display: none;
	}

	html[dir] .ipsStreamItem_bar hr.ipsHr {
		margin-left: 0;
		margin-right: 0;
	}

	html[dir] .ipsStreamItem_loadMore {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 5px;
	}

	html[dir="ltr"] .ipsStream.ipsStream_withTimeline {
		margin-left: 0;
		border: 0;
	}
	html[dir="rtl"] .ipsStream.ipsStream_withTimeline {
		margin-right: 0;
		border: 0;
	}

	.ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
		box-shadow: 0 0 0 2px rgb( var(--theme-area_background_reset) );
	}
	
		html[dir="ltr"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
			top: 15px;
			left: 50px;
		}

		html[dir="rtl"] .ipsStream.ipsStream_withTimeline .ipsStreamItem_contentType {
			top: 15px;
			right: 50px;
		}

	.ipsStreamItem.ipsStreamItem_contentBlock {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	
	.ipsApp .ipsStreamItem.ipsStreamItem_actionBlock {
		margin-top: 0;
		margin-bottom: 0;
		padding-left: 10px;
		padding-right: 10px;
	}
	
	html[dir="ltr"] .ipsStream_withTimeline .ipsStreamItem {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsStream_withTimeline .ipsStreamItem {
		margin-right: 0;
	}

		.ipsStream_withTimeline .ipsStreamItem:before,
		.ipsStream_withTimeline .ipsStreamItem:after {
			display: none;
		}

	.ipsStream_withTimeline .ipsStreamItem_time {
		display: block;
		text-align: center;
		margin: 0 var(--sp-3) !important;
	}

	html[dir] .ipsStreamItem .ipsPhotoPanel > .ipsUserPhoto {
		float: none;
		margin: -22px auto 15px;
	}

		html[dir="ltr"] .ipsStreamItem .ipsPhotoPanel.ipsPhotoPanel_mini > div,
		html[dir="ltr"] .ipsStreamItem_snippet, 
		html[dir="ltr"] .ipsStreamItem_meta {
			margin-left: 0;
		}
		html[dir="rtl"] .ipsStreamItem.ipsStreamItem_expanded .ipsPhotoPanel.ipsPhotoPanel_mini > div,
		html[dir="rtl"] .ipsStreamItem_snippet, 
		html[dir="rtl"] .ipsStreamItem_meta {
			margin-right: 0;
		}

	html[dir] .ipsStream_snippetInfo {
		border-width: 1px 0 0 0;
		padding-top: 7px !important;
	}

	html[dir="ltr"] .ipsStream_comment {
		margin-left: 0;
	}
	html[dir="rtl"] .ipsStream_comment {
		margin-right: 0;
	}

	.ipsStream_comment:before {
		display: none;
	}

	.ipsStreamItem .ipsLikeRep {
		margin-bottom: 0;
	}

	.ipsStreamItem.ipsStreamItem_expanded .ipsStreamItem_status {
		margin: 3px 0;
	}

	html[dir] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_expanded {
		padding-left: 10px;
		padding-right: 10px;
		margin: 7px 0;
	}

	/* Condensed-specific */
	.ipsStreamItem.ipsStreamItem_condensed {
		margin: 10px 0;
	}

	.ipsStreamItem.ipsStreamItem_condensed ~ .ipsStreamItem_time {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	html[dir] .ipsStreamItem.ipsStreamItem_actionBlock.ipsStreamItem_condensed {
		padding-left: 10px;
		padding-right: 10px;
	}

	html[dir] .ipsStreamItem_condensed .ipsPhotoPanel_mini > div {
		margin-left: 0;
		margin-right: 0;
	}

	.ipsStreamItem.ipsStreamItem_condensed .ipsUserPhoto,
	.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_contentType {
		display: none;
	}

	.ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_status > li:first-child {
		margin: 7px 0;
		color: rgb( var(--theme-text_color) );
	}

	html[dir] .ipsStreamItem.ipsStreamItem_condensed .ipsStreamItem_stats {
		width: auto;
		float: none;
		position: static;
		border: 0;
		padding: 0;
		line-height: 1.2;
		margin: 5px 0;
		transform: none;
	}
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="tables.css">/* DESKTOP, ACP-SPECIFIC */
.acpBlock .ipsTable.ipsTable_responsive td {
	white-space: normal;
	word-wrap: break-word;
	max-width: 350px;
}

/* TABLETS */
@media screen and (max-width: 979px) {
	.ipsTable td.ipsTable_wrap, .ipsTable td.ipsMatrix_rowTitle {
			white-space: normal;
			word-wrap: break-word;
			max-width: 250px;
		}
	[data-role=&quot;tableRows&quot;] [data-title=&quot;Key&quot;] {
			white-space: normal;
			word-wrap: break-word;
			max-width: 150px;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {
	.acpTable_search {
		float: none;
		width: 100% !important;
		max-width: 100% !important;
	}
	.ipsDarkMode .ipsTable.ipsTable_responsive.ipsMatrix .ipsMatrix_subHeader{
		background: var(--c3);
		color: var(--c9);
	}
	.ipsDarkMode .ipsTable.ipsTable_responsive.ipsMatrix .ipsMatrix_rowTitle {
		background: var(--c1) !important;
		color: var(--c9);
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="tables.css">/* PHONES */
@media screen and (max-width: 767px) {

	.ipsTable.ipsTable_responsive,
	.ipsTable.ipsTable_responsive tbody,
	.ipsTable.ipsTable_responsive tr:not( .ipsHide ),
	.ipsTable.ipsTable_responsive td {
		display: block;
		width: auto !important;
	}

	.ipsTable.ipsTable_responsive thead {
		display: none;
	}

	.ipsTable.ipsTable_responsive tr {
		padding: 10px;
		line-height: 1.6;
	}

	.ipsTable.ipsTable_responsive tbody tr td {
		padding: 0;
		border: 0;
	}

	.ipsTable.ipsTable_responsive td.ipsTable_icon {
		float: left;
		padding: 0;
		width: 45px;
	}
	html[dir=&quot;rtl&quot;] .ipsTable.ipsTable_responsive td.ipsTable_icon {
		float: right;
	}

	html[dir=&quot;ltr&quot;] .ipsTable.ipsTable_responsive td.ipsTable_icon ~ td {
		margin-left: 55px;
	}
	html[dir=&quot;rtl&quot;] .ipsTable.ipsTable_responsive td.ipsTable_icon ~ td {
		margin-right: 55px;
	}

	.ipsTable.ipsTable_responsive td.ipsTable_primary {
		font-size: 16px;
		font-weight: bold;
	}

	.ipsTable.ipsTable_responsive td.ipsTable_controls {
		margin-top: 5px;
	}

	.ipsTable.ipsTable_responsive td[data-title]:before {
		content: attr(data-title) ':\00A0';
		font-weight: bold;
	}

	/* Matrices */
	html[dir=&quot;ltr&quot;] .ipsTable.ipsTable_responsive.ipsMatrix td {
		text-align: left;
	}
	html[dir=&quot;rtl&quot;] .ipsTable.ipsTable_responsive.ipsMatrix td {
		text-align: right;
	}

	.ipsTable.ipsTable_responsive.ipsMatrix .ipsMatrix_rowTitle {
		background: rgb( var(--theme-area_background_light) ) !important;
		padding: 10px;
		text-align: left;
		margin: -10px -10px 10px -10px;
		max-width: none;
	}
	html[dir=&quot;rtl&quot;] .ipsTable.ipsTable_responsive.ipsMatrix .ipsMatrix_rowTitle {
		text-align: right;
	}

	.ipsTable.ipsTable_responsive.ipsMatrix td input:not( [type=&quot;checkbox&quot;] ):not( [type=&quot;radio&quot;] ),
	.ipsTable.ipsTable_responsive.ipsMatrix td select,
	.ipsTable.ipsTable_responsive.ipsMatrix td textarea {
		width: 100%;
		margin-bottom: 5px;
	}

	.ipsTable.ipsTable_responsive.ipsMatrix td .ipsToggle {
		margin-bottom: 5px;
	}

	.ipsTable.ipsTable_responsive.ipsMatrix .ipsMatrix_subHeader {
		background: rgb( var(--theme-area_background_dark) );
		color: #fff;
		font-weight: normal;
		padding: 10px;
		margin-top: 5px;
		font-size: 16px;
		display: block;
		margin: -10px -10px -10px -10px;
	}

	.ipsTable.ipsTable_responsive.ipsMatrix td[data-title]:before {
		text-align: left;
		display: block;
	}
	html[dir=&quot;rtl&quot;] .ipsTable.ipsTable_responsive.ipsMatrix td[data-title]:before {
		text-align: right;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="tabs.css">@media screen and (max-width: 767px) {

	.ipsApp_admin .ipsTabs {
		background: #e0e0e0;
		background: var(--c3);
	}

		.ipsApp_admin .ipsTabs .ipsTabs_activeItem {
			font-size: 14px;
			font-weight: bold;
		}

		.ipsTabs [data-action='expandTabs']{
			color: var(--c9);
		}

	.ipsTabs:target [role=&quot;tablist&quot;], .ipsTabs.ipsTabs_showMenu [role=&quot;tablist&quot;]{
		background: var(--c0);
	}

	.ipsApp_admin .ipsTabs_item {
		border-top: 0;
	}
	html[dir=&quot;ltr&quot;] .ipsApp_admin .ipsTabs_item {
		border-right: 0;
	}
	html[dir=&quot;rtl&quot;] .ipsApp_admin .ipsTabs_item {
		border-left: 0;
	}

	.ipsApp_admin .acpFormTabContent {
		border-top: 0;
		background: #fff;
		background: var(--c0);
		padding: 10px;
	}

	.acpFormTabBar .ipsTabs_item:not( .ipsTabs_activeItem ) {
		color: #333;
		color: var(--c5) !important;
	}
}</css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="tabs.css">/* PHONES */
@media screen and (max-width: 767px) {
	
	.ipsTabs {
		position: relative;
		min-height: var(--ipsTabs-responsive--height);
		box-sizing: content-box;
	}

	.ipsTabs_small{
		border-top: 2px solid rgb( var(--theme-area_background) );
		min-height: 34px;
	}

	.ipsTabs_panels.ipsTabs_contained .ipsTabs_panel {
		padding: var(--sp-5) var(--sp-3);
	}
	
	.ipsTabs [role=&quot;tablist&quot;]{
		display: block;
	}

	.ipsTabs_item:not( .ipsTabs_activeItem ) {
		display: none !important;
		color: rgb( var(--theme-text_color) ) !important;
	}

	.ipsTabs_activeItem a, a.ipsTabs_activeItem, span.ipsTabs_activeItem {
		position: relative;
		font-size: 16px;
		font-weight: bold;
		border-radius: 4px 4px 0 0;
		line-height: var(--ipsTabs-responsive--height);
	}

	.ipsTabs.ipsTabs_withIcons .ipsTabs_item {
		text-align: left;
	}
	html[dir=&quot;rtl&quot;] .ipsTabs.ipsTabs_withIcons .ipsTabs_item {
		text-align: right;
	}

	.ipsTabs.ipsTabs_withIcons .ipsTabs_item i {
		display: inline-block;
		font-size: 16px;
		width: 22px;
	}

	/* TAB MENU */
	/* We set the dropdown link so that it covers the whole tab bar, which means we can intercept
	 	a click on it in order to show the menu without JS necessary */
	.ipsTabs [data-action='expandTabs'] {
		display: flex !important;
		align-items: flex-start;
		justify-content: flex-end;
		color: rgb( var(--theme-text_dark) );
		position: absolute;
		left: var(--ipsTabs--padding);
		right: var(--ipsTabs--padding);
		top: var(--ipsTabs--padding);
		bottom: 0;
		font-size: 18px;
		z-index: 100;
		padding: 0 15px;
	}

		/* Align the arrow icon */
		.ipsTabs [data-action='expandTabs'] .fa{
			margin-top: 11px;
		}

		.ipsTabs.ipsTabs_small [data-action='expandTabs'] {
			top: 0;
			left: 0;
			right: 0;
		}

		.ipsTabs:target [data-action='expandTabs'], .ipsTabs.ipsTabs_showMenu [data-action='expandTabs'] {
			width: 40px;
		}
		html[dir=&quot;ltr&quot;] .ipsTabs:target [data-action='expandTabs'],
		html[dir=&quot;ltr&quot;] .ipsTabs.ipsTabs_showMenu [data-action='expandTabs'] {
			left: auto;
		}
		html[dir=&quot;rtl&quot;] .ipsTabs:target [data-action='expandTabs'],
		html[dir=&quot;rtl&quot;] .ipsTabs.ipsTabs_showMenu [data-action='expandTabs'] {
			right: auto;
		}

		.ipsTabs:target [role=&quot;tablist&quot;], .ipsTabs.ipsTabs_showMenu [role=&quot;tablist&quot;] {
			position: absolute;
	 		left: calc(var(--ipsTabs--padding) - 5px);
	 		right: calc(var(--ipsTabs--padding) - 5px);
	 		top: calc(var(--ipsTabs--padding) - 5px);
	 		padding: 5px;
	 		background: rgb( var(--theme-area_background_reset) );
			box-shadow: 0px 5px 40px rgba(0,0,0,0.4);
			border-radius: 3px;
		}

			.ipsTabs.ipsTabs_small:target [role=&quot;tablist&quot;], .ipsTabs.ipsTabs_small.ipsTabs_showMenu [role=&quot;tablist&quot;]{
				padding: 0;
			}

			.ipsTabs.ipsTabs_contained:target [role=&quot;tablist&quot;] {
				left: 2px;
				right: 2px;
				top: 2px;
			}

			.ipsTabs.ipsTabs_stretch [role=&quot;tablist&quot;] {
				display: block;
				width: auto;
			}

		.ipsTabs:target .ipsTabs_item, .ipsTabs.ipsTabs_showMenu .ipsTabs_item {
			display: block !important;
			width: 100% !important;
		}

}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="responsive" css_name="trees.css"><![CDATA[@media screen and (max-width: 767px) {

	html[dir="ltr"] .ipsTree .ipsTree {
		margin-left: 3px;
	}
	html[dir="rtl"] .ipsTree .ipsTree {
		margin-right: 3px;
	}

	.ipsTree .ipsTree_drag {
		display: none;
	}

	html[dir="ltr"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData:before {
		left: 8px;
	}
	html[dir="rtl"] .ipsTree_parent.ipsTree_row > .ipsTree_rowData:before {
		right: 8px;
	}

}]]></css>
 <css css_location="global" css_app="core" css_attributes="" css_path="responsive" css_name="typography.css">/* PHONES */
@media screen and (max-width: 767px) {

	.ipsType_pageTitle {
		font-size: 20px;
	}

	.ipsType_normal {
		font-size: 13px;
	}

	.ipsType_pageTitle.ipsType_largeTitle {
		font-size: 28px;
		letter-spacing: 0;
	}

	.ipsType_veryLarge {
		font-size: 34px;
		line-height: 42px;
	}
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="settings" css_name="general.css"><![CDATA[#dataLayerContent {
	background: var(--c0);
	color: var(--c7);
	min-height: 40vh;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

	#dataLayerContent .ipsTabs {
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}

	#dataLayerContent #table_area > div[data-resort] {
		margin: 0px !important;
	}

	#dataLayerContent .ipsColumn .ipsFieldRow_section, .ipsColumn .ipsFieldRow {
		border: none !important;
	}

	#dataLayerContent .ipsTree_row, #dataLayerContent .ipsTree_rowData {
		padding-left: 0;
		padding-right: 0;
	}

	#dataLayerContent main > .ipsColumn.ipsColumn_wide {
		background: var(--c1);
		min-height: 40vh;
	}

	#dataLayerContent #deleteProperty {
		padding: 0px 3px;
	}

	.acpFormTabContent {
		padding-left: 0;
		padding-right: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

input[name="datalayer_event_formatted_name"], input[name="datalayer_property_formatted_name"],
input[name="core_datalayer_gtmkey"], input[name="datalayer_handler_datalayer_key"] {
	font-family: monospace;
	padding: 2px !important;
	padding-top: 0 !important;
}

#dataLayerSelector .listItem {
	padding-top: 3px;
	padding-bottom: 3px;
}

	#form_site_social_profiles .ipsField_stack {
	max-width: 460px;
}

	#form_site_social_profiles .ipsField_stack .ipsField_stackItem_keyValue input {
		max-width: 300px;
	}

	#form_site_social_profiles .ipsField_stack .ipsField_stackItem_keyValue select {
		margin-left: 10px;
	}

form.no_submit button[type="submit"] {
	display: none;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="staffdirectory" css_name="staffdirectory.css">.cStaffDirPreview {
	width: 300px;
	margin-bottom: 30px;
}

.cStaffDirPreview_blocks .cStaffDirPreview_block {
	height: 80px;
}

.cStaffDirPreview_full .cStaffDirPreview_block {
	height: 60px;
}

	.cStaffDirPreview_full .cStaffDirPreview_title {
		position: absolute;
		top: 10px;
	}
	html[dir=&quot;ltr&quot;] .cStaffDirPreview_full .cStaffDirPreview_title {
		left: 50px;
	}
	html[dir=&quot;rtl&quot;] .cStaffDirPreview_full .cStaffDirPreview_title {
		right: 50px;
	}

		.cStaffDirPreview_full .cStaffDirPreview_text {
			position: absolute;
			top: 30px;
		}
		html[dir=&quot;ltr&quot;] .cStaffDirPreview_full .cStaffDirPreview_text {
			left: 50px;
			right: 10px;
		}
		html[dir=&quot;rtl&quot;] .cStaffDirPreview_full .cStaffDirPreview_text {
			right: 50px;
			left: 10px;
		}

.cStaffDirPreview_block {
	background: #e5e5e5;
	padding: 10px;
	position: relative;
}

.cStaffDirPreview_photo {
	background: rgba(0,0,0,0.2);
	width: 30px;
	height: 30px;
	border-radius: 30px;
	display: inline-block;
}

.cStaffDirPreview_text, .cStaffDirPreview_text:after {
	display: block;
	border-top: 3px dashed rgba(0,0,0,0.2);
	border-bottom: 3px dashed rgba(0,0,0,0.2);
	height: 10px;
}
	
	.cStaffDirPreview_text:after {
		content: '';
		position: relative;
		top: 12px;
		height: 4px;
		border-bottom: 0;
	}

.cStaffDirPreview_title {
	width: 40px;
	height: 10px;
	background: rgba(0,0,0,0.4);
	display: inline-block;
}

.cStaffDirPreview_row {
	margin-bottom: 5px;
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="alerts.css"><![CDATA[/* ======================================================== */
/* Alerts */

#elAlert {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	padding: 15px;
}

	#elAlert .ipsDialog_title{
		white-space: normal;
	}

	#elAlert > div {
		flex: 0 1 600px;
		max-height: 100%;
		overflow: hidden;
		display: flex;
	}

	#elAlert .ipsForm{
		flex: 1 1 100%;
		display: flex;
		flex-direction: column;
	}

		#elAlert .ipsForm > *{
			flex: 0 0 auto;
		}

		#elAlert .ipsDialog_title .fa{
			opacity: .6;
			margin-right: .3em;
			font-size: 14px;
			vertical-align: 0.1em;
		}

		#elAlert .ipsType_richText{
			flex: 1 1 auto;
			overflow-y: auto;
		}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="caching_log.css">html[dir=&quot;ltr&quot;] body {
	margin-left: 300px;
}
html[dir=&quot;rtl&quot;] body {
	margin-right: 300px;
}

#elCachingLog {
	position: fixed;
	top: 0;
	bottom: 0;
	padding-top: 20px;
	padding-bottom: 70px;
	width: 300px;
	background: #212223;
	overflow: auto;
}
html[dir=&quot;ltr&quot;] #elCachingLog {
	left: 0;
	padding-left: 10px;
}
html[dir=&quot;rtl&quot;] #elCachingLog {
	right: 0;
	padding-right: 10px;
}

.cCachingLog {
	font-family: monospace;
	color: white;
	cursor: pointer;
}
.cCachingLogMethod {
	text-transform: uppercase;
}
.cCachingLogMethod_get {
	color: orange;
}
.cCachingLogMethod_set {
	color: green;
}
.cCachingLogMethod_check {
	color: yellow;
}
.cCachingLogMethod_delete {
	color: red;
}
.cCachingLogKey {
	
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="clubs_responsive.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	#elClubHeader {
		position: relative;
	}
	
	#elClubHeader .cClubIcon {
		position: absolute;
		top: -11px;
		left: 50%;
	}
		html[dir="ltr"] #elClubHeader .cClubIcon {
			margin-left: -35px;
		}
		html[dir="rtl"] #elClubHeader .cClubIcon {
			margin-right: -35px;
		}

	#elClubHeader .ipsUserPhoto_medium {
		width: 70px;
		height: 70px;
	}

	#elClubHeader .cClubHeaderInfo {
		text-align: center;
	}

	#elClubHeader [data-action="editPhoto"] {
		top: -35px;
	}
		html[dir="ltr"] #elClubHeader [data-action="editPhoto"] {
			left: -5px;
		}
		html[dir="rtl"] #elClubHeader [data-action="editPhoto"] {
			right: -5px;
		}

		#elClubControls .ipsTabs [data-action='expandTabs'] {
			top: 0;
		}

	#elMyClubsActivity .ipsStream {
		margin-top: 10px;
	}
	
	#elMyClubsActivity .ipsPhotoPanel.ipsPhotoPanel_mini > div {
		margin-top: -50px;
	}
	
	html[dir] #elMyClubsActivity .ipsStreamItem .ipsPhotoPanel > .ipsUserPhoto {
		margin-top: 0;
	}
	
	.cClubCard .ipsPageHead_special .ipsUserPhoto_medium img, 
	.cClubCard .ipsPageHead_special img.ipsUserPhoto_medium, 
	.cClubCard .ipsPageHead_special .ipsUserPhoto_medium:after {
		width: 50px;
		height: 50px;
	}

	.cClubCard .ipsPageHead_special .ipsUserPhoto {
		width: auto;
		height: auto;
		top: 40px;
	}

	html[dir="ltr"] .cClubCard .cClubCard_info {
		margin-left: 75px;
	}
	html[dir="rtl"] .cClubCard .cClubCard_info {
		margin-right: 75px;
	}

	html[dir="ltr"] .cClubCard .ipsPageHead_special .cClubCard_title, 
	html[dir="ltr"] .cClubCard .ipsPageHead_special p {
		left: 75px;
	}
	html[dir="rtl"] .cClubCard .ipsPageHead_special .cClubCard_title, 
	html[dir="rtl"] .cClubCard .ipsPageHead_special p {
		right: 75px;
	}

	.cClubCard .ipsPageHead_special .cClubCard_title {
		top: 50px;
		font-size: 20px;
		max-width: calc(100% - 90px);
	}

	#elContextualTools .cClubHeader {
		flex-basis: 100%;
	}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="clubs.css"><![CDATA[/* GENERAL CLUB STYLES  */
.cClubIcon {
	border: 2px solid rgb( var(--theme-area_background_reset) );
}

.cClubStatus > .fa {
	font-size: 40px;
	line-height: 40px;
}

/* FULL CLUB HEADER */
#elClubHeader .ipsCoverPhoto {
    min-height: 140px;
    padding-top: 50px;
    background-size: cover;
}

#elClubHeader .ipsUserPhoto_medium {
	width: 95px;
	height: 95px;
}

#elClubHeader .ipsColumn_narrow {
	width: 105px;
}

#elClubControls {
	background: rgb( var(--theme-area_background_dark) );
	padding: var(--sp-2);
	border-bottom-left-radius: var(--radius-1);
	border-bottom-right-radius: var(--radius-1);
}

#elClubControls .ipsButton_link {
	color: #fff;
}

.cClubControls__tabs{
	flex-basis: 250px;
}

#elClubControls .ipsTabs {
	background: transparent;
	--ipsTabs-responsive--height: 40px;
	--ipsTabs--padding: 0px;
}

	#elClubControls .ipsTabs_item {
		font-size: {fontsize="small"};
		padding: 0 15px;
		border-radius: var(--radius-1);
	}

#elClubHeader [data-action="editPhoto"] {
	position: absolute;
	top: 70px;
}
html[dir="ltr"] #elClubHeader [data-action="editPhoto"] {
	left: 0;
}
html[dir="rtl"] #elClubHeader [data-action="editPhoto"] {
	right: 0;
}

/* SMALL CLUB HEADER */
#elClubHeader_small{
	margin-bottom: var(--sp-5);
}

#elClubHeader_small #elEditPhoto {
	display: none;
}

#elClubHeader_small .ipsType_pageTitle {
	font-size: {fontsize="2x_large"};
}

#elContextualTools .cClubHeader{
	flex: 1 1 250px;
}

/* CLUB CARDS */
.cClubCard {
	min-height: 200px;
	position: relative;
}

.cClubCard_status {
	position: absolute;
	top: -5px;
	z-index: 1000;
}
html[dir="ltr"] .cClubCard_status {
	right: -5px;
}
html[dir="rtl"] .cClubCard_status {
	left: -5px;
}

.cClubCard .ipsPageHead_special {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
	height: 85px;
	width: 100%;
	background-color: rgb( var(--theme-profile_header) );
}

.cClubCard .ipsPageHead_special .ipsUserPhoto {
	position: absolute;
	top: 35px;
	width: 80px;
	height: 80px
}
html[dir="ltr"] .cClubCard .ipsPageHead_special .ipsUserPhoto {
	left: 10px;
}
html[dir="rtl"] .cClubCard .ipsPageHead_special .ipsUserPhoto {
	right: 10px;
}

.cClubCard .ipsPageHead_special .cClubCard_title, 
.cClubCard .ipsPageHead_special p {
	position: absolute;
	color: #fff;
}
	.cClubCard .ipsPageHead_special a{
		color: inherit !important;
	}

html[dir="ltr"] .cClubCard .ipsPageHead_special .cClubCard_title, 
html[dir="ltr"] .cClubCard .ipsPageHead_special p {
	left: 105px;
}
html[dir="rtl"] .cClubCard .ipsPageHead_special .cClubCard_title, 
html[dir="rtl"] .cClubCard .ipsPageHead_special p {
	right: 105px;
}

.cClubCard .ipsPageHead_special p {
	top: 45px;
}

.cClubCard .ipsPageHead_special .cClubCard_title {
	top: 40px;
	font-size: {fontsize="2x_large"};
	max-width: calc(100% - 120px);
	display: inline-block;
}

html[dir="ltr"] .cClubCard .cClubCard_info {
	margin-left: 105px;
	margin-top: 7px;
}
html[dir="rtl"] .cClubCard .cClubCard_info {
	margin-right: 105px;
	margin-top: 7px;
}

.cClubCard .cClubCard_memberList {
	white-space: nowrap;
	overflow: hidden;
}

.cClubCard .ipsBadge.ipsBadge_small {
	margin-top: -5px;
	vertical-align: middle;
}

.cClubRequestCover {
	text-align: center;
	padding-top: 40px;
}
	
.cClubRequestCover_icon {
	display: inline-block;
	color: #fff;
	width: 80px;
	height: 80px;
	border-radius: 80px;
	line-height: 110px;
	margin-bottom: 5px;
}

	.cClubRequestCover_icon .fa {
		font-size: 54px;
		line-height: 1;
	}

/* MEMBER LIST */
.cClubMemberStatus {
	width: 80px;
}

/* MY CLUBS SIDEBAR */
#elMyClubs .ipsDataItem_size2 {
	width: 60px;
	max-width: 60px;
}

/* CLUBS ACTIVITY STREAM */
#elMyClubsActivity .ipsStreamItem.ipsStreamItem_contentBlock {
	border: 0;
	border-bottom: 1px solid rgba( var(--theme-text_color), 0.15 );
	padding: 0 0 20px 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 20px;
}

	#elMyClubsActivity .ipsStreamItem.ipsStreamItem_contentBlock:last-child {
		border-bottom: 0;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	#elMyClubsActivity .ipsStreamItem.ipsStreamItem_contentBlock.ipsAreaBackground_reset {
		background: transparent;
	}

#elMyClubsActivity .ipsStreamItem_header {
	margin-bottom: 10px;
}

#elMyClubsActivity .ipsUserPhoto_mini {
	width: 35px;
	height: 35px;
}

html[dir="ltr"] #elMyClubsActivity .ipsPhotoPanel.ipsPhotoPanel_mini > div {
	margin-left: 45px;
}
html[dir="rtl"] #elMyClubsActivity .ipsPhotoPanel.ipsPhotoPanel_mini > div {
	margin-right: 45px;
}

#elMyClubsActivity .ipsStreamItem_contentType,
#elMyClubsActivity .ipsItemStatus,
#elMyClubsActivity .ipsTags {
	display: none;
}

#elMyClubsActivity .ipsStreamItem_title {
	font-size: {fontsize="base"};
	margin-bottom: 5px;
}

#elMyClubsActivity .ipsStreamItem_status {
	font-size: {fontsize="small"};
}

#elMyClubsActivity .ipsStreamItem_meta {
	margin: 5px 0 0 0;
}

#elMyClubsActivity .ipsStreamItem_snippet {
	margin: 0;
}

	#elMyClubsActivity .ipsStreamItem_snippet .ipsColumn {
		display: block;
		padding-left: 0;
		padding-right: 0;
		width: auto;
	}

	#elMyClubsActivity .ipsStreamItem_snippet .ipsStream_snippetInfo {
		border: 0;
		padding: 0;
	}

#elMyClubsActivity .ipsNoThumb {
	max-width: 100%;
	width: auto;
}

#elMyClubsActivity .ipsCalendarDate.ipsCalendarDate_large {
	width: 100%;
	margin-bottom: 5px;
	text-align: center;
}

#elMyClubsActivity .ipsCalendarDate > span {
	display: inline-block;
}

#elMyClubsActivity .ipsCalendarDate.ipsCalendarDate_large .ipsCalendarDate_month,
#elMyClubsActivity .ipsCalendarDate.ipsCalendarDate_large .ipsCalendarDate_date {
	font-size: {fontsize="x_large"};
	line-height: 1.4;
	font-weight: 500;
}

#elMyClubsActivity .ipsStream_thumbnail {
	max-height: 150px;
}

#elMyClubsActivity .cGalleryStreamPreview {
	background: rgb( var(--theme-area_background_light) );
}

#elMyClubsActivity .ipsStream_comment {
	background: transparent;
	margin: 5px 0 0 0;
	padding: 0;
}

	#elMyClubsActivity .ipsStream_comment:before {
		display: none;
	}

.cClubPrice {
	color: rgb( var(--theme-price) );
	font-weight: 500;
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="embeds.css">body {
	padding: 0;
	margin: 0;
}
body[data-role=&quot;internalEmbed&quot;] {
	background: rgb( var(--theme-area_background_reset) );
	/* iOS responsive fix */
	width: 1px;
	min-width: 100%;
}
body[data-role=&quot;externalEmbed&quot;]{
	background: none !important;
}
body #ipsEmbedLoading {
	display: none;
}
body.unloaded #ipsEmbedLoading {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 1px solid rgba( var(--theme-text_color), 0.08 );
	background: rgb( var(--theme-area_background_reset) );
}

@keyframes dummy_anim {
	0% { background-color: rgba( var(--theme-area_background), 0.6 ); }
	50% { background-color: rgba( var(--theme-area_background), 0.9 ); }
	99% { background-color: rgba( var(--theme-area_background), 0.6 ); }
}
#ipsEmbedLoading:before,
#ipsEmbedLoading:after,
#ipsEmbedLoading span:before,
#ipsEmbedLoading span:after {
	display: block;
	content: '';
	position: absolute;
	animation: dummy_anim 1s infinite;
}

body[data-role=&quot;internalEmbed&quot;] #ipsEmbedLoading:before {
	width: 40px;
	height: 40px;
	border-radius: 40px;
	top: 15px;
	left: 15px;
}
body[data-role=&quot;internalEmbed&quot;] #ipsEmbedLoading:after {
	width: 300px;
	height: 17px;
	top: 15px;
	left: 70px;
}
body[data-role=&quot;internalEmbed&quot;] #ipsEmbedLoading span:before {
	width: 200px;
	height: 12px;
	top: 40px;
	left: 70px;
}
body[data-role=&quot;internalEmbed&quot;] #ipsEmbedLoading span:after {
	opacity: 0.5;
	left: 15px;
	right: 15px;
	top: 70px;
	bottom: 15px;
}

body[data-role=&quot;externalEmbed&quot;] #ipsEmbedLoading:before {
	width: 50px;
	height: 50px;
	top: 15px;
	left: 15px;
}
body[data-role=&quot;externalEmbed&quot;] #ipsEmbedLoading:after {
	width: 300px;
	height: 17px;
	top: 15px;
	left: 80px;
}
body[data-role=&quot;externalEmbed&quot;] #ipsEmbedLoading span:before {
	width: 200px;
	height: 12px;
	top: 40px;
	left: 80px;
}
body[data-role=&quot;externalEmbed&quot;] #ipsEmbedLoading span:after {
	width: 90%;
	opacity: 0.5;
	left: 15px;
	top: 80px;
	bottom: 15px;
}

.ipsJS_has#ipsEmbed {
	opacity: 0.0001;
}

#ipsEmbed {
    overflow: hidden;
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="followedcontent_responsive.css">/* PHONES */
@media screen and (max-width: 767px) {
	.cFollowedContent .ipsFollow {
		margin-top: 10px;
	}

	html[dir=&quot;ltr&quot;] .cFollowedContent .ipsDataItem_modCheck {
		right: 10px;
		left: auto;
		top: 15px;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .ipsDataItem_modCheck {
		left: 10px;
		right: auto;
		top: 15px;
	}
}

/* BOTH */
@media screen and (max-width: 979px) {
	html[dir=&quot;ltr&quot;] .cFollowedContent .ipsDataItem_imageColumn {
		margin-left: 25px;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .ipsDataItem_imageColumn {
		margin-right: 25px;
	}

	html[dir=&quot;ltr&quot;] .cFollowedContent .ipsDataItem_main {
		margin-left: 25px;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .ipsDataItem_main {
		margin-right: 25px;
	}

	html[dir=&quot;ltr&quot;] .cFollowedContent .cFollowedContent_anon {
		float: right;
		margin-top: -35px;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .cFollowedContent_anon {
		float: left;
		margin-top: -35px;
	}

	html[dir=&quot;ltr&quot;] .cFollowedContent .cFollowedContent_info {
		margin: 10px 0 10px 25px;
		text-align: left;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .cFollowedContent_info {
		margin: 10px 25px 10px 0;
		text-align: right;
	}
		html[dir=&quot;ltr&quot;] .cFollowedContent .cFollowedContent_info ul li {
			display: inline;
			margin-right: 25px;
		}
		html[dir=&quot;rtl&quot;] .cFollowedContent .cFollowedContent_info ul li {
			display: inline;
			margin-left: 25px;
		}

	html[dir=&quot;ltr&quot;] .cFollowedContent .cFollowedContent_manage {
		text-align: left;
		margin-left: 40px;
	}
	html[dir=&quot;rtl&quot;] .cFollowedContent .cFollowedContent_manage {
		text-align: right;
		margin-right: 40px;
	}
	.cFollowedContent .cFollowedContent_manage .ipsFollow {
		float: none;
	}
	.cFollowedContent .ipsDataItem_modCheck {
		top: 15px;
	}
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="leaderboard_responsive.css">/* PHONES */
@media screen and (max-width: 767px) {
	.cPastLeaders_row {
		margin-bottom: 15px;
	}

		html[dir=&quot;ltr&quot;] .cPastLeaders_cell {
			padding-right: 40px;
		}
		html[dir=&quot;rtl&quot;] .cPastLeaders_cell {
			padding-left: 40px;
		}

		.cPastLeaders_cell:after {
			font-size: 20px;
			line-height: 28px;
		}

}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="leaderboard.css"><![CDATA[html[dir="ltr"] .ipsStreamItem .ipsLeaderboard_trophy {
	position: absolute;
	top: -10px;
	left: -10px;	
}
html[dir="rtl"] .ipsStreamItem .ipsLeaderboard_trophy {
	position: absolute;
	top: -10px;
	right: -10px;	
}

td.ipsLeaderTable_trophy .ipsLeaderboard_trophy {
	margin-top: -12px;
	transform: scale(0.8);
}

#elDateForm label {
	display: none;
}

#elDateForm input[type="date"] {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 7px 0;
}

/* Popular content */
.cPopularItem_content{
	flex: 9999 1 450px;
}

.cPopularItem_stats {
	flex: 1 1 200px;
	font-size: {fontsize="x_large"};
	color: rgb( var(--theme-text_light) );
}
	.cPopularItem_stats a {
		color: inherit;
	}
	
	.cPopularItem_stats span {
		display: block;
		margin-top: 5px;
		font-size: {fontsize="x_small"};
		text-transform: uppercase;
		opacity: 0.5;
	}

/* Past leaders */
.cPastLeaders_grid > *{
	flex-basis: 230px;
}

.cPastLeaders_row {
	margin-bottom: 30px;
}

.cPastLeaders_title {
	font-weight: bold;
	color: rgb( var(--theme-text_dark) );
	font-size: {fontsize="large"};
	padding: 0;
	margin-bottom: 8px;
	position: relative;
}

.cPastLeaders_cell {
	background: rgb( var(--theme-area_background_light) );
	border-radius: var(--radius-1);
	padding: 10px;
	position: relative;
	min-height: 100%;
}

	html[dir="ltr"] .cPastLeaders_cell {
		padding-right: 65px;
	}
	html[dir="rtl"] .cPastLeaders_cell {
		padding-left: 65px;
	}

	html[dir="ltr"] .cPastLeaders_cell:after {
		right: 10px;
	}
	html[dir="rtl"] .cPastLeaders_cell:after {
		left: 10px;
	}

	.cPastLeaders_cell:after {
		content: attr(data-position);
		position: absolute;
		top: 0;
		line-height: 64px;
		font-size: 30px;
		font-weight: bold;
		opacity: 0.1;
	}

.cPastLeaders_cellEmpty {
	opacity: 0.4;
	padding: 0;
}

.cPastLeaders_cell .ipsLeaderboard_trophy {
	position: absolute;
	top: -5px;
	z-index: 1;
	transform: scale(.5);
}

	[dir='ltr'] .cPastLeaders_cell .ipsLeaderboard_trophy{
		left: -5px;
	}
	[dir='rtl'] .cPastLeaders_cell .ipsLeaderboard_trophy{
		right: -5px;
	}

.cPastLeaders_rep {
	opacity: 0.6;
	text-transform: uppercase;
	font-size: {fontsize="x_small"};
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="messaging_responsive.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	#elMessageList {
		max-height: 100%;
		min-height: 0;
		overflow: visible;
	}

	html[dir="ltr"] #elMessageSidebar .ipsCommentCount {
		margin-right: 0;
	}
	html[dir="rtl"] #elMessageSidebar .ipsCommentCount {
		margin-left: 0;
	}
	
	html[dir="ltr"] #elMessageViewer {
		padding-left: 0;
	}
	html[dir="rtl"] #elMessageViewer {
		padding-right: 0;
	}

		#elMessageViewer .ipsType_pageTitle {
			clear: both;
			margin-top: 25px;
		}

		#elMessageViewer .ipsComment {
			padding: 0;
		}

	.cMessage_members {
		padding-top: 10px;
	}

	.cMessage_members > ol > li {
		display: block;
		border-bottom: 1px solid rgba( var(--theme-text_color), 0.1 );
		margin-bottom: 10px;
		padding-bottom: 10px;
	}
	html[dir="ltr"] .cMessage_members > ol > li {
		border-right: 0;
		margin-right: 0;
	}
	html[dir="rtl"] .cMessage_members > ol > li {
		border-left: 0;
		margin-left: 0;
	}

	.cMessage_members > ol > li:last-child {
		margin-bottom: 0;
		border-bottom: 0;
		padding-bottom: 0;
		padding-right: 0;
	}
	html[dir="ltr"] .cMessage_members > ol > li:last-child {
		padding-right: 0;
	}
	html[dir="rtl"] .cMessage_members > ol > li:last-child {
		padding-left: 0;
	}

	.cMessage_members [data-role="addUserItem"] .ipsButton {
		width: 100%;
		line-height: 28px;
	}

	#elMessage_compose {
		float: right;
	}
	html[dir="rtl"] #elMessage_compose {
		float: left;
	}

	.cMessage > .ipsDataItem_main {
		margin-right: 75px;
	}

	.cMessage > .ipsDataItem_generic {
		width: 75px;
		display: inline-block;
		position: absolute;
		top: 7px;
	}

	.ipsMessageRow {
		width: 85%;
	}

}

/* Phones and tablets */
@media screen and (max-width: 979px) {
	.ipsColumn[data-role="filterBar"], .ipsColumn[data-role="filterContent"] {
		padding-right: 0px;
		padding-left: 0px;
	}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="messaging.css"><![CDATA[html[dir="ltr"] #elMessageHeader {
	border-bottom-left-radius: 0;
}
html[dir="rtl"] #elMessageHeader {
	border-bottom-right-radius: 0;
}

#elMessageSidebar {
	position: relative;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin-top: calc( var(--sp-5) * -1 );
}

	#elMessageList  {
		overflow-y: auto;
		max-height: 500px;
		min-height: 500px;
	}

	#elMessageSidebar > .slimScrollDiv {
		clear: both;
	}

#elMessageSidebar .ipsDataItem_title {
	margin-bottom: 0;
}

#elMessageSidebar .cMessageTitle {
	display: inline-block;
	line-height: 1.3;
}
	#elMessageSidebar .cMessageTitle_unread {
		font-weight: bold;
	}

#elMessageSidebar [data-role="messageSearch"] {
	position: relative;
}

	#elMessageSidebar [data-action="messageSearchCancel"] {
		position: absolute;
		top: 0;
		text-align: center;
		line-height: 32px;
		color: inherit;
		height: 32px;
		width: 32px;
		font-size: 16px;
	}
	html[dir="ltr"] #elMessageSidebar [data-action="messageSearchCancel"] {
		right: 20%;
	}
	html[dir="rtl"] #elMessageSidebar [data-action="messageSearchCancel"] {
		left: 20%;
	}
	
	#elMessageSidebar [data-role="messageSearchText"] {
		width: 80%;
	}

.cMessage {}
	
	html[dir="ltr"] .cMessage {
		border-right: 3px solid transparent;
	}
	html[dir="rtl"] .cMessage {
		border-left: 3px solid transparent;
	}
	html[dir="ltr"] .cMessage .ipsDataItem_generic {
		padding-left: 0px;
	}
	html[dir="rtl"] .cMessage .ipsDataItem_generic {
		padding-right: 0px;
	}

	.cMessage.ipsDataItem_unread {
		background-color: rgb(var(--theme-area_background_light));
	}
/* Pending removal since this HTML doesn't exist */
/*
#elMessageList > ol > .cMessage:last-child {
	border-bottom: 2px solid #fff;
}
*/

.cMessage_active {
	background: rgb( var(--theme-selected) ) !important;
	position: relative;
}

.cMessageParticipants {
	font-size: {fontsize="10"};
	color: rgb( var(--theme-text_light) );
}

.cMessage_members {
	margin-top: 10px;
	line-height: 16px;
	position: relative;
	padding-bottom: 0;
}
	
	.cMessage_members .ipsField_autocomplete {
		margin-bottom: 10px;
	}
	
	.cMessage_members > ol > li {
		border-radius: 2px;
	}
	html[dir="ltr"] .cMessage_members > ol > li {
		border-right: 2px solid rgba( var(--theme-text_color), 0.1 );
		padding-right: 15px;
		margin: 7px 15px 7px 0;
	}
	html[dir="rtl"] .cMessage_members > ol > li {
		border-left: 2px solid rgba( var(--theme-text_color), 0.1 );
		padding-left: 15px;
		margin: 7px 0 7px 15px;
	}
		
		.cMessage_members > ol {
			padding-bottom: 0;
		}

		html[dir="ltr"] .cMessage_members > ol > li:last-child {
			border-right: 0;
		}
		html[dir="rtl"] .cMessage_members > ol > li:last-child {
			border-left: 0;
		}

.cMessage_leftConvo {
	opacity: 0.5;
}

.cMessage_noSelect {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

#elAddParticipants {
	width: 28px;
	height: 28px;
	line-height: 28px;
	border-radius: 15px;
	text-align: center;
	padding: 0;
	border: 0;
}

	#elAddParticipants a {
		color: inherit;
	}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="meta_tags.css"><![CDATA[html[dir="ltr"] body {
	margin-right: 300px;
}
html[dir="rtl"] body {
	margin-left: 300px;
}

#elMetaTagEditor {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 300px;	
	overflow: auto;
}
html[dir="ltr"] #elMetaTagEditor {
	right: 0;
}
html[dir="rtl"] #elMetaTagEditor {
	left: 0;
}

#elMetaTagEditor::after{
	content: '';
	display: block;
	height: 90px;
}

#elMetaTagEditor.ipsToolbox .ipsToolbox_sectionTitle {
	margin: 0 -15px 15px;
}	

#elMetaTagEditor_customTags > li, #elMetaTagEditor_defaultTags > li {
	padding-bottom: 20px;
	margin-bottom: 20px;
}

	#elMetaTagEditor_customTags > li:last-child, #elMetaTagEditor_defaultTags > li:last-child {
		margin-bottom: 0;
	}

	#elMetaTagEditor_customTags li.ipsFieldRow:not( :last-child ), #elMetaTagEditor_defaultTags li.ipsFieldRow:not( :last-child ) {
		margin-bottom: 4px;
	}

#elMetaTagEditor_submit {
	position: fixed;
	bottom: 0;
	width: 300px;
	background: #000;
	min-height: 90px;
}

	#elMetaTagEditor_submit .ipsFlex{
		min-height: 100%;
	}

html[dir="ltr"] #elMetaTagEditor_submit {
	right: 0;
}
html[dir="rtl"] #elMetaTagEditor_submit {
	left: 0;
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="modcp_responsive.css">/* PHONES */
@media screen and (max-width: 767px) {
	
	html[dir=&quot;ltr&quot;] #elModCPContent {
		padding-left: 0;
	}
	html[dir=&quot;rtl&quot;] #elModCPContent {
		padding-right: 0;
	}

	html[dir=&quot;ltr&quot;] #elReportSidebar {
		margin-left: 0;
	}
	html[dir=&quot;rtl&quot;] #elReportSidebar {
		margin-right: 0;
	}

	.cModCPAnnouncementRow .ipsDataItem_modCheck {
		position: static;
		padding-top: 10px !important;
	}
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="modcp.css">html[dir=&quot;ltr&quot;] #elReportSidebar {
	margin-left: 15px;
}
html[dir=&quot;rtl&quot;] #elReportSidebar {
	margin-right: 15px;
}

#elApprovalToolbar {
	width: auto;
}

#elModCPSearchIcon {
	position: absolute;
	font-size: 20px;
	top: 23px;
	left: 25px;
}
html[dir=&quot;ltr&quot;] #elModCPSearchIcon {
	left: 25px;
}
html[dir=&quot;rtl&quot;] #elModCPSearchIcon {
	right: 25px;
}

#elModCPMemberSearch {
	position: relative;
}
	
	#elModCPMemberSearch #elInput_modcp_member_find_wrapper {
		width: 100%;
		max-width: 100%;
	}

#elModCPApprovalSplash {
	max-width: 500px;
	margin: 0 auto;
}

.cReportSidebar_icon {
	font-size: 30px;
}

.cIPInfo_map {
	padding-top: 0;
	padding-left: 0;
}

.cIPInfo_value {
	font-size: 34px;
}

html[dir=&quot;ltr&quot;] .cModCP_header {
	border-bottom-left-radius: 0;
}
html[dir=&quot;rtl&quot;] .cModCP_header {
	border-bottom-right-radius: 0;
}

#modcp_menu {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin-top: calc( var(--sp-5) * -1 );
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="notification_settings_responsive.css">@media screen and (max-width: 979px) {
	.cNotificationSettings_expand {
		line-height: inherit;
		margin-right: 7px;
	}	
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="notification_settings.css"><![CDATA[.cNotificationTypes__row {
	border: 1px solid rgba(var(--theme-text_light), 0.15);
}

	.cNotificationTypes__row:not(.cNotificationTypes__row--selected):hover {
		background: rgba(var(--theme-area_background_light), 0.5);
	}

	.cNotificationTypes__row:not(.cNotificationTypes__row--selected) + .cNotificationTypes__row:not(.cNotificationTypes__row--selected) {
		border-top: 0;
	}

	.cNotificationTypes__row:first-child:not(.cNotificationTypes__row--selected),
	.cNotificationTypes__row--selected + .cNotificationTypes__row:not(.cNotificationTypes__row--selected) {
		border-radius: var(--radius-1) var(--radius-1) 0 0;
	}
	.cNotificationTypes__row:last-child {
		border-radius: 0 0 var(--radius-1) var(--radius-1);
	}

.cNotificationTypes__row--selected {
	margin-top: var(--sp-2);
	margin-bottom: var(--sp-2);
	border-color: var(--form-field--borderHoverColor);
	box-shadow: var(--form-field--focusShadow);
	border-radius: var(--radius-1);
}

	.cNotificationTypes__row--selected:first-child {
		margin-top: 0;
	}
	.cNotificationTypes__row--selected:last-child {
		margin-bottom: 0;
	}

.cNotificationSettings_expand .fa {
	font-size: 24px;
	line-height: 1;
}

.cNotificationTypes__row__title {
	margin-bottom: var(--sp-1);
}

/* Form tweaks for clarity */
html[dir="ltr"] .cNotificationTypes__row .ipsField_fieldList {
	border-left: 2px solid rgba(var(--theme-text_light), 0.15);
	margin: var(--sp-3) 0 0 2px;
	padding: 0 0 0 var(--sp-3);
}

	html[dir="ltr"] .cNotificationTypes__row .ipsField_fieldList .ipsField_fieldList { /* Prevents 'doubling up' of styles */
		border-left: 0;
		margin-left: 0;
		padding: 0;
	}

html[dir="rtl"] .cNotificationTypes__row .ipsField_fieldList {
	border-right: 2px solid rgba(var(--theme-text_light), 0.15);
	margin: var(--sp-3) 2px 0 0;
	padding: 0 var(--sp-3) 0 0;
}

	html[dir="rtl"] .cNotificationTypes__row .ipsField_fieldList .ipsField_fieldList { /* Prevents 'doubling up' of styles */
		border-right: 0;
		margin-right: 0;
		padding: 0;
	}

html[dir] .ipsForm_vertical .ipsFieldRow:not( .ipsFieldRow_checkbox ) > .ipsFieldRow_label {
	margin: 0;
	padding: 0;
}

.cNotificationMethodIcon {
	width: 60px;
	float: left;
}
.cNotificationMethodIcon img {
	width: 100%;
}
.cNotificationMethodDetails {
	overflow: hidden;
	padding-left: 15px;
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="profiles_responsive.css"><![CDATA[/* BOTH */
@media screen and (max-width: 979px) {
	#elUserReputation .ipsDataList .ipsDataItem_generic,
	#elUserReputation .ipsDataList .ipsDataItem_main {
		display: table-cell;
	}


	#elProfileHeader .ipsColumn_narrow {
		width: 70px;
	}

	#elProfileHeader .ipsUserPhoto_xlarge {
		width: 70px;
		height: 70px;
	}

	#elProfileStats {
		padding-left: 20px;
		padding-right: 20px;
	}

	#elProfilePhoto [data-action="editPhoto"] {
		bottom: 10px;
	}
}

/* PHONES */
@media screen and (max-width: 767px) {

	html[dir="ltr"] .cSearchActivity .ipsDataItem_main {
		margin-left: 0;
	}
	html[dir="rtl"] .cSearchActivity .ipsDataItem_main {
		margin-right: 0;
	}

		html[dir="ltr"] .cSearchActivity .cSearchActivity_info {
			border-left: 0;
			padding-left: 0;
			margin-left: 0;
		}
		html[dir="rtl"] .cSearchActivity .cSearchActivity_info {
			border-right: 0;
			padding-right: 0;
			margin-right: 0;
		}

	/* Header stuff */
	#elProfileHeader {
		padding-bottom: 15px;
	}

	#elProfileHeader, #elProfileHeader.cProfileHeaderMinimal {
		padding-top: 10px !important;
		height: auto !important;
	}

		#elProfileHeader .ipsColumn {
			padding: 0;
			margin: 0;
		}

		#elProfileHeader .ipsColumn_narrow {
			width: 100%;
			margin-bottom: 5px;
		}

		#elProfileHeader .ipsUserPhoto {
			width: 60px;
			height: 60px;
			display: block;
			margin: 0 auto;
		}

		#elProfileHeader h1 {
			font-size: 24px;
			line-height: 1.2;
			margin-bottom: 5px;
		}

		#elProfileHeader .cProfileHeader_name span {
			font-size: 14px;
		}

		#elProfileHeader .cProfileHeader_history {
			float: none;
			font-size: 14px;
			vertical-align: text-top;
		}

	#elProfilePhoto [data-action="editPhoto"] {
		top: 0;
		bottom: auto;
	}
	
	.cProfileHeader_name {
		float: none;
		text-align: center;
	}
	/* Fixes centering issue with profile usernames */
	
	html[dir="ltr"] .cProfileHeader_name {
		margin-right: 0;
	}
	
	html[dir="rtl"] .cProfileHeader_name {
		margin-left: 0;
	}

	#elProfileStats {
		height: auto;
	}

		#elProfileStats.cProfileHeaderContent {
			display: none;
		}

	#elProfileStats > ul > li {
		display: block;
		margin-bottom: 10px;
	}

		html[dir] #elProfileStats > ul:last-child {
			margin-top: calc( var(--sp-1) * -1 );
			margin-bottom: calc( var(--sp-1) * -1 );
		}

		html[dir] #elProfileStats > ul:last-child > li {
			margin: var(--sp-1) 0;
			padding: 0;
			border: 0;
			width: 50%;
		}

	/* Streams */
	.ipsStream {
		margin-top: 10px;
	}

	html[dir] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		top: 25px;
	}
	html[dir="ltr"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		left: 34px;
	}
	html[dir="rtl"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		right: 34px;
	}

	#elProfileTabs_content .ipsStreamItem .ipsPhotoPanel > .ipsUserPhoto,
	#elProfileTabs_content .ipsStreamItem .ipsPhotoPanel > .ipsStreamItem_contentType,
	#elProfileUserContent .ipsStreamItem .ipsPhotoPanel > .ipsUserPhoto,
	#elProfileUserContent .ipsStreamItem .ipsPhotoPanel > .ipsStreamItem_contentType {
		display: none;
	}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="profiles.css"><![CDATA[#elProfileHeader {
	padding-bottom: 0;
	padding-top: 125px;
	position: relative;
	height: 200px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	text-shadow: 0px 0px 4px rgba(0,0,0,0.5);
	font-size: {fontsize="base"};
	transition: all 0.3s ease-in-out;
}

	#elProfileHeader h1 {
		font-size: {fontsize="28"};
		font-weight: 300;
	}

	#elProfileHeader.cProfileHeaderMinimal {
		padding-top: 25px;
		height: 100px;
	}

	#elProfileHeader .ipsUserPhoto {
		position: relative;
		z-index: 1800;
	}

	#elProfileHeader .ipsColumns, #elProfileHeader .ipsColumn_fluid {
		width: auto;
	}

#elProfilePhoto [data-action="editPhoto"] {
	position: absolute;
	bottom: 0;
	z-index: 1850;
}
html[dir="ltr"] #elProfilePhoto [data-action="editPhoto"] {
	left: 0;
}
html[dir="rtl"] #elProfilePhoto [data-action="editPhoto"] {
	right: 0;
}

#elProfileStats {
	background: rgb( var(--theme-area_background_dark) );
	color: #fff;
	height: 65px;
	padding: 12px 12px 12px 185px;
	font-size: {fontsize="medium"};
	font-weight: 500;
	position: relative;
}
html[dir="rtl"] #elProfileStats {
	padding: 12px 185px 12px 12px;
}
	
	#elProfileStats > [data-role="switchView"] .ipsList_inline,
	#elProfileStats > [data-role="switchView"] .ipsButton {
		position: relative;
		z-index: 1000;
	}
	
	html[dir="ltr"] #elProfileStats > ul:last-child > li {
		margin-right: 20px;
		padding-right: 20px;
		border-right: 1px solid rgba(255,255,255,0.2);
	}
	html[dir="rtl"] #elProfileStats > ul:last-child > li {
		margin-left: 20px;
		padding-left: 20px;
		border-left: 1px solid rgba(255,255,255,0.2);
	}

	html[dir] #elProfileStats > ul:last-child > li:last-child {
		border: 0;
	}

/* ACHIEVEMENTS */
.cProfileAchievements {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(170px, 1fr) );
	grid-column-gap: var(--sp-2);
	grid-row-gap: var(--sp-7);
}

	.cProfileAchievements > a:hover {
		background: rgb( var(--theme-area_background ) );
	}

.cProfileBadgeGrid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(250px, 1fr));
	grid-gap: var(--sp-5);
}

.cRankHistory {
	--line-width: 3px;
	z-index: 10;
}

	.cRankHistory:before {
		content: '';
		width: var(--line-width);
		background: rgb(var(--theme-text_light));
		position: absolute;
		top: -20px;
		bottom: calc( var(--size-4) / 2); /* Make the line end under the last image */
		left: calc( var(--size-4) / 2 - ( var(--line-width) / 2 ) );
		z-index: -1;
		opacity: 0.4;
	}

	.cRankHistory:after {
		content: '';
		background: rgb(var(--theme-text_light));
		width: calc(var(--line-width) * 3);
		height: calc(var(--line-width) * 3);
		position: absolute;
		top: calc( -20px - var(--line-width) );
		left: calc( var(--size-4) / 2 - (var(--line-width) / 2) - var(--line-width) );
		border-radius: calc( var(--line-width) * 3);
	}

	.cRankHistory__item {
		position: relative;
	}

		.cRankHistory__item:before {
			content: '';
			width: var(--size-4);
			height: calc( var(--size-4) + 6px );
			background: rgb(var(--theme-area_background_reset));
			position: absolute;
			left: 0;
			top: -3px;
		}

	.cRankHistory__itemBadge--unearned {
		opacity: 0.15;
		filter: grayscale(1);
	}

/* REP SCORES */
.cProfileRepScore {
	text-align: center;
}

	.cProfileRepScore_positive {
		background: var(--positive-dark);
		color: var(--positive-light);
	}

	.cProfileRepScore_negative {
		background: var(--negative-dark);
		color: var(--negative-light);
	}
	
	.cProfileRepScore_neutral {
		background: rgb( var(--theme-area_background) );
		color: rgb( var(--theme-text_dark) );
	}

	.cProfileSolutions {
		background: var(--informational-dark);
		color: var(--informational-light);
	}

	.cProfileRepScore > .ipsAreaBackground_reset {
		margin-top: 5px;
	}

.cProfileRepScore_negative .ipsType_minorHeading, .cProfileRepScore_positive .ipsType_minorHeading, .cProfileSolutions .ipsType_minorHeading {
	color: rgba(255,255,255,0.5);
}

.cProfileRepScore_points, .cProfileRepScore_title {
	display: block;
}

.cProfileRepScore_points {
	font-size: {fontsize="x_large"};
	margin: 4px 0;
}

#elEditProfile {
	position: absolute;
	top: 10px;
	z-index: 100;
}
html[dir="ltr"] #elEditProfile {
	right: 10px;
}
html[dir="rtl"] #elEditProfile {
	left: 10px;
}

#elWarningInfo i {
	font-size: 34px;
	margin-top: 5px;
}

	html[dir="ltr"] #elWarningInfo > div {
		margin-left: 45px;
	}
	html[dir="rtl"] #elWarningInfo > div {
		margin-right: 45px;
	}

	#elWarningInfo .ipsButton {
		margin-bottom: 4px;
	}

#elUserContent [data-role="tableRows"] {
	padding-top: 0;
}

#elUserContent [data-role="tableRows"] > li > .ipsDataList > .ipsDataItem {
	border-bottom: 0;
}

#elUserContent .ipsComment_meta {
	margin-bottom: 10px;
}

.cProfileSidebarBlock .ipsType_sectionTitle {
	margin: 0 -15px;
}

.cProfileSidebarBlock:last-child {
	margin-bottom: 0;
}

.cProfileSidebarBlock img {
	max-width: 100%;
}

#elFollowers > .ipsPad {
	padding-bottom: 0;
}

/* Content */
.cProfileContent .ipsComment_header + .ipsPad_half {
	padding-top: 0;
}

	html[dir="ltr"] .cProfileFields .ipsDataItem_size3 {
		padding-right: 5px;
	}

	html[dir="rtl"] .cProfileFields .ipsDataItem_size3 {
		padding-left: 5px;
	}

/* Activity stream overview */
#elProfileActivityOverview{
	margin-left: -20px;
	margin-right: -20px;
}
#elUserContent .cSearchActivity{
	padding: 0;
}
#elProfileActivityOverview .ipsStreamItem,
#elUserContent .ipsStreamItem,
#elSingleStatusUpdate .ipsStreamItem {
	box-shadow: none;
	border: 0;
	margin: 0;
	padding: 20px;
	border-bottom: 1px solid rgba( var(--theme-text_dark), 0.1 );
	border-radius: 0;
}

	#elProfileActivityOverview .ipsStreamItem:only-child,
	#elUserContent .ipsStreamItem:only-child,
	#elSingleStatusUpdate .ipsStreamItem:only-child,
	#elProfileActivityOverview .ipsStreamItem:last-child,
	#elUserContent .ipsStreamItem:last-child,
	#elSingleStatusUpdate .ipsStreamItem:last-child {
		border-bottom-width: 0;
	}

	#elUserContent .ipsStreamItem_contentType,
	#elSingleStatusUpdate .ipsStreamItem_contentType {
		display: none;
	}

	html[dir] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		top: 55px;
		border-width: 1px;
		width: 24px;
		height: 24px;
		border-radius: 24px;
		line-height: 22px;
		font-size: 12px;
	}

	html[dir="ltr"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		left: 20px;
	}
	html[dir="rtl"] .ipsStream:not( .ipsStream_withTimeline ) .ipsStreamItem_contentType {
		right: 20px;
	}

/* Profile 'Day won' */
.cProfileSidebarBlock.ipsLeaderboard_trophy_1 {
	padding: 10px;
	background-color: var(--trophy-first--background);
	color: var(--trophy-first--color);
}

/* Rep log */
.cProfileRepLog_text {
	margin: 10px 0 0 0;
}

.cProfileRepLog_button {
	line-height: 28px !important;
}

.cProfileHeader_name {
	padding-top: 0;
}

html[dir="ltr"] .cProfileHeader_name {
	margin-right: 15px;
}
html[dir="rtl"] .cProfileHeader_name {
	margin-left: 15px;
}

.cProfileHeader_name > span {
	display: block;
}

html[dir="ltr"] #elProfileHeader .cProfileHeader_history {
	margin-left: 7px;
}
html[dir="rtl"] #elProfileHeader .cProfileHeader_history {
	margin-right: 7px;
}

#elProfileHeader .cProfileHeader_history {
	line-height: 28px;
	color: inherit;
	opacity: 0.5;
}

	#elProfileHeader .cProfileHeader_history:hover {
		color: inherit;
		opacity: 1;
	}

#elProfileHeader.ipsCoverPhotoMinimal {
	padding-top: 25px;
	height: 100px;
}

/* Subscriptions */
.cProfileSubscription {
    position: relative;
    display: flex;
    align-items: flex-end;
	overflow: hidden;
	border-radius: var(--radius-1);
	background-color: rgb( var(--theme-area_background_dark) );
	color: #ffffff;
	text-overflow: ellipsis;
}

	.cProfileSubscription--with-image{
		min-height: 120px;
	}

	.cProfileSubscription--no-image{
		padding: 15px 0;
	}

	.cProfileSubscription_bg {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}

	.cProfileSubscription_gradient{
		position: absolute;
		top: 0;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
	}

	.cProfileSubscription .cProfileSubscription_text {
		font-size: {fontsize="medium"};
		padding: 14px;
		color: #ffffff;
		border-radius: var(--radius-1);
		flex: 0 0 100%;
		min-width: 0;
		text-align: center;
		position: relative;
		text-shadow: rgba(0,0,0,0.2) 0px 1px 1px;
	}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="promote_responsive.css"><![CDATA[@media screen and (max-width: 767px) {
	#form_promote_social_content_twitter .ipsFieldRow_label,
	#form_promote_social_content_internal .ipsFieldRow_label {
		float: left !important;
	}

	.cPromoted > .ipsPad {
		padding: 15px;
	}

	.ipsDialog .cPromoteSubmit {
		position: fixed;
	}

	html[dir="ltr"] .cPromote_hide {
		right: 3px;
	}

	html[dir="rtl"] .cPromote_hide {
		left: 3px;
	}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="promote.css"><![CDATA[/* Our Picks */
.cPromotedHeader {
	display: block;
	min-height: 150px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.cPromotedTitle {
	font-size: {fontsize="large"};
	font-weight: 600;
}

.cPromotedImages {
	border-width: 1px 0 0 1px; /* Doesn't need to be RTL since it's just forming an even border */
	border-style: solid;
	border-color: rgb( var(--theme-area_background_reset) );
}

.cPromotedImages li {
	min-height: 50px;
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
}

	.cPromotedImages li:after {
		content: '';
		padding-bottom: 100%;
		display: block;
	}

	.cPromotedImages li > a {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 1px; /* Doesn't need to be RTL since it's just forming an even border */
		bottom: 1px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}

html[dir="ltr"] .cPromotedNetworks li {
	margin-left: 5px !important;
}
html[dir="rtl"] .cPromotedNetworks li {
	margin-right: 5px !important;
}

/* Reset some grid sizes since we have no margins here */
.ipsApp .cPromotedImages .ipsGrid_span12 {
	width: 100%;
}
.ipsApp .cPromotedImages .ipsGrid_span6 {
	width: 50%;
}
.ipsApp .cPromotedImages .ipsGrid_span4 {
	width: 25%;
}
.ipsApp .cPromotedImages .ipsGrid_span3 {
	width: 33.333332%;
}
.ipsApp .cPromotedImages .ipsGrid_span2 {
	width: 16.666665%;
}

/* OUR PICKS WIDGET */
.cPromotedWidget_horizontal .cPromotedWidgetItem {
	width: 300px;
	display: flex;
	flex-direction: column;
}

	.cPromotedWidget_horizontal [data-role="carouselItems"] {
		display: flex;
	}

	.cPromotedWidget_horizontal .cPromotedWidgetItem.ipsBox--child{
		box-shadow: none;
		border: 1px solid rgba( var(--theme-text_light), 0.2 );
	}

	.cPromotedWidget_horizontal .cPromotedWidgetItem_content {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		flex-grow: 1;
		white-space: normal;
	}

		.cPromotedWidget_horizontal .cPromotedWidgetItem_content > .cPromotedWidgetItem_contentInner {
			flex-grow: 1;
		}

.ipsWidget.ipsWidget_horizontal[data-blockid^="app_core_promoted"] .ipsWidget_inner.ipsPad {
	padding-bottom: 0;
}


.cPromotedWidget_vertical .cPromotedWidgetItem {
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.cPromotedWidgetItem .cPromotedHeader {
	min-height: 100px;
}
	
	.cPromotedWidgetItem .cPromotedImages {
		margin: -30px 7px 0;
	}
	

.cPromoteDialog.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	width: 50px;
}

html[dir="ltr"] .cPromoteDialog.ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_label, 
html[dir="ltr"] .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
	text-align: left;
}

	.cPromote_links input[type=text] {
		max-width: none;
	}

.cPromoteDialog h2.ipsFieldRow_section {
	background-color: transparent;
	padding: 0px;
}

.cPromoteDialog_icon {
	font-size: 20px;
	color: #ffffff;
	background-color: #3a579a;
	padding: 5px 10px;
	margin-top: 7px;
	border-radius: 3px;
	display: inline-block;
	width: 35px;
	text-align: center
}
	
	.cPromoteDialog_icon_twitter {
		background-color: #4099FF;
		padding: 5px 5px;
	}
	
	.cPromoteDialog_icon_internal {
		background-color: #008b00;
		padding: 5px 5px;
	}
	
.cPromote_serviceFailed {
	color: rgb( var(--theme-moderated_text) );
}

/* MOD CP */
.cPromoteModCP .ipsBadge_style1 {
	background: rgb( var(--theme-text_light) );
	color: #fff;
}

.cPromoteModCP .ipsBadge.ipsBadge_icon.ipsBadge_small {
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 20px;
}

html[dir="ltr"] .cPromoteModCP .cShareLink {
	margin-left: 5px;
}
html[dir="rtl"] .cPromoteModCP .cShareLink {
	margin-right: 5px;
}

.cShareLink--failed{
	filter: grayscale(.7);
	opacity: .4;
}

.cPromoteModCP .cPromoteModCP_edit.ipsDataItem_size3 {
	padding-left: 0px;
}

	html[dir="ltr"] .cPromoteModCP .ipsDataItem_size3 a[data-action="edit"],
	html[dir="ltr"] .cPromoteModCP .ipsDataItem_size9 a[data-action="edit"] {
		margin-right:5px;
	}
	
	html[dir="rtl"] .cPromoteModCP .ipsDataItem_size3 a[data-action="edit"],
	html[dir="rtl"] .cPromoteModCP .ipsDataItem_size9 a[data-action="edit"] {
		margin-left:5px;
	}

/* DIALOG */
html[dir="ltr"] .cPromoteDialog .ipsColumn_fluid {
	padding-right: 20px;
}
html[dir="rtl"] .cPromoteDialog .ipsColumn_fluid {
	padding-left: 20px;
}

.cPromoteDialog .ipsColumn_veryWide {
	width: 425px;
}

.ipsDialog .cPromoteSubmit {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin-bottom: 0 !important;
}

	.cPromoteSubmit .ipsButton {
		width: 100%;
	}

.cPromoteCount {
	float: right;
	font-weight: bold;
	font-size: 14px;
}

	html[dir="ltr"] .cPromoteCount {
		margin-left: 15px;
	}
	html[dir="rtl"] .cPromoteCount {
		margin-right: 15px;
	}

	.cPromoteCount:not( .ipsType_issue ):not( .ipsType_negative ) {
		color: #000;
	}

.cPromote_hide {
	position: absolute;
	top: -10px;
	font-family: 'arial', sans-serif;
	background: #222;
	color: #fff;
	text-align: center;
	border-radius: 20px;
	height: 20px;
	width: 20px;
	line-height: 20px;
	z-index: 1000;
}
	html[dir="ltr"] .cPromote_hide {
		right: -10px;
	}
	html[dir="rtl"] .cPromote_hide {
		left: -10px;
	}

.cPromoteRow_minimized {
	min-height: 65px;
}

.cPromoteEnable {
	float: right;
	margin-top: 12px;
}
	html[dir="ltr"] .cPromoteEnable {
		margin-right: 12px;
	}
	html[dir="rtl"] .cPromoteEnable {
		margin-left: 12px;
	}

.cPromote_attachImage {
	position: relative;
}

	.cPromote_attachImage [data-role="preview"] {
		background-position: center;
		background-size: cover;
		position: relative;
		border: 3px solid transparent;
	}

		.cPromote_attachImage [data-role="preview"]:after {
			content: '';
			display: block;
			padding-bottom: 100%;
		}

		.cPromote_attachImageSelected [data-role="preview"] {
			border-color: #2a94de;
		}

	.cPromote_attachImage .ipsAttachment_progress {
		width: auto;
		position: absolute;
		left: 5px;
		right: 5px;
		bottom: 10px;
	}

	html[dir="ltr"] .ipsApp .cPromote_attachImage .ipsImageAttach_controls {
		bottom: 7px;
		right: 3px;
	}
	html[dir="rtl"] .ipsApp .cPromote_attachImage .ipsImageAttach_controls {
		bottom: 7px;
		left: 3px;
	}

.cPromote_attachList .ipsGrid > li {
	margin-bottom: 10px;
}

.ipsApp .cPromote_attachList_checkbox.ipsImageAttach_controls {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

	.ipsApp .cPromote_attachList_checkbox.ipsImageAttach_controls .ipsAttach_selection {
		position: absolute;
		top: 7px;
		opacity: 0.4;
	}
		html[dir="ltr"] .ipsApp .cPromote_attachList_checkbox.ipsImageAttach_controls .ipsAttach_selection {
			left: 7px;
		}
		html[dir="rtl"] .ipsApp .cPromote_attachList_checkbox.ipsImageAttach_controls .ipsAttach_selection {
			right: 7px;
		}

	.ipsApp .cPromote_attachList_checkbox.ipsImageAttach_controls .ipsAttach_selection.ipsAttach_selectionOn {
		opacity: 1;
	}

#form_promote_schedule .ipsFieldRow_label,
#promote_custom_date .ipsFieldRow_label {
	display: none;
}

html[dir="ltr"] #elSchedulePromote_menu .ipsFieldRow_content {
	margin-left: 0;
}
html[dir="rtl"] #elSchedulePromote_menu .ipsFieldRow_content {
	margin-right: 0;
}

#promote_custom_date input.ipsField_short {
	width: 150px;
}

html[dir="ltr"] #promote_custom_date {
	margin-left: 25px !important;
}
html[dir="rtl"] #promote_custom_date {
	margin-right: 25px !important;
}

#form_promote_media .ipsFieldRow_label {
	display: none;
}

#form_promote_media .ipsFieldRow_content {
	margin: 0;
}

#form_promote_media .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall {
	padding: 7px;
	background: transparent;
	border: 3px dashed rgba( var(--theme-text_color), 0.15 );
}

	html[dir] #form_promote_media .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall [data-action='uploadFile'] {
		width: 100%;
		float: none;
	}

	html[dir="ltr"] #form_promote_media .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall > .ipsAttachment_dropZoneSmall_info {
		margin-left: 0;
		margin-top: 7px;
	}
	html[dir="rtl"] #form_promote_media .ipsAttachment_dropZone.ipsAttachment_dropZoneSmall > .ipsAttachment_dropZoneSmall_info {
		margin-right: 0;
		margin-top: 7px;
	}

/* SERVICE FIELDS */
#form_promote_social_content_twitter,
#form_promote_social_content_internal {
	border-radius: 4px;
	position: relative;
	background: rgb( var(--theme-area_background) );
}
	html[dir="ltr"] #form_promote_social_content_twitter,
	html[dir="ltr"] #form_promote_social_content_internal {
		padding: 3px 3px 3px 15px;
	}
	html[dir="rtl"] #form_promote_social_content_twitter,
	html[dir="rtl"] #form_promote_social_content_internal {
		padding: 3px 15px 3px 3px;
	}

	html[dir="ltr"] #form_promote_social_content_twitter .ipsFieldRow_content,
	html[dir="ltr"] #form_promote_social_content_internal .ipsFieldRow_content {
		margin-left: 50px;
		background: rgb( var(--theme-area_background_reset) );
	}
	html[dir="rtl"] #form_promote_social_content_twitter .ipsFieldRow_content,
	html[dir="rtl"] #form_promote_social_content_internal .ipsFieldRow_content {
		margin-right: 50px;
		background: rgb( var(--theme-area_background_reset) );
	}

	#form_promote_social_content_twitter textarea,
	#form_promote_social_content_internal textarea {
		border: 0;
		border-radius: 2px;
		margin-bottom: 7px;
	}

	#form_promote_social_content_twitter .ipsFieldRow_desc,
	#form_promote_social_content_internal .ipsFieldRow_desc {
		display: block;
		border-top: 1px solid rgba(0,0,0,0.1);
		padding-top: 7px;
		padding-bottom: 7px;
		margin: 0 10px;
		color: rgb( var(--theme-text_light) );
	}
		
	.cPromote_text_wrapper {
		margin-bottom: 20px;
		clear: both;
	}
	
	.cPromote_text_fade {
		height: 80px;
		position: relative;
		overflow: hidden;
		margin-bottom: 10px;
	}
	
	.cPromote_text_fade:after {
		content: '';
		display: block;
		height: 40px;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(to bottom, rgba( var(--theme-area_background_reset), 0 ) 0%, rgba( var(--theme-area_background_reset), 1 ) 100%);
		pointer-events: none;
	}
	
	#eOriginalText textarea {
		height: 200px !important;
	}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="query_log.css">html[dir=&quot;ltr&quot;] body {
	margin-right: 300px;
}
html[dir=&quot;rtl&quot;] body {
	margin-left: 300px;
}

#elQueryLog {
	position: fixed;
	top: 0;
	bottom: 0;
	padding-bottom: 70px;
	width: 300px;
	background: #212223;
	overflow: auto;
}
html[dir=&quot;ltr&quot;] #elQueryLog {
	right: 0;
	padding-left: 10px;
}
html[dir=&quot;rtl&quot;] #elQueryLog {
	left: 0;
	padding-right: 10px;
}

#elQueryLog h3 {
	color: #fff;
	margin-bottom: 15px;
}

#elQueryLog span.pln {
	color: #fff;
}

#elQueryLog .prettyprint {
	border: 0;
	cursor: pointer;
	background: inherit;
	white-space: pre-wrap;
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="referrals_responsive.css">/* ! Referrals */
@media screen and (min-width: 980px) {
  .cReferrals_grid .sSection {
    padding: 8rem 0 8rem;
  }

  .cReferrals_grid .cReferrals_grid_row {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }

  .cReferrals_grid .cReferrals_grid_item {
    margin-right: 20px;
    max-width: 32%;
  }
}
</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="referrals.css"><![CDATA[/* ! Referrals */
.cReferal_members {
	line-height: 16px;
	position: relative;
	padding-bottom: 0;
}
	
	.cReferal_members > ol > li {
		border-radius: 2px;
	}
	html[dir="ltr"] .cReferal_members > ol > li {
		border-right: 2px solid rgba( var(--theme-text_color), 0.15 );
		padding-right: 15px;
		margin: 7px 15px 7px 0;
	}
	html[dir="rtl"] .cReferal_members > ol > li {
		border-left: 2px solid rgba( var(--theme-text_color), 0.15 );
		padding-left: 15px;
		margin: 7px 0 7px 15px;
	}
		
		.cReferal_members > ol {
			padding-bottom: 0;
		}

		html[dir="ltr"] .cReferal_members > ol > li:last-child {
			border-right: 0;
		}
		html[dir="rtl"] .cReferal_members > ol > li:last-child {
			border-left: 0;
		}
		
.cReferralLinks li.ipsDataItem {
	border-width: 0px;
}

.cReferrals_directLink h3 {
	font-size: 16px;
}

.cReferrals_directLink span.cReferrals_directLink_link {
	font-family: "Courier New", monospace;
	font-size: 18px;
	padding-left: 10px;
}

	.cReferralLinks input[type="text"] {
		color: rgb( var(--theme-text_light) );
		font-family: "Courier New", monospace;
	}
	
	.cReferralLinks .cReferrals_directLink_input {
		margin-left: 10px;
	}
	
	.cReferralLinks .cReferrer_copy_link {
		margin-top: -3px;
		margin-left: 10px;
	}
	
/* ! Banners */
.cReferrals_grid .cReferrals_grid_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 25px;
}

.cReferrals_grid .cReferrals_grid_row--primary .cReferrals_grid_item {
  max-width: 100%;
}


.cReferrals_grid .cReferrals_grid_row--primary .cReferrals_grid_item__image {
  height: 200px;
}

.cReferrals_grid .cReferrals_grid_item {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  -webkit-flex-basis: calc(50% - 2px);
  flex-basis: calc(50% - 2px);
}
	

.cReferrals_grid .cReferrals_grid_item:last-child {
  margin-right: 0;
}
.cReferrals_grid .cReferrals_grid_item__body {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 15px;
}

.cReferrals_grid .cReferrals_grid_item__image {
  height: 150px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  background-color: rgb( var(--theme-area_background_light) );
  border-bottom: 1px solid rgb( var(--theme-area_background) );
}

.cReferrals_grid .cReferrals_grid_item__image > img {
  display: none;
}

]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="search_responsive.css">/* PHONES */
@media screen and (max-width: 767px) {
	html[dir=&quot;ltr&quot;] #elMainSearchInput {
		padding-right: 7px;
	}
	html[dir=&quot;rtl&quot;] #elMainSearchInput {
		padding-left: 7px;
	}
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="search.css">/* Search form */
.cSearchMainBar .ipsType_huge.fa {
	font-size: 36px;
	line-height: 1;
}

.cSearchPretendButton {
	border: 0;
	padding: 0;
	margin: 0;
	display: block;
	background: transparent;
}

.cSearchWrapper{
	position: relative;
}

	html[dir=&quot;ltr&quot;] #elMainSearchInput {
		padding-right: 128px;
	}
	html[dir=&quot;rtl&quot;] #elMainSearchInput {
		padding-left: 128px;
	}

	.cSearchWrapper__button{
		position: absolute;
		top: 0; right: 0; bottom: 0;
		display: flex;
		align-items: center;
		padding: 0 7px;
	}
	
	html[dir=&quot;rtl&quot;] .cSearchWrapper__button{
		right: auto;
		left: 0;
	}

/* Member search results */
.cStream_members .ipsStreamItem {
	margin-top: 10px !important;
}

.cStream_members .ipsUserPhoto {
	margin-top: calc( ( var(--sp-5) + var(--sp-3) ) * -1 );
	box-shadow: 0 0 0 5px rgb( var(--theme-area_background_reset) );
}

.cStream_members .ipsGrid_span6 {
	margin-bottom: 0;
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="settings_responsive.css">/* BOTH */
@media screen and (max-width: 979px) {	
	#elSettingsTabs .ipsColumn_wide {
		width: 190px;
	}	
}

/* PHONES */
@media screen and (max-width: 767px) {
	#elSettingsTabs .ipsColumn_wide {
		width: 100%;
		margin-bottom: 0;
	}
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="settings.css"><![CDATA[#elSettingsTabs > .ipsColumns {
	min-height: 250px;
}

html[dir="ltr"] #elSettingsTabs > .ipsColumns > .ipsColumn_wide {
	padding-right: 0;
}
html[dir="rtl"] #elSettingsTabs > .ipsColumns > .ipsColumn_wide {
	padding-left: 0;
}

body[data-pagecontroller="settings"] div[data-role="wizardContent"] form div.ipsPad {
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

body[data-pagecontroller="settings"] .ipsButton_link {
	border: none;
}

.cLoginServiceIcon {
	display: inline-block;
	width: 30px;
	text-align: center;
}

.cLoginServiceIcon img {
	max-height: 16px;
	max-width: 30px;
    filter: brightness(20%);
}

.ipsSideMenu_itemActive .cLoginServiceIcon img {
	filter: brightness(100%);
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="staff_responsive.css">/* PHONES */
@media screen and (max-width: 767px) {
	.cStaffDirectory .cStaffDirectory_half {
		margin-bottom: 0;
	}

	.cStaffDirectory .cStaffDirectory_blocks .ipsGrid_span3,
	.cStaffDirectory .cStaffDirectory_half .ipsGrid_span6 {
		margin-bottom: 15px;
	}
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="staff.css">.cStaffDirectory_blocks .ipsUserPhoto {
	width: 54px;
	display: block;
	margin: 0 auto 10px auto;
}</css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="streams_responsive.css"><![CDATA[/* PHONES */
@media screen and (max-width: 767px) {
	.cStreamFilter {
		display: block;
		padding: 0 var(--sp-5);
	}
	
		.cStreamFilter > li {
			width: auto;
			float: none;
		}
		
		.cStreamFilter > li > a {
			border-right: 0;
			border-bottom: 1px solid rgba(0,0,0,0.1);
			padding: 7px 0;
		}
			
			.cStreamFilter > li > a.cStreamFilter_active {
				margin: 0 -5px;
				padding: 7px 5px;
			}
			
		.cStreamFilter > li > a:after {
			right: 7px;
			top: 15px;
		}

	#elStreamFilterForm [data-role="saveButtonContainer"] > li {
		display: block;
		text-align: center;
		margin: 0 0 5px 0;

	}

		#elStreamFilterForm [data-role="saveButtonContainer"] > li .ipsButton {
			display: block;
			width: 100%;
		}
}]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="streams.css"><![CDATA[.cStreamFilter {
	padding: var(--sp-4) var(--sp-3);
	position: relative;
}

	.cStreamFilter > li {
		float: left;
		width: 12.5%;
		position: relative;
	}
		.cStreamFilter > li > a {
			display: block;
			border-right: 1px solid rgba( var(--theme-text_color), 0.2 );
			padding: 0 var(--sp-2);
		}
		
			.cStreamFilter > li > a.cStreamFilter_active {
				background: rgb( var(--theme-area_background_dark) );
				color: #fff;
				margin: calc( var(--sp-2) * -1 ) 0;
				padding: calc( var(--sp-2) );
				border-radius: var(--radius-1);
			}
			
				.cStreamFilter > li > a.cStreamFilter_active h3 {
					color: inherit;
				}
		
		.cStreamFilter > li:last-child > a {
			border: 0;
		}
		
		.cStreamFilter > li > a:after {
			content: '\f107';
			font-family: 'FontAwesome';
			font-size: 15px;
			position: absolute;
			top: 2px;
		}
		html[dir="ltr"] .cStreamFilter > li > a:after {
			right: 10px;
		}
		html[dir="rtl"] .cStreamFilter > li > a:after {
			left: 10px;
		}
		
	.cStreamFilter h3 {
		font-size: {fontsize="medium"};
		color: rgb( var(--theme-text_color) );
	}

		html[dir="ltr"] .cStreamFilter h3 {
			padding-right: 12px;
		}
		html[dir="rtl"] .cStreamFilter h3 {
			padding-left: 12px;
		}
	
	.cStreamFilter p {
		
	}
	
		.cStreamFilter p em {
			opacity: 0.3;
		}

.cStreamFilter a {
	color: rgb( var(--theme-text_color) );
}

.cStreamFilter_toggleShown {
	margin-top: 7px;
}
.ipsApp #elStreamUpdateMsg {
	line-height: 24px;
}

/* FILTER FORM STYLES */
.cStreamForm_loading {
	height: 500px;
}
	.cStreamForm_loading .ipsAreaBackground_reset {
		height: 100%;
	}
	.cStreamForm_loading .ipsLoading {
		position: absolute;
		height: 450px;
		width: 100%;
	}
.cStreamForm_list > li {
	margin-bottom: 0;
	position: relative;
}

.cStreamForm_list li a.ipsSideMenu_item {
	padding-top: 5px;
	padding-bottom: 5px;
}

html[dir="ltr"] .cStreamForm_list li a.ipsSideMenu_item.cStream_withOptions {
	margin-right: 45px;
}
html[dir="rtl"] .cStreamForm_list li a.ipsSideMenu_item.cStream_withOptions {
	margin-left: 45px;
}

.cStreamForm_list li a.ipsSideMenu_item.ipsSideMenu_itemActive + .cStreamForm_menu,
.cStreamForm_list li a.ipsSideMenu_item:not( .ipsSideMenu_itemActive ):hover + .cStreamForm_menu {
	display: block;
	background: rgba( var(--theme-text_color), 0.2 );
}

.cStreamForm_list li a.ipsSideMenu_item.ipsSideMenu_itemActive + .cStreamForm_menu{
	color: #fff;
	background: {hextorgb="#fff" opacity="0.1"};
}

.cStreamForm_list li a.ipsSideMenu_item.ipsSideMenu_itemActive + .cStreamForm_menu.cStreamForm_menuActive {
	background: rgb( var(--theme-area_background) );
}

.cStreamForm_list li:hover a.ipsSideMenu_item:not( .ipsSideMenu_itemActive ) + .cStreamForm_menu {
	opacity: 0.3;
	pointer-events: none;
}

.cStreamForm_menu {
	padding: 5px 10px;
	cursor: pointer;
	position: absolute;
	top: 0;
	display: none;
}

html[dir="ltr"] .cStreamForm_menu {
	right: 0;
}
html[dir="rtl"] .cStreamForm_menu {
	left: 0;
}

#elStreamContentTypes_menu {
	padding-bottom: 0;
}

.cStreamForm_dates, .cStreamForm_authors {
	padding-left: 26px;
}

	.ipsApp .cStreamForm_dates input[type="date"] {
		max-width: 100%;
		width: 100%;
	}

.cStreamForm_list[data-filterType='type'] .ipsSideMenu_item .cStreamForm_menu + a {
	margin-right: 45px;
}

.cStreamForm_nodes {
	display: block;
}

html[dir="ltr"] .cStreamForm_nodes {
	padding: 5px 0 5px 12px;
    margin: -2px 45px 0 12px;
    border-left: 2px solid rgb( var(--theme-area_background_dark) );
}
html[dir="rtl"] .cStreamForm_nodes {
	padding: 5px 12px 5px 0;
    margin: -2px 12px 0 45px;
    border-right: 2px solid rgb( var(--theme-area_background_dark) );
}

	.cStreamForm_nodes .ipsFieldRow {
		width: 100%;
	}
	
	.ipsApp .cStreamForm_nodes .ipsFieldRow_label {
		margin: 0;
		padding: 0;
		font-size: {fontsize="small"};
	}
]]></css>
 <css css_location="front" css_app="core" css_attributes="" css_path="styles" css_name="vse.css"><![CDATA[:root {
	--vse-width: 360px;
}

.ipsApp.ipsApp_vse {
	background: #fff !important;
}

#vseMainWrapper {
	position: absolute;
	left: 0;
	top: 0;
	right: var(--vse-width);
	bottom: 0;
}
html[dir="rtl"] #vseMainWrapper {
	left: var(--vse-width);
	right: 0;
}

#vseMainFrame {
	border: 0;
	width: 100%;
	height: 100%;
}

#vseToolbox_tabs {
	position: absolute;
	width: 100%;
	top: 50px;
	bottom: 0;
}

#vseToolbox .ipsTabs_panel
{
	background: transparent;
}

#ipsTabs_vseSection_vseCustomizeTab_panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
}

#vseToolbox {
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--vse-width);
	z-index: 5000;
	box-shadow: -10px 0px 40px rgba(0,0,0,0.2);
}
html[dir="ltr"] #vseToolbox {
	right: 0;
}
html[dir="rtl"] #vseToolbox {
	left: 0;
}

#vseCustomCSS {
	position: absolute;
	left: 0;
	right: var(--vse-width);
	bottom: 0;
	height: 300px;
}
html[dir="rtl"] #vseCustomCSS {
	left: var(--vse-width);
	right: 0;
}

#vseCustomCSS_editor {
	height: 235px;
}

.vseIcon {
	font-size: 36px;
}

/* Overwritten styles from the framework */
#vseToolbox .ipsHr {
	border-color: rgba(0,0,0,0.2);
}

#vseToolbox .ipsTabs {
	background: #000;
	color: #fff;
}

#vseToolbox .ipsTabs .ipsTabs_item:hover {
	background: rgba(0,0,0,0.1);
	color: #fff;
}

#vseToolbox .ipsTabs .ipsTabs_item {
	color: #8b8b8b;
	text-decoration: none;
}

#vseToolbox .ipsTabs .ipsTabs_activeItem {
	background: #212223;
	color: #fff !important;
	font-weight: normal;
}

#vseToolbox .ipsButton_primary {
	background: #000;
	color: #fff;
}

#vseToolbox #ipsTabs_vseSection_vseSettingsTab_panel .ipsFieldRow_label,
#vseToolbox #ipsTabs_vseSection_vseSettingsTab_panel .ipsField_fieldList_content
{
	color: #fff;
}

/*#vseClassEditor input[type="text"] {
	background: rgba(255,255,255,0.3);
	border: 1px solid rgba(0,0,0,0.2);
	color: #fff;
}

#vseClassEditor input[type="text"]:focus {
	background: rgba(255,255,255,0.4);
}*/

/* CLASS LIST */
#vseClassWrap {
	width: var(--vse-width);
	overflow: hidden;
	position: absolute;
	top: 60px;
	bottom: 0;
	border-top: 1px solid rgba(0,0,0,0.6);
}
html[dir="ltr"] #vseClassWrap {
	left: 0;
}
html[dir="rtl"] #vseClassWrap {
	right: 0;
}

	#vseClassList, #vseClassEditor {
		width: var(--vse-width);
		position: absolute;
		top: 0;
		bottom: 0;
		transition: all 0.3s ease;
		overflow: auto;
	}

	html[dir="ltr"] #vseClassWrap #vseClassEditor {
		left: var(--vse-width);
	}
	html[dir="ltr"] #vseClassWrap.vseShow_editor #vseClassList {
		left: calc( var(--vse-width) * -1 );
	}
	html[dir="ltr"] #vseClassWrap #vseClassList {
		left: 0;
	}
	html[dir="ltr"] #vseClassWrap.vseShow_editor #vseClassEditor {
		left: 0;
	}
	html[dir="rtl"] #vseClassWrap #vseClassEditor {
		right: var(--vse-width);
	}
	html[dir="rtl"] #vseClassWrap.vseShow_editor #vseClassList {
		right: calc( var(--vse-width) * -1 );
	}
	html[dir="rtl"] #vseClassWrap #vseClassList {
		right: 0;
	}
	html[dir="rtl"] #vseClassWrap.vseShow_editor #vseClassEditor {
		right: 0;
	}

#vseClassList {
	color: #fff;
}

#vseClassList .vseClass_title {
	background: rgba(0,0,0,0.2);
	color: #fff;
	padding: 10px 15px;
	font-size: 15px;
	font-weight: 500;
	color: #949494;
}

#vseClassList li[data-styleID] {
	display: block;
	color: #fff;
	padding: 15px 0 15px 15px;
	position: relative;
	text-decoration: none;
	/*border-top: 1px solid rgba(0,0,0,0.2);*/
}
html[dir="rtl"] #vseClassList li[data-styleID] {
	padding: 15px 15px 15px 0;
}

	/*#vseClassList li[data-styleID] a:hover {
		background: rgba(255,255,255,0.05);
	}*/

	#vseClassList li[data-styleID] .vseClass_swatch {
		position: absolute;
		top: 5px;
	}
	html[dir="ltr"] #vseClassList li[data-styleID] .vseClass_swatch--back {
		right: 5px;
	}
	html[dir="rtl"] #vseClassList li[data-styleID] .vseClass_swatch--back {
		left: 5px;
	}

	html[dir="ltr"] #vseClassList li[data-styleID] .vseClass_swatch--fore {
		right: 50px;
	}
	html[dir="rtl"] #vseClassList li[data-styleID] .vseClass_swatch--fore {
		left: 50px;
	}


.vseClass_swatch {
	display: inline-block;
	width: 39px;
	height: 39px;
	text-align: center;
	line-height: 39px;
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,0.3) !important;
}

	.vseClass_swatch--noStyle {
		font-size: 18px;
		font-weight: 300;
		color: rgba(255,255,255,0.1);
		border: 0 !important;
	}

.vseClass_swatch .sp-dd,
.vseColorizer_swatch .sp-dd {
	display: none !important;
}

.vseColorizer_swatch {
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,0.3) !important;
}

/* PANELS */
#vseSettingsWrap {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}

#vseClassEditor {
	padding-top: 0px;
}

.vseStyleSection h3 {
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	border-top: 1px solid rgba(0,0,0,0.15);
	background: rgba(0,0,0,0.1);
	padding: 8px 15px;
	margin: 0 -15px 15px;
	color: #949494;
}

#vseToolbox .ipsType_sectionHead {
	color: #fff;
	font-weight: 500;
}

.vseStyleSection {
	/*border-bottom: 2px solid rgba(0,0,0,0.1);*/
	padding-bottom: 15px;
}

/* BACKGROUND WIDGET STYLES */
.vseBackground_color {
	margin-bottom: 5px;
}
.vseBackground_preview {
	width: 68px;
	height: 68px;
	border: 1px solid rgba(0,0,0,0.5);
}

.vseBackground_gradient {
	width: 100%;
	height: 75px;
	border: 1px solid rgba(0,0,0,0.5);
	background-position-x: initial;
	background-position-y: initial;
	background-size: 100% 350px;
	background-repeat-x: no-repeat;
	background-repeat-y: no-repeat;
	background-attachment: initial;
	background-origin: initial;
	background-clip: initial;
	background-color: initial;
	margin-bottom: 10px;
}

[data-role='gradientStops'] > li {
	margin-bottom: 5px;
}

[data-role='gradientStops'] > li:first-child > [class*="ipsGrid_span"] {
	min-height: 0;
}

[data-role='gradientStops'] {
	margin-bottom: 15px;
}

[data-role='gradientStops'] > li:not( :first-child ) .ipsGrid_span1 {
	padding-top: 7px;
}

[data-role='gradientEditor'] [data-angle='45'] i,
[data-role='gradientEditor'] [data-angle='120'] i {
	display: inline-block;
	transform: rotate(45deg);
}

/* IN-PAGE ELEMENTS (e.g. xray) */
#vseXRay {
	background: rgba( 184, 227, 217, 0.5 );
	border: 1px solid rgba( 184, 227, 217, 1 );
	pointer-events: none;
	position: absolute;
	cursor: default;
}

/* BACK BUTTON */
.vseNavBack {
	background: rgba(0,0,0,0.2);
	height: 50px;
	position: relative;
	margin: 0 -15px 0;
	padding: 12px 0 0 78px;
}
html[dir="rtl"] .vseNavBack {
	padding: 12px 78px 0 0;
}

.vseNavBack .ipsType_sectionHead {
	color: #fff;
}
.vseNavBack a {
    top:10px;
    position:absolute;
    background-repeat:repeat-x;
    background-color: #292929;
    height:30px;
    z-index : 0;
    border-radius: 6px;
    font-size : 11px;
    display : block;
    text-align:center;
    color:#fff !important;
    text-shadow : 0px -1px 0px #000;
    line-height : 30px;
    font-weight: 700;
	background-size: 30px;
	text-decoration: none !important;
}
html[dir="ltr"] .vseNavBack a {
    left:22px;
    padding: 0 10px 0 8px;
    -webkit-border-top-left-radius : 10px 15px;
    -webkit-border-bottom-left-radius : 10px 15px;
}
html[dir="rtl"] .vseNavBack a {
    left:22px;
    padding: 0 8px 0 10px;
    -webkit-border-top-right-radius : 10px 15px;
    -webkit-border-bottom-right-radius : 10px 15px;
}
 
.vseNavBack a:before{
    position:absolute;
    top:8.2%;
	background-size: 22px 22px;
    background-position :-2px -1.5px;
    background-color: #292929;
    height : 25px;
    width: 25px;
    z-index : 1;
    content : '';
    -webkit-mask-image :
        -webkit-gradient(linear, left top, right bottom,
            from(#292929),
            color-stop(0.33,#292929),
            color-stop(0.5, transparent),
            to(transparent));
	transform: rotate(-45deg) skew(-10deg, -10deg);
}
html[dir="ltr"] .vseNavBack a:before{
	left:-5px;
    -webkit-border-top-right-radius : 100px 40px;
    -webkit-border-top-left-radius : 30px 2px;
    -webkit-border-bottom-right-radius : 2px 30px;
    -webkit-border-bottom-left-radius : 40px 100px;
}
html[dir="rtl"] .vseNavBack a:before{
	right:-5px;
    -webkit-border-top-left-radius : 100px 40px;
    -webkit-border-top-right-radius : 30px 2px;
    -webkit-border-bottom-left-radius : 2px 30px;
    -webkit-border-bottom-right-radius : 40px 100px;
}

/* COLORIZER */
.vseColorizer_swatch {
	width: 100%;
	height: 70px;
	display: block;
	margin-bottom: 4px;
	border-radius: 5px;
	font-size: 0px;
	text-indent: -400px;
	cursor: pointer;
}
]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="support" css_name="dashboard.css"><![CDATA[[data-role="supportBlock"].ipsLoading {
	min-height: 150px;
}

[data-role="patchworkItem"] [data-iconType] {
	font-size: {fontsize="20"};
}

[data-role="patchworkItem"].ipsBox.elCritical {
	border: 1px solid var(--negative-dark);
	box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
	animation: pulseCritical 1.5s infinite;
}

@keyframes pulseCritical {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
	}
	
	85% {
		box-shadow: 0 0 0 6px rgba(255, 82, 82, 0);
	}
	
	100% {
		box-shadow: 0 0 0 1px rgba(255, 82, 82, 0);
	}
}

[data-controller="core.admin.support.contact"] .ipsField__checkboxOverflow__toggles {
	display: none;
}

#guidesForm .acpSearch {
	height: 44px;
}

#guidesForm .acpSearch input:focus {
	box-shadow: none;
}

#guideSearchResults.ipsLoading {
	min-height: 100px;
}

#featuredGuides ul,
#guideSearchResults ul {
	padding-left: 10px;
}

#featuredGuides li,
#guideSearchResults li {
	list-style-type: none;
}

#featuredGuides li a:before,
#guideSearchResults li a:before {
	font-family: 'FontAwesome';
	content: '\f105';
	margin-right: 8px;
}

.elPhpinfo {
	width: 100%;
}

@media screen and (max-width: 979px) {
	.elHealthChart .ipsChart_filters {
		display: none;
	}
}

.ipsDialog_content .ipsForm[data-controller="core.admin.support.contact"] > .ipsAreaBackground_light {
	margin: -15px;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="api.css"><![CDATA[html[dir="ltr"] .cApi {
	padding-left: 0;
}
html[dir="rtl"] .cApi {
	padding-right: 0;
}

.cApi .ipsTable th,
.cApi .ipsTable td {
	padding: 10px 15px;
}

.cApi .ipsTable td {
	border-bottom: 1px solid rgba(0,0,0,0.025);
	white-space: auto;
}

/*.cApi .ipsType_sectionHead {
	font-weight: bold;
}*/

.cApiKey {
	padding-top: 5px;
	font-size: 14px;
	font-family: monospace;
}

.cApiReference {
	padding: 0;
}

	.cApiReference .ipsColumn_veryWide {
		width: 420px;
	}

.cApiTree a {
	padding: 5px 0;
	display: block;
	position: relative;
}

.cApiTree a[data-action="toggleBranch"] {
	font-size: 15px;
	font-weight: bold;
}


.cApiTree li.cApiTree_inactiveBranch > a:before,
.cApiTree li.cApiTree_activeBranch > a:before {
	font-family: 'FontAwesome';
	display: inline-block;	
	line-height: 6px;
	font-size: 14px;
}
	html[dir="ltr"] .cApiTree li.cApiTree_inactiveBranch > a:before,
	html[dir="ltr"] .cApiTree li.cApiTree_activeBranch > a:before {
		content: '\f0da';
		margin-right: 7px;
	}
	html[dir="rtl"] .cApiTree li.cApiTree_inactiveBranch > a:before,
	html[dir="rtl"] .cApiTree li.cApiTree_activeBranch > a:before {
		content: '\f0d9';
		margin-left: 7px;
	}

	html[dir="ltr"] .cApiTree li.cApiTree_activeBranch > a:before,
	html[dir="rtl"] .cApiTree li.cApiTree_activeBranch > a:before {
		content: '\f0d7';
	}

.cApiTree li.cApiTree_inactiveBranch > ul {
	display: none;
}

html[dir="ltr"] .cApiTree li a {
	padding-left: 15px;
}
html[dir="rtl"] .cApiTree li a {
	padding-right: 15px;
}

html[dir="ltr"] .cApiTree li li a {
	padding-left: 30px;
}
html[dir="rtl"] .cApiTree li li a {
	padding-right: 30px;
}

	html[dir="ltr"] .cApiTree li li li a {
		padding-left: 45px;
	}
	html[dir="rtl"] .cApiTree li li li a {
		padding-right: 45px;
	}

		html[dir="ltr"] .cApiTree li li li li a {
			padding-left: 70px;
		}
		html[dir="rtl"] .cApiTree li li li li a {
			padding-right: 70px;
		}

.cApiTree li.cApiTree_activeNode > a {
	background: #2E3D49;
	background: var(--primary);
	color: #fff;
}

.cApiTree li:not( .cApiTree_activeNode ) > a:hover {
	background: #fafafa;
	background: var(--c2);
}

.cApiPermissions_header h2 {
	display: inline-block;
}

	html[dir="ltr"] .cApiPermissions_header h2 {
		margin-right: 15px;
	}
	html[dir="rtl"] .cApiPermissions_header h2 {
		margin-left: 15px;
	}

html[dir="ltr"] .cApiPermissions {
	margin: 10px 0 10px 20px;
}
html[dir="rtl"] .cApiPermissions {
	margin: 10px 20px 10px 0;
}

	.cApiPermissions > li {
		line-height: 1.6;
		margin-top: 5px;
		margin-bottom: 10px;
	}

	html[dir="ltr"] .cApiPermissions ul {
		margin-left: 20px;
	}
	html[dir="rtl"] .cApiPermissions ul {
		margin-right: 20px;
	}

		.cApiPermissions h3 ~ ul > li {
			margin: 5px 0;
		}

	.cApiPermissions h3 {
		font-size: 14px;
		display: inline-block;
	}
		html[dir="ltr"] .cApiPermissions h3 {
			margin: 0 15px 0 0;
		}
		html[dir="rtl"] .cApiPermissions h3 {
			margin: 0 0 0 15px;
		}

	.cApiPermissions h3:before {
		font-family: "FontAwesome";
	}

	.cApiPermissions_closed h3:before {
		content: '\f0da';
	}

		.cApiPermissions_closed ul {
			display: none;
		}

	.cApiPermissions_open h3:before {
		content: '\f0d7';
		margin-right: 5px;
	}

	html[dir="ltr"] .cApiPermissions_closed h3:before,
	html[dir="ltr"] .cApiPermissions_open h3:before {
		margin-right: 5px;
	}
	html[dir="rtl"] .cApiPermissions_closed h3:before,
	html[dir="rtl"] .cApiPermissions_open h3:before {
		margin-left: 5px;
	}

	.cApiPermissions .ipsCustomInput {
		top: -2px;
	}

	html[dir="ltr"] .cApiPermissions [data-role="endpointOverview"] {
		margin-right: 15px;
	}
	html[dir="rtl"] .cApiPermissions [data-role="endpointOverview"] {
		margin-left: 15px;
	}

.cApiPermissions [data-role="massToggle"],
.cApiPermissions_header [data-role="massToggle"] {
	display: none;
}

.cApiPermissions_header:hover [data-role="massToggle"],
.cApiPermissions > li:hover [data-role="massToggle"] {
	display: inline-block;
}

.cApiPermissionsMatrix td[data-col="name"] {
	vertical-align: top;
	text-align: left;
}
.cApiPermissionsMatrix td[data-col="endpoints"] {
	text-align: left;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="dashboard.css"><![CDATA[[data-role="mainColumn"],
[data-role="sideColumn"] {
	min-height: 500px;
}

[data-role="mainColumn"] > li,
[data-role="sideColumn"] > li {
	margin-bottom: 15px;
}

[data-role="sideColumn"] {
	min-height: 150px;
}

.acpWidget_item {
	position: relative;
	text-overflow: ellipsis;
	overflow: hidden;
}

.acpWidget_tools {
	font-size: 18px;
	opacity: 0;
	margin-top: -3px;
	transition: 0.3s all linear;
}
html[dir="ltr"] .acpWidget_tools {
	margin-left: 5px;
	float: right;
}
html[dir="rtl"] .acpWidget_tools {
	margin-right: 5px;
	float: left;
}

	html[dir="ltr"] .acpWidget_tools li {
		margin-right: 10px;
	}
	html[dir="rtl"] .acpWidget_tools li {
		margin-left: 10px;
	}

	.acpWidget_tools a {
		color: inherit;
	}

	.acpWidget_item:hover .acpWidget_tools {
		opacity: 0.3;
	}

	.acpWidget_item .acpWidget_tools:hover {
		opacity: 1;
	}

.acpWidget_item .acpWidget_collapse {
	margin-right: 5px;
}


/* NOTES */
[data-widgetKey="core_AdminNotes"] textarea {
	height: 150px;
	line-height: 1.5;
	font-size: 13px;
	line-height: 1.3;
	/*
	border: 1px solid rgba(0,0,0,0.1);
	background: #fcfcfc;
	box-shadow: none;
	*/
}

	[data-widgetKey="admin_notes"] textarea:focus {
		/* box-shadow: rgba(178, 157, 191, 0.3); */
	}

/* Background queue */
[data-widgetKey="core_BackgroundQueue"] .ipsDataItem_title {
	display: inline-block;
	padding-left: 8px;
}

	[data-widgetKey="core_BackgroundQueue"] .ipsDataItem_title > span {
		padding-top: 8px;
	}

[data-widgetKey="core_BackgroundQueue"] .ipsDataItem_generic {
	display: inline-block;
}

/* "Empty" widgets */
[data-widgetkey] .ipsEmpty {
	padding: 30px 0 0;
}

/* REGISTRATION */
#elRegisterGraph {
	width: 100%;
	height: 235px;
}

/* NEWS */
#elWidget_ipsNews .ipsDataItem_icon {
	font-size: 30px;
}

/* ONLINE USERS */
#elActiveUsersPie {
	height: 235px;
}

[data-widgetkey="core_OnlineUsers"] svg text[fill="#ffffff"] {
	fill: #000000;
}

.ipsDarkMode.ipsApp [data-widgetkey="core_OnlineUsers"] svg text[fill="#ffffff"] {
	fill: #ffffff;
}

/* NEW VERSION INFO */
.cDashboard_bulletin {
	background: #3480bb;
	color: rgba(255,255,255,0.7);
	margin: -30px -30px 30px -30px;
}

	/* BOTH */
	@media screen and (max-width: 979px) {
		.cDashboard_bulletin {
			margin: -15px -15px 15px -15px;
			padding: 15px;
		}
	}
	
	.cDashboard_bulletin .ipsType_richText {
		color: rgba(255,255,255,0.9);
	}

	.cDashboard_bulletin.cDashboard_securityFix {
		background: #cc5353;
	}

	.cDashboard_bulletin a:not( .ipsButton ) {
		border-bottom: 1px dotted #fff;
		opacity: 1;
		color: #fff;
	}

	.cDashboard_bulletin h2 {
		margin-top: 5px;
		margin-bottom: 5px;
		font-size: 18px;
		font-weight: 300;
		color: #fff;
		letter-spacing: 0.3px;
	}

	.cDashboard_bulletin hr.ipsHr {
		border-color: rgba(255,255,255,0.1);
	}

	.cDashboard_bulletin i.fa-info-circle,
	.cDashboard_bulletin i.fa-warning {
		font-size: 54px;
		line-height: 1;
		color: rgba(255,255,255,0.4);
		text-shadow: none;
	}

/* COMMERCE */
.acpWidget_item #elNexusActions > li > a:hover {
	background: var(--c1);
}

	.acpWidget_item .cNexusActionBadge_off{
		background: var(--c4);
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="diff.css"><![CDATA[table.diff {
	width: 100%;
}

table.diff td, table.diff th {
	width: 50%;
	max-width: 500px;
	overflow-x: auto;
}

table.diff td {
	padding: 10px;
	vertical-align: top;
	white-space: pre;
	white-space: pre-wrap;
	font-family: monospace;
}

.diffBlank {
	content: '&nbsp;';
}

.diffDeleted {
	background:rgb(255,224,224);
}

.diffInserted {
	background:rgb(224,255,224);
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="enhancements.css"><![CDATA[.acpEnhancement {
	padding-bottom: 65px;
	position: relative;
	border-top: 10px solid #d6dee7;
	border-top-color: var(--c4);
}

.acpEnhancement_enabled {
	border-top-color: #599451;
}

.acpEnhancement_enabled > .ipsBadge {
	position: absolute;
	top: -18px;
}
html[dir="ltr"] .acpEnhancement_enabled > .ipsBadge {
	right: -5px;
}
html[dir="rtl"] .acpEnhancement_enabled > .ipsBadge {
	left: -5px;
}

.acpEnhancement__title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 15px 0 15px;
}

	.acpEnhancement__title h3{
		font-size: 15px;
		font-weight: 600;
	}

.acpEnhancement_buttons {
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
}

	.acpEnhancement_buttons > li {
		margin-bottom: 0 !important;
	}

.acpEnhancement_logo {
	max-width: 100px;
	max-height: 50px;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="login.css"><![CDATA[body#elLogin {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	padding-top: 0;
	margin: 0 auto;
}

#elLogin_box {
	width: 98%;
	max-width: 450px;
	padding: 30px;
}

.cAcpLoginBox {
	padding-left: 0;
	padding-right: 0;
}

	.cAcpLoginBox .ipsForm {
		margin: 0;
	}
	.cAcpLoginBox .ipsForm .ipsFieldRow:not( :last-child ) {
		margin-bottom: 15px;
	}

	#elLogin_box .ipsFieldRow{
		border-width: 0;
	}

	.cAcpLoginBox .ipsTabs_panel {
		background: transparent;
	}

.cAcpLoginBox_logo {
	text-align: center;
	margin: 30px 0;
}

.cAcpLoginBox_logo img{
	width: 80%;
	margin: 0 auto;
	display: block;
}

	.ipsDarkMode .cAcpLoginBox_logo img{
		filter: brightness(100);
	}
	
.cAcpLoginBox_button {
	margin-bottom: 5px;
}

/* Remove yellow auto-fill styles */
.cAcpLoginBox input{
	filter: none;
}


/* To make 2FA show as part of the form rather than a modal */
#elTwoFactorAuthentication.ipsModal {
	background: #f9f9f9;
	position: inherit;
}
#elTwoFactorAuthentication {
	position: inherit;
}
#elTwoFactorAuthentication > div {
	background: #f9f9f9;
	box-shadow: none;
	border-radius: none;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="menumanager.css"><![CDATA[/*.cMenuManager {
	padding-bottom: 100px;
}*/

.cMenuManager .cMenuManager_column {
	width: 460px;
}

.cMenuManager .cMenuManager_column.cMenuManager_readyToSlide {
	overflow: hidden;
}

/* Columns */
.cMenuManager_editorWrapper {
	width: 200%;
}

.cMenuManager {
	
}

.cMenuManager > .ipsColumns > .ipsColumn {
	padding: 0;
}

.cMenuManager_main,
.cMenuManager_dropdown {
	width: 50%;
	float: left;
	position: relative;
	padding: 30px;
}
html[dir="rtl"] .cMenuManager_main,
html[dir="rtl"] .cMenuManager_dropdown {
	float: right;
}

html[dir='ltr'] .cMenuManager_main{
	padding-left: 0;
}
html[dir='rtl'] .cMenuManager_main{
	padding-right: 0;
}

.cMenuManager_main,
.cMenuManager_dropdown {

}

.cMenuManager_root {
	margin-top: 10px;
}

	.cMenuManager_root ol {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	html[dir="ltr"] .cMenuManager_root ol {
		border-left: 1px solid #9e9e9e;
		border-left-color: var(--c3);
		padding-left: 15px;
		margin-left: 15px;
	}
	html[dir="rtl"] .cMenuManager_root ol {
		border-right: 1px solid #9e9e9e;
		border-right-color: var(--c3);
		padding-right: 15px;
		margin-right: 15px;
	}

		html[dir="ltr"] .cMenuManager_root ol ol {
			margin-left: 15px;
		}
		html[dir="rtl"] .cMenuManager_root ol ol {
			margin-right: 15px;
		}

		html[dir="ltr"] .cMenuManager_root ol:empty {
			border-left: 0;
		}
		html[dir="rtl"] .cMenuManager_root ol:empty {
			border-right: 0;
		}

	.cMenuManager_leaf {
		background: #fff;
		background: var(--c1);
		padding: 12px 10px;
		margin: 5px 0 5px -30px;
		border: 1px solid rgba(0,0,0,0.1);
		background-clip: padding-box;
		border-radius: 5px;
		box-shadow: 0px 2px 3px rgba(0,0,0,0.04);
		cursor: move;
	}

		.ipsDarkMode .cMenuManager_leaf{
			border-color: rgba(255,255,255,0.1) transparent transparent transparent;
			background-clip: border-box;
		}

	html[dir="rtl"] .cMenuManager_leaf {
		margin: 5px -30px 5px 0;
	}

		.cMenuManager_leaf.cMenuManager_active {
			background: #2E3D49;
			background: var(--menu-manager--active);
			color: #fff;
		}
		html[dir="ltr"] .cMenuManager_leaf.cMenuManager_active {
			border-width: 1px 0 1px 1px;
			margin-right: -30px;
			padding-right: 20px;
			border-top-right-radius: 0px;
			border-bottom-right-radius: 0px;
		}
		html[dir="rtl"] .cMenuManager_leaf.cMenuManager_active {
			border-width: 1px 1px 1px 0;
			margin-left: -30px;
			padding-left: 20px;
			border-top-left-radius: 0px;
			border-bottom-left-radius: 0px;
		}

		.cMenuManager_leaf .cMenuManager_leafTitle {
			font-size: 16px;
			font-weight: 500;
			margin: 0;
		}

			.cMenuManager_leaf + ol .cMenuManager_leaf {
				padding: 7px 10px;
			}

				html[dir="ltr"] .cMenuManager_leaf + ol .cMenuManager_leaf.cMenuManager_active {
					padding-right: 20px;
				}
				html[dir="rtl"] .cMenuManager_leaf + ol .cMenuManager_leaf.cMenuManager_active {
					padding-left: 20px;
				}

				.cMenuManager_leaf + ol .cMenuManager_leaf .cMenuManager_leafTitle {
					font-size: 14px;
				}

		.cMenuManager_leaf .cMenuManager_leafMeta {
			font-size: 12px;
		}

		.cMenuManager_leaf [data-action="removeItem"],
		.cMenuManager_dropdown .ipsMenu_item [data-action="removeItem"] {
			opacity: 0.1;
			transition: opacity 0.1s linear;
		}

			.cMenuManager_leaf:hover [data-action="removeItem"],
			.cMenuManager_dropdown .ipsMenu_item:hover [data-action="removeItem"] {
				opacity: 1;
			}

.cMenuManager_emptyHover {
	background: #ebf4f9;
	border: 1px solid #b1cbd9;
	background: var(--c3);
	border-color: var(--c6);
	border-radius: 4px;
	height: 37px;
	position: relative;
}
html[dir="ltr"] .cMenuManager_emptyHover {
	margin-left: -30px;
}
html[dir="rtl"] .cMenuManager_emptyHover {
	margin-right: -30px;
}

	.cMenuManager_emptyHover.cMenuManager_emptyError {
		background: #f9ebeb;
		color: #906161;
		border: 1px solid currentColor;
	}

	.ipsDarkMode .cMenuManager_emptyHover.cMenuManager_emptyError {
		background: #5f3434;
	}

		.cMenuManager_emptyHover.cMenuManager_emptyError:before {
			content: '\f00d';
			font-family: 'FontAwesome';
			font-size: 18px;
			position: absolute;
			line-height: 40px;
		}
		html[dir="ltr"] .cMenuManager_emptyHover.cMenuManager_emptyError:before {
			left: 10px;
		}
		html[dir="rtl"] .cMenuManager_emptyHover.cMenuManager_emptyError:before {
			right: 10px;
		}

/* Dropdown editor */
.cMenuManager_dropdown .ipsMenu {
	position: relative;
	top: 0;
	width: 80%;
	margin: 30px auto 50px auto;
	min-height: 30px;
	box-shadow: 0px 12px 60px rgba(0,0,0,0.2);
}
html[dir="ltr"] .cMenuManager_dropdown .ipsMenu {
	left: 0;
}
html[dir="rtl"] .cMenuManager_dropdown .ipsMenu {
	right: 0;
}
	
	.cMenuManager_dropdown .ipsMenu .ipsMenu_item > div {
		display: block;
		color: #333;
		color: var(--c8);
		padding: 8px 15px;
		cursor: move;
	}

	.cMenuManager_dropdown .ipsMenu .ipsMenu_item {
		border: 1px solid transparent;
	}

	.cMenuManager_dropdown .ipsMenu .ipsMenu_item a:hover {
		background: transparent;
	}

	.cMenuManager_dropdown .ipsMenu .ipsMenu_item.cMenuManager_active {
		background: #ebf4f9;
		border-color: #b1cbd9;
		background: var(--c3);
		border-color: var(--primary);
	}

.cMenuManager_dropdown .ipsButton_narrow {
	padding: 0;
	border: 0;
}

.cMenuManager_emptyList {
	line-height: 40px;
	font-size: 12px;
	font-style: italic;
	opacity: 0.8;
}

/* Form editor */
.cMenuManager_form {
	position: relative;
}

	.cMenuManager_form.cMenuManager_formActive {
		background: #2E3D49;
		background: var(--menu-manager--active);
		padding: 10px !important;
	}

		.cMenuManager_form.cMenuManager_formActive > div > div {
			border: 1px solid rgba(0,0,0,0.1);
		}
.cMenuManager_form > .cMenuManager_formLoading {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* Preview panel */
.cMenuManager_preview {
	position: fixed;
	bottom: 0;
	background: #f5f5f5;
	height: 48px;
	z-index: 10000;
	font-size: 14px;
}
html[dir="ltr"] .cMenuManager_preview {
	right: 0;
	left: 320px;
}
html[dir="rtl"] .cMenuManager_preview {
	left: 0;
	right: 320px;
}

	.cMenuManager_preview h2 {
		background: #3480bb;
		background: var(--primary);
		color: #fff;
		line-height: 48px;
		padding: 0 15px;
		font-size: 16px;
		font-weight: 400;
	}

		.cMenuManager_preview h2 a,
		.cMenuManager_preview h2 a:hover {
			color: #fff;
		}
	
	.cMenuManager_preview #elPreviewTheme {
		opacity: 0.8;
	}

	.cMenuManager_preview [data-role="previewBody"] {
		position: absolute;
		left: 0;
		right: 0;
		top: 48px;
		bottom: 0;
	}

	.cMenuManager_preview iframe {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		border: 0;
		height: 300px;
	}

	.cMenuManager_preview [data-role='closePreview']:not( .ipsHide ) {
		display: block;
		background: #000;
		width: 40px;
		height: 40px;
		line-height: 40px;
		border-radius: 40px;
		margin-top: -10px;
		color: #fff;
		font-family: 'arial', sans-serif;
		text-align: center;
		font-size: 25px;
	}

/* Preview frame */
#elMenuManagerPreview_body {
	padding-top: 50px;
}

	#elMenuManagerPreview_body #ipsLayout_mainArea {
		min-height: 50px;
	}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="notifications.css">.cNotification {
	position: relative;
}
	html[dir=&quot;ltr&quot;] .cNotification {
		border-left-width: 10px;
	}
	html[dir=&quot;rtl&quot;] .cNotification {
		border-right-width: 10px;
	}

.cNotification_dismiss {
	width: 28px;
	height: 28px;
	border-radius: 14px;
	background: #000;
	color: #fff;
	line-height: 28px;
	text-align: center;
	position: absolute;
	top: -5px;
}
	html[dir=&quot;ltr&quot;] .cNotification_dismiss {
		right: -5px;
	}
	html[dir=&quot;rtl&quot;] .cNotification_dismiss {
		left: -5px;
	}

.cNotification_dismiss:hover {
	color: #fff;
}</css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="plugins.css"><![CDATA[#elSkinHookEditor > .ipsColumns,
#elCodeHookEditor > .ipsColumns {
	min-height: 700px;
}

.cHookEditor_sidebar {
	background: white;
	background: var(--c0);
	height: 720px;
	overflow-y: scroll;
	overflow-x: hidden;
}

	.cHookEditor_sidebar li {
		cursor: pointer;
	}

html[dir="ltr"] .cHookEditor_content {
	margin-left: 7px;
}
html[dir="rtl"] .cHookEditor_content {
	margin-right: 7px;
}

	.cHookEditor_content .acpFormTabContent {
		border: 0;
		padding: 15px;
	}

	.cHookEditor_content .ipsTabs_item {
		max-width: 250px !important;
	}

.cHookEditor_content > .acpBlock {
	background: #fff;
	background: var(--c0);
}

#elHookEditor .CodeMirror {
	height: 700px;
}

.cHookEditor_tree {
	padding: 0 15px 15px 15px;
	line-height: 1.6;
	font-size: 11px;
	font-family: 'monaco', 'courier new', monospace;
}

.cHookEditor_tree > ul {
	padding: 0;
}

.cHookEditor_tree ul {
	list-style: none;
}

.cHookEditor_tree span {
	display: inline-block;
}

.cHookEditor_tree span[data-selectable]:hover {
	background: #f9f7d2;
	cursor: pointer;
}

	.ipsDarkMode .cHookEditor_tree span[data-selectable]:hover{
		background: var(--c3);
	}

.cHookEditor_tree span[data-unselectable] {
	opacity: 0.4;
}

.cHookEditor_sidebar .ipsSideMenu_item a, .cHookEditor_sidebar a.ipsSideMenu_item, .cHookEditor_sidebar span.ipsSideMenu_item{
	border-radius: 0;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="statistics.css"><![CDATA[/* Overview statistics */
@keyframes updated {
	0% { 
        background-color: #fffff0; 
        border-color: #dede6e;
    }
	100% { 
        background-color: #fff;
        border-color: rgba(0,0,0,0.12);
    }
}

.cStatTile:not( .ipsHide ) {
    display: flex !important;
    flex-direction: column;
}

    .cStatTile--updated {
        animation: updated 2s 1 ease-out;
    }

    .cStatTile__title {
        color: #959595;
        color: var(--c5);
        font-size: 18px;
        font-weight: 500;
        text-align: center;
        padding: 20px 15px;
    }
    
    .cStatTile__subTitle {
        color: #959595;
        color: var(--c5);
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        margin-bottom: 5px;
    }

    .cStatTile__header {
        position: relative;
    }

    .cStatTile__body {
        flex-grow: 1;
        padding: 0 15px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 190px;
        position: relative;
    }

        .cStatTile__bodyInner {
            width: 100%;
        }

    .cStatTile__info {
        position: absolute;
        right: 15px;
        top: calc(50% - 13px);
        font-size: 17px;
        color: #7B7E83;
        color: var(--c4);
        border: 1px solid currentColor;
        opacity: 0.5;
        width: 26px;
        height: 26px;
        border-radius: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: help;
        transition: 0.2s all ease-in-out;
    }

        .cStatTile__info:hover {
            opacity: 1;
        }

        .cStatTile__form {
            cursor: pointer;
        }

        .cStatTile__info + .cStatTile__info {
            right: 45px;
        }

    .cStatTile__split {
        width: 50%;
        flex-grow: 1;
    }

.cStat__number {
    color: #252525;
    color: var(--c7);
    font-weight: bold;
    line-height: 1;
    display: block;
}
    .cStat__number--large {
        font-size: 50px;
        margin-bottom: 7px;
    }
    .cStat__number--medium {
        font-size: 40px;
        margin-bottom: 7px;
    }
    .cStat__number--small {
        font-size: 22px;
        margin-bottom: 5px;
        color: #676767;
        color: var(--c5);
    }

.cStat__change {
    font-weight: bold;
    line-height: 1;
    display: inline-block;
}
    .cStat__change--large {
        font-size: 17px;
    }
    .cStat__change--small {
        font-size: 12px;
    }


.cStatsGrid .ipsLoading {
	height: 100%;
}

	.cStatsGrid .ipsBox {
		position: relative;
		height: 100%;
	}
		.cStatsGrid .ipsBox > p {
			position: absolute;
			bottom: 0px;
		}

.cStatsFilters button[type="submit"] {
	margin-left: 30px;
}

.cStatsFilters #dateFilterInputs {
	display: inline-block;
	margin-right: 10px;
}

.ipsApp .cStatsFilters select,
.ipsApp .cStatsFilters .ipsField_short {
    padding: 7px 11px;
}

.ipsApp .cStatsFilters .ipsField_short {
    margin-left: 10px;
    margin-right: 10px;
}

.ipsApp .cStatsFilters .ipsField_short:last-child {
    margin-right: 0;
}

html[dir] .ipsHovercard .ipsForm_horizontal .ipsFieldRow > .ipsFieldRow_title {
    min-width: 200px;
    width: auto;
}]]></css>
 <css css_location="admin" css_app="core" css_attributes="" css_path="system" css_name="webhooks.css">.ipsFieldRow_content {
    padding-left: 10px !important;
}
.ipsFieldRow_label {
    padding-left: 10px !important;
}</css>
 <resource name="communityhive.svg" app="core" location="admin" path="/enhancements/">[encoded data, 6936 characters]</resource>
 <resource name="facebook.png" app="core" location="admin" path="/enhancements/">iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAEy0lEQVR4Ae3cA5RbWxQG4Cw/G7Vtj1nbtm3bNjJ5N1Pbtm3bGutO7fZ/Z5+6DW4eGu291h/zC+7BXUdXpmUnXfGmfX/yrzNxsm8tww2fmspdn5p/JYjEu3ESXjsYbgbVHxNSvEm/38lJV7JZzx/9autveVabAe8aRogbvg5HeCjwqDYTAi6ydItuv+kC6o4P9ZQXGBjIZAzwqDoTgfXGzNOJM6pPTcvfKI5CuSewlAeavlUM9kAnTqgMoSmJjMVYjMVY/18bicJY7+Jb63XyV5qC9EVHI5nfcCT1G4YUASOQMlBEHNPp5P7D312X1HeYPE2X5as4GYF1ja6N5VdLga84Tl9kNJL4DJVYdbouwsApWxG65AiWbT6LNdsvYNW281i++RwWrT+N2SuPQ1l4CONm7MXgkO3oMXYjSjWdQfd1XayAOkZkLTVeIlVsMxczVxzD9TAV/6SGKzvxp88w18PyFfGvrcifUIHKesxfexL/toYadoif5XDXwyKoP7yGoJL4NkXH3cd/UYP12wnftbAC6hqRxHcYKrWdCwvFWH61FWQoNgYe1ULw+MlzxrIUr+oGJPEZhgMnb8NCMZZvLUW2h1r2XwkrxVjeNQwCa4SWbxVjZS05HmVazML/VaNCd+NP76GugUUNz0H6bfin9eLFS8QmPJBNjZj4B+8jLotTH6L3+M2iWzTSNbCoH7dk4xnYWtSi7zRiHUo2nfH65/z6/++j0FbWp5aLdKSpqZCp+FgcOhUGW+rslRjZ1Pgh/wBkKTkOeSpMQl6RPJ+m/CR6DkJzfqz8lafIUYFrYQmwpep3X4KfCg6kPqT7jGflrTAZntUMCI++C60Vn/gQBavo6b70GO6F5V3dgIgY7VhnLkcje5kJKFRV735YXjZiHT8fiWylxzOWljp5Icqe3yzGYizGYizG8q9jpFb2uykpU/mpwEDZ3bkVkQitdfBUGL7O3Q+/ew2hx7CY1EEj380UOSwWDbsUqDwFLQeuwoDJW9FnwmaT6Tpqg+zoqnceQWvdFLCdhq9Dz7GbzD4upd+kLXIqzL+2ER5V9Y6L5VktBOmLjsGlG/GwZz189EzOEuWtONmxsWQH+XQY7FkHT92mvwJ6PY6PRaOf9qylm88ihf8IeFt/zYyln3cQf/poGiVlrL4Tt9COIoylpZr2XY40wSMZy1q9egW5U0nmkuMYS8sgITVGc5efyFjW6sK1WOQsO5FGVR0fK0PRMXJiwV61/8QtmgKjvqfjY9Gsy8Y9lxGX+JDm9UwmJv6+PH7x8hW01rPnLxAdL+cIzT4u/QSVRYcF1ginGXV4N3dHx6ZCMzu0A62Now7086IpLrOP619boW8U9VGdAUtCyX05c5enOTzToa5ILvHGw6PvQGsdOxeJ1MGjkL30eLOPS89J/1X0QbnKeBa9MR7PYizGYizGYizGYizGYizGYizGYizGYizGYizGYizGYizGYiwTYSzlAWNpX5ktUZxgLC1r/gXVGz3To6r51SQZywDParSa5NglutItuv4i1KI8xAXen3zDGEsRUDPEsTG+VLMeSV6vgNuk3x9CzihuEPZmBVzV3hFYqsBSw6PvqgDUly9fWQzd5sSFSFVgqQLrP3gN0iFCuEwv2nhQcnL6GxSz10pc8bb1AAAAAElFTkSuQmCC</resource>
 <resource name="giphy.png" app="core" location="admin" path="/enhancements/">iVBORw0KGgoAAAANSUhEUgAAAH0AAACXCAMAAAAPgaTzAAAAjVBMVEUAAAD//7L/4qn/jIz/xcX//5n/2Iz/Zmb/srLv/5n1/5n/n5//2Nj/4OAA/5knn28AAAAXExP/hIT/dXX/srL/2Nj/srIAAAAIBwcwJC9XHISzkMwXFBpMGH+tjswVEhlyJb+8k+UTEBeZM//Mmf8A+58fpHoBAQEXFyKPPP/Hnf8AzP9/5f8/2P+f6/8OwMTMAAAAL3RSTlMAr7CvQf///1///2kQDP+5/8jM5X8nT/baufxaw/9bxP9VyP9P/7vtwv9Q/0+PLC9rVGAAAAC1SURBVHgB7c3ToQNQFACw+2wbtbn/eP3tqc1kgaTtOlmt07PgfMp+sVqXV8G1/ah3u91uvwluV7zf3fd7GNofg6fnJb3EPXo90N1ut9vt9rf34GON+3Sfe7Tb7Xa73f71PcHPb/A3vK/TfybI2u12u92+Orl8UNjsXiwFZbvdbrfb7Xa73W632+12u91ut9vtdrvdbrfb7Xb7bOx2eyWo1tap3giaKbW2p2232+32dbJ3tqebeqxgLHOamQDNAAAAAElFTkSuQmCC</resource>
 <resource name="google_analytics.png" app="core" location="admin" path="/enhancements/">[encoded data, 31812 characters]</resource>
 <resource name="geocodeapi.png" app="core" location="admin" path="/enhancements/google_maps/">[encoded data, 16904 characters]</resource>
 <resource name="jsapi.png" app="core" location="admin" path="/enhancements/google_maps/">[encoded data, 11912 characters]</resource>
 <resource name="places.png" app="core" location="admin" path="/enhancements/google_maps/">[encoded data, 12552 characters]</resource>
 <resource name="staticapi.png" app="core" location="admin" path="/enhancements/google_maps/">[encoded data, 14776 characters]</resource>
 <resource name="google_maps.jpeg" app="core" location="admin" path="/enhancements/">[encoded data, 11476 characters]</resource>
 <resource name="google_tag_manager.png" app="core" location="admin" path="/enhancements/">[encoded data, 58816 characters]</resource>
 <resource name="ips.png" app="core" location="admin" path="/enhancements/">iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAADoUlEQVR4Ae2cAWRbXxTG/4RQQgl/RhmllDJKGKVTRsEoowyMUUYZo3RGGWWUUUooo4xRSimtUkoZpZQQQhihlDBCGKGEcPddnknt8LK77+Td93LxUyDv5Nd3b27O+fL+M8YEBiRI+BdZT96dTINS4GRalBVJmgF1YAK/qVkvkqzTIEfkmyTrMogRuZJkrQcxIh8kWQXQCnLu0QbFP2RFwlaDoHusxRwdwt4VcQ1ycbKmwN2Ii+qCmfgTfNjsLRvWw6CycuB6REVVQX5gWX0n+u4ILr9Zpy/S9owxYrI+yi4Gk5UH1RERVQd5Z1mRsFnQy7ioHnhM6WfZ2zPjsrZpzb9oOX7PqKgGGKPJioTNZXQ5zqu0le3tmjFRZbUefNSZaGRE1A0o8GTJwhYyImuRP92Rhe2mXNSe6ihMWI63KRXVBON6smRhiymVtaQ/ZJWFfUmZqK+27qRkFUEzJaJaoEiV5SDseUpkLTPG9wxhB56LOmRmHRjLse3xOOsBSxZL2AtPZb1kpmiYwo48E3Vq6/JV1oRHy/EnmGDLYgt75YmsFZ0wG1/YecKiLmwdaZH1EHQSEtUBk/7L8iNk8iaVAVybmhuyqEuQS6usqSEuxzswpfNe5DBbSUHY2pBkrSvUXgIFSdYhMGCVfMEcuBpGlopc92tgwIEkq9Y3nZ0jX1gOmRCzVOw7qq/emihLmPszC9jQDMgykPMd8bIsmwrLsUrPUun/U2VZUlaJXMgscTn2FOqbBl0XWZaKwsa5yc9S8T+IXGRZ1hX2hLqLIOU99S0w7rKUDns2C+USMlH8tJ4EHYYsy6XCge8TK0tFqOUCGJYsjcPqGGiws1QOdawAw5bVARPkQuf/UtaCfmeXI8typrAEyoQsleu1j4HhyyJOS4SQyU3MNW/lLBV/GsWW1Qb/kwtfdM9SOc85W3xZMgcKS2ILGIEthWvtA6MjS2ZJ4U0cCmN39jWeATNsWU1QVDhOvAf16C/7mDAOmhRZ3LghH4Ksz8DQZDnw1Csp/OAwVVYDFDwXVQANuixHdjyXtQ2ML7LonQB+h4Mrq+Jbj4nTO4tuAncqkqwz9xfk9e097MqeS7LKrN8YeyLqEanfX5ZkLRNe2KFvT4b/9IBlSVYe/NAfpfNRfC6F9ZGnPYuG0LdnwH/iidAdjv8y6045IVk7pPqPBnnmX4602e8nJGuPUPuudAyKC0fsgIoDxwkuw0lw7Fi3lVQihNkCQUKQpcMv8tywDsyfxOgAAAAASUVORK5CYII=</resource>
 <resource name="mapbox.png" app="core" location="admin" path="/enhancements/">[encoded data, 6136 characters]</resource>
 <resource name="matomo.png" app="core" location="admin" path="/enhancements/">[encoded data, 7432 characters]</resource>
 <resource name="pixabay.png" app="core" location="admin" path="/enhancements/">[encoded data, 10808 characters]</resource>
 <resource name="sendgrid.png" app="core" location="admin" path="/enhancements/">iVBORw0KGgoAAAANSUhEUgAAAFUAAABQCAYAAABoODnpAAAFgUlEQVR4Xu2bPY8kVxWGn/fcqt6Z/bCE1ruWAUNAxkKAFjIEDhDECPX8BOfEBDtDQERCahE4dqcghABpCAiQLJx4iBCyBbu2dsAre3d2e7q77ouESqrRDuyqq6t7p+X7SNWnVVeq4NE9p7rOqeYCUigUCoVCoVAoiBeNLQ4PE0PxR4bj6NhM9hq2Cltlpw4tVPJXfnv3NWW+j6ScnUMIMsvStPHaBzD6GKjpTbYahS5Xob/9+cev/g7J2EIyz4eKF0Sb8ot/zptveHT5l0TAYgaRwCyJsQSGGzZ1YxwCszQSeDEjrt2kPvnw9+PJ5A8TaF4/OEyHsLjAUjtOszOzU4iAZmG0EMviLudmM8McDL2kIrA9T/NpHWZOy42vvm6ArZCKbZxNRkCDHXjJwuQuCiNWwELQKOcaRUMH2yM1VQAiBAsCEUtbURdXxwCBAnDQg+AiIZmLRIZBpRYMbFRqYfulFqnluSjKY2upqWWnlppaKOlf0n9DT1Rlpx63XZ9msWYnm6eiB2+/7fTXMeKQ3rzP+9Vb0Hw+RbrnpyT06VKJDgEaIPtjg1L39tSwOguAe3Om1IDUV0Qn0e3RGEJg+tOAmk3u1COPTi4TrMAHj4+r/Vs3H31tR1feWxhsyH5G7grws88ZFKBKkPo3qXF7jXVLtS1JBnhw7eRnQt/B+SFICJG7Kk1uI9138tkcNa9e2dVb957M/v7R41feO/oYEDsipvZzRD7b98nLI05vBl6xjOgq7JzArfHYE2CyDqkHXYJB5tvXv3z5W48eQATdSufhuRvLhksjuHoimN4H5BQIsxIn1w07QAZEPwy8JE4THE0mAmC8Bqkc0AKGB5/cz8yn0yfYCbE0NiyqYProcZCiwsgBmNXIoAXYoB4u1UYWUDd0TNYh9Q6wDwASVTUK5qceAQlWvcEYDKBBeiBWG/tfAgR54w0VAwaB6YWx3dkdAjEo8aIaKrZ1YSy4NFSGt6EiFfDwNopUlX7q9lJqapEqyaUMrP0nVSE+q2lf7v5FapmmVkMksOiLu6juOhpGhVH7Kfz0fw262K77bNPSm59RZRsb3PVGl8YG2mMkMTPsCLxK+hieQG7AAPi86c6Z/v86NORMFnljUke1qEewqPvvLRvqOogkZrMMNv9edq6ks6kig2G0G3Flh5x7dqkFzGe7XHsJpg+vwhgAbhxqrU3qu3fn7HySOX00w89p8z+LJPHptOGHX9gFhEQvDBYI4B+avfvu4/lHr0Dd9J5RecH9u5+rE3+6NcYTgONjDy51n46f//pTtAM+fdgr9w1cDfHhw8yPvn6JH3z3ZSJBbugnVlgKIYHzT9547cpvfmGnPalhRfa7EXKz1vTfESjAAkLGaFmpdQAJQiBAA0ypAZKdAVqh2/MyxaUEEuQA2SJEL6mt0YyRhW0scX4U2n09u3a2wkS7OM1NBfDGO+/Ub/7qdsMdzMGB6MOdO0byRqQ2BgG5jZilpWZ3QkSHzn6c5/yauihEgAG+d/t2fvObym3+mj7s72+2oSJAg79UptL57/FKeelSrf/1R//PWAZ/g0xTVdJ/KyhSXeb+W0GRqgEvUzE4Jf0XZUa19qJYZlT6LEsVRgOKEBIrYF2kmlrRB5HlDDgbaYjbkk1/pOycKyMCvJVSs5VQIqMKJCTAYEACG6TOltRGwAKMJSCDAkUQIYx77VjnHFFVSMLNQlsp9RKuoqppUpKUWBYDdQIqk1JFSokIgYz09AuWAtydO1eGjBWklEBiPtsmqfuYluu78dO8+NeXVKdT57kQIpLJTRdbzp1v4yiSv1jPlJDzbJZpxykklkYkN08WQQLQXwDGkBmOgm1t36PMvoMjxACMx/89BmMP8vl2ZKFQKBQKhUKhUPgPD5hesqiYZLQAAAAASUVORK5CYII=</resource>
 <resource name="viglink.png" app="core" location="admin" path="/enhancements/">iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAJOUlEQVR42u2ba1BU5xnH3xqLhhrFKKjgZNppPjDGpNZEi6LctJRakjrRxHqpYRovaBVxQUVHazEsyrr3XW4iIhjltstt2V2WZblIACGlCWPVJq1aNWhUvKBWp/2Qf897nM75gAi7+67sZvY/8x8+cYb98TzP+b/POUu88sorr7zyyiuvvHIv3X/0ZBTxamjh1Ecac5Fm7SmdIba0vCLGU1yuq4guKdcv8UuwXHkxoP7VFQzxGx3faX6JElMLqgwmVHuIT9cbEZlmwUvx5nu7Ky6kuB6WfIERqkhAGYrzBSkoMzV7BKg6kwmyIgN8ExoQmGwFWWfody2oRlUcDv/CCs0iQM1ZEQJ9WRmqai1uDaqm1gSLoQqBSRZMTW5A0I4GTEq0XJ4r/szqGlD/vjsaB3/WykPSLH5qdQRuKd9DYY17V1djnQkfpuvht91GQfEO5Dx6g/FOaVdvDHtYBauyoVjIQxLMgVPNgylzP/RGm1uCMpstyM47zrVfEwL5qhI8NcmKH/3RfIMtqK+aZuPgrBYKaIDVUYAqAtq8ItSarW4FqtZkQVXxCczYaUBAEl9VAzx+a921uIIvVexgSedZoIqkcAZxGL5UxCGzSE//QLcAZTDWoUqvw8a0fIzf/v+qGmg67H+wvrb//PUH050HZTqQCGmIhUIZ1Pwcm4ccqRgnSivoHzrCA92MqmoDNHIpJiU3YRoPanD7b6/HT3c3fuEcqP4bvkgXhvrzgUXisTYW+yTZKNNVUmAjBor+zFVKsWh/JSYlNVIgQ3rMJtNtte1SnOOwjiwthDJcADJkdS1Ao1qEVIkGuopqCmxEYKnkCuyV5mK8qFlovyHsVPZCT3UEMmY3CVU1TGDaMEgVGmRIlS8UGIVELVeo+ap6PaUeU3hQw/fEbZYrv1J2lhN7xYdPVRSFYJ/V4ejVrsJ+2REcliqg01cJwFwMSsaB0ipkWCM+BT9Rkx2ghOoataH2XvPf+2YPH1R1yh7I5psFCPaYVuJ8FKs+wSG5FhKJDKVlehhMFtcN8xojZHIV5HIFFEoNJiS1CO1np2n2emVLXe/wQPVdmgzxzLbhtt9g2es7bTQOyHMhlauRwQE7VVKOWnM983hAW10qU0LGOU8lQ8g+A/yFTOWQx20x9yaWnEsdGlbOuycHDHVHqku9EN2aTfhEnkP/6zyw/IIiGCkwRoGzuFRHr8tfX6NQQCQ5hle2DxjqDrfj1TuP/QYH9fmpWGS83eQopIF3x1BolEoclCj4D5V+UAKVOpPLQLWoqDJA74Dp71FYOUeOQpyewV9XwjlHJUPgzkYhUznpyYn1mJXa0jI4rLQ3OmgLOQ9LOGjf1byPk4bmWJ2+Mlqnq4wuK9PH6CuqFre1d85s6+DcfsYud5zpmlFjMEaUlupi6PWoG4zVER9m1ORNFA7KTEyrK7/16vJnwyr6SCMclhlVl+Rt4FpnMHGxfDZbbtP2YQVqGnetlzYY791//N9Rz4b1qM+HHpiF4c7AqkjQhSFxoULSP7PQ/RTLqvLlthH7a74SDX0WlM3jz4LMTM+WdeItxAXS/eV6NK0AllU1JclKZ9ZFMhzhEE3uUWzbUfxmG+73jiOMRfdRNBuxrKrRG4139N3XFw8PVteJ9yB5x8a0upRhwNFlBYSh6B6K7qNYgqIbiOB9TZ3EHiEzphTKCDAFRiu2pzKKMND5Gw+m0z0Uo/YT8tX62nv/vPUowP5HXsLOnY1pa6e/1UoY6Mcpth5aBSyryi+h7srKI925xBGhcC3bKEEtDzVDl5hKnJDcenEd3T+xAyVEBSeWf9/6Iv3NNrbVtQh8xV4/N93hTBVvvE0/HOuo8OdqGhWcEMx0rcw4SqgiOEdWEwcUq+46OZF7/M4S1BSRFQGi+n8QFoJkjo1plKA+PNeK01lriB06/XXfLLKODvUGpkOdRgXz2ZvzCQMxjxJCO85qIXaIG+gXp4jYtt/k7fWYk9ZqIyzFfbhKqBhHCcVCIz2PkmEoRX9hDw2gjCAJe/ePDf3f3H0ynvHbM53B/JMezSLm1YWvm5+7xu17+B8f1pmKekJC3bXVeX/NJq4QPv2DgnmUUEXx84s8R2+ltrTS/RLTqJBkxcubTDeJq4SHt32QNqODZZSgpndbetclz1DJ59eX/JAbwKyr6uXNppuy+ovriCsF434R660EhU+TPe5cGbDGHbu28Oa0ZBvYRoV6BlFhJKOEMhx0/0+IoBWSmjzfVdk3gnY1MRzqDfz5z3r+1lziWgm7eholmLcj3f9/oedXI+eu9k0nvz7U779Gg6CUZmawuCUhFmS0MVhGMogSLI5ChFPQuqMXJq7SwH+1CoEiCwNQwhszN+4/8X2xsC6fmfE0SixmDCzM0J2xMpcsO9rv//ss0MqaurUCQTudn1t097W+qEdGRkCsH3AIzxyz52HplgPwXZ3LwdJiyvpCDlaT01FhTLzpNhkp4eGtsSwfcAiOArRRICvzMZlWF+egXc7NLbrS0douryUjKRj27hTei2DorDAU7IsH+V0+N7fUCBSZuQ/tUCvSmICf7Lb1EHcQzUjsq2sRkBOKGR8rMGF1JqbGF3Ot2OgQLLqpaL94d6Z7wOr6lP1WglobiV75uyAfHEdAXC5o3nIkKoRL2g3EnQRNdDnrKEFNq2ubaBd8VmRxrVjHICq4gXCpfSYO/rzFJe2YFY5xq7LhH19iVyvS96y2Fv9NTNxROLYiD4ow9tWVGQ5D6lqQFfn0rjjsqDCWOywTdxV9V8Jlw/5ICBauF8Nvq3FYd0UfLlMdb7v2PnFnwfCnZFdECZq7HimjQdYUI3BX85BR4bVdDWeJJ+jpITvKBcl+AcQ7NmNMQtOQb+11XboX7Bmw2o8tp2sclrAEYPMxfWMhAna2PBPWq9ssl6MVZ8qJJwnKiGqoIl0w7CPQk74UJKEdgYM8gCCeJlzuCmZ8bhScHYJlyQr4JbcOeMt4R/n5vcQTheNrMoUowfigrQ7HmG0tmLbDNuC7gx4p+q4E/fK5S6orcwFOpCXCR9TBr4rp+w/Fnb1LCFt5/lZCSPZz6Bcv+a/zvr6nsZt8H4SMd2z8klAZztaqUHwr+w1IXHP/2W8evPb9gNVdsgRHl+fTGcbevz2hK9dFE6+88sorr7zyyiuvPFb/A62oY924fO4EAAAAAElFTkSuQmCC</resource>
 <resource name="zapier.png" app="core" location="admin" path="/enhancements/">[encoded data, 16796 characters]</resource>
 <resource name="large_loading.gif" app="core" location="admin" path="/">[encoded data, 14028 characters]</resource>
 <resource name="loading.gif" app="core" location="admin" path="/">R0lGODlhEAAQAPMAAObo6ktZaZCYoh4vRDtKXNnc4LC2vSw9UHR/jMvP1KKpsfj5+VlmdYONmGZygP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAAACwAAAAAEAAQAAAETBDISau9dYXBh2zCYmmddAxEkRElYLCEOAnoNi2sQG2GRhmDAIWDIU6MGSSAR0G4ghRa7IjIUXAog6QzpRRYhy0nILsKGuJxGcNuTyIAIfkECQoADAAsAgAAAAwAEAAABFWQyXKUvJiREVJmi3AMZIEVGzkgIABuhDIcwBIQ4YAzgfAOgsDAICEWOaQPSDVYKElC48Jo4Ah0zuBPsCCwACMFzOliIJgE06WgOnA/CSFBeVEc1IwIACH5BAkKAA0ALAIAAAAMABAAAARTsMnZAKO4qWHoEsEwHOMiFYSoikKzpESXiEcnDITZ3IgedhJBwWW4DTKSFXLBMpgKLYlhEJAsEIPoK9swkAaJhQFmMq5wQxfpGxDopAMFcsIAICMAIfkECQoAAAAsAgABAA0ADQAABEYQyEnBWnKJMEYQV5AABdGdA8Eli0kYkmF2iZBiGUc3BzzptIpQkigWcRUUgmI4NACn5aQ1EEA7r4vsBnXMUISCZKnRfZARACH5BAkKAAwALAAAAgAQAAwAAARUkEm2RBgjiDU7IFg4EEU3IYTBGSDBTSXVLaDAlMmAACajDAfCgXEBbiSGIkbxCwUME8EBE2AEp4oeADFI3BiC0Uuy4MTILdWCFRjDQKIRr1cpatwRACH5BAUKAA0ALAAAAgAQAAwAAARTsMkpxghizbmEaoZlEcVmHMOxaCAxECwjDsi2uIIEKKhVTqHAxpIQ5IYDJEtiTFg2gYFhUxAdFADma9lAzBiS28ugWaEO00nBJZoaMpuwIDo4biIAOw==</resource>
 <resource name="logo.png" app="core" location="admin" path="/">[encoded data, 6640 characters]</resource>
 <resource name="logo@2x.png" app="core" location="admin" path="/">iVBORw0KGgoAAAANSUhEUgAAADQAAAAyCAYAAAATIfj2AAACXUlEQVR4AWL4////sMLYBHWB2HiIYF2cHoIqePV/iAGom80A3doBZBtRHMfxx3EglBBKCSOEUkbBCCgoA2WMMlDKGAEIYwSEglJGCaVglBLCGGGMglAKSgBKQcGBEOw73iDuubtfXl7u+uOjwItf+++9e69NK/QNVU0/rdA7VDUHrt+hMaqWXzCuQk0kqEoStJyFrFNUJd3Mx7b1G2XPHaK8hVolH7052s6N1aGLsqYHU7RQhDuULVNESiGDNuYlG7U9GKmQ1SvjG4FcCBGm2HQeEK9cyNrb8OgtsK8dH9z62FTOYHwXivGA0HlE7L2QtY9F4FHr6CfWfM4QKucw6y4U4xHrzgw1qZCgg0WoQ5tUSHCOdeUSJnShGmbwnSfUgheyDuA7h17v5QSX8JUrmE0X2sITVs0z6j4LvccIsbDQIVbNkbiFjPEhrdAA/3IBI7iGmhsYwQUIX12FbDrC4nU8C2Ve0BD3wv/5nlVoJo7ekVDoWBy1We5CNgMYwQ3yZgQjGIBkFRIOVSkaeMk5ajvC+m+xKFzI5l4cvWNk5URYN8I9iFDI5iuMYJR1wS7owUYvNMeu8OE7jtFL0BTWa2MuFnLfIxd0guV8FkftD4hUyH3TLxguf7DgC4jfQgneiN/dU0t5wDSReC9kM4EJ7CeIXkh/3Pr3CWS9hdQNUdqghULSzehtgEI/lJvVVf62+tF7Cf0lt5tWqCX8B0cdxrO6cALedR3Bb1Ek1zCeDVEkYxhXoW3hVrTh86cjXORvOwtZNfQxwTTDFWKPhSIMMc0wQR9bwq1Pub36Qn8BjhtPHDG3IoUAAAAASUVORK5CYII=</resource>
 <resource name="logo_dark.png" app="core" location="admin" path="/">[encoded data, 6640 characters]</resource>
 <resource name="logo_dark_full.png" app="core" location="admin" path="/">[encoded data, 25116 characters]</resource>
 <resource name="machine.png" app="core" location="admin" path="/">[encoded data, 19760 characters]</resource>
 <resource name="screenshot.png" app="core" location="admin" path="/mobileapp/">[encoded data, 875848 characters]</resource>
 <resource name="notepad_bg.png" app="core" location="admin" path="/">iVBORw0KGgoAAAANSUhEUgAAA84AAAAZCAMAAADXGIdgAAAASFBMVEX8/NT9/dX7+9T6+tP+/tb8/NP9/dT6+tL7+9P+/tX77M/668/87dD56s/97tH56c/768/v8c/v8tDw89Hx9NHv483y9dLx5c7PRfNXAAADv0lEQVR4XuyOOQ6AQAzE+MIcu/z/p1h0VDRbpopiS9ZcjpWqFjeuW0OcvKLFKhuNBFZICEowA1VgeKD+9lZ9n+j975ve9Kb3sDvvtrIjARQDSR5Z89n8w13nOXMtAXI7gUJBlG4aQwJZaoVqYuJS3AhANnAX4GIbsV/vJe9n3u3f8Y53PARgheKIAaIZE0bmQPDqCtuwtCtaA8LYr/cZ72fe3d/xjnc8vLjGsMlkjVFsiEy9DEmdYVRxMQFQlUDs1/uw9zPv7u94xzseKBa20T8bAIxQGgarRlQ2hRIplgKNfr33+D7z7v6Od7zjUcIIijYGbV3NABCTKBRdKKQbAUhKKP163/F95t39He94x0MnVpVuiGwNJsi22ryGThYD4BouN3KwiPXrfcfnmXf3d7zjHQ+wkrZm4tpWGcpIRpCXwAZrSQu7EmQtxx/vLZ9H3u3f8Y53PJQByLKcm1ReA0jcKDRxuzZmjKGjC1ljg+vXe7vPM+/u73jHOx4JwtgIaaWNGAAKybw2YTgCpjo1J4u57Y/3oe8j7/bveMc7HilC2a5mhKCbggEhSINhxrZYXrCGrA2mv97XXs+8u7/jHe94BBswIBlK24ZIlFQjIPC6dEQZslkAaXH9eq/xeebd/h3veMeDwtRrxRqVooMEEgB0NDaKnJISuoVpf7zX+j7y7v+Od7zj5UIDa4q4CQwrRABxsXCDxjWYlCoUAH+8j3weebd/xzve8TDGGFABLYABkiYBwVBSJkk5JUIW28Bf7wXvp9793/GOdzwRpmYjawtkJYC2EiYAXAXggHCEs0G/3nu8n3l3f8c73vHIGYIArMvhZrRJBGMbW6MYOiBaBa4QYP16r/XfM+/273jHO140AtOFomPUsqSBJSSRJAtJtzEkiZx/vJe+nnn3f8c73vG2nCE6CIgm/yoTt0kGsc0LWFxiA1Yp/PX2otcz7/7veMc7nmwEzY02oBW0kZAYjQ2MuYHM4TSwuJr2673a95l3/3e84x0PI6Ala0xnGTGW2nATnIYlE2rhpksR/njf9nrk3f4d73jHY4MlAtORKFMtCOc0THAXiHYpOQ0Gm9Jf7zPeT7z7v+Md73ik0EKADFobwLVyDdnQ9U/AS7aAtiQ2AP54b3s98m7/jne84yFWI9JZCTJFImoO5QrDbCHVGAnCgDb69T71fubd/R3veMfj/3bnEIdhKIBhKLLjou3+p50mjQyVFP7QSE/ObY4YFzMawNzU4dIKu/g9mFCoue8iI/+9l72f8O77jne8430AzM/SYxKijdYAAAAASUVORK5CYII=</resource>
 <resource name="blackglass.png" app="core" location="admin" path="/recaptcha/">[encoded data, 19228 characters]</resource>
 <resource name="clean.png" app="core" location="admin" path="/recaptcha/">[encoded data, 15308 characters]</resource>
 <resource name="red.png" app="core" location="admin" path="/recaptcha/">[encoded data, 18432 characters]</resource>
 <resource name="white.png" app="core" location="admin" path="/recaptcha/">[encoded data, 18472 characters]</resource>
 <resource name="dark.png" app="core" location="admin" path="/recaptcha2/">[encoded data, 4452 characters]</resource>
 <resource name="light.png" app="core" location="admin" path="/recaptcha2/">[encoded data, 4680 characters]</resource>
 <resource name="small_loading.gif" app="core" location="admin" path="/">[encoded data, 6876 characters]</resource>
 <resource name="tiny_loading.gif" app="core" location="admin" path="/">R0lGODlhEAAQAPYCAKqqqsbGxlZWVsrKyvr6+ubm5tDQ0K6urmZmZmJiYuzs7IaGhvT09JycnLq6us7Ozurq6o6OjtbW1tra2vDw8CgoKCYmJvz8/NLS0kJCQlJSUqysrPLy8vb29pqamra2tm5ubujo6Kampvj4+IiIiMjIyEhISNzc3OLi4rKysj4+PlBQULi4uJKSkmRkZODg4KKiou7u7iQkJB4eHlpaWhISErCwsHh4eMDAwDIyMi4uLqSkpIKCgr6+vt7e3n5+fggICJCQkAwMDEpKSmBgYHZ2dhgYGBYWFnx8fF5eXk5OTiIiIjAwMIyMjISEhDQ0NJaWltTU1AQEBBwcHGpqaoqKiuTk5CoqKlhYWAoKCtjY2Hp6ehAQEJ6ensLCwkxMTJSUlCwsLAYGBnR0dDg4OFxcXLy8vKCgoA4ODsTExMzMzDw8PERERDY2NqioqHJycrS0tGhoaBQUFEZGRjo6OkBAQICAgHBwcFRUVCAgIGxsbP///wAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgACACwAAAAAEAAQAEAHjIACgoOEhYJsbTGGghcPGIJRbFNNhgQKCheDDkllDQYMHSc4MAcvhTB0aFliggQjmYNEFQ6LAh0+VoIwbFW1GGamhCgfUE5NbgMKtQYLc0a1gjsyR3E2IYwMFASDYDJvtRRWFIJ1TMq1ElqCICpetQoBEoInVCsAhhI2XhyEPUgIIG7waALlwAloCAMBACH5BAkKAAIALAEAAQAOAA4AAAeDgAKCEmBYYRVKJAaCjAcrVzIzRjVoTw2MKRk5Ww4KECkuWTWCE0Rrl4yCTow7bAupsBcCW19psKkjBEQaFLeMHBwINBy+ggoxVQkPxSMFMXBUMMUQPhRWVUU9tyFRLwQCA048cCcjIyFaJQYxjA8NEVBnAClmahCwEANwbjYBJwyMAgEAIfkECQoABQAsAQABAA4ADgAAB4OABYInO29DbC5QUYKMZiBfbCptTBUmIow4LgJBaTExZkVLFTAFKD8JB4yMQUZrBixUXaqqVFwkUG8Ys4wpQiZOWwy7ghBiRk08HcOqblUTy4wlLWbLBCMFCgBdurMjFMoFE24ADxAXFwwKITEEjD5mH2YBDxI+IdeqHCcGAxgv7IwCAQAh+QQJCgAAACwBAAEADgAOAAAHhYAAglYfTVQJSCITgowDVSAISQJKJgkpjA8LWyIGHBQBJCoZBwAQDU44jIxdTxoSAxEfqqpbFWApUCezjA5LWCJdI7uCClNXGyLCwxBHFl4HBcMAKVxfEx8Y0glZCxwlOCjDUkwPACElAygMghftAB6MClpRJygQFB0EuyMKBQUKDPQxCgQAIfkECQoAAAAsAQABAA4ADgAAB4SAAIIKahstTQ0OVoKMJzYeLVU8W29OXowvBztePh0dUTtxVD0AHDgHEoyMKWVvPj4sBqqqLUoiGDgQs4wBJmNqARe7gjEqXxgPwsMxbWw+UQzDAGY6LjEnusNjFmAEBVbRs00zc1EAHRAKHYw2CHIyO4wEHAwjgmJCZDC7F8psC7IEBQIAIfkECQoARwAsAQABAA4ADgAAB4OAR4IMPgMfNg4PCoKMEA84LCkAMB47GIwxBiUTEAQjKD0REQ9HBD4YIYyMATwtBRQnqaqMG0UOEC8ds4wYIEEQBbuMHC4gMYvCRxw0CAwcF8kBGj8EHdDCJCYiRxfXsw0qCROqRDYQECw3ORkpqjpAQjVGMxYrB7MPC0MyFQItEowCAQAh+QQJCgACACwBAAEADgAOAAAHgIACghcUVhIYEigMgowjEC8nUQ8BOGkojAQxITEdAhcxEh9wPoIMFCOMjBMAKTEXHaipjGldDxcEsqkvUAe5sh1NLb6pHTxNbGK9vlE3DU5ZLsNnIA4GbTVVuQcJdpdnS0Z3LAoxXhF4LjiMMBl5FjptKiZ6ZrJRLUkqbCAwJ4yBACH5BAUKAAEALAEAAQAOAA4AAAd/gAGCARcjHDExHASDjAQdHAoFLy8Ugw2MgiMKWhIKAQ9MYpiCEA8YHQtZCaOCJ14vX2g2rAEKZgMyNRC0BCksFUa7rCMANgIzH7QvZw4tMmO0DlAPUV9hHqNeVTC7G2tkTmkUHA8iSFUGgzZlGSYaNC4gTWqYEzA3SQhVH1aDgQA7</resource>
 <resource name="welcome.svg" app="core" location="admin" path="/">[encoded data, 116396 characters]</resource>
 <resource name="communityhive.svg" app="core" location="front" path="/hive/">[encoded data, 6936 characters]</resource>
 <resource name="logo_on_white_background.png" app="core" location="front" path="/hive/">[encoded data, 21756 characters]</resource>
 <resource name="large_loading.gif" app="core" location="front" path="/loaders/">[encoded data, 14028 characters]</resource>
 <resource name="large_loading@2x.gif" app="core" location="front" path="/loaders/">[encoded data, 38576 characters]</resource>
 <resource name="tiny_loading.gif" app="core" location="front" path="/loaders/">R0lGODlhEAAQAPYCAKqqqsbGxlZWVsrKyvr6+ubm5tDQ0K6urmZmZmJiYuzs7IaGhvT09JycnLq6us7Ozurq6o6OjtbW1tra2vDw8CgoKCYmJvz8/NLS0kJCQlJSUqysrPLy8vb29pqamra2tm5ubujo6Kampvj4+IiIiMjIyEhISNzc3OLi4rKysj4+PlBQULi4uJKSkmRkZODg4KKiou7u7iQkJB4eHlpaWhISErCwsHh4eMDAwDIyMi4uLqSkpIKCgr6+vt7e3n5+fggICJCQkAwMDEpKSmBgYHZ2dhgYGBYWFnx8fF5eXk5OTiIiIjAwMIyMjISEhDQ0NJaWltTU1AQEBBwcHGpqaoqKiuTk5CoqKlhYWAoKCtjY2Hp6ehAQEJ6ensLCwkxMTJSUlCwsLAYGBnR0dDg4OFxcXLy8vKCgoA4ODsTExMzMzDw8PERERDY2NqioqHJycrS0tGhoaBQUFEZGRjo6OkBAQICAgHBwcFRUVCAgIGxsbP///wAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgACACwAAAAAEAAQAEAHjIACgoOEhYJsbTGGghcPGIJRbFNNhgQKCheDDkllDQYMHSc4MAcvhTB0aFliggQjmYNEFQ6LAh0+VoIwbFW1GGamhCgfUE5NbgMKtQYLc0a1gjsyR3E2IYwMFASDYDJvtRRWFIJ1TMq1ElqCICpetQoBEoInVCsAhhI2XhyEPUgIIG7waALlwAloCAMBACH5BAkKAAIALAEAAQAOAA4AAAeDgAKCEmBYYRVKJAaCjAcrVzIzRjVoTw2MKRk5Ww4KECkuWTWCE0Rrl4yCTow7bAupsBcCW19psKkjBEQaFLeMHBwINBy+ggoxVQkPxSMFMXBUMMUQPhRWVUU9tyFRLwQCA048cCcjIyFaJQYxjA8NEVBnAClmahCwEANwbjYBJwyMAgEAIfkECQoABQAsAQABAA4ADgAAB4OABYInO29DbC5QUYKMZiBfbCptTBUmIow4LgJBaTExZkVLFTAFKD8JB4yMQUZrBixUXaqqVFwkUG8Ys4wpQiZOWwy7ghBiRk08HcOqblUTy4wlLWbLBCMFCgBdurMjFMoFE24ADxAXFwwKITEEjD5mH2YBDxI+IdeqHCcGAxgv7IwCAQAh+QQJCgAAACwBAAEADgAOAAAHhYAAglYfTVQJSCITgowDVSAISQJKJgkpjA8LWyIGHBQBJCoZBwAQDU44jIxdTxoSAxEfqqpbFWApUCezjA5LWCJdI7uCClNXGyLCwxBHFl4HBcMAKVxfEx8Y0glZCxwlOCjDUkwPACElAygMghftAB6MClpRJygQFB0EuyMKBQUKDPQxCgQAIfkECQoAAAAsAQABAA4ADgAAB4SAAIIKahstTQ0OVoKMJzYeLVU8W29OXowvBztePh0dUTtxVD0AHDgHEoyMKWVvPj4sBqqqLUoiGDgQs4wBJmNqARe7gjEqXxgPwsMxbWw+UQzDAGY6LjEnusNjFmAEBVbRs00zc1EAHRAKHYw2CHIyO4wEHAwjgmJCZDC7F8psC7IEBQIAIfkECQoARwAsAQABAA4ADgAAB4OAR4IMPgMfNg4PCoKMEA84LCkAMB47GIwxBiUTEAQjKD0REQ9HBD4YIYyMATwtBRQnqaqMG0UOEC8ds4wYIEEQBbuMHC4gMYvCRxw0CAwcF8kBGj8EHdDCJCYiRxfXsw0qCROqRDYQECw3ORkpqjpAQjVGMxYrB7MPC0MyFQItEowCAQAh+QQJCgACACwBAAEADgAOAAAHgIACghcUVhIYEigMgowjEC8nUQ8BOGkojAQxITEdAhcxEh9wPoIMFCOMjBMAKTEXHaipjGldDxcEsqkvUAe5sh1NLb6pHTxNbGK9vlE3DU5ZLsNnIA4GbTVVuQcJdpdnS0Z3LAoxXhF4LjiMMBl5FjptKiZ6ZrJRLUkqbCAwJ4yBACH5BAUKAAEALAEAAQAOAA4AAAd/gAGCARcjHDExHASDjAQdHAoFLy8Ugw2MgiMKWhIKAQ9MYpiCEA8YHQtZCaOCJ14vX2g2rAEKZgMyNRC0BCksFUa7rCMANgIzH7QvZw4tMmO0DlAPUV9hHqNeVTC7G2tkTmkUHA8iSFUGgzZlGSYaNC4gTWqYEzA3SQhVH1aDgQA7</resource>
 <resource name="tiny_loading@2x.gif" app="core" location="front" path="/loaders/">[encoded data, 10808 characters]</resource>
 <resource name="notification.svg" app="core" location="front" path="/">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDUwIDUwIiB2ZXJzaW9uPSIxLjEiIGZpbGw9IiNmZmZmZmYiPjxnIGlkPSJzdXJmYWNlMSIgZmlsbD0iI2ZmZmZmZiI+PHBhdGggc3R5bGU9IiAiIGQ9Ik0gMjUgNiBDIDIzLjM1NTQ2OSA2IDIyIDcuMzU1NDY5IDIyIDkgTCAyMiAxMC40MDYyNSBDIDIwLjA1NDY4OCAxMC44NjMyODEgMTguMzU1NDY5IDExLjc2NTYyNSAxNy4wNDY4NzUgMTMuMDgyMDMxIEMgMTUuMDkzNzUgMTUuMDU0Njg4IDE0IDE3Ljg0NzY1NiAxNCAyMS4wNjI1IEwgMTQgMjguODYzMjgxIEMgMTQgMzAuNjk5MjE5IDEyLjk5NjA5NCAzMy4wMjczNDQgMTEuOTYwOTM4IDM0Ljc1MzkwNiBMIDEwLjE2Nzk2OSAzNy40NDUzMTMgQyA5Ljk2NDg0NCAzNy43NTM5MDYgOS45NDUzMTMgMzguMTQ4NDM4IDEwLjExNzE4OCAzOC40NzI2NTYgQyAxMC4yOTI5NjkgMzguNzk2ODc1IDEwLjYzMjgxMyAzOSAxMSAzOSBMIDIwIDM5IEMgMjAgNDEuNzQ2MDk0IDIyLjI1MzkwNiA0NCAyNSA0NCBDIDI3Ljc0NjA5NCA0NCAzMCA0MS43NDYwOTQgMzAgMzkgTCAzOSAzOSBDIDM5LjM2NzE4OCAzOSAzOS43MDcwMzEgMzguNzk2ODc1IDM5Ljg4MjgxMyAzOC40NzI2NTYgQyA0MC4wNTQ2ODggMzguMTQ4NDM4IDQwLjAzNTE1NiAzNy43NTM5MDYgMzkuODMyMDMxIDM3LjQ0NTMxMyBMIDM4LjA0Njg3NSAzNC43NjU2MjUgTCAzOC4wNDI5NjkgMzQuNzYxNzE5IEMgMzYuOTk2MDk0IDMzLjAxNTYyNSAzNiAzMC44MzU5MzggMzYgMjkgTCAzNiAyMS4xOTkyMTkgQyAzNiAxNS44MzIwMzEgMzIuODA0Njg4IDExLjY3NTc4MSAyOCAxMC40NDE0MDYgTCAyOCA5IEMgMjggNy4zNTU0NjkgMjYuNjQ0NTMxIDYgMjUgNiBaIE0gMjUgOCBDIDI1LjU1NDY4OCA4IDI2IDguNDQ1MzEzIDI2IDkgTCAyNiAxMC4xMTMyODEgQyAyNS43NzczNDQgMTAuMDkzNzUgMjUuNTU4NTk0IDEwLjA3MDMxMyAyNS4zMzIwMzEgMTAuMDYyNSBDIDI1LjIyNjU2MyAxMC4wMjM0MzggMjUuMTEzMjgxIDEwLjAwMzkwNiAyNSAxMCBDIDI0Ljg5MDYyNSAxMCAyNC43ODUxNTYgMTAuMDE5NTMxIDI0LjY4MzU5NCAxMC4wNTg1OTQgQyAyNC40NDkyMTkgMTAuMDYyNSAyNC4yMjY1NjMgMTAuMDg1OTM4IDI0IDEwLjEwMTU2MyBMIDI0IDkgQyAyNCA4LjQ0NTMxMyAyNC40NDUzMTMgOCAyNSA4IFogTSAzLjQ4MDQ2OSA5LjQ3NjU2MyBDIDEuMjUgMTMuMTAxNTYzIDAgMTcuNDE3OTY5IDAgMjIgQyAwIDI2LjU4MjAzMSAxLjI1IDMwLjg5ODQzOCAzLjQ4MDQ2OSAzNC41MjM0MzggTCA1LjE4NzUgMzMuNDc2NTYzIEMgMy4xNTIzNDQgMzAuMTY3OTY5IDIgMjYuMjE4NzUgMiAyMiBDIDIgMTcuNzgxMjUgMy4xNTIzNDQgMTMuODMyMDMxIDUuMTg3NSAxMC41MjM0MzggWiBNIDQ2LjUxOTUzMSA5LjQ3NjU2MyBMIDQ0LjgxMjUgMTAuNTIzNDM4IEMgNDYuODQ3NjU2IDEzLjgzMjAzMSA0OCAxNy43ODEyNSA0OCAyMiBDIDQ4IDI2LjIxODc1IDQ2Ljg0NzY1NiAzMC4xNjc5NjkgNDQuODEyNSAzMy40NzY1NjMgTCA0Ni41MTk1MzEgMzQuNTIzNDM4IEMgNDguNzUgMzAuODk4NDM4IDUwIDI2LjU4MjAzMSA1MCAyMiBDIDUwIDE3LjQxNzk2OSA0OC43NSAxMy4xMDE1NjMgNDYuNTE5NTMxIDkuNDc2NTYzIFogTSAyNSAxMiBDIDMwLjUxMTcxOSAxMiAzNCAxNS42Njc5NjkgMzQgMjEuMTk5MjE5IEwgMzQgMjkgQyAzNCAzMS41MTE3MTkgMzUuMjAzMTI1IDMzLjkxNzk2OSAzNi4zMjgxMjUgMzUuNzk2ODc1IEMgMzYuMzM5ODQ0IDM1LjgwODU5NCAzNi4zNDc2NTYgMzUuODI0MjE5IDM2LjM1NTQ2OSAzNS44MzU5MzggTCAzNy4xMjg5MDYgMzcgTCAxMi44NzEwOTQgMzcgTCAxMy42NDQ1MzEgMzUuODM1OTM4IEMgMTMuNjUyMzQ0IDM1LjgyNDIxOSAxMy42NjAxNTYgMzUuODA4NTk0IDEzLjY3MTg3NSAzNS43OTY4NzUgQyAxNC44MDg1OTQgMzMuOTAyMzQ0IDE2IDMxLjM3NSAxNiAyOC44NjMyODEgTCAxNiAyMS4wNjI1IEMgMTYgMTguMjk2ODc1IDE2LjkxNDA2MyAxNi4wNTg1OTQgMTguNDY4NzUgMTQuNDkyMTg4IEMgMjAuMDE5NTMxIDEyLjkyNTc4MSAyMi4yMzgyODEgMTIgMjUgMTIgWiBNIDcuODE2NDA2IDEyLjE0MDYyNSBDIDUuOTk2MDk0IDE1LjA4MjAzMSA1IDE4LjM1NTQ2OSA1IDIyIEMgNSAyNS42NzE4NzUgNi4xMjg5MDYgMjkuMDQ2ODc1IDcuODA4NTk0IDMxLjg0NzY1NiBMIDkuNTIzNDM4IDMwLjgxNjQwNiBDIDguMDA3ODEzIDI4LjI4NTE1NiA3IDI1LjI2MTcxOSA3IDIyIEMgNyAxOC43MTA5MzggNy44NzEwOTQgMTUuODUxNTYzIDkuNTE1NjI1IDEzLjE5MTQwNiBaIE0gNDIuMTgzNTk0IDEyLjE0MDYyNSBMIDQwLjQ4NDM3NSAxMy4xOTE0MDYgQyA0Mi4xMjg5MDYgMTUuODUxNTYzIDQzIDE4LjcxMDkzOCA0MyAyMiBDIDQzIDI1LjI2MTcxOSA0MS45OTIxODggMjguMjg1MTU2IDQwLjQ3MjY1NiAzMC44MTY0MDYgTCA0Mi4xOTE0MDYgMzEuODQ3NjU2IEMgNDMuODcxMDk0IDI5LjA0Njg3NSA0NSAyNS42NzE4NzUgNDUgMjIgQyA0NSAxOC4zNTU0NjkgNDQuMDAzOTA2IDE1LjA4MjAzMSA0Mi4xODM1OTQgMTIuMTQwNjI1IFogTSAyMiAzOSBMIDI4IDM5IEMgMjggNDAuNjU2MjUgMjYuNjU2MjUgNDIgMjUgNDIgQyAyMy4zNDM3NSA0MiAyMiA0MC42NTYyNSAyMiAzOSBaICIgZmlsbD0iI2ZmZmZmZiIvPjwvZz48L3N2Zz4NCg==</resource>
 <resource name="email.svg" app="core" location="front" path="/notification_settings/">PHN2ZyB2aWV3Qm94PSIwIDAgNTAgNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTM3LjQ5MjE4OCAwYy01LjIzMTAwMSAwLTkuNzA0NDA3IDIuNjY4OTY4Ny0xMS41NjY0MDcgNi41NDI5Njg4bC0uMDAxOTUzLjAwMTk1MzFjLS41OTEgMS4yMzEtLjkyMzgyOCAyLjU3NDM3NS0uOTIzODI4IDMuOTg0Mzc1MSAwIDIuMTAzLjczOTIzNCA0LjA1OTk4NCAxLjk5MDIzNCA1LjcwODk4NC42NTguODYgMS40NjU5NjkgMS42NDc5ODUgMi40MTc5NjkgMi4zMzM5ODUtLjAxLjAzNi0uMDU1NjU2IDEuNDE1ODktLjcyMjY1NiAyLjMzNzg5bC0uNTEzNjcyLjcwODk4NWMtLjIwNS4yODMtLjIyOTQ1My42NTIwMzEtLjA2NDQ1My45NTcwMzEuMTY1LjMwNi40OTU1MTYuNDk4MDQ3Ljg1MzUxNi40OTgwNDdoLjg5NjQ4NGMxLjc5IDAgMi43NzUyMDMtLjU2NjU0NyAzLjc4MzIwMy0xLjE4NTU0N2wxLjM1OTM3NS0xLjA3MjI2NmMuNjQzLjA5MSAxLjc2MzI5Ny4xODM1OTQgMi40MDQyOTcuMTgzNTk0IDguMTQ3IDAgMTIuNTk1NzAzLTQuNzkwNzAzIDEyLjU5NTcwMy0xMC40NzA3MDMgMC01Ljg0NzAwMDEtNS42MTE4MTMtMTAuNTI5Mjk3LTEyLjUwNzgxMi0xMC41MjkyOTd6bTAgMmM1Ljc5Mzk5OSAwIDEwLjUwNzgxMiAzLjgyNjI5NjkgMTAuNTA3ODEyIDguNTI5Mjk3IDAgNS4xNDYtNC4xNTk3MDMgOC40NzA3MDMtMTAuNTk1NzAzIDguNDcwNzAzLS41MDkgMC0xLjUyMi0uMDc3MTA5LTIuMTI1LS4xNjIxMDktLjA5My0uMDEzLS4xODYyOTctLjAyMTQ4NS0uMjc5Mjk3LS4wMjE0ODUtLjQ0NiAwLS44ODMyODEuMTQ5Njg4LTEuMjM4MjgxLjQyOTY4OGwtMS4yNjc1NzguOTk4MDQ3Yy0uNTY4LjM0Ny0xLjAxNDkzOC41OTQ2MDktMS41ODU5MzguNzI0NjA5LjMwNy0uNzcxLjQzNzI4MS0xLjU2MTU0Ny40ODgyODEtMi4xODU1NDcuMDc1LS43MDYtLjIzMTMxMi0xLjQwODk4NC0uODIwMzEyLTEuODMzOTg0LS43NzQtLjU1OC0xLjQ0NzE0MS0xLjIwNTkyMi0xLjk5NDE0MS0xLjkxOTkyMi0xLjAzNS0xLjM2Ni0xLjU4MjAzMS0yLjkyMi0xLjU4MjAzMS00LjUgMC0xLjA0NTAwMDEuMjM0MjE5LTIuMDczNTQ3LjY5OTIxOS0zLjA2MDU0Ny4wMS0uMDE5LjAyMDI5Ny0uMDQwNTQ2OS4wMjkyOTctLjA2MDU0NjkgMS41NzktMy4yODYgNS40MTE2NzEtNS40MDgyMDMxIDkuNzYzNjcyLTUuNDA4MjAzMXptLTM3LjQ5MjE4OCA2djM2aDUwdi0yNi44NDk2MDljLS41NDcuODIxLTEuMjIxIDEuNTgyMzQzLTIgMi4yNzczNDN2MTcuNTM3MTFsLTEzLjEyMTA5NC0xMC4zNzVjLjYyNS0uNTQ1IDIuNTE2ODc1LTIuMjY3MzQ0IDQuMDQ2ODc1LTMuNjUyMzQ0LS40OTUuMDM0LS45OTY0ODQuMDYyNS0xLjUyMTQ4NC4wNjI1LS40MyAwLS45OTcxNTYtLjAzMjEyNS0xLjUzNTE1Ni0uMDc4MTI1LTMuMTk1IDIuODI1LTcuMDg4MjAzIDYuMzMzNzAzLTcuNTMzMjAzIDYuNzIwNzAzLTEuNDA5IDEuMjI2LTIuODAxOTM4IDEuMzU5Mzc1LTMuMzM1OTM4IDEuMzU5Mzc1cy0xLjkyNTkzNy0uMTMyMzc1LTMuMzM1OTM4LTEuMzU5Mzc1Yy0xLjQtMS4yMTktMTcuNTQxMDYyLTE1LjI4NTcxOS0xOS42NjQwNjItMTcuMTM2NzE5di0yLjUwNTg1OWgyMS4wMjkyOTdjLjAzMy0uNjc0LjExMzUzMS0xLjM0My4yNjk1MzEtMnptMzIuNSAxYy0uODI4IDAtMS41LjY3Mi0xLjUgMS41cy42NzIgMS41IDEuNSAxLjUgMS41LS42NzIgMS41LTEuNS0uNjcyLTEuNS0xLjUtMS41em01IDBjLS44MjggMC0xLjUuNjcyLTEuNSAxLjVzLjY3MiAxLjUgMS41IDEuNSAxLjUtLjY3MiAxLjUtMS41LS42NzItMS41LTEuNS0xLjV6bTUgMGMtLjgyOCAwLTEuNS42NzItMS41IDEuNXMuNjcyIDEuNSAxLjUgMS41IDEuNS0uNjcyIDEuNS0xLjUtLjY3Mi0xLjUtMS41LTEuNXptLTQwLjUgNi4xNTIzNDRjMy4xODQ4OTUgMi43NzUyNTUgOC43MjA1MzcgNy42MDA1OTIgMTMuMTIxMDk0IDExLjQzNTU0N2wtMTMuMTIxMDk0IDEwLjM3Njk1M3ptMTQuNjU0Mjk3IDEyLjc3MzQzN2MxLjAxNjMzNC44ODU2NDIgMy40NTA1NDkgMy4wMDYyMjkgMy42OTkyMTkgMy4yMjI2NTcgMS45MTggMS42NyAzLjg4ODQ4NCAxLjg0OTYwOSA0LjY0NjQ4NCAxLjg0OTYwOXMyLjcyOTQ4NC0uMTc5NjA5IDQuNjQ2NDg0LTEuODQ5NjA5Yy4zNzItLjMyNDAwMSAxLjc4NTI2Ni0xLjU1MzcwNCAzLjY5NzI2Ni0zLjIyMDcwNGwxNC42NTYyNSAxMS41ODU5Mzh2Mi40ODYzMjhoLTQ2di0yLjQ4NjMyOHoiLz48L3N2Zz4=</resource>
 <resource name="notification_bell.svg" app="core" location="front" path="/notification_settings/">PHN2ZyB2aWV3Qm94PSIwIDAgNTAgNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTI1IDBjLTIuMTk5MjE5IDAtNCAxLjgwMDc4MS00IDQgMCAuNTE1NjI1LjEwMTU2MyAxLjAxNTYyNS4yODEyNSAxLjQ2ODc1LTUuNjI1IDEuNDYwOTM4LTkuMjgxMjUgNi4zNDc2NTYtOS4yODEyNSAxMi41MzEyNSAwIDcuODMyMDMxLTEuOTIxODc1IDExLjM5ODQzOC0zLjc1IDEzLjQwNjI1LS45MTQwNjIgMS4wMDM5MDYtMS44MTY0MDYgMS42MTMyODEtMi41OTM3NSAyLjE4NzUtLjM5MDYyNS4yODUxNTYtLjc0NjA5NC41NzAzMTMtMS4wNjI1LjkzNzUtLjMxNjQwNi4zNjcxODgtLjU5Mzc1Ljg5MDYyNS0uNTkzNzUgMS40Njg3NSAwIDEuMzc1Ljg0Mzc1IDIuNTQyOTY5IDIuMDMxMjUgMy4zMTI1czIuNzQ2MDk0IDEuMjY1NjI1IDQuNjI1IDEuNjU2MjVjMi40Mzc1LjUwMzkwNiA1LjQ0NTMxMy43Njk1MzEgOC43NS45MDYyNS0uMjUuNjY0MDYzLS40MDYyNSAxLjM3ODkwNi0uNDA2MjUgMi4xMjUgMCAzLjMwMDc4MSAyLjY5OTIxOSA2IDYgNnM2LTIuNjk5MjE5IDYtNmMwLS43NS0uMTUyMzQ0LTEuNDY0ODQ0LS40MDYyNS0yLjEyNSAzLjMwNDY4OC0uMTM2NzE5IDYuMzEyNS0uNDAyMzQ0IDguNzUtLjkwNjI1IDEuODc4OTA2LS4zOTA2MjUgMy40Mzc1LS44ODY3MTkgNC42MjUtMS42NTYyNXMyLjAzMTI1LTEuOTM3NSAyLjAzMTI1LTMuMzEyNWMwLS41NzgxMjUtLjI3NzM0NC0xLjEwMTU2Mi0uNTkzNzUtMS40Njg3NS0uMzE2NDA2LS4zNjcxODctLjY3MTg3NS0uNjUyMzQ0LTEuMDYyNS0uOTM3NS0uNzc3MzQ0LS41NzQyMTktMS42Nzk2ODctMS4xODM1OTQtMi41OTM3NS0yLjE4NzUtMS44MjgxMjUtMi4wMDc4MTItMy43NS01LjU3NDIxOS0zLjc1LTEzLjQwNjI1IDAtNi4xNzk2ODctMy42NjQwNjItMTEuMDYyNS05LjI4MTI1LTEyLjUzMTI1LjE3OTY4OC0uNDUzMTI1LjI4MTI1LS45NTMxMjUuMjgxMjUtMS40Njg3NSAwLTIuMTk5MjE5LTEuODAwNzgxLTQtNC00em0wIDJjMS4xMTcxODggMCAyIC44ODI4MTMgMiAyIDAgMS4xMTcxODgtLjg4MjgxMiAyLTIgMi0xLjExNzE4NyAwLTItLjg4MjgxMi0yLTIgMC0xLjExNzE4Ny44ODI4MTMtMiAyLTJ6bTIuMzQzNzUgNS4xODc1YzUuMzMyMDMxLjk0OTIxOSA4LjY1NjI1IDUuMDcwMzEzIDguNjU2MjUgMTAuODEyNSAwIDguMTY3OTY5IDIuMDc4MTI1IDEyLjM2MzI4MSA0LjI1IDE0Ljc1IDEuMDg1OTM4IDEuMTkxNDA2IDIuMTgzNTk0IDEuOTM3NSAyLjkwNjI1IDIuNDY4NzUuMzU5Mzc1LjI2NTYyNS42Mjg5MDYuNDg4MjgxLjc1LjYyNXMuMDkzNzUuMTI1LjA5Mzc1LjE1NjI1YzAgLjYyNS0uMjg5MDYyIDEuMDgyMDMxLTEuMTI1IDEuNjI1LS44MzU5MzcuNTQyOTY5LTIuMTk1MzEyIDEuMDQ2ODc1LTMuOTM3NSAxLjQwNjI1LTMuNDg0Mzc1LjcyMjY1Ni04LjQ0NTMxMi45Njg3NS0xMy45Mzc1Ljk2ODc1LTUuNDkyMTg3IDAtMTAuNDUzMTI1LS4yNDYwOTQtMTMuOTM3NS0uOTY4NzUtMS43NDIxODctLjM1OTM3NS0zLjEwMTU2Mi0uODYzMjgxLTMuOTM3NS0xLjQwNjI1LS44MzU5MzctLjU0Mjk2OS0xLjEyNS0xLTEuMTI1LTEuNjI1IDAtLjAzMTI1LS4wMjczNDQtLjAxOTUzMS4wOTM3NS0uMTU2MjVzLjM5MDYyNS0uMzU5Mzc1Ljc1LS42MjVjLjcyMjY1Ni0uNTMxMjUgMS44MjAzMTMtMS4yNzczNDQgMi45MDYyNS0yLjQ2ODc1IDIuMTcxODc1LTIuMzg2NzE5IDQuMjUtNi41ODIwMzEgNC4yNS0xNC43NSAwLTUuNzM4MjgxIDMuMzI4MTI1LTkuODI4MTI1IDguNjU2MjUtMTAuNzgxMjUuNjY0MDYzLjQ4ODI4MSAxLjQ2NDg0NC43ODEyNSAyLjM0Mzc1Ljc4MTI1Ljg4NjcxOSAwIDEuNjc5Njg4LS4zMTY0MDYgMi4zNDM3NS0uODEyNXptLTUuNzgxMjUgMzQuNzVjMS4xMjEwOTQuMDIzNDM4IDIuMjYxNzE5LjA2MjUgMy40Mzc1LjA2MjVzMi4zMTY0MDYtLjAzOTA2MiAzLjQzNzUtLjA2MjVjLjM1NTQ2OS42MDE1NjMuNTYyNSAxLjMxMjUuNTYyNSAyLjA2MjUgMCAyLjIyMjY1Ni0xLjc3NzM0NCA0LTQgNHMtNC0xLjc3NzM0NC00LTRjMC0uNzU3ODEyLjE5OTIxOS0xLjQ2MDkzNy41NjI1LTIuMDYyNXoiLz48L3N2Zz4=</resource>
 <resource name="push.svg" app="core" location="front" path="/notification_settings/">PHN2ZyB2aWV3Qm94PSIwIDAgNTAgNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTEyIDNjLTEuNjQ0NTMxIDAtMyAxLjM1NTQ2OS0zIDN2Mi44MzIwMzFjLS4wMTk1MzEuMTA5Mzc1LS4wMTk1MzEuMjE4NzUgMCAuMzI0MjE5djMwLjY3NTc4MWMtLjAxOTUzMS4xMDkzNzUtLjAxOTUzMS4yMTg3NSAwIC4zMjQyMTl2My44NDM3NWMwIDEuNjQ0NTMxIDEuMzU1NDY5IDMgMyAzaDIwYzEuNjQ0NTMxIDAgMy0xLjM1NTQ2OSAzLTN2LTMuODMyMDMxYy4wMTk1MzEtLjEwOTM3NS4wMTk1MzEtLjIxODc1IDAtLjMyNDIxOXYtNy44NDM3NWg5YzEuNjQwNjI1IDAgMy0xLjM1NTQ2OSAzLTN2LTExLjkwMjM0NGMwLTEuNjk1MzEyLTEuMzk0NTMxLTMuMDk3NjU2LTMuMDkzNzUtMy4wOTc2NTZoLTguOTA2MjV2LTQuODMyMDMxYy4wMTk1MzEtLjEwOTM3NS4wMTk1MzEtLjIxODc1IDAtLjMyNDIxOXYtMi44NDM3NWMwLTEuNjQ0NTMxLTEuMzU1NDY5LTMtMy0zem0wIDJoMjBjLjU1NDY4OCAwIDEgLjQ0NTMxMyAxIDF2MmgtMjJ2LTJjMC0uNTU0Njg3LjQ0NTMxMy0xIDEtMXptLTEgNWgyMnY0aC03LjkwNjI1Yy0xLjY5OTIxOSAwLTMuMDkzNzUgMS40MDIzNDQtMy4wOTM3NSAzLjA5NzY1NnYxMS45MDIzNDRjMCAxLjY0NDUzMSAxLjM1OTM3NSAzIDMgM2gxLjg3MTA5NGMtLjA0Njg3NS4zMjgxMjUtLjA0Mjk2OS43ODkwNjMtLjEzNjcxOSAxLS4xNzk2ODcuNDI1NzgxLS40NDkyMTkuNzQyMTg4LTEuMTEzMjgxIDEuMTQwNjI1LS4zODY3MTkuMjM0Mzc1LS41NzAzMTMuNjk1MzEzLS40NDkyMTkgMS4xMjg5MDYuMTIxMDk0LjQzMzU5NC41MTU2MjUuNzMwNDY5Ljk2NDg0NC43MzA0NjkgMi4yMzA0NjkgMCA0Ljk5NjA5NC0xLjA0Mjk2OSA2LjQyNTc4MS00aC40Mzc1djdoLTIyem0xNC4wOTM3NSA2aDguNzM4MjgxYy4xMDkzNzUuMDE5NTMxLjIxODc1LjAxOTUzMS4zMjQyMTkgMGg5Ljc1Yy42MDU0NjkgMCAxLjA5Mzc1LjQ4ODI4MSAxLjA5Mzc1IDEuMDk3NjU2djExLjkwMjM0NGMwIC42NjQwNjMtLjMzOTg0NCAxLTEgMWgtMTJjLS40MTc5NjkgMC0uNzk2ODc1LjI2MTcxOS0uOTM3NS42NTYyNS0uNTU4NTk0IDEuNTIzNDM4LTEuNDQ1MzEyIDIuMzA4NTk0LTIuNDMzNTk0IDIuNzczNDM4LjI1LS43NDYwOTQuMzcxMDk0LTEuNTE1NjI1LjM3MTA5NC0yLjQyOTY4OCAwLS41NTA3ODEtLjQ0OTIxOS0xLTEtMWgtM2MtLjY2MDE1NiAwLTEtLjMzNTkzNy0xLTF2LTExLjkwMjM0NGMwLS42MDkzNzUuNDg4MjgxLTEuMDk3NjU2IDEuMDkzNzUtMS4wOTc2NTZ6bTkuOTA2MjUgMmMtLjU1MDc4MSAwLTEgLjQ0OTIxOS0xIDEgMCAuMDU4NTk0LjAwMzkwNi4xMjEwOTQuMDE1NjI1LjE3OTY4OC0xLjE3MTg3NS40MTAxNTYtMi4wMTU2MjUgMS41MTE3MTgtMi4wMTU2MjUgMi44MjAzMTJ2M2MwIC41NTA3ODEtLjQ0OTIxOSAxLTEgMXYxaDNjMCAuNTUwNzgxLjQ0OTIxOSAxIDEgMXMxLS40NDkyMTkgMS0xaDN2LTFjLS41NTA3ODEgMC0xLS40NDkyMTktMS0xdi0zYzAtMS4zMTI1LS44NDM3NS0yLjQxNDA2Mi0yLjAxNTYyNS0yLjgyNDIxOS4wMDc4MTMtLjA1ODU5My4wMTU2MjUtLjExNzE4Ny4wMTU2MjUtLjE3NTc4MSAwLS41NTA3ODEtLjQ0OTIxOS0xLTEtMXptLTI0IDIzaDIydjNjMCAuNTU0Njg4LS40NDUzMTIgMS0xIDFoLTIwYy0uNTU0Njg3IDAtMS0uNDQ1MzEyLTEtMXptOCAxYy0uMzU5Mzc1LS4wMDM5MDYtLjY5NTMxMi4xODM1OTQtLjg3ODkwNi40OTYwOTQtLjE3OTY4OC4zMTI1LS4xNzk2ODguNjk1MzEyIDAgMS4wMDc4MTIuMTgzNTk0LjMxMjUuNTE5NTMxLjUuODc4OTA2LjQ5NjA5NGg2Yy4zNTkzNzUuMDAzOTA2LjY5NTMxMy0uMTgzNTk0Ljg3ODkwNi0uNDk2MDk0LjE3OTY4OC0uMzEyNS4xNzk2ODgtLjY5NTMxMiAwLTEuMDA3ODEyLS4xODM1OTMtLjMxMjUtLjUxOTUzMS0uNS0uODc4OTA2LS40OTYwOTR6Ii8+PC9zdmc+</resource>
 <resource name="message.png" app="core" location="front" path="/notifyIcons/">iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAAAAACupDjxAAAD6UlEQVR4Ae3bA3PsSRAA8PswsW0bi7t7tm3btm3bLjw7tm3bdjpORht0l7J/TP1Wk57u2X+UBnkgEIEIRCACEYhABCIQgQhEIAIRiMBBGwhEIAIRiEAEItBh7aMn3OLRWmtKoMfz8jquUfTYlga4vLSOe2TOIwdKyuoERNUCUqBhdJ2QyJcQAo/VCQofTSKgYVqdqJhKBJxSJyxuEQHPiAP+IAL+FAf0JgJ6iQN6DXbg38EOfEEEvCQOuJsI6CkOKCECqvmK8vmpEQGV5osCrlQiAyp/F+ML1iQEKnmUivDVTiVPWPeKAN6jSfkf8feF6tAAtbx5+zKc6VZ1ZrF8fWWjaZedzlyF+fPoF+7mXvx8yf+xqCzoPueWp9oyKn3s5DMfXtNUogJagRn7F3te9LT28bWJgN/ntv+tcbySse+BSfvobk+JgIEV08CjcVEsedlL4ESRGkoE/FtXOhc81L/HzvfJEQw8Pos85a8+oQoOLEliw8vZrgxG3ZJHtWj6ZQ+nxBcsfL/d4fvygHZVl7UJHluZT8urPqoOP9kxDJadryzAQdcfdL4ImPyZXKpmsi7OXAkPb6WZtc/D3GpqLLOF+ztLcFzmQ8pLgLOC5iWWlYXkmXDoC2S+Z+awevuXbemj9p4+ODUrYeC8gg1gAJWjxcxrM/GzYHHz6kB9H5zA7f978Sge1VzUhrN2+kB4pfvhy7e/lFN1K/R/cNry3QCK0HJwo+0XfuW3ssMwhduR2z9e5QVwl/L6TK71QS8JTEP6NWuHToAv3xveBcyifeAS1VPVffpu64EbFqULqLB+sIC5UnjvvNTF4GK9i2JKwKmwd6X7pNfEzwo+mQhhNepnxvBty+ixlbkd/v85Vy2wiB4LVwN233v4dsjARXI/wVX+Y/C7crSimyuuw2/HphLhbYjvruDaUYGdT8fMhqn4E0X0SfI3govVN2fCc8XHYG4xN0NBjZz38DtqfqOw9XjFC7hq076kuE5T0jh4g/3xgOrGrP6SFB6V+CmyFVZxVlUJhuukyZKOR7bmK7hX99tRqZcwfq74ZmLm6p6HmJowKLqd7216KCzeqx0k7disnYZdb9deFTuI+sXpu+063my0IXaQNbQL7k1t//r+fzF5MHbcIx+uk7k6SVfeCqgZvFsCaioH/54FBCIQgQhEIAIROEKA/uKAf4iAd8QBHxEBJeKAC4mAqr9E+RJ1iYBK46oEAZeRbkvZJcZ3jXzfzP5aAb4bNBt75obz5qWup9t5pLPsQ1JmFqfITP62wZR+a5SmIbfQxt/VEQcCEYhABCIQgQhEIAIRiEAEIhCBCEQgAhGIQAQiEIH1YcfdOwKOUbgAAAAASUVORK5CYII=</resource>
 <resource name="notification.png" app="core" location="front" path="/notifyIcons/">iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAAAAACupDjxAAADwUlEQVR4Ae3bY4PkWBTG8f0wZY5t2zbejG1Pm6nFTGNt27Zte9s203lWbdZN3ZzcF+f/CX4xzzUOxWMgAxnIQAYykIEMZCADGchABjKQgQxkIAMZyEA1YqB3+003bnarCxxxc71hVF8JqgoMPIn/userKPAA/s/YoSbQ8xDau9mlJND/Atp7yK3mJs5Be+kKbuLQ9B0Jb6O91y5umRpUCrjo/LNF6FHeU2cXKgPc9EAe+unPe9cpAZz9SBkGqOS+abYDnafzMEi/H7MZGLy7DYOm3xS0EzjmBQzZEyPtA459HVH03Ei7gOFnEFUPBu0BurMRXUaaPcB9OqKsZbsdwPF/IOq+G2kD8G4IlEUPXFwFgUpmkgPvg1A3UgOn/QKhvhlLDDzaAqHqdxMD74BgWbTA8JsQ7HkPKXDm9xDskwmkwKWFEOzn2aTAFWUQLG8RKXBNFQQrXkYKXCsMLFlOClxfD8FKV5ACNzdDsMo1pMCdBgRr2EgK3A/R9K2kwJMQbg8pMAnCnSEFZkO4dEqg534Id5OTEDj8FQj3RIAQOP5bCPfhaELgzHII99cUQuC6NgjXspQQeBom2k8HdN0KE2lOMmDgA5joRS8ZcHwFTJQ3ggy4DWbSV5ABc2GqFDLgpzDVG1TA+TUwVflUImCaDlO1nqMBet+HyV5zkQC31MJk5ctJgPfBbMYtFMBFeTDdjzOsBzpvQAwlWg+c/Rdi6PtJVgOdOYipNKuBy+oQUxVzrAV63kSMPWUt8KKBGNMPWwlcUIyY+2uqdcDhb0FCzwetArpvgoz0iFXA+BZIqeGENcCTTZBUw0ErgCcaIa3aPdKBY+KbILG60yMkA18yILXWpyUDmyG5RsnAHyG5zyQDr9RAahWpkoGTn4DU7honGeiY+D4k9upI+efBibcWY+A+eqEJUZd3dZQll7oFexK0jLOJEU07dzTpckpmXPLpRE2LP/UBgBOTC9Gn946mXLyoadqFOE2LxB29lBR3XVzK+TN75xL/w3oVQJzjV/ROT1HkJ9tzLcBjjqfRu8ZDigBXVAF5M1fr6FXpbEWAvi8A3Oy4F716S5kfveMANBzwvYCeHVcGOPJnANV7gwnF6NbnIWWAjt06gKbcieO2nH0O7TVvcagDdEUAAGX3HdtyC/5Pj1NqGiJwG3qmR9xKAR2e5Ep0q/i8Q7mBl1WPNqG9hgcXKzkytDjjtR9Li399OWWhT9G5Ond46qplU0MuHp1UKQYykIEMZCADGchABjKQgQxkIAMZyEAGMpCBDFS2vwFMNKheNSkAdAAAAABJRU5ErkJggg==</resource>
 <resource name="upload.png" app="core" location="front" path="/notifyIcons/">iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAAAAACupDjxAAAD/UlEQVR4AWJQGeQAwO4cCAAAAAAA+b82QoHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBQczag4IkPRSG4ZvJ2LZt4zfWtm3btm3btu3dsT39rTFMnXQqPe8VPEHzlC5A+/huk9fuOnrm5P5Nc/tmuLYwoN+gfa8N+KWs05OjWg7wv/1FaFjV+X72LQLY9jya6ulIW5MDw/ejue60NjFwSBE4bXM3IdBhC/g9+91kQJ8r0FJ5fxMBwx5BY5NMAgx9Dc1NMwHQ6wkIDVcOtDkLSjX/qQauAq0PfmqBnUHtiFKg2zuQ660SuAL03jizz9n9Nn79wcMHVg5NtNAPGFkBgaYyxoIWPMe3DHfHu+kF3AKRsuzMJxXg11731QcYVAahZh9C/Tbb6QGcCnmdcZIPtLgPiR23lg6MrwGvwomDjkBjy6UDx4JXweevgBugsf9lAw9o8jGzjdDWXUu5QKunvPP9jX3JTOsetpML9C/l+H5njCbcJxeYyjnf39iPzNZDS1lOUoFt+L6faRMmSwX2bdaXyRhd2FUqcFBz9++7j3bKQ6UCB/P3r45wHbiNkX7EnPtXN76wv1RgP/7+Ue9ha4lAz4W5VB/3lKtC5AEHvgXZxxXet5QF9NwHuo9/D5czScCEp2I+jrAmSRLwrwKCjyDcwuQAfysi+CjCdbFmMoAxuVwfp7VNnvGNUZ5GA50f0H2Ee5g108VI4FaSjy7E885GATvSfeTPlBU24kDH52iqvYxQBJrrtJswcCqa7JkHATgXzXbNXRDolt3c5dm0fsOPtoxmdQretOFn606D0wU7MeAoaO4iq1MmaG0VAlrcJfyTweqUBmKDRYDJBnXAkhAB4AyoA2I/HWh2ViXQkEYGumepBGIfGZhRoxRYFkQFDoBSIMZQgXMVA09SgasVA7M8iMA1ioGGTCJwrWIg+hOBy1QDpxOB41QDlxKB7VQDVxCBoaWKgYuJQJuHioFTiUC2RTGwDxXYUy2wNp0K9C6E5o6xOiWD3gc3KpDthuZusDp1AL1jjAxsTTifqQFeP/JMvwd6Y+hA80uU73NFxd8rgkDVkXQgawN1HWUCQPPTUFZrESALK4aiLpsLAVl/qKnmN9F/WNdDSYuZKND2gpIDthEGMpdL0L23AYwGrCs8BJ17F2vcIMdio2IffVY3qhT6dSNcwjAx9iT0aoWDnHlx30f6bF8baQNtu+4XKyA3w6We1lIfcAwfc/B1JSRVcG1Bmg6PKTuE/f2RR7E4ABAGgmDd1wEO/5mtFU9O16rGACrvw+9Ati0KmY+gPQP+8/GMdakswhrQvh3IAAAAAAzyt77Hl0ECSVeAgICAgICAgICAgICAgICAgICAgICAe2Dri57rb6kc7wAAAABJRU5ErkJggg==</resource>
 <resource name="subitem_stem.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAA0AAAAICAIAAACtROKYAAAABnRSTlMA/wD/AP83WBt9AAAAG0lEQVR4AWP4Txxg2Lx58yBXRxiA1BFjGAnqAAPNKJhjI/4pAAAAAElFTkSuQmCC</resource>
 <resource name="subitem_stem@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAABoAAAAQAQMAAAAyH/3rAAAABlBMVEX///+zs7MPWox6AAAAAXRSTlMAQObYZgAAABRJREFUeAFjQIADRBL///+HENgAAM3GC/tEX1bOAAAAAElFTkSuQmCC</resource>
 <resource name="subitem_stem_rtl.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAA0AAAAICAIAAACtROKYAAAABnRSTlMAAAAAAABupgeRAAAAF0lEQVR4AWOgJti8efNAqttMBGCgMgAAqKchkXEhLNIAAAAASUVORK5CYII=</resource>
 <resource name="subitem_stem_rtl@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAABoAAAAQCAIAAACHs/j/AAAABnRSTlMAAAAAAABupgeRAAAAHUlEQVR4AWMYGWAzGIwaRwoYNW4zxYA2xpENRgEAG2OGQaGhN9MAAAAASUVORK5CYII=</resource>
 <resource name="wizard_step_extra.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAABcAAAA3CAAAAADC7Y5KAAAA9UlEQVR4AWL4/s9MFAsAtCEHGg1AURyHe4kjYlskLUQ9QxkGo4CxFCCgN4ggFDIpQJHqESKABEZhKIwKSgBM/3PuudEL/D7AN6N4aOKrHPFLHf4YNfCVJ/zyLn88N/CVp/yKnvGPW/jKIb9ii9/fFvGVF/wqfX6ftPFVrvj1N+D39za+yjW/6i6/f67gq9zxq+7x+9cavsr9Kr7KLb5/D/DrjtGXG6P3j2X8um305dLofbKEn32jz3Oj99cF/Nw0+jwz+hjP8/eMPodGHy8t/N+u0eex0ceoiT/tGH0eGn08zeFPN4w+D4w+Hmfp/Wfd6Os+tP0DH8iLFtoRqlIAAAAASUVORK5CYII=</resource>
 <resource name="wizard_step_extra@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAC4AAABuCAAAAAB9in6HAAABuUlEQVR4AWL4vkFWlHjAAKhUHtIjC8AwjK7iL7Nt27Zt27Zt27Zt27bdcXKfW980a3jP+MiZjbqyGqOux/lQdzejrsy+qOtzedR1zou6Mx11JTdBXU9yoq4NrKf1QF1fSqOuEz7UnSmo608D1HU3H+paz3paL9T1sRzqOhlAXVNY/1MXdd3Ng7pWsp7RGXW9KYm6DoZR11jWf9VDXbfyoa6VXtSdrqjrXQnUdTiKusaw/r8G6rqZB3Ut8aOeaIe63pRAXXsjqGuEF/V/tVDX9TjqWuJH3W2Put4VRF27A6hrkBf1vxVQ18Uw6prlRT2rP+qf6pDudvaQvsZnoN+LG+jJ9Yz0iT7Sj4UM9E9ljPQuHtJXBwz0e3kM9NR6RvokL+mnYwb6lzJGei8jfVOA9EcFDPTkJkb6VCP9ZJz0jxUM9EQvI329j/RHBQz05EZG+gwj/UyM9C8VDHRnkJG+3UP6kyIG+v+WRvocI/1shPQvlQz0zAFG+nYj/UUB0pNaGujufCP9cpD071UN9IyhRvpuI/15YdJTWhroznwj/XKE9L+VDHRnqIGe2GegZ37MT/r/9kb6XLAtGxyXi+DhOr6CAAAAAElFTkSuQmCC</resource>
 <resource name="wizard_step_extra_rtl.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAABcAAAA3CAAAAADC7Y5KAAAA8klEQVR4AWIQxQLM/n3HJi636yegDXlGCAeOAzh6iu+f2cYVsjnlGts6QbbdlnGE9rBk224OP6ULfN748Fusok9Sit5z1eB3OkWfphW954bB73WKPtsoeu9d/n6n6PONog880vgjTtEXWkUfcqbxx62iL/lU9CGXGn/KKvqKD0Ufea3x56yir/xQ9LEPmj5m3ir6WavwSx41vpR/8MuM5Q+90vhS+sEvY5Y/+EzjS6Hjl2HH73+o8SXP8cug4/fZNfiSzS/S7/i9Nw2+pL3zS4fj91o1+JL0yi/1jv/fssGXhFd+qXH8vxcNvsQ/a3yp+lA/kxaLFuU5wYQAAAAASUVORK5CYII=</resource>
 <resource name="wizard_step_extra_rtl@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAC4AAABuCAAAAAB9in6HAAABtUlEQVR4AWIQJB4AKpVnAEcUAIqiffni/L+2bdu2bZvN2rZt27Zt25iZ5PXbl/fUJ7LOpA9JIb3cX4Oe4YJJn5lGerPfBj3vY4Me2G7SB6SQXv6LQf/vokmfZtIb/iA91xODHtxo0vumkF76nUHPcNKkTzXpjX+QnuehQQ9tMul9TXrJd6SnP2nSx5v0ur9Iz3HboEdWmvRuJr3Ua9IzHDXogfEmvV4K6TnuGvTYapPe1aQX/UR6+iMGPTjWpNdIkp7jtkGPLjHogY4mvdgH0uOHDHpwrEmvmUZ6prsGPbTIoAdam/R870mP7DbogcEmvcVf1Es8Ql1101APTkJd8VOoq9QX1IO9UFd4HerK/Qh11WM9NBF1pT+Fukp9Rz3QG3XFtqCu3E9QV2PWQzNQV8bzqKv8F9TVj/X4JtSV7yHqapxEPTgVdWU8j7rKfkFdA1mPbUVd+Z6grtYpqGse61kvoq7Kn1DXUNaj21BXgSeoq+Vv1DWP9YzXUFflz6hrRBrq4b2oq9AL1NXuF+paxHqWq6ir8lfUNSIF9ehe1FXgPepql4K6liZRz/jwN+mq+Ql1DfM/XBtH650FiAgAAAAASUVORK5CYII=</resource>
 <resource name="wizard_step_large.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAO4AAABuCAAAAAAFNXAmAAAB3ElEQVR4AeXPA6gYbBTH4S/bvZ+nzNm2mbW8OCPOtpfd4uK8pdnKnG3vf8573nNb5s2+vye754/SRT0ydaLLduf/QHX/3hOk7v/d7jmoW8qMn6hu2R6o7v+3nNQtU36iumVzoLr/XnVSt0z4juqWjYHq/nvRSd0y+pORumVNoLr/nHdStwx/b6RuWdlQ3XLGUd0h743ULcsaqltOVFR30CsjdcuihuqWYxXV7fvcSN2y4JmRumVxI3UHnnFS92QVqLukCdQd/M5A3T9PV4G6q5pA3eEfDNT9+7wL1F0bAnXHfBGo+9clJ3XXh0DdCd8E6v571UndjSFQd8p3gbrdbzmpuyME6s74IVC31z0ndQ+GQN25JlC31wMndY+EQN15IVC3zwMndY9WddZVF9UM1fVEdRWB6iod1fVEdRWB6iod1fVEdRWB6iod1fVEdRWB6iod1bUOI3UVgeoqHdW1NFJXtaG6Skd1LY3UVW2orlpFdS2N1FVtqK5aRXUtjdRVDSN1VRupa81J3VYF6tYmUNfSSN1WBerWJlDX0kjddIG6EQJ1rUOkbjqpGyFQ11OkbjqpGyFQ11OkbjqpGyFQ11OkbjqpGyFQ11OkbjqpGyFQ11OgrqWTuq2qE78BO2r6dHy5s0AAAAAASUVORK5CYII=</resource>
 <resource name="wizard_step_large@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAdwAAADcCAAAAAD/v0+dAAAD4UlEQVR4AezXI5wtChgA8dfz6uDZtm372rZt27Zt27Zt2zr71dvj1vnNv7dJ80Q2H0ipu1EA/Lgoia7G5UquNS7X15eMi5Vb17hcqcnG5Xr7oHG5CmWMi5XoaVyuZ9cYl+ur68blamBcrqdmGJfrraPcuCrxCBtXiT7cuHppAzeufrzEjauG3Lh6aho3rt49xI2r4g+4cdWHG1cvbebG1Y9XuHHVnBtX6bncuProODeuyt/lxtVgbly9sokbV79c4sZV8ww2rhKzuXH1wQluXJW9zY2rIdy4en4HN65+vcKNqzYPsXGVs4gbVx+d4MZV5TvcuBqRwcbVC9u4cfX7TXJcfwgbV7kLuXH1wXluXFV9wI2rcRlsXL14gBtX/97lxlW3DDaukhOxcfXOFmpc5c7Np8ZVk0cBjasfbgY0rp7dFNS46v+IGlel7gU0rt45EtS4mpNPjaumDwIaVz9cCWhcPb0pqHHVL0ONq6K3AhpXbx0JalxNC2pc1XtAjatvLgQ0rp5dE9S46h3UuCp+kxpX7x4IaFzlTAtqXDV8BI7rBUHj6tl1QY2rHkGNqyK3qHH11oGAxlViXFDjqmY+Na6+OhPQuHp+eVDjqktQ46rwHWpcvbUvoHGVmhDUuKoZ1Lj67AI1rp5bHtC4yu0Y1Lj6+z41rl7fHdC4So8OalxVDWpcfX6WGlfPLA9oXCU6BjWu/r5DjasX9wU0rhKjAxpXOZUCGlepdy9S4+r5hUGNq4FRoLihx+3b0U0GMQwGwf47tnMJ4okiWM3XwghHq/v5RzsPbnffB7e7t3CzmzdZXDu3i2v39HEd5iCu7YOrh+CWeghuYPMzcPs9BLffQ3D7PQS330Nwqz0EN7C5G8Z1mCeMq4fKuHqojKuHyrh6KIyrh8q4eqiMq4fCuA5zGVcPlXH1UBbXzi3jOsxlXD2UxbW9E8bVQ31cz24fVw/1cfUQ3PBhhps5zAu3/32oj6uH4Kb2to+rh/q4eqiMq4fCuHoohquH+rh6qI6rh8K4eiiMq4fCuHoIbvgwh3H1UBhXD8ENP7tww79Sh9v9wy3jKl244Y8HcHN7W8fVQXDDDy7c9EehKK4Kgts+yjVcFTR9XBUUxlVBcNO/a83iqiC4uQqC260guNHtHbjhCoLbrSC43QqC260guOEKgtutILjdCoIbriC43QqC260guN0KghuuILjdCoLbPcpww/+IC7dbQXC7FQS3++DCDVcQ3G4Fwe0eZbjhb0FwuxUEt1tBcLsPLtxwBcHtVhDc7lGGG64guN0KgtutILjdBxduuILgdisIrqMMt/WLOLj9CvrbLy39Fuc9WYW4AAAAAElFTkSuQmCC</resource>
 <resource name="wizard_step_large_rtl.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAO4AAABuCAAAAAAFNXAmAAAB4ElEQVR4AeTPA6gYbBTH4S/bvZ+nzNm2mbW8OCPOtpfd4uK8pdnKnG3vf8573nNb5s2+vye75w91wh6VLqrT7o/5pG7s+RvU9Xvd/gd1f84ohdON7QXU9Vv/k7o/pxRQNzYXUNev/kvqfp9QQN3YWEBdv/gvqGufRhdQN9YUUNfP/wPq2vvhBdRtKwuo62cKqGvvh5C6bVkBdeuJAuraq0GkbltUQN16rIC69rwvqGvPFhRQty0upK6fGUjqqp5EddWWoLr2bjCpq3r6T1JXbRWqax+Gk7ry83+Tuoq1qK6+jEF1/dJfpK5iPaqrbxNQXb/6L6mr2Ijq6vsUVNdvdSd1FTtQXf2Yger6vV6kruIgqiubi+r6g16kruIIqquYh+r6gz6krupRVNeauqhOu+mkboRAXU+RuumkboRAXU+RuumkboRAXU+RuumkboRAXU+ButZhpG6EQF1PgbqWRuq2KlDXU6CupZG6rQrUrU2grqWRuq0K1K1NoK6lgboWVaBuqyJ1vRmpq9pQXbWK6loaqavaUF21iupaGqkrT1RXEaiuOgzV9UR1FYHqKh3V9UR1FYHqKh3V9UR1FYHqKh3V9UR1FYHqKh3V9UR1FYHqKh3V9bSu2v09NO8O98ltAFS3+nQsH2a+AAAAAElFTkSuQmCC</resource>
 <resource name="wizard_step_large_rtl@2x.png" app="core" location="front" path="/">iVBORw0KGgoAAAANSUhEUgAAAdwAAADcCAAAAAD/v0+dAAAEP0lEQVR4AWL4SgJ47SU4hMAoIClyS4QB7N0Dzh4KGAXhNVzf2rZt27Zt27btNqht27ZtfvnfGN3HZLYwT3SiQ80g7u6/7UXFfZbXXFjcln+ai4q78B9rUXEvZTAWFTdR3lZY3KGuICzuzmTUAOK+zYMNIG4bQ2Fxl/9nKCrudVcQFvdXVTNhcUe4grC4+1JZiYr7rJCRsLhtbYTFXeIKwuJezmQiKu6PKhbC4o4wEBb3oCsIi/vSFcTF7WweLO6af8xDxb2ZzTpU3C+1jYPFnWAbLO6B1Lah4j4rahoqbsIVxMVd9ZdlqLi3shiGivuppl2wuBPNgsU9ntwsVNyXxaxCxf3ZwyhY3E02weLeymYTKu7n+iah4iamWgSLezSFRai474sbhIrrCgLjbvzTHlTcx1nMQcX90dAaVNzEHGNgcS+mNAYV90tZW1BxE4NMgcWd/7cpsLiHM5oCi5u05k9bUHHjVwdbYHHjfUFjYHHjQDJrYHF/jbEGFje+VjcHFjeuuYe4uEmr7YHFjR8dDYLFjZfuIS5uHPjfJFjcxCiTYHHjQyWbYHHjWgajYHFjiVG4uD9aWQWLG0/ymQWL61kuGTeG24WL+76KYbC4cTGTZbC47iEy7q+2psHiuofIuLHHPcTFjSHG4eJ+qGgdLG5czGAeLG7M+cs+WNykpvbB4sb9PAbC4saW5BbC4sYAC3FxP1cwERY3zrmHuLgx7x8jYXHDPQTGfZLTSlhc9xAZN/r+aScs7rfSdsLixum0hsLixgz3EBc3GnILiPsgF7aAuLHlf2wCcaPvX8bC4n52D3Fx41xKa2FxY8Zf5sLiRj1zcXGfZvrHYFTc2JjcYFjcGGew3+3cwY3DMAwAwf4LDgVbRJAa8h2sS9DgSKwcH4u7zwd6/Ocf3PftvFTcsx2Xijs7HZeKe1u4LO5zOywVt6EM4+7prFTcKsjFrYJc3Pm2cFncKsjFrYJcXKiCwvUrKFy/gsI9Vx3K4Q4wlMMFKyhcuILChSsoXLiCwoUrKFy4gsKFKyhceCiHC1dQuHAFhetfTYXrD+Vw/QoKd65QQeHCFRQuvHDDtSsoXL+CwvWHcriHGcrhwu+CwoUrKFz4Y81w4QoKF66gcPUKCtevoHCxCgoXrqBw4QoKF66gcOEKCheuoHDhoRwuXEHhwhUULrxww5V/gx6u+6cbLly54cIvDcK1b5bDhWsoXHjthkvfQIYL91C4/mAOd9weCrceEnHpHgq3iyoWF+6hcOEeCtfsoXD7B2M6LtxD4cI9FC7cQ+HCPRQu3EPhwj0ULtxD4cI9FC7cQ+HCPRQu3EPh4j0Urt9D4TaYfdw+22Vw4R4Kl+2hcFu7NC7cQ+GyPRRug9nH7f2QiQv3ULhsD4Xb2qVx4R4KV+2hcBvMNi7cQ+HCPRQu20PhtnZpXLiHwlV7KNwGc7j9Xg7AZXqo5wcNmFukUFGZwQAAAABJRU5ErkJggg==</resource>
 <resource name="ar.png" app="core" location="global" path="/appstores/android/">[encoded data, 21100 characters]</resource>
 <resource name="az.png" app="core" location="global" path="/appstores/android/">[encoded data, 18020 characters]</resource>
 <resource name="bg.png" app="core" location="global" path="/appstores/android/">[encoded data, 19812 characters]</resource>
 <resource name="cs.png" app="core" location="global" path="/appstores/android/">[encoded data, 17832 characters]</resource>
 <resource name="da.png" app="core" location="global" path="/appstores/android/">[encoded data, 18076 characters]</resource>
 <resource name="de.png" app="core" location="global" path="/appstores/android/">[encoded data, 17476 characters]</resource>
 <resource name="el.png" app="core" location="global" path="/appstores/android/">[encoded data, 19728 characters]</resource>
 <resource name="en.png" app="core" location="global" path="/appstores/android/">[encoded data, 18612 characters]</resource>
 <resource name="es.png" app="core" location="global" path="/appstores/android/">[encoded data, 19960 characters]</resource>
 <resource name="et.png" app="core" location="global" path="/appstores/android/">[encoded data, 19948 characters]</resource>
 <resource name="fi.png" app="core" location="global" path="/appstores/android/">[encoded data, 18612 characters]</resource>
 <resource name="fr.png" app="core" location="global" path="/appstores/android/">[encoded data, 20712 characters]</resource>
 <resource name="hu.png" app="core" location="global" path="/appstores/android/">[encoded data, 20348 characters]</resource>
 <resource name="id.png" app="core" location="global" path="/appstores/android/">[encoded data, 19472 characters]</resource>
 <resource name="it.png" app="core" location="global" path="/appstores/android/">[encoded data, 20300 characters]</resource>
 <resource name="iw.png" app="core" location="global" path="/appstores/android/">[encoded data, 17924 characters]</resource>
 <resource name="ko.png" app="core" location="global" path="/appstores/android/">[encoded data, 18956 characters]</resource>
 <resource name="lt.png" app="core" location="global" path="/appstores/android/">[encoded data, 19344 characters]</resource>
 <resource name="lv.png" app="core" location="global" path="/appstores/android/">[encoded data, 19232 characters]</resource>
 <resource name="my.png" app="core" location="global" path="/appstores/android/">[encoded data, 21968 characters]</resource>
 <resource name="nl.png" app="core" location="global" path="/appstores/android/">[encoded data, 19528 characters]</resource>
 <resource name="no.png" app="core" location="global" path="/appstores/android/">[encoded data, 19616 characters]</resource>
 <resource name="pl.png" app="core" location="global" path="/appstores/android/">[encoded data, 18916 characters]</resource>
 <resource name="pt.png" app="core" location="global" path="/appstores/android/">[encoded data, 20440 characters]</resource>
 <resource name="ro.png" app="core" location="global" path="/appstores/android/">[encoded data, 19088 characters]</resource>
 <resource name="ru.png" app="core" location="global" path="/appstores/android/">[encoded data, 19716 characters]</resource>
 <resource name="si.png" app="core" location="global" path="/appstores/android/">[encoded data, 25324 characters]</resource>
 <resource name="sk.png" app="core" location="global" path="/appstores/android/">[encoded data, 18472 characters]</resource>
 <resource name="sv.png" app="core" location="global" path="/appstores/android/">[encoded data, 19088 characters]</resource>
 <resource name="th.png" app="core" location="global" path="/appstores/android/">[encoded data, 22612 characters]</resource>
 <resource name="tr.png" app="core" location="global" path="/appstores/android/">[encoded data, 17236 characters]</resource>
 <resource name="vi.png" app="core" location="global" path="/appstores/android/">[encoded data, 21164 characters]</resource>
 <resource name="zh.png" app="core" location="global" path="/appstores/android/">[encoded data, 21400 characters]</resource>
 <resource name="ar.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 13384 characters]</resource>
 <resource name="az.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14380 characters]</resource>
 <resource name="bg.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 11188 characters]</resource>
 <resource name="cs.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 13428 characters]</resource>
 <resource name="da.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 10404 characters]</resource>
 <resource name="de.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 12556 characters]</resource>
 <resource name="el.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 15704 characters]</resource>
 <resource name="en.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 16472 characters]</resource>
 <resource name="es.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 16908 characters]</resource>
 <resource name="et.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 15252 characters]</resource>
 <resource name="fi.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 12708 characters]</resource>
 <resource name="fr.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 18596 characters]</resource>
 <resource name="hu.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 17428 characters]</resource>
 <resource name="id.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14628 characters]</resource>
 <resource name="it.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14452 characters]</resource>
 <resource name="iw.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 10136 characters]</resource>
 <resource name="ko.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 11180 characters]</resource>
 <resource name="lt.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 17104 characters]</resource>
 <resource name="lv.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 17040 characters]</resource>
 <resource name="my.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 16508 characters]</resource>
 <resource name="nl.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 15916 characters]</resource>
 <resource name="no.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14428 characters]</resource>
 <resource name="pl.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 13068 characters]</resource>
 <resource name="pt.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 13764 characters]</resource>
 <resource name="ro.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 19300 characters]</resource>
 <resource name="ru.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 18312 characters]</resource>
 <resource name="si.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 13004 characters]</resource>
 <resource name="sk.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14640 characters]</resource>
 <resource name="sv.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 12476 characters]</resource>
 <resource name="th.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 18312 characters]</resource>
 <resource name="tr.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14536 characters]</resource>
 <resource name="vi.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 14776 characters]</resource>
 <resource name="zh.svg" app="core" location="global" path="/appstores/ios/">[encoded data, 10216 characters]</resource>
 <resource name="default_club.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAAAAAAZai4+AAAIIElEQVR4Aezag5fkXBrH8fmnfrmVpCpl2xU9a9u2fbC2bdu2NbZt9Nw9ne7O9NQkufeOdvd98xkczTznG3Zyq7bgf1KalWalWWlWmpVmpVlpVpqVZqVZaVaadb+lWWlWmpVmpVlplpaxyvV2p1EpGhrEZIa1m1XhMEFWtjFeOK7nea4z7eRxZ8zG2Ha9YNisU7j9rGzX9ekGb1zQ7iCq69w8rKjdVharu7TE7xq4Paxm3zKsZ9xGltGnCFMLt0PvUYRZXjnLGFMku3A7VSOK5BQVszJjimFbUJUZxg7LK2VpPYo1M6BG61KshamSVaEEfagp+0nDNPksfUEJvBJUGFNK4Jfks5qUaMSgoE6JJkw2K7OgRG4R8vQJJSvKZpV8StaBvIJoWE82q0MCYx3SGiSwYJJZExJQuHexAQn4WbkstiABr6Byagn4Bbks3SGRMmQZcxKpyGVlHelJYqZ4WP0eZpVH9PinP/lhizpbyrLvVlYmmKRwa2488wM//eeu/UdPHD+wZ+vvPvuKGW4wZsJhZbksTTjJzeOGp3xpz5kVvsmFIz99Tditj4VZebksjEhgkcU69qSfn+e3urztjethrEcCriGZ1SSBIcOa8deu8GjX//YUA6tqJDCFZJblUbImAuaLDvN41z5SC4a5lKwlm6VNKZFjYVXxoys80S8XErd5PyebhTIl6mnBP/oyF/nHw8KnQPFzoDiLjSmBE2xf6ZtcbNdDADakBG4OgizJs8sPzqzcl7mM7TZgOeLTVJwlun4GDADez+X8uQ7UPIozzChlae3kZ63nXuCSvgRoLZ+iTQwoZAVdfkLVdCuXdfGVAGK6Jqb6GkQ94pTwesFOZ5/h8rYOAdQihvl9HepZKEyWt3FeQ+BJZ7mCDzIA1ih6mHoWWHXsUsibtgwEst/gKvbYAKBVRw6F/GnbhFKWYWWwIVNsDiZz215Mh+2ygXWPOMuVvEvDKlZobAzrVAyErKwmzDI6U3tWYwhpRtaycgZDSH8PV/PnVjhMXx6GwmAxHxYFWdY82MWTCuLV/8nVXH4q4lj94Mi69cSscL3Am1QYYjz0Glf0boZI+YETrmskZGlNCvmL1i3HXAv+eh1X9ZMKoGGJXpt4sW/EWxJeU7xxw8owba2I6fnWKAvA/BxXtWcI1h2UDaatbZjGzHLfTnpr2SL4SbgYdOrVaq3ZGztEdlYD8r/hqi4RtD6RNx92GrVavdWferRslInL0saUbKIDKO3kyp4ItCmZl43LMjyZJZHqEa7suRIvCLW4rDIJBDu6d5Yre6XEyk1Pi87S2lILSPYVruwNEntrymKyRlJZg3Nc2augtcTvi9FZmTkJzE0AtaNc2fOgdUkkH52Vc0nAyd72lchGJFKJzip4UssF+d+q37d8iUNBjeissk8iVQ0wP89V7R3B9EikHZ1VF2d1GMDexFX9rIoSCQ2is1rirJnBgIev3MYTRJuERtFZHRLyLQY0t3I1V54GNiehSXRWl8RaDDA+wNX8tYs8ic2is/oktsgAeMx5ruR9TGqT59FZA5JQBmB9l6s4QDAcErPvIGuiAXj6Ba7g4wwtuv2sMcnuLv0rXN6OKQz7nmfNMgAeslv+Mnyj6BoXZI0oJHwues01LunbGZR8tSz1+5Yzn64tSX2Wy/l3F2jNZrZE2TQ6q0rJ3EmnWjD1tdeX0ve4jH0PA8AqhlVpDm1K1ovIEn5qtOgU9M2vi42fcbEjj8OqYP8yqzGhJCX1h2a3lV3PCbV+wEV2PxE3MSpTijXPRGdBn1OMYQ63qn2JJ/v7w7FMb/nij7eWspC3KYrXzCBk1iYPWZ+Qf8MZnuDLAwSYbbcKWKcV5xSpjtgs5CYRG+OUw+wnvO+XWw+fOLX7TRZWMfp5/Mn+YguBx//6xImju/70mRe2EDCjzjCnioQssPrCo5vZRQRY9207L6/wwLXfPpxhlfWiv1+OaFo58v42AvVPXOSB61dOfPmRRuSXnXynZ4hWAzOVwcx2vZBdQqD4liN8k3PvriGQe+GPjl3im1099Zd3dxHIPePffJNrX5sHXRMv5DqLcTMrtXbKcsVKdUMegd73rvOb/f7xDGtmr/3y3/YcOXXuwvnTx/Zt/f47HqtjzfBzy//p2CuM1a5weqWUN+7gC57zf67wZefeP8QGc/SoZ77oFS99zhPmZWzIv3hr1MOXCTHJLHfPCo/wt1c1Ecd8yrd4pA8Z/2nGHnQsCcIojr9UI3vXtm2Ga9u2GWdt27btse3mmTijq6/qJPN7gn+jqCtreBqieLd3tNmU3qvulSGKvZqyer1HdGm3Nww36+sx5/QPB1FVztGSFTmJmGqyXhxdPbFPW9u2W/YYPufAnf8liOnnQB1ZcxzEE1aV5KV9//rtX25RuYe4zmjI6vYcupVOV89aDP1utFLN6vIO+pVPVc2aB4YLLdWyWt4BQ+EwtawhlaDYZKtkWdvB8aaDSlbLt+Bwhqlk9S0DyVpLIWtFCJLrLRWyLoAlrZM8y/oMFn+0PKtHEWiWy7NmOqA5Js/a4YHmhTzrdAiatLbirCfgKe8nzWr7DzzuFGlWrxzw+EulWcPzwRNsk2ZNLwVPeFyataQSRJekWaurQHRbmrW5BkQPpVm7XBC9kWbtpWZ9tYVZB30QfZdmHQXTN2nWETTLt7XfB9EXadYWB0RPxLN8BYiuSLMmFIMnOCTNapvKzJomzTKvhaDJ7ijOmuuA5qwpzop8B4s/SZ5lLg9AcrWlQlaLB+AoHKJ0GzggBQxVS8yYagEVbrZTeewqYQAAAABJRU5ErkJggg==</resource>
 <resource name="default_photo.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAABX1BMVEU1NTXExMPR0dDp6enu7u7T09OmpqbW1tbz8/P39/f29vbm5ubV1dShoaG3t7b////y8vKqqqmfn57Z2dn6+vq7u7vCwsLs7Oz+/v75+fnU1NOjo6OlpaTDw8OwsLDt7e309PTAwMCXl5bk5OP19fXCwsHHx8f4+Pfn5+fFxcTY2Njo6OiysrG0tLTV1dX09PO5ubmsrKz7+/vT09Lw8PCwsK/9/f3S0tLa2tqoqKff39+urq2qqqrPz8/8/PyZmZnh4eHq6umdnZzc3Nzv7+6np6bp6ejb29umpqWoqKjv7++np6fMzMy/v7/KysrAwL+8vLzY2NfX19fr6+uzs7Pl5eSIiIiAgH/d3d2rq6uUlJPq6uqVlZSQkJC4uLfIyMi1tbWRkZGysrKkpKPu7u2Tk5Px8fG4uLiHh4e2trX4+PjGxsbg4ODx8fCGhoa+vr1vb29tbWySkpKvr6/i4uLm6hQQAAADZklEQVR4Ae3a5VojSxSF4YU3GVk4FSRAbNxwl/HB3d3tOPd/3CdPUjtJ7e4f/V7B194lCIVCoVAoFAqFQqFQqKhKSsvK/1JRikCorCrzqr2/Rbx79x/Adw/L+JWa0lr4qq6+gZl4jfBRU7NhZtGyllb4o60iwixq2uGHWAez6+yCvniCuSRTUJd+xJySTVBWEqEF7evYHqGVzkb9c2XjMfTEIrTV8ARqntLeM2h5nqS95AsoeWlo79Vr6HjjUaC7BzraKdLbBxUpivQPQEUXZQahYpAi5ik0DFVTZhgaRrop48WgYLSBMt1playoNGsMCtrHKWMeT8C9SQqZqbdwr4xC4++g4DHFFzGQWewdCmTW+w9w76M8qxLufaJUuUbWwwZx1me49yUazCz52WqDe7XdFJrWOFt1NRTqnYGCWcqYSWiYo0z3PDQsUKYzBg2LFDHvoGLiGUWWoCM9HsisunJKLENHfIX2wqzmMEugigKmFEpWx2mvdxRK3k7T3hrUzEuy1qGlRPJJ3AjiMkbnQ+jZpK2aLegZM7TUMQE9lTWCX1M92zu0sxOHptS44NdUz24ZbfRXQFdXNy1Mv4GuvQRzG38KbSXdzKlzH9q2ywRLr4oOLLIOoe55NJBZeGcCmfUiGciso3vMofMY+k5OmZ1ZOYO+CsPs+pehr+2cOZidM6irEPxt6dlKMohfnwFDC94FVJ300orXtA1FLbTVnTh8CyWHnbRnkk8rXl/CvT6PQuZ88ANcSzAPDZuNb+HSbAPzUzPvLuxqmvm7Lt2GE4ceCzJd8dpB2WonCzadWkdxzXeyGFa+oIhumlkk5TMamw3kyhtRHG+GWVS3eyiCgygZuK43O/0susmjQqvOKaC1y3LrGzrRP4IC3PTSkU3krekZnbmuRJ5a+unQFfKyVW/o0gHy8Hazmm5Nfwux7zroXBuEYvX9dO8lZGr6+6nguhUC881UUvo9rC1TjfcWlubXqGj5B1hJUVXDW9h4209dVbDRSWXVDxzslNR5GCPU13mEHDz6wMSQ3QP6ogbZTdMfPyIr+mQF2dTQL+sFb1dWH5qN0zcmy5uUPtqT31m+3vQx+moGmTXQV1FkRp/tIpOf6LNqZNJBAb1XqqHfbpABfbeJr+0yo5rbu0mn7u5uO/mHCP7xCxrJNehJPlSFAAAAAElFTkSuQmCC</resource>
 <resource name="default_rank.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAF50lEQVR42u1dy04UQRSdT+iGH9AvgC9Af8DoB5hIZGYwsoAlssMVxIWzMePKnmEBLjQYDImJRDawcQFGgzHRZAIbF2owIS5ctXWKLml6+j3V9eqqpBwcZgY499Y59966Xd1oKDqcBc9xmt71sVZ/nsyO217bJI+HZA7Gmv1T8uhfmufPDdxWfzd4bQfvxWfgsxp2ZAM+ftebHpvteRTkKMCjT2K8NW+83b/j3POuWMQD0OGl8NoKAE+d+Jm1NQZoQQboicYglDU+492qhbdXRC+85gCrwjzwAXyccFpDVE81inu8mYaAsLlNGgr6Zsw1TxuxdojHaEY3ZqwGKrLttccGAn95kr/RmVYsscPy1JzrC68GZSjJaXmThlJOthHI3y6f7+sH/KXpyNIF5zyp8u2ELngLFvy6GMHSjkQ6ooJrgU43QlXCXMNQs+w85R6iBpVMC36REJVnslaLDLeCjJkL+OMtsk1oAZUjypb3JesBKTH0LIijb3da6pFNRWRjqrj3W+rhGhVZ79epVGG9vyJBzpMbWO+vcDZzrIK6ef/V+Q1/YvGFf+PRG/q1VC1Ad5jpYM95e35358j/dPLL//3nrx8eMILUiMisVpIL0Jeev/f3vnz3s8bE4kshPalpWa8xwE8SMNf3vw55edoQQEHnqyBOjE0RX4D4dOezX3TAUFLF2G31dnUHHxx+/OPMLzNAUSJb442jH/D8KKNLVo3Q8kSYhnSnn9WtD/6o4/aTd0J/Z2BuRNWTB/giBfhi9rywAQ5Noh0I6vbBMY2C8miCSP4fSsrARTqCD8qIG8c/z2gIGn5tNyMqQnImpUwNHQguotAuxk+K75Oy2bR8YFJAApaYFZN/FnQDP41Wkt63vv8t9vV4XmpxbmzG6+iUZGVxepKYbh8eK+X9wexoVf+BsGbG82+PYleNCrH/cELmvdImAy4SbuK1zLOTsmOItfjQcygjPlSm/h9Xv1khQPLIcuPGteXXauwVEyucqujd2wcn9HsAivdghlVhm7KhYjzP6CEr4tEcfDobqsXzLJHKE/HoDr5UAyR5NyuKlanpp437krJdZQ3QTRFdXgU2VhcSsddb2gCyRBgrAICzvVqWkQIsXgN0pki0kyrCA1WyXJ6iG1eUU7JlUaVSdJcT7yOElZ1k5d6aVKkU8YBDwqVipJNailCpGAevLdJGEh0woGal9Y4S5WjWw4Ov557tmSi2yeVoFTZkWDa8FHjwSoEw9CNpMWRiu6oR/VxsyCiwJQnqie5o5TECQle8F5OFs1oZgLWmyAxFWfjJKp7QgKmHW5lGYGIbDV31EWBSir7oivB6MoAHZQBwdCrj/9CBqBGwYR4GOJzZ4jEq2vqsgFBbCj0yWOAPh2AyUMHh4VJBOBdgmgAvhyFgoDDfF9kTVvoaYpE6wCgDnpvUDhKmHuzlRr+/kbDBrlMOMHT9sKitSYCe1Ao4tbz1v4TAvD6a0SblCjrlALHXCIjKBxCtJLWCM1rKquGEL7ZQvdqZ+wgDUTQEkONaAdnKyNOnwyhKk4JbNv2IpCF4bNgA7LotGCYvoKyUrUPBLbb+k3HWc6W/AKMNGOEkFF5qW04o6v2z/ZupV0q6FSdlYe6GAdBshXBTR28uIb7ZRxbo1itq3PlBEGMVeoVq6f12FSh0epZrD+yQ4/0iIyLr/VmroN3btAByrHqWuhWJFeSRqGfkQ1wde36QeOoZOkNIo8uYlOp44HZ08XluYKOiItTD+waiVg8E8r49vn4E3q/6vjJWlFPBnxZ1i0JbqihzIqI1giHgWzqSQDtpwlzHENVt9k+l38gtEqIObKgp0wjoqqhHxtzhnmTx1gUTVwOlnLYm952npzAadPcNt9nb1OaGziatBsr1Ze5+YQ0xOt1Ii+3rbAjq8a3+vNIiy8UQM94t8KpCHL9rBNWUEWu6KpriT+2ioNfB24saA9ETAaeKq/cH2CDH1UAW9DwGISCBFoKbR3dAWcFKGbgx97APnhvAeAG9daiH4zMUBvwf6ZMOHA7JN8EAAAAASUVORK5CYII=</resource>
 <resource name="flags16.png" app="core" location="global" path="/">[encoded data, 24352 characters]</resource>
 <resource name="flags32.png" app="core" location="global" path="/">[encoded data, 64420 characters]</resource>
 <resource name="authy.png" app="core" location="global" path="/login/">[encoded data, 6436 characters]</resource>
 <resource name="g.png" app="core" location="global" path="/login/">iVBORw0KGgoAAAANSUhEUgAAAEcAAABICAMAAACTOBj4AAAAwFBMVEX////+/fz86ef5zMjxhHvtZFjrU0XqQzX1qqT++/v98vD+/v7++Pj+/PT956j1khX+/vz6wBb7vAX4qA3tWS3vaSX7yDXyfh3++er61mn+89SXvPlChfT2+f7X5fzH2/u2z/qkxPni7P3ZuBJKsGHh8uZjmvX7/P6vtCI0qFOS0KRPjvRYk/V2rjj4/Pl/rffs8/1ivHq64cXK6NL8/f7w+PGs27n5+/5Cmqh7xo84nYNAh+k2o2s+jsr7/fxAid0VfZVUAAACkUlEQVR4AczUBW7FQBADUC8MhKHM7f0PWaasQjvFJ32xLI9/EqxwPsRIxCLMFFVDgXylRpYEk/oKGeoQZQFpvTtFWVaweuyRpswlbS8VSHagsHWS7LRayZPsRmW1eBNLBvZLMZKHZk8rsmP897Txzh6z2cbzt7QByTyOqkFVI+1pgzhbh9QDReGAx5/XuNWm8DIjBiRCXG9T0d43KNDKNtCZMjXmVGVcbIOSJaVYUBW61KZpO0kEGPTDeHA4jakrQ047PjpKPi0Gx+OTk4+JSweD0/FF93abh0k7vngbSWtTnebsJeXtNq5h4sZPOpEIm/PxxdttHtZ5Jo4x42ITcDaJGc4w43LTVZIznvemnGscT3MaW5+bJGfobTm3GJKZbTl3GP9VzkV6V2XMSXe23rXxv5tzWuv/fjYd6KGzukqPHYahAKw+6zIzKpk5HnQcLO5/VeW6jiH0P/s7Zmnhv/jt/dO3n5bl/PPqxn/JKPQnlPdzVnTi7msNKJpitenFbKlXOHYAZM807tePnsNdN7V7uouZtiD+7l2X03f+41FGo44b75jZ9sE1nmimMd5ytmwr9A7W+M7+Bb/rDr+9vW64Chr0Mw+q6r2va3gMUxofvJic6U5ZCXw1Ja0O4ed6VCOg9qmryv2YTUOPWCMghiLeFG2kZlgGEV2QxEYDp2fepf+kZwoxus7I2mdKcOf8wisZjkuNOOlUXRe1Uu4Ad2+HkhxcCSZz97Y5Up/BHOdXdle+ArNceHe1OKg9e/xYPjbAvEOyMR4jmEM1THGZxmRiSko6UZhIZ1zSAKMxhbqkEZe1YIw2NMF+JEkXNE25LzokSJdd0nRc1Z1EQsyemea5LLNCdVoLICJaKVMRUSLlBtXCE++mrT4+AAAAAElFTkSuQmCC</resource>
 <resource name="twitter.png" app="core" location="global" path="/login/">iVBORw0KGgoAAAANSUhEUgAAAJ4AAAAcCAMAAACnI/aaAAACr1BMVEXMzMzMzMzMzMzMzMzMzMz////MzMzMzMzMzMzMzMze3t7j4+Pk5OTl5eX09PTz8/Pr6+vn5+fp6ekat+rx8fHu7u7w8PB6enp5eXnJycmrq6t4eHjHx8fv7++qqqqpqanKyspJSUmurq7q6uq1tbVHR0e2trZ7e3vS0tJISEhaWlpbW1vm5ubLy8vy8vLT09NsbGzt7e0atuiXl5fU1NSenp6wsLCxsbFZWVnR0dGJiYnV1dXX19czMzP29vakpKSUlJRoaGjd3d1cXFzGxsaioqLExMSWlpYatObFxcWSkpKjo6O4uLgatedqamoZr+C3t7cZs+Xb29u6urrIyMjf39/W1tZpaWmtra3h4eGKioqFhYXPz8+5ubm9vb3AwMCgoKDg4OBRxOrQ0NCvr68VlsChoaG82OEZrd1SwuYXpNEYrNsZrt4Xos+RkZE0sdltbW0wmr1dt9W0tLSK0umezNsnt+Vev9+Tk5N8fHzOzs7T4+h6yuPY6e6VlZWHy+IWm8ZMp8R3w9wZrt/M5u7d7vRSxOjCwsLm7vDd7/SJ1Ow2veiW1ut1dXXY6O2m3O50dHSDg4OZmZmlpaVotc5Qt9nP3+SEyuAntOLc7PG7u7uHh4enp6fa2tqYmJhjq8NJob4umLsVlb8Xo9AZsOEouOey4fB2dnag0uJdvNsYqtkZseKk3O/p8vVzc3NRvuHc3NyEhISzs7N7zunMzMz7+/v19fXo6OjNzc34+Pj39/catuni4uI/o8Ps7Oz+/v7N4umsrKy/2+QZs+SUytwlp9HY2NgilLhMpcEXoc7a6e0jmcAXoM2v1OD8/PwYqNcYp9ZqudMjm8Kx1uIYq9oUjbUXn8v6+vr9/f35+fkWl8KSxdaFw9cXpdOw094UjbTDw8MxmLkYptQZsuS+2+ToEFCsAAAACnRSTlOtJ+/xAAAo8yXyOCt5TAAABI9JREFUeF7My0cOwjAQheEXDCL3P8vYTm/03nsvB0HgSGy8z3ybXxq9Qd2FIJYE3AacmpYpS1LXHECnbGlA7PZsySZoyhiBJGMEOjBGIL90LZs9Nrd+5heFXz0CBca7N/l1OBrM5uNlHK+C6hFIGe3t8fTt+dIKw9f62VmY+z3Pu0olXqQsIi9RNmZv+t8a9nc7An3YIK/ftq0ojPc5SEiKvhwSJVmSNSzJluUlWU4+jzrxjjOLpEmaBG1G99577733Ho+dMOkoIEAYfe1TXvhWNP9IzyElQQj0A3R1zvedc/nhSiGfXbny7HMXJen+A33E2PaDPqvKBghTcuBJPfDgSD3h+YPmnu49DyHXrJ81qTDPSj2heHLI2+9s33nX+fs+/Ogqx2vethWoc6j/Y9+LvDuyU+7BzhFX7gnPZ+DIDjJt6VS9voCv6/Vr1g1QAUPuCcUTIQ/9/fDY9q3/3X7HMsdbfiRUDRwXlUbN2W3mhZhELmtNikkrm8OqYPLm7gkraWEqxV3KSoodNCCskzSfLWEj6+ACuRPsSjMzBZyamUlaZ8QZKytokdYn07AmLKQtYa8Cq7bIWtkpS7SgeHrIq/ccavY19x9abnK8q8+EagaYujvvysPw9H48VivB0A1s1Kp4gG0Pw8PAvlmUuBugvyygR/E0zTsFLDl/Be6UHmKAvvYv5vQ5mHoM67R+UxmZGzIoZ/STmJ2FRVeiuk9vQfG0kMRLL4/1dTjwVKhKtQUAucEUPK24cEnaBUMzsEtaQYxtD6kUxjc3qwiuOIHDj6ZxNIlFmhcZPC66XMJAStMq6ZJWSkMzMUDrcgGSLqEgHebJcQx6OLG1qbWgeG6LJ568udlO1/xVa6ny1m+1Mn6PIubCcF2NDgOam6KeiCEaheeS5DLr+KN0Lt1vpQXNs+l2u1xE6VzCXpyj3/QoT7DJVx9FQDQGx+1A8ZQWo8+/0Hm+7RdbInBZq9wCk+Ip5eJlZQWGYkBRuCcoAVcsMTaOYXj6GKbZZ1PpdrmI0vkK5lFJz8PjidCkW0cwPkgMsdaB4qltKq+9/kb4fvvfdFvaEt46skg3xZFUM8i9m4OpmlBV7okk4lyxxAxUgVEPOMg+me8tdrtcxOkcAgrqNLCD10l7f4+K4gduuXj69HzuRtY6UDy7w8effBq839ifeltSCyDW9Dj6bf1z4wt6SNuEbXNP9CPOFUsBx1GwrweGAn+kjC+7XS7idFI0z86jOsDr9noaK/YaYH9VBopHVNY6ULxIyDfffvf9Dz/y6/30s4i0saVEo5EQEddPRNZ+ceS9mItIfiToiYTvchVIYS9FVN+3A1+55Ce6XS5cLmQSNX8zWI9oW3QI36fxRkPTAq3D/83OvQrCMBSG4dOqkbYnGKiTo6VgIQiBjpm6O6bg4KBX1/o3FYoIvTYjccjg4GI5z/Rt32vzuLNs2vNllz5P15vgHpll0q1Nkd/zouR/4558Ng8/hu3jbTFw/K7H9eqgehyRzUt+JpUSmIzJ5u0J62BijmSZOYA2ZGkAFtZVTFJVhwymAUQdSREEsxdje20z1OcsSAAAAABJRU5ErkJggg==</resource>
 <resource name="pixabay.png" app="core" location="global" path="/logos/">[encoded data, 9600 characters]</resource>
 <resource name="x.svg" app="core" location="global" path="/logos/">PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSIxMjI3IiB2aWV3Qm94PSIwIDAgMTIwMCAxMjI3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KPHBhdGggZD0iTTcxNC4xNjMgNTE5LjI4NEwxMTYwLjg5IDBIMTA1NS4wM0w2NjcuMTM3IDQ1MC44ODdMMzU3LjMyOCAwSDBMNDY4LjQ5MiA2ODEuODIxTDAgMTIyNi4zN0gxMDUuODY2TDUxNS40OTEgNzUwLjIxOEw4NDIuNjcyIDEyMjYuMzdIMTIwMEw3MTQuMTM3IDUxOS4yODRINzE0LjE2M1pNNTY5LjE2NSA2ODcuODI4TDUyMS42OTcgNjE5LjkzNEwxNDQuMDExIDc5LjY5NDRIMzA2LjYxNUw2MTEuNDEyIDUxNS42ODVMNjU4Ljg4IDU4My41NzlMMTA1NS4wOCAxMTUwLjNIODkyLjQ3Nkw1NjkuMTY1IDY4Ny44NTRWNjg3LjgyOFoiIGZpbGw9IndoaXRlIi8+DQo8L3N2Zz4NCg==</resource>
 <resource name="pattern.png" app="core" location="global" path="/">[encoded data, 399696 characters]</resource>
 <resource name="resizable.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAQAAAADpb+tAAAAKUlEQVQoz2NgwADyklL/sQrKS1IsiGI2siBcB/mCYLOxCcpLMsC0odIAnIwe7lrvkpEAAAAASUVORK5CYII=</resource>
 <resource name="select_dropdown.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAACQAAAASCAMAAAAE/YwaAAAASFBMVEX///+kpKTd3d3c3NylpaWsrKzv7++rq6vw8PCjo6Pu7u7V1dXy8vK6urrLy8vn5+fh4eHi4uK4uLi5ubmkpKSjo6OsrKyrq6uU2jVvAAAAFHRSTlMAx0ZGx7UcuRfMHFgTlG8uPDiZmTDJusMAAACZSURBVHhenc7JDsMgDEVRIAwhY4f32v//08oIqXG8SFUvEIuja7ufZ140WGZr1pqmoxlTXc/mWcGUvyYXoD602TwA9lY3gN8UukWKKrmbJIbxrlOhqb5xLARJP7jTDJGU1iQG8o9BgGmxtcYkpHeM8gSA9wsgaDt9owdBUp6oOuZ6ktrYViP6HqsiYDt247UR5YO7nH13/88HF3gJrNErfY8AAAAASUVORK5CYII=</resource>
 <resource name="select_dropdown_rtl.png" app="core" location="global" path="/">iVBORw0KGgoAAAANSUhEUgAAACQAAAASCAMAAAAE/YwaAAAARVBMVEUAAAClpaXe3t7t7e2kpKTb29usrKyrq6ujo6P09PTp6eny8vK6urrW1tbKysrk5OS5ubm3t7fh4eGkpKSjo6Orq6usrKzMmtP8AAAAE3RSTlMAx0Ycx0a1ucwXLhOUWG84mZk8oXxfdAAAAJFJREFUeF6dz9kOgzAQQ1EmhCxsXWz6/59aDUKC4KfWz0d3ku6PLVMLpkXNXFK9mj6V+W5eBcj91RDl2Zo1Aq6uBohrgx5GV+lQfXZDe7epIZIEcz07tNDdFgwg4WrvkDY4kJazVPcOj462CAKfDQAYDyMtI0HSbTxvqfLJm/WPPunoRZgYUXJLF6Ia3Th2v+4L8xcJIhUKMFkAAAAASUVORK5CYII=</resource>
 <resource name="tooltip_bottom.png" app="core" location="global" path="/stems/">iVBORw0KGgoAAAANSUhEUgAAABUAAAAFCAIAAAAlozBaAAAABnRSTlMA/wD/AP83WBt9AAAAJklEQVR4AWP4jxcYGxvjV8CATzMMkKPfGBWQpt8YGyCoH1MzYSMAv9b+AjSDMB4AAAAASUVORK5CYII=</resource>
 <resource name="tooltip_left.png" app="core" location="global" path="/stems/">iVBORw0KGgoAAAANSUhEUgAAAAUAAAANCAIAAADuXjPfAAAABnRSTlMA/wD/AP83WBt9AAAAJklEQVR4AWP4jwow+MbGxqh8MEDiwwCcjwBwPgLglsdtPrr78PEBFbKGepvd3BEAAAAASUVORK5CYII=</resource>
 <resource name="tooltip_right.png" app="core" location="global" path="/stems/">iVBORw0KGgoAAAANSUhEUgAAAAUAAAANAQMAAABb8jbLAAAABlBMVEX///8zMzM4VIyRAAAAAXRSTlMAQObYZgAAABlJREFUeAFjAAEOJgEmBSYHxh/MfyAQJAgANNAFdKwKMwkAAAAASUVORK5CYII=</resource>
 <resource name="tooltip_top.png" app="core" location="global" path="/stems/">iVBORw0KGgoAAAANSUhEUgAAABUAAAAFAQMAAACQDzVOAAAABlBMVEX///8zMzM4VIyRAAAAAXRSTlMAQObYZgAAABlJREFUeAFjYP7HwMD4h4GB4QcQFwCxAgMALJADh3Ppa+wAAAAASUVORK5CYII=</resource>
</theme>
