import{S as ue,b as ce,s as fe,n as F,d as g,r as Ae,e as W,f as p,P as J,g as f,l as L,h as y,j as $,m as Se,p as H,o as C,u as te,v as ne,y as U,A,B as V,c as Ye,N as me,C as q,V as dt,i as ht,D as Z,k as _e,E as K,t as ve,q as ie,Q as Xe,G as oe,I as ae,W as st,X as le,x as gt,O as pe,Y as pt,Z as mt,_ as _t,$ as vt,J as $e,a0 as be,a1 as ke,M as Ge,w as bt,F as kt,H as wt}from"../chunks/wWjeKwgK.js";import"../chunks/IHki7fMi.js";import{i as Te,e as Ie,u as ze,o as Ne,f as Oe,j as yt,k as Ct,n as Et,g as it,t as Dt,s as ut,b as ct,p as Yt,l as Tt,m as $t,a as It,q as Mt,h as Vt,r as Xt}from"../chunks/DJovQM42.js";import{g as St,F as We,I as Bt,a as At,u as je,S as Ot,c as Le,b as zt}from"../chunks/DYBED3Qj.js";import{B as ft}from"../chunks/UHdwwnMh.js";import"../chunks/CjqRYzcs.js";import{I as Nt}from"../chunks/Ce2SiLcv.js";const Pt=!0,xn=Object.freeze(Object.defineProperty({__proto__:null,prerender:Pt},Symbol.toStringTag,{value:"Module"})),{document:Wt}=St;function jt(r){let e,t,n,l="Back to top",o,i;return{c(){e=H(),t=C("div"),n=C("button"),n.textContent=l,this.h()},l(u){e=L(u),t=y(u,"DIV",{class:!0});var s=$(t);n=y(s,"BUTTON",{id:!0,class:!0,"data-svelte-h":!0}),Se(n)!=="svelte-1uhjlnn"&&(n.textContent=l),s.forEach(g),this.h()},h(){f(n,"id","backToTop"),f(n,"class","btn !py-2 !px-4 text-sm md:text-base svelte-jr6w1a"),f(t,"class","flex justify-center mt-4 mb-2")},m(u,s){W(u,e,s),W(u,t,s),p(t,n),o||(i=[J(Wt,"scroll",Lt),J(n,"click",Gt)],o=!0)},p:F,i:F,o:F,d(u){u&&(g(e),g(t)),o=!1,Ae(i)}}}function Gt(){window.scrollTo({top:0,left:0,behavior:"smooth"})}function Lt(r){const e=document.getElementById("backToTop"),t=document.documentElement;let n=t.scrollHeight-t.clientHeight;window.scrollY>600&&t.scrollTop/n>.6?e.classList.add("showBtn"):e.classList.remove("showBtn")}class Ht extends ue{constructor(e){super(),ce(this,e,null,jt,fe,{})}}function Ft(r){let e,t,n,l;return{c(){e=ne("svg"),t=ne("g"),n=ne("path"),l=ne("path"),this.h()},l(o){e=te(o,"svg",{fill:!0,viewBox:!0,height:!0,class:!0});var i=$(e);t=te(i,"g",{});var u=$(t);n=te(u,"path",{fill:!0,d:!0}),$(n).forEach(g),l=te(u,"path",{d:!0}),$(l).forEach(g),u.forEach(g),i.forEach(g),this.h()},h(){f(n,"fill","none"),f(n,"d","M0 0h48v48H0z"),f(l,"d","M44 14H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h40a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2ZM17.3 29h-2.5l-3-5-.7-1.3V29H8.7V19h2.5l3 5 .6 1.3h.1s-.1-1.2-.1-1.6V19h2.5Zm9.1 0h-7.7V19h7.6v2h-5.1v1.8h4.4v2h-4.4v2.1h5.2Zm10.9 0h-2.5l-1-4.8c-.2-.8-.4-1.9-.4-1.9s-.2 1.1-.3 1.9L32 29h-2.4l-2.8-10h2.5l1 4.2a20.1 20.1 0 0 1 .5 2.5l.5-2.4 1-4.3h2.3l.9 4.3.5 2.4.5-2.5 1-4.2H40Z"),f(e,"fill","currentColor"),f(e,"viewBox","0 12 48 24"),f(e,"height","18"),f(e,"class","svelte-1viggjg")},m(o,i){W(o,e,i),p(e,t),p(t,n),p(t,l)},p:F,i:F,o:F,d(o){o&&g(e)}}}class Ut extends ue{constructor(e){super(),ce(this,e,null,Ft,fe,{})}}function qt(r){let e,t;return{c(){e=ne("svg"),t=ne("path"),this.h()},l(n){e=te(n,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0});var l=$(e);t=te(l,"path",{stroke:!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),$(t).forEach(g),l.forEach(g),this.h()},h(){f(t,"stroke","currentColor"),f(t,"stroke-linecap","round"),f(t,"stroke-linejoin","round"),f(t,"stroke-width","2"),f(t,"d","M3 9h18M7 3v2m10-2v2m-5.002 7.712c-.7-.78-1.867-.989-2.744-.275-.877.713-1 1.906-.312 2.75.39.476 1.313 1.311 2.043 1.948.347.302.52.453.73.515.178.053.387.053.566 0 .21-.061.382-.213.729-.515.73-.637 1.654-1.472 2.043-1.948.688-.844.58-2.044-.312-2.75-.892-.706-2.044-.504-2.743.275ZM6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8V8.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C19.48 5 18.92 5 17.8 5H6.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C3 6.52 3 7.08 3 8.2v9.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21Z"),f(e,"xmlns","http://www.w3.org/2000/svg"),f(e,"fill","none"),f(e,"viewBox","0 0 24 24"),f(e,"width","28")},m(n,l){W(n,e,l),p(e,t)},p:F,i:F,o:F,d(n){n&&g(e)}}}class Kt extends ue{constructor(e){super(),ce(this,e,null,qt,fe,{})}}function Rt(r){let e,t;return{c(){e=ne("svg"),t=ne("path"),this.h()},l(n){e=te(n,"svg",{width:!0,viewBox:!0,fill:!0});var l=$(e);t=te(l,"path",{d:!0}),$(t).forEach(g),l.forEach(g),this.h()},h(){f(t,"d","M2 9.137C2 14 6.02 16.591 8.962 18.911 10 19.729 11 20.5 12 20.5s2-.77 3.038-1.59C17.981 16.592 22 14 22 9.138c0-4.863-5.5-8.312-10-3.636C7.5.825 2 4.274 2 9.137Z"),f(e,"width","28"),f(e,"viewBox","0 0 24 24"),f(e,"fill","currentColor")},m(n,l){W(n,e,l),p(e,t)},p:F,i:F,o:F,d(n){n&&g(e)}}}class Zt extends ue{constructor(e){super(),ce(this,e,null,Rt,fe,{})}}function Qt(r){let e,t;return{c(){e=ne("svg"),t=ne("path"),this.h()},l(n){e=te(n,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0,heigh:!0});var l=$(e);t=te(l,"path",{stroke:!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),$(t).forEach(g),l.forEach(g),this.h()},h(){f(t,"stroke","currentColor"),f(t,"stroke-linecap","round"),f(t,"stroke-linejoin","round"),f(t,"stroke-width","2"),f(t,"d","M12 4v16m0-16 3.5 3.5M12 4 8.5 7.5M12 20l-3.5-3.5M12 20l3.5-3.5"),f(e,"xmlns","http://www.w3.org/2000/svg"),f(e,"fill","none"),f(e,"viewBox","0 0 24 24"),f(e,"width","24"),f(e,"heigh","24")},m(n,l){W(n,e,l),p(e,t)},p:F,i:F,o:F,d(n){n&&g(e)}}}class Jt extends ue{constructor(e){super(),ce(this,e,null,Qt,fe,{})}}function xt(r){let e,t,n;return{c(){e=ne("svg"),t=ne("g"),n=ne("path"),this.h()},l(l){e=te(l,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0});var o=$(e);t=te(o,"g",{stroke:!0,"stroke-width":!0});var i=$(t);n=te(i,"path",{d:!0}),$(n).forEach(g),i.forEach(g),o.forEach(g),this.h()},h(){f(n,"d","m17 15-5 5-5-5M17 9l-5-5-5 5"),f(t,"stroke","currentColor"),f(t,"stroke-width","2"),f(e,"xmlns","http://www.w3.org/2000/svg"),f(e,"fill","none"),f(e,"viewBox","0 0 24 24"),f(e,"width","24")},m(l,o){W(l,e,o),p(e,t),p(t,n)},p:F,i:F,o:F,d(l){l&&g(e)}}}class en extends ue{constructor(e){super(),ce(this,e,null,xt,fe,{})}}function tn(r){let e,t,n,l,o,i=r[0].name+"",u,s,a,c,d,h,_=r[0].description+"",M,X,D,m=r[0].url+"",Y,b,T,E,O;return n=new We({props:{dle:r[0],section:r[2],position:r[3]}}),c=new Bt({}),{c(){e=C("div"),t=C("div"),K(n.$$.fragment),l=H(),o=C("div"),u=ve(i),s=H(),a=C("button"),K(c.$$.fragment),d=H(),h=C("div"),M=ve(_),X=H(),D=C("a"),Y=ve(m),this.h()},l(v){e=y(v,"DIV",{class:!0,style:!0});var w=$(e);t=y(w,"DIV",{class:!0});var k=$(t);Z(n.$$.fragment,k),l=L(k),o=y(k,"DIV",{class:!0});var N=$(o);u=_e(N,i),N.forEach(g),s=L(k),a=y(k,"BUTTON",{});var z=$(a);Z(c.$$.fragment,z),z.forEach(g),k.forEach(g),d=L(w),h=y(w,"DIV",{class:!0});var x=$(h);M=_e(x,_),x.forEach(g),X=L(w),D=y(w,"A",{href:!0,target:!0,class:!0});var ee=$(D);Y=_e(ee,m),ee.forEach(g),w.forEach(g),this.h()},h(){f(o,"class","text-center text-xl font-bold"),f(t,"class","flex justify-around items-start gap-2"),f(h,"class","text-center text-base text-colorTextSoft"),f(D,"href",b=r[0].url),f(D,"target","_blank"),f(D,"class","svelte-1cth64t"),f(e,"class","dlePopUp bevel svelte-1cth64t"),me(e,"left",r[5]+"px"),me(e,"top",r[4]+"px"),me(e,"width",Be+"px")},m(v,w){W(v,e,w),p(e,t),q(n,t,null),p(t,l),p(t,o),p(o,u),p(t,s),p(t,a),q(c,a,null),p(e,d),p(e,h),p(h,M),p(e,X),p(e,D),p(D,Y),T=!0,E||(O=[J(a,"click",r[7]),J(D,"click",r[11]),J(D,"auxclick",r[12]),dt(At.call(null,e)),J(e,"click_outside",function(){ht(r[1])&&r[1].apply(this,arguments)})],E=!0)},p(v,[w]){r=v;const k={};w&1&&(k.dle=r[0]),w&4&&(k.section=r[2]),w&8&&(k.position=r[3]),n.$set(k),(!T||w&1)&&i!==(i=r[0].name+"")&&Ye(u,i),(!T||w&1)&&_!==(_=r[0].description+"")&&Ye(M,_),(!T||w&1)&&m!==(m=r[0].url+"")&&Ye(Y,m),(!T||w&1&&b!==(b=r[0].url))&&f(D,"href",b),(!T||w&32)&&me(e,"left",r[5]+"px"),(!T||w&16)&&me(e,"top",r[4]+"px")},i(v){T||(V(n.$$.fragment,v),V(c.$$.fragment,v),T=!0)},o(v){A(n.$$.fragment,v),A(c.$$.fragment,v),T=!1},d(v){v&&g(e),U(n),U(c),E=!1,Ae(O)}}}let Be=310;function nn(r,e,t){let n,l,o;ie(r,Te,b=>t(13,o=b));let{dle:i,pageX:u,pageY:s,clientY:a,handleClickOutside:c}=e,{section:d="regular"}=e,{position:h=null}=e;const _=je();function M(b,T){d==="sponsors"?_.trackSponsorClick(b,T,h):_.trackGameClick(b,T,"popup",d,h)}let X=30+2*8+2*12+Math.floor(Math.ceil(28*i.name.length)/10)+Math.floor(Math.ceil(24*i.description.length)/26)+Math.floor(Math.ceil(24*i.url.length)/26);function D(){Xe(Te,o="",o)}const m=()=>M(i,"popup-link"),Y=()=>M(i,"popup-middle-click");return r.$$set=b=>{"dle"in b&&t(0,i=b.dle),"pageX"in b&&t(8,u=b.pageX),"pageY"in b&&t(9,s=b.pageY),"clientY"in b&&t(10,a=b.clientY),"handleClickOutside"in b&&t(1,c=b.handleClickOutside),"section"in b&&t(2,d=b.section),"position"in b&&t(3,h=b.position)},r.$$.update=()=>{r.$$.dirty&256&&t(5,n=(()=>{let b=u;return b<Be/2&&(b=Be/2+5),b+Be/2>document.documentElement.clientWidth&&(b=document.documentElement.clientWidth-Be/2-5),b})()),r.$$.dirty&1536&&t(4,l=(()=>{let b=s;return a<X&&(b+=X-a),b})())},[i,c,d,h,l,n,M,D,u,s,a,m,Y]}class ln extends ue{constructor(e){super(),ce(this,e,nn,tn,fe,{dle:0,pageX:8,pageY:9,clientY:10,handleClickOutside:1,section:2,position:3})}}function rn(r){let e,t,n,l,o,i,u;return{c(){e=ne("svg"),t=ne("circle"),n=ne("circle"),l=ne("circle"),o=ne("circle"),i=ne("circle"),u=ne("circle"),this.h()},l(s){e=te(s,"svg",{width:!0,height:!0,viewBox:!0,fill:!0});var a=$(e);t=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(t).forEach(g),n=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(n).forEach(g),l=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(l).forEach(g),o=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(o).forEach(g),i=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(i).forEach(g),u=te(a,"circle",{cx:!0,cy:!0,r:!0}),$(u).forEach(g),a.forEach(g),this.h()},h(){f(t,"cx","4"),f(t,"cy","4"),f(t,"r","1.5"),f(n,"cx","12"),f(n,"cy","4"),f(n,"r","1.5"),f(l,"cx","4"),f(l,"cy","8"),f(l,"r","1.5"),f(o,"cx","12"),f(o,"cy","8"),f(o,"r","1.5"),f(i,"cx","4"),f(i,"cy","12"),f(i,"r","1.5"),f(u,"cx","12"),f(u,"cy","12"),f(u,"r","1.5"),f(e,"width","16"),f(e,"height","18"),f(e,"viewBox","0 0 16 16"),f(e,"fill","currentColor")},m(s,a){W(s,e,a),p(e,t),p(e,n),p(e,l),p(e,o),p(e,i),p(e,u)},p:F,i:F,o:F,d(s){s&&g(e)}}}class on extends ue{constructor(e){super(),ce(this,e,null,rn,fe,{})}}function He(r,e,t){const n=r.slice();return n[41]=e[t],n[43]=t,n}function Fe(r){let e,t;return e=new Ut({}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function an(r){let e,t,n;return t=new We({props:{dle:r[41],section:r[4],position:r[43],size:"small"}}),{c(){e=C("div"),K(t.$$.fragment),this.h()},l(l){e=y(l,"DIV",{class:!0});var o=$(e);Z(t.$$.fragment,o),o.forEach(g),this.h()},h(){f(e,"class","hover-favorite svelte-74fvgb"),le(e,"favorited",r[11](r[41]))},m(l,o){W(l,e,o),q(t,e,null),n=!0},p(l,o){const i={};o[0]&8&&(i.dle=l[41]),o[0]&16&&(i.section=l[4]),o[0]&8&&(i.position=l[43]),t.$set(i),(!n||o[0]&2056)&&le(e,"favorited",l[11](l[41]))},i(l){n||(V(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){l&&g(e),U(t)}}}function sn(r){let e,t,n;return t=new on({}),{c(){e=C("div"),K(t.$$.fragment),this.h()},l(l){e=y(l,"DIV",{class:!0});var o=$(e);Z(t.$$.fragment,o),o.forEach(g),this.h()},h(){f(e,"class","drag-handle svelte-74fvgb")},m(l,o){W(l,e,o),q(t,e,null),n=!0},p:F,i(l){n||(V(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){l&&g(e),U(t)}}}function Ue(r){let e,t;return e=new ln({props:{dle:r[41],pageX:r[0],pageY:r[1],clientY:r[2],handleClickOutside:r[12],section:r[4],position:r[43]}}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},p(n,l){const o={};l[0]&8&&(o.dle=n[41]),l[0]&1&&(o.pageX=n[0]),l[0]&2&&(o.pageY=n[1]),l[0]&4&&(o.clientY=n[2]),l[0]&16&&(o.section=n[4]),l[0]&8&&(o.position=n[43]),e.$set(o)},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function qe(r,e){let t,n,l,o,i,u=e[41].name+"",s,a,c=e[10](e[41]),d,h,_,M,X,D,m,Y,b,T;function E(...S){return e[22](e[41],e[43],...S)}function O(...S){return e[23](e[41],e[43],...S)}let v=c&&Fe();const w=[sn,an],k=[];function N(S,P){return S[5]&&S[6]?0:1}h=N(e),_=k[h]=w[h](e);let z=e[9]===`${e[4]}-${e[41].name}`&&!(e[5]&&e[6])&&Ue(e);function x(...S){return e[24](e[43],...S)}function ee(...S){return e[25](e[43],...S)}function G(...S){return e[26](e[43],...S)}return{key:r,first:null,c(){t=C("li"),n=C("div"),l=C("div"),o=C("div"),i=C("span"),s=ve(u),a=H(),v&&v.c(),d=H(),_.c(),M=H(),z&&z.c(),X=H(),this.h()},l(S){t=y(S,"LI",{class:!0,"data-dle-index":!0,draggable:!0});var P=$(t);n=y(P,"DIV",{class:!0});var R=$(n);l=y(R,"DIV",{class:!0});var de=$(l);o=y(de,"DIV",{class:!0});var se=$(o);i=y(se,"SPAN",{class:!0,role:!0,tabindex:!0});var we=$(i);s=_e(we,u),we.forEach(g),a=L(se),v&&v.l(se),se.forEach(g),de.forEach(g),d=L(R),_.l(R),R.forEach(g),M=L(P),z&&z.l(P),X=L(P),P.forEach(g),this.h()},h(){f(i,"class","dleName svelte-74fvgb"),f(i,"role","button"),f(i,"tabindex","0"),le(i,"with-drag-handle",e[5]&&e[6]),f(o,"class","dle-name-container"),f(l,"class","dleLeft svelte-74fvgb"),f(n,"class","dleTop svelte-74fvgb"),le(n,"draggable-row",e[5]&&e[6]),f(t,"class","dleContainer svelte-74fvgb"),f(t,"data-dle-index",D=e[43]),f(t,"draggable",m=e[5]&&e[6]),le(t,"dragging",e[5]&&e[6]&&e[7]===e[43]),le(t,"drag-over-above",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]<e[7]),le(t,"drag-over-below",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]>e[7]),le(t,"drag-over",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]===e[7]),this.first=t},m(S,P){W(S,t,P),p(t,n),p(n,l),p(l,o),p(o,i),p(i,s),p(o,a),v&&v.m(o,null),p(n,d),k[h].m(n,null),p(t,M),z&&z.m(t,null),p(t,X),Y=!0,b||(T=[J(i,"click",E),J(i,"auxclick",O),J(t,"dragstart",x),J(t,"dragover",ee),J(t,"dragend",e[15]),J(t,"dragleave",e[16]),J(t,"touchstart",G),J(t,"touchmove",e[18]),J(t,"touchend",e[19]),J(t,"touchcancel",e[19])],b=!0)},p(S,P){e=S,(!Y||P[0]&8)&&u!==(u=e[41].name+"")&&Ye(s,u),(!Y||P[0]&96)&&le(i,"with-drag-handle",e[5]&&e[6]),P[0]&8&&(c=e[10](e[41])),c?v?P[0]&8&&V(v,1):(v=Fe(),v.c(),V(v,1),v.m(o,null)):v&&(oe(),A(v,1,1,()=>{v=null}),ae());let R=h;h=N(e),h===R?k[h].p(e,P):(oe(),A(k[R],1,1,()=>{k[R]=null}),ae(),_=k[h],_?_.p(e,P):(_=k[h]=w[h](e),_.c()),V(_,1),_.m(n,null)),(!Y||P[0]&96)&&le(n,"draggable-row",e[5]&&e[6]),e[9]===`${e[4]}-${e[41].name}`&&!(e[5]&&e[6])?z?(z.p(e,P),P[0]&632&&V(z,1)):(z=Ue(e),z.c(),V(z,1),z.m(t,X)):z&&(oe(),A(z,1,1,()=>{z=null}),ae()),(!Y||P[0]&8&&D!==(D=e[43]))&&f(t,"data-dle-index",D),(!Y||P[0]&96&&m!==(m=e[5]&&e[6]))&&f(t,"draggable",m),(!Y||P[0]&232)&&le(t,"dragging",e[5]&&e[6]&&e[7]===e[43]),(!Y||P[0]&488)&&le(t,"drag-over-above",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]<e[7]),(!Y||P[0]&488)&&le(t,"drag-over-below",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]>e[7]),(!Y||P[0]&488)&&le(t,"drag-over",e[5]&&e[6]&&e[8]===e[43]&&e[7]!==null&&e[43]===e[7])},i(S){Y||(V(v),V(_),V(z),Y=!0)},o(S){A(v),A(_),A(z),Y=!1},d(S){S&&g(t),v&&v.d(),k[h].d(),z&&z.d(),b=!1,Ae(T)}}}function un(r){let e,t,n=[],l=new Map,o,i=Ie(r[3]);const u=s=>s[5]?s[41].name:s[43];for(let s=0;s<i.length;s+=1){let a=He(r,i,s),c=u(a);l.set(c,n[s]=qe(c,a))}return{c(){e=C("div"),t=C("ol");for(let s=0;s<n.length;s+=1)n[s].c();this.h()},l(s){e=y(s,"DIV",{});var a=$(e);t=y(a,"OL",{class:!0});var c=$(t);for(let d=0;d<n.length;d+=1)n[d].l(c);c.forEach(g),a.forEach(g),this.h()},h(){f(t,"class","dleList")},m(s,a){W(s,e,a),p(e,t);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(t,null);o=!0},p(s,a){a[0]&4194303&&(i=Ie(s[3]),oe(),n=ze(n,a,u,1,s,i,l,t,Ne,qe,null,He),ae())},i(s){if(!o){for(let a=0;a<i.length;a+=1)V(n[a]);o=!0}},o(s){for(let a=0;a<n.length;a+=1)A(n[a]);o=!1},d(s){s&&g(e);for(let a=0;a<n.length;a+=1)n[a].d()}}}function cn(r,e,t){let n,l,o;ie(r,Oe,I=>t(34,n=I)),ie(r,Te,I=>t(9,l=I)),ie(r,Et,I=>t(35,o=I));let{pageX:i}=e,{pageY:u}=e,{clientY:s}=e,{dleGroup:a}=e,{section:c="regular"}=e,{reorderable:d=!1}=e,{editMode:h=!1}=e;const _=je();let M=null,X=null,D=!1,m=null,Y={x:0,y:0},b="",T="";function E(I){return o.filter(j=>j.url===I.url).length===1}function O(I){return n.includes(I.id)}function v(I){var ge;const j=(ge=I.detail)==null?void 0:ge.originalEvent,Q=j==null?void 0:j.target;Q&&Q.closest(".dlePopUp")||Xe(Te,l="",l)}function w(I,j){!d||!h||(t(7,M=j),I.dataTransfer.effectAllowed="move",I.dataTransfer.setData("text/html",I.target))}function k(I,j){!d||!h||M===null||(I.preventDefault(),t(8,X=j))}function N(){if(!(!d||!h)){if(M!==null&&X!==null&&M!==X){const I=a[M],j=a[X];if(!I||!j)return;const Q=[...n],ge=Q.indexOf(I.id),ye=Q.indexOf(j.id);if(ge===-1||ye===-1)return;Q.splice(ge,1);const Me=Q.indexOf(j.id),Ve=M<X?Me+1:Me;Q.splice(Ve,0,I.id),Xe(Oe,n=Q,n),yt()&&(localStorage.favorites=JSON.stringify(n))}t(7,M=null),t(8,X=null)}}function z(){t(8,X=null)}function x(){typeof document<"u"&&(b=document.body.style.overflow,T=document.body.style.position,document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%")}function ee(){typeof document<"u"&&(document.body.style.overflow=b,document.body.style.position=T,document.body.style.width="")}function G(){D&&(m&&(m.style.cssText="",m._lastHitTest=null),ee(),D=!1,m=null,t(7,M=null),t(8,X=null),Y={x:0,y:0})}st(()=>{G()});function S(I,j){if(!d||!h)return;I.preventDefault(),I.stopPropagation(),x();const Q=I.touches[0],ge=I.currentTarget,ye=ge.getBoundingClientRect();Y.x=Q.clientX-ye.left,Y.y=Q.clientY-ye.top,Q.clientY,t(7,M=j),D=!0,m=ge;const Me=ye.width,Ve=ye.height;ge.style.cssText=`
      position: fixed !important;
      z-index: 1000 !important;
      pointer-events: none !important;
      transform: scale(1.05) translate3d(${Q.clientX-Y.x}px, ${Q.clientY-Y.y}px, 0) !important;
      opacity: 0.9 !important;
      width: ${Me}px !important;
      height: ${Ve}px !important;
      will-change: transform !important;
      transition: none !important;
      left: 0 !important;
      top: 0 !important;
    `}function P(I){if(!D||M===null||!m)return;I.preventDefault(),I.stopPropagation();const j=I.touches[0];j.clientY;const Q=j.clientX-Y.x,ge=j.clientY-Y.y;if(m.style.transform=`scale(1.05) translate3d(${Q}px, ${ge}px, 0)`,!m._lastHitTest||Date.now()-m._lastHitTest>16){m._lastHitTest=Date.now();const ye=document.elementFromPoint(j.clientX,j.clientY),Me=ye==null?void 0:ye.closest("[data-dle-index]");if(Me){const Ve=parseInt(Me.dataset.dleIndex);Ve!==M&&!isNaN(Ve)&&t(8,X=Ve)}}}function R(I){D&&(I.preventDefault(),I.stopPropagation(),m&&(m.style.cssText="",m._lastHitTest=null),N(),ee(),D=!1,m=null,Y={x:0,y:0})}function de(I,j){we(I,j,"middle-click")}function se(I,j){we(I,j,"ctrl-click")}function we(I,j,Q){c==="sponsors"?_.trackSponsorClick(I,Q,j):_.trackGameClick(I,Q,"list",c,j),Ct(I.url)}const B=(I,j,Q)=>{if(d&&h)return;if(Q.ctrlKey||Q.metaKey){se(I,j);return}const ge=`${c}-${I.name}`;l===ge?Xe(Te,l="",l):Xe(Te,l=ge,l),t(0,i=Q.pageX),t(1,u=Q.pageY),t(2,s=Q.clientY)},he=(I,j,Q)=>de(I,j),Ce=(I,j)=>w(j,I),Ee=(I,j)=>k(j,I),re=(I,j)=>S(j,I);return r.$$set=I=>{"pageX"in I&&t(0,i=I.pageX),"pageY"in I&&t(1,u=I.pageY),"clientY"in I&&t(2,s=I.clientY),"dleGroup"in I&&t(3,a=I.dleGroup),"section"in I&&t(4,c=I.section),"reorderable"in I&&t(5,d=I.reorderable),"editMode"in I&&t(6,h=I.editMode)},[i,u,s,a,c,d,h,M,X,l,E,O,v,w,k,N,z,S,P,R,de,se,B,he,Ce,Ee,re]}class Pe extends ue{constructor(e){super(),ce(this,e,cn,un,fe,{pageX:0,pageY:1,clientY:2,dleGroup:3,section:4,reorderable:5,editMode:6},null,[-1,-1])}}function Ke(r,e,t){const n=r.slice();return n[17]=e[t],n[19]=t,n}function Re(r,e,t){const n=r.slice();return n[20]=e[t],n[22]=t,n}const fn=r=>({card:r&1,colIndex:r&1,cardIndex:r&1}),Ze=r=>({card:r[20],colIndex:r[19],cardIndex:r[22]});function Qe(r,e){let t,n;const l=e[8].default,o=pt(l,e,e[7],Ze);return{key:r,first:null,c(){t=C("div"),o&&o.c(),this.h()},l(i){t=y(i,"DIV",{class:!0});var u=$(t);o&&o.l(u),u.forEach(g),this.h()},h(){f(t,"class","card-wrapper svelte-cky7k3"),this.first=t},m(i,u){W(i,t,u),o&&o.m(t,null),n=!0},p(i,u){e=i,o&&o.p&&(!n||u&129)&&mt(o,l,e,e[7],n?vt(l,e[7],u,fn):_t(e[7]),Ze)},i(i){n||(V(o,i),n=!0)},o(i){A(o,i),n=!1},d(i){i&&g(t),o&&o.d(i)}}}function Je(r,e){let t,n=[],l=new Map,o,i,u=Ie(e[17]);const s=a=>a[20].id||`${a[19]}-${a[22]}`;for(let a=0;a<u.length;a+=1){let c=Re(e,u,a),d=s(c);l.set(d,n[a]=Qe(d,c))}return{key:r,first:null,c(){t=C("div");for(let a=0;a<n.length;a+=1)n[a].c();o=H(),this.h()},l(a){t=y(a,"DIV",{class:!0});var c=$(t);for(let d=0;d<n.length;d+=1)n[d].l(c);o=L(c),c.forEach(g),this.h()},h(){f(t,"class","grid-column svelte-cky7k3"),this.first=t},m(a,c){W(a,t,c);for(let d=0;d<n.length;d+=1)n[d]&&n[d].m(t,null);p(t,o),i=!0},p(a,c){e=a,c&129&&(u=Ie(e[17]),oe(),n=ze(n,c,s,1,e,u,l,t,Ne,Qe,o,Re),ae())},i(a){if(!i){for(let c=0;c<u.length;c+=1)V(n[c]);i=!0}},o(a){for(let c=0;c<n.length;c+=1)A(n[c]);i=!1},d(a){a&&g(t);for(let c=0;c<n.length;c+=1)n[c].d()}}}function dn(r){let e,t=[],n=new Map,l,o=Ie(r[0]);const i=u=>u[19];for(let u=0;u<o.length;u+=1){let s=Ke(r,o,u),a=i(s);n.set(a,t[u]=Je(a,s))}return{c(){e=C("div");for(let u=0;u<t.length;u+=1)t[u].c();this.h()},l(u){e=y(u,"DIV",{class:!0,style:!0});var s=$(e);for(let a=0;a<t.length;a+=1)t[a].l(s);s.forEach(g),this.h()},h(){f(e,"class","grid-container svelte-cky7k3"),me(e,"--num-columns",r[2])},m(u,s){W(u,e,s);for(let a=0;a<t.length;a+=1)t[a]&&t[a].m(e,null);r[9](e),l=!0},p(u,[s]){s&129&&(o=Ie(u[0]),oe(),t=ze(t,s,i,1,u,o,n,e,Ne,Je,null,Ke),ae()),(!l||s&4)&&me(e,"--num-columns",u[2])},i(u){if(!l){for(let s=0;s<o.length;s+=1)V(t[s]);l=!0}},o(u){for(let s=0;s<t.length;s+=1)A(t[s]);l=!1},d(u){u&&g(e);for(let s=0;s<t.length;s+=1)t[s].d();r[9](null)}}}function De(r){return r.type==="dlesOfTheWeek"?300:r.type==="favorites"?r.data.length*40+100:r.type==="sponsors"?200:r.type==="category"?r.data.length*40+80:100}function hn(r){return r.map(e=>{var t;return`${e.id}:${e.type}:${((t=e.data)==null?void 0:t.length)||0}`}).join("|")}function gn(r,e,t){let{$$slots:n={},$$scope:l}=e,{cards:o=[]}=e,{favoriteCardIndex:i=-1}=e,{cardsVersion:u=0}=e,s,a=[],c=2,d=!1,h=null,_=0;function M(){const T=window.innerWidth;return T<=336?1:T>=1200?Math.min(Math.floor(T/220),5):T>=768?Math.min(Math.floor(T/220),4):T>=570?3:2}function X(){if(!s||o.length===0)return;const T=M();T!==c&&t(2,c=T),t(0,a=Array.from({length:c},()=>[]));const E=Array.from({length:c},()=>0),O=i>=0?o[i]:null,v=o.find(N=>N.type==="dlesOfTheWeek"),w=o.find(N=>N.type==="sponsors"),k=o.filter(N=>N.type==="category");if(c===1){const N=[];v&&N.push(v),O&&N.push(O),w&&N.push(w),N.push(...k),N.forEach(z=>{a[0].push(z),E[0]+=De(z)})}else{v&&(a[0].push(v),E[0]+=De(v)),w&&(a[0].push(w),E[0]+=De(w)),O&&(a[1].push(O),E[1]+=De(O));const z=[...k.filter(S=>S.category!=="Miscellaneous")].sort((S,P)=>S.category==="Words"?1:P.category==="Words"?-1:S.category.localeCompare(P.category)),x=k.find(S=>S.category==="Miscellaneous");x&&(a[0].push(x),E[0]+=De(x));const ee=z.find(S=>S.category==="Words"),G=z.filter(S=>S.category!=="Words");if(c===2){const S=G.filter(R=>R.category<"Trivia"),P=G.filter(R=>R.category>="Trivia");S.forEach(R=>{a[0].push(R),E[0]+=De(R)}),P.forEach(R=>{a[1].push(R),E[1]+=De(R)})}else{const S=c-(ee?1:0),P=Math.ceil(G.length/S);G.forEach((R,de)=>{const se=Math.min(Math.floor(de/P),S-1);a[se].push(R),E[se]+=De(R)})}ee&&(a[c-1].push(ee),E[c-1]+=De(ee))}t(0,a=[...a])}function D(){if(d)return;const T=window.innerWidth;Math.abs(T-_)<20||(_=T,d=!0,requestAnimationFrame(()=>{X(),d=!1}))}gt(()=>(_=window.innerWidth,X(),window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)));let m="";function Y(){clearTimeout(h),h=setTimeout(()=>{X()},100)}st(()=>{clearTimeout(h)});function b(T){pe[T?"unshift":"push"](()=>{s=T,t(1,s)})}return r.$$set=T=>{"cards"in T&&t(3,o=T.cards),"favoriteCardIndex"in T&&t(4,i=T.favoriteCardIndex),"cardsVersion"in T&&t(5,u=T.cardsVersion),"$$scope"in T&&t(7,l=T.$$scope)},r.$$.update=()=>{if(r.$$.dirty&104&&u>0){const T=hn(o);T!==m&&(t(6,m=T),Y())}r.$$.dirty&9&&o.length>0&&a.length>0&&(a.forEach(T=>{T.forEach(E=>{const O=o.find(v=>v.id===E.id);O&&O.data!==E.data&&(E.data=O.data)})}),t(0,a=[...a]))},[a,s,c,o,i,u,m,l,n,b]}class pn extends ue{constructor(e){super(),ce(this,e,gn,dn,fe,{cards:3,favoriteCardIndex:4,cardsVersion:5})}}function xe(r){let e,t,n,l=`<div class="flex-shrink-0"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.0" viewBox="-10 -8 80 80" width="28"><path fill="currentColor" d="M62.799 23.737a3.941 3.941 0 0 0-3.139-2.642l-16.969-2.593-7.622-16.237a3.938 3.938 0 0 0-7.13 0l-7.623 16.238-16.969 2.593a3.937 3.937 0 0 0-2.222 6.642l12.392 12.707-2.935 17.977a3.94 3.94 0 0 0 5.797 4.082l15.126-8.365 15.126 8.365a3.94 3.94 0 0 0 5.796-4.082l-2.935-17.977 12.393-12.707a3.942 3.942 0 0 0 .914-4.001z"></path></svg></div>
        Sponsors`,o,i,u,s,a,c,d;function h(m){r[6](m)}function _(m){r[7](m)}function M(m){r[8](m)}let X={dleGroup:r[4],section:"sponsors"};r[1]!==void 0&&(X.pageX=r[1]),r[2]!==void 0&&(X.pageY=r[2]),r[3]!==void 0&&(X.clientY=r[3]),i=new Pe({props:X}),pe.push(()=>be(i,"pageX",h)),pe.push(()=>be(i,"pageY",_)),pe.push(()=>be(i,"clientY",M));let D=r[0].length==0&&et(r);return{c(){e=C("div"),t=C("div"),n=C("div"),n.innerHTML=l,o=H(),K(i.$$.fragment),c=H(),D&&D.c(),this.h()},l(m){e=y(m,"DIV",{class:!0});var Y=$(e);t=y(Y,"DIV",{class:!0,style:!0});var b=$(t);n=y(b,"DIV",{class:!0,"data-svelte-h":!0}),Se(n)!=="svelte-1gf0f4u"&&(n.innerHTML=l),b.forEach(g),o=L(Y),Z(i.$$.fragment,Y),c=L(Y),D&&D.l(Y),Y.forEach(g),this.h()},h(){f(n,"class","label svelte-1iyn9pk"),f(t,"class","labelContainer svelte-1iyn9pk"),me(t,"background-color",r[5].Sponsors),f(e,"class","card svelte-1iyn9pk")},m(m,Y){W(m,e,Y),p(e,t),p(t,n),p(e,o),q(i,e,null),p(e,c),D&&D.m(e,null),d=!0},p(m,Y){(!d||Y&32)&&me(t,"background-color",m[5].Sponsors);const b={};Y&16&&(b.dleGroup=m[4]),!u&&Y&2&&(u=!0,b.pageX=m[1],ke(()=>u=!1)),!s&&Y&4&&(s=!0,b.pageY=m[2],ke(()=>s=!1)),!a&&Y&8&&(a=!0,b.clientY=m[3],ke(()=>a=!1)),i.$set(b),m[0].length==0?D||(D=et(m),D.c(),D.m(e,null)):D&&(D.d(1),D=null)},i(m){d||(V(i.$$.fragment,m),d=!0)},o(m){A(i.$$.fragment,m),d=!1},d(m){m&&g(e),U(i),D&&D.d()}}}function et(r){let e,t,n="Want to sponsor? Message me!",l,o;return{c(){e=C("div"),t=C("a"),t.textContent=n,this.h()},l(i){e=y(i,"DIV",{class:!0});var u=$(e);t=y(u,"A",{href:!0,class:!0,target:!0,"data-svelte-h":!0}),Se(t)!=="svelte-6403k2"&&(t.textContent=n),u.forEach(g),this.h()},h(){f(t,"href","https://tally.so/r/wgEX5K"),f(t,"class","partner-inquiry-link svelte-1iyn9pk"),f(t,"target","_blank"),f(e,"class","partner-footer svelte-1iyn9pk")},m(i,u){W(i,e,u),p(e,t),l||(o=J(t,"click",r[9]),l=!0)},d(i){i&&g(e),l=!1,o()}}}function mn(r){let e,t,n=(r[0].length==0||r[4].length>0)&&xe(r);return{c(){n&&n.c(),e=$e()},l(l){n&&n.l(l),e=$e()},m(l,o){n&&n.m(l,o),W(l,e,o),t=!0},p(l,[o]){l[0].length==0||l[4].length>0?n?(n.p(l,o),o&17&&V(n,1)):(n=xe(l),n.c(),V(n,1),n.m(e.parentNode,e)):n&&(oe(),A(n,1,1,()=>{n=null}),ae())},i(l){t||(V(n),t=!0)},o(l){A(n),t=!1},d(l){l&&g(e),n&&n.d(l)}}}function _n(r,e,t){let n,l,o;ie(r,ut,M=>t(0,l=M)),ie(r,ct,M=>t(5,o=M));let i=0,u=0,s=0;const a=[{id:468,name:"FlashPopTiles",url:"https://flashpoptiles.com",description:"Traverse the grid while changing either shape or color, never both!",category:"Shapes/Patterns"},{id:91,name:"Decodex",url:"https://playdecodex.com",description:"A daily cryptography game. Decode a new quote every day!",category:"Words"}];function c(M){i=M,t(1,i)}function d(M){u=M,t(2,u)}function h(M){s=M,t(3,s)}const _=()=>Dt("sponsor-inquiry-click",{});return r.$$.update=()=>{r.$$.dirty&1&&t(4,n=it(a,l))},[l,i,u,s,n,o,c,d,h,_]}class vn extends ue{constructor(e){super(),ce(this,e,_n,mn,fe,{})}}function bn(r){let e,t,n,l,o,i,u=r[35].category+"",s,a,c,d,h,_,M;var X=Le[r[35].category];function D(E,O){return{}}X&&(o=Ge(X,D()));function m(E){r[26](E)}function Y(E){r[27](E)}function b(E){r[28](E)}let T={dleGroup:r[35].data};return r[0]!==void 0&&(T.pageX=r[0]),r[1]!==void 0&&(T.pageY=r[1]),r[2]!==void 0&&(T.clientY=r[2]),c=new Pe({props:T}),pe.push(()=>be(c,"pageX",m)),pe.push(()=>be(c,"pageY",Y)),pe.push(()=>be(c,"clientY",b)),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),o&&K(o.$$.fragment),i=H(),s=ve(u),a=H(),K(c.$$.fragment),this.h()},l(E){e=y(E,"DIV",{class:!0});var O=$(e);t=y(O,"DIV",{class:!0,style:!0});var v=$(t);n=y(v,"DIV",{class:!0});var w=$(n);l=y(w,"DIV",{class:!0});var k=$(l);o&&Z(o.$$.fragment,k),k.forEach(g),i=L(w),s=_e(w,u),w.forEach(g),v.forEach(g),a=L(O),Z(c.$$.fragment,O),O.forEach(g),this.h()},h(){f(l,"class","flex-shrink-0"),f(n,"class","label svelte-2244nf"),f(t,"class","labelContainer svelte-2244nf"),me(t,"background-color",r[7][r[35].category]),f(e,"class","card svelte-2244nf")},m(E,O){W(E,e,O),p(e,t),p(t,n),p(n,l),o&&q(o,l,null),p(n,i),p(n,s),p(e,a),q(c,e,null),M=!0},p(E,O){if(O[1]&16&&X!==(X=Le[E[35].category])){if(o){oe();const w=o;A(w.$$.fragment,1,0,()=>{U(w,1)}),ae()}X?(o=Ge(X,D()),K(o.$$.fragment),V(o.$$.fragment,1),q(o,l,null)):o=null}(!M||O[1]&16)&&u!==(u=E[35].category+"")&&Ye(s,u),(!M||O[0]&128|O[1]&16)&&me(t,"background-color",E[7][E[35].category]);const v={};O[1]&16&&(v.dleGroup=E[35].data),!d&&O[0]&1&&(d=!0,v.pageX=E[0],ke(()=>d=!1)),!h&&O[0]&2&&(h=!0,v.pageY=E[1],ke(()=>h=!1)),!_&&O[0]&4&&(_=!0,v.clientY=E[2],ke(()=>_=!1)),c.$set(v)},i(E){M||(o&&V(o.$$.fragment,E),V(c.$$.fragment,E),M=!0)},o(E){o&&A(o.$$.fragment,E),A(c.$$.fragment,E),M=!1},d(E){E&&g(e),o&&U(o),U(c)}}}function kn(r){let e,t;return e=new vn({}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},p:F,i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function wn(r){let e,t,n,l,o,i,u,s,a,c,d,h,_,M,X,D;o=new Zt({});function m(k,N){return k[6]?En:Cn}let Y=m(r),b=Y(r);const T=[Yn,Dn],E=[];function O(k,N){return k[6]?0:1}h=O(r),_=E[h]=T[h](r);let v=r[35].data.length>0&&nt(r),w=r[35].data.length>0&&lt(r);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),K(o.$$.fragment),i=ve(`
            Favorites`),u=H(),s=C("div"),a=C("div"),b.c(),c=H(),d=C("div"),_.c(),M=H(),v&&v.c(),X=H(),w&&w.c(),this.h()},l(k){e=y(k,"DIV",{class:!0});var N=$(e);t=y(N,"DIV",{class:!0,style:!0});var z=$(t);n=y(z,"DIV",{class:!0});var x=$(n);l=y(x,"DIV",{class:!0});var ee=$(l);Z(o.$$.fragment,ee),ee.forEach(g),i=_e(x,`
            Favorites`),x.forEach(g),z.forEach(g),u=L(N),s=y(N,"DIV",{class:!0});var G=$(s);a=y(G,"DIV",{class:!0});var S=$(a);b.l(S),S.forEach(g),c=L(G),d=y(G,"DIV",{class:!0});var P=$(d);_.l(P),M=L(P),v&&v.l(P),P.forEach(g),G.forEach(g),X=L(N),w&&w.l(N),N.forEach(g),this.h()},h(){f(l,"class","flex-shrink-0"),f(n,"class","label svelte-2244nf"),f(t,"class","labelContainer svelte-2244nf"),me(t,"background-color","hsl(320, 90%, 50%, 45%)"),f(a,"class","favorites-add-text svelte-2244nf"),f(d,"class","favorites-buttons svelte-2244nf"),f(s,"class","favorites-add-row svelte-2244nf"),le(s,"edit-mode",r[6]),f(e,"class","card svelte-2244nf")},m(k,N){W(k,e,N),p(e,t),p(t,n),p(n,l),q(o,l,null),p(n,i),p(e,u),p(e,s),p(s,a),b.m(a,null),p(s,c),p(s,d),E[h].m(d,null),p(d,M),v&&v.m(d,null),p(e,X),w&&w.m(e,null),D=!0},p(k,N){Y===(Y=m(k))&&b?b.p(k,N):(b.d(1),b=Y(k),b&&(b.c(),b.m(a,null)));let z=h;h=O(k),h===z?E[h].p(k,N):(oe(),A(E[z],1,1,()=>{E[z]=null}),ae(),_=E[h],_?_.p(k,N):(_=E[h]=T[h](k),_.c()),V(_,1),_.m(d,M)),k[35].data.length>0?v?(v.p(k,N),N[1]&16&&V(v,1)):(v=nt(k),v.c(),V(v,1),v.m(d,null)):v&&(oe(),A(v,1,1,()=>{v=null}),ae()),(!D||N[0]&64)&&le(s,"edit-mode",k[6]),k[35].data.length>0?w?(w.p(k,N),N[1]&16&&V(w,1)):(w=lt(k),w.c(),V(w,1),w.m(e,null)):w&&(oe(),A(w,1,1,()=>{w=null}),ae())},i(k){D||(V(o.$$.fragment,k),V(_),V(v),V(w),D=!0)},o(k){A(o.$$.fragment,k),A(_),A(v),A(w),D=!1},d(k){k&&g(e),U(o),b.d(),E[h].d(),v&&v.d(),w&&w.d()}}}function yn(r){let e,t,n,l,o,i,u,s,a,c,d,h;o=new Kt({});function _(m){r[20](m)}function M(m){r[21](m)}function X(m){r[22](m)}let D={dleGroup:r[35].data,section:"dles-of-the-week"};return r[0]!==void 0&&(D.pageX=r[0]),r[1]!==void 0&&(D.pageY=r[1]),r[2]!==void 0&&(D.clientY=r[2]),s=new Pe({props:D}),pe.push(()=>be(s,"pageX",_)),pe.push(()=>be(s,"pageY",M)),pe.push(()=>be(s,"clientY",X)),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),K(o.$$.fragment),i=ve(`
            DLES of the Week`),u=H(),K(s.$$.fragment),this.h()},l(m){e=y(m,"DIV",{class:!0});var Y=$(e);t=y(Y,"DIV",{class:!0});var b=$(t);n=y(b,"DIV",{class:!0});var T=$(n);l=y(T,"DIV",{class:!0});var E=$(l);Z(o.$$.fragment,E),E.forEach(g),i=_e(T,`
            DLES of the Week`),T.forEach(g),b.forEach(g),u=L(Y),Z(s.$$.fragment,Y),Y.forEach(g),this.h()},h(){f(l,"class","flex-shrink-0"),f(n,"class","label svelte-2244nf"),f(t,"class","labelContainer rainbow-gradient svelte-2244nf"),f(e,"class","card svelte-2244nf")},m(m,Y){W(m,e,Y),p(e,t),p(t,n),p(n,l),q(o,l,null),p(n,i),p(e,u),q(s,e,null),h=!0},p(m,Y){const b={};Y[1]&16&&(b.dleGroup=m[35].data),!a&&Y[0]&1&&(a=!0,b.pageX=m[0],ke(()=>a=!1)),!c&&Y[0]&2&&(c=!0,b.pageY=m[1],ke(()=>c=!1)),!d&&Y[0]&4&&(d=!0,b.clientY=m[2],ke(()=>d=!1)),s.$set(b)},i(m){h||(V(o.$$.fragment,m),V(s.$$.fragment,m),h=!0)},o(m){A(o.$$.fragment,m),A(s.$$.fragment,m),h=!1},d(m){m&&g(e),U(o),U(s)}}}function Cn(r){let e=r[35].data.length===0?"No favorites":`${r[35].data.length} favorite${r[35].data.length!==1?"s":""}`,t;return{c(){t=ve(e)},l(n){t=_e(n,e)},m(n,l){W(n,t,l)},p(n,l){l[1]&16&&e!==(e=n[35].data.length===0?"No favorites":`${n[35].data.length} favorite${n[35].data.length!==1?"s":""}`)&&Ye(t,e)},d(n){n&&g(t)}}}function En(r){let e,t="Drag to reorder!";return{c(){e=C("span"),e.textContent=t,this.h()},l(n){e=y(n,"SPAN",{class:!0,"data-svelte-h":!0}),Se(e)!=="svelte-7sxvjo"&&(e.textContent=t),this.h()},h(){f(e,"class","edit-mode-text svelte-2244nf")},m(n,l){W(n,e,l)},p:F,d(n){n&&g(e)}}}function Dn(r){let e,t,n,l,o,i,u=r[35].data.length>0&&tt(r);return n=new zt({}),{c(){u&&u.c(),e=H(),t=C("button"),K(n.$$.fragment),this.h()},l(s){u&&u.l(s),e=L(s),t=y(s,"BUTTON",{class:!0,title:!0});var a=$(t);Z(n.$$.fragment,a),a.forEach(g),this.h()},h(){f(t,"class","favorites-add-button svelte-2244nf"),f(t,"title","Add dle to favorites")},m(s,a){u&&u.m(s,a),W(s,e,a),W(s,t,a),q(n,t,null),l=!0,o||(i=J(t,"click",r[12]),o=!0)},p(s,a){s[35].data.length>0?u?(u.p(s,a),a[1]&16&&V(u,1)):(u=tt(s),u.c(),V(u,1),u.m(e.parentNode,e)):u&&(oe(),A(u,1,1,()=>{u=null}),ae())},i(s){l||(V(u),V(n.$$.fragment,s),l=!0)},o(s){A(u),A(n.$$.fragment,s),l=!1},d(s){s&&(g(e),g(t)),u&&u.d(s),U(n),o=!1,i()}}}function Yn(r){let e,t,n,l,o;return t=new Jt({}),{c(){e=C("button"),K(t.$$.fragment),this.h()},l(i){e=y(i,"BUTTON",{class:!0,title:!0});var u=$(e);Z(t.$$.fragment,u),u.forEach(g),this.h()},h(){f(e,"class","favorites-sort-button svelte-2244nf"),f(e,"title","Sort favorites alphabetically")},m(i,u){W(i,e,u),q(t,e,null),n=!0,l||(o=J(e,"click",r[9]),l=!0)},p:F,i(i){n||(V(t.$$.fragment,i),n=!0)},o(i){A(t.$$.fragment,i),n=!1},d(i){i&&g(e),U(t),l=!1,o()}}}function tt(r){let e,t,n,l,o,i;return n=new Nt({}),{c(){e=C("button"),t=C("div"),K(n.$$.fragment),this.h()},l(u){e=y(u,"BUTTON",{class:!0,title:!0});var s=$(e);t=y(s,"DIV",{class:!0});var a=$(t);Z(n.$$.fragment,a),a.forEach(g),s.forEach(g),this.h()},h(){f(t,"class","icon-container svelte-2244nf"),f(e,"class","favorites-random-button svelte-2244nf"),f(e,"title","Play random favorite")},m(u,s){W(u,e,s),p(e,t),q(n,t,null),l=!0,o||(i=J(e,"click",r[8]),o=!0)},p:F,i(u){l||(V(n.$$.fragment,u),l=!0)},o(u){A(n.$$.fragment,u),l=!1},d(u){u&&g(e),U(n),o=!1,i()}}}function nt(r){let e,t,n,l,o,i,u;const s=[$n,Tn],a=[];function c(d,h){return d[6]?0:1}return t=c(r),n=a[t]=s[t](r),{c(){e=C("button"),n.c(),this.h()},l(d){e=y(d,"BUTTON",{class:!0,title:!0});var h=$(e);n.l(h),h.forEach(g),this.h()},h(){f(e,"class","favorites-edit-button svelte-2244nf"),f(e,"title",l=r[6]?"Click to finish rearranging":"Rearrange favorites"),le(e,"active",r[6])},m(d,h){W(d,e,h),a[t].m(e,null),o=!0,i||(u=J(e,"click",r[14]),i=!0)},p(d,h){let _=t;t=c(d),t!==_&&(oe(),A(a[_],1,1,()=>{a[_]=null}),ae(),n=a[t],n||(n=a[t]=s[t](d),n.c()),V(n,1),n.m(e,null)),(!o||h[0]&64&&l!==(l=d[6]?"Click to finish rearranging":"Rearrange favorites"))&&f(e,"title",l),(!o||h[0]&64)&&le(e,"active",d[6])},i(d){o||(V(n),o=!0)},o(d){A(n),o=!1},d(d){d&&g(e),a[t].d(),i=!1,u()}}}function Tn(r){let e,t;return e=new en({}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function $n(r){let e,t="Done";return{c(){e=C("span"),e.textContent=t,this.h()},l(n){e=y(n,"SPAN",{class:!0,"data-svelte-h":!0}),Se(e)!=="svelte-u5hj9w"&&(e.textContent=t),this.h()},h(){f(e,"class","edit-button-text p-1 svelte-2244nf")},m(n,l){W(n,e,l)},i:F,o:F,d(n){n&&g(e)}}}function lt(r){let e,t,n,l,o;function i(c){r[23](c)}function u(c){r[24](c)}function s(c){r[25](c)}let a={dleGroup:r[35].data,reorderable:!0,editMode:r[6],section:"favorites"};return r[0]!==void 0&&(a.pageX=r[0]),r[1]!==void 0&&(a.pageY=r[1]),r[2]!==void 0&&(a.clientY=r[2]),e=new Pe({props:a}),pe.push(()=>be(e,"pageX",i)),pe.push(()=>be(e,"pageY",u)),pe.push(()=>be(e,"clientY",s)),{c(){K(e.$$.fragment)},l(c){Z(e.$$.fragment,c)},m(c,d){q(e,c,d),o=!0},p(c,d){const h={};d[1]&16&&(h.dleGroup=c[35].data),d[0]&64&&(h.editMode=c[6]),!t&&d[0]&1&&(t=!0,h.pageX=c[0],ke(()=>t=!1)),!n&&d[0]&2&&(n=!0,h.pageY=c[1],ke(()=>n=!1)),!l&&d[0]&4&&(l=!0,h.clientY=c[2],ke(()=>l=!1)),e.$set(h)},i(c){o||(V(e.$$.fragment,c),o=!0)},o(c){A(e.$$.fragment,c),o=!1},d(c){U(e,c)}}}function In(r){let e,t,n,l;const o=[yn,wn,kn,bn],i=[];function u(s,a){return s[35].type==="dlesOfTheWeek"?0:s[35].type==="favorites"?1:s[35].type==="sponsors"?2:s[35].type==="category"?3:-1}return~(e=u(r))&&(t=i[e]=o[e](r)),{c(){t&&t.c(),n=$e()},l(s){t&&t.l(s),n=$e()},m(s,a){~e&&i[e].m(s,a),W(s,n,a),l=!0},p(s,a){let c=e;e=u(s),e===c?~e&&i[e].p(s,a):(t&&(oe(),A(i[c],1,1,()=>{i[c]=null}),ae()),~e?(t=i[e],t?t.p(s,a):(t=i[e]=o[e](s),t.c()),V(t,1),t.m(n.parentNode,n)):t=null)},i(s){l||(V(t),l=!0)},o(s){A(t),l=!1},d(s){s&&g(n),~e&&i[e].d(s)}}}function rt(r){let e,t;return e=new Ot({props:{onClose:r[13],pageX:r[0],pageY:r[1],clientY:r[2]}}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},p(n,l){const o={};l[0]&1&&(o.pageX=n[0]),l[0]&2&&(o.pageY=n[1]),l[0]&4&&(o.clientY=n[2]),e.$set(o)},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function Mn(r){let e,t,n,l,o,i,u,s,a,c;t=new ft({props:{includeSearch:!0}}),o=new pn({props:{cards:r[3],favoriteCardIndex:r[4],cardsVersion:r[3].length,$$slots:{default:[In,({card:h})=>({35:h}),({card:h})=>[0,h?16:0]]},$$scope:{ctx:r}}});let d=r[5]&&rt(r);return{c(){e=H(),K(t.$$.fragment),n=H(),l=C("div"),K(o.$$.fragment),i=H(),d&&d.c(),u=$e(),this.h()},l(h){e=L(h),Z(t.$$.fragment,h),n=L(h),l=y(h,"DIV",{class:!0});var _=$(l);Z(o.$$.fragment,_),_.forEach(g),i=L(h),d&&d.l(h),u=$e(),this.h()},h(){f(l,"class","w-full mx-auto")},m(h,_){W(h,e,_),q(t,h,_),W(h,n,_),W(h,l,_),q(o,l,null),W(h,i,_),d&&d.m(h,_),W(h,u,_),s=!0,a||(c=[J(window,"resize",r[10]),J(document,"keyup",r[19])],a=!0)},p(h,_){const M={};_[0]&8&&(M.cards=h[3]),_[0]&16&&(M.favoriteCardIndex=h[4]),_[0]&8&&(M.cardsVersion=h[3].length),_[0]&199|_[1]&48&&(M.$$scope={dirty:_,ctx:h}),o.$set(M),h[5]?d?(d.p(h,_),_[0]&32&&V(d,1)):(d=rt(h),d.c(),V(d,1),d.m(u.parentNode,u)):d&&(oe(),A(d,1,1,()=>{d=null}),ae())},i(h){s||(V(t.$$.fragment,h),V(o.$$.fragment,h),V(d),s=!0)},o(h){A(t.$$.fragment,h),A(o.$$.fragment,h),A(d),s=!1},d(h){h&&(g(e),g(n),g(l),g(i),g(u)),U(t,h),U(o),d&&d.d(h),a=!1,Ae(c)}}}function Vn(r,e,t){let n,l,o,i,u,s,a,c;ie(r,Tt,B=>t(15,n=B)),ie(r,$t,B=>t(16,l=B)),ie(r,It,B=>t(17,o=B)),ie(r,Mt,B=>t(18,i=B)),ie(r,ut,B=>t(29,u=B)),ie(r,Te,B=>t(30,s=B)),ie(r,Oe,B=>t(31,a=B)),ie(r,ct,B=>t(7,c=B));let d=0,h=0,_=0,M=[],X=-1,D=!1,m=!1;function Y(){const B={click_type:"random-button-favorites",section:"favorites",available_options:o.length};Yt(o,B)}function b(){const B=o.map(re=>re.name.toLowerCase()),he=[...B].sort(),Ce=B.every((re,I)=>re===he[I]),Ee=o.sort((re,I)=>{const j=re.name.toLowerCase().localeCompare(I.name.toLowerCase());return Ce?-j:j});Xe(Oe,a=Ee.map(re=>re.id),a),typeof localStorage<"u"&&(localStorage.favorites=JSON.stringify(a))}function T(){Xe(Te,s="",s)}function E(B){B.key=="Escape"&&(T(),D&&t(5,D=!1))}function O(B){t(0,d=B.pageX),t(1,h=B.pageY),t(2,_=B.clientY),t(5,D=!0)}function v(){t(5,D=!1)}function w(){t(6,m=!m)}function k(){return!u||u.trim()===""?!0:it([{id:"partner-nibble",name:"nibble.games",url:"https://nibble.games"},{id:"partner-quintalist",name:"Quintalist",url:"https://quintalist.com?dles"},{id:"partner-flashpoptiles",name:"FlashPopTiles",url:"https://flashpoptiles.com?utm_source=aukspot&utm_medium=banner&utm_campaign=sponsorship"}],u).length>0}function N(){const B=[];let he=0;i.length!==0&&(B.push({id:"dlesOfTheWeek",type:"dlesOfTheWeek",data:i}),he++),t(4,X=he),B.push({id:"favorites",type:"favorites",data:o}),he++;for(const re of n){if(re==="Miscellaneous")continue;const I=l[re]||[];I.length!==0&&(B.push({id:re,type:"category",data:I,category:re}),he++)}(!u||u.trim()===""||k())&&(B.push({id:"sponsors",type:"sponsors",data:null}),he++);const Ee=l.Miscellaneous||[];Ee.length!==0&&(B.push({id:"Miscellaneous",type:"category",data:Ee,category:"Miscellaneous"}),he++),t(3,M=B)}const z=B=>E(B);function x(B){d=B,t(0,d)}function ee(B){h=B,t(1,h)}function G(B){_=B,t(2,_)}function S(B){d=B,t(0,d)}function P(B){h=B,t(1,h)}function R(B){_=B,t(2,_)}function de(B){d=B,t(0,d)}function se(B){h=B,t(1,h)}function we(B){_=B,t(2,_)}return r.$$.update=()=>{r.$$.dirty[0]&491520&&N()},[d,h,_,M,X,D,m,c,Y,b,T,E,O,v,w,n,l,o,i,z,x,ee,G,S,P,R,de,se,we]}class Xn extends ue{constructor(e){super(),ce(this,e,Vn,Mn,fe,{},null,[-1,-1])}}function Sn(r){let e,t,n,l,o,i,u,s,a,c,d=r[1].name+"",h,_,M,X,D=r[1].description+"",m,Y,b,T,E,O,v,w,k="Play",N,z,x,ee;return E=new We({props:{dle:r[1]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),o=C("span"),i=ve(r[0]),u=ve("."),s=H(),a=C("span"),c=C("a"),h=ve(d),M=H(),X=C("div"),m=ve(D),Y=H(),b=C("div"),T=C("span"),K(E.$$.fragment),O=H(),v=C("a"),w=C("button"),w.textContent=k,this.h()},l(G){e=y(G,"DIV",{class:!0});var S=$(e);t=y(S,"DIV",{class:!0});var P=$(t);n=y(P,"DIV",{class:!0});var R=$(n);l=y(R,"DIV",{class:!0});var de=$(l);o=y(de,"SPAN",{class:!0});var se=$(o);i=_e(se,r[0]),u=_e(se,"."),se.forEach(g),s=L(de),a=y(de,"SPAN",{class:!0});var we=$(a);c=y(we,"A",{href:!0,class:!0});var B=$(c);h=_e(B,d),B.forEach(g),we.forEach(g),de.forEach(g),R.forEach(g),M=L(P),X=y(P,"DIV",{class:!0});var he=$(X);m=_e(he,D),he.forEach(g),P.forEach(g),Y=L(S),b=y(S,"DIV",{class:!0});var Ce=$(b);T=y(Ce,"SPAN",{class:!0});var Ee=$(T);Z(E.$$.fragment,Ee),Ee.forEach(g),O=L(Ce),v=y(Ce,"A",{class:!0,href:!0,target:!0,rel:!0});var re=$(v);w=y(re,"BUTTON",{class:!0,"data-svelte-h":!0}),Se(w)!=="svelte-1n1krum"&&(w.textContent=k),re.forEach(g),Ce.forEach(g),S.forEach(g),this.h()},h(){f(o,"class","unselectable"),f(c,"href",_=r[1].url),f(c,"class","svelte-1j9d4zc"),f(a,"class","cardName svelte-1j9d4zc"),f(l,"class","cardLabel svelte-1j9d4zc"),f(n,"class","cardTop svelte-1j9d4zc"),f(X,"class","cardDescription svelte-1j9d4zc"),f(t,"class","cardRows svelte-1j9d4zc"),f(T,"class","flex items-baseline"),f(w,"class","btn unselectable svelte-1j9d4zc"),f(v,"class","flex justify-center"),f(v,"href",N=r[1].url),f(v,"target","_blank"),f(v,"rel","noopener"),f(b,"class","playButton svelte-1j9d4zc"),f(e,"class","card svelte-1j9d4zc")},m(G,S){W(G,e,S),p(e,t),p(t,n),p(n,l),p(l,o),p(o,i),p(o,u),p(l,s),p(l,a),p(a,c),p(c,h),p(t,M),p(t,X),p(X,m),p(e,Y),p(e,b),p(b,T),q(E,T,null),p(b,O),p(b,v),p(v,w),z=!0,x||(ee=[J(c,"click",r[3]),J(v,"click",r[4])],x=!0)},p(G,[S]){(!z||S&1)&&Ye(i,G[0]),(!z||S&2)&&d!==(d=G[1].name+"")&&Ye(h,d),(!z||S&2&&_!==(_=G[1].url))&&f(c,"href",_),(!z||S&2)&&D!==(D=G[1].description+"")&&Ye(m,D);const P={};S&2&&(P.dle=G[1]),E.$set(P),(!z||S&2&&N!==(N=G[1].url))&&f(v,"href",N)},i(G){z||(V(E.$$.fragment,G),z=!0)},o(G){A(E.$$.fragment,G),z=!1},d(G){G&&g(e),U(E),x=!1,Ae(ee)}}}function Bn(r,e,t){let{i:n}=e,{dle:l}=e;const{trackGameClick:o}=je();function i(a,c){o(a,c,"card","regular",n-1)}const u=()=>i(l,"title-link"),s=()=>i(l,"play-button");return r.$$set=a=>{"i"in a&&t(0,n=a.i),"dle"in a&&t(1,l=a.dle)},[n,l,i,u,s]}class An extends ue{constructor(e){super(),ce(this,e,Bn,Sn,fe,{i:0,dle:1})}}function ot(r,e,t){const n=r.slice();return n[1]=e[t],n[3]=t,n}function at(r,e){let t,n,l,o;return n=new An({props:{dle:e[1],i:e[3]+1}}),{key:r,first:null,c(){t=C("li"),K(n.$$.fragment),l=H(),this.h()},l(i){t=y(i,"LI",{class:!0});var u=$(t);Z(n.$$.fragment,u),l=L(u),u.forEach(g),this.h()},h(){f(t,"class","svelte-t6xppm"),this.first=t},m(i,u){W(i,t,u),q(n,t,null),p(t,l),o=!0},p(i,u){e=i;const s={};u&1&&(s.dle=e[1]),u&1&&(s.i=e[3]+1),n.$set(s)},i(i){o||(V(n.$$.fragment,i),o=!0)},o(i){A(n.$$.fragment,i),o=!1},d(i){i&&g(t),U(n)}}}function On(r){let e,t,n,l=[],o=new Map,i;e=new ft({props:{includeSearch:!0}});let u=Ie(r[0]);const s=a=>a[3];for(let a=0;a<u.length;a+=1){let c=ot(r,u,a),d=s(c);o.set(d,l[a]=at(d,c))}return{c(){K(e.$$.fragment),t=H(),n=C("ol");for(let a=0;a<l.length;a+=1)l[a].c();this.h()},l(a){Z(e.$$.fragment,a),t=L(a),n=y(a,"OL",{class:!0});var c=$(n);for(let d=0;d<l.length;d+=1)l[d].l(c);c.forEach(g),this.h()},h(){f(n,"class","mt-4 px-1 gap-2 grid grid-cols-1 lg:grid-cols-2")},m(a,c){q(e,a,c),W(a,t,c),W(a,n,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(n,null);i=!0},p(a,[c]){c&1&&(u=Ie(a[0]),oe(),l=ze(l,c,s,1,a,u,o,n,Ne,at,null,ot),ae())},i(a){if(!i){V(e.$$.fragment,a);for(let c=0;c<u.length;c+=1)V(l[c]);i=!0}},o(a){A(e.$$.fragment,a);for(let c=0;c<l.length;c+=1)A(l[c]);i=!1},d(a){a&&(g(t),g(n)),U(e,a);for(let c=0;c<l.length;c+=1)l[c].d()}}}function zn(r,e,t){let n;return ie(r,Vt,l=>t(0,n=l)),[n]}class Nn extends ue{constructor(e){super(),ce(this,e,zn,On,fe,{})}}function Pn(r){let e,t;return e=new Xn({}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function Wn(r){let e,t;return e=new Nn({}),{c(){K(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,l){q(e,n,l),t=!0},i(n){t||(V(e.$$.fragment,n),t=!0)},o(n){A(e.$$.fragment,n),t=!1},d(n){U(e,n)}}}function jn(r){let e,t,n,l,o,i;const u=[Wn,Pn],s=[];function a(c,d){return c[0].view=="Detailed View"?0:c[0].view=="Category View"?1:-1}return~(e=a(r))&&(t=s[e]=u[e](r)),o=new Ht({}),{c(){t&&t.c(),n=H(),l=H(),K(o.$$.fragment)},l(c){t&&t.l(c),n=L(c),l=L(c),Z(o.$$.fragment,c)},m(c,d){~e&&s[e].m(c,d),W(c,n,d),W(c,l,d),q(o,c,d),i=!0},p(c,[d]){let h=e;e=a(c),e!==h&&(t&&(oe(),A(s[h],1,1,()=>{s[h]=null}),ae()),~e?(t=s[e],t||(t=s[e]=u[e](c),t.c()),V(t,1),t.m(n.parentNode,n)):t=null)},i(c){i||(V(t),V(o.$$.fragment,c),i=!0)},o(c){A(t),A(o.$$.fragment,c),i=!1},d(c){c&&(g(n),g(l)),~e&&s[e].d(c),U(o,c)}}}function Gn(r,e,t){let n;return ie(r,Xt,l=>t(0,n=l)),[n]}class Ln extends ue{constructor(e){super(),ce(this,e,Gn,jn,fe,{})}}function Hn(r){let e,t,n,l,o,i,u,s,a,c,d,h,_,M,X,D,m,Y,b=`<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "CollectionPage",
  "name": "The Dles - Free Daily Games Collection",
  "description": "Discover 500+ free games updated daily including Wordle, Connections, Bandle, and more",
  "url": "https://dles.aukspot.com"
}
<\/script>`,T,E,O,v;return O=new Ln({}),{c(){e=C("meta"),t=C("meta"),n=C("meta"),l=C("meta"),o=C("meta"),i=C("meta"),u=C("meta"),s=C("meta"),a=C("meta"),c=C("meta"),d=C("meta"),h=C("meta"),_=C("meta"),M=C("meta"),X=C("meta"),D=C("meta"),m=C("link"),Y=new wt(!1),T=$e(),E=H(),K(O.$$.fragment),this.h()},l(w){const k=bt("svelte-19qodcm",document.head);e=y(k,"META",{name:!0,content:!0}),t=y(k,"META",{name:!0,content:!0}),n=y(k,"META",{name:!0,content:!0}),l=y(k,"META",{property:!0,content:!0}),o=y(k,"META",{property:!0,content:!0}),i=y(k,"META",{property:!0,content:!0}),u=y(k,"META",{property:!0,content:!0}),s=y(k,"META",{property:!0,content:!0}),a=y(k,"META",{property:!0,content:!0}),c=y(k,"META",{property:!0,content:!0}),d=y(k,"META",{property:!0,content:!0}),h=y(k,"META",{property:!0,content:!0}),_=y(k,"META",{name:!0,content:!0}),M=y(k,"META",{name:!0,content:!0}),X=y(k,"META",{name:!0,content:!0}),D=y(k,"META",{name:!0,content:!0}),m=y(k,"LINK",{rel:!0,href:!0}),Y=kt(k,!1),T=$e(),k.forEach(g),E=L(w),Z(O.$$.fragment,w),this.h()},h(){document.title="The Dles - Discover 500+ Free Daily Games | Wordle, Connections & More",f(e,"name","description"),f(e,"content","Discover 500+ free games updated daily - Wordle, Connections, Bandle, and more. Your curated collection of daily puzzles, word games, trivia, and logic games."),f(t,"name","keywords"),f(t,"content","free games, daily games, puzzle games, word games, wordle, connections, bandle, trivia, logic games, quiz games, daily puzzles, online games, browser games"),f(n,"name","author"),f(n,"content","aukspot"),f(l,"property","og:title"),f(l,"content","The Dles - Discover 500+ Free Daily Games | Wordle, Connections & More"),f(o,"property","og:site_name"),f(o,"content","The Dles"),f(i,"property","og:url"),f(i,"content","https://dles.aukspot.com"),f(u,"property","og:type"),f(u,"content","website"),f(s,"property","og:locale"),f(s,"content","en_US"),f(a,"property","og:description"),f(a,"content","Discover 500+ free games updated daily - Wordle, Connections, Bandle, and more. Your curated collection of daily puzzles, word games, trivia, and logic games."),f(c,"property","og:image"),f(c,"content","https://dles.aukspot.com/og-image.jpg"),f(d,"property","og:image:width"),f(d,"content","1200"),f(h,"property","og:image:height"),f(h,"content","630"),f(_,"name","twitter:card"),f(_,"content","summary_large_image"),f(M,"name","twitter:image"),f(M,"content","https://dles.aukspot.com/og-image.jpg"),f(X,"name","twitter:title"),f(X,"content","The Dles - Discover 500+ Free Daily Games"),f(D,"name","twitter:description"),f(D,"content","Discover 500+ free games updated daily - Wordle, Connections, Bandle, and more. Your curated collection of daily puzzles, word games, trivia, and logic games."),f(m,"rel","canonical"),f(m,"href","https://dles.aukspot.com"),Y.a=T},m(w,k){p(document.head,e),p(document.head,t),p(document.head,n),p(document.head,l),p(document.head,o),p(document.head,i),p(document.head,u),p(document.head,s),p(document.head,a),p(document.head,c),p(document.head,d),p(document.head,h),p(document.head,_),p(document.head,M),p(document.head,X),p(document.head,D),p(document.head,m),Y.m(b,document.head),p(document.head,T),W(w,E,k),q(O,w,k),v=!0},p:F,i(w){v||(V(O.$$.fragment,w),v=!0)},o(w){A(O.$$.fragment,w),v=!1},d(w){w&&(Y.d(),g(E)),g(e),g(t),g(n),g(l),g(o),g(i),g(u),g(s),g(a),g(c),g(d),g(h),g(_),g(M),g(X),g(D),g(m),g(T),U(O,w)}}}function Fn(r,e,t){return[void 0]}class el extends ue{constructor(e){super(),ce(this,e,Fn,Hn,fe,{params:0})}get params(){return this.$$.ctx[0]}}export{el as component,xn as universal};
