local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_CorePackages_0.RoactRodux);
local l_RoactServices_0 = require(l_CorePackages_0.Workspace.Packages.RoactServices).RoactServices;
local v5 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local l_RetrievalStatus_0 = require(l_CorePackages_0.Workspace.Packages.Http).Enum.RetrievalStatus;
local l_PerformFetch_0 = require(l_CorePackages_0.Workspace.Packages.Http).PerformFetch;
local v9 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v10 = require(l_Modules_0.AvatarExperience.Common.Components.withOverlayFocusHandling);
local v11 = require(l_Modules_0.AvatarExperience.Common.Utils);
local v12 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.withMappedNavigationParams);
local v13 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.NavigationUtils);
local v14 = require(l_CorePackages_0.UIBlox);
local l_InteractiveAlert_0 = v14.App.Dialog.Alert.InteractiveAlert;
local l_ButtonType_0 = v14.App.Button.Enum.ButtonType;
local v17 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.RemoveCurrentlySellingAsset);
local v18 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.UpdateCollectibleInstanceResaleState);
local v19 = v2.PureComponent:extend("RemoveCurrentlySellingItemPrompt");
v19.init = function(v20)
    v20.removeSoldItem = function()
        if v20.props.fetchingState == l_RetrievalStatus_0.Fetching then
            return ;
        else
            local l_itemId_0 = v20.props.itemId;
            local l_collectibleItemId_0 = v20.props.collectibleItemId;
            local l_userAssetId_0 = v20.props.userAssetId;
            local l_networking_0 = v20.props.networking;
            local l_localUserId_0 = v20.props.localUserId;
            if not l_collectibleItemId_0 then
                v20.props.removeCurrentlySellingAsset(l_networking_0, l_itemId_0, l_userAssetId_0, l_localUserId_0);
                return ;
            else
                v20.props.removeCurrentlySellingCollectible(l_networking_0, l_collectibleItemId_0, l_userAssetId_0);
                return ;
            end;
        end;
    end;
    v20.closePrompt = function()
        v13.closeOverlay(v20.props.navigation);
    end;
end;
v19.willUpdate = function(v26, v27, _)
    if v11.isFetchingDoneOrFailed(v26.props.fetchingState, v27.fetchingState) then
        v26.closePrompt();
    end;
end;
v19.renderAlertLocalized = function(v29, v30)
    return v2.createElement(l_InteractiveAlert_0, {
        title = v30.titleText,
        bodyText = v30.messageText,
        buttonStackInfo = {
            buttons = {
                {
                    props = {
                        onActivated = v29.closePrompt,
                        text = v30.cancelButtonText
                    },
                    isDefaultChild = true
                },
                {
                    buttonType = l_ButtonType_0.PrimarySystem,
                    props = {
                        isLoading = v29.props.fetchingState == l_RetrievalStatus_0.Fetching,
                        onActivated = v29.removeSoldItem,
                        text = v30.confirmButtonText
                    }
                }
            }
        },
        screenSize = v29.props.screenSize,
        defaultChildRef = v29.props.defaultChildRef
    });
end;
v19.render = function(v31)
    return l_withLocalization_0({
        titleText = "Feature.Catalog.Heading.TakeOffSale",
        messageText = "Feature.Catalog.Label.TakeOffResaleConfirmation",
        confirmButtonText = "Feature.Catalog.Heading.TakeOffSale",
        cancelButtonText = "Feature.Catalog.Action.Cancel"
    })(function(v32)
        return v31:renderAlertLocalized(v32);
    end);
end;
return (v12((v10((l_RoactServices_0.connect({
    networking = v5
})((v3.connect(function(v33, v34)
    return {
        localUserId = v33.LocalUserId,
        fetchingState = l_PerformFetch_0.GetStatus(v33, if not v34.collectibleItemId then v9.RemoveCurrentlySellingAssetKey else v9.UpdateCollectibleInstanceResaleStateKey .. tostring(v34.userAssetId)),
        screenSize = v33.ScreenSize
    };
end, function(v35)
    return {
        removeCurrentlySellingAsset = function(v36, v37, v38, v39)
            return v35(v17(v36, v37, v38, v39));
        end,
        removeCurrentlySellingCollectible = function(v40, v41, v42)
            return v35(v18(v40, v41, v42, false, nil));
        end
    };
end)(v19))))))));


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Packages.React);
local v3 = require(l_CorePackages_0.UIBlox);
local l_useSelector_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useSelector;
local l_useLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).Hooks.useLocalization;
local v6 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.NavigationUtils);
local v7 = require(l_Modules_0.AvatarExperience.Common.Components.withOverlayFocusHandling);
local l_ButtonType_0 = v3.App.Button.Enum.ButtonType;
local l_InteractiveAlert_0 = v3.App.Dialog.Alert.InteractiveAlert;
return v7(function(v10)
    local v12 = l_useSelector_0(function(v11)
        return v11.ScreenSize;
    end);
    local v13 = v2.useCallback(function()
        v6.closeOverlay(v10.navigation);
    end, {
        v10.navigation
    });
    local v14 = l_useLocalization_0({
        titleText = "Feature.Catalog.Label.ResaleFeePolicy",
        bodyText = "Feature.Catalog.Message.ResaleFeePolicy",
        gotItButtonText = "Feature.Avatar.Action.GotIt"
    });
    return v2.createElement(l_InteractiveAlert_0, {
        title = v14.titleText,
        bodyText = v14.bodyText:gsub("({yourSharePercent})", v10.navigation.state.params.yourSharePercent):gsub("({robloxFeePercent})", v10.navigation.state.params.robloxFeePercent),
        buttonStackInfo = {
            buttons = {
                {
                    buttonType = l_ButtonType_0.PrimarySystem,
                    props = {
                        onActivated = v13,
                        text = v14.gotItButtonText
                    }
                }
            }
        },
        screenSize = v12
    });
end);


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_CorePackages_0.Packages.t);
local v4 = require(l_CorePackages_0.RoactRodux);
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local v6 = require(l_Modules_0.AvatarExperience.Common.Components.withOverlayFocusHandling);
local v7 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.withMappedNavigationParams);
local v8 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.withAvatarRoute);
local v9 = require(l_CorePackages_0.UIBlox);
local l_InteractiveAlert_0 = v9.App.Dialog.Alert.InteractiveAlert;
local l_ButtonType_0 = v9.App.Button.Enum.ButtonType;
local v12 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.NavigationUtils);
local _ = require(l_Modules_0.AvatarExperience.Common.Types);
local l_RoactServices_0 = require(l_CorePackages_0.Workspace.Packages.RoactServices).RoactServices;
local v15 = require(l_Modules_0.LuaApp.Services.RoactAnalytics);
local v16 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local v17 = require(l_Modules_0.AvatarExperience.Catalog.Services.Analytics);
local v18 = require(l_Modules_0.AvatarExperience.Common.Constants);
local v19 = require(l_Modules_0.AvatarExperience.Common.Thunks.ToggleTryOnThunk);
local v20 = require(l_Modules_0.AvatarExperience.Common.Actions.ClearTryOns);
local v21 = require(l_Modules_0.AvatarExperience.Common.wrapDispatchTable);
local v22 = require(l_Modules_0.AvatarExperience.Catalog.Selectors.selectNumTryOnItems);
local v23 = v2.PureComponent:extend("ResetToNewCharacterPrompt");
v23.validateProps = v3.strictInterface({
    screenSize = v3.Vector2,
    numCartItems = v3.number,
    clearTryOns = v3.callback,
    toggleTryOn = v3.callback,
    networking = v3.callback,
    appAnalytics = v3.table,
    catalogAnalytics = v3.table,
    itemId = v3.string,
    navigation = v3.table,
    avatarRoute = v3.table,
    focusController = v3.optional(v3.table),
    defaultChildRef = v3.optional(v3.table),
    onOverlayClosed = v3.optional(v3.callback)
});
v23.init = function(v24)
    v24.equipNewCharacter = function()
        v24.props.toggleTryOn(v24.props.networking, v24.props.catalogAnalytics, v18.ItemType.Bundle, v18.BundleTypeIdStrings.BodyParts, v24.props.itemId, true, v24.props.avatarRoute, v24.props.navigation);
    end;
    v24.resetTryOnsAndAdd = function()
        v24.props.catalogAnalytics.characterBundleSwapAction(true, v24.props.numCartItems);
        v24.props.clearTryOns();
        v24.equipNewCharacter();
        v24.closePrompt();
    end;
    v24.keepTryOnsAndAdd = function()
        v24.props.catalogAnalytics.characterBundleSwapAction(false, v24.props.numCartItems);
        v24.equipNewCharacter();
        v24.closePrompt();
    end;
    v24.closePrompt = function()
        v12.closeOverlay(v24.props.navigation);
    end;
end;
v23.renderAlertLocalized = function(v25, v26)
    return v2.createElement(l_InteractiveAlert_0, {
        title = v26.resetToNewCharacterTitle,
        bodyText = v26.resetToNewCharacterBody,
        buttonStackInfo = {
            buttons = {
                {
                    props = {
                        onActivated = v25.resetTryOnsAndAdd,
                        text = v26.reset
                    },
                    isDefaultChild = true
                },
                {
                    buttonType = l_ButtonType_0.PrimarySystem,
                    props = {
                        onActivated = v25.keepTryOnsAndAdd,
                        text = v26.keep
                    }
                }
            }
        },
        screenSize = v25.props.screenSize,
        defaultChildRef = v25.props.defaultChildRef
    });
end;
v23.render = function(v27)
    return l_withLocalization_0({
        resetToNewCharacterTitle = "Feature.Avatar.Title.ResetToNewCharacter",
        resetToNewCharacterBody = "Feature.Avatar.Label.ResetToNewCharacter",
        reset = "CommonUI.Messages.Action.Reset",
        keep = "Feature.Avatar.Action.Keep"
    })(function(v28)
        return v27:renderAlertLocalized(v28);
    end);
