<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="LandscapeView">
        <param name="listid" default="53" />
        <param name="scrollbarid" default="63" />
        <param name="sidemenuid" default="9000" />
        <param name="labelsvisible" default="true" />
        <param name="descriptionposx" default="40" />
        <param name="descriptionposy" default="40" />
        <param name="descriptionwidth" default="1840" />
        <param name="descriptionheight" default="340" />
        <param name="descriptionlabel" default="$VAR[ContentDescription]" />
        <param name="descriptionvisible" default="Skin.HasSetting(Landscape.DescriptionVisible)" />
        <param name="shadowvisible" default="true" />
    
        <definition>
            <control type="group">
                <visible>Control.IsVisible($PARAM[listid])</visible>
                <include content="BackgroundAnimationForBottomRing" />
            </control>
            
            <control type="fixedlist" id="$PARAM[listid]">
                <viewtype label="31933">list</viewtype>
                <visible allowhiddenfocus="true">true</visible>
                
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <pagecontrol>$PARAM[scrollbarid]</pagecontrol>
                <orientation>horizontal</orientation>
                <focusposition>2</focusposition>
                <onup>$PARAM[sidemenuid]</onup>
                <ondown>$PARAM[scrollbarid]</ondown>
                <onleft>$PARAM[listid]</onleft>
                <onright>$PARAM[listid]</onright>
                
                <include content="InvisibleHorizontalListItemsForMenu" />
            </control>
            
            <include content="MainLandscapeView">
                <param name="listid" value="$PARAM[listid]" />
                <param name="scrollbarid" value="$PARAM[scrollbarid]" />
                <param name="labelsvisible" value="$PARAM[labelsvisible]" />
                <param name="descriptionposx" value="$PARAM[descriptionposx]" />
                <param name="descriptionposy" value="$PARAM[descriptionposy]" />
                <param name="descriptionwidth" value="$PARAM[descriptionwidth]" />
                <param name="descriptionheight" value="$PARAM[descriptionheight]" />
                <param name="descriptionlabel" value="$PARAM[descriptionlabel]" />
                <param name="descriptionvisible" value="$PARAM[descriptionvisible]" />
                <param name="shadowvisible" value="$PARAM[shadowvisible]" />
            </include>
        </definition>
    </include>

    <include name="MainLandscapeView">
        <param name="listid" default="53" />
        <param name="scrollbarid" default="63" />
        <param name="labelsvisible" default="true" />
        <param name="descriptionposx" default="40" />
        <param name="descriptionposy" default="40" />
        <param name="descriptionwidth" default="1840" />
        <param name="descriptionheight" default="340" />
        <param name="descriptionlabel" default="$VAR[ContentDescription]" />
        <param name="descriptionvisible" default="Skin.HasSetting(Landscape.DescriptionVisible)" />
        <param name="shadowvisible" default="true" />

        <definition>
            <control type="group">
                <visible>Control.IsVisible($PARAM[listid])</visible>
                <animation effect="slide" start="0,1080" end="0,0" time="500">WindowOpen</animation>
                <animation effect="slide" start="0,0" end="0,1080" time="500">WindowClose</animation>

                <include content="BottomRing" />
                
                <control type="group">
                    <visible>$PARAM[labelsvisible]</visible>
                    <include content="LabelsForBottomRing" />
                </control>

                <include content="ItemsForLandscapeView">
                    <param name="listid" value="$PARAM[listid]" />
                    <param name="shadowvisible" value="$PARAM[shadowvisible]" />
                </include>
                
                <include content="ContentDescriptionForLandscapeView">
                    <param name="posx" value="$PARAM[descriptionposx]" />
                    <param name="posy" value="$PARAM[descriptionposy]" />
                    <param name="width" value="$PARAM[descriptionwidth]" />
                    <param name="height" value="$PARAM[descriptionheight]" />
                    <param name="label" value="$PARAM[descriptionlabel]" />
                    <param name="visible" value="$PARAM[descriptionvisible]" />
                </include>
            </control>

            <control type="scrollbar" id="$PARAM[scrollbarid]">
                <visible allowhiddenfocus="true">Control.IsVisible($PARAM[listid])</visible>
                <animation type="Conditional" condition="!Control.HasFocus($PARAM[scrollbarid]) + !Container($PARAM[listid]).Scrolling + !Skin.HasSetting(ViewScrollbar.Visible)">
                    <effect type="slide" start="0,0" end="0,-40" time="100" />
                </animation>

                <posx>PosXForHorizontalScrollbarForView</posx>
                <posy>PosYForHorizontalScrollbarForView</posy>
                <width>WidthForHorizontalScrollbarForView</width>
                <height>HeightForHorizontalScrollbarForView</height>
                <orientation>horizontal</orientation>
                <texturesliderbackground border="14,0,14,0" colordiffuse="$VAR[BackgroundColor]">controls/verticalbar-thick.png</texturesliderbackground>
                <texturesliderbar border="14,0,14,0" colordiffuse="$VAR[SelectColor]">controls/verticalbar-thin.png</texturesliderbar>
                <texturesliderbarfocus border="14,0,14,0" colordiffuse="$VAR[MainColor]">controls/verticalbar-thin.png</texturesliderbarfocus>
                <onup>$PARAM[listid]</onup>
                <ondown>$PARAM[listid]</ondown>
                <onleft>$PARAM[scrollbarid]</onleft>
                <onright>$PARAM[scrollbarid]</onright>
            </control>
        </definition>
    </include>

    <include name="ContentDescriptionForLandscapeView">
        <param name="posx" default="40" />
        <param name="posy" default="40" />
        <param name="width" default="1840" />
        <param name="height" default="340" />
        <param name="label" default="$VAR[ContentDescription]" />
        <param name="visible" default="Skin.HasSetting(Landscape.DescriptionVisible)" />
        
        <definition>
            <control type="group">
                <visible>$PARAM[visible]</visible>
                <include content="OutlineTextbox">
                    <param name="posx" value="$PARAM[posx]" />
                    <param name="posy" value="$PARAM[posy]" />
                    <param name="width" value="$PARAM[width]" />
                    <param name="height" value="$PARAM[height]" />
                    <param name="font" value="DescriptionViewFont" />
                    <param name="textcolor" value="$VAR[BackgroundColor]" />
                    <param name="outlinecolor" value="$VAR[TextColor]" />
                    <param name="outlinesize" value="2" />
                    <param name="label" value="$PARAM[label]" />
                </include>
            </control>
        </definition>
    </include>
    
    <include name="ItemsForLandscapeView">
        <param name="listid" default="53" />
        <param name="shadowvisible" default="true" />

        <definition>
            <control type="group" id="303">
                <visible>Control.IsVisible($PARAM[listid])</visible>
                <animation effect="fade" start="0" end="100" delay ="195" time="5" reversible="false" condition="Control.IsVisible(301) | Control.IsVisible(302) | Container($PARAM[listid]).OnNext | Container($PARAM[listid]).OnPrevious">Conditional</animation>

                <control type="group">
                    <animation effect="rotate" center="960,3600" end="21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-3" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-2" />
                    </include>
                </control>
    
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="7" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-1" />
                    </include>
                </control>
            
                <control type="group">
                    <control type="group">
                        <posx>795</posx>
                        <posy>380</posy>
                        <width>330</width>
                        <height>646</height>
                
                        <include content="ShadowForElementForLandscapeView" />
                        
                        <include content="MainElementForLandscapeView">
                            <param name="listid" value="$PARAM[listid]" />
                        </include>

                        <control type="group">
                            <posx>65</posx>
                            <posy>226</posy>
                            <include content="DefaultOverlayMediaFlag" />
                        </control>
                    </control>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-7" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="1" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="2" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="3" />
                    </include>
                </control>
            </control>
            
            <control type="group" id="301">
                <visible>Control.IsVisible($PARAM[listid]) + Container($PARAM[listid]).OnNext</visible>
                <animation type="Hidden" reversible="false">
                    <effect type="rotate" center="960,3600" start="0" end="5" time="200" />
                </animation>

                <control type="group">
                    <animation effect="rotate" center="960,3600" end="21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-4" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-3" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="7" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-2" />
                    </include>
                </control>
            
                <control type="group">
                    <visible>!String.IsEmpty(Container($PARAM[listid]).ListItemNoWrap(-1).Label)</visible>

                    <control type="group">
                        <visible>Container($PARAM[listid]).OnNext</visible>
                        <animation effect="zoom" center="960,724" start="100" end="80" time="200" reversible="false">Hidden</animation>
                        <posx>795</posx>
                        <posy>380</posy>
                        <width>330</width>
                        <height>646</height>

                        <control type="group">
                            <animation effect="fade" start="100" end="0" time="200" reversible="false">Hidden</animation>
                            <include content="ShadowForElementForLandscapeView" />
                        </control>
                        
                        <include content="ImageForOtherElementForLandscapeView">
                            <param name="listid" value="$PARAM[listid]" />
                            <param name="listindex" value="-1" />
                        </include>
                    </control>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-7" condition="true">Conditional</animation>
                
                    <control type="group">
                        <visible>Container($PARAM[listid]).OnNext</visible>
                        <animation type="Conditional" condition="true">
                            <effect type="zoom" center="960,724" end="80" />
                        </animation>
                        <animation effect="zoom" center="960,724" start="100" end="125" time="200" reversible="false">Hidden</animation>
                        <posx>795</posx>
                        <posy>380</posy>
                        <width>330</width>
                        <height>646</height>

                        <control type="group">
                            <animation effect="fade" start="0" end="100" time="200" reversible="false">Hidden</animation>
                            <include content="ShadowForElementForLandscapeView" />
                        </control>
                        
                        <include content="MainElementForLandscapeView">
                            <param name="listid" value="$PARAM[listid]" />
                        </include>
                    </control>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="1" />
                    </include>
                </control>
    
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="2" />
                    </include>
                </control>
            </control>
            
            <control type="group" id="302">
                <visible>Control.IsVisible($PARAM[listid]) + Container($PARAM[listid]).OnPrevious</visible>
                <animation type="Hidden" reversible="false">
                    <effect type="rotate" center="960,3600" start="0" end="-5" time="200" />
                </animation>
                    
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-2" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="-1" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="7" condition="true">Conditional</animation>
                
                    <control type="group">
                        <visible>Container($PARAM[listid]).OnPrevious</visible>
                        <animation effect="zoom" center="960,724" start="100" end="125" time="200" reversible="false">Hidden</animation>
                        <animation type="Conditional" condition="true">
                            <effect type="zoom" center="960,724" end="80" />
                        </animation>
                        <posx>795</posx>
                        <posy>380</posy>
                        <width>330</width>
                        <height>646</height>

                        <control type="group">
                            <animation effect="fade" start="0" end="100" time="200" reversible="false">Hidden</animation>
                            <include content="ShadowForElementForLandscapeView" />
                        </control>
                        
                        <include content="MainElementForLandscapeView">
                            <param name="listid" value="$PARAM[listid]" />
                        </include>
                    </control>
                </control>
            
                <control type="group">
                    <visible>!String.IsEmpty(Container($PARAM[listid]).ListItemNoWrap(1).Label)</visible>

                    <control type="group">
                        <visible>Container($PARAM[listid]).OnPrevious</visible>
                        <animation effect="zoom" center="960,724" start="100" end="80" time="200" reversible="false">Hidden</animation>
                        <posx>795</posx>
                        <posy>380</posy>
                        <width>330</width>
                        <height>646</height>

                        <control type="group">
                            <animation effect="fade" start="100" end="0" time="200" reversible="false">Hidden</animation>
                            <include content="ShadowForElementForLandscapeView" />
                        </control>
                        
                        <include content="ImageForOtherElementForLandscapeView">
                            <param name="listid" value="$PARAM[listid]" />
                            <param name="listindex" value="1" />
                        </include>
                    </control>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-7" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="2" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-14" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="3" />
                    </include>
                </control>
            
                <control type="group">
                    <animation effect="rotate" center="960,3600" end="-21" condition="true">Conditional</animation>
                    <include content="OtherElementForLandscapeView">    
                        <param name="listid" value="$PARAM[listid]" />
                        <param name="listindex" value="4" />
                    </include>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="MainElementForLandscapeView">
        <param name="listid" default="53" />
        
        <definition>
            <control type="group">
                <include content="VisibilityForVerticalIcon" />

                <control type="image">
                    <posx>20</posx>
                    <posy>20</posy>
                    <width>290</width>
                    <height>424</height>
                    <texture colordiffuse="$VAR[MainColor]">elements/poster-mask.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
                    
                <control type="image">
                    <posx>26</posx>
                    <posy>26</posy>
                    <width>278</width>
                    <height>412</height>
                    <texture diffuse="elements/poster-mask.png" background="true">$INFO[Container($PARAM[listid]).ListItem(0).Icon]</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
            </control>
            
            <control type="group">
                <include content="VisibilityForSquareIcon" />
                <posy>134</posy>
                
                <control type="image">
                    <posx>20</posx>
                    <posy>20</posy>
                    <width>290</width>
                    <height>290</height>
                    <texture colordiffuse="$VAR[MainColor]">elements/poster-mask.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
                        
                <control type="image">
                    <posx>26</posx>
                    <posy>26</posy>
                    <width>278</width>
                    <height>278</height>
                    <texture diffuse="elements/poster-mask.png" background="true">$INFO[Container($PARAM[listid]).ListItem(0).Icon]</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="OtherElementForLandscapeView">    
        <param name="listid" default="53" />
        <param name="listindex" default="0" />
    
        <definition>
            <control type="group">
                <visible>!String.IsEmpty(Container($PARAM[listid]).ListItemNoWrap($PARAM[listindex]).Label)</visible>
                <animation type="Conditional" condition="true">
                    <effect type="zoom" center="960,724" end="80" />
                    <effect type="rotate" center="auto" end="0" />
                </animation>
                <posx>795</posx>
                <posy>380</posy>
                <width>330</width>
                <height>646</height>
                <include content="ImageForOtherElementForLandscapeView">
                    <param name="listid" value="$PARAM[listid]" />
                    <param name="listindex" value="$PARAM[listindex]" />
                </include>                
            </control>            
        </definition>
    </include>
    
    <include name="ImageForOtherElementForLandscapeView">    
        <param name="listid" default="53" />
        <param name="listindex" default="0" />
    
        <definition>
            <control type="group">
                <include content="VisibilityForVerticalIcon" />

                <control type="image">
                    <posx>20</posx>
                    <posy>20</posy>
                    <width>290</width>
                    <height>424</height>
                    <texture colordiffuse="$VAR[MainColor]">elements/poster-mask.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
                        
                <control type="image">
                    <posx>26</posx>
                    <posy>26</posy>
                    <width>278</width>
                    <height>412</height>
                    <texture diffuse="elements/poster-mask.png" background="true">$INFO[Container($PARAM[listid]).ListItem($PARAM[listindex]).Icon]</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
            </control>
            
            <control type="group">
                <include content="VisibilityForSquareIcon" />
                <posy>134</posy>
                
                <control type="image">
                    <posx>20</posx>
                    <posy>20</posy>
                    <width>290</width>
                    <height>290</height>
                    <texture colordiffuse="$VAR[MainColor]">elements/poster-mask.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
                        
                <control type="image">
                    <posx>26</posx>
                    <posy>26</posy>
                    <width>278</width>
                    <height>278</height>
                    <texture diffuse="elements/poster-mask.png" background="true">$INFO[Container($PARAM[listid]).ListItem($PARAM[listindex]).Icon]</texture>
                    <aspectratio>stretch</aspectratio>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="ShadowForElementForLandscapeView">
        <definition>
            <control type="group">
                <visible>$PARAM[shadowvisible]</visible>
                <control type="group">
                    <include content="VisibilityForVerticalIcon" />
                    
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>330</width>
                        <height>464</height>
                        <texture colordiffuse="$VAR[MainColor]">elements/poster-shadow.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                </control>
                
                <control type="group">
                    <include content="VisibilityForSquareIcon" />
                    <posy>134</posy>
                    
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>330</width>
                        <height>330</height>
                        <texture colordiffuse="$VAR[MainColor]">elements/poster-shadow.png</texture>
                        <aspectratio>stretch</aspectratio>
                    </control>
                </control>
            </control>
        </definition>
    </include>
</includes>
