local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local v2 = require(l_Parent_0.Packages.Framework);
local l_joinTags_0 = v2.Styling.joinTags;
local v4 = v2.Util.LayoutOrderIterator.new();
local function v5()
    return v1.createElement("ScrollingFrame", {
        [v1.Tag] = l_joinTags_0("X-Column", "Component-TokenExamples")
    }, {
        BackgroundDefault = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "BackgroundDefault"
            })
        }),
        BackgroundPaper = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "BackgroundPaper"
            })
        }),
        ForegroundMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "ForegroundMain"
            })
        }),
        ForegroundMuted = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "ForegroundMuted"
            })
        }),
        ForegroundContrast = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "ForegroundContrast"
            })
        }),
        TextPrimary = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextPrimary"
        }),
        TextSecondary = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextSecondary"
        }),
        TextContrast = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextContrast"
        }),
        TextLink = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextLink"
        }),
        TextDisabled = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextDisabled"
        }),
        TextError = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextError"
        }),
        TextSuccess = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextSuccess"
        }),
        TextWarning = v1.createElement("TextLabel", {
            LayoutOrder = v4:getNextOrder(),
            Text = "TextWarning"
        }),
        ErrorMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "ErrorMain"
            })
        }),
        SuccessMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SuccessMain"
            })
        }),
        WarningMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "WarningMain"
            })
        }),
        ActionEnabled = v1.createElement("TextButton", {
            LayoutOrder = v4:getNextOrder(),
            Text = "ActionEnabled"
        }),
        ActionSelected = v1.createElement("TextButton", {
            LayoutOrder = v4:getNextOrder(),
            Text = "ActionSelected"
        }),
        ActionActivated = v1.createElement("TextButton", {
            LayoutOrder = v4:getNextOrder(),
            Text = "ActionActivated"
        }),
        ActionHover = v1.createElement("TextButton", {
            LayoutOrder = v4:getNextOrder(),
            Text = "ActionHover (hover over me)"
        }),
        ActionFocusBorder = v1.createElement("TextButton", {
            LayoutOrder = v4:getNextOrder(),
            Text = "ActionFocusBorder (border color)"
        }),
        PrimaryMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "PrimaryMain"
            })
        }),
        PrimaryHoverBackground = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "PrimaryHoverBackground (hover over me)"
            })
        }),
        SecondaryMain = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryMain"
            })
        }),
        SecondaryMuted = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryMuted"
            })
        }),
        SecondaryContrast = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryContrast"
            })
        }),
        SecondaryHoverBackground = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryHoverBackground (hover over me)"
            })
        }),
        SecondaryHoverOutlineBorder = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryHoverOutlineBorder"
            })
        }),
        SecondaryRestingOutlineBorder = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "SecondaryRestingOutlineBorder"
            })
        }),
        FilledInputBackground = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "FilledInputBackground"
            })
        }),
        Divider = v1.createElement("Frame", {
            LayoutOrder = v4:getNextOrder()
        }, {
            Text = v1.createElement("TextLabel", {
                Text = "Divider"
            })
        }),
        CheckboxUncheckedImage = v1.createElement("ImageLabel", {
            LayoutOrder = v4:getNextOrder()
        }),
        CheckboxCheckedImage = v1.createElement("ImageLabel", {
            LayoutOrder = v4:getNextOrder()
        }),
        CheckboxIndeterminateImage = v1.createElement("ImageLabel", {
            LayoutOrder = v4:getNextOrder()
        }),
        CheckboxDisabledImage = v1.createElement("ImageLabel", {
            LayoutOrder = v4:getNextOrder()
        })
    });
end;
local function _()
end;
return v5;


local l_createStyleRule_0 = require(script.Parent.Parent.Parent.Parent.Packages.Framework).Styling.createStyleRule;
local v1 = UDim2.new(0, 200, 0, 50);
local v2 = UDim2.new(0, 50, 0, 50);
return l_createStyleRule_0(".Component-TokenExamples", {
    Size = UDim2.new(1, 0, 1, 0)
}, {
    l_createStyleRule_0(">> TextLabel", {
        Size = UDim2.new(1, 0, 1, 0),
        AutomaticSize = Enum.AutomaticSize.XY,
        TextXAlignment = Enum.TextXAlignment.Center,
        TextYAlignment = Enum.TextYAlignment.Center,
        BackgroundTransparency = 1,
        TextSize = 14
    }),
    l_createStyleRule_0("> #BackgroundDefault", {
        Size = v1,
        BackgroundColor3 = "$BackgroundDefault"
    }),
    l_createStyleRule_0("> #BackgroundPaper", {
        Size = v1,
        BackgroundColor3 = "$BackgroundPaper"
    }),
    l_createStyleRule_0("> #ForegroundMain", {
        Size = v1,
        BackgroundColor3 = "$ForegroundMain"
    }),
    l_createStyleRule_0("> #ForegroundMuted", {
        Size = v1,
        BackgroundColor3 = "$ForegroundMuted"
    }),
    l_createStyleRule_0("> #ForegroundContrast", {
        Size = v1,
        BackgroundColor3 = "$ForegroundContrast"
    }),
    l_createStyleRule_0("> #TextPrimary", {
        Size = v1,
        TextColor3 = "$TextPrimary"
    }),
    l_createStyleRule_0("> #TextSecondary", {
        Size = v1,
        TextColor3 = "$TextSecondary"
    }),
    l_createStyleRule_0("> #TextContrast", {
        Size = v1,
        TextColor3 = "$TextContrast"
    }),
    l_createStyleRule_0("> #TextLink", {
        Size = v1,
        TextColor3 = "$TextLink"
    }, {
        l_createStyleRule_0(":hover", {
            TextColor3 = "$TextLink"
        })
    }),
    l_createStyleRule_0("> #TextDisabled", {
        Size = v1,
        TextColor3 = "$TextDisabled"
    }),
    l_createStyleRule_0("> #TextError", {
        Size = v1,
        TextColor3 = "$TextError"
    }),
    l_createStyleRule_0("> #TextSuccess", {
        Size = v1,
        TextColor3 = "$TextSuccess"
    }),
    l_createStyleRule_0("> #TextWarning", {
        Size = v1,
        TextColor3 = "$TextWarning"
    }),
    l_createStyleRule_0("> #ErrorMain", {
        Size = v1,
        BackgroundColor3 = "$ErrorMain"
    }),
    l_createStyleRule_0("> #SuccessMain", {
        Size = v1,
        BackgroundColor3 = "$SuccessMain"
    }),
    l_createStyleRule_0("> #WarningMain", {
        Size = v1,
        BackgroundColor3 = "$WarningMain"
    }),
    l_createStyleRule_0("> #ActionHover", {
        Size = v1,
        BackgroundColor3 = "$ActionEnabled"
    }, {
        l_createStyleRule_0(":hover", {
            BackgroundColor3 = "$ActionHover"
        })
    }),
    l_createStyleRule_0("> #ActionEnabled", {
        Size = v1,
        BackgroundColor3 = "$ActionEnabled"
    }),
    l_createStyleRule_0("> #ActionSelected", {
        Size = v1,
        BackgroundColor3 = "$ActionSelected"
    }),
    l_createStyleRule_0("> #ActionActivated", {
        Size = v1,
        BackgroundColor3 = "$ActionActivated"
    }),
    l_createStyleRule_0("> #ActionFocusBorder", {
        Size = v1,
        BackgroundColor3 = "$ActionEnabled",
        BorderColor3 = "$ActionFocusBorder"
    }),
    l_createStyleRule_0("> #PrimaryMain", {
        Size = v1,
        BackgroundColor3 = "$PrimaryMain"
    }),
    l_createStyleRule_0("> #PrimaryHoverBackground", {
        Size = v1,
        BackgroundColor3 = "$PrimaryMain"
    }, {
        l_createStyleRule_0(":hover", {
            BackgroundColor3 = "$PrimaryHoverBackground"
        })
    }),
    l_createStyleRule_0("> #SecondaryMain", {
        Size = v1,
        BackgroundColor3 = "$SecondaryMain"
    }),
    l_createStyleRule_0("> #SecondaryMuted", {
        Size = v1,
        BackgroundColor3 = "$SecondaryMuted"
    }),
    l_createStyleRule_0("> #SecondaryContrast", {
        Size = v1,
        BackgroundColor3 = "$SecondaryContrast"
    }),
    l_createStyleRule_0("> #SecondaryHoverBackground", {
        Size = v1,
        BackgroundColor3 = "$SecondaryMain"
    }, {
        l_createStyleRule_0(":hover", {
            BackgroundColor3 = "$SecondaryHoverBackground"
        })
    }),
    l_createStyleRule_0("> #SecondaryHoverOutlineBorder", {
        Size = v1,
        BackgroundColor3 = "$SecondaryMain",
        BorderColor3 = "$SecondaryHoverOutlineBorder"
    }),
    l_createStyleRule_0("> #SecondaryRestingOutlineBorder", {
        Size = v1,
        BackgroundColor3 = "$SecondaryMain",
        BorderColor3 = "$SecondaryRestingOutlineBorder"
    }),
    l_createStyleRule_0("> #FilledInputBackground", {
        Size = v1,
        BackgroundColor3 = "$FilledInputBackground"
    }),
    l_createStyleRule_0("> #Divider", {
        Size = v1,
        BackgroundColor3 = "$Divider"
    }),
    l_createStyleRule_0("> #CheckboxUncheckedImage", {
        Size = v2,
        Image = "$CheckboxUncheckedImage"
    }),
    l_createStyleRule_0("> #CheckboxCheckedImage", {
        Size = v2,
        Image = "$CheckboxCheckedImage"
    }),
    l_createStyleRule_0("> #CheckboxIndeterminateImage", {
        Size = v2,
        Image = "$CheckboxIndeterminateImage"
    }),
    l_createStyleRule_0("> #CheckboxDisabledImage", {
        Size = v2,
        Image = "$CheckboxDisabledImage"
    })
});


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local _ = require(l_Parent_0.Src.Clients.ActivityHistoryClient);
local v3 = require(l_Parent_0.Src.Clients.MockActivityHistoryClient);
local v4 = {};
return (v1.createContext({
    activityHistoryClient = v3,
    showSaveOrPublishPlaceToRobloxFn = function()
    end,
    useCollaborators = function()
        return v4;
    end,
    usePlaceAndUniverseId = function()
        return 0, 0;
    end,
    useConnectToDataModelSessionEffect = function()
    end,
    openBrowserLink = function()
    end,
    contextType = "mock context (default)"
}));


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local _ = require(l_Parent_0.Src.Clients.ActivityHistoryClient);
local v3 = require(l_Parent_0.Src.Contexts.ActivityHistoryContext);
local v4 = {};
return function(v5)
    return v1.createElement(v3.Provider, {
        value = v1.useMemo(function()
            return {
                activityHistoryClient = v5.activityHistoryClient,
                showSaveOrPublishPlaceToRobloxFn = v5.showSaveOrPublishPlaceToRobloxFn or function()
                end,
                useCollaborators = v5.useCollaborators or function()
                    return v4;
                end,
                usePlaceAndUniverseId = v5.usePlaceAndUniverseId or function()
                    return 0, 0;
                end,
                useConnectToDataModelSessionEffect = v5.useConnectToDataModelSessionEffect or function()
                end,
                openBrowserLink = v5.openBrowserLink or function()
                end,
                contextType = v5.contextType
            };
        end, {
            v5.activityHistoryClient,
            v5.showSaveOrPublishPlaceToRobloxFn,
            v5.openBrowserLink,
            v5.contextType,
            v5.useCollaborators,
            v5.usePlaceAndUniverseId,
            v5.useConnectToDataModelSessionEffect
        })
    }, v5.children);