end;
return (v7((v6((v8((v4.connect(function(v29, _)
    return {
        screenSize = v29.ScreenSize,
        numCartItems = v22(v29)
    };
end, v21({
    clearTryOns = v20,
    toggleTryOn = v19
}))((l_RoactServices_0.connect({
    appAnalytics = v15,
    catalogAnalytics = v17,
    networking = v16
})(v23))))))))));


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local l_UserInputService_0 = game:GetService("UserInputService");
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.RoactRodux);
local l_RoactServices_0 = require(l_CorePackages_0.Workspace.Packages.RoactServices).RoactServices;
local v6 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local v7 = require(l_Modules_0.LuaApp.Services.RoactLocalization);
local l_NumberLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).NumberLocalization;
local v9 = require(l_CorePackages_0.AvatarExperienceDeps);
local v10 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v10.Focusable;
local l_RoactFitComponents_0 = v9.RoactFitComponents;
local l_FitFrameHorizontal_0 = l_RoactFitComponents_0.FitFrameHorizontal;
local l_FitFrameVertical_0 = l_RoactFitComponents_0.FitFrameVertical;
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local v16 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.RemoveAvailableToSellAsset);
local v17 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.GetMarketplaceFee);
local v18 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.withMappedNavigationParams);
local v19 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.NavigationUtils);
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local v21 = require(l_Modules_0.AvatarExperience.Common.Components.withOverlayFocusHandling);
local v22 = require(l_Modules_0.AvatarExperience.Catalog.CatalogUtils);
local v23 = require(l_Modules_0.AvatarExperience.Common.Selectors.DEPRECATED_ItemData);
local v24 = require(l_Modules_0.AvatarExperience.Common.Selectors.selectItemInfo);
local v25 = require(l_Modules_0.AvatarExperience.Flags.FFlagAXFixItemTypeHandling);
local v26 = require(l_Modules_0.AvatarExperience.Common.Utils);
local l_RetrievalStatus_0 = require(l_CorePackages_0.Workspace.Packages.Http).Enum.RetrievalStatus;
local l_PerformFetch_0 = require(l_CorePackages_0.Workspace.Packages.Http).PerformFetch;
local v29 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v30 = require(l_Modules_0.AvatarExperience.Catalog.Components.IconTextBox);
local v31 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.RobuxAmountDisplay);
local v32 = require(l_CorePackages_0.UIBlox);
local l_ImageSetLabel_0 = v32.Core.ImageSet.ImageSetLabel;
local l_Images_0 = v32.App.ImageSet.Images;
local l_withStyle_0 = v32.Style.withStyle;
local l_InteractiveAlert_0 = v32.App.Dialog.Alert.InteractiveAlert;
local l_ButtonType_0 = v32.App.Button.Enum.ButtonType;
local l_LoadingStateContainer_0 = v32.App.Container.LoadingStateContainer;
local l_RetrievalStatus_1 = v32.App.Loading.Enum.RetrievalStatus;
local v40 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXResalePriceFloor);
local v41 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXLimitedBundlesHandleNewData);
local v42 = l_Images_0["icons/common/robux"];
local v43 = v3.PureComponent:extend("SellItemPrompt");
v43.init = function(v44)
    v44.isMounted = false;
    v44.state = {
        isKeyboardRepositioned = false,
        priceInRobux = 0
    };
    v44.changeText = function(v45)
        if v44.isMounted then
            local l_priceInRobux_0 = v44.state.priceInRobux;
            local l_Text_0 = v45.Text;
            local v48 = l_priceInRobux_0 == 0 and "" or l_priceInRobux_0;
            if string.len(l_Text_0) > 10 then
                v45.Text = v48;
                return ;
            elseif l_priceInRobux_0 ~= 0 and (not (l_Text_0 ~= nil) or l_Text_0 == "") then
                v44:setState({
                    priceInRobux = 0
                });
                return ;
            elseif not string.match(l_Text_0, "^[0-9]+$") then
                v45.Text = v48;
                return ;
            else
                v44:setState({
                    priceInRobux = l_Text_0
                });
                return ;
            end;
        else
            return ;
        end;
    end;
    v44.sellItem = function()
        local l_priceInRobux_1 = v44.state.priceInRobux;
        if not (not l_priceInRobux_1 or tonumber(l_priceInRobux_1) <= 0) then
            v44.props.sellAsset(v44.props.networking, v44.props.itemId, v44.props.userAssetId, (tonumber(l_priceInRobux_1)));
            return ;
        else
            return ;
        end;
    end;
    v44.getMarketplaceFee = function()
        return v44.props.getMarketplaceFee(v44.props.networking);
    end;
    v44.keyboardConnection = l_UserInputService_0:GetPropertyChangedSignal("OnScreenKeyboardVisible"):connect(function()
        if v44.isMounted then
            if not (v44.state.isKeyboardRepositioned or not l_UserInputService_0.OnScreenKeyboardVisible) then
                v44:setState({
                    isKeyboardRepositioned = true
                });
            end;
            return ;
        else
            return ;
        end;
    end);
    v44.getMiddleContent = function(v50)
        return function()
            return v3.createElement(l_LoadingStateContainer_0, {
                dataStatus = l_RetrievalStatus_1.fromRawValue(v44.props.marketPlaceFeeFetchingState),
                onRetry = v44.getMarketplaceFee,
                renderOnLoaded = function()
                    return l_withStyle_0(function(v51)
                        return v44:renderOnLoaded(v50, v51);
                    end);
                end
            });
        end;
    end;
    v44.closePrompt = function()
        v19.closeOverlay(v44.props.navigation);
    end;
end;
v43.didMount = function(v52)
    v52.isMounted = true;
    if v52.props.marketPlaceFeeFetchingState ~= l_RetrievalStatus_0.Fetching then
        v52.getMarketplaceFee();
    end;
end;
v43.willUpdate = function(v53, v54, _)
    if v26.isFetchingDoneOrFailed(v53.props.sellFetchingState, v54.sellFetchingState) then
        v53.closePrompt();
    end;
end;
v43.renderOnLoaded = function(v56, v57, v58)
    local l_marketplaceFee_0 = v56.props.marketplaceFee;
    local l_averagePrice_0 = v56.props.averagePrice;
    local l_localization_0 = v56.props.localization;
    local l_priceInRobux_2 = v56.state.priceInRobux;
    local l_taxRate_0 = l_marketplaceFee_0.taxRate;
    local l_minimumFee_0 = l_marketplaceFee_0.minimumFee;
    local v65 = not not l_averagePrice_0 and l_NumberLocalization_0.localize(l_averagePrice_0, l_localization_0:GetLocale()) or "";
    local v66 = 0;
    local v67 = 0;
    local v68 = true;
    local v69 = tonumber(l_priceInRobux_2);
    if v69 and v69 > 0 then
        v68 = false;
        local v70 = v22.Round(l_taxRate_0 * v69);
        v66 = l_minimumFee_0 < v70 and v70 or l_minimumFee_0;
        v67 = l_NumberLocalization_0.localize(string.format("%.0f", v22.Round(v69 - v66)), l_localization_0:GetLocale());
    end;
    local v71 = v57.robloxFeeText:gsub("({feePercentage})", l_taxRate_0 * 100);
    local v72 = l_NumberLocalization_0.localize(string.format("%.0f", v66), l_localization_0:GetLocale());
    local l_Font_0 = v58.Font;
    local l_Theme_0 = v58.Theme;
    local v75 = l_Font_0.BaseSize * l_Font_0.Body.RelativeSize;
    local v76 = v75 + 2;
    return v3.createElement(l_FitFrameVertical_0, {
        contentPadding = UDim.new(0, 6),
        width = UDim.new(1, 0),
        BackgroundTransparency = 1,
        HorizontalAlignment = Enum.HorizontalAlignment.Center
    }, {
        PriceTextBox = v3.createElement(l_Focusable_0[v30], {
            LayoutOrder = 1,
            PlaceholderText = v57.placeholderText,
            Image = v42,
            TextInputType = Enum.TextInputType.Number,
            [v3.Change.Text] = v56.changeText
        }),
        WarningText = v68 and v3.createElement(l_FitTextLabel_0, {
            width = UDim.new(1, 0),
            BackgroundTransparency = 1,
            Text = v57.minimumWarningText,
            LayoutOrder = 2,
            TextXAlignment = Enum.TextXAlignment.Left,
            Size = UDim2.new(1, 0, 0, 20),
            TextColor3 = l_Theme_0.Alert.Color,
            TextWrapped = true,
            Font = l_Font_0.Body.Font,
            TextSize = l_Font_0.Body.RelativeSize * l_Font_0.BaseSize
        }),
        RobuxFeeContainer = v3.createElement("Frame", {
            BackgroundTransparency = 1,
            LayoutOrder = 3,
            Size = UDim2.new(1, 0, 0, v76)
        }, {
            RobloxFeeLabel = v3.createElement(l_FitTextLabel_0, {
                width = l_FitTextLabel_0.Width.FitToText,
                BackgroundTransparency = 1,
                Font = l_Font_0.Body.Font,
                Text = v71,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextSize = v75,
                TextXAlignment = Enum.TextXAlignment.Left,
                LayoutOrder = 1,
                Size = UDim2.new(0, 0, 1, 0)
            }),
            RobuxContainer = v3.createElement(l_FitFrameHorizontal_0, {
                height = UDim.new(1, 0),
                contentPadding = UDim.new(0, 6),
                FillDirection = Enum.FillDirection.Horizontal,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                AnchorPoint = Vector2.new(1, 0),
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                LayoutOrder = 2,
                Position = UDim2.new(1, 0, 0, 0)
            }, {
                MinusText = v3.createElement(l_FitTextLabel_0, {
                    width = l_FitTextLabel_0.Width.FitToText,
                    LayoutOrder = 1,
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Text = "-",
                    Font = l_Font_0.Body.Font,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextSize = v75
                }),
                Image = v3.createElement(l_ImageSetLabel_0, {
                    LayoutOrder = 2,
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Size = UDim2.new(0, v75, 0, v75),
                    Image = v42,
                    ImageColor3 = l_Theme_0.TextDefault.Color,
                    ImageTransparency = l_Theme_0.TextDefault.Transparency
                }),
                Text = v3.createElement(l_FitTextLabel_0, {
                    width = l_FitTextLabel_0.Width.FitToText,
                    LayoutOrder = 3,
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Text = v72,
                    Font = l_Font_0.Body.Font,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextSize = v75
                })
            })
        }),
        YouEarnContainer = v3.createElement("Frame", {
            BackgroundTransparency = 1,
            LayoutOrder = 4,
            Size = UDim2.new(1, 0, 0, v76)
        }, {
            YouEarnLabel = v3.createElement(l_FitTextLabel_0, {
                width = l_FitTextLabel_0.Width.FitToText,
                BackgroundTransparency = 1,
                Font = l_Font_0.Body.Font,
                Text = v57.sellCutText,
                TextColor3 = l_Theme_0.TextEmphasis.Color,
                TextTransparency = l_Theme_0.TextEmphasis.Transparency,
                TextSize = v75,
                TextXAlignment = Enum.TextXAlignment.Left,
                LayoutOrder = 1,
                Size = UDim2.new(0, 0, 1, 0)
            }),
            RobuxContainer = v3.createElement(l_FitFrameHorizontal_0, {
                height = UDim.new(1, 0),
                contentPadding = UDim.new(0, 6),
                FillDirection = Enum.FillDirection.Horizontal,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                AnchorPoint = Vector2.new(1, 0),
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                LayoutOrder = 2,
                Position = UDim2.new(1, 0, 0, 0)
            }, {
                Image = v3.createElement(l_ImageSetLabel_0, {
                    LayoutOrder = 1,
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Size = UDim2.new(0, v75, 0, v75),
                    Image = v42,
                    ImageColor3 = l_Theme_0.TextDefault.Color,
                    ImageTransparency = l_Theme_0.TextDefault.Transparency
                }),
                Text = v3.createElement(l_FitTextLabel_0, {
                    width = l_FitTextLabel_0.Width.FitToText,
                    LayoutOrder = 2,
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Text = tostring(v67),
                    Font = l_Font_0.Body.Font,
                    TextColor3 = l_Theme_0.TextEmphasis.Color,
                    TextTransparency = l_Theme_0.TextEmphasis.Transparency,
                    TextSize = v75
                })
            })
        }),
        AverageSellPriceContainer = v3.createElement("Frame", {
            BackgroundTransparency = 1,
            LayoutOrder = 5,
            Size = UDim2.new(1, 0, 0, v76)
        }, {
            UIListLayout = v3.createElement("UIListLayout", {
                FillDirection = Enum.FillDirection.Horizontal,
                HorizontalAlignment = Enum.HorizontalAlignment.Center,
                Padding = UDim.new(0, 12),
                SortOrder = Enum.SortOrder.LayoutOrder,
                VerticalAlignment = Enum.VerticalAlignment.Center
            }),
            AverageSellPriceLabel = v3.createElement(l_FitTextLabel_0, {
                width = l_FitTextLabel_0.Width.FitToText,
                BackgroundTransparency = 1,
                Font = l_Font_0.Body.Font,
                Text = v57.averageSellPriceText,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextSize = v75,
                LayoutOrder = 0
            }),
            RobuxContainer = v3.createElement(v31, {
                robuxAmountText = v65,
                iconSize = v75,
                textSize = v75,
                padding = 6
            })
        })
    });
