composables.2846c723.js 564 B

12345
  1. import{g as t,a as n,s}from"./index.9d8a3e8d.js";/*!
  2. * vue-router v3.6.5
  3. * (c) 2022 Evan You
  4. * @license MIT
  5. */function o(r){if(!t())throw new Error("[vue-router]: Missing current instance. "+r+"() must be called inside <script setup> or setup().")}function c(){return o("useRouter"),t().proxy.$root.$router}function i(){o("useRoute");var r=t().proxy.$root;if(!r._$route){var e=n(!0).run(function(){return s(Object.assign({},r.$router.currentRoute))});r._$route=e,r.$router.afterEach(function(u){Object.assign(e,u)})}return r._$route}export{i as a,c as u};