end;


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local v2 = require(l_Parent_0.Packages.Dash);
local v3 = require(l_Parent_0.Packages.Cryo);
return function(v4, v5, _, v7)
    local v8, v9 = v1.useState({
        eventList = {}
    });
    local v10 = v2.filter(v8.eventList, v5);
    local v14 = v1.useCallback(function(v11, v12)
        v9(function(v13)
            return {
                eventList = v3.List.join(v13.eventList, v11),
                nextCursor = v12,
                startDate = v13.startDate
            };
        end);
    end, {
        v9
    });
    local v16 = v1.useCallback(function(v15)
        if v15 ~= v8.startDate then
            v9({
                eventList = {},
                nextCursor = nil,
                startDate = v15
            });
        end;
    end, {
        v4,
        v14,
        v8,
        v9
    });
    local v17 = v1.useCallback(function()
        if v8.nextCursor ~= nil then
            v4(v14, v8.nextCursor, v8.startDate);
        end;
    end, {
        v4,
        v14,
        v8
    });
    v1.useEffect(function()
        v4(v14, nil, v8.startDate);
    end, {
        v4,
        v14,
        v8.startDate
    });
    v1.useEffect(function()
        if v7 and v7 > 0 then
            local v18 = task.spawn(function()
                while true do
                    task.wait(v7 / 1000);
                    if v8.nextCursor == nil and v8.startDate == nil then
                        v4(v14, nil, nil);
                    end;
                end;
            end);
            return function()
                coroutine.close(v18);
            end;
        else
            return function()
            end;
        end;
    end, {
        v4,
        v14,
        v8.startDate,
        v7
    });
    return {
        eventList = v10,
        jumpToDate = v16,
        addNewEvent = function()
        end,
        onEndReached = v17
    };
end;


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Src.Contexts.ActivityHistoryContext);
local v2 = require(l_Parent_0.Packages.React);
local v3 = require(l_Parent_0.Packages.Cryo);
return function()
    local v4, v5 = v2.useState({});
    local v6 = v2.useContext(v1);
    return {
        cache = v4,
        fetchUsernames = v2.useCallback(function(v7)
            v6.activityHistoryClient.fetchUsernames(v7, function(v8)
                v5(v3.Dictionary.join(v4, v8));
            end);
        end, {
            v4
        })
    };
end;


local v0 = require(script.Parent.Parent.Parent.Packages.React);
local function v8(v1)
    local v2 = {};
    local l_status_0, _ = pcall(function()
        v2 = v1:GetCollaboratorsList();
    end);
    local v5 = if l_status_0 then {} else {};
    for _, v7 in pairs(v2) do
        table.insert(v5, v7.UserId);
    end;
    return v5;
end;
return function()
    local v9 = v0.useMemo(function()
        return game:GetService("CollaboratorsService");
    end, {});
    local v10, v11 = v0.useState({});
    v0.useEffect(function()
        v11((v8(v9)));
        local v12 = v9.CollaboratorInstanceCreatedSignal:Connect(function()
            v11((v8(v9)));
        end);
        local v13 = v9.CollaboratorInstanceDestroyedSignal:Connect(function()
            v11((v8(v9)));
        end);
        return function()
            v12:Disconnect();
            v13:Disconnect();
        end;
    end, {});
    return v10;
end;


local v0 = require(script.Parent.Parent.Parent.Packages.React);
local v1 = false;
local v2 = nil;
return function(v3)
    if not v1 then
        v1 = true;
        v2 = Instance.new("BindableEvent");
        assert(v2);
        v3:OnInvoke("idsupdated", function()
            v2:Fire();
        end);
    end;
    assert(v2);
    local v4, v5 = v0.useState(0);
    local v6, v7 = v0.useState(0);
    local function _()
        local l_v3_Item_0 = v3:GetItem("placeid");
        local l_v3_Item_1 = v3:GetItem("universeid");
        v5(l_v3_Item_0);
        v7(l_v3_Item_1);
    end;
    v0.useEffect(function()
        local l_v3_Item_2 = v3:GetItem("placeid");
        local l_v3_Item_3 = v3:GetItem("universeid");
        v5(l_v3_Item_2);
        v7(l_v3_Item_3);
        l_v3_Item_2 = v2.Event:Connect(function()
            local l_v3_Item_4 = v3:GetItem("placeid");
            local l_v3_Item_5 = v3:GetItem("universeid");
            v5(l_v3_Item_4);
            v7(l_v3_Item_5);
        end);
        return function()
            l_v3_Item_2:Disconnect();
        end;
    end, {});
    return v4, v6;
end;


local l_Parent_0 = script.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local v2 = require(l_Parent_0.Packages.Framework);
local l_Styling_0 = v2.Styling;
local l_DockWidget_0 = v2.UI.DockWidget;
local l_PluginToolbar_0 = v2.UI.PluginToolbar;
local l_PluginButton_0 = v2.UI.PluginButton;
local l_ContextServices_0 = v2.ContextServices;
local l_Plugin_0 = l_ContextServices_0.Plugin;
local l_Mouse_0 = l_ContextServices_0.Mouse;
local v10 = require(l_Parent_0.Src.Resources.MakeTheme);
local l_registerPluginStyles_0 = l_Styling_0.registerPluginStyles;
local l_SourceStrings_0 = l_Parent_0.Src.Resources.Localization.SourceStrings;
local l_LocalizedStrings_0 = l_Parent_0.Src.Resources.Localization.LocalizedStrings;
local v14 = require(l_Parent_0.Src.Util.AnalyticsHandlers);
local v15 = require(l_Parent_0.Src.Components.App);
local v16 = v1.PureComponent:extend("MainPlugin");
v16.init = function(v17, v18)
    v17.design = l_registerPluginStyles_0(v18.Plugin);
    v17.state = {
        enabled = false
    };
    v17.toggleEnabled = function()
        v17:setState(function(v19)
            return {
                enabled = not v19.enabled
            };
        end);
    end;
    v17.onClose = function()
        v17:setState({
            enabled = false
        });
    end;
    v17.onRestore = function(v20)
        v17:setState({
            enabled = v20
        });
    end;
    v17.onWidgetEnabledChanged = function(v21)
        v17:setState({
            enabled = v21.Enabled
        });
    end;
    v17.localization = l_ContextServices_0.Localization.new({
        stringResourceTable = l_SourceStrings_0,
        translationResourceTable = l_LocalizedStrings_0,
        pluginName = "ActivityFeed"
    });
    v17.analytics = l_ContextServices_0.Analytics.new(v14);
end;
v16.renderButtons = function(v22, v23)
    return {
        Toggle = v1.createElement(l_PluginButton_0, {
            Toolbar = v23,
            Active = v22.state.enabled,
            Title = "activity_feed_button",
            Tooltip = v22.localization:getText("Plugin", "Description"),
            OnClick = v22.toggleEnabled,
            ClickableWhenViewportHidden = true
        })
    };
