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: {
|
|
|
|
monthly: '$10',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$120',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '$15',
|
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: {
|
|
|
|
monthly: '$30',
|
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: {
|
|
|
|
monthly: '€9',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '€108',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '€14',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '€168',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
|
|
|
monthly: '€28',
|
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: {
|
|
|
|
monthly: '£8',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '£96',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '£12',
|
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: {
|
|
|
|
monthly: '£24',
|
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: {
|
|
|
|
monthly: '73 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '876 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '110 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: {
|
|
|
|
monthly: '220 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: {
|
|
|
|
monthly: '$11',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$132',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '$17',
|
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: {
|
|
|
|
monthly: '$34',
|
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: {
|
|
|
|
monthly: '73 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '876 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '110 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '1320 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
|
|
|
monthly: '220 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: {
|
|
|
|
monthly: '60 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '720 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '90 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '1080 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
|
|
|
monthly: '180 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: {
|
|
|
|
monthly: '$12',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$144',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '$18',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$216',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
|
|
|
monthly: '$35',
|
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: {
|
|
|
|
monthly: '$12',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$144',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '$18',
|
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: {
|
|
|
|
monthly: '$35',
|
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: {
|
|
|
|
monthly: 'Fr 10',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: 'Fr 120',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: 'Fr 15',
|
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: {
|
|
|
|
monthly: 'Fr 30',
|
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: {
|
|
|
|
monthly: '$13',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$156',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
|
|
|
monthly: '$20',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$240',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
|
|
|
monthly: '$40',
|
2021-04-27 03:52:58 -04:00
|
|
|
annual: '$480',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
}
|
|
|
|
})
|