PageSourceSearch

https://getaurora.dev/_next/static/chunks/3hf-w0vhzfa45.js

js getaurora.dev collected 2026-10-03 22:57:52 UTC 33,470 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56318,(e,t,n)=>{t.exports={artists:{delphicmelody:{username:"delphicmelody",displayName:"Delphic Melody",sponsorLink:"https://ko-fi.com/melodyofdelphi"}},artworks:[{id:"char-echo",title:"Echo",pronouns:"They/Them",category:"characters",images:["/art/characters/echo.png"],profilePicture:"/art/profile_pictures/echo.png"},{id:"char-lumina",title:"Lumina",pronouns:"She/Her",category:"characters",images:["/art/characters/lumina.png"],profilePicture:"/art/profile_pictures/lumina.png"},{id:"char-phlip",title:"Phlip",pronouns:"He/Him",category:"characters",images:["/art/characters/phlip.png"],profilePicture:"/art/profile_pictures/phlip.png"},{id:"char-scope",title:"Scope",pronouns:"He/Him",category:"characters",images:["/art/characters/scope.png","/art/characters/scope_from_the_front.png"],profilePicture:"/art/profile_pictures/scope.png"},{id:"char-tina",title:"Tina",pronouns:"She/Her",category:"characters",images:["/art/characters/tina.png"],profilePicture:"/art/profile_pictures/tina.png"},{id:"char-vincent",title:"Vincent",pronouns:"He/Him",category:"characters",images:["/art/characters/vincent.png"],profilePicture:"/art/profile_pictures/vincent.webp"},{id:"wallpaper-2",title:"Luna",category:"wallpapers",image:"/art/wallpapers/wallpaper-2.png",thumbnail:"/art/wallpapers/wallpaper-2.webp"},{id:"wallpaper-3",title:"Voyage",category:"wallpapers",image:"/art/wallpapers/wallpaper-3.png",thumbnail:"/art/wallpapers/wallpaper-3.webp"},{id:"wallpaper-4",title:"AuroraVerse",category:"wallpapers",image:"/art/wallpapers/wallpaper-4.png",thumbnail:"/art/wallpapers/wallpaper-4.webp"},{id:"wallpaper-5",title:"Globetrotter",category:"wallpapers",image:"/art/wallpapers/wallpaper-5.png",thumbnail:"/art/wallpapers/wallpaper-5.webp"},{id:"wallpaper-6",title:"FallBlues",category:"wallpapers",image:"/art/wallpapers/wallpaper-6.png",thumbnail:"/art/wallpapers/wallpaper-6.webp"},{id:"wallpaper-7",title:"Holiday Blues",category:"wallpapers",image:"/art/wallpapers/wallpaper-7.png",thumbnail:"/art/wallpapers/wallpaper-7.webp"},{id:"wallpaper-8",title:"Coneheads",category:"wallpapers",image:"/art/wallpapers/wallpaper-8.png",thumbnail:"/art/wallpapers/wallpaper-8.webp"},{id:"wallpaper-9",title:"Shangyuan",category:"wallpapers",image:"/art/wallpapers/wallpaper-9.png",thumbnail:"/art/wallpapers/wallpaper-9.webp"},{id:"wallpaper-10",title:"Luminance",category:"wallpapers",image:"/art/wallpapers/wallpaper-10.png",thumbnail:"/art/wallpapers/wallpaper-10.webp"},{id:"wallpaper-11",title:"Skywrecker",category:"wallpapers",image:"/art/wallpapers/wallpaper-11.png"}]}},41583,e=>{"use strict";var t=e.i(68489),n=e.i(84638),r=e.i(42160),a=e.i(74822);let i=(0,a.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),o=(0,a.default)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),l=(0,a.default)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),s=(0,a.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);var c=e.i(37018),u=e.i(49991),d=e.i(8909),p=e.i(82978),f=e.i(56123),f=f,m=e.i(70764);let h=(0,a.default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),g=(0,a.default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);var x=e.i(52169),b=e.i(31014),w=e.i(84461);function y(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function v(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?`${r}`==`${a}`:y(r)&&y(a)?v(r,a):r===a})}function k(e){return e.concat().sort((e,t)=>
1e.name>t.name?1:-1).map(e=>e.options)}function j(e){return"number"==typeof e}function N(e){return"string"==typeof e}function z(e){return"boolean"==typeof e}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function P(e){return Math.abs(e)}function C(e){return Math.sign(e)}function L(e){return O(e).map(Number)}function E(e){return e[M(e)]}function M(e){return Math.max(0,e.length-1)}function D(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function O(e){return Object.keys(e)}function A(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function I(){let e=[],t={add:function(n,r,a,i={passive:!0}){let o;return"addEventListener"in n?(n.addEventListener(r,a,i),o=()=>n.removeEventListener(r,a,i)):(n.addListener(a),o=()=>n.removeListener(a)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function F(e=0,t=0){let n=P(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function H(e){let t=e;function n(e){return j(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function T(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,a=null,i=!1;return{clear:function(){!i&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;let o=Math.round(100*e.direction(t))/100;o!==a&&(r.transform=n(o),a=o)},toggleActive:function(e){i=!e}}}let $={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function V(e,t,n){let r,a,i,o,l,s,c,u,d=e.ownerDocument,p=d.defaultView,f=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(O(n).forEach(r=>{let a=t[r],i=n[r],o=S(a)&&S(i);t[r]=o?e(a,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},a=O(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,a)},optionsMediaQueries:function(t){return t.map(e=>O(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(p),m=(u=[],{init:function(e,t){return(u=t.filter(({options:e})=>!1!==f.optionsAtMedia(e).active)).forEach(t=>t.init(e,f)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){u=u.filter(e=>e.destroy())}}),h=I(),g=(a={},i={init:function(e){r=e},emit:function(e){return(a[e]||[]).forEach(t=>t(r,e)),i},off:function(e,t){return a[e]=(a[e]||[]).filter(e=>e!==t),i},on:function(e,t){return a[e]=(a[e]||[]).concat([t]),i},clear:function(){a={}}}),{mergeOptions:x,optionsAtMedia:b,optionsMediaQueries:w}=f,{on:y,off:v,emit:k}=g,B=!1,R=x($,V.globalOptions),_=x(R),q=[];function U(t,n){B||(_=b(R=x(R,t)),q=n||q,function(){let{container:t,slides:n}=_;s=(N(t)?e.querySelector(t):t)||e.children[0];let r=N(n)?s.querySelectorAll(n):n;c=[].slice.call(r||s.children)}(),o=function t(n){let r=function(e,t,n,r,a,i,o){var l,s;let c,u,d,p,f,m,h,g,x,b,w,y,v,k,{align:S,axis:$,direction:V,startIndex:B,loop:R,duration:_,dragFree:q,dragThreshold:U,inViewThreshold:X,slidesToScroll:Y,skipSnaps:J,containScroll:K,watchResize:G,watchSlides:Q,watchDrag:W,watchFocus:Z}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:a}=e;return{top:t,right:n+r,bottom:t+a,left:n,width:r,height:a}}},et=ee.measure(t),en=n.map(ee.measure),er=(u="rtl"===V,p=(d="y"===$)||!u?1:-1,f=d?"to
1p":u?"right":"left",m=d?"bottom":u?"left":"right",{scroll:d?"y":"x",cross:d?"x":"y",startEdge:f,endEdge:m,measureSize:function(e){let{height:t,width:n}=e;return d?t:n},direction:function(e){return e*p}}),ea=er.measureSize(et),ei={measure:function(e){return e/100*ea}},eo=(l=S,s=ea,c={start:function(){return 0},center:function(e){return(s-e)/2},end:function(e){return s-e}},{measure:function(e,t){return N(l)?c[l](e):l(s,e,t)}}),el=!R&&!!K,{slideSizes:es,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,r,a,i){let{measureSize:o,startEdge:l,endEdge:s}=e,c=n[0]&&a,u=function(){if(!c)return 0;let e=n[0];return P(t[l]-e[l])}(),d=c?parseFloat(i.getComputedStyle(E(r)).getPropertyValue(`margin-${s}`)):0,p=n.map(o),f=n.map((e,t,n)=>{let r=t===M(n);return t?r?p[t]+d:n[t+1][l]-e[l]:p[t]+u}).map(P);return{slideSizes:p,slideSizesWithGaps:f,startGap:u,endGap:d}}(er,et,en,n,R||!!K,a),ep=function(e,t,n,r,a,i,o,l){let{startEdge:s,endEdge:c,direction:u}=e,d=j(n);return{groupSlides:function(e){return d?L(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?L(e).reduce((n,d,p)=>{let f=E(n)||0,m=d===M(e),h=a[s]-i[f][s],g=a[s]-i[d][c],x=r||0!==f?0:u(o),b=P(g-(!r&&m?u(l):0)-(h+x));return p&&b>t+2&&n.push(d),m&&n.push(e.length),n},[]).map((t,n,r)=>{let a=Math.max(r[n-1]||0);return e.slice(a,t)}):[]}}}(er,ea,Y,R,et,en,eu,ed),{snaps:ef,snapsAligned:em}=function(e,t,n,r,a){let{startEdge:i,endEdge:o}=e,{groupSlides:l}=a,s=l(r).map(e=>E(e)[o]-e[0][i]).map(P).map(t.measure),c=r.map(e=>n[i]-e[i]).map(e=>-P(e)),u=l(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:u}}(er,eo,et,en,ep),eh=-E(ef)+E(ec),{snapsContained:eg,scrollContainLimit:ex}=function(e,t,n,r){let a,i,o=F(-t+e,0),l=n.map((e,t)=>{let{min:r,max:a}=o,i=o.constrain(e),l=t===M(n);return t?l||function(e,t){return 1>=P(e-t)}(r,i)?r:function(e,t){return 1>=P(e-t)}(a,i)?a:i:a}).map(e=>parseFloat(e.toFixed(3))),s=(a=l[0],i=E(l),F(l.lastIndexOf(a),l.
1indexOf(i)+1));return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return l;let{min:n,max:a}=s;return l.slice(n,a)}(),scrollContainLimit:s}}(ea,eh,em,K),eb=el?eg:em,{limit:ew}=(h=eb[0],{limit:F(R?h-eh:E(eb),h)}),ey=function e(t,n,r){let{constrain:a}=F(0,t),i=t+1,o=l(n);function l(e){return r?P((i+e)%i):a(e)}function s(){return e(t,o,r)}let c={get:function(){return o},set:function(e){return o=l(e),c},add:function(e){return s().set(o+e)},clone:s};return c}(M(eb),B,R),ev=ey.clone(),ek=L(n),ej=function(e,t,n,r){let a=I(),i=1e3/60,o=null,l=0,s=0;function c(e){if(!s)return;o||(o=e,n(),n());let a=e-o;for(o=e,l+=a;l>=i;)n(),l-=i;r(l/i),s&&(s=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(s),o=null,l=0,s=0}return{init:function(){a.add(e,"visibilitychange",()=>{e.hidden&&(o=null,l=0)})},destroy:function(){u(),a.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,a,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eH),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:a,scrollLooper:i,slideLooper:o,dragHandler:l,animation:s,eventHandler:c,scrollBounds:u,options:{loop:d}},p)=>{let f=e.settled(),m=!u.shouldConstrain(),h=d?f:f&&m,g=h&&!l.pointerDown();g&&s.stop();let x=n.get()*p+a.get()*(1-p);r.set(x),d&&(i.loop(e.direction()),o.loop()),t.to(r.get()),g&&c.emit("settle"),h||c.emit("scroll")})(eH,e)),eN=eb[ey.get()],ez=H(eN),eS=H(eN),eP=H(eN),eC=H(eN),eL=function(e,t,n,r,a){let i=0,o=0,l=a,s=.68,c=e.get(),u=0;function d(e){return l=e,f}function p(e){return s=e,f}let f={direction:function(){return o},duration:function(){return l},velocity:function(){return i},seek:function(){let t=r.get()-e.get(),a=0;return l?(n.set(e),i+=t/l,i*=s,c+=i,e.add(i),a=c-u):(i=0,n.set(r),e.set(r),a=t),o=C(a),u=c,f},settled:function(){return .001>P(r.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return d(a)},useFriction:p,useDuration:d};return f}(ez,eP,eS,eC,_),eE=function(e,t,n,r,a){let{reachedAny:i,removeOffset:o,constrain:l}=r;function s(e){return e.concat().sort((e,t)=>P(e)-P(t))[0]}function c(t,r){let a=[t,t+n,t-n];if(!e)return t;if(!r)return s(a);let i=a.filter(e=>C(e)===r);return i.length?s(i):E(a)-n}return{byDistance:function(n,r){let s=a.get()+n,{index:u,distance:d}=function(n){let r=e?o(n):l(n),{index:a}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>P(e.diff)-P(t.diff))[0];return{index:a,distance:r}}(s),p=!e&&i(s);if(!r||p)return{index:u,distance:n};let f=n+c(t[u]-d,0);return{index:u,distance:f}},byIndex:function(e,n){let r=c(t[e]-a.get(),n);return{index:e,distance:r}},shortcut:c}}(R,eb,eh,ew,eC),eM=function(e,t,n,r,a,i,o){function l(a){let l=a.distance,s=a.index!==t.get();
1i.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(a.index),o.emit("select"))}return{distance:function(e,t){l(a.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(a.byIndex(r.get(),n))}}}(ej,ey,ev,eL,eE,eC,o),eD=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ew),eO=I(),eA=(x={},b=null,w=null,y=!1,{init:function(){g=new IntersectionObserver(e=>{y||(e.forEach(e=>{x[n.indexOf(e.target)]=e}),b=null,w=null,o.emit("slidesInView"))},{root:t.parentElement,threshold:X}),n.forEach(e=>g.observe(e))},destroy:function(){g&&g.disconnect(),y=!0},get:function(e=!0){if(e&&b)return b;if(!e&&w)return w;let t=O(x).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=x[r];return(e&&a||!e&&!a)&&t.push(r),t},[]);return e&&(b=t),e||(w=t),t}}),{slideRegistry:eI}=function(e,t,n,r,a,i){let o,{groupSlides:l}=a,{min:s,max:c}=r;return{slideRegistry:(o=l(i),1===n.length?[i]:e&&"keepSnaps"!==t?o.slice(s,c).map((e,t,n)=>{let r=t===M(n);return t?r?D(M(i)-E(n)[0]+1,E(n)[0]):e:D(E(n[0])+1)}):o)}}(el,K,eb,ex,ep,ek),eF=function(e,t,n,r,a,i,o,l){let s={passive:!0,capture:!0},c=0;function u(e){"Tab"===e.code&&(c=new Date().getTime())}return{init:function(d){l&&(i.add(document,"keydown",u,!1),t.forEach((t,u)=>{i.add(t,"focus",t=>{(z(l)||l(d,t))&&function(t){if(new Date().getTime()-c>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));j(i)&&(a.useDuration(0),r.index(i,0),o.emit("slideFocus"))}(u)},s)}))}}}(e,n,eI,eM,eL,eO,o,Z),eH={ownerDocument:r,ownerWindow:a,eventHandler:o,containerRect:et,slideRects:en,animation:ej,axis:er,dragHandler:function(e,t,n,r,a,i,o,l,s,c,u,d,p,f,m,h,g,x){let{cross:b,direction:w}=e,y=["INPUT","SELECT","TEXTAREA"],v={passive:!1},k=I(),j=I(),N=F(50,225).constrain(f.measure(20)),S={mouse:300,touch:400},L={mouse:500,touch:600},E=m?43:25,M=!1,D=0,O=0,H=!1,T=!1,$=!1,V=!1;function B(e){if(!A(e,r)&&e.touches.length>=2)return R(e);let t=i.readPoint(e),n=i.readPoint(e,b),o=P(t-D),s=P(n-O);if(!T&&!V&&(!e.cancelable||!(T=o>s)))return R(e);let u=i.pointerMove(e);o>h&&($=!0),c.useFriction(.3).useDuration(.75),l.start(),a.add(w(u)),e.preventDefault()}function R(e){var t;let n,r,a=u.byDistance(0,!1).index!==d.get(),o=i.pointerUp(e)*(m?L:S)[V?"mouse":"touch"],l=(t=w(o),n=d.add(-1*C(t)),r=u.byDistance(t,!m).distance,m||P(t)<N?r:g&&a?.5*r:u.byIndex(n.get(),0).distance),f=function(e,t){var n,r;if(0===e||0===t||P(e)<=P(t))return 0;let a=(n=P(e),r=P(t),P(n-r));return P(a/e)}(o,l);T=!1,H=!1,j.clear(),c.useDuration(E-10*f).useFriction(.68+f/50),s.distance(l,!m),V=!1,p.emit("pointerUp")}function _(e){$&&(e.stopPropagation(),e.preventDefault(),$=!1)}return{init:function(e){x&&k.add(t,"dragstart",e=>e.preventDefault(),v).add(t,"touchmove",()=>void 0,v).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",R).add(t,"contextmenu",R).add(t,"click",_,!0);function l(l){(z(x)||x(e,l))&&function(e){let l,s=A(e,r);if((V=s,$=m&&s&&!e.buttons&&M,M=P(a.get()-o.get())>=2,!s||0===e.button)&&(l=e.target.nodeName||"",!y.includes(l))){let r;H=!0,i.pointerDown(e),c.useFriction(0).useDuration(0),a.set(o),r=V?n:t,j.add(r,"touchmove",B,v).add(r,"touchend",R).add(r,"mousemove",B,v).add(r,"mouseup",R),D=i.readPoint(e),O=i.readPoint(e,b),p.emit("pointerDown")}}(l)}},destroy:function(){k.clear(),j.clear()},pointerDown:function(){return H}}}(er,e,r,a,eC,function(e,t){let n,r;function a(e){return e.timeStamp}function i(n,r){let a=r||e.scroll,i=`client${"x"===a?"X":"Y"}`;return(A(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){let t=i(e)-i(r),o=a(e)-a(n)>170;return r=e,o&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=i(r)-i(n),o=a(e)-a(n),l=a(e)-a(r)>170,s=t/o;return o&&!l&&P(s)>.1?s:0},readPoint:i}}(er,a),ez,ej,eM,eL,eE,ey,o,ei,q,U,J,W),eventStore:eO,percentOfView:ei,index:ey,indexPrevious:ev,limit:ew,location:ez,offsetLocation:eP,previousLocation:eS,options:i,resizeHandler:function(e,t,n,r,a,i,o){let l,s,c=[e].concat(r),u=[],d=!1;function p(e){return a.measureSize(o.measure(e))}
1return{init:function(a){i&&(s=p(e),u=r.map(p),l=new ResizeObserver(n=>{(z(i)||i(a,n))&&function(n){for(let i of n){if(d)return;let n=i.target===e,o=r.indexOf(i.target),l=n?s:u[o];if(P(p(n?e:r[o])-l)>=.5){a.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{c.forEach(e=>l.observe(e))}))},destroy:function(){d=!0,l&&l.disconnect()}}}(t,o,a,n,er,G,ee),scrollBody:eL,scrollBounds:function(e,t,n,r,a){let i=a.measure(10),o=a.measure(50),l=F(.1,.99),s=!1;function c(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(a){if(!c())return;let s=e.reachedMin(t.get())?"min":"max",u=P(e[s]-t.get()),d=n.get()-t.get(),p=l.constrain(u/o);n.subtract(d*p),!a&&P(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(ew,eP,eC,eL,ei),scrollLooper:function(e,t,n,r){let{reachedMin:a,reachedMax:i}=F(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(n.get()):-1===t&&a(n.get())))return;let o=-1*t*e;r.forEach(e=>e.add(o))}}}(eh,ew,eP,[ez,eP,eS,eC]),scrollProgress:eD,scrollSnapList:eb.map(eD.get),scrollSnaps:eb,scrollTarget:eE,scrollTo:eM,slideLooper:function(e,t,n,r,a,i,o,l,s){let c=L(a),u=L(a).reverse(),d=m(f(u,o[0]),n,!1).concat(m(f(c,t-o[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-a[t],t)}function f(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function m(a,o,c){let u=i.map((e,n)=>({start:e-r[n]+.5+o,end:e+t-.5+o}));return a.map(t=>{let r=c?0:-n,a=c?n:0,i=u[t][c?"end":"start"];return{index:t,loopPoint:i,slideLocation:H(-1),translate:T(e,s[t]),target:()=>l.get()>i?r:a}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(c.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,a=t();a!==r.get()&&(n.to(a),r.set(a))})},loopPoints:d}}(er,ea,eh,es,ec,ef,eb,eP,n),slideFocus:eF,slidesHandler:(k=!1,{init:function(e){Q&&(v=new MutationObserver(t=>{!k&&(z(Q)||Q(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),o.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){v&&v.disconnect(),k=!0}}),slidesInView:eA,slideIndexes:ek,slideRegistry:eI,slidesToScroll:ep,target:eC,translate:T(er,t)};return eH}(e,s,c,d,p,n,g);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(_),w([R,...q.map(({options:e})=>e)]).forEach(e=>h.add(e,"change",X)),_.active&&(o.translate.to(o.location.get()),o.animation.init(),o.slidesInView.init(),o.slideFocus.init(G),o.eventHandler.init(G),o.resizeHandler.init(G),o.slidesHandler.init(G),o.options.loop&&o.slideLooper.loop(),s.offsetParent&&c.length&&o.dragHandler.init(G),l=m.init(G,q)))}function X(e,t){let n=K();Y(),U(x({startIndex:n},e),t),g.emit("reInit")}function Y(){o.dragHandler.destroy(),o.eventStore.clear(),o.translate.clear(),o.slideLooper.clear(),o.resizeHandler.destroy(),o.slidesHandler.destroy(),o.slidesInView.destroy(),o.animation.destroy(),m.destroy(),h.clear()}function J(e,t,n){_.active&&!B&&(o.scrollBody.useBaseFriction().useDuration(!0===t?0:_.duration),o.scrollTo.index(e,n||0))}function K(){return o.index.get()}let G={canScrollNext:function(){return o.index.add(1).get()!==K()},canScrollPrev:function(){return o.index.add(-1).get()!==K()},containerNode:function(){return s},internalEngine:function(){return o},destroy:function(){B||(B=!0,h.clear(),Y(),g.emit("destroy"),g.clear())},off:v,on:y,emit:k,plugins:function(){return l},previousScrollSnap:function(){return o.indexPrevious.get()},reInit:X,rootNode:function(){return e},scrollNext:function(e){J(o.index.add(1).get(),e,-1)},scrollPrev:function(e){J(o.index.add(-1).get(),e,1)},scrollProgress:function(){return o.scrollProgress.get(o.offsetLocation.get())},scrollSnapList:function(){return o.scrollSnapList},scrollTo:J,selectedScrollSnap:K,slideNodes:function(){return c},slidesInView:function(){return o.slidesInView.get()},slidesNotInView:function(){return o.slidesInView.get(!1)}};return U(t,n),setTimeout(()=>g.emit("init"),0),G}function B(e={}
1,t=[]){let r=(0,n.useRef)(e),a=(0,n.useRef)(t),[i,o]=(0,n.useState)(),[l,s]=(0,n.useState)(),c=(0,n.useCallback)(()=>{i&&i.reInit(r.current,a.current)},[i]);return(0,n.useEffect)(()=>{v(r.current,e)||(r.current=e,c())},[e,c]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=k(e),r=k(t);return n.every((e,t)=>v(e,r[t]))}(a.current,t)&&(a.current=t,c())},[t,c]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&l){V.globalOptions=B.globalOptions;let e=V(l,r.current,a.current);return o(e),()=>e.destroy()}o(void 0)},[l,o]),[s,i]}V.globalOptions=void 0,B.globalOptions=void 0;var R=e.i(48613),_=e.i(96247),q=e.i(56318);let U=["characters","wallpapers"],X=e=>e.images?.length?e.images:e.image?[e.image]:[],Y=e=>e.replace(/\.(png|jpe?g)$/i,".webp"),J=e=>{let t=e.thumbnail||e.profilePicture||X(e)[0];return t?Y(t):void 0};function K({category:e,artworks:r,onSelect:a,categoryLabel:i}){let[o,l]=B({align:"start",containScroll:"trimSnaps",dragFree:!0}),[s,c]=(0,n.useState)(!1),[u,f]=(0,n.useState)(!1),m=(0,n.useCallback)(()=>l?.scrollPrev(),[l]),h=(0,n.useCallback)(()=>l?.scrollNext(),[l]),g=(0,n.useCallback)(()=>{l&&(c(l.canScrollPrev()),f(l.canScrollNext()))},[l]);return((0,n.useEffect)(()=>{if(l)return g(),l.on("select",g),l.on("reInit",g),()=>{l.off("select",g),l.off("reInit",g)}},[l,g]),0===r.length)?null:(0,t.jsxs)("section",{className:"mb-16",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center justify-between",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-white lg:text-3xl",children:i}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("button",{onClick:m,disabled:!s,className:"rounded-full bg-zinc-800 p-2 text-white transition-colors hover:bg-zinc-700 disabled:opacity-30 disabled:hover:bg-zinc-800","aria-label":"Previous",children:(0,t.jsx)(d.ChevronLeft,{className:"h-5 w-5"})}),(0,t.jsx)("button",{onClick:h,disabled:!u,className:"rounded-full bg-zinc-800 p-2 text-white transition-colors hover:bg-zinc-700 disabled:opacity-30 disabled:hover:bg-zinc-800","aria-label":"Next",children:(0,t.jsx)(p.ChevronRight,{className:"h-5 w-5"})})]})]}),(0,t.jsx)("div",{className:"overflow-hidden",ref:o,children:(0,t.jsx)("div",{className:"flex gap-4",children:r.map(n=>{let r="wallpapers"===e,i=J(n);return i?(0,t.jsx)("div",{className:`group shrink-0 cursor-pointer overflow-hidden rounded-2xl border-2 border-zinc-700 bg-zinc-900/80 shadow-xl transition-all hover:border-aurora-blue/50 hover:shadow-2xl hover:shadow-aurora-blue/20 ${r?"w-[600px] lg:w-[800px]":"w-[280px] lg:w-[320px]"}`,onClick:()=>a(n),children:(0,t.jsxs)("div",{className:`relative overflow-hidden ${r?"aspect-video":"aspect-square"}`,children:[(0,t.jsx)("img",{src:i,alt:n.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-linear-to-t from-black/80 via-black/20 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-4 opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:(0,t.jsxs)("h3",{className:"flex items-baseline gap-2 text-lg font-semibold text-white drop-shadow-lg",children:[n.title,n.pronouns&&(0,t.jsx)("span",{className:"text-sm font-normal text-zinc-300",children:n.pronouns})]})})]})},n.id):null})})})]})}e.s(["default",0,function(){let e,a=(0,r.useTranslations)("Art-Page"),[y,v]=(0,n.use
1State)(null),[k,j]=(0,n.useState)(1),[N,z]=(0,n.useState)({x:0,y:0}),[S,P]=(0,n.useState)(!1),[C,L]=(0,n.useState)({x:0,y:0}),[E,M]=(0,n.useState)(!1),[D,O]=(0,n.useState)(0),A=e=>{v(e),O(0),j(1),z({x:0,y:0}),M(!1)},I=(0,n.useCallback)(()=>{v(null),O(0),j(1),z({x:0,y:0}),M(!1)},[]),F=y?X(y):[],H=(y?X(y).map(Y):[])[D]||(y?J(y):void 0)||"",T=F[D]||y?.image||y?.thumbnail||"",$=F.length>1,V=(0,n.useCallback)(()=>{$&&(O(e=>0===e?F.length-1:e-1),j(1),z({x:0,y:0}),M(!1))},[$,F.length]),B=(0,n.useCallback)(()=>{$&&(O(e=>(e+1)%F.length),j(1),z({x:0,y:0}),M(!1))},[$,F.length]),G=(0,n.useCallback)(()=>{j(e=>Math.min(e+.5,4))},[]),Q=(0,n.useCallback)(()=>{j(e=>Math.max(e-.5,.5))},[]),W=(0,n.useCallback)(()=>{j(1),z({x:0,y:0})},[]),Z=()=>{P(!1)},ee=(0,n.useCallback)(e=>{e.preventDefault(),e.deltaY<0?j(e=>Math.min(e+.2,4)):j(e=>Math.max(e-.2,.5))},[]);return(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key?I():("ArrowLeft"===e.key&&(e.preventDefault(),V()),"ArrowRight"===e.key&&(e.preventDefault(),B()))};return y&&(document.addEventListener("keydown",e),document.addEventListener("wheel",ee,{passive:!1}),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.removeEventListener("wheel",ee),document.body.style.overflow=""}},[y,I,ee,V,B]),(0,t.jsxs)("div",{className:"relative min-h-screen bg-gray-950 text-white",children:[(0,t.jsx)(_.StarsBackground,{starDensity:3e-4,static:!0}),(0,t.jsx)(R.default,{variant:"page"}),(0,t.jsxs)("main",{className:"relative z-10 mx-auto max-w-(--breakpoint-2xl) px-6 pb-16 pt-32",children:[(0,t.jsxs)("div",{className:"mb-16 text-center",children:[(0,t.jsx)("h1",{className:"mb-4 bg-linear-to-r from-aurora-blue via-pink-400 to-aurora-lightorange bg-clip-text text-5xl font-bold text-transparent lg:text-7xl",children:a("title")}),(0,t.jsx)("p",{className:"mx-auto max-w-2xl text-xl text-zinc-400",children:a("subtitle")})]}),(0,t.jsx)("div",{className:"mb-16 rounded-2xl border border-pink-500/30 p-6 backdrop-blur-xs",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center md:flex-row md:text-left",children:[(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-pink-500/20",children:(0,t.jsx)(x.Palette,{className:"h-6 w-6 text-pink-400"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"mb-1 text-lg font-semibold text-white",children:a("contribute-title")}),(0,t.jsx)("p",{className:"text-zinc-400",children:a("contribute-description")})]}),(0,t.jsxs)("a",{href:"https://github.com/ublue-os/artwork",target:"_blank",rel:"noopener noreferrer",className:"flex shrink-0 items-center gap-2 rounded-full bg-pink-500/20 px-5 py-2.5 font-medium text-pink-400 transition-colors hover:bg-pink-500/30",children:[a("contribute-button"),(0,t.jsx)(u.ExternalLink,{className:"h-4 w-4"})]})]})}),U.map(e=>{let n;return(0,t.jsx)(K,{category:e,artworks:(n=q.default.artworks.filter(t=>t.category===e),"wallpapers"===e?n.reverse():n),onSelect:A,categoryLabel:a(`categories.${e}`)},e)})]}),(0,t.jsx)(b.AnimatePresence,{children:y&&(0,t.jsxs)(w.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/95",onClick:I,children:[(0,t.jsx)("button",{onClick:I,className:"absolute right-4 top-4 z-50 rounded-full bg-zinc-800/80 p-2 text-white transition-colors hover:bg-zinc-700","aria-label":a("close"),children:(0,t.jsx)(i,{className:"h-6 w-6"})}),(0,t.jsxs)("div",{className:"absolute left-4 top-4 z-50 flex flex-col items-center gap-2",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),G()},className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":a("zoom-in"),children:(0,t.jsx)(o,{className:"h-5 w-5"})}),(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),Q()},className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":a("zoom-out"),children:(0,t.jsx)(l,{className:"h-5 w-5"})}),(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),W()},className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":a("reset-zoom"),children:(0,t.jsx)(s,{className:"h-5 w-5"})}),(0,t.jsxs)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-xs font-medium text-white backdrop-blur-xs",children:[Math.round(100*k),"%"]}),(0,t.jsx)("div",{className:"relative",children:y.profilePicture?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:e=>{e.stopPropagation(),M(!E)},className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":a("download"),children:[(0,t.jsx)(f.default,{className:"h-4 w-4"}),(0,t.jsx)(m.ChevronDown,{className:"h-3 w-3"})]}),E&&(0,t.jsxs)("div",{className:"absolute left-0 top-12 z-50 min-w-[160px] overflow-hidden rounded-xl border border-zinc-700 bg-zinc-800/95 shadow-xl backdrop-blur-xs",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("a",{href:T,download:!0,className:"flex items-center gap-3 px-4 py-3 text-sm text-white transition-colors hover:bg-zinc-700",onClick:()=>M(!1),children:[(0,t.jsx)(g,{className:"h-4 w-4"}),a("download-character")]}),(0,t.jsxs)("a",{href:y.profilePicture,download:!0,className:"flex items-center gap-3 px-4 py-3 text-sm text-white transition-colors hover:bg-zinc-700",onClick:()=>M(!1),children:[(0,t.jsx)(h,{className:"h-4 w-4"}),a("download-profile")]})]})]}):(0,t.jsx)("a",{href:T,download:!0,onClick:e=>e.stopPropagation(),className:"flex h-10 w-10 items-center justify-center rounded-xl bg-zinc-800/90 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":a("download"),children:(0,t.jsx)(f.default,{className:"h-5 w-5"})})})]}),(0,t.jsxs)("div",{className:"relative flex h-full w-full cursor-grab items-center justify-center overflow-hidden active:cursor-grabbing",onClick:e=>e.stopPropagation(),onMouseDown:e=>{k>1&&(P(!0),L({x:e.clientX-N.x,y:e.clientY-N.y}))},onMouseMove:e=>{S&&k>1&&z({x:e.clientX-C.x,y:e.clientY-C.y})},onMouseUp:Z,onMouseLeave:Z,children:[$&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),V()},className:"absolute left-4 top-1/2 z-40 -translate-y-1/2 rounded-full bg-zinc-800/90 p-2 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":"Previous image",children:(0,t.jsx)(d.ChevronLeft,{className:"h-5 w-5"})}),(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),B()},className:"absolute right-4 top-1/2 z-40 -translate-y-1/2 rounded-full bg-zinc-800/90 p-2 text-white backdrop-blur-xs transition-colors hover:bg-zinc-700","aria-label":"Next image",children:(0,t.jsx)(p.ChevronRight,{className:"h-5 w-5"})}),(0,t.jsx)("div",{className:"absolute bottom-4 left-1/2 z-40 flex -translate-x-1/2 gap-2 rounded-full bg-black/50 px-3 py-2 backdrop-blur-xs",children:F.map((e,n)=>(0,t.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),O(n),j(1),z({x:0,y:0}),M(!1)},className:`h-2.5 w-2.5 rounded-full transition-colors ${D===n?"bg-white":"bg-zinc-400/60 hover:bg-zinc-200"}`,"aria-label":`View image ${n+1}`},e))})]}),(0,t.jsx)("img",{src:H,alt:y.title,className:"max-h-[80vh] max-w-[90vw] object-contain",style:{transform:`scale(${k}) translate(${N.x/k}px, ${N.y/k}
1px)`,transition:S?"none":"transform 0.2s ease-out"},draggable:!1})]}),(0,t.jsx)(w.motion.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},className:"absolute bottom-0 left-0 right-0 bg-linear-to-t from-black via-black/90 to-transparent p-6",onClick:e=>e.stopPropagation(),children:(0,t.jsxs)("div",{className:"mx-auto max-w-(--breakpoint-lg)",children:[(0,t.jsxs)("h2",{className:"mb-4 flex items-baseline gap-3 text-2xl font-bold text-white",children:[y.title,y.pronouns&&(0,t.jsx)("span",{className:"text-lg font-normal text-zinc-400",children:y.pronouns})]}),(e=(e=>{if(e)return q.default.artists[e]})(y.artist))?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-zinc-500",children:a("by-artist")}),(0,t.jsx)("span",{className:"font-medium text-white",children:e.displayName})]}),(0,t.jsxs)("a",{href:e.sponsorLink,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 rounded-full bg-pink-500/20 px-4 py-2 text-sm font-medium text-pink-400 transition-colors hover:bg-pink-500/30",children:[(0,t.jsx)(c.Heart,{className:"h-4 w-4"}),a("sponsor-artist"),(0,t.jsx)(u.ExternalLink,{className:"h-3 w-3"})]})]}):null]})})]})})]})}],41583)}]);

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.