{
  "version": 3,
  "sources": ["../../../../../../owl-nest/ulule/features/project/src/UFE.ts"],
  "sourcesContent": ["import { AuthenticatedUser, Lang } from '@owl-nest/api-client/latest'\nimport { lens } from '@owl-nest/config'\n\nexport type Notification = {\n  tags: 'info' | 'success' | 'error'\n  children: string\n}\n\ntype UFE = {\n  notifications?: Notification[]\n  data: {\n    project: {\n      id: number\n      slug: string\n    }\n    news: {\n      id: number\n      slug: string\n    }\n  }\n  flags: {\n    liveEnabled: boolean\n    liveVisitorsCountDisplay: boolean\n    paypalEnabled: boolean\n  }\n  gtmKey: string\n  request: {\n    path: string\n  }\n  urls: {\n    live: string\n    live_count: string\n  }\n  user: AuthenticatedUser & {\n    is_authenticated: boolean\n    nb_projects: number\n    project_list_url?: string\n    settings_url?: string\n    transactions_url: string\n  }\n}\n\ntype ProjectData = {\n  images: {\n    adviceMainImage: string\n    checklist: {\n      '1x': string\n      '2x': string\n      '3x': string\n    }\n    comingSoonBackground: string\n    cpf: string\n    following: {\n      x1: string\n      x2: string\n      x3: string\n    }\n    goal: {\n      [id: string]: string\n    }\n    hint: {\n      [id: string]: string\n    }\n    sdgLogo: {\n      [lang in Lang]?: string\n    }\n    sparkles: string\n  }\n  videos: {\n    creatorWelcoming: {\n      placeholder: {\n        [lang in Lang]: {\n          '1x': string\n          '2x': string\n          '3x': string\n        }\n      }\n      version: {\n        rewardBased: { [lang in Lang]: string }\n        donationBased: { [lang in Lang]: string }\n      }\n    }\n    onboardingWelcome: {\n      placeholder: {\n        [lang in Lang]: {\n          x1: string\n          x2: string\n          x3: string\n        }\n      }\n      version: {\n        [lang in Lang]: string\n      }\n    }\n  }\n}\n\ntype Window = {\n  PROJECT_DATA: ProjectData\n  UFE: UFE\n  STATIC_URL: string\n}\n\nconst windowLens = lens<Window>()\n\n\nexport const STATIC_URL = windowLens.get('STATIC_URL').value(window)\n\nexport const NOTIFICATIONS = windowLens.get('UFE').get('notifications').value(window, { trust: true, forgive: true })\n\nexport const CURRENT_USER = windowLens.get('UFE').get('user').value(window, { trust: true })\n\nexport const FLAGS = windowLens.get('UFE').get('flags').value(window)\n\nexport const GTM_KEY = windowLens.get('UFE').get('gtmKey').value(window)\n\nexport const IMAGES = windowLens.get('PROJECT_DATA').get('images').value(window, { trust: true })\n\nexport const NEWS = windowLens.get('UFE').get('data').get('news').value(window, { forgive: true, silent: true })\n\nexport const PROJECT = windowLens.get('UFE').get('data').get('project').value(window, { trust: true })\n\nexport const REQUEST = windowLens.get('UFE').get('request').value(window)\n\nexport const VIDEOS = windowLens.get('PROJECT_DATA').get('videos').value(window, { trust: true })\n\nexport const LIVE_URL = windowLens.get('UFE').get('urls').get('live').value(window)\n\nexport const LIVE_PROJECT_URL = windowLens.get('UFE').get('urls').get('live_count').value(window, { forgive: true })\n\n// LINKS\n\nexport const LINKS = {\n  deliveryHelper: {\n    ca: 'https://support.ulule.com/hc/ca/articles/360015608958',\n    de: 'https://support.ulule.com/hc/en-us/articles/360015608958',\n    en: 'https://support.ulule.com/hc/en-us/articles/360015608958',\n    es: 'https://support.ulule.com/hc/es-es/articles/360015608958',\n    fr: 'https://support.ulule.com/hc/fr-fr/articles/360015608958',\n    it: 'https://support.ulule.com/hc/it/articles/360015608958',\n    nl: 'https://support.ulule.com/hc/nl/articles/360015608958',\n    pt: 'https://support.ulule.com/hc/en-us/articles/360015608958',\n  },\n  newsHelper: {\n    ca: 'https://community.ulule.com/topics/las-noticias-de-tu-proyecto-por-que-y-como-publicar-noticias-16881/#main-30713',\n    de: 'https://community.ulule.com/topics/publish-news-on-your-page-why-and-how-17709/#main-32422',\n    en: 'https://community.ulule.com/topics/publish-news-on-your-page-why-and-how-17709/#main-32422',\n    es: 'https://community.ulule.com/topics/las-noticias-de-tu-proyecto-por-que-y-como-publicar-noticias-16881/#main-30713',\n    fr: 'https://community.ulule.com/topics/-news-mon-projet-pourquoi-comment-et-quand-3300/',\n    it: 'https://community.ulule.com/topics/publish-news-on-your-page-why-and-how-17709/#main-32422',\n    nl: 'https://community.ulule.com/topics/nieuwsberichten-op-je-pagina-waarom-en-hoe-17713/#main-32436',\n    pt: 'https://community.ulule.com/topics/publish-news-on-your-page-why-and-how-17709/#main-32422',\n  },\n  risksHelper: {\n    ca: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    de: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    en: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    es: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    fr: 'https://support.ulule.com/hc/fr-fr/articles/360014369337-Risques-et-d%C3%A9fis-d-un-projet-Ulule',\n    it: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    nl: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n    pt: 'https://support.ulule.com/hc/en-us/articles/360014571178',\n  },\n  sdg: {\n    ca: 'https://www.un.org/sustainabledevelopment/es/',\n    de: 'https://www.un.org/sustainabledevelopment/',\n    en: 'https://www.un.org/sustainabledevelopment/',\n    es: 'https://www.un.org/sustainabledevelopment/es/',\n    fr: 'https://www.un.org/sustainabledevelopment/fr/objectifs-de-developpement-durable/',\n    it: 'https://www.un.org/sustainabledevelopment/',\n    nl: 'https://www.un.org/sustainabledevelopment/',\n    pt: 'https://www.un.org/sustainabledevelopment/',\n  },\n  rewardsHelper: {\n    ca: 'https://community.ulule.com/topics/rewards-ulule-how-invent-and-create-them-906/',\n    de: 'https://community.ulule.com/topics/rewards-ulule-how-invent-and-create-them-906/',\n    en: 'https://community.ulule.com/topics/rewards-ulule-how-invent-and-create-them-906/',\n    es: 'https://community.ulule.com/topics/recompensas-en-ulule-como-inventarlas-y-crearlas-1-8787/#main-11079',\n    fr: 'https://community.ulule.com/topics/rewards-ulule-how-invent-and-create-them-906/',\n    it: 'https://community.ulule.com/topics/il-reward-based-crowdfunding-e-le-ricompense-quale-strategia-per-crearle-9865/#main-18479',\n    nl: 'https://community.ulule.com/topics/beloningen-wat-zijn-de-belangrijkste-niveaus-13538/',\n    pt: 'https://community.ulule.com/topics/rewards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GAAI,2DACJ,GAAI,2DACJ,GAAI,2DACJ,GAAI,2DACJ,GAAI,wDACJ,GAAI,wDACJ,GAAI,0DACN,EACA,WAAY,CACV,GAAI,oHACJ,GAAI,6FACJ,GAAI,6FACJ,GAAI,oHACJ,GAAI,sFACJ,GAAI,6FACJ,GAAI,kGACJ,GAAI,4FACN,EACA,YAAa,CACX,GAAI,2DACJ,GAAI,2DACJ,GAAI,2DACJ,GAAI,2DACJ,GAAI,mGACJ,GAAI,2DACJ,GAAI,2DACJ,GAAI,0DACN,EACA,IAAK,CACH,GAAI,gDACJ,GAAI,6CACJ,GAAI,6CACJ,GAAI,gDACJ,GAAI,mFACJ,GAAI,6CACJ,GAAI,6CACJ,GAAI,4CACN,EACA,cAAe,CACb,GAAI,mFACJ,GAAI,mFACJ,GAAI,mFACJ,GAAI,yGACJ,GAAI,mFACJ,GAAI,+HACJ,GAAI,yFACJ,GAAI,kFACN,CACF",
  "names": ["init_define_process_env", "init_sentry_release_injection_stub", "windowLens", "lens", "STATIC_URL", "NOTIFICATIONS", "CURRENT_USER", "FLAGS", "GTM_KEY", "IMAGES", "NEWS", "PROJECT", "REQUEST", "VIDEOS", "LIVE_URL", "LIVE_PROJECT_URL", "LINKS"]
}