2018-11-05 05:06:39 -05:00
|
|
|
/* eslint-disable
|
|
|
|
camelcase,
|
2018-11-13 08:35:50 -05:00
|
|
|
max-len
|
2018-11-05 05:06:39 -05:00
|
|
|
*/
|
2020-05-19 05:02:56 -04:00
|
|
|
import App from '../base'
|
2021-04-15 10:23:12 -04:00
|
|
|
import getMeta from '../utils/meta'
|
2021-04-14 09:17:21 -04:00
|
|
|
App.factory('MultiCurrencyPricing', function () {
|
2021-04-15 10:23:12 -04:00
|
|
|
const currencyCode = getMeta('ol-recomendedCurrency')
|
2020-05-19 05:02:56 -04:00
|
|
|
|
|
|
|
return {
|
|
|
|
currencyCode,
|
|
|
|
|
|
|
|
plans: {
|
|
|
|
USD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
|
|
|
monthly: '$8',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$80',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '$5',
|
|
|
|
annual: '$49',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$19',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$180',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$38',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$360',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
EUR: {
|
|
|
|
symbol: '€',
|
|
|
|
student: {
|
|
|
|
monthly: '€7',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '€70',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '€5',
|
|
|
|
annual: '€44',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '€18',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '€168',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '€35',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '€336',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
GBP: {
|
|
|
|
symbol: '£',
|
|
|
|
student: {
|
|
|
|
monthly: '£6',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '£60',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '£4',
|
|
|
|
annual: '£39',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '£15',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '£144',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '£30',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '£288',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
SEK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
|
|
|
monthly: '60 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '600 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '35 kr',
|
|
|
|
annual: '359 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '138 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '1320 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '275 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '2640 kr',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
CAD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
|
|
|
monthly: '$9',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$90',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '$5',
|
|
|
|
annual: '$55',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$22',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$204',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$43',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$408',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
NOK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
|
|
|
monthly: '60 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '600 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '35 kr',
|
|
|
|
annual: '359 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '138 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '1320 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '275 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '2640 kr',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-05-07 09:17:23 -04:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
DKK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
|
|
|
monthly: '50 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '500 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '29 kr',
|
|
|
|
annual: '295 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '113 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '1080 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '225 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '2160 kr',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
AUD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
|
|
|
monthly: '$10',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$100',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '$6',
|
|
|
|
annual: '$59',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$23',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$216',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$44',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$420',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2018-11-05 05:06:39 -05:00
|
|
|
|
2020-05-19 05:02:56 -04:00
|
|
|
NZD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
|
|
|
monthly: '$10',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$100',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '$6',
|
|
|
|
annual: '$59',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$23',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$216',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$44',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$420',
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
CHF: {
|
|
|
|
symbol: 'Fr',
|
|
|
|
student: {
|
|
|
|
monthly: 'Fr 8',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: 'Fr 80',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: 'Fr 5',
|
|
|
|
annual: 'Fr 49',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: 'Fr 19',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: 'Fr 180',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: 'Fr 38',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: 'Fr 360',
|
|
|
|
},
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
|
|
|
|
SGD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
|
|
|
monthly: '$12',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$120',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-04-25 03:37:50 -04:00
|
|
|
monthly: '$7',
|
|
|
|
annual: '$64',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$25',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$240',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-04-04 02:40:21 -04:00
|
|
|
monthly: '$50',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$480',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
}
|
|
|
|
})
|