end;
v16.render = function(v24)
    local l_props_0 = v24.props;
    local l_state_0 = v24.state;
    local l_Plugin_1 = l_props_0.Plugin;
    return l_ContextServices_0.provide({
        l_Plugin_0.new(l_Plugin_1),
        l_Mouse_0.new(l_Plugin_1:getMouse()),
        v10(),
        v24.localization,
        v24.analytics
    }, {
        Toolbar = v1.createElement(l_PluginToolbar_0, {
            Title = "ActivityFeed",
            RenderButtons = function(v28)
                return v24:renderButtons(v28);
            end
        }),
        MainWidget = v1.createElement(l_DockWidget_0, {
            Id = "ActivityFeed",
            Enabled = l_state_0.enabled,
            Title = v24.localization:getText("Plugin", "Name"),
            ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
            InitialDockState = Enum.InitialDockState.Left,
            Size = Vector2.new(640, 480),
            MinSize = Vector2.new(250, 200),
            OnClose = v24.onClose,
            ShouldRestore = true,
            OnWidgetRestored = v24.onRestore,
            [v1.Change.Enabled] = v24.onWidgetEnabledChanged
        }, {
            App = v1.createElement(v15, {
                plugin = l_Plugin_1
            }),
            StyleLink = v1.createElement("StyleLink", {
                StyleSheet = v24.design
            })
        })
    });
end;
return v16;


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.Framework);
local v2 = require(l_Parent_0.Src.Resources.StyleTips);
local l_createStyleRule_0 = v1.Styling.createStyleRule;
return v1.Styling.createStyleSheet("ActivityHistoryPlugin", {
    l_createStyleRule_0(".CX-Invisible", {
        BackgroundTransparency = 1
    }),
    l_createStyleRule_0(".CX-Divider", {
        Size = UDim2.new(1, 0, 0, 1),
        BackgroundColor3 = "$Divider"
    }),
    l_createStyleRule_0("Frame", {
        BorderSizePixel = 0
    }),
    l_createStyleRule_0("TextLabel", {
        Font = v2.defaultFont,
        TextSize = v2.normalFontSize,
        TextColor = "$TextPrimary"
    }),
    l_createStyleRule_0("TextButton", {
        Font = v2.defaultFont,
        TextSize = v2.buttonFontSize,
        TextColor = "$TextPrimary"
    })
}, {});


return require(script.Parent.Parent.Parent.Packages.Framework).Styling.createStyleSheet("ActivityHistoryPluginDarkTheme", {}, {
    arrowdownicon = "rbxasset://studio_svg_textures/Shared/Navigation/Dark/Standard/DropdownArrow.png",
    threedotsicon = "rbxasset://studio_svg_textures/Shared/Navigation/Dark/Standard/More.png",
    toggleicon = "rbxasset://studio_svg_textures/Shared/Navigation/Dark/Standard/DropdownArrow.png",
    search = "rbxasset://studio_svg_textures/Lua/DeveloperFramework/Dark/Standard/Search.png"
});


return require(script.Parent.Parent.Parent.Packages.Framework).Styling.createStyleSheet("NotificationsPluginLightTheme", {}, {
    arrowdownicon = "rbxasset://studio_svg_textures/Shared/Navigation/Light/Standard/ArrowDown.png",
    threedotsicon = "rbxasset://studio_svg_textures/Shared/Navigation/Light/Standard/More.png",
    toggleicon = "rbxasset://studio_svg_textures/Shared/Navigation/Light/Standard/ArrowDown.png",
    search = "rbxasset://studio_svg_textures/Lua/DeveloperFramework/Light/Standard/Search.png"
});


return {
    filterHeaderHeight = 32,
    bubblePaddingHalf = 8,
    bubbleTopHeight = 16,
    bubbleMiddleHeight = 22,
    bubbleMiddlePadding = 8,
    bubbleBottomHeight = 16,
    bubbleHeight = 78,
    bubbleCornerRadius = 5,
    byHeight = 20,
    checkBoxRowHeight = 32,
    detailFontSize = 14,
    normalFontSize = 18,
    buttonFontSize = 18,
    headerFontSize = 18,
    defaultFont = Enum.Font.SourceSans
};


local v0 = require(script.Parent.Parent.Parent.Packages.Cryo);
local _ = game:GetService("StudioService");
return function(v2)
    local function v4(v3)
        v2:SendEventDeferred("studio", "ActivityHistory", "ActivityHistoryAction", (v0.Dictionary.join({
            studioSid = v2:GetSessionId(),
            clientId = v2:GetClientId()
        }, v3 or {})));
    end;
    return {
        bubblesSeenOnSessionEnd = function(_, v6, v7, v8)
            v4({
                analyticsEventType = "bubblesSeenOnSessionEnd",
                bubblesSeenOnSessionEndCount = v6,
                placeId = v7,
                universeId = v8
            });
        end,
        deeplink = function(_, v10, v11)
            v4({
                analyticsEventType = "deeplink",
                eventtype = v10,
                deeplinktype = v11
            });
        end
    };
end;


local v0 = "https://www.roblox.com";
local v1 = "https://create.roblox.com";
pcall(function()
    v0 = game:GetService("ContentProvider").BaseUrl;
    v1 = string.gsub(v0, "www", "create");
end);
return {
    wwwPath = v0,
    createPath = v1
};


local _ = require(script.Parent.Parent.Parent.Src.Clients.ActivityHistoryClient);
local v1 = {};
for v2 = 1, 100 do
    table.insert(v1, {
        id = tostring(v2),
        eventType = 1,
        userId = 1667878157,
        universeId = 3900846521,
        placeId = 11366343566,
        resourceId = 1667878157,
        metaData = {
            Action = true
        },
        createdUnixTimeMs = 0
    });
