{ "version": 3, "sources": ["libs/email-ui/email-library/src/shared.ts"], "sourcesContent": ["import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\n// The (relative) prefix to include in URLs for routing. E.g. if the\n// complete URL is 'https://example.com/sick/emailz/editor/TEMPLATE-123/edit'\n// then the basePath is 'sick/campaignz' because the remainder of the path\n// was constructed by this lib. See PAGE_ROUTES.\nexport const EMAIL_LIBRARY_BASE_URL_TOKEN = new InjectionToken>('com.vendasta.campaigns.base_url');\n\nexport const PAGE_ROUTES = {\n ROOT: {\n TEMPLATE_SUBROUTES: {\n EDIT: (templateID: string) => `editor/${templateID}`,\n NEW: 'editor/new',\n },\n },\n};\n"], "mappings": "yFAAA,IAOaA,EAEAC,EATbC,EAAAC,EAAA,KAAAC,IAOaJ,EAA+B,IAAIK,EAAmC,iCAAiC,EAEvGJ,EAAc,CACzBK,KAAM,CACJC,mBAAoB,CAClBC,KAAOC,GAAuB,UAAUA,CAAU,GAClDC,IAAK", "names": ["EMAIL_LIBRARY_BASE_URL_TOKEN", "PAGE_ROUTES", "init_shared", "__esmMin", "init_core", "InjectionToken", "ROOT", "TEMPLATE_SUBROUTES", "EDIT", "templateID", "NEW"] }