end;
v43.render = function(v77)
    return l_withLocalization_0({
        titleText = "Feature.Catalog.Heading.SellItem",
        robloxFeeText = "Feature.Catalog.Label.RobuxFee",
        sellCutText = "Feature.Catalog.Label.SellCut",
        averageSellPriceText = "Feature.Catalog.Label.AveragePrice",
        placeholderText = "Feature.Catalog.Label.Price",
        minimumWarningText = "Feature.Catalog.Label.MinimumAmount",
        minimumWarningTextWithPrice = if not v40() then nil else "Feature.Catalog.Label.MinimumAmountCustom",
        confirmButtonText = "Feature.Catalog.Action.Sell",
        cancelButtonText = "Feature.Catalog.Action.Cancel"
    })(function(v78)
        local l_screenSize_0 = v77.props.screenSize;
        local v80 = tonumber(v77.state.priceInRobux);
        local v81 = not v80 or v80 == 0;
        local v82 = UDim2.new(0.5, 0, 0.5, 0);
        if v77.state.isKeyboardRepositioned then
            v82 = UDim2.new(0.5, 0, 0, (l_screenSize_0.Y - l_UserInputService_0.OnScreenKeyboardSize.Y) / 2);
        end;
        local l_createElement_0 = v3.createElement;
        local l_Frame_0 = l_Focusable_0.Frame;
        local v85 = {
            Size = UDim2.fromScale(1, 1),
            BackgroundTransparency = 1,
            inputBindings = {
                SellItem = v10.Input.onBegin(Enum.KeyCode.ButtonX, v77.sellItem, {
                    key = "Feature.Catalog.Action.Sell",
                    disabled = v81
                })
            }
        };
        local v86 = {};
        local l_createElement_1 = v3.createElement;
        local l_l_InteractiveAlert_0_0 = l_InteractiveAlert_0;
        local v89 = {
            title = v78.titleText
        };
        local v90 = {};
        local v91 = {};
        local v92 = {
            props = {
                onActivated = v77.closePrompt,
                text = v78.cancelButtonText
            },
            isDefaultChild = true
        };
        local v93 = {
            buttonType = l_ButtonType_0.PrimarySystem
        };
        local v94 = {
            isDisabled = v81
        };
        local v95 = true;
        if v77.props.sellFetchingState ~= l_RetrievalStatus_0.Fetching then
            v95 = v77.props.marketPlaceFeeFetchingState == l_RetrievalStatus_0.Fetching;
        end;
        v94.isLoading = v95;
        v94.onActivated = v77.sellItem;
        v94.text = v78.confirmButtonText;
        v93.props = v94;
        setlist { ['R015[1 to 2]'] = 'R016 to R017' };
        v90.buttons = v91;
        v89.buttonStackInfo = v90;
        v89.middleContent = v77.getMiddleContent(v78);
        v89.isMiddleContentFocusable = true;
        v89.position = v82;
        v89.screenSize = v77.props.screenSize;
        v89.defaultChildRef = v77.props.defaultChildRef;
        v86.InteractiveAlert = l_createElement_1(l_l_InteractiveAlert_0_0, v89);
        return l_createElement_0(l_Frame_0, v85, v86);
    end);
end;
v43.willUnmount = function(v96)
    v96.keyboardConnection:disconnect();
    v96.keyboardConnection = nil;
    v96.isMounted = false;
end;
return (v18((v21((l_RoactServices_0.connect({
    networking = v6,
    localization = v7
})((v4.connect(function(v97, v98)
    local l_itemId_0 = v98.itemId;
    local l_itemType_0 = v98.itemType;
    local l_userAssetId_0 = v98.userAssetId;
    local v102 = nil;
    local v103 = nil;
    local v104 = 0;
    if not v25 then
        local v105 = v23(v97.AvatarExperience.Common, l_itemId_0, l_itemType_0);
        v102 = v105 and v105.averagePrice;
        if v41() then
            v103 = v105 and v105.collectibleItemId;
            if v40() then
                v104 = not not v97.AvatarExperience.Catalog.CollectibleMarketplaceResaleParameters[v103] and v97.AvatarExperience.Catalog.CollectibleMarketplaceResaleParameters[v103].priceFloor or 0;
            end;
        end;
    else
        local v106 = v24(v97.AvatarExperience, l_itemId_0, l_itemType_0);
        v102 = if not v106 then nil else v106.averagePrice;
        if v41() then
            v103 = v106 and v106.collectibleItemId;
            if v40() then
                v104 = (not not v97.AvatarExperience.Catalog.CollectibleMarketplaceResaleParameters and v97.AvatarExperience.Catalog.CollectibleMarketplaceResaleParameters[v103]) and v97.AvatarExperience.Catalog.CollectibleMarketplaceResaleParameters[v103].priceFloor or 0;
            end;
        end;
    end;
    return {
        screenSize = v97.ScreenSize,
        averagePrice = v102,
        sellFetchingState = l_PerformFetch_0.GetStatus(v97, v29.RemoveAvailableToSellAssetKey .. tostring(l_userAssetId_0)),
        marketPlaceFeeFetchingState = l_PerformFetch_0.GetStatus(v97, v29.GetMarketplaceFeeKey),
        marketplaceFee = v97.AvatarExperience.Catalog.MarketplaceFee,
        collectibleItemId = v103,
        priceFloor = v104
    };
end, function(v107)
    return {
        getMarketplaceFee = function(v108)
            return v107(v17(v108));
        end,
        sellAsset = function(v109, v110, v111, v112)
            return v107(v16(v109, v110, v111, v112));
        end
    };
end)(v43))))))));


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Cryo);
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v4.Focusable;
local v6 = require(l_CorePackages_0.RoactNavigation);
local v7 = require(l_CorePackages_0.RoactRodux);
local v8 = require(l_CorePackages_0.Packages.t);
local l_RoactServices_0 = require(l_CorePackages_0.Workspace.Packages.RoactServices).RoactServices;
local v10 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local v11 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v12 = require(l_Modules_0.AvatarExperience.Common.Constants);
local v13 = require(l_Modules_0.AvatarExperience.Catalog.CatalogUtils);
local v14 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.GetRecommendedAssets);
local v15 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.GetRecommendedBundles);
local v16 = require(l_Modules_0.AvatarExperience.Catalog.Components.ItemsList.BaseItemCard);
local v17 = require(l_Modules_0.AvatarExperience.Common.Components.LoadableGridView);
local v18 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.Debug.logOnOverlayClosed);
local v19 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AppRouterWrapper.NavigateDownToAvatarScreen);
local v20 = require(l_Modules_0.AvatarExperience.Catalog.Services.Analytics);
local v21 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.SendDetailedCatalogAnalytics);
local v22 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.MaybePromptForR15Upgrade);
local l_wasLastInputGamepad_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).wasLastInputGamepad;
local v24 = require(l_Modules_0.AvatarExperience.Common.Selectors.DEPRECATED_ItemData);
local v25 = require(l_Modules_0.AvatarExperience.Common.Selectors.selectItemInfo);
local v26 = require(l_Modules_0.AvatarExperience.Flags.FFlagAXFixItemTypeHandling);
local l_withStyle_0 = require(l_CorePackages_0.UIBlox).Style.withStyle;
local v28 = v3.PureComponent:extend("RecommendedItemsGrid");
v28.validateProps = v8.strictInterface({
    itemId = v8.string,
    itemType = v8.string,
    itemSubType = v8.optional(v8.string),
    LayoutOrder = v8.optional(v8.integer),
    hideItemTitle = v8.optional(v8.boolean),
    getItemMetrics = v8.optional(v8.callback),
    onActivatedMountAsFullView = v8.optional(v8.boolean),
    recommendedItemSummaries = v8.optional(v8.array(v8.strictInterface({
        id = v8.string,
        type = v8.string,
        subType = v8.string
    }))),
    NextSelectionUp = v8.optional(v8.table),
    NextSelectionDown = v8.optional(v8.table),
    resultsListRef = v8.optional(v8.table),
    forwardRef = v8.optional(v8.table),
    itemDetailsPeekViewRefs = v8.optional(v8.table),
    getRecommendedAssets = v8.callback,
    getRecommendedBundles = v8.callback,
    sendDetailedCatalogAnalytics = v8.callback,
    maybePromptForR15Upgrade = v8.callback,
    navigateDownToAvatarScreen = v8.callback,
    navigation = v8.table,
    analytics = v8.table
});
v28.defaultProps = {
    itemType = v12.ItemType.Asset
};
v28.init = function(v29)
    v29.selectRecommendedItem = function(v30, v31, _)
        local l_id_0 = v30.id;
        local l_type_0 = v30.type;
        local l_subType_0 = v30.subType;
        local function v37()
            local v36 = l_wasLastInputGamepad_0();
            v18("RecommendedItemsGrid", v36);
            if v36 then
                v29.props.focusController.captureFocus();
            end;
        end;
        local function v38()
            v29.navigateToRecommendedItem(l_id_0, l_type_0, l_subType_0, v31);
        end;
        local function _()
            return v29.props.maybePromptForR15Upgrade(v29.props.navigation, l_id_0, l_type_0, v37, v38);
        end;
        if not v29.props.maybePromptForR15Upgrade(v29.props.navigation, l_id_0, l_type_0, v37, v38) then
            v29.navigateToRecommendedItem(l_id_0, l_type_0, l_subType_0, v31);
            return ;
        else
            return ;
        end;
    end;
    v29.navigateToRecommendedItem = function(v40, v41, v42, v43)
        if not (not v40 or not v41) and v42 then
            local v44 = true;
            if v29.props.onActivatedMountAsFullView ~= nil then
                v44 = v29.props.onActivatedMountAsFullView;
            end;
            local v45 = v29.props.navigation.getParam("fromProfile");
            local v46 = {
                itemId = v40,
                itemType = v41,
                itemSubType = v42,
                mountAsFullView = v44,
                mountAnimation = false,
                itemDetailsPeekViewRefs = v29.props.itemDetailsPeekViewRefs,
                resultsListRef = v29.props.resultsListRef,
                isFirstItemDetails = false,
                fromProfile = v45,
                showFullWithNoPeekView = v29.props.navigation.getParam("showFullWithNoPeekView")
            };
            if not v45 then
                v29.props.navigation.push(v10.ItemDetails, v46);
            else
                v29.props.navigateDownToAvatarScreen(v10.ItemDetails, v41 .. v40, v46);
            end;
            v29.props.sendDetailedCatalogAnalytics(v11.AnalyticsContext.ItemDetailsRecommendedItem, v29.props.analytics.clickCatalogItem, v40, v41, v43, v12.NumRecommendedItems, v45);
            return ;
        else
            return ;
        end;
    end;
    v29.renderRecommendedItem = function(v47, v48, v49)
        return v3.createElement(v16, {
            itemId = v47.id,
            itemType = v47.type,
            itemSubType = v47.subtype,
            hideItemTitle = v29.props.hideItemTitle,
            onActivated = function()
                v29.selectRecommendedItem(v47, v48, v49);
            end
        });
    end;
    v29.fetchRecommended = function()
        local l_itemId_0 = v29.props.itemId;
        local l_itemType_0 = v29.props.itemType;
        local l_itemSubType_0 = v29.props.itemSubType;
        if not (not l_itemId_0 or not l_itemType_0) and l_itemSubType_0 then
            if l_itemType_0 == v12.ItemType.Asset then
                v29.props.getRecommendedAssets(l_itemId_0, l_itemSubType_0, v12.NumRecommendedItems, true);
                return ;
            else
                v29.props.getRecommendedBundles(l_itemId_0, l_itemSubType_0, v12.NumRecommendedItems, true);
                return ;
            end;
        else
            return ;
        end;
    end;
