import{g as t,S as e,i as o,a as r,b as a,s as i,e as n,n as s,d as m,c,f,t as l,h as d,j as g,w as h,m as p,r as u,p as b}from"./index-3cab5f92.js";import{w}from"./index-eafa799e.js";import{loadLocaleContent as v}from"../../../../../../js/libraries/serverTools.js";const{customElements:y}=t;function k(t){let e,o,r,i,n,s,c,w,v,y,k,x,j,L,_,z,B,C,T,U,A,H,M=t[0].contactUs+"",R=t[0].inviteLink+"",D=t[0].inviteLink+"";return{c(){e=f("footer"),o=f("div"),r=f("div"),i=f("div"),n=f("h2"),s=l(M),c=d(),w=f("p"),v=l("WhatsApp: "),y=f("a"),k=l(R),x=d(),j=f("p"),L=l("Discord: "),_=f("a"),z=l(D),B=d(),C=f("button"),C.innerHTML='',T=d(),U=f("p"),U.innerHTML='Licensed under a Creative Commons CC BY 4.0 license.',g(y,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),g(y,"target","_blank"),g(y,"rel","noreferrer"),h(y,"margin-left","0.5rem"),g(_,"href","https://discord.gg/xAPZmyr8B6"),g(_,"target","_blank"),g(_,"rel","noreferrer"),h(_,"margin-left","1.8rem"),g(i,"id","contact-us-container"),g(r,"id","footer-grid-content-container"),g(r,"class","logged"),g(C,"id","footer-up"),g(C,"aria-label","go up"),g(U,"id","footer-copyright"),g(o,"id","footer-content-container")},m(m,f){a(m,e,f),p(e,o),p(o,r),p(r,i),p(i,n),p(n,s),p(i,c),p(i,w),p(w,v),p(w,y),p(y,k),p(i,x),p(i,j),p(j,L),p(j,_),p(_,z),p(o,B),p(o,C),p(o,T),p(o,U),A||(H=u(C,"click",t[3]),A=!0)},p(t,e){1&e&&M!==(M=t[0].contactUs+"")&&b(s,M),1&e&&R!==(R=t[0].inviteLink+"")&&b(k,R),1&e&&D!==(D=t[0].inviteLink+"")&&b(z,D)},d(t){t&&m(e),A=!1,H()}}}function x(t){let e,o=0!=Object.keys(t[0]).length,r=o&&k(t);return{c(){r&&r.c(),e=n(),this.c=s},m(t,o){r&&r.m(t,o),a(t,e,o)},p(t,[a]){1&a&&(o=0!=Object.keys(t[0]).length),o?r?r.p(t,a):(r=k(t),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:s,o:s,d(t){r&&r.d(t),t&&m(e)}}}function j(t,e,o){let r,a,i=w({});c(t,i,(t=>o(0,r=t))),v(i,"footer-component",a);return[r,a,i,()=>{location.href="#"}]}class L extends e{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},j,x,i,{},null),t&&t.target&&a(t.target,this,t.anchor)}}y.define("footer-component",L);export{L as default};