{"version":3,"file":"main.js","sources":["theme-525/virtual:init-settings","theme-525/virtual:theme","theme-525/discourse/templates/components/latest-topic-list-item.hbs","theme-525/discourse/initializers/script-tag-hbs-deprecations.js","theme-525/virtual:entrypoint:main"],"sourcesContent":["import { registerSettings } from \"discourse/lib/theme-settings-store\";\n\nregisterSettings(525, {});\n","import { getObjectForTheme } from \"discourse/lib/theme-settings-store\";\n\nexport const settings = getObjectForTheme(525);\n\nexport function themePrefix(key) {\n  return `theme_translations.525.${key}`;\n}\n","\n    <PluginOutlet @name=\"above-latest-topic-list-item\" @connectorTagName=\"div\" />\n    <div class=\"topic-poster\">\n        {{#if currentUser}}\n            <UserLink @user={{this.topic.lastPosterUser}}>\n                {{avatar this.topic.lastPosterUser imageSize=\"large\"}}\n            </UserLink>\n        {{else}}\n            {{avatar this.topic.lastPosterUser imageSize=\"large\"}}\n        {{/if}}\n        <UserAvatarFlair @user={{this.topic.lastPosterUser}} />\n    </div>\n    <div class=\"main-link\">\n        <div class=\"top-row\">\n            {{raw \"topic-status\" topic=this.topic}}\n            {{topic-link this.topic}}\n            {{~#if this.topic.featured_link}}\n                {{topic-featured-link this.topic}}\n            {{/if}}\n            <TopicPostBadges\n                @unreadPosts={{this.topic.unread_posts}}\n                @unseen={{this.topic.unseen}}\n                @url={{this.topic.lastUnreadUrl}}\n            />\n        </div>\n        <div class=\"bottom-row\">\n            {{category-link this.topic.category}}{{discourse-tags\n                this.topic\n                mode=\"list\"\n            }}{{! intentionally inline to avoid whitespace}}\n        </div>\n    </div>\n    <div class=\"topic-stats\">\n        <PluginOutlet\n            @name=\"above-latest-topic-list-item-post-count\"\n            @connectorTagName=\"div\"\n            @outletArgs={{hash topic=this.topic}}\n        />\n        {{raw \"list/posts-count-column\" topic=this.topic tagName=\"div\"}}\n        <div class=\"topic-last-activity\">\n            <a\n              href={{this.topic.lastPostUrl}}\n              title={{this.topic.bumpedAtTitle}}\n            >{{format-date this.topic.bumpedAt format=\"tiny\" noTitle=\"true\"}}</a>\n        </div>\n    </div>\n","import deprecated from \"discourse/lib/deprecated\";\n\nexport default {\n  initialize(){\n    const names = [\"components/latest-topic-list-item\"];\n    names.forEach((name) => {\n      deprecated(\n        `[${name}] adding templates to a theme using <script type='text/x-handlebars'> is deprecated. Move to dedicated .hbs or .gjs files.`,\n        {\n          id: \"discourse.script-tag-hbs\",\n          url: \"https://meta.discourse.org/t/366482\",\n        }\n      )\n    });\n    const errors = [];\n    errors.forEach((error) => console.error(error));\n  }\n}\n","const compatModules = {};import \"virtual:init-settings\";\nimport * as Mod1 from \"./discourse/templates/components/latest-topic-list-item\";\ncompatModules[\"discourse/templates/components/latest-topic-list-item\"] = Mod1;\n\nexport * as discourse$templates$components$latest__topic__list__item$$__module from \"./discourse/templates/components/latest-topic-list-item\";\nexport {\ndefault as discourse$templates$components$latest__topic__list__item$$default\n} from \"./discourse/templates/components/latest-topic-list-item\";\nimport * as Mod2 from \"./discourse/initializers/script-tag-hbs-deprecations\";\ncompatModules[\"discourse/initializers/script-tag-hbs-deprecations\"] = Mod2;\n\nexport * as discourse$initializers$script__tag__hbs__deprecations$$__module from \"./discourse/initializers/script-tag-hbs-deprecations\";\nexport {\ndefault as discourse$initializers$script__tag__hbs__deprecations$$default\n} from \"./discourse/initializers/script-tag-hbs-deprecations\";\nexport default compatModules;\n"],"names":["registerSettings","getObjectForTheme","latestTopicListItem","createTemplateFactory","id","block","moduleName","scope","deprecationsHelper","isStrictMode","deprecated","url","scriptTagHbsDeprecations","initialize","forEach","name","error","console","compatModules","Mod1","Mod2"],"mappings":";AAEAA,EAAiB,IAAK,CAAA,GCAEC,EAAkB;ACA5B,IAAAC,EAAAC,EAAA,CAAAC,GAAA,KAAAC,MAAA,2yFAAAC,WAAA,sEAAAC,MAAAA,KAAAC,GAAAC,cAAA;AAGAC,EACE,wJACA,CACEN,GAAI,0BACJO,IAAK;gDCPvBC,EAAe,CACbC,UAAAA,GACgB,CAAC,qCACTC,QAASC,IACbL,EACE,IAAIK,8HACJ,CACEX,GAAI,2BACJO,IAAK,0CAII,GACRG,QAASE,GAAUC,QAAQD,MAAMA,GAC1C;AChBG,MAACE,EAAgB,CAAA;AAEtBA,EAAc,yDAA2DC,EAOzED,EAAc,sDAAwDE;"}