PageSourceSearch

https://www.swish.com/assets/AppFooter-CyXgH_z-.js

js swish.com collected 2026-09-26 01:37:02 UTC 4,052 bytes, 1 lines download raw bytes

1import{d as y,f as d,T as v,M as S,V as _,u as x,C as I,c as L}from"./index-DycA_LJ0.js";import{W as u,M as t,g as i,d as e,_ as p,F as b,U as k,m as a,E as B,ae as C,af as E,ab as M,a1 as o,e as $,f as F}from"./vendor-CYgWybRQ.js";import"./contentful-BBdEpIHX.js";const V={name:"LinkSection",components:{MenuLink:S,TransitionExpand:v,SwSvgIcon:d},props:{section:{type:Object,required:!0}},data(){return{isExpanded:!1,mainColors:_}},methods:{toggle(){this.isExpanded=!this.isExpanded}}},D={class:"link-section"},N={class:"hidden-mobile"},Y={class:"links hidden-mobile"},j={class:"links links-mobile hidden-desktop"};function q(r,s,c,w,n,f){const h=u("menu-link"),g=u("SwSvgIcon"),m=u("transition-expand");return t(),i("div",D,[e("h3",N,p(c.section.fields.heading),1),e("ul",Y,[(t(!0),i(b,null,k(c.section.fields.subMenuItems,l=>(t(),i("li",{key:l.sys.id},[a(h,{class:"footer-link",link:l.fields.link,label:l.fields.heading},null,8,["link","label"])]))),128))]),e("button",{class:"header-button hidden-desktop",onClick:s[0]||(s[0]=(...l)=>f.toggle&&f.toggle(...l))},[e("h3",null,p(c.section.fields.heading),1),a(g,{name:"caret-down",color:n.mainColors.secondaryForeground,class:B(["svg-icon",{open:n.isExpanded}])},null,8,["color","class"])]),a(m,null,{default:C(()=>[E(e("ul",j,[(t(!0),i(b,null,k(c.section.fields.subMenuItems,l=>(t(),i("li",{key:l.sys.id},[a(h,{class:"footer-link",linkIconSize:"x-small",link:l.fields.link,label:l.fields.heading},null,8,["link","label"])]))),128))],512),[[M,n.isExpanded]])]),_:1})])}const z=y(V,[["render",q],["__scopeId","data-v-834af299"]]),A={class:"social-container"},G=["aria-label"],O=["aria-label"],T=["aria-label"],P=["aria-label"],U={__name:"SocialSection",setup(r){const{t:s}=x();return(c,w)=>(t(),i("div",A,[e("a",{href:"https://facebook.com/getswish","aria-label":o(s)("socialLinks.facebook"),target:"_blank",rel:"noopener"},[a(o(d),{name:"fb",width:24,color:o(_).smallButtonLabel},null,8,["color"])],8,G),e("a",{href:"https://instagram.com/getswish","aria-label":o(s)("socialLinks.instagram"),target:"_blank",rel:"noopener"},[a(o(d),{name:"insta",width:24,color:o(_).smallButtonLabel},null,8,["color"])],8,O),e("a",{href:"https://youtube.com/user/getswish","aria-label":o(s)("socialLinks.youtube"),target:"_blank",rel:"noopener"},[a(o(d),{name:"youtube",width:24,color:o(_).smallButtonLabel},null,8,["color"])],8,T),e("a",{href:"https://www.linkedin.com/company/getswish","aria-label":o(s)("socialLinks.linkedin"),target:"_blank",rel:"noopener"},[a(o(d),{name:"linkedin",width:24,color:o(_).smallButtonLabel},null,8,["color"])],8,P)]))}},W=y(U,[["__scopeId","data-v-1b8cb0ef"]]),H=Object.assign({"/src/assets/swish-logotype.svg":L}),J=H["/src/assets/swish-logotype.svg"]?.default||"",K={name:"PageFooter",components:{LinkSection:z,SocialSection:W},data(){return{menuItems:[],currentYear:new Date().getFullYear(),logotypeSrc:J}},created(){this.fetchMenu()},methods:{async fetchMenu(){const r={content_type:"menu","fields.identifier":"footer-menu",include:3};try{const s=await I.filteredGetEntries(r);s.items.length&&(this.menuItems=s.items[0].fields.menuItems)}catch(s){console.error(s)}}}},Q={class:"footer section-container",id:"footer"},R={class:"footer-top"},X={class:"left-column"},Z={class:"logo hidden-mobile"},ee=["src"],se={key:0,class:"right-column"},oe={class:"footer-bottom"},te={class:"brand"},ne={class:"text"},le={class:"logo mobile-only"},ie=["src"];function ae(r,s,c,w,n,f){const h=u("social-section"),g=u("link-section");return t(),i("footer",Q,[e("div",R,[e("div",X,[e("div",Z,[e("img",{src:n.logotypeSrc,height:"57",alt:"Swish logotype"},null,8,ee)]),a(h,{class:"social-section"})]),n.menuItems.length?(t(),i("div",se,[(t(!0),i(b,null,k(n.menuItems,m=>(t(),$(g,{key:m.sys.id,section:m},null,8,["section"]))),128))])):F("",!0)]),e("div",oe,[e("p",te,"Getswish AB, "+p(n.currentYear),1),e("p",ne,p(r.$t("footer.text")),1),e("div",le,[e("img",{src:n.logotypeSrc,alt:"Swish logotype"},null,8,ie)])])])}const _e=y(K,[["render",ae],["__scopeId","data-v-3222906b"]]);export{_e as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.