end;
v28.didMount = function(v53)
    v53.fetchRecommended();
end;
v28.didUpdate = function(v54, v55)
    local l_itemSubType_1 = v55.itemSubType;
    if not (not v54.props.itemSubType or l_itemSubType_1) then
        v54.fetchRecommended();
    end;
end;
v28.render = function(v57)
    if v57.props.itemId == nil then
        return ;
    else
        local l_LayoutOrder_0 = v57.props.LayoutOrder;
        local l_recommendedItemSummaries_0 = v57.props.recommendedItemSummaries;
        return l_withStyle_0(function(v60)
            local l_Font_0 = v60.Font;
            local l_forwardRef_0 = v57.props.forwardRef;
            return v4.withFocusController(function(v63)
                return v3.createElement(l_Focusable_0[v17], {
                    items = l_recommendedItemSummaries_0,
                    renderItem = function(v64, v65)
                        return v57.renderRecommendedItem(v64, v65, v63);
                    end,
                    getItemHeight = function(v66)
                        return (v66 + 10) + v13.getRecommendedItemsGridItemTitleHeight(l_Font_0);
                    end,
                    LayoutOrder = l_LayoutOrder_0,
                    totalNumItems = v12.NumRecommendedItems,
                    getItemMetrics = v57.props.getItemMetrics,
                    NextSelectionUp = v57.props.NextSelectionUp,
                    NextSelectionDown = v57.props.NextSelectionDown,
                    NextSelectionLeft = v57.props.NextSelectionLeft,
                    [v3.Ref] = l_forwardRef_0,
                    inputBindings = {
                        MoveToActionBar = v4.Input.onBegin(Enum.KeyCode.ButtonR2, function()
                            v63.moveFocusTo(v57.props.NextSelectionDown);
                        end)
                    }
                });
            end);
        end);
    end;
end;
v28 = v6.withNavigation((l_RoactServices_0.connect({
    analytics = v20
})((v7.connect(function(v67, v68)
    if not v26 then
        local v69 = v24(v67.AvatarExperience.Common, v68.itemId, v68.itemType);
        return {
            recommendedItemSummaries = v69 and v69.recommendedItemSummaries
        };
    else
        local v70 = v25(v67.AvatarExperience, v68.itemId, v68.itemType);
        return {
            recommendedItemSummaries = v70 and v70.recommendedItemSummaries
        };
    end;
end, function(v71)
    return {
        getRecommendedAssets = function(v72, v73, v74, v75)
            v71(v14(v72, v73, v74, v75));
        end,
        getRecommendedBundles = function(v76, v77, v78, v79)
            v71(v15(v76, v77, v78, v79));
        end,
        sendDetailedCatalogAnalytics = function(v80, v81, v82, v83, v84, v85, v86)
            v71(v21(v80, v81, v82, v83, v84, v85, v86));
        end,
        maybePromptForR15Upgrade = function(v87, v88, v89, v90, v91)
            return v71(v22(v87, v88, v89, v90, v91, false));
        end,
        navigateDownToAvatarScreen = function(v92, v93, v94)
            return v71(v19(v92, v93, v94));
        end
    };
end)(v28)))));
return v3.forwardRef(function(v95, v96)
    return v3.createElement(v28, v2.Dictionary.join(v95, {
        forwardRef = v96
    }));
end);


local l_CorePackages_0 = game:GetService("CorePackages");
local v1 = require(l_CorePackages_0.Roact);
local v2 = require(l_CorePackages_0.Packages.t);
local l_RoactFitComponents_0 = require(l_CorePackages_0.AvatarExperienceDeps).RoactFitComponents;
local l_FitFrameHorizontal_0 = l_RoactFitComponents_0.FitFrameHorizontal;
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local v6 = require(l_CorePackages_0.UIBlox);
local l_withStyle_0 = v6.Style.withStyle;
local l_Images_0 = v6.App.ImageSet.Images;
local l_ImageSetLabel_0 = v6.Core.ImageSet.ImageSetLabel;
local v10 = v1.PureComponent:extend("RobuxAmountDisplay");
local v11 = l_Images_0["icons/common/robux"];
v10.validateProps = v2.strictInterface({
    robuxAmountText = v2.string,
    iconSize = v2.number,
    textSize = v2.number,
    padding = v2.number,
    showRobuxIcon = v2.optional(v2.boolean)
});
v10.defaultProps = {
    showRobuxIcon = true
};
v10.render = function(v12)
    return l_withStyle_0(function(v13)
        local l_Theme_0 = v13.Theme;
        return v1.createElement(l_FitFrameHorizontal_0, {
            height = UDim.new(1, 0),
            contentPadding = UDim.new(0, v12.props.padding),
            FillDirection = Enum.FillDirection.Horizontal,
            VerticalAlignment = Enum.VerticalAlignment.Center,
            BackgroundTransparency = 1,
            LayoutOrder = 1
        }, {
            Icon = v1.createElement(l_ImageSetLabel_0, {
                LayoutOrder = 1,
                BackgroundTransparency = 1,
                Size = UDim2.fromOffset(v12.props.iconSize, v12.props.iconSize),
                Image = v11,
                ImageColor3 = l_Theme_0.TextDefault.Color,
                ImageTransparency = l_Theme_0.TextDefault.Transparency,
                Visible = v12.props.showRobuxIcon
            }),
            Text = v1.createElement(l_FitTextLabel_0, {
                width = l_FitTextLabel_0.Width.FitToText,
                LayoutOrder = 2,
                Text = v12.props.robuxAmountText,
                Font = v13.Font.Body.Font,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextSize = v12.props.textSize,
                BackgroundTransparency = 1
            })
        });
    end);
end;
return v10;


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Cryo);
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.RoactRodux);
local v5 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.SellPage.AvailableToSellRow);
local v6 = v3.PureComponent:extend("AvailableToSellLimitedUniqueRow");
v6.render = function(v7)
    local l_userAssetInfo_0 = v7.props.userAssetInfo;
    if l_userAssetInfo_0 and (not l_userAssetInfo_0 or l_userAssetInfo_0.serialNumber) then
        return v3.createElement(v5, {
            LayoutOrder = v7.props.LayoutOrder,
            onActivated = v7.props.onActivated,
            horizontalPadding = v7.props.horizontalPadding,
            Position = v7.props.Position,
            Size = v7.props.Size,
            Text = "# " .. l_userAssetInfo_0.serialNumber,
            NextSelectionLeft = v7.props.NextSelectionLeft,
            NextSelectionRight = v7.props.NextSelectionRight,
            NextSelectionUp = v7.props.NextSelectionUp,
            NextSelectionDown = v7.props.NextSelectionDown,
            [v3.Ref] = v7.props.forwardRef
        });
    else
        return ;
    end;
end;
v6 = v4.connect(function(v9, v10)
    return {
        userAssetInfo = v9.AvatarExperience.Catalog.UserAssets[v10.userAssetId]
    };
end)(v6);
return v3.forwardRef(function(v11, v12)
    return v3.createElement(v6, v2.Dictionary.join(v11, {
        forwardRef = v12
    }));
end);


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Cryo);
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.RoactRodux);
local v5 = require(l_CorePackages_0.AvatarExperienceDeps);
local v6 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v6.Focusable;
local l_withNavigation_0 = require(l_CorePackages_0.RoactNavigation).withNavigation;
local l_RoactFitComponents_0 = v5.RoactFitComponents;
local l_FitFrameVertical_0 = l_RoactFitComponents_0.FitFrameVertical;
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local v12 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v13 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.SellPage.AvailableToSellRow);
local v14 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.SellPage.AvailableToSellLimitedUniqueRow);
local v15 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local l_withStyle_0 = require(l_CorePackages_0.UIBlox).Style.withStyle;
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local v18 = v3.PureComponent:extend("AvailableToSellList");
v18.init = function(v19)
    v19.sellLimitedUniqueItem = function(v20)
        v19.props.navigation.navigate(v15.SellItemPrompt, {
            itemId = v19.props.itemId,
            itemType = v19.props.itemType,
            userAssetId = v20,
            onOverlayClosed = v19.props.onOverlayClosed
        });
    end;
    v19.sellLimitedItem = function()
        v19.props.navigation.navigate(v15.SellItemPrompt, {
            itemId = v19.props.itemId,
            itemType = v19.props.itemType,
            userAssetId = v19.props.availableItemsToSell[1],
            onOverlayClosed = v19.props.onOverlayClosed
        });
    end;
    v19.focusableRefs = v6.createRefCache();
end;
v18.createAvailableToSellLimitedUniqueList = function(v21, v22)
    local l_availableItemsToSell_0 = v21.props.availableItemsToSell;
    local function _(v24)
        local v25 = false;
        if v24 >= 1 then
            v25 = v24 <= #l_availableItemsToSell_0;
        end;
        return not not v25 and v21.focusableRefs[v24] or nil;
    end;
    local v27 = {
        ListLayout = v3.createElement("UIListLayout", {
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            SortOrder = Enum.SortOrder.LayoutOrder
        })
    };
    local v28 = 0;
    if l_availableItemsToSell_0 then
        for v29, v30 in l_availableItemsToSell_0, nil, nil do
            local v31 = v29 < #l_availableItemsToSell_0;
            v28 = v28 + 1;
            local v32 = "AvailableToSellLimitedUniqueRow" .. v29;
            local l_createElement_0 = v3.createElement;
            local l_l_FitFrameVertical_0_0 = l_FitFrameVertical_0;
            local v35 = {
                width = UDim.new(1, 0),
                contentPadding = UDim.new(0, 8),
                FillDirection = Enum.FillDirection.Vertical,
                HorizontalAlignment = Enum.HorizontalAlignment.Right,
                BackgroundTransparency = 1,
                LayoutOrder = v29
            };
            local v36 = {};
            local l_createElement_1 = v3.createElement;
            local l_v14_0 = v14;
            local v39 = {
                horizontalPadding = 24,
                LayoutOrder = 1,
                onActivated = function()
                    v21.sellLimitedUniqueItem(v30);
                end,
                userAssetId = v30
            };
            local v40 = v29 - 1;
            local v41 = false;
            if v40 >= 1 then
                v41 = v40 <= #l_availableItemsToSell_0;
            end;
            v39.NextSelectionUp = not not v41 and v21.focusableRefs[v40] or nil;
            v40 = v29 + 1;
            v41 = false;
            if v40 >= 1 then
                v41 = v40 <= #l_availableItemsToSell_0;
            end;
            v39.NextSelectionDown = not not v41 and v21.focusableRefs[v40] or nil;
            local l_Ref_0 = v3.Ref;
            v41 = false;
            if v29 >= 1 then
                v41 = v29 <= #l_availableItemsToSell_0;
            end;
            v39[l_Ref_0] = not not v41 and v21.focusableRefs[v29] or nil;
            v36.AvailableToSellLimitedUniqueRow = l_createElement_1(l_v14_0, v39);
            v36.Divider = v31 and v3.createElement("Frame", {
                BackgroundColor3 = v22.Divider.Color,
                BackgroundTransparency = v22.Divider.Transparency,
                BorderSizePixel = 0,
                LayoutOrder = 2,
                Size = UDim2.new(1, -24, 0, 1)
            });
            v27[v32] = l_createElement_0(l_l_FitFrameVertical_0_0, v35, v36);
        end;
    end;
    return v27;
