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common/ts/apps/blog/apps/BlogSideBar.ts","webpack:///../common/integrations/ts/Blog.ts","webpack:///./integrations/ts/Blog.ts"],"sourcesContent":["import {Services} from '../services/Services';\nimport {yieldThread} from './utils';\n\nexport abstract class IntegrationExtra {\n    constructor() {\n        Services.waitOn('loaded-core').then(() => {\n            this.setupGlobalModules();\n            this.setupModels();\n            this.setupServices();\n            this.configureServices();\n            yieldThread().then(() => {\n                this.setupApps();\n            })\n        })\n    }\n\n    configureServices(): void {};\n    setupGlobalModules(): void {};\n\n    abstract setupModels(): void;\n    abstract setupServices(): void;\n    abstract setupApps(): void;\n}","import VueApp from '../../../core/adapters/VueApp';\nimport {data, method} from '../../../core/adapters/VueComponent';\n\nexport class BlogSideBar extends VueApp {\n    @data()\n    value: string;\n\n    override mounted() {\n        super.mounted();\n        this.value = window.location.pathname;\n        if (this.value == '/blog/') {\n            this.value = undefined;\n        }\n    }\n\n    @method()\n    changeCategory() {\n        if (this.value) {\n            window.location.pathname = this.value;\n        }\n        else {\n            window.location.pathname = '/blog/'\n        }\n    }\n}","import {BlogSideBar} from '../../ts/apps/blog/apps/BlogSideBar';\nimport {IntegrationExtra} from '../../ts/core/utils/IntegrationExtra';\n\nexport default class BlogIntegration extends IntegrationExtra {\n    override setupModels(): void {}\n    override setupServices(): void {}\n    override setupApps(): void {\n        BlogSideBar.mount('#blog-side-bar');\n    }\n}","import BlogIntegration from '../../../common/integrations/ts/Blog';\n\nconst blog = new BlogIntegration();"],"names":["IntegrationExtra","constructor","_services_Services__WEBPACK_IMPORTED_MODULE_0__","x","waitOn","then","this","setupGlobalModules","setupModels","setupServices","configureServices","_utils__WEBPACK_IMPORTED_MODULE_1__","E","setupApps","BlogSideBar","VueApp","A","_classSuper","mounted","super","value","window","location","pathname","undefined","changeCategory","__runInitializers","_instanceExtraInitializers","_value_initializers","VueComponent","p","EJ","__esDecorate","_a","_changeCategory_decorators","kind","name","static","private","access","has","obj","get","metadata","_metadata","_value_decorators","set","_value_extraInitializers","BlogIntegration","T","mount"],"sourceRoot":""}