2024-07-05 17:21:03 +02:00
|
|
|
import{S as it,c as ct,a as ut,d as tt,e as et,m as at,b as nt,t as st,f as rt,g as ht}from"./index-CFSywFfb.js";import{a as l,b as o,t as lt,f,h as J,k as i,j as ot,d as N,p,l as n,i as pt,m as a,n as ft}from"./lifecycle-u0QeOdKt.js";import{C as mt,a as xt}from"./ZoomOut24-BLVY8N49.js";import{$ as vt}from"./runtime-BvEoAjCK.js";function dt(m){let t,r,c,b,u=m[1](m[0].previous)+"",P,L,x,K="1",R,v,M="2",T,d,O="3",V,_,Q="4",z,C,U="5",B,g,W="6",D,k,X="…",F,y,Y="17",G,$,Z="18",H,h,j=m[1](m[0].next)+"",q,I,A,w;return c=new mt({props:{fill:"currentColor"}}),A=new xt({props:{fill:"currentColor"}}),{c(){t=l("nav"),r=l("a"),tt(c.$$.fragment),b=o(),P=lt(u),L=o(),x=l("a"),x.textContent=K,R=o(),v=l("a"),v.textContent=M,T=o(),d=l("a"),d.textContent=O,V=o(),_=l("a"),_.textContent=Q,z=o(),C=l("a"),C.textContent=U,B=o(),g=l("a"),g.textContent=W,D=o(),k=l("span"),k.textContent=X,F=o(),y=l("a"),y.textContent=Y,G=o(),$=l("a"),$.textContent=Z,H=o(),h=l("a"),q=lt(j),I=o(),tt(A.$$.fragment),this.h()},l(s){t=f(s,"NAV",{class:!0});var e=J(t);r=f(e,"A",{href:!0,class:!0});var E=J(r);et(c.$$.fragment,E),b=i(E),P=ot(E,u),E.forEach(N),L=i(e),x=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(x)!=="svelte-ak6ox3"&&(x.textContent=K),R=i(e),v=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(v)!=="svelte-10r4717"&&(v.textContent=M),T=i(e),d=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(d)!=="svelte-13dre0n"&&(d.textContent=O),V=i(e),_=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(_)!=="svelte-v6bi1q"&&(_.textContent=Q),z=i(e),C=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(C)!=="svelte-1c7ylf3"&&(C.textContent=U),B=i(e),g=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(g)!=="svelte-fk307f"&&(g.textContent=W),D=i(e),k=f(e,"SPAN",{"data-svelte-h":!0}),p(k)!=="svelte-fw8tqc"&&(k.textContent=X),F=i(e),y=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p(y)!=="svelte-ypj5a3"&&(y.textContent=Y),G=i(e),$=f(e,"A",{href:!0,class:!0,"data-svelte-h":!0}),p($)!=="svelte-ludw9t"&&($.textContent=Z),H=i(e),h=f(e,"A",{href:!0,class:!0});var S=J(h);q=ot(S,j),I=i(S),et(A.$$.fragment,S),S.forEach(N),e.forEach(N),this.h()},h(){n(r,"href","?page=-1"),n(r,"class","flex gap-2 text-primary-500"),n(x,"href","?page=1"),n(x,"class","text-surface-500"),n(v,"href","?page=2"),n(v,"class","text-surface-500"),n(d,"href","?page=3"),n(d,"class","text-surface-500"),n(_,"href","?page=4"),n(_,"class","bg-primary-500 text-white rounded h-8 w-8 flex justify-center items-center"),n(C,"href","?page=5"),n(C,"class","text-surface-500"),n(g,"href","?page=6"),n(g,"class","text-surface-500"),n(y,"href","?page=17"),n(y,"class","text-surface-500"),n($,"href","?page=18"),n($,"class","text-surface-500"),n(h,"href","?page=+1"),n(h,"class","flex gap-2 text-primary-500"),n(t,"class","flex gap-4 items-center justify-center")},m(s,e){pt(s,t,e),a(t,r),at(c,r,null),a(r,b),a(r,P),a(t,L),a(t,x),a(t,R),a(t,v),a(t,T),a(t,d),a(t,V),a(t,_),a(t,z),a(t,C),a(t,B),a(t,g),a(t,D),a(t,k),a(t,F),a(t,y),a(t,G),a(t,$),a(t,H),a(t,h),a(h,q),a(h,I),at(A,h,null),w=!0},p(s,[e]){(!w||e&3)&&u!==(u=s[1](s[0].previous)+"")&&ft(P,u),(!w||e&3)&&j!==(j=s[1](s[0].next)+"")&&ft(q,j)},i(s){w||(nt(c.$$.fragment,s),nt(A.$$.fragment,s),w=!0)},o(s){st(c.$$.fragment,s),st(A.$$.fragment,s),w=!1},d(s){s&&N(t),rt(c),rt(A)}}}function _t(m,t,r){let c;ht(m,vt,u=>r(1,c=u));let{i18n:b={next:"",previous:""}}=t;return m.$$set=u=>{"i18n"in u&&r(0,b=u.i18n)},[b,c]}class Ct extends it{constructor(t){super(),ct(this,t,_t,dt,ut,{i18n:0})}}Ct.__docgen={version:3,name:"Pagination.svelte",data:[{keywords:[],visibility:"public",description:"Translation keys.",name:"i18n",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{Ct as P};
|