end;
v18.renderLocalized = function(v43, v44)
    local l_availableItemsToSell_1 = v43.props.availableItemsToSell;
    local l_LayoutOrder_0 = v43.props.LayoutOrder;
    local l_itemRestrictions_0 = v43.props.itemRestrictions;
    local v48 = l_itemRestrictions_0 and l_itemRestrictions_0[v12.ItemRestrictions.LimitedUnique];
    local v49 = l_itemRestrictions_0 and l_itemRestrictions_0[v12.ItemRestrictions.Limited];
    local v50 = not not l_availableItemsToSell_1 and #l_availableItemsToSell_1 or 0;
    local _ = nil;
    local v52 = (if v50 == 1 then v44.itemCountSingularLabel else v44.itemCountPluralLabel):gsub("({itemCount})", v50);
    return l_withStyle_0(function(v53)
        local l_Font_0 = v53.Font;
        local l_Theme_0 = v53.Theme;
        return v3.createElement(l_Focusable_0[l_FitFrameVertical_0], {
            width = UDim.new(1, 0),
            contentPadding = UDim.new(0, 6),
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            BackgroundTransparency = 1,
            LayoutOrder = l_LayoutOrder_0,
            NextSelectionLeft = v43.props.NextSelectionLeft,
            NextSelectionRight = v43.props.NextSelectionRight,
            NextSelectionUp = v43.props.NextSelectionUp,
            NextSelectionDown = v43.props.NextSelectionDown,
            [v3.Ref] = v43.props.forwardRef,
            defaultChild = (not not l_availableItemsToSell_1 and #l_availableItemsToSell_1 > 0) and v43.focusableRefs[1] or nil
        }, {
            AvailableForSaleLabelContainer = v3.createElement(l_FitFrameVertical_0, {
                width = UDim.new(1, 0),
                margin = l_RoactFitComponents_0.Rect.quad(0, 0, 0, 24),
                BackgroundTransparency = 1,
                LayoutOrder = 1
            }, {
                AvailableForSaleLabel = v3.createElement(l_FitTextLabel_0, {
                    width = l_FitTextLabel_0.Width.FitToText,
                    Font = l_Font_0.CaptionSubHeader.Font,
                    BackgroundTransparency = 1,
                    Text = v44.headerText,
                    TextXAlignment = Enum.TextXAlignment.Left,
                    TextSize = l_Font_0.BaseSize * l_Font_0.CaptionSubHeader.RelativeSize,
                    TextColor3 = l_Theme_0.TextEmphasis.Color
                })
            }),
            LimitedCountRow = v49 and v3.createElement(v13, {
                horizontalPadding = 24,
                LayoutOrder = 2,
                onActivated = v43.sellLimitedItem,
                Text = v52,
                [v3.Ref] = v43.focusableRefs[1]
            }),
            LimitedUniqueRowConatiner = v48 and v3.createElement(l_FitFrameVertical_0, {
                width = UDim.new(1, 0),
                BackgroundTransparency = 1,
                LayoutOrder = 2
            }, v48 and v43:createAvailableToSellLimitedUniqueList(l_Theme_0))
        });
    end);
end;
v18.render = function(v56)
    local l_availableItemsToSell_2 = v56.props.availableItemsToSell;
    if not l_availableItemsToSell_2 or #l_availableItemsToSell_2 == 0 then
        return ;
    else
        return l_withLocalization_0({
            headerText = "Feature.Catalog.Label.AvailableForSale",
            itemCountPluralLabel = "Feature.Catalog.Label.ItemsCount",
            itemCountSingularLabel = "Feature.Catalog.Label.ItemCount"
        })(function(v58)
            return v56:renderLocalized(v58);
        end);
    end;
end;
v18 = l_withNavigation_0((v4.connect(function(v59, v60)
    local v61 = v59.AvatarExperience.Common.AssetInfos[v60.itemId];
    return {
        itemRestrictions = v61 and v61.itemRestrictions,
        availableItemsToSell = v59.AvatarExperience.Catalog.Sell.AvailableToSellAssets[v60.itemId]
    };
end, nil)(v18)));
return v3.forwardRef(function(v62, v63)
    return v3.createElement(v18, v2.Dictionary.join(v62, {
        forwardRef = v63
    }));
end);


local l_CorePackages_0 = game:GetService("CorePackages");
local v1 = require(l_CorePackages_0.Cryo);
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v3.Focusable;
local v5 = require(l_CorePackages_0.UIBlox);
local l_Images_0 = v5.App.ImageSet.Images;
local l_withStyle_0 = v5.Style.withStyle;
local l_withSelectionCursorProvider_0 = v5.App.SelectionImage.withSelectionCursorProvider;
local l_CursorKind_0 = v5.App.SelectionImage.CursorKind;
local l_ImageSetLabel_0 = v5.Core.ImageSet.ImageSetLabel;
local v11 = l_Images_0["icons/actions/edit/add"];
local v12 = v2.PureComponent:extend("AvailableToSellRow");
v12.defaultProps = {
    horizontalPadding = 24,
    onActivated = function()
    end
};
v12.render = function(v13)
    return l_withStyle_0(function(v14)
        local l_Font_0 = v14.Font;
        local l_Theme_0 = v14.Theme;
        local l_Position_0 = v13.props.Position;
        local l_LayoutOrder_0 = v13.props.LayoutOrder;
        local l_horizontalPadding_0 = v13.props.horizontalPadding;
        local l_onActivated_0 = v13.props.onActivated;
        local v21 = l_Font_0.BaseSize * l_Font_0.Body.RelativeSize;
        local l_Text_0 = v13.props.Text;
        local l_forwardRef_0 = v13.props.forwardRef;
        return l_withSelectionCursorProvider_0(function(v24)
            return v2.createElement(l_Focusable_0.Frame, {
                BackgroundTransparency = 1,
                LayoutOrder = l_LayoutOrder_0,
                Position = l_Position_0,
                Size = UDim2.new(1, 0, 0, 70),
                NextSelectionLeft = v13.props.NextSelectionLeft,
                NextSelectionRight = v13.props.NextSelectionRight,
                NextSelectionUp = v13.props.NextSelectionUp,
                NextSelectionDown = v13.props.NextSelectionDown,
                [v2.Ref] = l_forwardRef_0,
                SelectionImageObject = v24(l_CursorKind_0.RoundedRectNoInset),
                inputBindings = {
                    SellItem = v3.Input.onBegin(Enum.KeyCode.ButtonA, l_onActivated_0)
                }
            }, {
                Paddding = v2.createElement("UIPadding", {
                    PaddingLeft = UDim.new(0, l_horizontalPadding_0),
                    PaddingRight = UDim.new(0, l_horizontalPadding_0)
                }),
                TextLabel = v2.createElement("TextLabel", {
                    AnchorPoint = Vector2.new(0, 0.5),
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Font = l_Font_0.Body.Font,
                    LayoutOrder = 1,
                    Position = UDim2.new(0, 0, 0.5, 0),
                    Size = UDim2.new(1, -50, 1, 0),
                    Text = l_Text_0,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextSize = v21,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextXAlignment = Enum.TextXAlignment.Left
                }),
                PressableButton = v2.createElement("TextButton", {
                    AnchorPoint = Vector2.new(0, 0.5),
                    BackgroundTransparency = 1,
                    BorderSizePixel = 0,
                    Position = UDim2.new(1, -50, 0.5, 0),
                    Size = UDim2.new(0, 50, 0, 50),
                    Text = "",
                    [v2.Event.Activated] = l_onActivated_0
                }, {
                    RemoveButton = v2.createElement(l_ImageSetLabel_0, {
                        AnchorPoint = Vector2.new(0.5, 0.5),
                        BackgroundTransparency = 1,
                        BorderSizePixel = 0,
                        Image = v11,
                        ImageColor3 = l_Theme_0.IconEmphasis.Color,
                        ImageTransparency = l_Theme_0.IconEmphasis.Transparency,
                        LayoutOrder = 2,
                        Position = UDim2.new(0.5, 0, 0.5, 0),
                        Size = UDim2.new(0, 40, 0, 40)
                    })
                })
            });
        end);
    end);
end;
return v2.forwardRef(function(v25, v26)
    return v2.createElement(v12, v1.Dictionary.join(v25, {
        forwardRef = v26
    }));
end);


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Cryo);
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.RoactRodux);
local v5 = require(l_CorePackages_0.AvatarExperienceDeps);
local l_withNavigation_0 = require(l_CorePackages_0.RoactNavigation).withNavigation;
local v7 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v7.Focusable;
local l_RoactFitComponents_0 = v5.RoactFitComponents;
local l_FitFrameVertical_0 = l_RoactFitComponents_0.FitFrameVertical;
local v11 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local v12 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v13 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.SellPage.CurrentlySellingRow);
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local l_withStyle_0 = require(l_CorePackages_0.UIBlox).Style.withStyle;
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local v17 = v3.PureComponent:extend("CurrentlySellingList");
v17.init = function(v18)
    v18.removeSoldItem = function(v19)
        v18.props.navigation.navigate(v11.RemoveCurrentlySellingItemPrompt, {
            itemId = v18.props.itemId,
            userAssetId = v19,
            onOverlayClosed = v18.props.onOverlayClosed
        });
        v18:setState({
            restorePreviousChildFocus = false
        });
    end;
    v18:setState({
        restorePreviousChildFocus = true
    });
    v18.onFocusGained = function()
        if not v18.state.restorePreviousChildFocus then
            v18:setState({
                restorePreviousChildFocus = true
            });
        end;
    end;
    v18.focusableRefs = v7.createRefCache();
