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 () {
|
2022-06-01 08:48:50 -04:00
|
|
|
const currencyCode = getMeta('ol-recommendedCurrency')
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '$13',
|
|
|
|
annual: '$120',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '€12',
|
|
|
|
annual: '€108',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '£10',
|
|
|
|
annual: '£96',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '92 kr',
|
|
|
|
annual: '876 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-07-18 03:14:10 -04:00
|
|
|
monthly: '$14',
|
|
|
|
annual: '$132',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '92 kr',
|
|
|
|
annual: '876 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-07-18 03:14:10 -04:00
|
|
|
monthly: '75 kr',
|
|
|
|
annual: '720 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-07-18 03:14:10 -04:00
|
|
|
monthly: '$15',
|
|
|
|
annual: '$144',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '$15',
|
|
|
|
annual: '$144',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: 'Fr 13',
|
|
|
|
annual: 'Fr 120',
|
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-07-18 03:14:10 -04:00
|
|
|
monthly: '$17',
|
|
|
|
annual: '$156',
|
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
|
|
|
}
|
|
|
|
})
|