PageSourceSearch

https://arpansaha13.netlify.app/_nuxt/DWAoJxf3.js

js arpansaha13.netlify.app collected 2026-10-03 10:28:18 UTC 29,019 bytes, 1 lines download raw bytes

vendor: 4,854 bytes, line 1
1import{aL as Qe,aM as Xe,J as it,aN as at,L as we,H as It,f as Lt,aO as Et,W as Ot,c as ae,y as Ye,I as pe,g as ct,o as Y,w as lt,e as Ze,a as te,b as De,B as ne,F as We,q as et,p as ke,r as Tt,m as Ce,n as tt,u as me,P as At,af as ce,i as Pt,at as Dt}from"./CvoF60RY.js";function kt(e){return Object.prototype.toString.call(e)==="[object Object]"}function nt(e){return kt(e)||Array.isArray(e)}function Ct(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Be(e,n){const s=Object.keys(e),t=Object.keys(n);if(s.length!==t.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),r=JSON.stringify(Object.keys(n.breakpoints||{}));return a!==r?!1:s.every(o=>{const c=e[o],i=n[o];return typeof c=="function"?`${c}`==`${i}`:!nt(c)||!nt(i)?c===i:Be(c,i)})}function ot(e){return e.concat().sort((n,s)=>n.name>s.name?1:-1).map(n=>n.options)}function Mt(e,n){if(e.length!==n.length)return!1;const s=ot(e),t=ot(n);return s.every((a,r)=>{const o=t[r];return Be(a,o)})}function Fe(e){return typeof e=="number"}function Me(e){return typeof e=="string"}function Le(e){return typeof e=="boolean"}function rt(e){return Object.prototype.toString.call(e)==="[object Object]"}function _(e){return Math.abs(e)}function qe(e){return Math.sign(e)}function he(e,n){return _(e-n)}function _t(e,n){if(e===0||n===0||_(e)<=_(n))return 0;const s=he(_(e),_(n));return _(s/e)}function Bt(e){return Math.round(e*100)/100}function ye(e){return ve(e).map(Number)}function H(e){return e[Se(e)]}function Se(e){return Math.max(0,e.length-1)}function Ne(e,n){return n===Se(e)}function st(e,n=0){return Array.from(Array(e),(s,t)=>n+t)}function ve(e){return Object.keys(e)}function ut(e,n){return[e,n].reduce((s,t)=>(ve(t).forEach(a=>{const r=s[a],o=t[a],c=rt(r)&&rt(o);s[a]=c?ut(r,o):o}),s),{})}function _e(e,n){return typeof n.MouseEvent<"u"&&e instanceof n.MouseEvent}function Ft(e,n){const s={start:t,center:a,end:r};function t(){return 0}function a(i){return r(i)/2}function r(i){return n-i}function o(i,l){return Me(e)?s[e](i):e(n,i,l)}return{measure:o}}function be(){let e=[];function n(a,r,o,c={passive:!0}){let i;if("addEventListener"in a)a.addEventListener(r,o,c),i=()=>a.removeEventListener(r,o,c);else{const l=a;l.addListener(o),i=()=>l.removeListener(o)}return e.push(i),t}function s(){e=e.filter(a=>a())}const t={add:n,clear:s};return t}function qt(e,n,s,t){const a=be(),r=1e3/60;let o=null,c=0,i=0;function l(){a.add(e,"visibilitychange",()=>{e.hidden&&f()})}function y(){v(),a.clear()}function p(h){if(!i)return;o||(o=h,s(),s());const u=h-o;for(o=h,c+=u;c>=r;)s(),c-=r;const d=c/r;t(d),i&&(i=n.requestAnimationFrame(p))}function m(){i||(i=n.requestAnimationFrame(p))}function v(){n.cancelAnimationFrame(i),o=null,c=0,i=0}function f(){o=null,c=0}return{init:l,destroy:y,start:m,stop:v,update:s,render:t}}function Nt(e,n){const s=n==="rtl",t=e==="y",a=t?"y":"x",r=t?"x":"y",o=!t&&s?-1:1,c=y(),i=p();function l(f){const{height:g,width:h}=f;return t?g:h}function y(){return t?"top":s?"right":"left"}function p(){return t?"bottom":s?"left":"right"}function m(f){return f*o}return{scroll:a,cross:r,startEdge:c,endEdge:i,measureSize:l,direction:m}}function oe(e=0,n=0){const s=_(e-n);function t(l){return l<e}function a(l){return l>n}function r(l){return t(l)||a(l)}function o(l){return r(l)?t(l)?e:n:l}function c(l){return s?l-s*Math.ceil((l-n)/s):l}return{length:s,max:n,min:e,constrain:o,reachedAny:r,reachedMax:a,reachedMin:t,removeOffset:c}}function ft(e,n,s){const{constrain:t}=oe(0,e),a=e+1;let r=o(n);function o(m){return s?_((a+m)%a):t(m)}function c(){return r}function i(m){return r=o(m),p}function l(m){return y().set(c()+m)}function y(){return ft(e,c(),s)}const p={get:c,set:i,add:l,clone:y};return p}function jt(e,n,s,t,a,r,o,c,i,l,y,p,m,v,f,g,h,u,d){const{cross:S,direction:L}=e,P=["INPUT","SELECT","TEXTAREA"],E={passive:!1},x=be(),w=be(),O=oe(50,225).constrain(v.measure(20)),D={mouse:300,touch:400},A={mouse:500,touch:600},F=f?43:25;let N=!1,z=0,I=0,C=!1,T=!1,q=!1,U=!1;function le(b){if(!d)return;function k(V){(Le(d)||d(b,V))&&fe(V)}const B=n;x.add(B,"dragstart",V=>V.preventDefault(),E).add(B,"touchmove",()=>{},E).add(B,"touchend",()=>{}).add(B,"touchstart",k).add(B,"mousedown",k).add(B,"touchcancel",j).add(B,"contextmenu",j).add(B,"click",Q,!0)}function $(){x.clear(),w.clear()}function re(){const b=U?s:n;w.add(b,"touchmove",R,E).add(b,"touchend",j).add(b,"mousemove",R,E).add(b,"mouseup",j)}function se(b){const k=b.nodeName||"";return P.includes(k)}function J(){return(f?A:D)[U?"mouse":"touch"]}function ue(b,k){const B=p.add(qe(b)*-1),V=y.byDistance(b,!f).distance;return f||_(b)<O?V:h&&k?V*.5:y.byIndex(B.get(),0).distance}function fe(b){const k=_e(b,t);U=k,q=f&&k&&!b.buttons&&N,N=he(a.get(),o.get())>=2,!(k&&b.button!==0)&&(se(b.target)||(C=!0,r.pointerDown(b),l.useFriction(0).useDuration(0),a.set(o),re
vendor: 12,153 bytes, line 1
1(),z=r.readPoint(b),I=r.readPoint(b,S),m.emit("pointerDown")))}function R(b){if(!_e(b,t)&&b.touches.length>=2)return j(b);const B=r.readPoint(b),V=r.readPoint(b,S),K=he(B,z),X=he(V,I);if(!T&&!U&&(!b.cancelable||(T=K>X,!T)))return j(b);const W=r.pointerMove(b);K>g&&(q=!0),l.useFriction(.3).useDuration(.75),c.start(),a.add(L(W)),b.preventDefault()}function j(b){const B=y.byDistance(0,!1).index!==p.get(),V=r.pointerUp(b)*J(),K=ue(L(V),B),X=_t(V,K),W=F-10*X,Z=u+X/50;T=!1,C=!1,w.clear(),l.useDuration(W).useFriction(Z),i.distance(K,!f),U=!1,m.emit("pointerUp")}function Q(b){q&&(b.stopPropagation(),b.preventDefault(),q=!1)}function G(){return C}return{init:le,destroy:$,pointerDown:G}}function Vt(e,n){let t,a;function r(p){return p.timeStamp}function o(p,m){const f=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(_e(p,n)?p:p.touches[0])[f]}function c(p){return t=p,a=p,o(p)}function i(p){const m=o(p)-o(a),v=r(p)-r(t)>170;return a=p,v&&(t=p),m}function l(p){if(!t||!a)return 0;const m=o(a)-o(t),v=r(p)-r(t),f=r(p)-r(a)>170,g=m/v;return v&&!f&&_(g)>.1?g:0}return{pointerDown:c,pointerMove:i,pointerUp:l,readPoint:o}}function zt(){function e(s){const{offsetTop:t,offsetLeft:a,offsetWidth:r,offsetHeight:o}=s;return{top:t,right:a+r,bottom:t+o,left:a,width:r,height:o}}return{measure:e}}function Rt(e){function n(t){return e*(t/100)}return{measure:n}}function Gt(e,n,s,t,a,r,o){const c=[e].concat(t);let i,l,y=[],p=!1;function m(h){return a.measureSize(o.measure(h))}function v(h){if(!r)return;l=m(e),y=t.map(m);function u(d){for(const S of d){if(p)return;const L=S.target===e,P=t.indexOf(S.target),E=L?l:y[P],x=m(L?e:t[P]);if(_(x-E)>=.5){h.reInit(),n.emit("resize");break}}}i=new ResizeObserver(d=>{(Le(r)||r(h,d))&&u(d)}),s.requestAnimationFrame(()=>{c.forEach(d=>i.observe(d))})}function f(){p=!0,i&&i.disconnect()}return{init:v,destroy:f}}function Ht(e,n,s,t,a,r){let o=0,c=0,i=a,l=r,y=e.get(),p=0;function m(){const E=t.get()-e.get(),x=!i;let w=0;return x?(o=0,s.set(t),e.set(t),w=E):(s.set(e),o+=E/i,o*=l,y+=o,e.add(o),w=y-p),c=qe(w),p=y,P}function v(){const E=t.get()-n.get();return _(E)<.001}function f(){return i}function g(){return c}function h(){return o}function u(){return S(a)}function d(){return L(r)}function S(E){return i=E,P}function L(E){return l=E,P}const P={direction:g,duration:f,velocity:h,seek:m,settled:v,useBaseFriction:d,useBaseDuration:u,useFriction:L,useDuration:S};return P}function Ut(e,n,s,t,a){const r=a.measure(10),o=a.measure(50),c=oe(.1,.99);let i=!1;function l(){return!(i||!e.reachedAny(s.get())||!e.reachedAny(n.get()))}function y(v){if(!l())return;const f=e.reachedMin(n.get())?"min":"max",g=_(e[f]-n.get()),h=s.get()-n.get(),u=c.constrain(g/o);s.subtract(h*u),!v&&_(h)<r&&(s.set(e.constrain(s.get())),t.useDuration(25).useBaseFriction())}function p(v){i=!v}return{shouldConstrain:l,constrain:y,toggleActive:p}}function $t(e,n,s,t,a){const r=oe(-n+e,0),o=p(),c=y(),i=m();function l(f,g){return he(f,g)<=1}function y(){const f=o[0],g=H(o),h=o.lastIndexOf(f),u=o.indexOf(g)+1;return oe(h,u)}function p(){return s.map((f,g)=>{const{min:h,max:u}=r,d=r.constrain(f),S=!g,L=Ne(s,g);return S?u:L||l(h,d)?h:l(u,d)?u:d}).map(f=>parseFloat(f.toFixed(3)))}function m(){if(n<=e+a)return[r.max];if(t==="keepSnaps")return o;const{min:f,max:g}=c;return o.slice(f,g)}return{snapsContained:i,scrollContainLimit:c}}function Kt(e,n,s){const t=n[0],a=s?t-e:H(n);return{limit:oe(a,t)}}function Jt(e,n,s,t){const r=n.min+.1,o=n.max+.1,{reachedMin:c,reachedMax:i}=oe(r,o);function l(m){return m===1?i(s.get()):m===-1?c(s.get()):!1}function y(m){if(!l(m))return;const v=e*(m*-1);t.forEach(f=>f.add(v))}return{loop:y}}function Qt(e){const{max:n,length:s}=e;function t(r){const o=r-n;return s?o/-s:0}return{get:t}}function Xt(e,n,s,t,a){const{startEdge:r,endEdge:o}=e,{groupSlides:c}=a,i=p().map(n.measure),l=m(),y=v();function p(){return c(t).map(g=>H(g)[o]-g[0][r]).map(_)}function m(){return t.map(g=>s[r]-g[r]).map(g=>-_(g))}function v(){return c(l).map(g=>g[0]).map((g,h)=>g+i[h])}return{snaps:l,snapsAligned:y}}function Yt(e,n,s,t,a,r){const{groupSlides:o}=a,{min:c,max:i}=t,l=y();function y(){const m=o(r),v=!e||n==="keepSnaps";return s.length===1?[r]:v?m:m.slice(c,i).map((f,g,h)=>{const u=!g,d=Ne(h,g);if(u){const S=H(h[0])+1;return st(S)}if(d){const S=Se(r)-H(h)[0]+1;return st(S,H(h)[0])}return f})}return{slideRegistry:l}}function Zt(e,n,s,t,a){const{reachedAny:r,removeOffset:o,constrain:c}=t;function i(f){return f.concat().sort((g,h)=>_(g)-_(h))[0]}function l(f){const g=e?o(f):c(f),h=n.map((d,S)=>({diff:y(d-g,0),index:S})).sort((d,S)=>_(d.diff)-_(S.diff)),{index:u}=h[0];return{index:u,distance:g}}function y(f,g){const h=[f,f+s,f-s];if(!e)return f;if(!g)return i(h);const u=h.filter(d=>qe(d)===g);return u.length?i(u):H(h)-s}function p(f,g){const h=n[f]-a.get(),u=y(h,g);return{index:f,distance:u}}function m(f,g){const h=a.get()+f,{index:u,distance:d}=l(h),S=!e&&r(h);if(!g||S)return{index:u,distance:f};const L=n[u]-d,P=f+y(L,0);return{index:u,distance:P}}return{byDistance:m,byIndex:p,shortcut:y}}function Wt(e,n,s,t,a,r,o){function c(p){const m=p.distance,v=p.index!==n.get();r.add(m),m&&(t.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(s.set(n.get()),n.set(p.index),o.emit("select"))}function i(p,m){const v=a.byDistance(p,m);c(v)}function l(p,m){const v=n.clone().set(p),f=a.byIndex(v.get(),m);c(f)}return{distance:i,index:l}}function en(e,n,s,t,a,r,o,c){const i={passive:!0,capture:!0};let l=0;function y(v){if(!c)return;function f(g){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const d=s.findIndex(S=>S.includes(g));Fe(d)&&(a.useDuration(0),t.index(d,0),o.emit("slideFocus"))}r.add(document,"keydown",p,!1),n.forEach((g,h)=>{r.add(g,"focus",u=>{(Le(c)||c(v,u))&&f(h)},i)})}function p(v){v.code==="Tab"&&(l=new Date().getTime())}return{init:y}}function ge(e){let n=e;function s(){return n}function t(i){n=o(i)}function a(i){n+=o(i)}function r(i){n-=o(i)}function o(i){return Fe(i)?i:i.get()}return{get:s,set:t,add:a,subtract:r}}function dt(e,n){const s=e.scroll==="x"?o:c,t=n.style;let a=null,r=!1;function o(m){return`translate3d(${m}px,0px,0px)`}function c(m){return`translate3d(0px,${m}px,0px)`}function i(m){if(r)return;const v=Bt(e.direction(m));v!==a&&(t.transform=s(v),a=v)}function l(m){r=!m}function y(){r||(t.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:y,to:i,toggleActive:l}}function tn(e,n,s,t,a,r,o,c,i){const y=ye(a),p=ye(a).reverse(),m=u().concat(d());function v(x,w){return x.reduce((O,D)=>O-a[D],w)}function f(x,w){return x.reduce((O,D)=>v(O,w)>0?O.concat([D]):O,[])}function g(x){return r.map((w,O)=>({start:w-t[O]+.5+x,end:w+n-.5+x}))}function h(x,w,O){const D=g(w);return x.map(A=>{const F=O?0:-s,N=O?s:0,z=O?"end":"start",I=D[A][z];return{index:A,loopPoint:I,slideLocation:ge(-1),translate:dt(e,i[A]),target:()=>c.get()>I?F:N}})}function u(){const x=o[0],w=f(p,x);return h(w,s,!1)}function d(){const x=n-o[0]-1,w=f(y,x);return h(w,-s,!0)}function S(){return m.every(({index:x})=>{const w=y.filter(O=>O!==x);return v(w,n)<=.1})}function L(){m.forEach(x=>{const{target:w,translate:O,slideLocation:D}=x,A=w();A!==D.get()&&(O.to(A),D.set(A))})}function P(){m.forEach(x=>x.translate.clear())}return{canLoop:S,clear:P,loop:L,loopPoints:m}}function nn(e,n,s){let t,a=!1;function r(i){if(!s)return;function l(y){for(const p of y)if(p.type==="childList"){i.reInit(),n.emit("slidesChanged");break}}t=new MutationObserver(y=>{a||(Le(s)||s(i,y))&&l(y)}),t.observe(e,{childList:!0})}function o(){t&&t.disconnect(),a=!0}return{init:r,destroy:o}}function on(e,n,s,t){const a={};let r=null,o=null,c,i=!1;function l(){c=new IntersectionObserver(f=>{i||(f.forEach(g=>{const h=n.indexOf(g.target);a[h]=g}),r=null,o=null,s.emit("slidesInView"))},{root:e.parentElement,threshold:t}),n.forEach(f=>c.observe(f))}function y(){c&&c.disconnect(),i=!0}function p(f){return ve(a).reduce((g,h)=>{const u=parseInt(h),{isIntersecting:d}=a[u];return(f&&d||!f&&!d)&&g.push(u),g},[])}function m(f=!0){if(f&&r)return r;if(!f&&o)return o;const g=p(f);return f&&(r=g),f||(o=g),g}return{init:l,destroy:y,get:m}}function rn(e,n,s,t,a,r){const{measureSize:o,startEdge:c,endEdge:i}=e,l=s[0]&&a,y=f(),p=g(),m=s.map(o),v=h();function f(){if(!l)return 0;const d=s[0];return _(n[c]-d[c])}function g(){if(!l)return 0;const d=r.getComputedStyle(H(t));return parseFloat(d.getPropertyValue(`margin-${i}`))}function h(){return s.map((d,S,L)=>{const P=!S,E=Ne(L,S);return P?m[S]+y:E?m[S]+p:L[S+1][c]-d[c]}).map(_)}return{slideSizes:m,slideSizesWithGaps:v,startGap:y,endGap:p}}function sn(e,n,s,t,a,r,o,c,i){const{startEdge:l,endEdge:y,direction:p}=e,m=Fe(s);function v(u,d){return ye(u).filter(S=>S%d===0).map(S=>u.slice(S,S+d))}function f(u){return u.length?ye(u).reduce((d,S,L)=>{const P=H(d)||0,E=P===0,x=S===Se(u),w=a[l]-r[P][l],O=a[l]-r[S][y],D=!t&&E?p(o):0,A=!t&&x?p(c):0,F=_(O-A-(w+D));return L&&F>n+i&&d.push(S),x&&d.push(u.length),d},[]).map((d,S,L)=>{const P=Math.max(L[S-1]||0);return u.slice(P,d)}):[]}function g(u){return m?v(u,s):f(u)}return{groupSlides:g}}function an(e,n,s,t,a,r,o){const{align:c,axis:i,direction:l,startIndex:y,loop:p,duration:m,dragFree:v,dragThreshold:f,inViewThreshold:g,slidesToScroll:h,skipSnaps:u,containScroll:d,watchResize:S,watchSlides:L,watchDrag:P,watchFocus:E}=r,x=2,w=zt(),O=w.measure(n),D=s.map(w.measure),A=Nt(i,l),F=A.measureSize(O),N=Rt(F),z=Ft(c,F),I=!p&&!!d,C=p||!!d,{slideSizes:T,slideSizesWithGaps:q,startGap:U,endGap:le}=rn(A,O,D,s,C,a),$=sn(A,F,h,p,O,D,U,le,x),{snaps:re,snapsAligned:se}=Xt(A,z,O,D,$),J=-H(re)+H(q),{snapsContained:ue,scrollContainLimit:fe}=$t(F,J,se,d,x),R=I?ue:se,{limit:j}=Kt(J,R,p),Q=ft(Se(R),y,p),G=Q.clone(),M=ye(s),b=({dragHandler:ie,scrollBody:Ae,scrollBounds:Pe,options:{loop:xe}})=>{xe||Pe.constrain(ie.pointerDown()),Ae.seek()},k=({scrollBody:ie,translate:Ae,location:Pe,offsetLocation:xe,previousLocation:gt,scrollLooper:ht,slideLooper:yt,dragHandler:vt,animation:bt,eventHandler:Ge,scrollBounds:St,options:{loop:He}},Ue)=>{const $e=ie.settled(),xt=!St.shouldConstrain(),Ke=He?$e:$e&&xt,Je=Ke&&!vt.pointerDown();Je&&bt.stop();const wt=Pe.get()*Ue+gt.get()*(1-Ue);xe.set(wt),He&&(ht.loop(ie.direction()),yt.loop()),Ae.to(xe.get()),Je&&Ge.emit("settle"),Ke||Ge.emit("scroll")},B=qt(t,a,()=>b(Te),ie=>k(Te,ie)),V=.68,K=R[Q.get()],X=ge(K),W=ge(K),Z=ge(K),ee=ge(K),de=Ht(X,Z,W,ee,m,V),Ee=Zt(p,R,J,j,ee),Oe=Wt(B,Q,G,de,Ee,ee,o),Ve=Qt(j),ze=be(),pt=on(n,s,o,g),{slideRegistry:Re}=Yt(I,d,R,fe,$,M),mt=en(e,s,Re,Oe,de,ze,o,E),Te={ownerDocument:t,ownerWindow:a,eventHandler:o,containerRect:O,slideRects:D,animation:B,axis:A,dragHandler:jt(A,e,t,a,ee,Vt(A,a),X,B,Oe,de,Ee,Q,o,N,v,f,u,V,P),eventStore:ze,percentOfView:N,index:Q,indexPrevious:G,limit:j,location:X,offsetLocation:Z,previousLocation:W,options:r,resizeHandler:Gt(n,o,a,s,A,S,w),scrollBody:de,scrollBounds:Ut(j,Z,ee,de,N),scrollLooper:Jt(J,j,Z,[X,Z,W,ee]),scrollProgress:Ve,scrollSnapList:R.map(Ve.get),scrollSnaps:R,scrollTarget:Ee,scrollTo:Oe,slideLooper:tn(A,F,J,T,q,re,R,Z,s),slideFocus:mt,slidesHandler:nn(n,o,L),slidesInView:pt,slideIndexes:M,slideRegistry:Re,slidesToScroll:$,target:ee,translate:dt(A,n)};return Te}function cn(){let e={},n;function s(l){n=l}function t(l){return e[l]||[]}function a(l){return t(l).forEach(y=>y(n,l)),i}function r(l,y){return e[l]=t(l).concat([y]),i}function o(l,y){return e[l]=t(l).filter(p=>p!==y),i}function c(){e={}}const i={init:s,emit:a,off:o,on:r,clear:c};return i}const ln={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 un(e){function n(r,o){return ut(r,o||{})}function s(r){const o=r.breakpoints||{},c=ve(o).filter(i=>e.matchMedia(i).matches).map(i=>o[i]).reduce((i,l)=>n(i,l),{});return n(r,c)}function t(r){return r.map(o=>ve(o.breakpoints||{})).reduce((o,c)=>o.concat(c),[]).map(e.matchMedia)}return{mergeOptions:n,optionsAtMedia:s,optionsMediaQueries:t}}function fn(e){let n=[];function s(r,o){return n=o.filter(({options:c})=>
1e.optionsAtMedia(c).active!==!1),n.forEach(c=>c.init(r,e)),o.reduce((c,i)=>Object.assign(c,{[i.name]:i}),{})}function t(){n=n.filter(r=>r.destroy())}return{init:s,destroy:t}}function Ie(e,n,s){const t=e.ownerDocument,a=t.defaultView,r=un(a),o=fn(r),c=be(),i=cn(),{mergeOptions:l,optionsAtMedia:y,optionsMediaQueries:p}=r,{on:m,off:v,emit:f}=i,g=A;let h=!1,u,d=l(ln,Ie.globalOptions),S=l(d),L=[],P,E,x;function w(){const{container:M,slides:b}=S;E=(Me(M)?e.querySelector(M):M)||e.children[0];const B=Me(b)?E.querySelectorAll(b):b;x=[].slice.call(B||E.children)}function O(M){const b=an(e,E,x,t,a,M,i);if(M.loop&&!b.slideLooper.canLoop()){const k=Object.assign({},M,{loop:!1});return O(k)}return b}function D(M,b){h||(d=l(d,M),S=y(d),L=b||L,w(),u=O(S),p([d,...L.map(({options:k})=>k)]).forEach(k=>c.add(k,"change",A)),S.active&&(u.translate.to(u.location.get()),u.animation.init(),u.slidesInView.init(),u.slideFocus.init(G),u.eventHandler.init(G),u.resizeHandler.init(G),u.slidesHandler.init(G),u.options.loop&&u.slideLooper.loop(),E.offsetParent&&x.length&&u.dragHandler.init(G),P=o.init(G,L)))}function A(M,b){const k=$();F(),D(l({startIndex:k},M),b),i.emit("reInit")}function F(){u.dragHandler.destroy(),u.eventStore.clear(),u.translate.clear(),u.slideLooper.clear(),u.resizeHandler.destroy(),u.slidesHandler.destroy(),u.slidesInView.destroy(),u.animation.destroy(),o.destroy(),c.clear()}function N(){h||(h=!0,c.clear(),F(),i.emit("destroy"),i.clear())}function z(M,b,k){!S.active||h||(u.scrollBody.useBaseFriction().useDuration(b===!0?0:S.duration),u.scrollTo.index(M,k||0))}function I(M){const b=u.index.add(1).get();z(b,M,-1)}function C(M){const b=u.index.add(-1).get();z(b,M,1)}function T(){return u.index.add(1).get()!==$()}function q(){return u.index.add(-1).get()!==$()}function U(){return u.scrollSnapList}function le(){return u.scrollProgress.get(u.offsetLocation.get())}function $(){return u.index.get()}function re(){return u.indexPrevious.get()}function se(){return u.slidesInView.get()}function J(){return u.slidesInView.get(!1)}function ue(){return P}function fe(){return u}function R(){return e}function j(){return E}function Q(){return x}const G={canScrollNext:T,canScrollPrev:q,containerNode:j,internalEngine:fe,destroy:N,off:v,on:m,emit:f,plugins:ue,previousScrollSnap:re,reInit:g,rootNode:R,scrollNext:I,scrollPrev:C,scrollProgress:le,scrollSnapList:U,scrollTo:z,selectedScrollSnap:$,slideNodes:Q,slidesInView:se,slidesNotInView:J};return D(n,s),setTimeout(()=>i.emit("init"),0),G}Ie.globalOptions=void 0;function je(e={},n=[]){const s=Qe(e),t=Qe(n);let a=s?e.value:e,r=t?n.value:n;const o=Xe(),c=Xe();function i(){c.value&&c.value.reInit(a,r)}return it(()=>{!Ct()||!o.value||(Ie.globalOptions=je.globalOptions,c.value=Ie(o.value,a,r))}),at(()=>{c.value&&c.value.destroy()}),s&&we(e,l=>{Be(a,l)||(a=l,i())}),t&&we(n,l=>{Mt(r,l)||(r=l,i())}),[o,c]}je.globalOptions=void 0;const dn={slots:{root:"relative focus:outline-none",viewport:"overflow-hidden",container:"flex items-start",item:"min-w-0 shrink-0 basis-full",controls:"",arrows:"",prev:"absolute rounded-full",next:"absolute rounded-full",dots:"absolute inset-x-0 -bottom-7 flex flex-wrap items-center justify-center gap-3",dot:["cursor-pointer size-3 bg-accented rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-primary","transition"]},variants:{orientation:{vertical:{container:"flex-col -mt-4",item:"pt-4",prev:"top-4 sm:-top-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90",next:"bottom-4 sm:-bottom-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90"},horizontal:{container:"flex-row -ms-4",item:"ps-4",prev:"start-4 sm:-start-12 top-1/2 -translate-y-1/2",next:"end-4 sm:-end-12 top-1/2 -translate-y-1/2"}},active:{true:{dot:"data-[state=active]:bg-inverted"}}}},pn=["aria-label"],mn=["aria-label","aria-selected","data-state","onClick"],gn={__name:"UCarousel",props:{as:{type:null,required:!1},prev:{type:Object,required:!1},prevIcon:{type:null,required:!1},next:{type:Object,required:!1},nextIcon:{type:null,required:!1},arrows:{type:Boolean,required:!1,default:!1},dots:{type:Boolean,required:!1,default:!1},orientation:{type:null,required:!1,default:"horizontal"},items:{type:Array,required:!1},autoplay:{type:[Boolean,Object],required:!1,default:!1},autoScroll:{type:[Boolean,Object],required:!1,default:!1},autoHeight:{type:[Boolean,Object],required:!1,default:!1},classNames:{type:[Boolean,Object],required:!1,default:!1},fade:{type:[Boolean,Object],required:!1,default:!1},wheelGestures:{type:[Boolean,Object],required:!1,default:!1},class:{type:null,required:!1},ui:{type:null,required:!1},align:{type:[String,Function],required:!1,default:"center"},containScroll:{type:[Boolean,String],required:!1,default:"trimSnaps"},slidesToScroll:{type:[String,Number],required:!1,default:1},dragFree:{type:Boolean,required:!1,default:!1},dragThreshold:{type:Number,required:!1,default:10},inViewThreshold:{type:null,required:!1,default:0},loop:{type:Boolean,required:!1,default:!1},skipSnaps:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1,default:25},startIndex:{type:Number,required:!1,default:0},watchDrag:{type:[Boolean,Function],required:!1,default:!0},watchResize:{type:[Boolean,Function],required:!1,default:!0},watchSlides:{type:[Boolean,Function],required:!1,default:!0},watchFocus:{type:[Boolean,Function],required:!1,default:!0},active:{type:Boolean,required:!1,default:!0},breakpoints:{type:Object,required:!1,default:()=>({})}},emits:["select"],setup(e,{expose:n,emit:s}){const t=e,a=s,{dir:r,t:o}
1=It(),c=Lt(),i=Et(Ot(t,"active","align","breakpoints","containScroll","dragFree","dragThreshold","duration","inViewThreshold","loop","skipSnaps","slidesToScroll","startIndex","watchDrag","watchResize","watchSlides","watchFocus")),l=ae(()=>t.prevIcon||(r.value==="rtl"?c.ui.icons.arrowRight:c.ui.icons.arrowLeft)),y=ae(()=>t.nextIcon||(r.value==="rtl"?c.ui.icons.arrowLeft:c.ui.icons.arrowRight)),p=ae(()=>typeof t.autoplay=="boolean"?!0:t.autoplay.stopOnInteraction??!0),m=ae(()=>typeof t.autoScroll=="boolean"?!0:t.autoScroll.stopOnInteraction??!0),v=ae(()=>Ye({extend:Ye(dn),...c.ui?.carousel||{}})({orientation:t.orientation})),f=ae(()=>({...t.fade?{align:"center",containScroll:!1}:{},...i.value,axis:t.orientation==="horizontal"?"x":"y",direction:r.value==="rtl"?"rtl":"ltr"})),g=pe([]);async function h(){const I=[];if(t.autoplay){const C=await ce(()=>import("./Dtrtw0zj.js"),[],import.meta.url).then(T=>T.default);I.push(C(typeof t.autoplay=="boolean"?{}:t.autoplay))}if(t.autoScroll){const C=await ce(()=>import("./LVG_eY9u.js"),[],import.meta.url).then(T=>T.default);I.push(C(typeof t.autoScroll=="boolean"?{}:t.autoScroll))}if(t.autoHeight){const C=await ce(()=>import("./Ddyvc1_j.js"),[],import.meta.url).then(T=>T.default);I.push(C(typeof t.autoHeight=="boolean"?{}:t.autoHeight))}if(t.classNames){const C=await ce(()=>import("./mhJ-osCf.js"),[],import.meta.url).then(T=>T.default);I.push(C(typeof t.classNames=="boolean"?{}:t.classNames))}if(t.fade){const C=await ce(()=>import("./wrqBHFeW.js"),[],import.meta.url).then(T=>T.default);I.push(C(typeof t.fade=="boolean"?{}:t.fade))}if(t.wheelGestures){const{WheelGesturesPlugin:C}=await ce(async()=>{const{WheelGesturesPlugin:T}=await import("./DTS6Q5dF.js");return{WheelGesturesPlugin:T}},[],import.meta.url);I.push(C(typeof t.wheelGestures=="boolean"?{}:t.wheelGestures))}g.value=I}we(()=>[t.autoplay,t.autoScroll,t.autoHeight,t.classNames,t.fade,t.wheelGestures],async()=>{await h(),d.value?.reInit(f.value,g.value)},{immediate:!0});const[u,d]=je(f,g);we(f,()=>{d.value?.reInit(f.value,g.value)},{flush:"post"});function S(){p.value&&d.value?.plugins().autoplay?.stop(),m.value&&d.value?.plugins().autoScroll?.stop()}function L(){d.value?.scrollPrev(),S()}function P(){d.value?.scrollNext(),S()}function E(I){d.value?.scrollTo(I)}function x(I){let C,T;if(t.orientation==="horizontal"?(C=r.value==="ltr"?"ArrowLeft":"ArrowRight",T=r.value==="ltr"?"ArrowRight":"ArrowLeft"):(C="ArrowUp",T="ArrowDown"),I.key===C){I.preventDefault(),L();return}I.key===T&&(I.preventDefault(),P())}const w=pe(!1),O=pe(!1),D=pe(0),A=pe([]);function F(I){A.value=I?.scrollSnapList()||[]}function N(I){w.value=I?.canScrollNext()||!1,O.value=I?.canScrollPrev()||!1,D.value=I?.selectedScrollSnap()||0,a("select",D.value)}function z(I){return typeof I=="object"&&I!==null}return it(()=>{d.value&&(d.value.on("init",F),d.value.on("init",N),d.value.on("reInit",F),d.value.on("reInit",N),d.value.on("select",N))}),at(()=>{d.value&&(d.value.off("init",F),d.value.off("init",N),d.value.off("reInit",F),d.value.off("reInit",N),d.value.off("select",N))}),n({emblaRef:u,emblaApi:d}),(I,C)=>(Y(),ct(me(At),{as:e.as,role:"region","aria-roledescription":"carousel","data-orientation":e.orientation,tabindex:"0","data-slot":"root",class:ne(v.value.root({class:[t.ui?.root,t.class]})),onKeydown:x},{default:lt(()=>[Ze("div",{ref_key:"emblaRef",ref:u,"data-slot":"viewport",class:ne(v.value.viewport({class:t.ui?.viewport}))},[Ze("div",{"data-slot":"container",class:ne(v.value.container({class:t.ui?.container}))},[(Y(!0),te(We,null,et(e.items,(T,q)=>(Y(),te("div",ke({key:q},{ref_for:!0},e.dots?{role:"tabpanel"}:{role:"group","aria-roledescription":"slide"},{"data-slot":"item",class:v.value.item({class:[t.ui?.item,z(T)&&T.ui?.item,z(T)&&T.class]})}),[Tt(I.$slots,"default",{item:T,index:q})],16))),128))],2)],2),e.arrows||e.dots?(Y(),te("div",{key:0,"data-slot":"controls",class:ne(v.value.controls({class:t.ui?.controls}))},[e.arrows?(Y(),te("div",{key:0,"data-slot":"arrows",class:ne(v.value.arrows({class:t.ui?.arrows}))},[Ce(tt,ke({disabled:!O.value,icon:l.value,color:"neutral",variant:"outline","aria-label":me(o)("carousel.prev")},typeof e.prev=="object"?e.prev:void 0,{"data-slot":"prev",class:v.value.prev({class:t.ui?.prev}),onClick:L}),null,16,["disabled","icon","aria-label","class"]),Ce(tt,ke({disabled:!w.value,icon:y.value,color:"neutral",variant:"outline","aria-label":me(o)("carousel.next")},typeof e.next=="object"?e.next:void 0,{"data-slot":"next",class:v.value.next({class:t.ui?.next}),onClick:P}),null,16,["disabled","icon","aria-label","class"])],2)):De("",!0),e.dots?(Y(),te("div",{key:1,role:"tablist","aria-label":me(o)("carousel.dots"),"data-slot":"dots",class:ne(v.value.dots({class:t.ui?.dots}))},[(Y(!0),te(We,null,et(A.value,(T,q)=>(Y(),te("button",{key:q,type:"button",role:"tab","aria-label":me(o)("carousel.goto",{slide:q+1}),"aria-selected":D.value===q,"data-slot":"dot",class:ne(v.value.dot({class:t.ui?.dot,active:D.value===q})),"data-state":D.value===q?"active":void 0,onClick:U=>E(q)},null,10,mn))),128))],10,pn)):De("",!0)],2)):De("",!0)]),_:3},8,["as","data-orientation","class"]))}},hn=Pt({__name:"MessagingSystemCarousel",setup(e){const n=[{src:"/images/projects/chat-application/v3/group-chat-ui-dark.png",alt:"Messaging System UI - Group Chat - Dar
1k mode",placeholder:"/images/projects/chat-application/v3/group-chat-ui-dark__placeholder.png"},{src:"/images/projects/chat-application/v3/group-chat-ui-light.png",alt:"Messaging System UI - Group Chat - Light mode",placeholder:"/images/projects/chat-application/v3/group-chat-ui-light__placeholder.png"},{src:"/images/projects/chat-application/v3/personal-chat-ui-dark.png",alt:"Messaging System UI - Personal Chat - Dark mode",placeholder:"/images/projects/chat-application/v3/personal-chat-ui-dark__placeholder.png"},{src:"/images/projects/chat-application/v3/personal-chat-ui-light.png",alt:"Messaging System UI - Personal Chat - Light mode",placeholder:"/images/projects/chat-application/v3/personal-chat-ui-light__placeholder.png"}];return(s,t)=>{const a=Dt,r=gn;return Y(),ct(r,{dots:"",loop:"",items:n,autoplay:{delay:2500},class:"not-prose mx-auto aspect-[1920/1080] w-full"},{default:lt(({item:o})=>[Ce(a,{src:o.src,alt:o.alt,placeholder:o.placeholder,class:"aspect-[1920/1080] w-full rounded-lg",format:"webp"},null,8,["src","alt","placeholder"])]),_:1})}}}),vn=Object.assign(hn,{__name:"MessagingSystemCarousel"});export{vn as default};

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.