end;
v17.createRemovableList = function(v20, v21)
    local l_assetInfo_0 = v20.props.assetInfo;
    local l_currentlySellingList_0 = v20.props.currentlySellingList;
    local v24 = l_assetInfo_0 and l_assetInfo_0.itemRestrictions;
    local v25 = v24 and v24[v12.ItemRestrictions.LimitedUnique];
    local function _(v26)
        local v27 = false;
        if v26 >= 1 then
            v27 = v26 <= #l_currentlySellingList_0;
        end;
        return not not v27 and v20.focusableRefs[v26] or nil;
    end;
    local v29 = {};
    if l_currentlySellingList_0 then
        for v30, v31 in l_currentlySellingList_0, nil, nil do
            local v32 = "CurrentlySellingRow" .. v30;
            local l_createElement_0 = v3.createElement;
            local l_l_FitFrameVertical_0_0 = l_FitFrameVertical_0;
            local v35 = {
                width = UDim.new(1, 0),
                contentPadding = UDim.new(0, 8),
                FillDirection = Enum.FillDirection.Vertical,
                HorizontalAlignment = Enum.HorizontalAlignment.Right,
                BackgroundTransparency = 1,
                LayoutOrder = v30
            };
            local v36 = {};
            local l_createElement_1 = v3.createElement;
            local l_v13_0 = v13;
            local v39 = {
                isLimitedUnique = v25,
                horizontalPadding = 24,
                LayoutOrder = 1,
                onActivated = function()
                    v20.removeSoldItem(v31);
                end,
                userAssetId = v31
            };
            local v40 = v30 - 1;
            local v41 = false;
            if v40 >= 1 then
                v41 = v40 <= #l_currentlySellingList_0;
            end;
            v39.NextSelectionUp = not not v41 and v20.focusableRefs[v40] or nil;
            v40 = v30 + 1;
            v41 = false;
            if v40 >= 1 then
                v41 = v40 <= #l_currentlySellingList_0;
            end;
            v39.NextSelectionDown = not not v41 and v20.focusableRefs[v40] or nil;
            local l_Ref_0 = v3.Ref;
            v41 = false;
            if v30 >= 1 then
                v41 = v30 <= #l_currentlySellingList_0;
            end;
            v39[l_Ref_0] = not not v41 and v20.focusableRefs[v30] or nil;
            v39.onFocusGained = v20.onFocusGained;
            v36.CurrentlySellingRow = l_createElement_1(l_v13_0, v39);
            v36.Divider = v3.createElement("Frame", {
                BackgroundColor3 = v21.Divider.Color,
                BackgroundTransparency = v21.Divider.Transparency,
                BorderSizePixel = 0,
                LayoutOrder = 2,
                Size = UDim2.new(1, -24, 0, 1)
            });
            v29[v32] = l_createElement_0(l_l_FitFrameVertical_0_0, v35, v36);
        end;
    end;
    return v29;
end;
v17.renderLocalized = function(v43, v44)
    local l_LayoutOrder_0 = v43.props.LayoutOrder;
    local l_currentlySellingList_1 = v43.props.currentlySellingList;
    return l_withStyle_0(function(v47)
        local l_Font_0 = v47.Font;
        local l_Theme_0 = v47.Theme;
        return v3.createElement(l_Focusable_0[l_FitFrameVertical_0], {
            width = UDim.new(1, 0),
            contentPadding = UDim.new(0, 6),
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            BackgroundTransparency = 1,
            LayoutOrder = l_LayoutOrder_0,
            NextSelectionLeft = v43.props.NextSelectionLeft,
            NextSelectionRight = v43.props.NextSelectionRight,
            NextSelectionUp = v43.props.NextSelectionUp,
            NextSelectionDown = v43.props.NextSelectionDown,
            [v3.Ref] = v43.props.forwardRef,
            defaultChild = (not not l_currentlySellingList_1 and #l_currentlySellingList_1 > 0) and v43.focusableRefs[1] or nil,
            restorePreviousChildFocus = v43.state.restorePreviousChildFocus
        }, {
            CurrentlySellingLabelContainer = v3.createElement(l_FitFrameVertical_0, {
                width = UDim.new(1, 0),
                margin = l_RoactFitComponents_0.Rect.quad(0, 0, 0, 24),
                BackgroundTransparency = 1,
                LayoutOrder = 1
            }, {
                CurrentlySellingLabel = v3.createElement(l_FitTextLabel_0, {
                    width = UDim.new(1, 0),
                    Font = l_Font_0.CaptionSubHeader.Font,
                    BackgroundTransparency = 1,
                    LayoutOrder = 1,
                    Text = v44.headerText,
                    TextXAlignment = Enum.TextXAlignment.Left,
                    TextSize = l_Font_0.BaseSize * l_Font_0.CaptionSubHeader.RelativeSize,
                    TextColor3 = l_Theme_0.TextEmphasis.Color
                })
            }),
            CurrentlySellingRowContainer = v3.createElement(l_FitFrameVertical_0, {
                width = UDim.new(1, 0),
                FillDirection = Enum.FillDirection.Vertical,
                HorizontalAlignment = Enum.HorizontalAlignment.Left,
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                LayoutOrder = 2
            }, (v43:createRemovableList(l_Theme_0)))
        });
    end);
end;
v17.render = function(v50)
    local l_currentlySellingList_2 = v50.props.currentlySellingList;
    if not l_currentlySellingList_2 or #l_currentlySellingList_2 == 0 then
        return ;
    else
        return l_withLocalization_0({
            headerText = "Feature.Catalog.Label.OnSale"
        })(function(v52)
            return v50:renderLocalized(v52);
        end);
    end;
end;
v17 = l_withNavigation_0((v4.connect(function(v53, v54)
    return {
        assetInfo = v53.AvatarExperience.Common.AssetInfos[v54.itemId],
        currentlySellingList = v53.AvatarExperience.Catalog.Sell.CurrentlySellingAssets[v54.itemId]
    };
end, nil)(v17)));
return v3.forwardRef(function(v55, v56)
    return v3.createElement(v17, v2.Dictionary.join(v55, {
        forwardRef = v56
    }));
end);


local l_CorePackages_0 = game:GetService("CorePackages");
local v1 = require(l_CorePackages_0.Cryo);
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v3.Focusable;
local v5 = require(l_CorePackages_0.RoactRodux);
local v6 = require(l_CorePackages_0.UIBlox);
local l_RoactFitComponents_0 = require(l_CorePackages_0.AvatarExperienceDeps).RoactFitComponents;
local l_FitFrameVertical_0 = l_RoactFitComponents_0.FitFrameVertical;
local l_withStyle_0 = v6.Style.withStyle;
local l_withSelectionCursorProvider_0 = v6.App.SelectionImage.withSelectionCursorProvider;
local l_CursorKind_0 = v6.App.SelectionImage.CursorKind;
local l_ImageSetLabel_0 = v6.Core.ImageSet.ImageSetLabel;
local l_Images_0 = v6.App.ImageSet.Images;
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local v15 = l_Images_0["icons/common/robux"];
local v16 = l_Images_0["icons/actions/edit/remove"];
local v17 = v2.PureComponent:extend("CurrentlySellingRow");
v17.defaultProps = {
    horizontalPadding = 0,
    onActivated = function()
    end
};
v17.render = function(v18)
    local l_userAssetInfo_0 = v18.props.userAssetInfo;
    if l_userAssetInfo_0 then
        return l_withStyle_0(function(v20)
            local l_Font_0 = v20.Font;
            local l_Theme_0 = v20.Theme;
            local l_Position_0 = v18.props.Position;
            local l_LayoutOrder_0 = v18.props.LayoutOrder;
            local l_horizontalPadding_0 = v18.props.horizontalPadding;
            local l_onActivated_0 = v18.props.onActivated;
            local l_isLimitedUnique_0 = v18.props.isLimitedUnique;
            local v28 = l_Font_0.BaseSize * l_Font_0.Body.RelativeSize;
            local v29 = "# " .. tostring(l_userAssetInfo_0.serialNumber);
            local l_priceInRobux_0 = l_userAssetInfo_0.priceInRobux;
            local l_forwardRef_0 = v18.props.forwardRef;
            return l_withSelectionCursorProvider_0(function(v32)
                return v2.createElement(l_Focusable_0.Frame, {
                    BackgroundTransparency = 1,
                    LayoutOrder = l_LayoutOrder_0,
                    Position = l_Position_0,
                    Size = UDim2.new(1, 0, 0, 70),
                    NextSelectionLeft = v18.props.NextSelectionLeft,
                    NextSelectionRight = v18.props.NextSelectionRight,
                    NextSelectionUp = v18.props.NextSelectionUp,
                    NextSelectionDown = v18.props.NextSelectionDown,
                    [v2.Ref] = l_forwardRef_0,
                    onFocusGained = v18.props.onFocusGained,
                    SelectionImageObject = v32(l_CursorKind_0.RoundedRectNoInset),
                    inputBindings = {
                        RemoveItemFromSale = v3.Input.onBegin(Enum.KeyCode.ButtonA, l_onActivated_0)
                    }
                }, {
                    Padding = v2.createElement("UIPadding", {
                        PaddingLeft = UDim.new(0, l_horizontalPadding_0),
                        PaddingRight = UDim.new(0, l_horizontalPadding_0)
                    }),
                    SerialAndPriceContainer = v2.createElement(l_FitFrameVertical_0, {
                        width = UDim.new(1, 0),
                        contentPadding = UDim.new(0, 6),
                        FillDirection = Enum.FillDirection.Vertical,
                        AnchorPoint = Vector2.new(0, 0.5),
                        Position = UDim2.new(0, 0, 0.5, 0),
                        BackgroundTransparency = 1,
                        LayoutOrder = 1
                    }, {
                        SerialNumberTextLabel = l_isLimitedUnique_0 and v2.createElement(l_FitTextLabel_0, {
                            width = UDim.new(1, 0),
                            BackgroundTransparency = 1,
                            BorderSizePixel = 0,
                            Font = l_Font_0.Body.Font,
                            LayoutOrder = 1,
                            Position = UDim2.new(0, 0, 0, -v28),
                            Size = UDim2.new(1, 0, 0, 0),
                            Text = v29,
                            TextColor3 = l_Theme_0.TextEmphasis.Color,
                            TextSize = v28,
                            TextTransparency = l_Theme_0.TextEmphasis.Transparency,
                            TextXAlignment = Enum.TextXAlignment.Left
                        }),
                        RobuxContainer = v2.createElement(l_FitFrameVertical_0, {
                            width = UDim.new(1, -40),
                            contentPadding = UDim.new(0, 6),
                            FillDirection = Enum.FillDirection.Horizontal,
                            VerticalAlignment = Enum.VerticalAlignment.Center,
                            BackgroundTransparency = 1,
                            BorderSizePixel = 0,
                            LayoutOrder = 2
                        }, {
                            Image = v2.createElement(l_ImageSetLabel_0, {
                                LayoutOrder = 1,
                                BackgroundTransparency = 1,
                                Size = UDim2.new(0, v28, 0, v28),
                                Image = v15,
                                ImageColor3 = l_Theme_0.TextDefault.Color,
                                ImageTransparency = l_Theme_0.TextDefault.Transparency
                            }),
                            Text = v2.createElement(l_FitTextLabel_0, {
                                width = UDim.new(1, 0),
                                LayoutOrder = 2,
                                Size = UDim2.new(1, -v28, 0, v28),
                                BackgroundTransparency = 1,
                                Text = tostring(l_priceInRobux_0),
                                Font = l_Font_0.Body.Font,
                                TextColor3 = l_Theme_0.TextDefault.Color,
                                TextTransparency = l_Theme_0.TextDefault.Transparency,
                                TextSize = v28,
                                TextXAlignment = Enum.TextXAlignment.Left
                            })
                        })
                    }),
                    PressableButton = v2.createElement("TextButton", {
                        AnchorPoint = Vector2.new(0, 0.5),
                        BackgroundTransparency = 1,
                        BorderSizePixel = 0,
                        Position = UDim2.new(1, -50, 0.5, 0),
                        Size = UDim2.new(0, 50, 0, 50),
                        Text = "",
                        [v2.Event.Activated] = l_onActivated_0
                    }, {
                        RemoveIcon = v2.createElement(l_ImageSetLabel_0, {
                            AnchorPoint = Vector2.new(0.5, 0.5),
                            BackgroundTransparency = 1,
                            BorderSizePixel = 0,
                            Image = v16,
                            ImageColor3 = l_Theme_0.IconEmphasis.Color,
                            ImageTransparency = l_Theme_0.IconEmphasis.Transparency,
                            LayoutOrder = 2,
                            Position = UDim2.new(0.5, 0, 0.5, 0),
                            Size = UDim2.new(0, 40, 0, 40)
                        })
                    })
                });
            end);
        end);
    else
        return ;
    end;
end;
v17 = v5.connect(function(v33, v34)
    return {
        userAssetInfo = v33.AvatarExperience.Catalog.UserAssets[v34.userAssetId]
    };
end)(v17);
return v2.forwardRef(function(v35, v36)
    return v2.createElement(v17, v1.Dictionary.join(v35, {
        forwardRef = v36
    }));
end);


local l_CoreGui_0 = game:GetService("CoreGui");
local l_CorePackages_0 = game:GetService("CorePackages");
local l_LocalizationService_0 = game:GetService("LocalizationService");
local v3 = require(l_CorePackages_0.Packages.React);
local v4 = require(l_CorePackages_0.UIBlox);
local l_NumberLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).NumberLocalization;
local v6 = require(l_CoreGui_0.RobloxGui.Modules.LuaApp.Hooks.useLocalization);
local l_Images_0 = v4.App.ImageSet.Images;
local l_ImageSetLabel_0 = v4.Core.ImageSet.ImageSetLabel;
local l_useStyle_0 = v4.Core.Style.useStyle;
local v10 = l_Images_0["icons/common/robux"];
return function(v11)
    local v12 = v6({
        itemInfoLabel = "Feature.Catalog.Heading.ItemInfo",
        serialNumberLabel = "Feature.Catalog.Label.SerialNumberColon",
        averagePriceLabel = "Feature.Catalog.Label.AveragePriceColon"
    });
    local v13 = l_useStyle_0();
    local l_averagePrice_0 = v11.itemIdPriceSerialNumber.averagePrice;
    local l_Theme_0 = v13.Theme;
    local l_Font_0 = v13.Font;
    local l_SubHeader1_0 = l_Font_0.SubHeader1;
    local l_Body_0 = l_Font_0.Body;
    local l_RelativeSize_0 = l_SubHeader1_0.RelativeSize;
    local l_RelativeSize_1 = l_Body_0.RelativeSize;
    local l_BaseSize_0 = l_Font_0.BaseSize;
    local v22 = l_RelativeSize_0 * l_BaseSize_0;
    local v23 = l_RelativeSize_1 * l_BaseSize_0;
    local v24 = not not l_averagePrice_0 and l_NumberLocalization_0.localize(l_averagePrice_0, l_LocalizationService_0.RobloxLocaleId) or "";
    local v25 = if not v11.itemIdPriceSerialNumber.serialNumber then nil else v11.itemIdPriceSerialNumber.serialNumber;
    return v3.createElement("Frame", {
        LayoutOrder = v11.layoutOrder,
        AutomaticSize = Enum.AutomaticSize.Y,
        Size = UDim2.fromScale(1, 0),
        BackgroundTransparency = 1
    }, {
        UIListLayout = v3.createElement("UIListLayout", {
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            VerticalAlignment = Enum.VerticalAlignment.Top,
            SortOrder = Enum.SortOrder.LayoutOrder,
            Padding = UDim.new(0, 10)
        }),
        ItemInfoSubHeader = v3.createElement("TextLabel", {
            LayoutOrder = 1,
            AutomaticSize = Enum.AutomaticSize.Y,
            Text = v12.itemInfoLabel,
            Font = l_SubHeader1_0.Font,
            Size = UDim2.fromScale(1, 0),
            TextSize = v22,
            TextXAlignment = Enum.TextXAlignment.Left,
            TextColor3 = l_Theme_0.TextEmphasis.Color,
            TextTransparency = l_Theme_0.TextEmphasis.Transparency,
            TextWrapped = true,
            BackgroundTransparency = 1
        }),
        SerialNumberContainer = v25 and v3.createElement("Frame", {
            LayoutOrder = 2,
            AutomaticSize = Enum.AutomaticSize.XY,
            BackgroundTransparency = 1
        }, {
            UIListLayout = v3.createElement("UIListLayout", {
                FillDirection = Enum.FillDirection.Horizontal,
                HorizontalAlignment = Enum.HorizontalAlignment.Left,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                SortOrder = Enum.SortOrder.LayoutOrder,
                Padding = UDim.new(0, 10)
            }),
            SerialNumberLabel = v3.createElement("TextLabel", {
                LayoutOrder = 1,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v12.serialNumberLabel,
                Font = l_Body_0.Font,
                TextSize = v23,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            }),
            SerialNumberText = v3.createElement("TextLabel", {
                LayoutOrder = 2,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v25,
                Font = l_Body_0.Font,
                TextSize = v23,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            })
        }),
        AveragePriceContainer = v3.createElement("Frame", {
            LayoutOrder = 3,
            AutomaticSize = Enum.AutomaticSize.XY,
            BackgroundTransparency = 1
        }, {
            UIListLayout = v3.createElement("UIListLayout", {
                FillDirection = Enum.FillDirection.Horizontal,
                HorizontalAlignment = Enum.HorizontalAlignment.Left,
                VerticalAlignment = Enum.VerticalAlignment.Top,
                SortOrder = Enum.SortOrder.LayoutOrder,
                Padding = UDim.new(0, 10)
            }),
            AveragePriceLabel = v3.createElement("TextLabel", {
                LayoutOrder = 1,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v12.averagePriceLabel,
                Font = l_Body_0.Font,
                TextSize = v23,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            }),
            AveragePriceTextContainer = v3.createElement("Frame", {
                LayoutOrder = 2,
                AutomaticSize = Enum.AutomaticSize.XY,
                BackgroundTransparency = 1
            }, {
                UIListLayout = v3.createElement("UIListLayout", {
                    FillDirection = Enum.FillDirection.Horizontal,
                    HorizontalAlignment = Enum.HorizontalAlignment.Left,
                    VerticalAlignment = Enum.VerticalAlignment.Top,
                    SortOrder = Enum.SortOrder.LayoutOrder,
                    Padding = UDim.new(0, 4)
                }),
                AveragePriceRobuxImage = v3.createElement(l_ImageSetLabel_0, {
                    LayoutOrder = 1,
                    Image = v10,
                    Size = UDim2.fromOffset(v23, v23),
                    ImageColor3 = l_Theme_0.TextDefault.Color,
                    ImageTransparency = l_Theme_0.TextDefault.Transparency,
                    BackgroundTransparency = 1
                }),
                AveragePriceText = v3.createElement("TextLabel", {
                    LayoutOrder = 2,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Text = v24,
                    Font = l_Body_0.Font,
                    TextSize = v23,
                    TextXAlignment = Enum.TextXAlignment.Left,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextWrapped = true,
                    BackgroundTransparency = 1
                })
            })
        })
    });