end;
return {
    {
        id = tostring(1),
        eventType = 0,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 2548929
    },
    {
        id = tostring(2),
        eventType = 1,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 2582138
    },
    {
        id = tostring(3),
        eventType = 2,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Playability = "parrot"
        },
        createdUnixTimeMs = 3649434
    },
    {
        id = tostring(4),
        eventType = 3,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringName = "whale"
        },
        createdUnixTimeMs = 5690036
    },
    {
        id = tostring(5),
        eventType = 4,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringName = "cat"
        },
        createdUnixTimeMs = 7846117
    },
    {
        id = tostring(6),
        eventType = 5,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringName = "monkey"
        },
        createdUnixTimeMs = 9236393
    },
    {
        id = tostring(7),
        eventType = 6,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            AvatarType = "koala"
        },
        createdUnixTimeMs = 10695259
    },
    {
        id = tostring(8),
        eventType = 7,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Animation = "snake"
        },
        createdUnixTimeMs = 11474917
    },
    {
        id = tostring(9),
        eventType = 8,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Collision = "snake"
        },
        createdUnixTimeMs = 11598217
    },
    {
        id = tostring(10),
        eventType = 9,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Scale = "zebra"
        },
        createdUnixTimeMs = 14047229
    },
    {
        id = tostring(11),
        eventType = 10,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Scale = "parrot"
        },
        createdUnixTimeMs = 14711770
    },
    {
        id = tostring(12),
        eventType = 11,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Scale = "zebra"
        },
        createdUnixTimeMs = 17212789
    },
    {
        id = tostring(13),
        eventType = 12,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Scale = "rhino"
        },
        createdUnixTimeMs = 19270671
    },
    {
        id = tostring(14),
        eventType = 13,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Scale = "lion"
        },
        createdUnixTimeMs = 21027788
    },
    {
        id = tostring(15),
        eventType = 14,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 22030680
    },
    {
        id = tostring(16),
        eventType = 15,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 23548826
    },
    {
        id = tostring(17),
        eventType = 16,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            NewName = "horse",
            OldName = "rabbit"
        },
        createdUnixTimeMs = 24296296
    },
    {
        id = tostring(18),
        eventType = 17,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 25900786
    },
    {
        id = tostring(19),
        eventType = 18,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Genre = "shark"
        },
        createdUnixTimeMs = 26464064
    },
    {
        id = tostring(20),
        eventType = 19,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 28239710
    },
    {
        id = tostring(21),
        eventType = 20,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 30146657
    },
    {
        id = tostring(22),
        eventType = 21,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 30806646
    },
    {
        id = tostring(23),
        eventType = 22,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false"
        },
        createdUnixTimeMs = 32250981
    },
    {
        id = tostring(24),
        eventType = 23,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 34150130
    },
    {
        id = tostring(25),
        eventType = 24,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Channel = "bear"
        },
        createdUnixTimeMs = 34477285
    },
    {
        id = tostring(26),
        eventType = 25,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Channel = "fox"
        },
        createdUnixTimeMs = 36724888
    },
    {
        id = tostring(27),
        eventType = 26,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Channel = "wolf"
        },
        createdUnixTimeMs = 38724031
    },
    {
        id = tostring(28),
        eventType = 27,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false"
        },
        createdUnixTimeMs = 39083525
    },
    {
        id = tostring(29),
        eventType = 28,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Gravity = "hawk"
        },
        createdUnixTimeMs = 39565818
    },
    {
        id = tostring(30),
        eventType = 29,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            JumpHeight = "whale"
        },
        createdUnixTimeMs = 39662502
    },
    {
        id = tostring(31),
        eventType = 30,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            JumpPower = "panda"
        },
        createdUnixTimeMs = 41480842
    },
    {
        id = tostring(32),
        eventType = 31,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            WalkSpeed = "hawk"
        },
        createdUnixTimeMs = 41994434
    },
    {
        id = tostring(33),
        eventType = 32,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            MaxSlopeAngle = "kangaroo"
        },
        createdUnixTimeMs = 42877770
    },
    {
        id = tostring(34),
        eventType = 33,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Update = "horse"
        },
        createdUnixTimeMs = 43706700
    },
    {
        id = tostring(35),
        eventType = 34,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "elephant",
            Action = "false"
        },
        createdUnixTimeMs = 45398195
    },
    {
        id = tostring(36),
        eventType = 35,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "tiger",
            Action = "false"
        },
        createdUnixTimeMs = 45850479
    },
    {
        id = tostring(37),
        eventType = 36,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "dolphin",
            Action = "true"
        },
        createdUnixTimeMs = 48129064
    },
    {
        id = tostring(38),
        eventType = 37,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false"
        },
        createdUnixTimeMs = 50693454
    },
    {
        id = tostring(39),
        eventType = 38,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 51946802
    },
    {
        id = tostring(40),
        eventType = 39,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 52071747
    },
    {
        id = tostring(41),
        eventType = 40,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 53757100
    },
    {
        id = tostring(42),
        eventType = 41,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "fox",
            IconName = "bear"
        },
        createdUnixTimeMs = 54121331
    },
    {
        id = tostring(43),
        eventType = 42,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "hippo",
            IconName = "panda"
        },
        createdUnixTimeMs = 56462880
    },
    {
        id = tostring(44),
        eventType = 43,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "parrot"
        },
        createdUnixTimeMs = 58054228
    },
    {
        id = tostring(45),
        eventType = 44,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "rhino"
        },
        createdUnixTimeMs = 58643218
    },
    {
        id = tostring(46),
        eventType = 45,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "rhino",
            ThumbnailName = "snake"
        },
        createdUnixTimeMs = 59757915
    },
    {
        id = tostring(47),
        eventType = 46,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "parrot",
            ThumbnailName = "panda"
        },
        createdUnixTimeMs = 62192329
    },
    {
        id = tostring(48),
        eventType = 47,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "shark",
            ThumbnailName = "zebra"
        },
        createdUnixTimeMs = 63449005
    },
    {
        id = tostring(49),
        eventType = 48,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 65086220
    },
    {
        id = tostring(50),
        eventType = 49,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringKey = "parrot",
            Language = "rhino"
        },
        createdUnixTimeMs = 67168340
    },
    {
        id = tostring(51),
        eventType = 50,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringKey = "hippo",
            Language = "koala"
        },
        createdUnixTimeMs = 69683845
    },
    {
        id = tostring(52),
        eventType = 51,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            StringKey = "zebra",
            Language = "horse"
        },
        createdUnixTimeMs = 71667628
    },
    {
        id = tostring(53),
        eventType = 52,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "koala",
            BadgeName = "octopus"
        },
        createdUnixTimeMs = 73847799
    },
    {
        id = tostring(54),
        eventType = 53,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "giraffe",
            BadgeName = "eagle"
        },
        createdUnixTimeMs = 75768850
    },
    {
        id = tostring(55),
        eventType = 54,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "owl",
            BadgeName = "fox"
        },
        createdUnixTimeMs = 77579470
    },
    {
        id = tostring(56),
        eventType = 55,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "octopus",
            BadgeName = "lion"
        },
        createdUnixTimeMs = 79801753
    },
    {
        id = tostring(57),
        eventType = 56,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "eagle",
            ProductName = "rabbit"
        },
        createdUnixTimeMs = 82215466
    },
    {
        id = tostring(58),
        eventType = 57,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "elephant",
            ProductName = "penguin"
        },
        createdUnixTimeMs = 83001420
    },
    {
        id = tostring(59),
        eventType = 58,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "rhino",
            ProductName = "shark"
        },
        createdUnixTimeMs = 83150091
    },
    {
        id = tostring(60),
        eventType = 59,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "snake",
            ProductName = "whale"
        },
        createdUnixTimeMs = 84359042
    },
    {
        id = tostring(61),
        eventType = 60,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "monkey",
            PassName = "hawk"
        },
        createdUnixTimeMs = 85255183
    },
    {
        id = tostring(62),
        eventType = 61,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "horse",
            PassName = "eagle"
        },
        createdUnixTimeMs = 85906579
    },
    {
        id = tostring(63),
        eventType = 62,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "koala",
            PassName = "snake"
        },
        createdUnixTimeMs = 87752685
    },
    {
        id = tostring(64),
        eventType = 63,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Language = "koala",
            PassName = "koala"
        },
        createdUnixTimeMs = 89385915
    },
    {
        id = tostring(65),
        eventType = 64,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 89825334
    },
    {
        id = tostring(66),
        eventType = 65,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            GroupName = "lion"
        },
        createdUnixTimeMs = 92190573
    },
    {
        id = tostring(67),
        eventType = 66,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 93408648
    },
    {
        id = tostring(68),
        eventType = 67,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 95393330
    },
    {
        id = tostring(69),
        eventType = 68,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 96115976
    },
    {
        id = tostring(70),
        eventType = 69,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Price = "owl"
        },
        createdUnixTimeMs = 96752314
    },
    {
        id = tostring(71),
        eventType = 70,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlayableDevices = "kangaroo"
        },
        createdUnixTimeMs = 98373695
    },
    {
        id = tostring(72),
        eventType = 71,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 99984998
    },
    {
        id = tostring(73),
        eventType = 72,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Price = "hippo"
        },
        createdUnixTimeMs = 100244494
    },
    {
        id = tostring(74),
        eventType = 73,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            AdName = "dolphin",
            Action = "false"
        },
        createdUnixTimeMs = 101262295
    },
    {
        id = tostring(75),
        eventType = 74,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            NewName = "panda",
            OldName = "tiger"
        },
        createdUnixTimeMs = 101774241
    },
    {
        id = tostring(76),
        eventType = 75,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 101966397
    },
    {
        id = tostring(77),
        eventType = 76,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 103229953
    },
    {
        id = tostring(78),
        eventType = 77,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 104823276
    },
    {
        id = tostring(79),
        eventType = 78,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            NewName = "panda",
            OldName = "wolf"
        },
        createdUnixTimeMs = 105621695
    },
    {
        id = tostring(80),
        eventType = 79,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 107193390
    },
    {
        id = tostring(81),
        eventType = 80,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 107630184
    },
    {
        id = tostring(82),
        eventType = 81,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Price = "dolphin"
        },
        createdUnixTimeMs = 107856472
    },
    {
        id = tostring(83),
        eventType = 82,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 108833293
    },
    {
        id = tostring(84),
        eventType = 83,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            NewName = "tiger",
            OldName = "monkey"
        },
        createdUnixTimeMs = 109166739
    },
    {
        id = tostring(85),
        eventType = 84,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 110959395
    },
    {
        id = tostring(86),
        eventType = 85,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 112236766
    },
    {
        id = tostring(87),
        eventType = 86,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Price = "lion"
        },
        createdUnixTimeMs = 112435376
    },
    {
        id = tostring(88),
        eventType = 87,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 114455025
    },
    {
        id = tostring(89),
        eventType = 88,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false"
        },
        createdUnixTimeMs = 114875454
    },
    {
        id = tostring(90),
        eventType = 89,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            GroupName = "hawk",
            RolesetName = "fox",
            Action = "false"
        },
        createdUnixTimeMs = 115973918
    },
    {
        id = tostring(91),
        eventType = 90,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false"
        },
        createdUnixTimeMs = 117668626
    },
    {
        id = tostring(92),
        eventType = 91,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true"
        },
        createdUnixTimeMs = 118850939
    },
    {
        id = tostring(93),
        eventType = 92,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            GroupName = "crocodile",
            RolesetName = "dolphin",
            Action = "true"
        },
        createdUnixTimeMs = 120967186
    },
    {
        id = tostring(94),
        eventType = 93,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            GroupName = "cheetah",
            RolesetName = "crocodile",
            Action = "false"
        },
        createdUnixTimeMs = 123308726
    },
    {
        id = tostring(95),
        eventType = 94,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 123321021
    },
    {
        id = tostring(96),
        eventType = 95,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 124579740
    },
    {
        id = tostring(97),
        eventType = 96,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 125765309
    },
    {
        id = tostring(98),
        eventType = 97,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 126125433
    },
    {
        id = tostring(99),
        eventType = 98,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 127760401
    },
    {
        id = tostring(100),
        eventType = 99,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 128574666
    },
    {
        id = tostring(101),
        eventType = 100,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            GearTypes = {
                "cat sword",
                "dog shield"
            }
        },
        createdUnixTimeMs = 129016066
    },
    {
        id = tostring(102),
        eventType = 101,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "true",
            PlaceName = "rhino"
        },
        createdUnixTimeMs = 130403525
    },
    {
        id = tostring(103),
        eventType = 102,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Genre = "koala"
        },
        createdUnixTimeMs = 131212880
    },
    {
        id = tostring(104),
        eventType = 103,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            NewName = "rabbit",
            OldName = "panda"
        },
        createdUnixTimeMs = 131993211
    },
    {
        id = tostring(105),
        eventType = 104,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlaceName = "cat"
        },
        createdUnixTimeMs = 133390922
    },
    {
        id = tostring(106),
        eventType = 105,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Count = "giraffe"
        },
        createdUnixTimeMs = 133413969
    },
    {
        id = tostring(107),
        eventType = 106,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 135751656
    },
    {
        id = tostring(108),
        eventType = 107,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 137939050
    },
    {
        id = tostring(109),
        eventType = 108,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Count = "crocodile"
        },
        createdUnixTimeMs = 138485233
    },
    {
        id = tostring(110),
        eventType = 109,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false",
            PlaceName = "cheetah"
        },
        createdUnixTimeMs = 139685645
    },
    {
        id = tostring(111),
        eventType = 110,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Action = "false",
            PlaceName = "cat"
        },
        createdUnixTimeMs = 141389713
    },
    {
        id = tostring(112),
        eventType = 111,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlaceName = "zebra",
            OldVersion = "zebra",
            NewVersion = "eagle"
        },
        createdUnixTimeMs = 142649394
    },
    {
        id = tostring(113),
        eventType = 112,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 142809229
    },
    {
        id = tostring(114),
        eventType = 113,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 143657624
    },
    {
        id = tostring(115),
        eventType = 114,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            ThumbnailName = "snake"
        },
        createdUnixTimeMs = 145624934
    },
    {
        id = tostring(116),
        eventType = 115,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            ThumbnailName = "dog"
        },
        createdUnixTimeMs = 146069032
    },
    {
        id = tostring(117),
        eventType = 116,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 148265549
    },
    {
        id = tostring(118),
        eventType = 117,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            ThumbnailName = "cat"
        },
        createdUnixTimeMs = 149884233
    },
    {
        id = tostring(119),
        eventType = 118,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlaceName = "hippo"
        },
        createdUnixTimeMs = 152327791
    },
    {
        id = tostring(120),
        eventType = 119,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlaceName = "owl"
        },
        createdUnixTimeMs = 153580546
    },
    {
        id = tostring(121),
        eventType = 120,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            PlaceName = "cat"
        },
        createdUnixTimeMs = 155345218
    },
    {
        id = tostring(122),
        eventType = 121,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {},
        createdUnixTimeMs = 156565284
    },
    {
        id = tostring(123),
        eventType = 122,
        userId = 1511969967,
        universeId = 1849021714,
        placeId = 5279580942,
        resourceId = 0,
        metaData = {
            Price = "elephant"
        },
        createdUnixTimeMs = 157712433
    }
};


