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'
|
2022-11-14 08:17:41 -05:00
|
|
|
|
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: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$10',
|
|
|
|
annual: '$99',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$15',
|
|
|
|
annual: '$139',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$23',
|
|
|
|
annual: '$219',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$45',
|
|
|
|
annual: '$429',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
EUR: {
|
|
|
|
symbol: '€',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '€8',
|
|
|
|
annual: '€79',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '€14',
|
|
|
|
annual: '€129',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '€21',
|
|
|
|
annual: '€199',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '€42',
|
|
|
|
annual: '€399',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
GBP: {
|
|
|
|
symbol: '£',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '£7',
|
|
|
|
annual: '£69',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '£12',
|
|
|
|
annual: '£114',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '£18',
|
|
|
|
annual: '£169',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '£36',
|
|
|
|
annual: '£339',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
SEK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '72 kr',
|
|
|
|
annual: '719 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '111 kr',
|
|
|
|
annual: '1049 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '169 kr',
|
|
|
|
annual: '1599 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '339 kr',
|
|
|
|
annual: '3169 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
CAD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$11',
|
|
|
|
annual: '$109',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$17',
|
|
|
|
annual: '$159',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$27',
|
|
|
|
annual: '$249',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$52',
|
|
|
|
annual: '$499',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
NOK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '72 kr',
|
|
|
|
annual: '719 kr',
|
2018-11-05 05:06:39 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '111 kr',
|
|
|
|
annual: '1049 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '169 kr',
|
|
|
|
annual: '1599 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '339 kr',
|
|
|
|
annual: '3169 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
DKK: {
|
|
|
|
symbol: 'kr',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '60 kr',
|
|
|
|
annual: '599 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '90 kr',
|
|
|
|
annual: '859 kr',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '139 kr',
|
|
|
|
annual: '1299 kr',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '270 kr',
|
|
|
|
annual: '2589 kr',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
AUD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$12',
|
|
|
|
annual: '$119',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$18',
|
|
|
|
annual: '$169',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$28',
|
|
|
|
annual: '$259',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$53',
|
|
|
|
annual: '$499',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
NZD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$12',
|
|
|
|
annual: '$119',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$18',
|
|
|
|
annual: '$169',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$28',
|
|
|
|
annual: '$259',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$53',
|
|
|
|
annual: '$499',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
CHF: {
|
|
|
|
symbol: 'Fr',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: 'Fr 10',
|
|
|
|
annual: 'Fr 99',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: 'Fr 16',
|
|
|
|
annual: 'Fr 149',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: 'Fr 23',
|
|
|
|
annual: 'Fr 219',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: 'Fr 46',
|
|
|
|
annual: 'Fr 439',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
SGD: {
|
|
|
|
symbol: '$',
|
|
|
|
student: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$14',
|
|
|
|
annual: '$139',
|
2018-11-13 08:35:50 -05:00
|
|
|
},
|
2020-10-13 08:32:57 -04:00
|
|
|
personal: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$20',
|
|
|
|
annual: '$189',
|
2020-10-13 08:32:57 -04:00
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
collaborator: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$30',
|
|
|
|
annual: '$279',
|
2020-05-19 05:02:56 -04:00
|
|
|
},
|
|
|
|
professional: {
|
2022-11-14 08:17:41 -05:00
|
|
|
monthly: '$60',
|
|
|
|
annual: '$569',
|
2021-04-27 03:52:58 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-05-19 05:02:56 -04:00
|
|
|
}
|
|
|
|
})
|