{
"data": {
"f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb": {
"widget": {
"home": {
"": "let { sharedBlockHeight, tagShared, isTest, accountId } = props;\n\nconst sbtWhiteList = [\n \"fractal.i-am-human.near - class 1\",\n \"community.i-am-human.near - class 1\",\n \"community.i-am-human.near - class 2\",\n \"community.i-am-human.near - class 3\",\n \"elections.ndc-gwg.near - class 2\",\n \"elections.ndc-gwg.near - class 3\",\n \"elections.ndc-gwg.near - class 4\",\n \"public\",\n];\n\nfunction createSbtOptions() {\n return sbtWhiteList.map((option, i) => {\n const title = \"\";\n\n if (option === \"fractal.i-am-human.near - class 1\") {\n title = \"General\";\n } else if (option === \"community.i-am-human.near - class 1\") {\n title = \"OG\";\n } else if (option === \"community.i-am-human.near - class 2\") {\n title = \"Contributor\";\n } else if (option === \"community.i-am-human.near - class 3\") {\n title = \"Core Contributor\";\n } else if (option === \"elections.ndc-gwg.near - class 2\") {\n title = \"HoM\";\n } else if (option === \"elections.ndc-gwg.near - class 3\") {\n title = \"CoA\";\n } else if (option === \"elections.ndc-gwg.near - class 4\") {\n title = \"TC\";\n } else {\n title = \"Public\";\n }\n\n if (i == 0) {\n //The first options is always the default one\n return { title, default: true, value: option };\n } else {\n return { title, value: option };\n }\n });\n}\n\n// const componentsOwner =\n// \"f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb\";\nconst componentsOwner = \"sayalot.near\";\n\nconst authorForWidget = \"communityvoice.ndctools.near\";\n// const authorForWidget =\n// \"f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb\";\n// const authorForWidget = \"kenrou-it.near\";\n// const authorForWidget = \"silkking.near\";\n\nconst configWidget = \"home\";\n\nconst widgets = {\n thisForum: `${authorForWidget}/widget/${configWidget}`,\n\n //Editable widgets\n // ndcForum: `${componentsOwner}/widget/NDC.Forum`, ///////////////////////////////////////////////////\n ndcForum: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/NDC.Forum`, ///////////////////////////////////////////////////\n create: `${componentsOwner}/widget/NDC.Forum.Create`,\n // header: `${componentsOwner}/widget/NDC.NavBar`, ///////////////////////////////////////////////////\n header: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/NDC.NavBar`, ///////////////////////////////////////////////////\n showArticlesList: `${componentsOwner}/widget/NDC.Forum.AllArticlesList`,\n showArticlesListSortedByAuthors: `${componentsOwner}/widget/NDC.AllArticlesSortByAuthors`,\n articlesByAuthorCard: `${componentsOwner}/widget/NDC.ArticlesByAuthorCard`,\n generalCard: `${componentsOwner}/widget/NDC.GeneralCard`,\n articleView: `${componentsOwner}/widget/NDC.ArticleView`,\n reactions: `${componentsOwner}/widget/NDC.Reactions`,\n addComment: `${componentsOwner}/widget/NDC.AddComment`,\n commentView: `${componentsOwner}/widget/NDC.CommentView`,\n upVoteButton: `${componentsOwner}/widget/NDC.UpVoteButton`,\n profileShortInlineBlock: `${componentsOwner}/widget/Profile.ShortInlineBlock`,\n tagsEditor: `${componentsOwner}/widget/TagsEditor`,\n // kanbanBoard: `${componentsOwner}/widget/NDC.KanbanBoard`, ///////////////////////////////////////////////////////////\n kanbanBoard: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/NDC.KanbanBoard`, ///////////////////////////////////////////////////////////\n // compactPost: `${componentsOwner}/widget/NDC.CompactPost`, /////////////////////////////////////////////////////////////\n compactPost: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/NDC.CompactPost`, /////////////////////////////////////////////////////////////\n\n //Libs\n // libSBT: `sayalot.near/widget/lib.SBT`,\n libSBT: `sayalot.near/widget/lib.SBT`,\n libComment: `sayalot.near/widget/lib.comment`,\n libArticle: `sayalot.near/widget/lib.article`,\n libEmojis: `sayalot.near/widget/lib.emojis`,\n libUpVotes: `sayalot.near/widget/lib.upVotes`,\n\n //Standard widgets\n fasterTextInput: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/fasterTextInput`,\n markownEditorIframe: `f2bc8abdb8ba64fe5aac9689ded9491ff0e6fdcd7a5c680b7cf364142d1789fb/widget/MarkdownEditorIframe`,\n styledComponents: \"rubycop.near/widget/NDC.StyledComponents\",\n newStyledComponents: {\n Element: {\n Badge: \"nearui.near/widget/Element.Badge\",\n User: \"nearui.near/widget/Element.User\",\n },\n Feedback: {\n Spinner: \"nearui.near/widget/Feedback.Spinner\",\n },\n Input: {\n Button: \"nearui.near/widget/Input.Button\",\n Checkbox: \"nearui.near/widget/Input.Checkbox\",\n Select: \"nearui.near/widget/Input.Select\",\n },\n },\n socialMarkdown: \"mob.near/widget/SocialMarkdown\",\n profileOverlayTrigger: \"mob.near/widget/Profile.OverlayTrigger\",\n profileImage: \"mob.near/widget/ProfileImage\",\n wikiOnSocialDB_TooltipProfiles: `testwiki.near/widget/WikiOnSocialDB_TooltipProfiles`,\n};\n\nconst brand = {\n brandName: \"Community Voice\",\n logoHref:\n \"https://ipfs.near.social/ipfs/bafkreifhkslni6dlocxya35vjft3fefk2am5uzkagmjjzobdjqlhrnbjz4\",\n logoRemWidth: 12,\n logoRemHeight: 4,\n};\n\nconst baseActions = {\n commentBaseAction: \"communityVoiceComment\",\n articlesBaseAction: \"communityVoiceArticle\",\n upVoteBaseAction: \"communityVoiceUpVote\",\n reactionBaseAction: \"communityVoiceReaction\",\n};\n\nconst kanbanColumns = [\"Open\", \"Claimed\", \"In Work\", \"Closed\"];\n\nconst kanbanRequiredTags = [];\nconst kanbanExcludedTags = [];\n\nreturn (\n <Widget\n src={widgets.ndcForum}\n props={{\n sharedBlockHeight,\n tagShared,\n isTest,\n accountId,\n sbtWhiteList,\n authorForWidget,\n widgets,\n brand,\n baseActions,\n createSbtOptions,\n kanbanColumns,\n kanbanRequiredLabels,\n kanbanExcludedLabels,\n }}\n />\n);\n"
}
}
}
}
}