local function v4(v0, v1)
    if v0 == nil then
        return nil;
    else
        for _, v3 in ipairs(v0:GetDescendants()) do
            if not (not (v3:isA("TextLabel") or v3:isA("TextButton")) and not v3:isA("TextBox") or not string.find(v3.Text, v1)) then
                return v3;
            end;
        end;
        return nil;
    end;
end;
local function v5(v6)
    if not v6:IsA("GuiObject") then
        return false;
    elseif v6.Visible then
        if not v6.Parent or not v6.Parent:IsA("GuiObject") then
            return true;
        else
            return v5(v6.Parent);
        end;
    else
        return false;
    end;
end;
return {
    findFirstChildWithText = v4,
    isVisible = v5
};


local l_Parent_0 = script.Parent.Parent.Parent;
local v1 = require(l_Parent_0.Packages.React);
local v2 = require(l_Parent_0.Packages.Framework);
local v3 = require(l_Parent_0.Src.Resources.MakeTheme);
local v4 = require(l_Parent_0.Src.Clients.MockActivityHistoryClient);
local v5 = require(l_Parent_0.Src.Contexts.ActivityHistoryProvider);
local l_TestHelpers_0 = v2.TestHelpers;
local l_ContextServices_0 = v2.ContextServices;
local v8 = {
    l_ContextServices_0.Analytics.mock(),
    l_ContextServices_0.Localization.mock(),
    v3(true)
};
return function(v9)
    assert(type(v9) == "table", "Expected story to be a table");
    return l_TestHelpers_0.provideMockContext(v8, {
        ActivityHistoryProvider = v1.createElement(v5, {
            activityHistoryClient = v4,
            contextType = "mock context"
        }, v9)
    });
end;


if plugin then
    local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
    local v1 = require(l_script_FirstAncestor_0.Packages.TestLoader);
    v1.launch("AnimLibraryInstaller", l_script_FirstAncestor_0.Src);
    if not v1.isCli() then
        if require(l_script_FirstAncestor_0.Bin.Common.defineLuaFlags).getFFlagEnableAnimLibraryInstaller() then
            local v2 = require(l_script_FirstAncestor_0.Bin.Common.pluginType);
            if v2.get() ~= v2.Asset then
                return ;
            else
                require(l_script_FirstAncestor_0.Bin.Common.setup)(plugin, (require(l_script_FirstAncestor_0.Bin.Common.setupMain)));
                return ;
            end;
        else
            return ;
        end;
    else
        return ;
    end;
else
    return ;
end;


game:DefineFastFlag("EnableAnimLibraryInstaller", false);
return {
    getFFlagEnableAnimLibraryInstaller = function()
        return game:GetFastFlag("EnableAnimLibraryInstaller");
    end
};


return {
    Asset = "Asset",
    Standalone = "Standalone",
    get = function()
        return "Standalone";
    end
};


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
local v1 = require(l_script_FirstAncestor_0.Packages.PluginLoader.PluginLoaderBuilder);
local l_SourceStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.SourceStrings;
local l_LocalizedStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.LocalizedStrings;
local v4 = require(l_script_FirstAncestor_0.Bin.Common.pluginType);
return function(v5, v6)
    v5.Name = l_script_FirstAncestor_0.Name;
    local v13 = {
        getName = function(v7, v8, v9)
            return v7(v8, v9, "Plugin", "Button");
        end,
        getDescription = function(v10, v11, v12)
            return v10(v11, v12, "Plugin", "Description");
        end,
        icon = "rbxlocaltheme://GameSettings",
        enabled = false
    };
    local v17 = {
        plugin = v5,
        pluginName = "AnimLibraryInstaller",
        translationResourceTable = l_LocalizedStrings_0,
        fallbackResourceTable = l_SourceStrings_0,
        getToolbarName = function(v14, v15, v16)
            return v14(v15, v16, "Plugin", "Toolbar");
        end,
        buttonInfo = v13
    };
    local l_RunService_0 = game:GetService("RunService");
    local v19 = v4.get() == v4.Standalone;
    local v20 = l_RunService_0:IsEdit();
    if not v19 and not v20 then
        v1.build(v17);
        return ;
    else
        v13.enabled = true;
        v17.dockWidgetInfo = {
            id = "AnimLibraryInstaller",
            dockWidgetPluginGuiInfo = DockWidgetPluginGuiInfo.new(Enum.InitialDockState.Bottom, false, false, 640, 480, 250, 200),
            getDockTitle = function(v21, v22, v23)
                return v21(v22, v23, "Plugin", "Name");
            end,
            zIndexBehavior = Enum.ZIndexBehavior.Sibling
        };
        local v24 = v1.build(v17);
        if v24.pluginLoader:waitForUserInteraction() then
            v6(v5, v24);
            return ;
        else
            return ;
        end;
    end;
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
return function(v1, v2)
    local v3 = require(l_script_FirstAncestor_0.Packages.React);
    local v4 = require(l_script_FirstAncestor_0.Packages.ReactRoblox);
    local v5 = v3.createElement(require(l_script_FirstAncestor_0.Src.MainPlugin), {
        Plugin = v1,
        PluginLoaderContext = v2
    });
    local v6 = v4.createRoot((Instance.new("Frame")));
    assert(v6);
    v6:render(v5);
    v1.Unloading:Connect(function()
        if v6 then
            v6:render(nil);
            v6 = nil;
        end;
    end);
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
if require(l_script_FirstAncestor_0.Bin.Common.defineLuaFlags).getFFlagEnableAnimLibraryInstaller() then
    if not require(l_script_FirstAncestor_0.Packages.TestLoader).isCli() then
        local v1 = require(l_script_FirstAncestor_0.Bin.Common.pluginType);
        if v1.get() ~= v1.Standalone then
            return ;
        else
            require(l_script_FirstAncestor_0.Bin.Common.setup)(plugin, (require(l_script_FirstAncestor_0.Bin.Common.setupMain)));
            return ;
        end;
    else
        error("roblox-cli should not be loading standalone plugins");
        return ;
    end;
else
    return ;
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
local v1 = require(l_script_FirstAncestor_0.Packages.React);
local l_Localization_0 = require(l_script_FirstAncestor_0.Packages.Framework).ContextServices.Localization;
return function(v3)
    return v1.createElement("Frame", {
        [v1.Tag] = "Component-BasicExample X-Fit"
    }, {
        OptionalContent = if not v3.showContent then nil else v1.createElement("TextLabel", {
            Text = l_Localization_0:use():getText("BasicExample", "Text")
        })
    });
end;


local l_createStyleRule_0 = require(script.Parent.Parent.Parent.Parent.Packages.Framework).Styling.createStyleRule;
return l_createStyleRule_0(".Component-BasicExample", {
    BackgroundColor3 = "$BackgroundPaper",
    BorderSizePixel = 0
}, {
    l_createStyleRule_0("::UICorner", {
        CornerRadius = UDim.new(0, 10)
    }),
    l_createStyleRule_0(":hover", {
        BackgroundColor3 = "$BackgroundHover"
    }),
    l_createStyleRule_0("> #OptionalContent", {
        TextSize = 24,
        Font = Enum.Font.Gotham,
        TextColor3 = "$TextPrimary",
        Size = UDim2.new(1, 0, 0, 50),
        BackgroundTransparency = 1,
        TextXAlignment = Enum.TextXAlignment.Center,
        TextYAlignment = Enum.TextYAlignment.Center
    })
});


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
local v1 = require(l_script_FirstAncestor_0.Packages.React);
local l_Localization_0 = require(l_script_FirstAncestor_0.Packages.Framework).ContextServices.Localization;
return function(_)
    local v4 = l_Localization_0:use();
    local v5, v6 = v1.useState(0);
    return v1.createElement("Frame", {
        [v1.Tag] = "Component-BasicExample X-Fit X-Column"
    }, {
        Label = v1.createElement("TextLabel", {
            Text = v4:getText("CounterExample", "CounterLabel", {
                counter = v5
            })
        }),
        Button = v1.createElement("TextButton", {
            Text = v4:getText("CounterExample", "Button"),
            [v1.Event.Activated] = function()
                v6(v5 + 1);
            end
        })
    });
end;


