Facebook
From Round Meerkat, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 70
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import { normalizeURL, decode } from 'ufo'
  4. import { interopDefault } from './utils'
  5. import scrollBehavior from './router.scrollBehavior.js'
  6.  
  7. const _2943553a = () => interopDefault(import('..\\pages\\akun.vue' /* webpackChunkName: "pages/akun" */))
  8. const _7409feb3 = () => interopDefault(import('..\\pages\\bank.vue' /* webpackChunkName: "pages/bank" */))
  9. const _6382118c = () => interopDefault(import('..\\pages\\bimbingan.vue' /* webpackChunkName: "pages/bimbingan" */))
  10. const _547a258e = () => interopDefault(import('..\\pages\\calculator.vue' /* webpackChunkName: "pages/calculator" */))
  11. const _78bff202 = () => interopDefault(import('..\\pages\\catalogue.vue' /* webpackChunkName: "pages/catalogue" */))
  12. const _3f4aa171 = () => interopDefault(import('..\\pages\\change-password.vue' /* webpackChunkName: "pages/change-password" */))
  13. const _02ce70d6 = () => interopDefault(import('..\\pages\\guide.vue' /* webpackChunkName: "pages/guide" */))
  14. const _65bafce9 = () => interopDefault(import('..\\pages\\jurnal.vue' /* webpackChunkName: "pages/jurnal" */))
  15. const _716606d6 = () => interopDefault(import('..\\pages\\leaderboard.vue' /* webpackChunkName: "pages/leaderboard" */))
  16. const _1f60eda9 = () => interopDefault(import('..\\pages\\list-mentor.vue' /* webpackChunkName: "pages/list-mentor" */))
  17. const _13e27d82 = () => interopDefault(import('..\\pages\\login.vue' /* webpackChunkName: "pages/login" */))
  18. const _47a74395 = () => interopDefault(import('..\\pages\\measurement.vue' /* webpackChunkName: "pages/measurement" */))
  19. const _972d1410 = () => interopDefault(import('..\\pages\\mentor.vue' /* webpackChunkName: "pages/mentor" */))
  20. const _866cd180 = () => interopDefault(import('..\\pages\\onboard.vue' /* webpackChunkName: "pages/onboard" */))
  21. const _ec36f85c = () => interopDefault(import('..\\pages\\onboarding.vue' /* webpackChunkName: "pages/onboarding" */))
  22. const _7064d8fe = () => interopDefault(import('..\\pages\\pay.vue' /* webpackChunkName: "pages/pay" */))
  23. const _39fe2d5f = () => interopDefault(import('..\\pages\\payment.vue' /* webpackChunkName: "pages/payment" */))
  24. const _bbe857d8 = () => interopDefault(import('..\\pages\\referral.vue' /* webpackChunkName: "pages/referral" */))
  25. const _7f86d7cc = () => interopDefault(import('..\\pages\\register.vue' /* webpackChunkName: "pages/register" */))
  26. const _2db9a81a = () => interopDefault(import('..\\pages\\reset-input-password.vue' /* webpackChunkName: "pages/reset-input-password" */))
  27. const _3920c090 = () => interopDefault(import('..\\pages\\reset-password.vue' /* webpackChunkName: "pages/reset-password" */))
  28. const _0e5cd56d = () => interopDefault(import('..\\pages\\workouts.vue' /* webpackChunkName: "pages/workouts" */))
  29. const _f2bc3e96 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_bimonthly.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_bimonthly" */))
  30. const _b3a36226 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_foundation1.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_foundation1" */))
  31. const _b3873324 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_foundation2.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_foundation2" */))
  32. const _713f91bd = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_select.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_select" */))
  33. const _50ada70a = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_bimonthly.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_bimonthly" */))
  34. const _5adc7d9a = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_foundation1.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_foundation1" */))
  35. const _5ac04e98 = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_foundation2.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_foundation2" */))
  36. const _0de34bb7 = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_select.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_select" */))
  37. const _39fc1695 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_bimonthly.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_bimonthly" */))
  38. const _285ae666 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_foundation1.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_foundation1" */))
  39. const _283eb764 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_foundation2.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_foundation2" */))
  40. const _90b7b046 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_select.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_select" */))
  41. const _61837616 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_foundation1.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_foundation1" */))
  42. const _61674714 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_foundation2.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_foundation2" */))
  43. const _ccd66a62 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase1.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase1" */))
  44. const _ccba3b60 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase2.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase2" */))
  45. const _cc9e0c5e = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase3.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase3" */))
  46. const _4bfff6b5 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_select.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_select" */))
  47. const _4a3ada6b = () => interopDefault(import('..\\pages\\index.vue' /* webpackChunkName: "pages/index" */))
  48.  
  49. const emptyFn = () => {}
  50.  
  51. Vue.use(Router)
  52.  
  53. export const routerOptions = {
  54.   mode: 'history',
  55.   base: '/',
  56.   linkActiveClass: 'nuxt-link-active',
  57.   linkExactActiveClass: 'nuxt-link-exact-active',
  58.   scrollBehavior,
  59.  
  60.   routes: [{
  61.     path: "/akun",
  62.     component: _2943553a,
  63.     name: "akun",
  64.     header: "akun"
  65.   }, {
  66.     path: "/bank",
  67.     component: _7409feb3,
  68.     name: "bank",
  69.     header: "bank"
  70.   }, {
  71.     path: "/bimbingan",
  72.     component: _6382118c,
  73.     name: "bimbingan",
  74.     header: "bimbingan"
  75.   }, {
  76.     path: "/calculator",
  77.     component: _547a258e,
  78.     name: "calculator",
  79.     header: "Kalkulator"
  80.   }, {
  81.     path: "/catalogue",
  82.     component: _78bff202,
  83.     name: "catalogue",
  84.     header: "Katalog"
  85.   }, {
  86.     path: "/change-password",
  87.     component: _3f4aa171,
  88.     name: "change-password",
  89.     header: "ganti password"
  90.   }, {
  91.     path: "/guide",
  92.     component: _02ce70d6,
  93.     name: "guide",
  94.     header: "guide"
  95.   }, {
  96.     path: "/jurnal",
  97.     component: _65bafce9,
  98.     name: "jurnal",
  99.     header: "jurnal"
  100.   }, {
  101.     path: "/leaderboard",
  102.     component: _716606d6,
  103.     name: "leaderboard",
  104.     header: "leaderboard"
  105.   }, {
  106.     path: "/list-mentor",
  107.     component: _1f60eda9,
  108.     name: "list-mentor",
  109.     header: "mentoring"
  110.   }, {
  111.     path: "/login",
  112.     component: _13e27d82,
  113.     name: "login",
  114.     header: "login"
  115.   }, {
  116.     path: "/measurement",
  117.     component: _47a74395,
  118.     name: "measurement",
  119.     header: "measurement"
  120.   }, {
  121.     path: "/mentor",
  122.     component: _972d1410,
  123.     name: "mentor"
  124.   }, {
  125.     path: "/onboard",
  126.     component: _866cd180,
  127.     name: "onboard"
  128.   }, {
  129.     path: "/onboarding",
  130.     component: _ec36f85c,
  131.     name: "onboarding",
  132.     header: "onboarding"
  133.   }, {
  134.     path: "/pay",
  135.     component: _7064d8fe,
  136.     name: "pay"
  137.   }, {
  138.     path: "/payment",
  139.     component: _39fe2d5f,
  140.     name: "payment"
  141.   }, {
  142.     path: "/referral",
  143.     component: _bbe857d8,
  144.     name: "referral"
  145.   }, {
  146.     path: "/register",
  147.     component: _7f86d7cc,
  148.     name: "register"
  149.   }, {
  150.     path: "/reset-input-password",
  151.     component: _2db9a81a,
  152.     name: "reset-input-password"
  153.   }, {
  154.     path: "/reset-password",
  155.     component: _3920c090,
  156.     name: "reset-password"
  157.   }, {
  158.     path: "/workouts",
  159.     component: _0e5cd56d,
  160.     name: "workouts",
  161.     header: "workout"
  162.   }, {
  163.     path: "/workout/female/gym/female_wo_gym_bimonthly",
  164.     component: _f2bc3e96,
  165.     name: "workout-female-gym-female_wo_gym_bimonthly",
  166.     header: "female gym"
  167.   }, {
  168.     path: "/workout/female/gym/female_wo_gym_foundation1",
  169.     component: _b3a36226,
  170.     name: "workout-female-gym-female_wo_gym_foundation1",
  171.     header: "female gym"
  172.   }, {
  173.     path: "/workout/female/gym/female_wo_gym_foundation2",
  174.     component: _b3873324,
  175.     name: "workout-female-gym-female_wo_gym_foundation2",
  176.     header: "female gym"
  177.   }, {
  178.     path: "/workout/female/gym/female_wo_gym_select",
  179.     component: _713f91bd,
  180.     name: "workout-female-gym-female_wo_gym_select",
  181.     header: "female gym"
  182.   }, {
  183.     path: "/workout/female/home/female_wo_home_bimonthly",
  184.     component: _50ada70a,
  185.     name: "workout-female-home-female_wo_home_bimonthly",
  186.     header: "female home"
  187.   }, {
  188.     path: "/workout/female/home/female_wo_home_foundation1",
  189.     component: _5adc7d9a,
  190.     name: "workout-female-home-female_wo_home_foundation1",
  191.     header: "female home"
  192.   }, {
  193.     path: "/workout/female/home/female_wo_home_foundation2",
  194.     component: _5ac04e98,
  195.     name: "workout-female-home-female_wo_home_foundation2",
  196.     header: "female home"
  197.   }, {
  198.     path: "/workout/female/home/female_wo_home_select",
  199.     component: _0de34bb7,
  200.     name: "workout-female-home-female_wo_home_select",
  201.     header: "female home"
  202.   }, {
  203.     path: "/workout/male/gym/male_wo_gym_bimonthly",
  204.     component: _39fc1695,
  205.     name: "workout-male-gym-male_wo_gym_bimonthly",
  206.     header: "male gym"
  207.   }, {
  208.     path: "/workout/male/gym/male_wo_gym_foundation1",
  209.     component: _285ae666,
  210.     name: "workout-male-gym-male_wo_gym_foundation1",
  211.     header: "male gym"
  212.   }, {
  213.     path: "/workout/male/gym/male_wo_gym_foundation2",
  214.     component: _283eb764,
  215.     name: "workout-male-gym-male_wo_gym_foundation2",
  216.     header: "male gym"
  217.   }, {
  218.     path: "/workout/male/gym/male_wo_gym_select",
  219.     component: _90b7b046,
  220.     name: "workout-male-gym-male_wo_gym_select",
  221.     header: "male gym"
  222.   }, {
  223.     path: "/workout/male/home/male_wo_home_foundation1",
  224.     component: _61837616,
  225.     name: "workout-male-home-male_wo_home_foundation1",
  226.     header: "male home"
  227.   }, {
  228.     path: "/workout/male/home/male_wo_home_foundation2",
  229.     component: _61674714,
  230.     name: "workout-male-home-male_wo_home_foundation2",
  231.     header: "male home"
  232.   }, {
  233.     path: "/workout/male/home/male_wo_home_phase1",
  234.     component: _ccd66a62,
  235.     name: "workout-male-home-male_wo_home_phase1",
  236.     header: "male home"
  237.   }, {
  238.     path: "/workout/male/home/male_wo_home_phase2",
  239.     component: _ccba3b60,
  240.     name: "workout-male-home-male_wo_home_phase2",
  241.     header: "male home"
  242.   }, {
  243.     path: "/workout/male/home/male_wo_home_phase3",
  244.     component: _cc9e0c5e,
  245.     name: "workout-male-home-male_wo_home_phase3",
  246.     header: "male home"
  247.   }, {
  248.     path: "/workout/male/home/male_wo_home_select",
  249.     component: _4bfff6b5,
  250.     name: "workout-male-home-male_wo_home_select",
  251.     header: "male home"
  252.   }, {
  253.     path: "/",
  254.     component: _4a3ada6b,
  255.     name: "index"
  256.   }],
  257.  
  258.   fallback: false
  259. }
  260.  
  261. export function createRouter (ssrContext, config) {
  262.   const base = (config._app && config._app.basePath) || routerOptions.base
  263.   const router = new Router({ ...routerOptions, base  })
  264.  
  265.   // TODO: remove in Nuxt 3
  266.   const originalPush = router.push
  267.   router.push = function push (location, onComplete = emptyFn, onAbort) {
  268.     return originalPush.call(this, location, onComplete, onAbort)
  269.   }
  270.  
  271.   const resolve = router.resolve.bind(router)
  272.   router.resolve = (to, current, append) => {
  273.     if (typeof to === 'string') {
  274.       to = normalizeURL(to)
  275.     }
  276.     return resolve(to, current, append)
  277.   }
  278.  
  279.   return router
  280. }
  281.