end;


local l_CoreGui_0 = game:GetService("CoreGui");
local l_CorePackages_0 = game:GetService("CorePackages");
local l_LocalizationService_0 = game:GetService("LocalizationService");
local v3 = require(l_CorePackages_0.Packages.React);
local v4 = require(l_CorePackages_0.UIBlox);
local l_NumberLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).NumberLocalization;
local l_useNavigation_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.useNavigation;
local l_Modules_0 = l_CoreGui_0.RobloxGui.Modules;
local v8 = require(l_Modules_0.AvatarExperience.Catalog.CatalogUtils);
local v9 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local v10 = require(l_Modules_0.LuaApp.Hooks.useLocalization);
local l_IconButton_0 = v4.App.Button.IconButton;
local l_IconSize_0 = v4.App.ImageSet.Enum.IconSize;
local l_Images_0 = v4.App.ImageSet.Images;
local l_ControlState_0 = v4.Core.Control.Enum.ControlState;
local l_ImageSetLabel_0 = v4.Core.ImageSet.ImageSetLabel;
local l_useStyle_0 = v4.Core.Style.useStyle;
local v17 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagEnableBankersRoundingOnResale);
local v18 = l_Images_0["icons/common/robux"];
local v19 = l_Images_0["icons/actions/info_small"];
local function v26(v20, v21)
    if not v20 or v20 <= 0 then
        return 0, 0;
    else
        local l_taxRate_0 = v21.taxRate;
        local l_minimumFee_0 = v21.minimumFee;
        if not v17() then
            return math.max(v8.Round(l_taxRate_0 * v20), l_minimumFee_0), 0;
        else
            local v24 = v8.bankersRounding(v20 * (1 - l_taxRate_0));
            local v25 = v20 - v24;
            if v25 < l_minimumFee_0 then
                return l_minimumFee_0, v20 - l_minimumFee_0;
            else
                return v25, v24;
            end;
        end;
    end;