local l_createStyleRule_0 = require(script.Parent.Parent.Parent.Parent.Packages.Framework).Styling.createStyleRule;
return l_createStyleRule_0(".Component-BasicExample", {
    BackgroundColor3 = "$BackgroundPaper",
    BorderSizePixel = 0
}, {
    l_createStyleRule_0("::UICorner", {
        CornerRadius = UDim.new(0, 10)
    }),
    l_createStyleRule_0(":hover", {
        BackgroundColor3 = "$BackgroundHover"
    }),
    l_createStyleRule_0("> TextLabel", {
        TextSize = 24,
        Font = Enum.Font.Gotham,
        TextColor3 = "$TextPrimary",
        Size = UDim2.new(1, 0, 0, 50),
        BackgroundTransparency = 1,
        TextXAlignment = Enum.TextXAlignment.Center,
        TextYAlignment = Enum.TextYAlignment.Center
    }),
    l_createStyleRule_0("> TextButton", {
        TextSize = 50,
        Font = Enum.Font.Gotham,
        TextColor3 = "$TextPrimary",
        Size = UDim2.new(1, 0, 0, 100),
        BackgroundTransparency = 1,
        TextXAlignment = Enum.TextXAlignment.Center,
        TextYAlignment = Enum.TextYAlignment.Center
    })
});


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AnimLibraryInstaller");
local v1 = require(l_script_FirstAncestor_0.Packages.React);
local v2 = require(l_script_FirstAncestor_0.Packages.Framework);
local l_DockWidget_0 = v2.UI.DockWidget;
local l_ContextServices_0 = v2.ContextServices;
local l_Plugin_0 = l_ContextServices_0.Plugin;
local l_Mouse_0 = l_ContextServices_0.Mouse;
local l_StudioTheme_0 = v2.Style.Themes.StudioTheme;
local l_registerPluginStyles_0 = v2.Styling.registerPluginStyles;
local l_SourceStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.SourceStrings;
local l_LocalizedStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.LocalizedStrings;
local v11 = require(l_script_FirstAncestor_0.Src.Components.BasicExample);
local v12 = v1.PureComponent:extend("MainPlugin");
v12.init = function(v13, v14)
    v13.state = {
        enabled = false
    };
    v13.toggleEnabled = function()
        v13:setState(function(v15)
            return {
                enabled = not v15.enabled
            };
        end);
    end;
    v13.onClose = function()
        v13:setState({
            enabled = false
        });
    end;
    v13.onRestore = function(v16)
        v13:setState({
            enabled = v16
        });
    end;
    v13.onWidgetEnabledChanged = function(v17)
        v13:setState({
            enabled = v17.Enabled
        });
    end;
    v13.onDockWidgetCreated = function()
        v13.props.PluginLoaderContext.mainButtonClickedSignal:Connect(v13.toggleEnabled);
    end;
    v13.localization = l_ContextServices_0.Localization.new({
        stringResourceTable = l_SourceStrings_0,
        translationResourceTable = l_LocalizedStrings_0,
        pluginName = "AnimLibraryInstaller"
    });
    v13.analytics = l_ContextServices_0.Analytics.new(function()
        return {};
    end, {});
    v13.DEPRECATED_stylizer = l_StudioTheme_0.new();
    v13.design = l_registerPluginStyles_0(v14.Plugin);
end;
v12.didUpdate = function(v18)
    v18.props.PluginLoaderContext.mainButton:SetActive(v18.state.enabled);
end;
v12.render = function(v19)
    local l_props_0 = v19.props;
    local l_state_0 = v19.state;
    local l_Plugin_1 = l_props_0.Plugin;
    return l_ContextServices_0.provide({
        l_Plugin_0.new(l_Plugin_1),
        l_Mouse_0.new(l_Plugin_1:getMouse()),
        v19.localization,
        v19.analytics
    }, {
        MainWidget = v1.createElement(l_DockWidget_0, {
            Id = "AnimLibraryInstaller",
            Enabled = l_state_0.enabled,
            Title = v19.localization:getText("Plugin", "Name"),
            ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
            InitialDockState = Enum.InitialDockState.Bottom,
            Size = Vector2.new(640, 480),
            MinSize = Vector2.new(250, 200),
            OnClose = v19.onClose,
            Widget = l_props_0.PluginLoaderContext.mainDockWidget,
            OnWidgetCreated = v19.onDockWidgetCreated,
            [v1.Change.Enabled] = v19.onWidgetEnabledChanged
        }, {
            Wrapper = v1.createElement("Frame", {
                [v1.Tag] = "X-Fill X-Column"
            }, {
                BasicExample = v1.createElement(v11, {
                    showContent = true
                })
            }),
            StyleLink = v1.createElement("StyleLink", {
                StyleSheet = v19.design
            })
        })
    });
end;
return v12;


local v0 = require(script:FindFirstAncestor("AnimLibraryInstaller").Packages.Framework);
local l_TestHelpers_0 = v0.TestHelpers;
local l_ContextServices_0 = v0.ContextServices;
local v3 = {
    l_ContextServices_0.Analytics.mock(),
    l_ContextServices_0.Localization.mock()
};
return function(v4)
    assert(type(v4) == "table", "Expected children to be a table");
    return l_TestHelpers_0.provideMockContext(v3, v4);
end;


if plugin then
    local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
    require(l_script_FirstAncestor_0.Bin.Common.defineLuaFlags);
    local v1 = require(l_script_FirstAncestor_0.Src.SharedFlags.getFFlagAssetAccessErrorMessageImprovements);
    local v2 = require(l_script_FirstAncestor_0.Packages.TestLoader);
    v2.launch("AssetAccess", l_script_FirstAncestor_0.Src);
    if not v2.isCli() then
        if v1() then
            if plugin.HostDataModelType ~= Enum.StudioDataModelType.Edit then
                return ;
            else
                local v3 = require(l_script_FirstAncestor_0.Src.Util.ShareDialogController).new(plugin);
                plugin.Unloading:Once(function()
                    v3:Destroy();
                end);
                return ;
            end;
        else
            return ;
        end;
    else
        return ;
    end;
else
    return ;
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
require(l_script_FirstAncestor_0.Bin.Common.defineLuaFlags);
if require(l_script_FirstAncestor_0.Src.SharedFlags.getFFlagAssetAccessErrorMessageImprovements)() then
    local v1 = require(l_script_FirstAncestor_0.Packages.TestLoader);
    v1.launch("AssetAccess", l_script_FirstAncestor_0.Src);
    if not v1.isCli() then
        plugin.Name = l_script_FirstAncestor_0.Name;
        require(script.Parent.main)(plugin);
        return ;
    else
        return ;
    end;
