{
    menuDef
    {
        name                        "menu_defaultclass_config_teammembers_2teams"
        fullscreen                  1
        rect                        0 0 640 480 0 0
        style                       1
        soundLoop                   "music_mainmenu_mp"
        onOpen
        {
            if (dvarstring(ui_gametype) == "dd")
            {
                setLocalVarString ui_team1Name "@MPUI_TEAM_1";
                setLocalVarString ui_team2Name "@MPUI_TEAM_2";
            }
            else
            {
                setLocalVarString ui_team1Name "@MPUI_TEAM_1";
                setLocalVarString ui_team2Name "@MPUI_TEAM_2";
            }
            setLocalVarInt ui_buttonNavGroupOffset 0;
            setLocalVarInt ui_buttonNavGroupCurrent 0;
            setLocalVarString ui_buttonNavGroupName "invalid";
            setLocalVarBool ui_swfSelectionButtonVis 0;
            setLocalVarBool ui_swfSelectionBarVis 0;
            setLocalVarBool ui_swfSelectionDisabled 0;
            setLocalVarBool ui_swfPopupSelectionButtonVis 0;
            setLocalVarBool ui_swfPopupSelectionBarVis 0;
            setLocalVarBool ui_swfPopupSelectionDisabled 0;
            setLocalVarString ui_swfPopupContext "invalid";
            focusfirst;
        }
        onESC
        {
            close self;
        }
        onFocusDueToClose
        {
            setLocalVarString ui_hint_text "";
            focusfirst;
        }
        itemDef
        {
            rect                        -426.667 -240 853.333 480 2 2
            style                       3
            decoration                  
            visible                     when((dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
            textscale                   0.55
            background                  "background_image_blur_less"
        }
        itemDef
        {
            rect                        -426.667 -240 853.333 480 2 2
            style                       3
            decoration                  
            visible                     when(!(dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
            textscale                   0.55
            background                  "background_image"
        }
        itemDef
        {
            rect                        0 0 1708 480 0 0
            style                       3
            decoration                  
            visible                     1
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay"
            exp rect x                  (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
        }
        itemDef
        {
            rect                        0 0 -1708 -480 0 0
            style                       3
            decoration                  
            visible                     1
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay"
            exp rect x                  (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
        }
        itemDef
        {
            rect                        237.5 -36 301.5 480 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            forecolor                   0 0 0 0.4
            background                  "white"
            exp rect w                  localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
        }
        itemDef
        {
            rect                        237.5 -236 13 680 1 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            forecolor                   1 1 1 0.75
            background                  "navbar_edge"
            exp rect x                  ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
            exp forecolor r             0.596078;
            exp forecolor g             0.654902;
            exp forecolor b             0.603922;
        }
        itemDef
        {
            rect                        237.5 -236 13 680 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            forecolor                   1 1 1 0.75
            background                  "navbar_edge"
            exp rect x                  (0 - 64) + 301.5;
            exp forecolor r             0.596078;
            exp forecolor g             0.654902;
            exp forecolor b             0.603922;
            exp forecolor a             localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
        }
        itemDef
        {
            rect                        -64 -36 301.5 480 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "dest_alpha_one"
        }
        itemDef
        {
            rect                        237.5 -36 640 480 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "dest_alpha_zero"
        }
        itemDef
        {
            rect                        -426.667 -240 853.333 480 2 2
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "background_image_blur_less_dest_alpha_masked"
        }
        itemDef
        {
            rect                        0 0 1708 480 0 0
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "mw2_main_cloud_overlay_write_dest_alpha"
            exp rect x                  (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
        }
        itemDef
        {
            rect                        0 0 1708 480 0 0
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay_dest_alpha_masked"
            exp rect x                  (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
        }
        itemDef
        {
            rect                        -64 -36 301.5 480 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "dest_alpha_one"
        }
        itemDef
        {
            rect                        0 0 -1708 -480 0 0
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            background                  "mw2_main_cloud_overlay_write_dest_alpha"
            exp rect x                  (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
        }
        itemDef
        {
            rect                        0 0 -1708 -480 0 0
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_shelfEnabled"));
            textscale                   0.55
            forecolor                   0.35 0.35 0.35 1
            background                  "mw2_main_cloud_overlay_dest_alpha_masked"
            exp rect x                  (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
        }
        itemDef
        {
            rect                        -64 -36 301.5 480 1 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0.4
            background                  "white"
        }
        itemDef
        {
            rect                        -64 30 301.5 5.333 1 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "navbar_tick"
        }
        itemDef
        {
            rect                        -64 3 276.667 24.233 1 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   14
            textscale                   0.5
            textstyle                   9
            textfont                    9
            exp text                    locstring("@MPUI_DEFAULT_CLASSES");
            exp forecolor a             select((getTextWidth(locstring("@MPUI_DEFAULT_CLASSES"), 9, 0.5) <= 200), 1, 0);
        }
        itemDef
        {
            rect                        -64 3 276.667 24.233 1 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   14
            textscale                   0.4
            textstyle                   9
            textfont                    9
            exp text                    locstring("@MPUI_DEFAULT_CLASSES");
            exp forecolor a             select(((getTextWidth(locstring("@MPUI_DEFAULT_CLASSES"), 9, 0.5) > 200) && (getTextWidth(locstring("@MPUI_DEFAULT_CLASSES"), 9, 0.4) <= 200)), 1, 0);
        }
        itemDef
        {
            rect                        -64 1 276.667 24.233 1 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   14
            textscale                   0.3
            textstyle                   9
            textfont                    9
            exp text                    locstring("@MPUI_DEFAULT_CLASSES");
            exp forecolor a             select((getTextWidth(locstring("@MPUI_DEFAULT_CLASSES"), 9, 0.4) > 200), 1, 0);
        }
        itemDef
        {
            rect                        -88 34.667 325.333 17.333 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            background                  "navbar_selection_bar"
            exp rect y                  ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
        }
        itemDef
        {
            rect                        213 34.667 21.333 16.5 1 1
            style                       1
            decoration                  
            visible                     when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textalign                   10
            textscale                   0.30625
            textfont                    3
            exp text                    "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
            exp rect y                  ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
        }
        itemDef
        {
            rect                        -64 33.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    9
            exp text                    localvarstring("ui_team1Name");
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
            exp rect x                  ((0 - 64)) + ((0 - 64));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
        }
        itemDef
        {
            rect                        -64 33.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    9
            exp text                    localvarstring("ui_team1Name");
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
            exp rect x                  ((0 - 64)) + ((0 - 64));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -46.5 53.334 283.333 3.333 1 1
            style                       3
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "navbar_tick"
            exp rect x                  (0) + ((0 - 64)) + 0.667 + 17.5;
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 2.3333));
        }
        itemDef
        {
            name                        "DEFCLASS_1"
            rect                        -68 54.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_1";
                setLocalVarInt ui_buttonNavGroupCurrent 1;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 0;
                setLocalVarString ui_editingTeam "axis";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "axis";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_0");
                    setLocalVarInt ui_editingClassIndex 0;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 57 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 57 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 53.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "axis", 0, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_1"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "axis", 0, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 53.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "axis", 0, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_2"
            rect                        -68 74.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_2";
                setLocalVarInt ui_buttonNavGroupCurrent 2;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 1;
                setLocalVarString ui_editingTeam "axis";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "axis";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_1");
                    setLocalVarInt ui_editingClassIndex 1;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 77 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 77 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 73.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "axis", 1, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_2"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "axis", 1, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 73.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "axis", 1, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_3"
            rect                        -68 94.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_3";
                setLocalVarInt ui_buttonNavGroupCurrent 3;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 2;
                setLocalVarString ui_editingTeam "axis";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "axis";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_2");
                    setLocalVarInt ui_editingClassIndex 2;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 97 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_3" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 3)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 97 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_3" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 3)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 93.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "axis", 2, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_3"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "axis", 2, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 93.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "axis", 2, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_4"
            rect                        -68 114.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_4";
                setLocalVarInt ui_buttonNavGroupCurrent 4;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 3;
                setLocalVarString ui_editingTeam "axis";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "axis";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_3");
                    setLocalVarInt ui_editingClassIndex 3;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 117 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_4" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 4)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 117 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_4" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 4)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 113.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "axis", 3, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_4"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "axis", 3, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 113.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "axis", 3, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_5"
            rect                        -68 134.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_5";
                setLocalVarInt ui_buttonNavGroupCurrent 5;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 4;
                setLocalVarString ui_editingTeam "axis";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "axis";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_4");
                    setLocalVarInt ui_editingClassIndex 4;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 137 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_5" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 5)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 137 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_5" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 5)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 133.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "axis", 4, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_5"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "axis", 4, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 133.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "axis", 4, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            rect                        -64 173.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    9
            exp text                    localvarstring("ui_team2Name");
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
            exp rect x                  ((0 - 64)) + ((0 - 64));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
        }
        itemDef
        {
            rect                        -64 173.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    9
            exp text                    localvarstring("ui_team2Name");
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
            exp rect x                  ((0 - 64)) + ((0 - 64));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -46.5 193.334 283.333 3.333 1 1
            style                       3
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (8) && (((8) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "navbar_tick"
            exp rect x                  (0) + ((0 - 64)) + 0.667 + 17.5;
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 8))) + ((0 - 2.3333));
        }
        itemDef
        {
            name                        "DEFCLASS_8"
            rect                        -68 194.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_8";
                setLocalVarInt ui_buttonNavGroupCurrent 8;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 0;
                setLocalVarString ui_editingTeam "allies";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "allies";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_0");
                    setLocalVarInt ui_editingClassIndex 0;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 8))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 197 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (8) && (((8) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_8" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 8)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 197 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (8) && (((8) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_8" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 8)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 193.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (8) && (((8) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "allies", 0, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_1"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "allies", 0, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 8))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_8" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 193.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "allies", 0, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (8) && (((8) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 8))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_9"
            rect                        -68 214.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_9";
                setLocalVarInt ui_buttonNavGroupCurrent 9;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 1;
                setLocalVarString ui_editingTeam "allies";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "allies";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_1");
                    setLocalVarInt ui_editingClassIndex 1;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 9))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 217 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (9) && (((9) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_9" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 9)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 217 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (9) && (((9) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_9" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 9)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 213.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (9) && (((9) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "allies", 1, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_2"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "allies", 1, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 9))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_9" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 213.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "allies", 1, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (9) && (((9) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 9))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_10"
            rect                        -68 234.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_10";
                setLocalVarInt ui_buttonNavGroupCurrent 10;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 2;
                setLocalVarString ui_editingTeam "allies";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "allies";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_2");
                    setLocalVarInt ui_editingClassIndex 2;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 10))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 237 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (10) && (((10) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_10" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 10)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 237 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (10) && (((10) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_10" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 10)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 233.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (10) && (((10) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "allies", 2, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_3"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "allies", 2, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 10))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_10" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 233.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "allies", 2, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (10) && (((10) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 10))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_11"
            rect                        -68 254.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_11";
                setLocalVarInt ui_buttonNavGroupCurrent 11;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 3;
                setLocalVarString ui_editingTeam "allies";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "allies";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_3");
                    setLocalVarInt ui_editingClassIndex 3;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 11))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 257 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (11) && (((11) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_11" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 11)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 257 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (11) && (((11) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_11" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 11)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 253.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (11) && (((11) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "allies", 3, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_4"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "allies", 3, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 11))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_11" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 253.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "allies", 3, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (11) && (((11) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 11))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            name                        "DEFCLASS_12"
            rect                        -68 274.667 305.333 20 1 1
            style                       3
            type                        1
            visible                     when(1);
            textscale                   0.55
            forecolor                   0 0 0 0
            background                  "white"
            onFocus
            {
                setLocalVarString ui_swf_selection "DEFCLASS_12";
                setLocalVarInt ui_buttonNavGroupCurrent 12;
                setLocalVarString ui_buttonNavGroupName "DEFCLASS";
                setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
                setLocalVarBool ui_swfSelectionBarVis (1);
                setLocalVarBool ui_swfSelectionDisabled (0);
                if ((17 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
                {
                    setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (17 - 1));
                }
                else
                {
                    if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
                    {
                        setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
                    }
                }
                play mouse_over;
                setLocalVarInt ui_editingClassIndex 4;
                setLocalVarString ui_editingTeam "allies";
                setLocalVarString loadoutPrimary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "weapon"));
                setLocalVarString loadoutPrimaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 0));
                setLocalVarString loadoutPrimaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "attachment", 1));
                if (localvarstring("loadoutPrimaryAttachment2") == "")
                {
                    setLocalVarString loadoutPrimaryAttachment2 ("none");
                }
                setLocalVarString loadoutPrimaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "buff"));
                setLocalVarString loadoutPrimaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "camo"));
                setLocalVarString loadoutPrimaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 0, "reticle"));
                setLocalVarString loadoutSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "weapon"));
                setLocalVarString loadoutSecondaryAttachment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 0));
                setLocalVarString loadoutSecondaryAttachment2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "attachment", 1));
                if (localvarstring("loadoutSecondaryAttachment2") == "")
                {
                    setLocalVarString loadoutSecondaryAttachment2 ("none");
                }
                setLocalVarString loadoutSecondaryBuff (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "buff"));
                setLocalVarString loadoutSecondaryCamo (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "camo"));
                setLocalVarString loadoutSecondaryReticle (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "weaponSetups", 1, "reticle"));
                setLocalVarString loadoutEquipment (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 0));
                setLocalVarString loadoutPerk1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 1));
                setLocalVarString loadoutPerk2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 2));
                setLocalVarString loadoutPerk3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 3));
                setLocalVarString loadoutStreakType (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5));
                setLocalVarString loadoutAssaultKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0));
                setLocalVarString loadoutAssaultKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1));
                setLocalVarString loadoutAssaultKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2));
                setLocalVarString loadoutDefenseKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0));
                setLocalVarString loadoutDefenseKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1));
                setLocalVarString loadoutDefenseKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2));
                setLocalVarString loadoutSpecialistKillStreak1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0));
                setLocalVarString loadoutSpecialistKillStreak2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1));
                setLocalVarString loadoutSpecialistKillStreak3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2));
                setLocalVarString loadoutSpecialistKills1 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 0));
                setLocalVarString loadoutSpecialistKills2 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 1));
                setLocalVarString loadoutSpecialistKills3 (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreakKills", 2));
                setLocalVarString loadoutDeathStreak (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "deathstreak"));
                setLocalVarString loadoutOffhandSecondary (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 6));
                setLocalVarString loadoutClassName (getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"));
            }
            leaveFocus
            {
                setLocalVarBool ui_swfSelectionButtonVis 0;
                setLocalVarBool ui_swfSelectionBarVis 0;
                setLocalVarBool ui_swfSelectionDisabled 0;
            }
            action
            {
                if (!(0))
                {
                    play mouse_click;
                    setLocalVarString ui_editingTeam "allies";
                    setLocalVarString ui_editingClassName locstring("@MPUI_CLASS_4");
                    setLocalVarInt ui_editingClassIndex 4;
                    open menu_cac_gamerules;
                }
            }
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 12))) + ((0 - 1.333));
        }
        itemDef
        {
            rect                        219 277 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (12) && (((12) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (localvarstring("ui_swf_selection") == "DEFCLASS_12" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            forecolor                   0 0 0 1
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 12)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        219 277 14.333 14.333 1 1
            style                       3
            decoration                  
            visible                     when(((((0)) && (1))) && (0) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (12) && (((12) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (!(localvarstring("ui_swf_selection") == "DEFCLASS_12" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "DEFCLASS")));
            textscale                   0.55
            background                  "icon_lock"
            exp rect y                  (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 12)) + 1.333)) - (0.667)) + 1.5;
        }
        itemDef
        {
            rect                        -64 273.334 276.667 19.567 1 1
            style                       1
            decoration                  
            visible                     when((1) && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (12) && (((12) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textalign                   10
            textscale                   0.375
            textstyle                   9
            textfont                    3
            exp text                    select(getmatchrulesdata("defaultClasses", "allies", 4, "class", "name") == "", truncateTextWithEllipsis(locstring("@MPUI_CLASS_5"), 3, 0.375, 225), getmatchrulesdata("defaultClasses", "allies", 4, "class", "name"));
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 12))) + ((0 - 1.333));
            exp forecolor r             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor g             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
            exp forecolor b             select(0, select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEFCLASS_12" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEFCLASS", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
        }
        itemDef
        {
            rect                        -64 273.334 24 12 1 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", "allies", 4, "class", "inUse")) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (17 - 1)) >= (12) && (((12) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
            textscale                   0.55
            background                  "ui_scrollbar_arrow_right"
            exp rect y                  ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 12))) + ((0 - 1.333)) - ((12 - 21) * 0.5);
            exp rect x                  ((219.5 + 80)) + ((0 - 64)) - ((24 - 21) * 0.5);
        }
        itemDef
        {
            rect                        -253.667 191.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutEquipment"), 3);
            exp rect x                  (0) + ((((0 - 264) + 10.333))) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -134 191.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutOffhandSecondary"), 3);
            exp rect x                  (0) + ((((0 - 264) + 10.333) + 119.667)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -226.334 190.367 292.667 18.633 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutEquipment"), 2);
            exp rect x                  (0) + (((0 - 264) + 10.333)) + (27.333);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -111.334 190.367 319.967 18.633 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutOffhandSecondary"), 2);
            exp rect x                  (0) + (((0 - 264) + 10.333)) + (142.333);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -200 50.033 200 53.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/camoTable.csv", 1, localvarstring("loadoutPrimaryCamo"), 4);
            exp rect x                  (0) + ((((0 - 264)) + 64)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -60 36.367 60 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "tiny_gradient"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + (198);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -258 36.367 133.333 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "tiny_gradient_2"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -258.667 35.7 259.333 11.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "dest_alpha_zero"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + ((0 - 0.667));
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -258 36.367 258 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "dest_alpha_one"
            exp rect x                  (0) + (((((0 - 264)) + 6))) + (0);
            exp rect w                  258 * (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -258 36.367 258 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "bar_progress_custom"
            exp rect x                  (0) + (((((0 - 264)) + 6))) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -139.333 35.7 140 70 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 6);
            exp rect x                  (0) + ((((0 - 264)) + 124.667)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -257 36.567 130 11.067 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.2
            textfont                    9
            exp text                    locstring("@MPUI_WEAPON_LVL") + " " + 0;
            exp rect x                  (0) + (((0 - 264))) + (7);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -131 36.567 130 11.067 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   10
            textscale                   0.2
            textfont                    9
            forecolor                   0.706 0.706 0.706 1
            exp text                    "";
            exp rect x                  (0) + (((0 - 264))) + (133);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -260 50.033 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment"), 6);
            exp rect x                  (0) + ((((0 - 264)) + 4)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -230 50.033 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutPrimaryAttachment2"), 6);
            exp rect x                  (0) + ((((0 - 264)) + 34)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -260 76.7 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when((localvarstring("loadoutPrimaryBuff") != "specialty_null"));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPrimaryBuff"), 3);
            exp rect x                  (0) + ((((0 - 264)) + 4)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -238 69.033 42.667 42.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/reticleTable.csv", 1, localvarstring("loadoutPrimaryReticle"), 4);
            exp rect x                  (0) + ((((0 - 264)) + 26)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -315 84.733 310.667 18.633 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   10
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutPrimary"), 3);
            exp rect x                  (0) + (((0 - 264))) + ((0 - 51));
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutPrimary") != "throwingknife") * (localvarstring("loadoutPrimary") != "none"));
        }
        itemDef
        {
            rect                        -200 126.366 200 53.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/camoTable.csv", 1, localvarstring("loadoutSecondaryCamo"), 4);
            exp rect x                  (0) + ((((0 - 264)) + 64)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -60 112.7 60 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "tiny_gradient"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + (198);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -258 112.7 133.333 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "tiny_gradient_2"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -258.667 112.033 259.333 11.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "dest_alpha_zero"
            exp rect x                  (0) + ((((0 - 264)) + 6)) + ((0 - 0.667));
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -258 112.7 258 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "dest_alpha_one"
            exp rect x                  (0) + (((((0 - 264)) + 6))) + (0);
            exp rect w                  258 * (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -258 112.7 258 10 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "bar_progress_custom"
            exp rect x                  (0) + (((((0 - 264)) + 6))) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -139.333 112.366 140 70 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                select(localvarstring("loadoutSecondary") != "none", tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 6), "white");
            exp rect x                  (0) + ((((0 - 264)) + 124.667)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -257 112.366 130 11.067 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.2
            textfont                    9
            exp text                    locstring("@MPUI_WEAPON_LVL") + " " + 0;
            exp rect x                  (0) + (((0 - 264))) + (7);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -136.667 112.366 135.667 11.067 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   10
            textscale                   0.2
            textfont                    9
            forecolor                   0.706 0.706 0.706 1
            exp text                    "";
            exp rect x                  (0) + (((0 - 264))) + (127.333);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -260 126.033 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment"), 6);
            exp rect x                  (0) + ((((0 - 264)) + 4)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -230 126.033 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/attachmentTable.csv", 4, localvarstring("loadoutSecondaryAttachment2"), 6);
            exp rect x                  (0) + ((((0 - 264)) + 34)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -260 152.7 26.667 26.667 3 1
            style                       3
            decoration                  
            visible                     when((localvarstring("loadoutSecondaryBuff") != "specialty_null"));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutSecondaryBuff"), 3);
            exp rect x                  (0) + ((((0 - 264)) + 4)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -315 160.733 310.667 18.633 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   10
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/statsTable.csv", 4, localvarstring("loadoutSecondary"), 3);
            exp rect x                  (0) + (((0 - 264))) + ((0 - 51));
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -238 145.366 42.667 42.667 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/reticleTable.csv", 1, localvarstring("loadoutSecondaryReticle"), 4);
            exp rect x                  (0) + ((((0 - 264)) + 26)) + (0);
            exp forecolor a             (select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1))) * (localvarstring("loadoutSecondary") != "none"));
        }
        itemDef
        {
            rect                        -258 220.033 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) != "specialty_null" && localvarstring("loadoutPerk1") != ""));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3) + "_upgrade";
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 267.7 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) != "specialty_null" && localvarstring("loadoutPerk2") != ""));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3) + "_upgrade";
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 315.367 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) != "specialty_null" && localvarstring("loadoutPerk3") != ""));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3) + "_upgrade";
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 220.033 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8) == "specialty_null"));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 3);
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 267.7 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8) == "specialty_null"));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 3);
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 315.367 38.667 38.667 3 1
            style                       3
            decoration                  
            visible                     when((tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8) == "specialty_null"));
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 3);
            exp rect x                  (0) + (((0 - 264) + 6)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 216.367 200 18.033 3 1
            style                       1
            decoration                  
            autowrapped                 
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), int(9));
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 312.367 200 18.033 3 1
            style                       1
            decoration                  
            autowrapped                 
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), int(9));
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 264.367 200 18.033 3 1
            style                       1
            decoration                  
            autowrapped                 
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), int(9));
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 229.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when((!1));
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 277.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when((!1));
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 325.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when((!1));
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 229.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk1"), 8), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 277.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk2"), 8), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 325.7 213.333 32 3 1
            style                       1
            decoration                  
            autowrapped                 
            type                        21
            visible                     when(1);
            textalign                   4
            textscale                   0.340278
            textfont                    3
            forecolor                   0.784 0.784 0.784 1
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutPerk3"), 8), 4);
            exp rect x                  (0) + (((0 - 264) + 50)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_specialist"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, select(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0) != "" && getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0) != "none", getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 0) + "_pro", "none"), 14);
            exp rect x                  (0) + ((((0 - 264) + 6))) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -236 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_specialist"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, select(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1) != "" && getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1) != "none", getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 1) + "_pro", "none"), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 22)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_specialist"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, select(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2) != "" && getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2) != "none", getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "specialistStreaks", 2) + "_pro", "none"), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 44)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -190 363.7 200 20 3 1
            style                       1
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_specialist"));
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@PERKS_SPECIALIST";
            exp rect x                  (0) + ((((0 - 264) + 6) + 68)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_support"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 0), 14);
            exp rect x                  (0) + ((((0 - 264) + 6))) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -236 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_support"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 1), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 22)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_support"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "defenseStreaks", 2), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 44)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -190 363.7 200 20 3 1
            style                       1
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_support"));
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@PERKS_SUPPORT";
            exp rect x                  (0) + ((((0 - 264) + 6) + 68)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -258 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_assault"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 0), 14);
            exp rect x                  (0) + ((((0 - 264) + 6))) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -236 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_assault"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 1), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 22)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -214 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_assault"));
            textscale                   0.55
            exp material                tablelookup("mp/killstreakTable.csv", 1, getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "assaultStreaks", 2), 14);
            exp rect x                  (0) + ((((0 - 264) + 6) + 44)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -190 363.7 200 20 3 1
            style                       1
            decoration                  
            visible                     when((getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "perks", 5) == "streaktype_assault"));
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@PERKS_ASSAULT";
            exp rect x                  (0) + ((((0 - 264) + 6) + 68)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -114 363.7 21.333 21.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            exp material                tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutDeathStreak"), 3);
            exp rect x                  (0) + ((((0 - 264) + 6) + 144)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -90 363.7 258.633 18.633 3 1
            style                       1
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.340278
            textfont                    3
            exp text                    "@" + tablelookup("mp/perkTable.csv", 1, localvarstring("loadoutDeathStreak"), 2);
            exp rect x                  (0) + (((0 - 264) + 6)) + (168);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -266.333 3.7 266.667 23.633 3 1
            style                       1
            decoration                  
            visible                     when((0));
            textalign                   10
            textscale                   0.5
            textfont                    9
            exp text                    getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name");
            exp rect x                  (0) + (((0 - 264) + (0 - 2.333))) + (0);
            exp forecolor a             select((getTextWidth(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"), 9, 0.5) <= 267), (select((1 || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)))), 0);
        }
        itemDef
        {
            rect                        -266.333 3.7 266.667 23.633 3 1
            style                       1
            decoration                  
            visible                     when((0));
            textalign                   10
            textscale                   0.4
            textfont                    9
            exp text                    getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name");
            exp rect x                  (0) + (((0 - 264) + (0 - 2.333))) + (0);
            exp forecolor a             select(((getTextWidth(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"), 9, 0.5) > 267) && (getTextWidth(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"), 9, 0.4) <= 267)), (select((1 || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)))), 0);
        }
        itemDef
        {
            rect                        -266.333 3.7 266.667 23.633 3 1
            style                       1
            decoration                  
            visible                     when((0));
            textalign                   10
            textscale                   0.3
            textfont                    9
            exp text                    getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name");
            exp rect x                  (0) + (((0 - 264) + (0 - 2.333))) + (0);
            exp forecolor a             select((getTextWidth(getmatchrulesdata("defaultClasses", localvarstring("ui_editingTeam"), localvarint("ui_editingClassIndex"), "class", "name"), 9, 0.4) > 267), (select((1 || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)))), 0);
        }
        itemDef
        {
            rect                        -256.667 185.367 253.333 1.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "linedoublesided"
            exp rect x                  (0) + (((0 - 264) + 7.333)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -256.667 213.033 253.333 1.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "linedoublesided"
            exp rect x                  (0) + (((0 - 264) + 7.333)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "equipment") || (localvarstring("ui_cac_details_selection") == "special_equipment") || (localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -256.667 107.7 253.333 1.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "linedoublesided"
            exp rect x                  (0) + (((0 - 264) + 7.333)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "secondary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -256.667 358.367 253.333 1.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "linedoublesided"
            exp rect x                  (0) + (((0 - 264) + 7.333)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "perk_slot_0") || (localvarstring("ui_cac_details_selection") == "perk_slot_1") || (localvarstring("ui_cac_details_selection") == "perk_slot_2") || (localvarstring("ui_cac_details_selection") == "killstreaks") || (localvarstring("ui_cac_details_selection") == "deathstreaks") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -256.667 31.7 253.333 1.333 3 1
            style                       3
            decoration                  
            visible                     when(1);
            textscale                   0.55
            background                  "linedoublesided"
            exp rect x                  (0) + (((0 - 264) + 7.333)) + (0);
            exp forecolor a             select(((localvarstring("ui_cac_details_selection") == "primary_weapons") || (localvarstring("ui_cac_details_selection") == "all")), 1, 0.25) * select((dvarbool(widescreen) || !localvarbool("ui_shelfEnabled")), 1, select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 1, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 1)));
        }
        itemDef
        {
            rect                        -88 52 325.333 8.666 1 1
            style                       3
            decoration                  
            visible                     when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "DEFCLASS"));
            textscale                   0.55
            background                  "navbar_selection_bar_shadow"
            exp rect y                  ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            type                        1
            visible                     when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
            textalign                   8
            textscale                   0.375
            textfont                    3
            onFocus
            {
                setLocalVarInt ui_ralign_index 2;
                setLocalVarString ui_ralign_group "menu_defaultclass_config_teammembers_2teams";
                play mouse_over;
            }
            leaveFocus
            {
                setLocalVarInt ui_ralign_index - 1;
                setLocalVarString ui_ralign_group "";
            }
            action
            {
                play mouse_click;
                uiscript simulateKeyPress 102;
            }
            exp rect x                  (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 8.666 3 3
            style                       3
            decoration                  
            visible                     when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (!0) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"));
            textscale                   0.55
            background                  "navbar_selection_bar_shadow"
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
            exp rect y                  ((0 - 20.667)) + 20;
            exp rect w                  getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            style                       1
            decoration                  
            visible                     when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"));
            textscale                   0.55
            backcolor                   0.6 0.6314 0.6 1
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            decoration                  
            visible                     when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
            textalign                   8
            textscale                   0.375
            textfont                    3
            execKey "f"
            {
                if (((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))))
                {
                    setLocalVarBool ui_vault_browse 0;
                    setLocalVarBool ui_vault_load 0;
                    execnow "incnosplitscreencontrol popup_friends";
                    if (isprofilesignedin() && isusersignedintolive())
                    {
                        open popup_friends;
                    }
                    else
                    {
                        execnow "decnosplitscreencontrol popup_friends";
                    }
                }
            }
            exp text                    "@PLATFORM_FRIENDS_SHORTCUT";
            exp rect x                  (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375);
            exp forecolor r             select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor g             select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor b             select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            type                        1
            visible                     when(1);
            textalign                   8
            textscale                   0.375
            textfont                    3
            onFocus
            {
                setLocalVarInt ui_ralign_index 1;
                setLocalVarString ui_ralign_group "menu_defaultclass_config_teammembers_2teams";
                play mouse_over;
            }
            leaveFocus
            {
                setLocalVarInt ui_ralign_index - 1;
                setLocalVarString ui_ralign_group "";
            }
            action
            {
                play mouse_click;
                uiscript simulateKeyPress 27;
            }
            exp rect x                  (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 8.666 3 3
            style                       3
            decoration                  
            visible                     when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"));
            textscale                   0.55
            background                  "navbar_selection_bar_shadow"
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667)) + 20;
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            style                       1
            decoration                  
            visible                     when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"));
            textscale                   0.55
            backcolor                   0.6 0.6314 0.6 1
            exp rect x                  (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
        }
        itemDef
        {
            rect                        0 0 0 20 3 3
            decoration                  
            visible                     when(1);
            textalign                   8
            textscale                   0.375
            textfont                    3
            exp text                    "@PLATFORM_BACK_SHORTCUT";
            exp rect x                  (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp rect y                  ((0 - 20.667));
            exp rect w                  getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
            exp forecolor r             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor g             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
            exp forecolor b             select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_defaultclass_config_teammembers_2teams"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
        }
    }
}
