import{S,i as B,s as v,n as h,d as o,z as f,r,b as _,c as x,A as C,e as u,f as k,h as L,j as m,k as Q,B as z,C as d,w as T}from"./DfpL3vsM.js";import"./IHki7fMi.js";function g(l){let e,t="wplace";return{c(){e=m("span"),e.textContent=t,this.h()},l(i){e=u(i,"SPAN",{class:!0,"data-svelte-h":!0}),T(e)!=="svelte-6klpyz"&&(e.textContent=t),this.h()},h(){r(e,"class","text-base-content font-pixel"),f(e,"text-4xl",l[1]["text-4xl"]),f(e,"text-5xl",l[1]["text-5xl"])},m(i,c){_(i,e,c)},p(i,c){c&2&&f(e,"text-4xl",i[1]["text-4xl"]),c&2&&f(e,"text-5xl",i[1]["text-5xl"])},d(i){i&&o(e)}}}function E(l){let e,t,i,c,A,s=l[0]&&g(l);return{c(){e=m("div"),t=m("img"),c=Q(),s&&s.c(),this.h()},l(a){e=u(a,"DIV",{class:!0});var n=k(e);t=u(n,"IMG",{src:!0,alt:!0,class:!0}),c=L(n),s&&s.l(n),n.forEach(o),this.h()},h(){C(t.src,i=R)||r(t,"src",i),r(t,"alt","Wplace logo"),r(t,"class","pixelated"),f(t,"size-10",l[2]["size-10"]),f(t,"size-16",l[2]["size-16"]),f(t,"size-20",l[2]["size-20"]),r(e,"class",A="flex items-center gap-1.5 "+(l[3].class||""))},m(a,n){_(a,e,n),x(e,t),x(e,c),s&&s.m(e,null)},p(a,[n]){n&4&&f(t,"size-10",a[2]["size-10"]),n&4&&f(t,"size-16",a[2]["size-16"]),n&4&&f(t,"size-20",a[2]["size-20"]),a[0]?s?s.p(a,n):(s=g(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),n&8&&A!==(A="flex items-center gap-1.5 "+(a[3].class||""))&&r(e,"class",A)},i:h,o:h,d(a){a&&o(e),s&&s.d()}}}const R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAABJQTFRFAQEBAAAAHGHnRcxVStlbMXLnk8SHtQAAAAF0Uk5TAEDm2GYAAABMSURBVHjadc9JCgAhDERRa7r/lZs0ikawdv+tkvEYALS07U2QawmOTo1oQBKr8/cUMLY7JLEPYLW0oISSNLtgiojRBfv0AuB67vH3B+FjAY/0rrGiAAAAAElFTkSuQmCC";function b(l,e,t){let i,c,{size:A="default"}=e,{hasText:s=!1}=e;return l.$$set=a=>{t(3,e=z(z({},e),d(a))),"size"in a&&t(4,A=a.size),"hasText"in a&&t(0,s=a.hasText)},l.$$.update=()=>{l.$$.dirty&16&&t(2,i={"size-10":A==="default","size-16":A==="medium","size-20":A==="lg"}),l.$$.dirty&16&&t(1,c={"text-4xl":A==="default","text-5xl":A==="lg"||A==="medium"})},e=d(e),[s,c,i,e,A]}class F extends S{constructor(e){super(),B(this,e,b,E,v,{size:4,hasText:0})}}export{F as L};
