import{_ as h}from"./BButton.vue_vue_type_script_setup_true_lang-D5Eg7-Zv-DDRCX2AG.js";import{_ as g}from"./BButtonToolbar.vue_vue_type_script_setup_true_lang-CxCcFupr-CBdlhxg8.js";import{_ as c,d as m,o as f,b as a,w as n,a as e,e as r,n as s,t as l}from"./index-D02r7Zsc.js";import"./BSpinner.vue_vue_type_script_setup_true_lang-H1MzHypA-D8AXjJB0.js";import"./dom-DVb-f0ZG-Crdf0-mU.js";import"./useDefaults-DESCdb0p-CFLjYrdG.js";import"./useColorVariantClasses-ZDE19TZw-Cvu7SygP.js";import"./BLink.vue_vue_type_script_setup_true_lang-Ct47WhzE-DDPYis_D.js";import"./object-0ALvRU0O-3BORTTD-.js";import"./stringUtils-gJJ6T6UC-g5BZrMym.js";import"./index-C0p9vHHI-DoOEDIMw.js";const d={data:function(){return{leftButton:{},rightButton:{}}},methods:{changeCustomLeftButton(){this.leftButton=this.getConfig().shortcuts[localStorage.getItem("leftButton")]},changeCustomRightButton(){this.rightButton=this.getConfig().shortcuts[localStorage.getItem("rightButton")]}},created:function(){this.subscribe("changeLeftButton",()=>{this.changeCustomLeftButton()}),this.subscribe("changeRightButton",()=>{this.changeCustomRightButton()});const t=this.getConfig().shortcuts;localStorage.getItem("leftButton")&&t[localStorage.getItem("leftButton")]&&(this.leftButton=this.getConfig().shortcuts[localStorage.getItem("leftButton")]),localStorage.getItem("rightButton")&&t[localStorage.getItem("rightButton")]&&(this.rightButton=this.getConfig().shortcuts[localStorage.getItem("rightButton")])}},B={class:"d-flex align-items-center justify-content-center"},p={"aria-hidden":"true"},b={class:"d-flex align-items-center justify-content-center"},_={"aria-hidden":"true"};function C(t,o,$,S,I,y){const i=h,u=g;return f(),m("div",null,[a(u,{class:"d-flex text-decoration-none"},{default:n(()=>[a(i,{"aria-label":t.$t(t.leftButton.labelPath),squared:"",to:{name:t.leftButton.name},variant:"primary"},{default:n(()=>[e("span",B,[e("i",{class:s("bi bi-"+t.leftButton.icon),"aria-hidden":"true"},null,2),o[0]||(o[0]=r("   ",-1)),e("span",p,l(t.$t(t.leftButton.labelPath)),1)])]),_:1},8,["aria-label","to"]),a(i,{"aria-label":t.$t("ariaLabels.footer.home"),class:"d-flex align-items-center justify-content-center",squared:"",to:{name:"home"},variant:"secondary"},{default:n(()=>[...o[1]||(o[1]=[e("i",{class:s("bi bi-house"),"aria-hidden":"true"},null,-1)])]),_:1},8,["aria-label"]),a(i,{"aria-label":t.$t(t.rightButton.labelPath),squared:"",to:{name:t.rightButton.name},variant:"primary"},{default:n(()=>[e("span",b,[e("i",{class:s("bi bi-"+t.rightButton.icon),"aria-hidden":"true"},null,2),o[2]||(o[2]=r("   ",-1)),e("span",_,l(t.$t(t.rightButton.labelPath)),1)])]),_:1},8,["aria-label","to"])]),_:1})])}const D=c(d,[["render",C]]);export{D as default};