else
    return ;
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.React);
local v2 = require(l_script_FirstAncestor_0.Packages.ReactRoblox);
local v3 = require(l_script_FirstAncestor_0.Src.MainPlugin);
return function(v4)
    local l_Frame_0 = Instance.new("Frame");
    local v6 = v2.createRoot(l_Frame_0);
    v6:render(v1.createElement(v3, {
        Plugin = v4
    }));
    v4.Unloading:Once(function()
        v6:unmount();
        l_Frame_0:Destroy();
    end);
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.Framework);
local v2 = require(l_script_FirstAncestor_0.Packages.React);
local l_PaginatedTable_0 = v1.UI.PaginatedTable;
local l_Localization_0 = v1.ContextServices.Localization;
local _ = require(l_script_FirstAncestor_0.Src.Types);
return function(v6)
    local v7 = l_Localization_0.use();
    local v8 = v2.useMemo(function()
        return {
            {
                Name = v7:getText("AssetMetadataTable", "ColumnName"),
                Key = "name"
            },
            {
                Name = v7:getText("AssetMetadataTable", "ColumnOwner"),
                Key = "owner"
            },
            {
                Name = v7:getText("AssetMetadataTable", "ColumnId"),
                Key = "id"
            },
            {
                Name = v7:getText("AssetMetadataTable", "ColumnType"),
                Key = "type"
            }
        };
    end, {
        v7.locale
    });
    local v15 = v2.useMemo(function()
        local v9 = {};
        for v10, v11 in v6.AssetModels, nil, nil do
            if v11.state == "Loading" then
                local v12 = v7:getText("AssetMetadataTable", "PlaceholderLoading");
                table.insert(v9, {
                    name = v12,
                    owner = v12,
                    id = v10,
                    type = v12
                });
            elseif v11.state == "Failed" then
                local v13 = v7:getText("AssetMetadataTable", "PlaceholderFailed");
                table.insert(v9, {
                    name = v13,
                    owner = v13,
                    id = v10,
                    type = v13
                });
            elseif v11.state == "Loaded" then
                if v11.metadata.visibility == "Private" then
                    local v14 = v7:getText("AssetMetadataTable", "PlaceholderPrivate");
                    table.insert(v9, {
                        name = v14,
                        owner = v14,
                        id = v10,
                        type = v14
                    });
                elseif v11.metadata.visibility == "Public" then
                    table.insert(v9, {
                        name = v11.metadata.name,
                        owner = v11.metadata.owner,
                        id = v10,
                        type = v11.metadata.type.Name
                    });
                end;
            end;
        end;
        return v9;
    end, {
        v7.locale,
        v6.AssetModels
    });
    local v16, v17 = v2.useState(1);
    local v18, v19 = v2.useState({
        index = 3,
        order = Enum.SortDirection.Descending
    });
    local v26 = v2.useMemo(function()
        local v20 = table.clone(v15);
        table.sort(v20, function(v21, v22)
            local l_Key_0 = v8[v18.index].Key;
            local v24 = v21[l_Key_0];
            local v25 = v22[l_Key_0];
            assert(typeof(v24) == typeof(v25), "valueA and valueB should have the same type");
            if typeof(v24) == "string" then
                v24 = string.upper(v24);
                v25 = string.upper(v25);
            end;
            if v18.order == Enum.SortDirection.Ascending then
                return v25 < v24;
            else
                return v24 < v25;
            end;
        end);
        return v20;
    end, {
        v8,
        v15,
        v18
    });
    return v2.createElement(l_PaginatedTable_0, {
        Rows = v2.useMemo(function()
            local v27 = table.move(v26, (v16 - 1) * 8 + 1, v16 * 8, 1, {});
            if not (#v27 % 8 == 0) or #v27 == 0 then
                for _ = 1, 8 - #v27 % 8 do
                    table.insert(v27, {});
                end;
            end;
            return v27;
        end, {
            v26,
            v16
        }),
        Columns = v8,
        PageIndex = v16,
        PageCount = math.max(((#v15 + 8) - 1) // 8, 1),
        PageSize = 8,
        SortIndex = v18.index,
        SortOrder = v18.order,
        OnPageChange = v17,
        OnSortChange = function(v29, v30)
            v19({
                index = v29,
                order = v30
            });
        end,
        Size = UDim2.fromScale(1, 0),
        AutomaticSize = Enum.AutomaticSize.Y
    });
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.Framework);
local v2 = require(l_script_FirstAncestor_0.Packages.React);
local l_DialogAction_0 = v1.Util.DialogAction;
local l_Localization_0 = v1.ContextServices.Localization;
local l_useDialog_0 = v1.UI.Hooks.useDialog;
local v6 = require(l_script_FirstAncestor_0.Src.Components.AssetMetadataTable);
local v7 = require(l_script_FirstAncestor_0.Src.Hooks.useShareDialogModel);
local function _(v8, v9)
    local v10 = table.clone(v8);
    for v11, v12 in v9, nil, nil do
        v10[v11] = v12;
    end;
    return v10;
end;
return function()
    local v14 = l_Localization_0.use();
    local v15, v16, v17 = v7();
    local v18 = {};
    if v15 and (not (v15.state ~= "Prompt" and v15.state ~= "Sharing") or v15.state == "CantShare") then
        v18 = v15.assetModels;
    end;
    local l_l_useDialog_0_0 = l_useDialog_0;
    local v20 = {
        Intent = "Warning",
        Heading = v14:getText("ShareDialogView", "PromptHeading"),
        Body = v14:getText("ShareDialogView", "PromptBody"),
        Contents = v2.createElement(v6, {
            AssetModels = v18
        }),
        ActionPrimary = if not not v15 and v15.state == "Prompt" then {
            Label = v14:getText("ShareDialogView", "PromptActionShare"),
            OnActivated = v16,
            Enabled = next(v18) ~= nil
        } else if not not v15 and v15.state == "Sharing" then {
            Label = v14:getText("ShareDialogView", "PromptActionSharing"),
            Enabled = false
        } else nil
    };
    local l_CLOSE_0 = l_DialogAction_0.CLOSE;
    local v22 = {
        OnActivated = v17
    };
    local v23 = table.clone(l_CLOSE_0);
    for v24, v25 in v22, nil, nil do
        v23[v24] = v25;
    end;
    v20.ActionSecondary = v23;
    v20.Modal = true;
    v20.Width = 727;
    l_l_useDialog_0_0, v20 = l_l_useDialog_0_0(v20);
    local l_l_useDialog_0_1 = l_useDialog_0;
    l_CLOSE_0 = {
        Intent = "Error",
        Heading = v14:getText("ShareDialogView", "CantShareHeading"),
        Body = v14:getText("ShareDialogView", "CantShareBody"),
        Contents = v2.createElement(v6, {
            AssetModels = v18
        })
    };
    v23 = l_DialogAction_0.OK;
    local v27 = {
        OnActivated = v17
    };
    local v28 = table.clone(v23);
    for v29, v30 in v27, nil, nil do
        v28[v29] = v30;
    end;
    l_CLOSE_0.ActionPrimary = v28;
    l_CLOSE_0.Modal = true;
    l_CLOSE_0.Width = 727;
    l_l_useDialog_0_1, l_CLOSE_0 = l_l_useDialog_0_1(l_CLOSE_0);
    v22 = l_useDialog_0;
    v23 = {
        Intent = "Error",
        Heading = v14:getText("ShareDialogView", "UnexpectedErrorHeading"),
        Body = v14:getText("ShareDialogView", "UnexpectedErrorBody")
    };
    v28 = l_DialogAction_0.OK;
    local v31 = {
        OnActivated = v17
    };
    local v32 = table.clone(v28);
    for v33, v34 in v31, nil, nil do
        v32[v33] = v34;
    end;
    v23.ActionPrimary = v32;
    v23.Modal = true;
    v22, v23 = v22(v23);
    v2.useEffect(function()
        if not v15 or v15.state == "Inactive" then
            return ;
        else
            if not (v15.state ~= "Prompt") or v15.state == "Sharing" then
                l_l_useDialog_0_0();
            elseif v15.state == "CantShare" then
                l_l_useDialog_0_1();
            elseif v15.state == "UnexpectedError" then
                v22();
            end;
            return function()
                v20();
                l_CLOSE_0();
                v23();
            end;
        end;
    end, {
        not v15 and "Inactive" or v15.state
    });
    return nil;
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.Framework);
local v2 = require(l_script_FirstAncestor_0.Packages.React);
local l_Plugin_0 = v1.ContextServices.Plugin;
local _ = require(l_script_FirstAncestor_0.Src.Types);
return function()
    local v5 = l_Plugin_0.use():get();
    local v6, v7 = v2.useState(nil);
    v2.useEffect(function()
        local v8 = v5:OnSetItem("ShareDialogModel", v7);
        v7(v5:GetItem("ShareDialogModel"));
        return function()
            v8:Disconnect();
            v7(nil);
        end;
    end, {
        v5,
        v7
    });
    return v6, v2.useCallback(function()
        v5:Invoke("ShareAccess");
    end, {
        v5
    }), (v2.useCallback(function()
        v5:Invoke("ShareDialogDismissed");
    end, {
        v5
    }));
end;


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.React);
local v2 = require(l_script_FirstAncestor_0.Packages.Framework);
local l_ContextServices_0 = v2.ContextServices;
local l_Analytics_0 = l_ContextServices_0.Analytics;
local l_Design_0 = l_ContextServices_0.Design;
local l_Localization_0 = l_ContextServices_0.Localization;
local l_Mouse_0 = l_ContextServices_0.Mouse;
local l_Plugin_0 = l_ContextServices_0.Plugin;
local l_StudioTheme_0 = v2.Style.Themes.StudioTheme;
local l_registerPluginStyles_0 = v2.Styling.registerPluginStyles;
local l_SourceStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.SourceStrings;
local l_LocalizedStrings_0 = l_script_FirstAncestor_0.Src.Resources.Localization.LocalizedStrings;
local v13 = require(l_script_FirstAncestor_0.Src.Components.ShareDialogView);
local function _(v14)
    return v1.useMemo(function()
        return l_registerPluginStyles_0(v14);
    end, {
        v14
    });
end;
local function v18(v16, v17)
    return {
        Analytics = v1.useMemo(function()
            return l_Analytics_0.new(function()
                return {};
            end, {});
        end, {}),
        Design = v1.useMemo(function()
            return l_Design_0.new(v17);
        end, {
            v17
        }),
        Localization = v1.useMemo(function()
            return l_Localization_0.new({
                stringResourceTable = l_SourceStrings_0,
                translationResourceTable = l_LocalizedStrings_0,
                pluginName = "AssetAccess"
            });
        end, {}),
        Mouse = v1.useMemo(function()
            l_Mouse_0.new(v16:GetMouse()):__pushCursor("Arrow", 0);
        end, {
            v16:GetMouse()
        }),
        Plugin = v1.useMemo(function()
            return l_Plugin_0.new(v16);
        end, {
            v16
        }),
        Stylizer = v1.useMemo(function()
            return l_StudioTheme_0.new();
        end, {})
    };
end;
return function(v19)
    local l_Plugin_1 = v19.Plugin;
    return l_ContextServices_0.provide(v18(l_Plugin_1, (v1.useMemo(function()
        return l_registerPluginStyles_0(l_Plugin_1);
    end, {
        l_Plugin_1
    }))), {
        v1.createElement(v13)
    });
end;


return function()
    return game:GetFastFlag("AssetAccessErrorMessageImprovements3");
end;


local _ = require(script:FindFirstAncestor("AssetAccess").Src.Types);
local v1 = {};
v1.__index = v1;
local function v2(v3)
    if typeof(v3) == "table" then
        if not table.isfrozen(v3) then
            table.freeze(v3);
        end;
        for _, v5 in v3, nil, nil do
            v2(v5);
        end;
    end;
    return v3;
end;
v1.new = function(v6)
    local v7 = {};
    setmetatable(v7, v1);
    v7._alive = true;
    v7._model = table.freeze({
        state = "Inactive"
    });
    v7._plugin = v6;
    v7._threads = {};
    local l_v6_PluginComponent_0 = v6:GetPluginComponent("AssetAccessController");
    v7._assetAccessController = l_v6_PluginComponent_0;
    v7._showShareDialogConnection = l_v6_PluginComponent_0.ShowShareDialog:Connect(function(v9)
        v7:_ShowShareDialog(v9);
    end);
    v7._newInaccessibleAssetConnection = l_v6_PluginComponent_0.NewInaccessibleAsset:Connect(function(v10)
        v7:_NewInaccessibleAsset(v10);
    end);
    v7._shareAccessConnection = v6:OnInvoke("ShareAccess", function()
        v7:_ShareAccess();
    end);
    v7._shareDialogDismissedConnection = v6:OnInvoke("ShareDialogDismissed", function()
        v7:_ShareDialogDismissed();
    end);
    v7._onGetAssetMetadataFinished = function()
    end;
    v7._onShareAccessFinished = function()
    end;
    v7._plugin:SetItem("ShareDialogModel", v7._model);
    return v7;
end;
v1._GetModel = function(v11)
    assert(v11._alive, "ShareDialogController has been destroyed");
    return v11._model;
end;
v1._SetModel = function(v12, v13)
    assert(v12._alive, "ShareDialogController has been destroyed");
    v12._model = v2(table.clone(v13));
    v12._plugin:SetItem("ShareDialogModel", v12._model);
end;
v1._Defer = function(v14, v15)
    assert(v14._alive, "ShareDialogController has been destroyed");
    local v16 = nil;
    v16 = task.defer(function()
        v15();
        v14._threads[v16] = nil;
    end);
    v14._threads[v16] = true;
    return v16;
end;
v1._GetAndHydrateAssetMetadata = function(v17, v18)
    assert(v17._alive, "ShareDialogController has been destroyed");
    assert(v17:_GetModel().state == "Prompt", "Can only load asset metadata in the Prompt state");
    v17:_Defer(function()
        local l_status_0, l_result_0 = pcall(function()
            return v17._assetAccessController:GetAssetMetadata(v18);
        end);
        local v21 = v17:_GetModel();
        if v21.state ~= "Prompt" then
            v17._onGetAssetMetadataFinished();
            return ;
        else
            assert(v21.state == "Prompt", "Luau");
            local v22 = table.clone(v21.assetModels);
            if not l_status_0 then
                for _, v24 in v18, nil, nil do
                    if v22[v24] and v22[v24].state == "Loading" then
                        v22[v24] = {
                            state = "Failed"
                        };
                    end;
                end;
            else
                for _, v26 in l_result_0, nil, nil do
                    if v22[v26.id] and v22[v26.id].state == "Loading" then
                        v22[v26.id] = {
                            state = "Loaded",
                            metadata = v26
                        };
                    end;
                end;
            end;
            v17:_SetModel({
                state = "Prompt",
                assetModels = v22
            });
            v17._onGetAssetMetadataFinished();
            return ;
        end;
    end);
end;
v1._ShowShareDialog = function(v27, v28)
    assert(v27._alive, "ShareDialogController has been destroyed");
    local v29 = {};
    for _, v31 in v28, nil, nil do
        v29[v31] = {
            state = "Loading"
        };
    end;
    v27:_SetModel({
        assetModels = v29,
        state = "Prompt"
    });
    v27:_GetAndHydrateAssetMetadata(v28);
end;
v1._NewInaccessibleAsset = function(v32, v33)
    assert(v32._alive, "ShareDialogController has been destroyed");
    local v34 = v32:_GetModel();
    if v34.state ~= "Prompt" then
        return ;
    else
        assert(v34.state == "Prompt", "Luau");
        local v35 = table.clone(v34.assetModels);
        v35[v33] = {
            state = "Loading"
        };
        v32:_SetModel({
            assetModels = v35,
            state = "Prompt"
        });
        v32:_GetAndHydrateAssetMetadata({
            v33
        });
        return ;
    end;
end;
v1._ShareAccess = function(v36)
    assert(v36._alive, "ShareDialogController has been destroyed");
    local v37 = v36:_GetModel();
    if v37.state ~= "Prompt" then
        v36._onShareAccessFinished();
        return ;
    else
        assert(v37.state == "Prompt", "Luau");
        v36:_SetModel({
            state = "Sharing",
            assetModels = v37.assetModels
        });
        local v38 = {};
        for v39, _ in v37.assetModels, nil, nil do
            table.insert(v38, v39);
        end;
        v36:_Defer(function()
            local l_status_1, l_result_1 = pcall(function()
                return v36._assetAccessController:ShareAccessToInaccessibleAssets(v38);
            end);
            local v43 = v36:_GetModel();
            if v43.state ~= "Sharing" then
                v36._onShareAccessFinished();
                return ;
            else
                assert(v43.state == "Sharing", "Luau");
                if l_status_1 then
                    if #l_result_1 == 0 then
                        v36:_SetModel({
                            state = "Inactive"
                        });
                        v36._onShareAccessFinished();
                        return ;
                    else
                        local v44 = {};
                        for _, v46 in l_result_1, nil, nil do
                            v44[v46] = table.clone(v43.assetModels[v46]);
                        end;
                        v36:_SetModel({
                            state = "CantShare",
                            assetModels = v44
                        });
                        v36._onShareAccessFinished();
                        return ;
                    end;
                else
                    v36:_SetModel({
                        state = "UnexpectedError"
                    });
                    v36._onShareAccessFinished();
                    return ;
                end;
            end;
        end);
        return ;
    end;
end;
v1._ShareDialogDismissed = function(v47)
    assert(v47._alive, "ShareDialogController has been destroyed");
    v47:_SetModel({
        state = "Inactive"
    });
end;
v1.Destroy = function(v48)
    assert(v48._alive, "ShareDialogController already destroyed");
    for v49, _ in v48._threads, nil, nil do
        task.cancel(v49);
    end;
    v48._threads = {};
    v48._showShareDialogConnection:Disconnect();
    v48._newInaccessibleAssetConnection:Disconnect();
    v48._shareAccessConnection:Disconnect();
    v48._shareDialogDismissedConnection:Disconnect();
    v48._plugin:SetItem("ShareDialogModel", nil);
    v48._alive = false;
end;
return table.freeze(v1);


local _ = require(script:FindFirstAncestor("AssetAccess").Src.Types);
local v1 = {
    AssetMetadata = {}
};
v1.AssetMetadata.PUBLIC = table.freeze({
    id = 123,
    visibility = "Public",
    name = "Asset1",
    owner = "User1",
    type = Enum.AssetType.Audio
});
v1.AssetMetadata.PRIVATE = table.freeze({
    id = 456,
    visibility = "Private"
});
table.freeze(v1.AssetMetadata);
v1.AssetModel = {};
v1.AssetModel.LOADED_PUBLIC = table.freeze({
    state = "Loaded",
    metadata = table.freeze(table.clone(v1.AssetMetadata.PUBLIC))
});
v1.AssetModel.LOADED_PRIVATE = table.freeze({
    state = "Loaded",
    metadata = table.freeze(table.clone(v1.AssetMetadata.PRIVATE))
});
v1.AssetModel.LOADING = table.freeze({
    state = "Loading"
});
v1.AssetModel.FAILED = table.freeze({
    state = "Failed"
});
table.freeze(v1.AssetModel);
v1.INACCESSIBLE_ASSET_MODELS = table.freeze({
    [123] = table.freeze(table.clone(v1.AssetModel.LOADED_PUBLIC)),
    [456] = table.freeze(table.clone(v1.AssetModel.LOADED_PRIVATE)),
    [789] = table.freeze(table.clone(v1.AssetModel.LOADING)),
    [101112] = table.freeze(table.clone(v1.AssetModel.FAILED))
});
v1.UNSHARABLE_ASSET_MODELS = {};
v1.INACCESSIBLE_ASSET_IDS = {};
v1.UNSHARABLE_ASSET_IDS = {};
for v2, v3 in v1.INACCESSIBLE_ASSET_MODELS, nil, nil do
    table.insert(v1.INACCESSIBLE_ASSET_IDS, v2);
    if v2 % 2 == 1 then
        table.insert(v1.UNSHARABLE_ASSET_IDS, v2);
        v1.UNSHARABLE_ASSET_MODELS[v2] = table.freeze(table.clone(v3));
    end;
end;
table.freeze(v1.UNSHARABLE_ASSET_MODELS);
table.freeze(v1.INACCESSIBLE_ASSET_IDS);
table.freeze(v1.UNSHARABLE_ASSET_IDS);
v1.ShareDialogModel = {};
v1.ShareDialogModel.INACTIVE = table.freeze({
    state = "Inactive"
});
v1.ShareDialogModel.PROMPT = table.freeze({
    state = "Prompt",
    assetModels = table.freeze(table.clone(v1.INACCESSIBLE_ASSET_MODELS))
});
v1.ShareDialogModel.SHARING = table.freeze({
    state = "Sharing",
    assetModels = table.freeze(table.clone(v1.INACCESSIBLE_ASSET_MODELS))
});
v1.ShareDialogModel.CANT_SHARE = table.freeze({
    state = "CantShare",
    assetModels = table.freeze(table.clone(v1.UNSHARABLE_ASSET_MODELS))
});
v1.ShareDialogModel.UNEXPECTED_ERROR = table.freeze({
    state = "UnexpectedError"
});
table.freeze(v1.ShareDialogModel);
return table.freeze(v1);


local l_script_FirstAncestor_0 = script:FindFirstAncestor("AssetAccess");
local v1 = require(l_script_FirstAncestor_0.Packages.Dev.JestGlobals);
local _ = require(l_script_FirstAncestor_0.Src.Types);
local l_jest_0 = v1.jest;
local function v8()
    local v4 = nil;
    local v5 = l_jest_0.fn(function()
        v4 = nil;
    end);
    return {
        Connect = l_jest_0.fn(function(_, v7)
            v4 = v7;
            return {
                Disconnect = v5
            };
        end),
        MockDisconnect = v5,
        MockFire = function(...)
            if v4 then
                v4(...);
            end;
        end
    };
end;
return function()
    return {
        ShowShareDialog = v8(),
        NewInaccessibleAsset = v8(),
        GetAssetMetadata = l_jest_0.fn(),
        ShareAccessToInaccessibleAssets = l_jest_0.fn()
    };
end;