end;
return function(v27)
    local v28 = v10({
        overviewLabel = "Feature.Catalog.Heading.Overview",
        robloxFeeText = "Feature.Catalog.Label.Fee",
        sellCutText = "Feature.Catalog.Label.SellCut"
    });
    local v29 = l_useStyle_0();
    local l_Theme_0 = v29.Theme;
    local l_Font_0 = v29.Font;
    local l_SubHeader1_0 = l_Font_0.SubHeader1;
    local l_Body_0 = l_Font_0.Body;
    local l_RelativeSize_0 = l_SubHeader1_0.RelativeSize;
    local l_RelativeSize_1 = l_Body_0.RelativeSize;
    local l_BaseSize_0 = l_Font_0.BaseSize;
    local v37 = l_RelativeSize_0 * l_BaseSize_0;
    local v38 = l_RelativeSize_1 * l_BaseSize_0;
    local v39 = v27.marketplaceFee.taxRate * 100;
    local v40 = v28.robloxFeeText:gsub("({feePercentage})", v39);
    local v41 = tonumber((not v27.priceInRobux or v27.priceInRobux == "") and 0 or v27.priceInRobux);
    local v42 = nil;
    local v43 = nil;
    if not v17() then
        v42 = v26(v41, v27.marketplaceFee);
        v43 = v8.Round(v41 - v42);
    else
        local v44, v45 = v26(v41, v27.marketplaceFee);
        v42 = v44;
        v43 = v45;
    end;
    local v46 = l_NumberLocalization_0.localize(v42, l_LocalizationService_0.RobloxLocaleId);
    local v47 = l_NumberLocalization_0.localize(string.format("%.0f", v43), l_LocalizationService_0.RobloxLocaleId);
    local v48 = l_useNavigation_0();
    return v3.createElement("Frame", {
        LayoutOrder = v27.layoutOrder,
        AutomaticSize = Enum.AutomaticSize.Y,
        Size = UDim2.fromScale(1, 0),
        BackgroundTransparency = 1
    }, {
        UIListLayout = v3.createElement("UIListLayout", {
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            VerticalAlignment = Enum.VerticalAlignment.Top,
            SortOrder = Enum.SortOrder.LayoutOrder,
            Padding = UDim.new(0, 10)
        }),
        OverviewFrameContainer = v3.createElement("Frame", {
            LayoutOrder = 1,
            AutomaticSize = Enum.AutomaticSize.Y,
            Size = UDim2.fromScale(1, 0),
            BackgroundTransparency = 1
        }, {
            UIListLayout = v3.createElement("UIListLayout", {
                FillDirection = Enum.FillDirection.Horizontal,
                HorizontalAlignment = Enum.HorizontalAlignment.Left,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                SortOrder = Enum.SortOrder.LayoutOrder,
                Padding = UDim.new(0, 4)
            }),
            OverviewSubHeader = v3.createElement("TextLabel", {
                LayoutOrder = 1,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v28.overviewLabel,
                Font = l_SubHeader1_0.Font,
                TextSize = v37,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextEmphasis.Color,
                TextTransparency = l_Theme_0.TextEmphasis.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            }),
            OverviewInfoButton = v3.createElement(l_IconButton_0, {
                layoutOrder = 2,
                icon = v19,
                iconSize = l_IconSize_0.Small,
                onStateChanged = function(_, v50)
                    if not (v50 ~= l_ControlState_0.Pressed) or v50 == l_ControlState_0.SelectedPressed then
                        v48.navigate(v9.ResaleFeePolicyPrompt, {
                            yourSharePercent = 100 - v39,
                            robloxFeePercent = v39
                        });
                    end;
                end,
                iconColor3 = l_Theme_0.IconEmphasis.Color,
                iconTransparency = l_Theme_0.IconEmphasis.Transparency,
                backgroundTransparency = 1
            })
        }),
        CommissionContainer = v3.createElement("Frame", {
            LayoutOrder = 2,
            AutomaticSize = Enum.AutomaticSize.Y,
            Size = UDim2.fromScale(1, 0),
            BackgroundTransparency = 1
        }, {
            CommissionLabel = v3.createElement("TextLabel", {
                LayoutOrder = 1,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v40,
                Font = l_Body_0.Font,
                TextSize = v38,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            }),
            CommissionAmountContainer = v3.createElement("Frame", {
                LayoutOrder = 2,
                AutomaticSize = Enum.AutomaticSize.XY,
                AnchorPoint = Vector2.new(1, 0),
                Position = UDim2.new(1, 0, 0, 0),
                BackgroundTransparency = 1
            }, {
                UIListLayout = v3.createElement("UIListLayout", {
                    FillDirection = Enum.FillDirection.Horizontal,
                    HorizontalAlignment = Enum.HorizontalAlignment.Right,
                    VerticalAlignment = Enum.VerticalAlignment.Center,
                    SortOrder = Enum.SortOrder.LayoutOrder,
                    Padding = UDim.new(0, 4)
                }),
                CommissionMinusText = v3.createElement("TextLabel", {
                    LayoutOrder = 1,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Text = "-",
                    Font = l_Body_0.Font,
                    TextSize = v38,
                    TextXAlignment = Enum.TextXAlignment.Right,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextWrapped = true,
                    BackgroundTransparency = 1
                }),
                CommissionRobuxImage = v3.createElement(l_ImageSetLabel_0, {
                    LayoutOrder = 2,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Image = v18,
                    Size = UDim2.fromOffset(v38, v38),
                    ImageColor3 = l_Theme_0.TextDefault.Color,
                    ImageTransparency = l_Theme_0.TextDefault.Transparency,
                    BackgroundTransparency = 1
                }),
                CommissionAmountText = v3.createElement("TextLabel", {
                    LayoutOrder = 3,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Text = v46,
                    Font = l_Body_0.Font,
                    TextSize = v38,
                    TextXAlignment = Enum.TextXAlignment.Right,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextWrapped = true,
                    BackgroundTransparency = 1
                })
            })
        }),
        YouEarnContainer = v3.createElement("Frame", {
            LayoutOrder = 3,
            AutomaticSize = Enum.AutomaticSize.Y,
            Size = UDim2.fromScale(1, 0),
            BackgroundTransparency = 1
        }, {
            YouEarnLabel = v3.createElement("TextLabel", {
                LayoutOrder = 1,
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = v28.sellCutText,
                Font = l_Body_0.Font,
                TextSize = v38,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextTransparency = l_Theme_0.TextDefault.Transparency,
                TextWrapped = true,
                BackgroundTransparency = 1
            }),
            YouEarnAmountRobuxContainer = v3.createElement("Frame", {
                LayoutOrder = 2,
                AutomaticSize = Enum.AutomaticSize.XY,
                AnchorPoint = Vector2.new(1, 0),
                Position = UDim2.new(1, 0, 0, 0),
                BackgroundTransparency = 1
            }, {
                UIListLayout = v3.createElement("UIListLayout", {
                    FillDirection = Enum.FillDirection.Horizontal,
                    HorizontalAlignment = Enum.HorizontalAlignment.Right,
                    VerticalAlignment = Enum.VerticalAlignment.Top,
                    SortOrder = Enum.SortOrder.LayoutOrder,
                    Padding = UDim.new(0, 4)
                }),
                YouEarnRobuxImage = v3.createElement(l_ImageSetLabel_0, {
                    LayoutOrder = 1,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Image = v18,
                    Size = UDim2.fromOffset(v38, v38),
                    ImageColor3 = l_Theme_0.TextDefault.Color,
                    ImageTransparency = l_Theme_0.TextDefault.Transparency,
                    BackgroundTransparency = 1
                }),
                YouEarnAmountText = v3.createElement("TextLabel", {
                    LayoutOrder = 2,
                    AutomaticSize = Enum.AutomaticSize.XY,
                    Text = v47,
                    Font = l_Body_0.Font,
                    TextSize = v38,
                    TextXAlignment = Enum.TextXAlignment.Right,
                    TextColor3 = l_Theme_0.TextDefault.Color,
                    TextTransparency = l_Theme_0.TextDefault.Transparency,
                    TextWrapped = true,
                    BackgroundTransparency = 1
                })
            })
        })
    });
end;


local l_CoreGui_0 = game:GetService("CoreGui");
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Packages.React);
local v3 = require(l_CorePackages_0.Packages.RoactGamepad);
local v4 = require(l_CorePackages_0.UIBlox);
local l_Modules_0 = l_CoreGui_0.RobloxGui.Modules;
local v6 = require(l_Modules_0.AvatarExperience.Catalog.Components.IconTextBox);
local v7 = require(l_Modules_0.LuaApp.Hooks.useLocalization);
local v8 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagL2ControllerSupport);
local v9 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXResalePriceFloor);
local l_Focusable_0 = v3.Focusable;
local l_Images_0 = v4.App.ImageSet.Images;
local l_useStyle_0 = v4.Core.Style.useStyle;
local v13 = l_Images_0["icons/common/robux"];
local function _(v14, v15)
    if not v14 then
        return true;
    else
        local v16 = tonumber(v14);
        if not v9() then
            return not v16 or v16 <= 0;
        else
            return not v16 or v16 <= (v15 or 0);
        end;
    end;
end;
return (v2.forwardRef(function(v18, v19)
    local v20 = v7({
        setPriceLabel = "Feature.Catalog.Heading.SetPrice",
        pricePlaceholderText = "Feature.Catalog.Label.Price",
        minAmountText = "Feature.Catalog.Label.MinimumAmount",
        minAmountTextWithPrice = if not v9() then nil else "Feature.Catalog.Label.MinimumAmountCustom"
    });
    local v21 = l_useStyle_0();
    local l_Theme_0 = v21.Theme;
    local l_Font_0 = v21.Font;
    local l_SubHeader1_0 = l_Font_0.SubHeader1;
    local l_CaptionBody_0 = l_Font_0.CaptionBody;
    local l_RelativeSize_0 = l_SubHeader1_0.RelativeSize;
    local l_RelativeSize_1 = l_CaptionBody_0.RelativeSize;
    local l_BaseSize_0 = l_Font_0.BaseSize;
    local v29 = l_RelativeSize_0 * l_BaseSize_0;
    local v30 = l_RelativeSize_1 * l_BaseSize_0;
    local l_minAmountText_0 = v20.minAmountText;
    if not (not v9() or not v18.priceFloor) and v18.priceFloor > 0 then
        l_minAmountText_0 = v20.minAmountTextWithPrice:gsub("{minimumAmount}", (tostring(v18.priceFloor)));
    end;
    local l_createElement_0 = v2.createElement;
    local v33 = "Frame";
    local v34 = {
        LayoutOrder = v18.layoutOrder,
        AutomaticSize = Enum.AutomaticSize.Y,
        Size = UDim2.fromScale(1, 0),
        BackgroundTransparency = 1
    };
    local v37 = {
        UIListLayout = v2.createElement("UIListLayout", {
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            VerticalAlignment = Enum.VerticalAlignment.Top,
            SortOrder = Enum.SortOrder.LayoutOrder,
            Padding = UDim.new(0, 10)
        }),
        SetPriceSubHeader = v2.createElement("TextLabel", {
            LayoutOrder = 1,
            AutomaticSize = Enum.AutomaticSize.Y,
            Text = v20.setPriceLabel,
            Font = l_SubHeader1_0.Font,
            Size = UDim2.fromScale(1, 0),
            TextSize = v29,
            TextXAlignment = Enum.TextXAlignment.Left,
            TextColor3 = l_Theme_0.TextEmphasis.Color,
            TextTransparency = l_Theme_0.TextEmphasis.Transparency,
            TextWrapped = true,
            BackgroundTransparency = 1
        }),
        PriceInputBox = v2.createElement(l_Focusable_0[v6], {
            LayoutOrder = 2,
            Size = UDim2.fromScale(1, 0),
            PlaceholderText = v20.pricePlaceholderText,
            Image = v13,
            TextInputType = Enum.TextInputType.Number,
            ref = if not v8() then nil else v19,
            NextSelectionUp = if not v8() then nil else v18.NextSelectionUp,
            NextSelectionDown = if not v8() then nil else v18.NextSelectionDown,
            NextSelectionLeft = if not v8() then nil else v18.NextSelectionLeft,
            NextSelectionRight = if not v8() then nil else v18.NextSelectionRight,
            [v2.Change.Text] = function(v35)
                local l_Text_0 = v35.Text;
                if string.len(l_Text_0) > 10 then
                    v35.Text = v18.priceInRobux;
                    return ;
                elseif not (l_Text_0 ~= nil) or l_Text_0 == "" then
                    v18.setPriceInRobux("");
                    return ;
                elseif not string.match(l_Text_0, "^[0-9]+$") then
                    v35.Text = v18.priceInRobux;
                    return ;
                else
                    v18.setPriceInRobux(l_Text_0);
                    return ;
                end;
            end
        })
    };
    local l_createElement_1 = v2.createElement;
    local v39 = "Frame";
    local v40 = {
        LayoutOrder = 3,
        Size = UDim2.new(1, 0, 0, v30 + 2),
        BackgroundTransparency = 1
    };
    local v41 = {};
    local l_priceInRobux_0 = v18.priceInRobux;
    local l_priceFloor_0 = v18.priceFloor;
    local v44;
    if not l_priceInRobux_0 then
        v44 = true;
    else
        local v45 = tonumber(l_priceInRobux_0);
        v44 = if not v9() then not v45 or v45 <= 0 else not v45 or v45 <= (l_priceFloor_0 or 0);
    end;
    if v44 then
        v44 = v2.createElement("TextLabel", {
            LayoutOrder = 1,
            AutomaticSize = Enum.AutomaticSize.Y,
            Text = l_minAmountText_0,
            Font = l_CaptionBody_0.Font,
            Size = UDim2.fromScale(1, 0),
            TextSize = v30,
            TextXAlignment = Enum.TextXAlignment.Left,
            TextYAlignment = Enum.TextYAlignment.Top,
            TextColor3 = l_Theme_0.TextDefault.Color,
            TextTransparency = l_Theme_0.TextDefault.Transparency,
            TextWrapped = true,
            BackgroundTransparency = 1
        });
    end;
    v41.MinAmountText = v44;
    v37.MinAmountContainer = l_createElement_1(v39, v40, v41);
    return l_createElement_0(v33, v34, v37);
end));